/* ============================================================
   layer-2.report
   Data journalism aesthetic: editorial newspaper meets
   Bloomberg-terminal dashboard analytics.
   Palette tokens are taken verbatim from DESIGN.md.
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
svg {
    display: block;
    max-width: 100%;
}

/* ---------- Tokens ---------- */
:root {
    /* DESIGN.md palette */
    --ink:        #111118;   /* dark ink */
    --paper:      #f8f5f0;   /* warm white */
    --gold:       #c9a84c;   /* editorial gold */
    --text-dark:  #1a1a20;   /* near-black */
    --text-light: #d4d0c8;   /* warm gray on dark */
    --blue:       #2563eb;   /* chart accent */
    --red:        #dc2626;   /* loss red */

    /* Derived */
    --rule:       rgba(26, 26, 32, 0.16);
    --rule-strong:#c9a84c;
    --rule-soft:  rgba(26, 26, 32, 0.08);
    --column-rule:rgba(26, 26, 32, 0.18);

    /* Type families */
    --serif-display: 'Instrument Serif', 'Times New Roman', serif;
    --serif-body:    'Source Serif 4', Georgia, 'Times New Roman', serif;
    --mono:          'Space Mono', ui-monospace, 'Menlo', monospace;

    /* Layout */
    --gutter: 1.5rem;
    --max:    1280px;
    --ticker-h: 40px;
}

html {
    background: var(--paper);
}

body {
    background: var(--paper);
    color: var(--text-dark);
    font-family: var(--serif-body);
    font-weight: 400;
    line-height: 1.78;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: var(--ticker-h);
}

a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
    color: var(--gold);
}

/* ============================================================
   TICKER (Data Ribbon) - persistent, fixed at top
   ============================================================ */
.ticker {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--ticker-h);
    background: var(--ink);
    color: var(--text-light);
    overflow: hidden;
    z-index: 100;
    border-bottom: 1px solid var(--gold);
    display: flex;
    align-items: center;
}

.ticker::before,
.ticker::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--ink), rgba(17, 17, 24, 0));
}

.ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--ink), rgba(17, 17, 24, 0));
}

.ticker-track {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    will-change: transform;
    animation: tickerScroll 80s linear infinite;
}

.ticker-segment {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding-right: 1.25rem;
}

.tick-item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.55rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    padding: 0 1.1rem;
}

.tick-sym {
    color: var(--paper);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.tick-val {
    color: var(--text-light);
}

.tick-chg {
    font-size: 0.72rem;
    padding: 1px 5px;
    border-radius: 1px;
    font-weight: 700;
    letter-spacing: 0;
}

.tick-chg.up {
    color: #58c181;
    background: rgba(88, 193, 129, 0.08);
}

.tick-chg.dn {
    color: var(--red);
    background: rgba(220, 38, 38, 0.10);
}

.tick-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    margin: 0 0.25rem;
    flex: 0 0 auto;
}

@keyframes tickerScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2.4rem 2rem 0;
    text-align: center;
    border-bottom: 1px solid var(--gold);
}

.masthead-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-dark);
    opacity: 0.55;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule-soft);
}

.meta-item {
    white-space: nowrap;
}

.masthead-title {
    font-family: var(--serif-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 9vw, 6.5rem);
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    padding: 1.6rem 0 0.8rem;
    font-variant-ligatures: common-ligatures;
}

.masthead-tagline {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-dark);
    opacity: 0.7;
    padding-bottom: 1.6rem;
}

.masthead-rule {
    height: 1px;
    background: var(--gold);
    width: 100%;
    margin-bottom: 0.75rem;
    box-shadow: 0 3px 0 -2px var(--gold);
}

.masthead-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.2rem;
    padding: 0.9rem 0 1rem;
}

.masthead-nav a {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-dark);
    border-bottom: none;
    position: relative;
    padding-bottom: 4px;
}

.masthead-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease, left 0.3s ease;
}

.masthead-nav a:hover {
    color: var(--gold);
}

.masthead-nav a:hover::after {
    width: 100%;
    left: 0;
}

/* ============================================================
   FRONT PAGE GRID (Lead + Sidebar)
   ============================================================ */
.frontpage {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gutter);
}

/* lead = 8 cols */
.lead {
    grid-column: span 8;
    border-right: 1px solid var(--column-rule);
    padding-right: 2rem;
}

/* sidebar = 4 cols */
.sidebar {
    grid-column: span 4;
}

/* ---------- Kicker (small overline) ---------- */
.kicker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.kicker-tag {
    font-weight: 700;
}

.kicker-sep {
    color: var(--text-dark);
    opacity: 0.4;
}

.kicker-cat {
    color: var(--text-dark);
    opacity: 0.7;
    font-weight: 400;
}

/* ---------- Lead headline / deck ---------- */
.lead-headline {
    font-family: var(--serif-display);
    font-weight: 400;
    font-size: clamp(2rem, 5.4vw, 4.4rem);
    line-height: 1.04;
    color: var(--text-dark);
    letter-spacing: -0.012em;
    margin-bottom: 1rem;
}

.lead-deck {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 1.18rem;
    line-height: 1.55;
    color: var(--text-dark);
    opacity: 0.78;
    margin-bottom: 1.4rem;
    max-width: 46ch;
}

.byline {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-dark);
    opacity: 0.6;
    padding: 0.85rem 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 2rem;
}

.byline-name {
    color: var(--gold);
    font-weight: 700;
}

.byline-sep {
    opacity: 0.4;
}

/* ---------- Lead figure (chart) ---------- */
.lead-figure {
    margin-bottom: 2rem;
}

.chart-frame {
    position: relative;
    background: var(--ink);
    color: var(--text-light);
    padding: 1.4rem 1.4rem 2.4rem 3.5rem;
    border: 1px solid var(--gold);
    border-radius: 0;
    overflow: hidden;
}

.chart-frame::before {
    content: "L2 TVL — AGGREGATE / USD";
    position: absolute;
    top: 0.7rem;
    right: 1rem;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-transform: uppercase;
}

.chart-axis-y {
    position: absolute;
    top: 1.4rem;
    bottom: 2.4rem;
    left: 0.6rem;
    width: 2.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-light);
    opacity: 0.55;
    text-align: right;
}

.chart-svg {
    width: 100%;
    height: 280px;
    display: block;
}

.chart-line {
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    transition: stroke-dashoffset 1.6s cubic-bezier(.6,.04,.4,1);
}

.chart-line.drawn {
    stroke-dashoffset: 0;
}

.chart-area {
    opacity: 0;
    transition: opacity 1s ease 0.6s;
}

.chart-area.drawn {
    opacity: 1;
}

.chart-points circle {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.chart-points.drawn circle {
    opacity: 1;
}

.chart-axis-x {
    display: flex;
    justify-content: space-between;
    margin-top: 0.6rem;
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-light);
    opacity: 0.55;
    padding-left: 0;
}

.figcaption {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-dark);
    opacity: 0.7;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rule);
    margin-top: 0.9rem;
}

.figcaption strong {
    font-style: normal;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
}

/* ---------- Lead body ---------- */
.lead-body {
    column-count: 1;
    font-family: var(--serif-body);
    font-size: 1.02rem;
    line-height: 1.78;
    color: var(--text-dark);
}

.lead-body p {
    margin-bottom: 1.05rem;
}

.dropcap::first-letter {
    font-family: var(--serif-display);
    float: left;
    font-size: 4.6rem;
    line-height: 0.86;
    padding: 0.35rem 0.7rem 0 0;
    color: var(--gold);
    font-weight: 400;
}

.highlight {
    font-family: var(--mono);
    font-weight: 700;
    color: var(--text-dark);
    background: linear-gradient(to top, rgba(201, 168, 76, 0.28) 0%, rgba(201, 168, 76, 0.28) 35%, transparent 35%);
    padding: 0 2px;
    font-size: 0.95em;
}

.sparkline {
    display: inline-block;
    width: 40px;
    height: 16px;
    vertical-align: middle;
    margin: 0 4px;
    overflow: visible;
}

.sparkline polyline {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    transition: stroke-dashoffset 1s ease;
}

.sparkline.draw polyline {
    stroke-dashoffset: 0;
}

/* ---------- Pull quote ---------- */
.pullquote {
    margin: 2rem 0;
    padding: 1.6rem 1.8rem 1.6rem 2.2rem;
    border-left: 3px solid var(--gold);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: rgba(201, 168, 76, 0.05);
}

.pullquote p {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: 1.55rem;
    line-height: 1.32;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.pullquote cite {
    font-family: var(--mono);
    font-style: normal;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.lead-continue {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    color: var(--text-dark);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-block {
    margin-bottom: 1.6rem;
}

.sidebar-kicker {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.55rem;
    margin-bottom: 0.85rem;
}

.toc {
    list-style: none;
}

.toc li {
    display: flex;
    gap: 0.85rem;
    padding: 0.55rem 0;
    border-bottom: 1px dotted var(--rule);
    font-size: 0.95rem;
    line-height: 1.4;
}

.toc-num {
    font-family: var(--mono);
    color: var(--gold);
    font-size: 0.78rem;
    flex: 0 0 auto;
    padding-top: 2px;
}

.toc-text {
    color: var(--text-dark);
    opacity: 0.85;
}

/* ---------- Double rule ---------- */
.double-rule {
    margin: 1.4rem 0;
}

.double-rule div {
    height: 1px;
    background: var(--gold);
}

.double-rule div + div {
    margin-top: 3px;
}

/* ---------- Indicators ---------- */
.indicators {
    list-style: none;
}

.indicators li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.55rem 0;
    border-bottom: 1px dotted var(--rule);
    gap: 1rem;
}

.ind-label {
    font-family: var(--serif-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.78;
}

.ind-value {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.sidebar-quote {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.sidebar-attr {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}

/* ============================================================
   DATA STRIP
   ============================================================ */
.data-strip {
    background: var(--ink);
    color: var(--text-light);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-strip-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 130px;
    min-width: 110px;
}

.metric-value {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 1.55rem;
    color: var(--gold);
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.metric-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-light);
    opacity: 0.75;
    margin-top: 0.35rem;
}

.metric-sep {
    width: 1px;
    align-self: stretch;
    background: rgba(212, 208, 200, 0.18);
}

/* ============================================================
   SECTION RULE (between major sections)
   ============================================================ */
.section-rule {
    max-width: var(--max);
    margin: 2.5rem auto 2rem;
    padding: 0 2rem;
    position: relative;
    text-align: center;
}

.section-rule::before {
    content: "";
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: 50%;
    height: 1px;
    background: var(--gold);
    box-shadow: 0 3px 0 -2px var(--gold);
    z-index: 0;
}

.section-rule-text {
    position: relative;
    z-index: 1;
    background: var(--paper);
    padding: 0 1.2rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--gold);
}

/* ============================================================
   ANALYSIS GRID (3 columns with column rules)
   ============================================================ */
.analysis {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.analysis-col {
    padding: 0 1.5rem;
    border-right: 1px solid var(--column-rule);
}

.analysis-col:first-child {
    padding-left: 0;
}

.analysis-col:last-child {
    border-right: none;
    padding-right: 0;
}

.col-headline {
    font-family: var(--serif-display);
    font-weight: 400;
    font-size: 1.65rem;
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
    letter-spacing: -0.005em;
}

.col-deck {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-dark);
    opacity: 0.78;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule);
}

.analysis-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.9rem;
}

.col-footer {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
}

.col-byline {
    color: var(--text-dark);
    opacity: 0.7;
}

/* ============================================================
   LEAGUE TABLE
   ============================================================ */
.league {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.league-intro {
    max-width: 60ch;
    margin: 0 auto 2rem;
    text-align: center;
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.78;
}

.league-table-wrap {
    border: 1px solid var(--rule);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    overflow-x: auto;
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--serif-body);
    background: var(--paper);
    min-width: 760px;
}

.league-table thead {
    background: var(--ink);
    color: var(--text-light);
}

.league-table th {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: left;
    padding: 0.95rem 1rem;
    color: var(--gold);
    font-weight: 700;
    border-bottom: 1px solid var(--gold);
}

.league-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 0.95rem;
    vertical-align: middle;
}

.league-table tbody tr {
    transition: background 0.2s ease;
}

.league-table tbody tr:hover {
    background: rgba(201, 168, 76, 0.07);
}

.league-table .rank {
    font-family: var(--mono);
    color: var(--gold);
    font-weight: 700;
    width: 4ch;
}

.league-table .net {
    font-family: var(--serif-display);
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 400;
}

.league-table .arch {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-dark);
    opacity: 0.7;
}

.league-table .tvl,
.league-table .waa,
.league-table .cost {
    font-family: var(--mono);
    font-weight: 700;
    color: var(--text-dark);
}

.league-table .chg {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.85rem;
}

.league-table .chg.up {
    color: #2f8f4d;
}

.league-table .chg.dn {
    color: var(--red);
}

.league-table .trend {
    width: 110px;
}

.sparkline-row {
    width: 80px;
    height: 20px;
    display: block;
}

.league-footnote {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 0.82rem;
    color: var(--text-dark);
    opacity: 0.65;
    line-height: 1.55;
    margin-top: 1rem;
    max-width: 80ch;
}

.footnote-asterisk {
    color: var(--gold);
    font-style: normal;
    margin-right: 0.3rem;
}

/* ============================================================
   DAILY BRIEF (multi-column)
   ============================================================ */
.brief {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.brief-headline {
    font-family: var(--serif-display);
    font-weight: 400;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    letter-spacing: -0.005em;
}

.brief-deck {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.78;
    margin-bottom: 2rem;
    max-width: 60ch;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule);
}

.brief-columns {
    column-count: 3;
    column-gap: 2.2rem;
    column-rule: 1px solid var(--column-rule);
    font-family: var(--serif-body);
    font-size: 1rem;
    line-height: 1.78;
    color: var(--text-dark);
    text-align: justify;
    hyphens: auto;
}

.brief-columns p {
    margin-bottom: 1rem;
    break-inside: avoid-column;
}

.brief-dropcap::first-letter {
    font-family: var(--serif-display);
    float: left;
    font-size: 3.4rem;
    line-height: 0.86;
    padding: 0.3rem 0.55rem 0 0;
    color: var(--gold);
}

/* ============================================================
   OPINION
   ============================================================ */
.opinion {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.opinion-piece .kicker {
    justify-content: flex-start;
}

.opinion-headline {
    font-family: var(--serif-display);
    font-weight: 400;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    letter-spacing: -0.008em;
}

.opinion-deck {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 1.18rem;
    color: var(--text-dark);
    opacity: 0.78;
    margin-bottom: 1.6rem;
    line-height: 1.55;
}

.opinion-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin-bottom: 2rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    flex: 0 0 auto;
}

.author-name {
    font-family: var(--serif-display);
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.author-role {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-top: 2px;
}

.opinion-body p {
    font-family: var(--serif-body);
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.1rem;
}

.opinion-body p:first-child::first-letter {
    font-family: var(--serif-display);
    float: left;
    font-size: 4.4rem;
    line-height: 0.86;
    padding: 0.35rem 0.65rem 0 0;
    color: var(--gold);
}

/* ============================================================
   COLOPHON / FOOTER
   ============================================================ */
.colophon {
    background: var(--ink);
    color: var(--text-light);
    padding: 3rem 2rem 2rem;
    margin-top: 2rem;
}

.colophon .double-rule {
    max-width: var(--max);
    margin: 0 auto 2.5rem;
}

.colophon .double-rule div {
    background: var(--gold);
}

.colophon-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.colophon-title {
    font-family: var(--serif-display);
    font-size: 2rem;
    color: var(--paper);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.colophon-tag {
    font-family: var(--serif-body);
    font-style: italic;
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.colophon-issn {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.18em;
}

.colophon-head {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.colophon-col ul {
    list-style: none;
}

.colophon-col ul li {
    padding: 0.32rem 0;
}

.colophon-col a {
    font-family: var(--serif-body);
    font-size: 0.92rem;
    color: var(--text-light);
    border-bottom: none;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.colophon-col a:hover {
    color: var(--gold);
    opacity: 1;
}

.colophon-text {
    font-family: var(--serif-body);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-light);
    opacity: 0.78;
    margin-bottom: 0.9rem;
}

.subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.subscribe-form input {
    flex: 1 1 0;
    min-width: 0;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--text-light);
    padding: 0.55rem 0.7rem;
    font-family: var(--mono);
    font-size: 0.82rem;
    border-radius: 0;
    outline: none;
}

.subscribe-form input::placeholder {
    color: var(--text-light);
    opacity: 0.45;
}

.subscribe-form button {
    background: var(--gold);
    color: var(--ink);
    border: 1px solid var(--gold);
    padding: 0.55rem 1rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.subscribe-form button:hover {
    background: var(--paper);
}

.sub-note {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--gold);
    min-height: 1em;
    letter-spacing: 0.05em;
}

.colophon-bottom {
    max-width: var(--max);
    margin: 1.5rem auto 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.colophon-bottom .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold);
}

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .frontpage {
        grid-template-columns: 1fr;
    }
    .lead,
    .sidebar {
        grid-column: span 1;
    }
    .lead {
        border-right: none;
        padding-right: 0;
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--gold);
        margin-bottom: 2rem;
    }
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    .analysis-col {
        padding: 1.5rem 0;
        border-right: none;
        border-bottom: 1px solid var(--column-rule);
    }
    .analysis-col:last-child {
        border-bottom: none;
    }
    .brief-columns {
        column-count: 2;
    }
    .colophon-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }
    .masthead {
        padding: 1.6rem 1rem 0;
    }
    .masthead-meta {
        gap: 0.8rem;
        font-size: 0.62rem;
    }
    .masthead-nav {
        gap: 1.2rem;
    }
    .masthead-nav a {
        font-size: 0.65rem;
        letter-spacing: 0.18em;
    }
    .frontpage,
    .analysis,
    .league,
    .brief,
    .opinion {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .data-strip {
        padding: 1rem;
    }
    .metric-value {
        font-size: 1.1rem;
    }
    .metric-label {
        font-size: 0.6rem;
    }
    .metric-sep {
        display: none;
    }
    .brief-columns {
        column-count: 1;
    }
    .colophon-grid {
        grid-template-columns: 1fr;
    }
    .lead-headline {
        font-size: clamp(1.7rem, 8vw, 2.6rem);
    }
    .pullquote p {
        font-size: 1.2rem;
    }
    .chart-frame {
        padding-left: 3rem;
    }
    .chart-axis-y {
        left: 0.4rem;
        width: 2.2rem;
        font-size: 0.6rem;
    }
}
