/* ================================================================
   SONDA — Young in Britain (research landing page)
   Editorial system: hairline rules, eyebrow labels, real photography.
   Inherits nav / footer / cursor / grain / scroll-progress from main.css
================================================================ */

.research-page {
    --ink: #0a0a0a;
    --body-ink: #52525b;
    --muted-ink: #6b7280;
    --rule: #e5e7eb;
    --serif: 'Newsreader', Georgia, serif;
    --r-gap: clamp(72px, 10vw, 128px);
    --r-pad: clamp(20px, 4vw, 40px);

    background: var(--off-white);
    background-image: none;
    color: var(--ink);
}

.r-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--r-pad);
}

/* ---------------- Shared editorial primitives ---------------- */

/* .eyebrow / .eyebrow-rule / .btn live in main.css — shared by both pages.
   Only the page-specific variants are defined here. */
.eyebrow-rule--blue { background: var(--blue) !important; }

/* The hero sits on light ground, so its full stop takes the brand blue
   rather than the softer tint used on dark sections. */
.r-hero-title .dot-accent { color: var(--blue); }

.r-h2 {
    margin: 24px 0 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.r-h2--light { color: var(--white); }

.r-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: clamp(24px, 4vw, 56px);
}
.r-section-head--tight { margin-top: 24px; }
.r-section-head--tight .r-h2 { margin-top: 0; }

.r-section-lede {
    margin: 0;
    max-width: 36ch;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--body-ink);
}
.r-section-lede--light { color: rgba(255,255,255,0.66); }

.r-frame {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
}
.r-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================================================================
   HERO
================================================================ */

.r-hero {
    position: relative;
    padding: clamp(120px, 15vw, 172px) 0 0;
    overflow: hidden;
}
.r-hero-grid {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--r-pad);
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
}
.r-hero-text { padding-bottom: clamp(4px, 3vw, 56px); }

.r-hero-title {
    margin: 26px 0 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3.2rem, 8.4vw, 6.8rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
}
.dot-accent { color: var(--blue); }

.r-hero-desc {
    margin: 28px 0 0;
    max-width: 46ch;
    font-size: clamp(1rem, 1.05vw, 1.08rem);
    line-height: 1.65;
    color: var(--body-ink);
}
.r-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}
.r-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-ink);
}
.r-frame--hero { aspect-ratio: 3 / 4; }
.r-frame--hero img { filter: saturate(0.94); }

/* ---------------- Marquee ---------------- */

.r-marquee {
    margin-top: clamp(44px, 6vw, 80px);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--gray-50);
    overflow: hidden;
}
.r-marquee-track {
    display: flex;
    width: max-content;
    animation: r-marq 46s linear infinite;
    padding: 14px 0;
    font-family: var(--font-display);
    font-size: clamp(15px, 1.5vw, 20px);
    letter-spacing: -0.01em;
    color: var(--ink);
    white-space: nowrap;
}
.r-marquee-track span { padding-right: 38px; }
.r-marquee-track i { color: var(--blue); font-style: normal; }
.r-marquee:hover .r-marquee-track { animation-play-state: paused; }
@keyframes r-marq {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ================================================================
   THE ARGUMENT
================================================================ */

.r-argument {
    position: relative;
    background: var(--blue);
    color: var(--white);
    padding: var(--r-gap) 0;
}
.r-argument-statement {
    margin: clamp(34px, 5vw, 64px) 0 0;
    max-width: 22ch;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.8vw, 5rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}
.r-argument-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(28px, 4vw, 64px);
    margin-top: clamp(44px, 6vw, 88px);
    padding-top: 34px;
    border-top: 1px solid rgba(255,255,255,0.25);
}
.r-argument-body p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.86);
}

/* ================================================================
   HIGHLIGHTS
================================================================ */

.r-findings {
    position: relative;
    padding: var(--r-gap) 0 clamp(56px, 8vw, 96px);
    overflow: hidden;
}
.r-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    margin-top: clamp(44px, 6vw, 76px);
    background: var(--rule);
    border: 1px solid var(--rule);
}
.r-stat {
    background: var(--white);
    padding: clamp(28px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    transition: background 0.4s var(--ease-expo);
}
.r-stat:hover { background: #f7f6ff; }
.r-stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.2vw, 3.4rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--blue);
}
.r-stat p {
    margin: 22px 0 auto;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--ink);
}
.r-stat-src {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--rule);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-ink);
}
.r-stat-more {
    grid-column: 1 / -1;
    background: var(--ink);
    color: var(--white);
    padding: clamp(28px, 3vw, 40px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(20px, 3vw, 44px);
    align-items: start;
}
.r-stat-more-head {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
}
.r-stat-more p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
}

/* ================================================================
   CHAPTER INSIGHTS — photo band that steps through seven insights
================================================================ */

.r-insights {
    position: relative;
    min-height: clamp(440px, 58vw, 660px);
    overflow: hidden;
    background: var(--ink);
}
.r-insights-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.86;
    transition: opacity 0.5s var(--ease-expo);
}

/* Three stacked scrims. The photos vary a lot in brightness and the type
   has to clear contrast on every frame — do not thin these per-image. */
.r-insights-scrim { position: absolute; pointer-events: none; }
.r-insights-scrim--full {
    inset: 0;
    background: linear-gradient(180deg, rgba(8,8,10,0.66) 0%, rgba(8,8,10,0.56) 34%, rgba(8,8,10,0.92) 100%);
}
.r-insights-scrim--top {
    inset: 0 0 auto 0; height: 34%;
    background: linear-gradient(180deg, rgba(8,8,10,0.62) 0%, rgba(8,8,10,0.28) 60%, rgba(8,8,10,0) 100%);
}
.r-insights-scrim--bottom {
    inset: auto 0 0 0; height: 72%;
    background: linear-gradient(180deg, rgba(8,8,10,0) 0%, rgba(8,8,10,0.72) 55%, rgba(8,8,10,0.94) 100%);
}

.r-insights-inner {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 44px) var(--r-pad);
    min-height: clamp(440px, 58vw, 660px);
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 40px);
}

.r-insights-eyebrow {
    display: flex; align-items: center; gap: 14px;
    font-size: 10.5px; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,255,255,0.84);
}
.r-insights-rule {
    width: 26px; height: 2px; flex: none;
    background: rgba(255,255,255,0.6);
    display: block;
}

.r-insights-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: clamp(20px, 3vw, 30px);
}

/* Fixed floor so the controls hold position as quotes of different
   lengths swap in. */
.r-insights-text {
    min-height: clamp(210px, 22vw, 250px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-expo);
}
.r-insights-label {
    font-size: 10.5px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: #e2e7ff;
}
.r-insights-quote {
    margin: 16px 0 0;
    max-width: 30ch;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.35rem, 3.2vw, 2.5rem);
    line-height: 1.32;
    color: var(--white);
    text-wrap: pretty;
}
.r-insights-source {
    margin-top: 16px;
    max-width: 62ch;
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.13em; text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    text-wrap: balance;
}

.r-insights-controls {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 16px 20px;
    padding-top: clamp(18px, 2.5vw, 24px);
    border-top: 1px solid rgba(255,255,255,0.16);
}
.r-insights-arrows { display: flex; gap: 10px; }
.r-insights-arrow {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.28);
    background: transparent;
    color: var(--white);
    font-size: 15px;
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, border-color 0.3s;
}
.r-insights-arrow:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.6);
}
.r-insights-arrow:focus-visible {
    outline: 2px solid #e2e7ff;
    outline-offset: 3px;
}

.r-insights-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    flex: 1;
}
.r-insights-chip {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.28);
    background: transparent;
    color: rgba(255,255,255,0.72);
    font-family: var(--font-primary);
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.r-insights-chip:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }
.r-insights-chip.is-active {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}
.r-insights-chip:focus-visible {
    outline: 2px solid #e2e7ff;
    outline-offset: 3px;
}

.r-insights-counter {
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

/* ================================================================
   CHAPTERS
================================================================ */

.r-chapters { padding: var(--r-gap) 0; }
.r-chapters-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.72fr);
    gap: clamp(28px, 5vw, 64px);
    margin-top: clamp(44px, 6vw, 72px);
    align-items: start;
}
.r-chapter-list { border-top: 1px solid var(--rule); }
.r-chapter {
    display: flex;
    gap: clamp(14px, 2vw, 26px);
    align-items: baseline;
    padding: 18px 4px;
    border-bottom: 1px solid var(--rule);
    transition: background 0.3s var(--ease), padding-left 0.4s var(--ease-expo);
}
.r-chapter:hover {
    background: var(--gray-50);
    padding-left: 12px;
}
.r-chapter-no {
    flex: none;
    width: 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--blue);
}
.r-chapter-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.1vw, 1.6rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
}
.r-chapter-sub {
    margin-top: 6px;
    font-family: var(--serif);
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--muted-ink);
}
.r-chapter-preview {
    position: sticky;
    top: 110px;
}
.r-frame--preview { aspect-ratio: 4 / 5; }
.r-frame--preview img { transition: opacity 0.4s var(--ease-expo); }
.r-chapter-caption {
    margin-top: 12px;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-ink);
}

/* ================================================================
   CLICHÉ REGISTER
================================================================ */

.r-register {
    background: var(--ink);
    color: var(--white);
    padding: var(--r-gap) 0;
}
.r-table {
    margin-top: clamp(38px, 5vw, 60px);
    border-top: 1px solid rgba(255,255,255,0.18);
}
.r-table-head,
.r-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1.3fr);
    gap: clamp(14px, 3vw, 40px);
}
.r-table-head {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.r-row {
    padding: 26px 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
    align-items: baseline;
    transition: background 0.3s var(--ease);
}
.r-row:hover { background: rgba(255,255,255,0.03); }
.r-claim {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.05rem, 1.9vw, 1.45rem);
    line-height: 1.3;
    color: var(--white);
}
.r-verdict {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b8bff;
}
.r-holds {
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.82);
}
.r-table-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 26px 0 0;
}
.r-serif-note {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: rgba(255,255,255,0.62);
}
.r-table-link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b8bff;
    text-decoration: none;
    transition: color 0.3s var(--ease);
}
.r-table-link:hover { color: var(--white); }

/* ================================================================
   BRAND TAKEOUT
================================================================ */

.r-takeout { padding: var(--r-gap) 0; }
.r-takeout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    margin-top: clamp(44px, 6vw, 72px);
    background: var(--rule);
    border: 1px solid var(--rule);
}
.r-takeout-card {
    background: var(--white);
    padding: clamp(26px, 3vw, 38px);
    border-top: 3px solid var(--blue);
    transition: background 0.4s var(--ease-expo);
}
.r-takeout-card:hover { background: #f7f6ff; }
.r-takeout-no {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--muted-ink);
}
.r-takeout-card h3 {
    margin: 18px 0 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.12rem, 1.7vw, 1.38rem);
    line-height: 1.28;
    letter-spacing: -0.015em;
}
.r-takeout-card p {
    margin: 14px 0 0;
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--body-ink);
}

.r-closing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    margin-top: clamp(56px, 7vw, 104px);
    padding-top: clamp(40px, 5vw, 64px);
    border-top: 1px solid var(--rule);
}
.r-closing-quote {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2.6vw, 2.05rem);
    line-height: 1.35;
    color: var(--ink);
}
.r-frame--closing { aspect-ratio: 4 / 3; }

/* ================================================================
   METHOD
================================================================ */

.r-method {
    background: var(--gray-50);
    border-top: 1px solid var(--rule);
    padding: var(--r-gap) 0;
}
.r-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(32px, 5vw, 80px);
}
.r-method-lede {
    margin: 26px 0 0;
    max-width: 42ch;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body-ink);
}
.r-sources {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid var(--rule);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-ink);
    line-height: 2;
}
.r-rule {
    padding: 26px 0;
    border-top: 1px solid var(--rule);
}
.r-rule h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
}
.r-rule p {
    margin: 12px 0 0;
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--body-ink);
}

/* ================================================================
   DOWNLOAD
================================================================ */

/* Black, not blue — the footer below it is brand blue, and blue-on-blue
   would read as one undifferentiated block. */
.r-download {
    background: var(--ink);
    color: var(--white);
    padding: var(--r-gap) 0;
}
.r-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(36px, 6vw, 88px);
    align-items: start;
}
.r-download-title {
    margin: 24px 0 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.3rem, 5.2vw, 4.2rem);
    line-height: 1.0;
    letter-spacing: -0.035em;
    color: var(--white);
}
.r-download-desc {
    margin: 22px 0 0;
    max-width: 38ch;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.84);
}
.r-download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.28);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.r-card {
    background: var(--white);
    color: var(--ink);
    padding: clamp(26px, 3vw, 40px);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(10,10,10,0.18);
}
.r-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-ink);
}
.r-card-label--blue { color: var(--blue); }
.r-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}
.r-fields input {
    width: 100%;
    box-sizing: border-box;
    min-height: 54px;
    padding: 15px 16px;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: var(--off-white);
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--ink);
    outline: none;
    transition: all 0.3s var(--ease);
}
.r-fields input::placeholder { color: var(--muted-ink); }
.r-fields input:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(33,11,212,0.07);
}
.r-submit {
    margin-top: 6px;
    width: 100%;
    min-height: 56px;
    padding: 17px 20px;
    border: none;
    border-radius: 50px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease-expo);
}
.r-submit:hover { background: var(--ink); transform: translateY(-2px); }
.r-card-note {
    margin: 18px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted-ink);
}
.r-card-note a { color: var(--blue); }
.r-confirm-lead {
    margin: 18px 0 0;
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--ink);
}

/* Footer matches the main site exactly; the brand is a link here. */
.footer-brand { text-decoration: none; display: inline-block; }

/* ================================================================
   REVEALS
================================================================ */

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ================================================================
   TABLET
================================================================ */

@media (max-width: 1023px) {
    .r-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); }
    .r-chapters-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); }
}

/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 899px) {
    .research-page { --r-gap: clamp(60px, 13vw, 88px); }

    /* Hero ------------------------------------------------ */
    .r-hero { padding: 100px 0 0; }
    .r-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        align-items: start;
    }
    .r-hero-text { padding-bottom: 0; }
    .r-hero-title {
        margin-top: 22px;
        font-size: clamp(2.9rem, 15vw, 4.2rem);
        line-height: 1.0;
        letter-spacing: -0.03em;
    }
    .r-hero-desc { margin-top: 22px; font-size: 1rem; max-width: none; }
    .r-hero-actions { margin-top: 28px; gap: 10px; }
    .btn { flex: 1 1 100%; }
    .r-hero-meta { margin-top: 30px; gap: 8px 22px; font-size: 10px; }
    .r-frame--hero { aspect-ratio: 4 / 3; }

    /* Marquee --------------------------------------------- */
    /* Small enough to sit in the background — it should not demand that
       you wait for it to scroll past. */
    .r-marquee { margin-top: 44px; }
    .r-marquee-track { font-size: 11.5px; padding: 11px 0; }
    .r-marquee-track span { padding-right: 20px; }

    /* Section heads --------------------------------------- */
    .r-section-head { gap: 18px; align-items: flex-start; }
    .r-section-lede { max-width: none; font-size: 0.94rem; }
    .r-h2 { font-size: clamp(1.85rem, 7.4vw, 2.4rem); line-height: 1.12; margin-top: 18px; }

    /* Argument -------------------------------------------- */
    .r-argument-statement {
        margin-top: 28px;
        font-size: clamp(2.1rem, 10vw, 3rem);
        line-height: 1.1;
        max-width: none;
    }
    .r-argument-body { margin-top: 36px; padding-top: 26px; gap: 22px; }
    .r-argument-body p { font-size: 0.98rem; }

    /* Highlights ------------------------------------------ */
    .r-stat-grid { grid-template-columns: minmax(0, 1fr); margin-top: 34px; }
    .r-stat { padding: 26px 22px; }
    .r-stat-num { font-size: 2.6rem; }
    .r-stat p { font-size: 0.97rem; margin-top: 16px; }
    .r-stat-more { padding: 26px 22px; gap: 18px; }
    .r-stat-more-head { font-size: 1.25rem; }
    .r-stat-more p { font-size: 0.94rem; }

    /* Chapter insights ------------------------------------ */
    .r-insights-quote { max-width: none; }
    .r-insights-source { font-size: 10px; letter-spacing: 0.11em; }

    /* Numerals are too much at this width. The chips become dots: the row
       still shows how many insights there are and which one you're on, and
       each dot keeps a 44px touch target. Numbers stay on desktop. */
    .r-insights-chips {
        flex: 0 0 auto;
        order: 0;
        gap: 2px;
        margin-left: auto;
        flex-wrap: nowrap;
    }
    .r-insights-chip {
        position: relative;
        width: 24px;
        min-height: 44px;
        padding: 0;
        border: none;
        background: transparent;
        font-size: 0;
        flex: none;
    }
    .r-insights-chip::after {
        content: '';
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 7px; height: 7px;
        border-radius: 50px;
        background: rgba(255,255,255,0.34);
        transition: width 0.4s var(--ease-expo), background 0.3s;
    }
    .r-insights-chip:hover { border: none; }
    .r-insights-chip.is-active::after {
        width: 22px;
        background: var(--white);
    }

    /* The dots already carry position and count. */
    .r-insights-counter { display: none; }

    /* Measured: the longest quote runs to 252px at 375px wide, the shortest
       to 210px. The specced 210px floor let the controls jump 42px between
       insights, so the floor is set above the tallest. */
    .r-insights-text { min-height: 262px; }

    /* Chapters -------------------------------------------- */
    .r-chapters-grid { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
    .r-chapter-preview { display: none; }
    .r-chapter { padding: 16px 0; gap: 14px; }
    .r-chapter:hover { padding-left: 0; background: none; }
    .r-chapter-title { font-size: 1.12rem; }
    .r-chapter-sub { font-size: 0.9rem; margin-top: 4px; }
    .r-chapter-no { width: 24px; font-size: 10px; }

    /* Register — table collapses to stacked cards --------- */
    .r-table { margin-top: 30px; }
    .r-table-head { display: none; }
    .r-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 24px 0;
    }
    .r-claim { font-size: 1.15rem; }
    .r-verdict {
        display: inline-block;
        padding: 5px 11px;
        border: 1px solid rgba(139,139,255,0.35);
        border-radius: 50px;
        font-size: 10px;
        justify-self: start;
    }
    .r-holds { font-size: 0.95rem; }
    .r-table-foot { padding-top: 22px; gap: 16px; }
    .r-serif-note { font-size: 1rem; }

    /* Takeout --------------------------------------------- */
    .r-takeout-grid { grid-template-columns: minmax(0, 1fr); margin-top: 34px; }
    .r-takeout-card { padding: 26px 22px; }
    .r-closing { margin-top: 44px; padding-top: 32px; gap: 26px; }
    .r-closing-quote { font-size: clamp(1.25rem, 5.4vw, 1.6rem); }

    /* Method ---------------------------------------------- */
    .r-method-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .r-method-lede { max-width: none; font-size: 0.98rem; }
    .r-sources { line-height: 1.9; font-size: 10.5px; }
    .r-rule { padding: 22px 0; }

    /* Download -------------------------------------------- */
    .r-download-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .r-download-title { font-size: clamp(2.1rem, 9.5vw, 2.9rem); line-height: 1.06; }
    .r-download-desc { max-width: none; font-size: 1rem; }
    .r-card { padding: 24px 20px; border-radius: 14px; }

}

@media (prefers-reduced-motion: reduce) {
    .r-marquee-track { animation: none; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}
