/* Amplified Narrative · Redline design system
   Paper and ink, a sharp editorial serif, and a lawyer's redline as the one punk device.
   Rule for the redline (<del>/<ins>): one strike per piece, strike ideas, never people or companies. */

/* ---------- Fonts (self-hosted, SIL OFL; see fonts/LICENSE.txt) ---------- */
@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('fonts/newsreader-latin-opsz-normal.woff2') format('woff2-variations'), url('fonts/newsreader-latin-opsz-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Newsreader';
    font-style: italic;
    font-weight: 200 800;
    font-display: swap;
    src: url('fonts/newsreader-latin-opsz-italic.woff2') format('woff2-variations'), url('fonts/newsreader-latin-opsz-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/instrument-sans-latin-wght-normal.woff2') format('woff2-variations'), url('fonts/instrument-sans-latin-wght-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
    --paper: #F7F6F2;
    --sheet: #FFFFFF;
    --ink: #141414;
    --text: #2A2925;
    --text-soft: #3A3935;
    --graphite: #5C5A55;
    --struck: #8A877F;
    --rule: #DAD7CF;
    --red: #C8281E;
    --insert: #1D4ED8;

    --night-text: #DAD7CF;
    --night-soft: #A9A59C;
    --night-rule: #3D3B37;
    --red-night: #FF5A4E;

    --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

    --page: 1200px;
    --gutter: 2rem;
    --margin-col: 180px;
    --col-gap: 3.5rem;
    --measure: 44rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-wrap: balance;
    font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); letter-spacing: -0.028em; margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.375rem, 2.2vw, 1.625rem); margin-bottom: 0.75rem; letter-spacing: -0.015em; }

p { margin-bottom: 1.25rem; }
strong { font-weight: 600; }
em { font-style: italic; }

.emphasis { font-style: italic; font-weight: inherit; color: inherit; }
.section h2 .emphasis, .prose h2 .emphasis { font-weight: 500; }

:focus-visible { outline: 3px solid var(--insert); outline-offset: 3px; }

/* The redline */
del {
    text-decoration-line: line-through;
    text-decoration-color: var(--red);
    text-decoration-thickness: 0.075em;
    color: var(--struck);
    font-weight: 500;
}
ins {
    text-decoration-line: underline;
    text-decoration-color: var(--insert);
    text-decoration-thickness: 0.045em;
    text-underline-offset: 0.14em;
    color: var(--insert);
    font-style: italic;
    font-weight: 500;
}

/* Margin notes, like the margin of a brief */
.marker, .section p.marker {
    font-family: var(--mono);
    font-size: 0.8125rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: var(--graphite);
    padding-top: 0.85rem;
    border-top: 1px solid var(--ink);
}
.marker .sec { display: block; color: var(--red); }
.marker a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }
.marker a:hover { color: var(--ink); }

/* ---------- Navigation ---------- */
.site-header { border-bottom: 1px solid var(--rule); }

.nav {
    max-width: var(--page);
    margin: 0 auto;
    padding: 1.25rem var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    flex-wrap: wrap;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}
.nav-logo em { font-weight: 500; }
.nav-logo .pilcrow { color: var(--red); font-style: normal; }

.nav-links { display: flex; gap: 0.25rem 1.75rem; list-style: none; align-items: center; flex-wrap: wrap; }
.nav-links a {
    display: inline-block;
    padding: 0.6rem 0;
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.975rem;
    text-underline-offset: 7px;
    text-decoration-thickness: 2px;
}
.nav-links a:hover { color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--rule); }
.nav-links a[aria-current="page"] { color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--red); }

/* ---------- Buttons and links ---------- */
.btn, .cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    transition: background-color 0.15s, color 0.15s;
    cursor: pointer;
}
.btn:hover, .cta-primary:hover, .cta-secondary:hover { background: var(--text-soft); border-color: var(--text-soft); }

.btn-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0.85rem 0.25rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}
.btn-link:hover { color: var(--red); }

.text-link, .prose a, .section p a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}
.text-link:hover, .prose a:hover, .section p a:hover { color: var(--red); }

/* ---------- Home hero ---------- */
.hero {
    max-width: var(--page);
    margin: 0 auto;
    padding: 5.5rem var(--gutter) 5.5rem;
    display: grid;
    grid-template-columns: var(--margin-col) minmax(0, 1fr) 270px;
    column-gap: var(--col-gap);
    align-items: start;
}
.hero-main { display: flex; flex-direction: column; gap: 1.75rem; }
.hero h1 { font-size: clamp(2.75rem, 5.4vw, 4.75rem); }
.hero-subhead {
    font-size: 1.25rem;
    line-height: 1.55;
    color: var(--text-soft);
    max-width: 36rem;
    margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }

.index-list { list-style: none; border-top: 1px solid var(--ink); }
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    padding: 1rem 0;
    text-decoration: none;
    color: var(--ink);
}
.index-list .sec { font-family: var(--mono); font-size: 0.8125rem; color: var(--red); padding-top: 0.35rem; }
.index-list .title { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.index-list .desc { grid-column: 2; font-size: 0.9375rem; color: var(--graphite); margin-top: 0.15rem; }
.index-list a:hover .title { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Sections: a margin column for notes, a reading column for text ---------- */
.section {
    max-width: var(--page);
    margin: 0 auto;
    padding: 6rem var(--gutter);
    display: grid;
    grid-template-columns: var(--margin-col) minmax(0, 1fr);
    column-gap: var(--col-gap);
    align-content: start;
}
.section > * { grid-column: 2; max-width: var(--measure); }
.section > .marker { grid-column: 1; grid-row: 1 / span 3; align-self: start; max-width: none; }
.section > .wide,
.section > .problem-grid,
.section > .tools-grid,
.section > .method-grid,
.section > .principles-grid,
.section > .split-section,
.section > .table-scroll { max-width: none; }
.section > .timeline-section { max-width: 52rem; }

.section p {
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--text);
}
.section p.lead, .section .large-text.lead {
    font-size: clamp(1.375rem, 2.2vw, 1.5rem);
    line-height: 1.5;
    color: var(--ink);
}

/* Full-bleed bands without wrapper markup */
.band-sheet, .band-night, .section-alt {
    box-shadow: 0 0 0 100vmax var(--band);
    clip-path: inset(0 -100vmax);
    background: var(--band);
}
.band-sheet, .section-alt { --band: var(--sheet); }
.band-night { --band: var(--ink); color: var(--night-text); }

.band-night h2, .band-night h3 { color: var(--paper); }
.band-night .section-title, .band-night p { color: var(--night-text); }
.band-night .section p.lead, .band-night p.lead { color: var(--paper); }
.band-night .marker { color: var(--night-soft); border-top-color: var(--paper); }
.band-night .marker .sec { color: var(--red-night); }
.band-night a.text-link, .band-night p a { color: var(--paper); text-decoration-color: var(--red-night); }

.section.quote-only { padding-top: 0; }

/* Numbered claims */
.manifesto-point {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    border-top: 1px solid var(--rule);
    padding-top: 1.25rem;
    margin: 0 0 1.25rem;
}
.manifesto-point::before {
    content: '¶';
    font-family: var(--serif);
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--red);
}
.section .manifesto-point p.manifesto, .manifesto {
    font-family: var(--serif);
    font-size: clamp(1.375rem, 2.3vw, 1.625rem);
    font-weight: 500;
    line-height: 1.32;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
}
.manifesto-point + p, .manifesto-group + p { margin-top: 1.5rem; }

/* Three-up cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 2.5rem 0;
}
.problem-card { background: var(--paper); border: 1px solid var(--rule); padding: 1.75rem 1.5rem 1.5rem; }
.stat {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
    margin-bottom: 0.9rem;
}
.problem-card h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.5rem; }
.section .problem-card p { font-family: var(--sans); font-size: 1rem; line-height: 1.55; color: var(--text-soft); margin: 0; }

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin: 2.5rem 0 0;
}
.method-item { border-top: 1px solid var(--night-rule); padding-top: 1.25rem; }
.band-night .method-item { border-top-color: #4A4843; }
.method-item h3 { font-size: 1.375rem; }
.section .method-item p { font-family: var(--sans); font-size: 1rem; line-height: 1.6; margin: 0; }

/* Cards that lead somewhere */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 2.5rem 0 0;
}
.tool-card {
    background: var(--sheet);
    border: 1px solid var(--rule);
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s;
}
.band-sheet .tool-card, .section-alt .tool-card { background: var(--paper); }
.tool-card:hover { border-color: var(--ink); }
.tool-card .card-sec, .section .tool-card .card-sec { font-family: var(--mono); font-size: 0.8125rem; color: var(--red); margin-bottom: 0.75rem; }
.tool-card h3 { font-size: 1.625rem; margin-bottom: 0.6rem; }
.section .tool-card p, .tool-card p { font-family: var(--sans); font-size: 1rem; line-height: 1.55; color: var(--text-soft); margin-bottom: 0.75rem; }
.tool-card .tag {
    align-self: flex-start;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--graphite);
    border: 1px solid var(--rule);
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.9rem;
}
.tool-cta {
    margin-top: auto;
    padding-top: 0.75rem;
    align-self: flex-start;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}
.tool-cta:hover { color: var(--red); }

/* Closing band */
.final-cta, .cta-section {
    background: var(--ink);
    color: var(--night-text);
    padding: 6.5rem var(--gutter);
    text-align: center;
}
.final-cta > *, .cta-section > * { max-width: 44rem; margin-left: auto; margin-right: auto; }
.final-cta h2, .cta-section h2 { color: var(--paper); margin-bottom: 1.25rem; }
.final-cta p, .cta-section p { font-family: var(--serif); font-size: 1.3125rem; line-height: 1.55; color: var(--night-text); }
.final-cta .closing-line { color: var(--paper); font-style: italic; }
.final-cta .actions, .cta-section .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.final-cta .cta-primary, .final-cta .cta-secondary,
.cta-section .cta-primary, .cta-section .cta-secondary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.final-cta .cta-primary:hover, .final-cta .cta-secondary:hover,
.cta-section .cta-primary:hover, .cta-section .cta-secondary:hover { background: var(--sheet); border-color: var(--sheet); }
.final-cta .pilcrow, .cta-section .pilcrow { display: block; font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--red-night); margin-bottom: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); background: var(--paper); }
.footer-inner {
    max-width: var(--page);
    margin: 0 auto;
    padding: 3rem var(--gutter) 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem 3rem;
    flex-wrap: wrap;
}
.footer-brand p { font-size: 0.9375rem; color: var(--graphite); margin: 0.35rem 0 0; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.social-link {
    display: inline-block;
    padding: 0.6rem 0;
    font-weight: 500;
    color: var(--text-soft);
    text-decoration: none;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}
.social-link:hover { color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--red); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--ink);
    color: var(--paper);
    border: 0;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s, background-color 0.15s;
}
.back-to-top.visible { display: flex; opacity: 1; }
.back-to-top:hover { background: var(--red); }
.back-to-top svg { display: block; width: 20px; height: 20px; }

/* ---------- Interior page hero ---------- */
.page-hero {
    max-width: var(--page);
    margin: 0 auto;
    padding: 5rem var(--gutter) 3.5rem;
    display: grid;
    grid-template-columns: var(--margin-col) minmax(0, 1fr);
    column-gap: var(--col-gap);
    align-items: start;
}
.page-hero > * { grid-column: 2; max-width: 52rem; }
.page-hero > .marker { grid-column: 1; grid-row: 1 / span 2; max-width: none; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero .subtitle {
    font-family: var(--sans);
    font-size: clamp(1.125rem, 2vw, 1.3125rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-soft);
    max-width: 40rem;
    margin: 0;
    text-wrap: pretty;
}
.page-hero.has-photo { grid-template-columns: var(--margin-col) minmax(0, 1fr) 300px; grid-template-rows: auto 1fr; }
.page-hero.has-photo .subtitle { align-self: start; }
.page-hero .portrait { grid-column: 3; grid-row: 1 / span 2; max-width: none; }
.page-hero .portrait img { width: 100%; height: auto; filter: grayscale(100%) contrast(1.05); border: 1px solid var(--rule); }
.page-hero .portrait figcaption { font-family: var(--mono); font-size: 0.75rem; color: var(--graphite); margin-top: 0.5rem; }

/* ---------- Long-form reading ---------- */
.prose {
    max-width: var(--page);
    margin: 0 auto;
    padding: 1rem var(--gutter) 6rem;
    display: grid;
    grid-template-columns: var(--margin-col) minmax(0, 1fr);
    column-gap: var(--col-gap);
}
.prose > * { grid-column: 2; max-width: 42rem; }
.prose p {
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1.4rem;
    text-wrap: pretty;
}
.prose > p:first-of-type { font-size: 1.375rem; line-height: 1.6; color: var(--ink); }
.prose h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); margin: 3.25rem 0 1.25rem; }
.prose h2:first-child { margin-top: 0; }

.pullquote, .prose .pullquote {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 2.75rem 0;
    padding: 1.5rem 0 1.75rem;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--rule);
    text-wrap: balance;
}
.pullquote::before {
    content: '¶';
    display: block;
    font-style: normal;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--red);
    margin-bottom: 0.75rem;
}

/* Story blocks (About) */
.story-point { margin: 2.5rem 0 1rem; }
.story-point h3 { margin-bottom: 1rem; }

/* ---------- Method: timeline ---------- */
.timeline-section { margin: 2.5rem 0 1rem; border-top: 1px solid var(--ink); }
.timeline-item {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    column-gap: 2rem;
    padding: 2.25rem 0 1rem;
    border-bottom: 1px solid var(--rule);
}
.timeline-item > * { grid-column: 2; }
.timeline-year {
    grid-column: 1 !important;
    grid-row: 1 / span 12;
    font-family: var(--mono);
    font-size: 0.875rem;
    color: var(--red);
    padding-top: 0.45rem;
}
.timeline-item h3 { margin-top: 0; }
.section .timeline-item p { font-size: 1.1875rem; }
.timeline-item .note-label, .timeline-item p > .emphasis:first-child {
    display: block;
    font-family: var(--mono);
    font-style: normal;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--graphite);
    margin-bottom: 0.2rem;
}

/* Method: then and now, set as tracked changes */
.split-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    margin: 2.5rem 0;
    max-width: 52rem;
}
.split-card { border-top: 1px solid var(--ink); padding-top: 1rem; }
.split-card h3 { font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); margin: 0 0 0.5rem; }
.split-card ul { list-style: none; }
.split-card li {
    font-family: var(--serif);
    font-size: 1.1875rem;
    line-height: 1.4;
    padding: 0.6rem 0 0.6rem 1.5rem;
    border-bottom: 1px solid var(--rule);
    position: relative;
}
.split-card.then li { color: var(--graphite); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; }
.split-card.then li::before { content: '–'; position: absolute; left: 0; color: var(--red); text-decoration: none; }
.split-card.now h3 { color: var(--insert); }
.split-card.now li { color: var(--ink); }
.split-card.now li::before { content: '+'; position: absolute; left: 0; font-family: var(--mono); color: var(--insert); }

/* Method: comparison table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 2rem 0; border-top: 1px solid var(--ink); }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.975rem; line-height: 1.5; }
.comparison-table th {
    text-align: left;
    vertical-align: bottom;
    padding: 1rem;
    font-family: var(--serif);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-bottom: 1px solid var(--ink);
}
.comparison-table td { padding: 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--text); }
.comparison-table th:last-child, .comparison-table td:last-child { background: var(--sheet); }
.comparison-table .category { font-family: var(--mono); font-size: 0.8125rem; color: var(--graphite); width: 17%; padding-top: 1.15rem; }

/* Method: principles */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem 2rem;
    margin-top: 2rem;
}
.principle-item { border-top: 1px solid #4A4843; padding-top: 1.25rem; }
.principle-number { font-family: var(--serif); font-size: 2.25rem; font-weight: 600; line-height: 1; color: var(--red-night); margin-bottom: 0.75rem; }
.principle-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.section .principle-item p { font-family: var(--sans); font-size: 1rem; line-height: 1.55; margin: 0; color: var(--night-text); }

/* ---------- FAQ ---------- */
.faq-container { border-top: 1px solid var(--ink); margin-top: 1rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--ink);
    text-align: left;
}
.faq-question:hover { color: var(--red); }
.faq-icon { font-family: var(--sans); font-size: 1.75rem; font-weight: 300; line-height: 1; color: var(--red); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease-out, padding 0.35s ease-out; }
.faq-item.active .faq-answer { max-height: 2000px; padding-bottom: 1.5rem; }
.section .faq-answer p { font-size: 1.1875rem; margin-bottom: 1rem; }
.faq-answer ul { margin: 0.5rem 0 1rem 1.25rem; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.6; color: var(--text); }
.faq-answer li { margin-bottom: 0.4rem; }
.faq-answer strong { font-weight: 600; color: var(--ink); }

/* ---------- Self-assessment ---------- */
.assess {
    max-width: var(--page);
    margin: 0 auto;
    padding: 1rem var(--gutter) 6rem;
    display: grid;
    grid-template-columns: var(--margin-col) minmax(0, 1.4fr) minmax(0, 1fr);
    column-gap: var(--col-gap);
    row-gap: 2rem;
    align-items: start;
}
.assess::before { content: ''; }
.assess-form fieldset { border: 0; margin: 0 0 2.75rem; padding: 0; min-width: 0; }
.assess-form legend { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 1.875rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.75rem; padding: 0; }
.assess-hint { font-size: 1rem; color: var(--graphite); margin-bottom: 0.75rem; }
.check {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
    cursor: pointer;
    font-family: var(--serif);
    font-size: 1.1875rem;
    line-height: 1.45;
    color: var(--text);
}
.check:first-of-type { border-top: 1px solid var(--ink); }
.check input {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 1.375rem;
    height: 1.375rem;
    margin-top: 0.15rem;
    border: 1.5px solid var(--ink);
    background: var(--sheet);
    cursor: pointer;
    display: grid;
    place-content: center;
}
.check input:checked { background: var(--ink); }
.check input:checked::after {
    content: '';
    width: 0.4rem;
    height: 0.75rem;
    border: solid var(--paper);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.check:hover span { color: var(--ink); }

.result {
    position: sticky;
    top: 2rem;
    background: var(--sheet);
    color: var(--ink);
    padding: 1.75rem 1.75rem 1.5rem;
    border: 1px solid var(--rule);
    border-top: 3px solid var(--ink);
}
.result-label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }
.result-score { font-size: 1rem; font-weight: 500; margin: 0.5rem 0 1rem; color: var(--text-soft); }
.result-score span { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; color: var(--red); margin-right: 0.25rem; }
.result h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin-bottom: 0.75rem; }
.result p { font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .hero { grid-template-columns: var(--margin-col) minmax(0, 1fr); row-gap: 3rem; }
    .hero .index-list { grid-column: 2; }
}

@media (max-width: 860px) {
    :root { --gutter: 1.25rem; }

    .hero, .section, .page-hero, .page-hero.has-photo, .prose, .assess {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero > *, .section > *, .page-hero > *, .prose > *, .assess > *,
    .hero .index-list, .page-hero .portrait {
        grid-column: 1;
    }
    .hero > .marker, .section > .marker, .page-hero > .marker {
        grid-row: auto;
        margin-bottom: 1.75rem;
    }
    .marker { display: flex; flex-wrap: wrap; gap: 0 0.75rem; }
    .marker .sec { display: inline; }
    .marker br { display: none; }
    .assess::before { display: none; }

    .hero { padding: 3rem var(--gutter) 3.5rem; row-gap: 2.5rem; }
    .hero > .marker { margin-bottom: 0; }
    .hero-main { gap: 1.4rem; }
    .section { padding: 4rem var(--gutter); }
    .page-hero { padding: 3rem var(--gutter) 2rem; }
    .page-hero .portrait { grid-row: auto; max-width: 260px; margin-top: 2rem; }
    .prose { padding: 0.5rem var(--gutter) 4rem; }

    .section p, .prose p { font-size: 1.1875rem; }
    .prose > p:first-of-type { font-size: 1.25rem; }

    .problem-grid, .method-grid, .split-section { grid-template-columns: minmax(0, 1fr); }
    .timeline-item { grid-template-columns: minmax(0, 1fr); }
    .timeline-item > *, .timeline-year { grid-column: 1 !important; }
    .timeline-year { grid-row: auto; padding-top: 0; margin-bottom: 0.5rem; }
    .result { position: static; }

    .final-cta, .cta-section { padding: 4.5rem var(--gutter); }
    .faq-question { font-size: 1.25rem; }
}

@media (max-width: 520px) {
    .nav { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .nav-links { gap: 0 1.25rem; }
    .nav-logo { font-size: 1.375rem; }
}

@media print {
    .site-header, .back-to-top, .site-footer, .final-cta, .cta-section { display: none; }
    body { background: #fff; }
    .band-sheet, .band-night, .section-alt { box-shadow: none; clip-path: none; background: none; color: var(--ink); }
}
