/* Shared with the portfolio's charcoal, Inter and emerald visual language. */
:root{color-scheme:dark;--bg:#0a0a0a;--text:#f5f5f5;--muted:#a1a1aa;--accent:#10b981;--line:rgba(255,255,255,.08)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 80% 50% at 50% -20%,#10b9810f,transparent),radial-gradient(circle,#ffffff0b 1px,transparent 1px);background-size:auto,28px 28px;mask-image:linear-gradient(black,transparent 80%)}
a{color:inherit;text-underline-offset:4px}a:hover{color:#34d399}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #34d399;outline-offset:5px}
::selection{background:#10b98140}
.skip{position:absolute;top:-100px;left:20px;padding:12px 20px;background:#141414;z-index:100}.skip:focus{top:12px}
.stories-page nav,.stories-page main,.stories-page footer{max-width:1000px;margin:auto;padding:24px clamp(24px,5vw,48px)}
.stories-page nav{display:flex;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);font-size:13px}
.stories-page nav a{text-decoration:none}.stories-page nav a:first-child{font-weight:500}
.stories-page main{min-height:calc(100svh - 160px)}
.stories-page header{padding:64px 0 48px}
.eyebrow,.story-page .kicker,.story-page .chapter-tag{color:#34d399;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:500}
.stories-page h1{font-size:clamp(40px,8vw,64px);line-height:1.1;letter-spacing:-.03em;margin:16px 0 20px;font-weight:700}
.stories-page header p{max-width:500px;color:var(--muted);margin:0}
.stories-page article{border-block:1px solid var(--line)}
.stories-page .story{display:block;text-decoration:none;padding:32px 0}
.stories-page .meta,.stories-page time{color:var(--muted);font-size:12px}
.stories-page h2{font-size:clamp(23px,4vw,30px);line-height:1.25;letter-spacing:-.02em;margin:12px 0;font-weight:600;transition:color .2s}
.stories-page .story:hover h2{color:#34d399}
.stories-page .copy p{color:var(--muted);font-size:15px;max-width:570px;margin:0 0 16px}
.stories-page .read{display:inline-block;color:#34d399;font-size:13px;margin-top:20px}
.stories-page footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.stories-page footer a{text-decoration:none}
/* Keep the essay readable without introducing a separate editorial identity. */
.story-page{font-size:16px}
.story-page .wrap{max-width:1000px;padding-inline:clamp(24px,5vw,48px)}
.story-page .narrow{max-width:680px}
.story-page .nav{padding-inline:max(24px,calc((100vw - 904px)/2));height:64px}
.story-page .wordmark{text-transform:none;letter-spacing:0;font-size:13px;font-weight:500;white-space:nowrap}
.story-page .navlinks a{font-weight:400}
.story-page .hero{padding-top:64px;padding-bottom:40px}
.story-page .hero h1{font-size:clamp(36px,6vw,64px);line-height:1.12;letter-spacing:-.03em;font-weight:700;max-width:800px;margin:20px 0 24px}
.story-page .hero h1 em{font-style:normal;font-weight:700;color:#34d399}
.story-page .dek,.story-page .lead{font:400 18px/1.75 var(--sans);color:var(--muted)}
.story-page .byline{margin:24px 0;gap:8px 20px}
.story-page .textlink{font-size:12px;font-weight:400;color:#34d399}
.story-page .chapter-menu{border:0;border-block:1px solid var(--line);padding:16px 0;margin-top:28px}
.story-page .chapter-menu summary{font-size:13px;font-weight:500}
.story-page .chapter-menu ol{font-size:13px;color:var(--muted)}
.story-page .photo img{border-radius:8px;min-height:0;aspect-ratio:1.85}
.story-page .photo figcaption{font-size:11px}
.story-page .intro{padding-block:64px}
.story-page .intro p:first-child{font:400 20px/1.75 var(--sans)}
.story-page .section{padding-block:64px}
.story-page .section h2,.story-page .method h2{font:600 clamp(28px,4vw,40px)/1.2 var(--sans);letter-spacing:-.02em;margin:0 0 24px}
.story-page .section h3,.story-page .step h3,.story-page .risk h3{font:600 clamp(19px,3vw,24px)/1.35 var(--sans);letter-spacing:-.02em}
.story-page .chapter-tag{margin-bottom:16px}
.story-page .evidence{margin:40px 0;padding:32px 0;gap:32px}
.story-page .big-number{font:600 clamp(56px,9vw,100px)/1.1 var(--sans);letter-spacing:-.05em}
.story-page .cite{color:#34d399;font-weight:500}
.story-page .two-col{gap:40px;margin-top:40px}
.story-page .quiet{background:transparent;border-block:1px solid var(--line);margin:40px 0;padding:48px 0}
.story-page .quiet blockquote{font:500 clamp(24px,4vw,34px)/1.5 var(--sans);letter-spacing:-.02em}
.story-page .archive{gap:24px}
.story-page .archive a{border:0;border-top:1px solid var(--line);padding:20px 0;min-height:0;transition:color .2s}
.story-page .archive a:hover{transform:none}
.story-page .archive strong{font:500 19px/1.4 var(--sans);margin:12px 0}
.story-page .archive .pub,.story-page .case time{color:#34d399}
.story-page .filter{border-radius:6px;font-weight:400}
.story-page .filter[aria-pressed=true]{background:#10b9811f;color:#34d399;border-color:#10b98166}
.story-page .method{background:#111;padding:64px 24px}
.story-page .method details p{color:var(--muted)}
.story-page .ending{background:transparent;border-top:1px solid var(--line);padding:64px 0;color:var(--text)}
.story-page .ending h2{font:600 clamp(28px,4vw,40px)/1.25 var(--sans);letter-spacing:-.02em}
.story-page .ending p{font-size:16px;color:var(--muted)}
.story-page .footer{background:transparent;color:var(--muted);font-size:12px;padding:24px max(24px,calc((100vw - 904px)/2))}
@media(max-width:740px){.story-page .navlinks{gap:12px}.story-page .reading{display:none}.story-page .navlinks a{font-size:11px}.story-page .hero,.stories-page header{padding-top:40px}.story-page .section,.story-page .intro{padding-block:48px}.story-page .evidence,.story-page .two-col{gap:24px}.story-page .figure-rail{padding-inline:24px}.story-page .case{grid-template-columns:1fr;gap:8px}.story-page .ending{padding-block:48px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
/* Section pacing: one introduction or idea in view at a time. */
html{scroll-snap-type:y proximity;scroll-padding-top:64px}
.stories-page main{padding-block:0}
.stories-page header,.stories-page .story-collection,.story-page .hero,.story-page .section,.story-page .intro,.story-page .visual-section,.story-page .figure-rail,.story-page .quiet,.story-page .method,.story-page .ending{min-height:calc(100svh - 64px);display:flex;flex-direction:column;justify-content:center;scroll-snap-align:start;scroll-margin-top:0;padding-block:clamp(48px,8vh,96px)}
.stories-page header{max-width:620px}
.stories-page .story-collection{max-width:680px}
.stories-page article{border:0}
.stories-page .story{padding:0}
.stories-page .copy p{max-width:480px}
.stories-page h2{font-size:clamp(28px,5vw,44px)}
.section-next{display:inline-block;align-self:flex-start;margin-top:32px;color:#34d399;font-size:13px;text-decoration:none}
.story-page .hero{align-items:flex-start;width:100%}
.story-page .hero h1{max-width:760px}
.story-page .hero .dek{max-width:520px;margin:0}
.story-page .hero .byline{font-size:12px;margin:24px 0 0}
.story-page .nav .chapter-menu{position:relative;margin:0;padding:0;border:0}
.story-page .nav .chapter-menu summary{font-size:12px;list-style:none;cursor:pointer;color:var(--muted)}
.story-page .nav .chapter-menu summary::after{content:' +';color:#34d399}
.story-page .nav .chapter-menu[open] summary::after{content:' −'}
.story-page .nav .chapter-menu ol{position:absolute;right:0;top:28px;display:flex;flex-direction:column;gap:0;width:min(290px,calc(100vw - 48px));padding:12px 24px 12px 40px;margin:0;border:1px solid var(--line);border-radius:8px;background:#111;box-shadow:0 16px 48px #0008}
.story-page .nav .chapter-menu li a{display:block;padding:8px 0;font-size:13px}
.story-page .nav .chapter-menu li:nth-child(n) a{display:block}
.story-page .intro{padding-inline:24px;max-width:728px}
.story-page .visual-section figure{width:100%;margin:0}
.story-page .section .lead{max-width:640px;margin-bottom:24px}
.story-page .section .evidence{margin:24px 0 0;padding:28px 0 0;border-bottom:0}
.story-page .supporting-detail{border-top:1px solid var(--line);margin-top:28px;padding-top:16px;width:100%}
.story-page .supporting-detail>summary{font-size:13px;color:var(--muted);cursor:pointer;width:fit-content}
.story-page .supporting-detail[open]>summary{color:#34d399;margin-bottom:24px}
.story-page .supporting-detail h3{margin-top:32px!important}
.story-page .supporting-detail .timeline{margin-top:24px}
.story-page .steps{display:grid;grid-template-columns:1fr 1fr;gap:24px 40px;border:0;padding:0;margin:28px 0}
.story-page .step{padding:0}.story-page .step::before{display:none}.story-page .step p{font-size:14px;margin-bottom:0}
.story-page .two-col{margin-top:16px;gap:32px}
.story-page .two-col>.prose{font-size:15px}
.story-page .prose p{margin-bottom:20px}
.story-page .quiet,.story-page .figure-rail{margin-block:0}
.story-page .risk-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.story-page .risk{padding:14px 0}.story-page .risk h3{font-size:18px}.story-page .risk p{font-size:13px}
.story-page .filters{margin:16px 0;gap:8px}.story-page .filter{padding:8px 12px}
.story-page .method .narrow{width:100%}
.story-page .method .disclaimer{margin:24px 0;padding:16px 20px;font-size:13px}
.story-page .method details{font-size:14px;padding:12px 0}
.story-page .sources-list{margin:0}.story-page .sources-list li{padding:10px 0;font-size:13px}
.story-page .notes{margin:24px 0 0;font-size:12px}
@media(max-width:740px){.story-page .steps,.story-page .risk-list{grid-template-columns:1fr}.story-page .section,.story-page .intro,.story-page .method{padding-block:48px}.story-page .navlinks{flex-wrap:nowrap}.story-page .nav .chapter-menu summary{display:block}.story-page .section h2{max-width:560px}.story-page .evidence{grid-template-columns:1fr}.story-page .section .evidence{gap:24px}.story-page .visual-section{min-height:auto;padding-block:40px}.story-page .figure-rail{min-height:auto;padding-block:48px}}
@media(prefers-reduced-motion:reduce){html{scroll-snap-type:none;scroll-behavior:auto}}
/* Navigation is a preceding section, revealed by scrolling above the opening. */
html{scroll-padding-top:0}
.previous-section{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:64px 24px;scroll-snap-align:start}
.previous-content{width:100%;max-width:680px}
.previous-content h2{font-size:clamp(28px,5vw,44px);line-height:1.2;letter-spacing:-.03em;margin:16px 0 28px}
.previous-links{display:flex;gap:16px 28px;flex-wrap:wrap}
.previous-links a{font-size:15px;text-decoration:none;color:var(--muted)}
.previous-links a:hover{color:#34d399}
.previous-content .section-next{margin-top:40px}
.story-page .previous-content .chapter-menu{margin-top:32px;border-block:1px solid var(--line);padding:16px 0}
.story-page .previous-content .chapter-menu summary{font-size:14px;color:var(--muted)}
.story-page .previous-content .chapter-menu ol{display:grid;grid-template-columns:1fr 1fr;font-size:13px;gap:10px 24px;padding-left:20px}
.stories-page header,.stories-page .story-collection,.story-page .hero,.story-page .section,.story-page .intro,.story-page .quiet,.story-page .method,.story-page .ending{min-height:100svh}
.story-page .progress{height:2px}
@media(max-width:740px){.story-page .previous-content .chapter-menu ol{grid-template-columns:1fr}}
/* Group by subject; section height follows the material, not the viewport. */
html{scroll-snap-type:none}
.stories-page header,.stories-page .story-collection,.story-page .hero,.story-page .section,.story-page .intro,.story-page .visual-section,.story-page .figure-rail,.story-page .quiet,.story-page .method,.story-page .ending{min-height:0;display:block;scroll-snap-align:none;padding-block:64px}
.stories-page header{max-width:none;padding-top:clamp(48px,9vh,88px)}
.stories-page header>p{max-width:500px}
.stories-page header>.section-next{display:none}
.stories-page .story-collection{padding:40px 0 0;margin-top:32px;border-top:1px solid var(--line);max-width:none}
.stories-page .copy{max-width:640px}
.stories-page main{min-height:0}
.story-page .hero{padding-bottom:32px}
.story-page .intro{padding-top:0;padding-bottom:64px}
.story-page .intro>.photo{margin:0 0 36px}
.story-page .intro>.photo img{aspect-ratio:2.1}
.story-page .hero .section-next{display:none}
.story-page .chapter-continuation{margin-top:40px}
.story-page .chapter-continuation>.evidence{margin-top:16px}
.story-page .quiet{padding-block:40px}
.story-page .quiet blockquote{max-width:720px;font-size:clamp(22px,3vw,28px)}
.story-page .quiet .minor{margin-top:16px!important}
.story-page .ending{padding-block:56px}
.story-page .ending h2{max-width:700px}
@media(max-width:740px){.stories-page header,.story-page .hero,.story-page .section,.story-page .method{padding-block:40px}.stories-page .story-collection{padding-top:28px;margin-top:28px}.story-page .intro{padding-top:0;padding-bottom:40px}.story-page .quiet,.story-page .ending{padding-block:32px}}
/* Center the complete Stories group, keeping its heading and entry together. */
.stories-page header{min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding-block:48px}
.stories-page header>p{margin-inline:auto}
.stories-page .story-collection{width:100%;max-width:680px;min-height:0}
.stories-page .copy,.stories-page .copy p{margin-inline:auto}
.story-page .full-number{font-size:clamp(38px,6.4vw,68px);white-space:nowrap;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
@media(max-width:740px){.stories-page header{padding-block:40px}.story-page .full-number{font-size:clamp(32px,10vw,60px)}}
/* Position the opening group within the screen; keep its text left aligned. */
.stories-page header{align-items:stretch;text-align:left;max-width:680px;margin-inline:auto}
.stories-page header>p,.stories-page .copy,.stories-page .copy p{margin-inline:0}
.stories-page .story-collection{max-width:none}
.story-page .hero{min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-block:48px}
.story-page .headline-figure{margin:24px 0;min-width:0}
.story-page .headline-figure>a{display:block;background:#fff;border-radius:6px;padding:24px;overflow:hidden;transition:opacity .2s}
.story-page .headline-figure>a:hover{opacity:.9}
.story-page .headline-figure img{display:block;width:100%;height:auto;object-fit:contain}
.story-page .headline-figure figcaption{font-size:11px;color:var(--muted);line-height:1.6;margin-top:10px}
.story-page .headline-figure figcaption a{text-decoration:none}
.story-page #abandoned>.headline-figure{max-width:680px;margin-block:24px 32px}
@media(max-width:740px){.story-page .headline-figure>a{padding:16px}}
.story-page .image-carousel{min-width:0;max-width:100%;margin:24px 0}
.story-page .carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:6px}
.story-page .carousel-track::-webkit-scrollbar{display:none}
.story-page .carousel-track>.headline-figure{flex:0 0 100%;min-width:0;scroll-snap-align:start;margin:0}
.story-page .carousel-track .headline-figure>a{min-height:180px;display:flex;align-items:center;justify-content:center;padding:24px}
.story-page .carousel-track img{max-height:220px;object-fit:contain}
.story-page .carousel-track figcaption{min-height:38px;padding-top:8px;margin-top:0}
.story-page .carousel-controls{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:12px}
.story-page .carousel-controls button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--text);font:16px Inter,sans-serif;cursor:pointer}
.story-page .carousel-controls button:hover:enabled{color:#34d399;border-color:#10b98188}
.story-page .carousel-controls button:disabled{opacity:.25;cursor:default}
.story-page .carousel-controls output{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
@media(max-width:740px){.story-page .carousel-track .headline-figure>a{min-height:150px;padding:16px}}
/* Show photography on arrival, alongside the story rather than below a text-only screen. */
.stories-page .story{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px;align-items:center}
.stories-page .story-cover{display:block;width:100%;height:230px;object-fit:cover;border-radius:8px}
.stories-page .story h2{font-size:clamp(24px,3vw,34px)}
.stories-page .story .copy p{font-size:14px;margin-bottom:0}
.stories-page .story .read{margin-top:16px}
.story-page .hero{gap:0;min-height:100svh;padding-block:40px}
.story-page .hero>.photo{width:100%;margin:28px 0 0}
.story-page .hero>.photo img{height:clamp(200px,30svh,340px);aspect-ratio:auto;object-fit:cover}
.story-page .hero>.photo figcaption{padding-bottom:0;font-size:10px}
.story-page .hero h1{margin-block:12px 16px}
.story-page .hero .byline{margin-top:16px}
.story-page .location-photo{margin:28px 0}
.story-page .location-photo img{max-height:380px;aspect-ratio:2;object-fit:cover}
@media(max-width:740px){.stories-page .story{grid-template-columns:1fr;gap:20px}.stories-page .story-cover{height:170px}.stories-page .story-collection{margin-top:24px;padding-top:24px}.stories-page header{padding-block:32px}.stories-page h1{margin-block:12px}.story-page .hero{padding-block:28px}.story-page .hero>.photo img{height:clamp(160px,25svh,240px)}.story-page .hero>.photo{margin-top:24px}}
.story-page .hero>.photo-carousel{width:100%;margin:24px 0 0}
.story-page .photo-carousel .carousel-track>.photo{flex:0 0 100%;min-width:0;margin:0;scroll-snap-align:start}
.story-page .photo-carousel .carousel-track .photo img{width:100%;height:clamp(200px,30svh,300px);max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center 45%}
.story-page .photo-carousel .carousel-track figcaption{min-height:0;font-size:10px;line-height:1.5;padding-block:8px 0}
.story-page .photo-carousel .carousel-controls{margin-top:8px}
.story-page .documentary-photo{margin:28px 0}
.story-page #school>.documentary-photo img{max-height:380px;aspect-ratio:1.8;object-fit:cover}
@media(max-width:740px){.story-page .photo-carousel .carousel-track .photo img{height:190px}.story-page .hero>.photo-carousel{margin-top:20px}.stories-page .story-cover{object-position:center 45%}}
/* Narrative structure: a single topic per chapter, with related evidence together. */
.story-page .story-chapter{padding-block:56px}
.story-page .chapter-heading{max-width:720px;margin-bottom:28px}
.story-page .chapter-heading h2{margin-bottom:16px}
.story-page .chapter-heading .lead{margin:0}
.story-page .metrics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
.story-page .metrics-grid .metric-panel{display:flex;flex-direction:column;align-items:stretch;gap:24px;margin:0;padding:24px 0;border-top:1px solid var(--line);border-bottom:0}
.story-page .metric-panel .metric-label{max-width:none;margin-top:12px;font-size:13px}
.story-page .metric-panel .prose h3{font-size:18px;margin-bottom:12px}
.story-page .metric-panel .prose p{font-size:14px;margin-bottom:16px}
.story-page .metrics-grid .full-number{font-size:clamp(36px,5vw,62px)}
.story-page .connections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.story-page .connections article{padding-top:20px;border-top:1px solid var(--line)}
.story-page .connections h3{font-size:19px;margin-bottom:12px}
.story-page .connections p{font-size:14px;color:var(--muted);margin:0;line-height:1.8}
.story-page .closing-question{margin-top:48px;border-top:1px solid var(--line);padding-top:32px}
.story-page .closing-question .wrap{padding:0}
.story-page .closing-question h2{font-size:clamp(24px,3.5vw,34px);margin:12px 0 16px}
.story-page .closing-question p{color:var(--muted);font-size:16px;max-width:640px}
.story-page .chapter-note{max-width:700px;border-left:2px solid #10b98166;padding-left:24px;margin-top:32px}
.story-page .chapter-note blockquote{font-size:21px;font-weight:500;line-height:1.6;margin:0}
.story-page .chapter-note .minor{font-size:11px;margin-top:12px!important}
.story-page .step-number{font-size:12px;display:block;color:#34d399;margin-bottom:10px}
.story-page .source-library>.lead{font-size:15px;margin-top:24px}
.story-page .source-library .sources-list{margin-top:20px}
.story-page .method .chapter-heading{margin-bottom:24px}
@media(max-width:740px){.story-page .metrics-grid,.story-page .connections{grid-template-columns:1fr;gap:24px}.story-page .story-chapter{padding-block:40px}.story-page .metrics-grid .full-number{font-size:clamp(38px,10vw,56px)}.story-page .chapter-heading{margin-bottom:24px}.story-page .closing-question{margin-top:32px}}
