@font-face{font-family:Nature;src:url('/assets/fonts/zt-nature-variable.ttf') format('truetype-variations');font-weight:100 900;font-display:swap}
.layout-study{--dark-surface:#141414;--theme-accent:#ff8c00;--field-surface:#ffad38;--field-ink:#111111;--page-surface:#fff;--page-ink:#111;--foreground:#111;--text-muted:#282017;--surface:#171717;--segment-hover:rgba(255,255,255,.22);--surface-muted:transparent;--border:transparent;--shadow-resting:none;--font-body:Nature,Arial,sans-serif;--text-sm:13px;--control-height-sm:40px;--radius-control:999px;margin:0;background:var(--page-surface);color:var(--interface-ink,var(--field-ink));font-family:Nature,Arial,sans-serif}
.layout-study *{box-sizing:border-box}
.layout-study a{color:inherit;text-decoration:none}
.landing-surface{--hero-radius:clamp(12px,1.2vw,20px);height:90svh;min-height:0;border-radius:0 0 var(--hero-radius) var(--hero-radius);position:relative;overflow:hidden;background:var(--field-surface)}
.landing-header{position:fixed;top:0;left:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:36px 5vw;background:transparent;transform:translateY(0);transition:padding 240ms cubic-bezier(.23,1,.32,1),transform 240ms cubic-bezier(.23,1,.32,1),background-color 180ms ease,visibility 0s;visibility:visible}
.landing-wordmark{font-size:23px;font-weight:400;letter-spacing:-.04em;white-space:nowrap;line-height:1.2;transform-origin:left center;transition:font-size 240ms cubic-bezier(.23,1,.32,1)}
#landing-menu{display:flex;align-items:center;justify-content:flex-end;min-width:0;font-size:14px;gap:4px}
#landing-menu>a{padding:12px}
#landing-menu .landing-segments{border:0;background:transparent;box-shadow:none}
#landing-menu .landing-segments button{font-family:inherit;font-size:13px;font-weight:400;padding:0 10px;border-radius:999px;transition:background-color 140ms ease,color 140ms ease}
#landing-menu [data-active-bubble],#landing-menu [data-hover-bubble]{inset:4px 0;border-radius:999px}
#landing-menu .landing-segments button[aria-pressed="true"]{color:#fff}
@media(hover:hover) and (pointer:fine){#landing-menu .landing-segments button:hover{background:transparent}#landing-menu .landing-segments button[aria-pressed="true"]:hover{color:#fff}}
#landing-menu .landing-segments button:active{background:rgba(0,0,0,.08)}
#landing-menu .landing-segments button:focus-visible{background:rgba(255,255,255,.17)}
@media(prefers-reduced-motion:reduce){#landing-menu .landing-segments button{transition:none}}
.column-field{position:absolute;inset:0;pointer-events:auto;mask-image:linear-gradient(35deg,transparent 0%,rgba(0,0,0,.05) 24%,rgba(0,0,0,.4) 38%,#000 58%)}
.column-field>canvas{display:block;position:absolute;inset:0;width:100%;height:100%}
.future-content{position:relative;min-height:110svh;background:var(--page-surface);color:var(--page-ink)}
.skip-link{position:absolute;z-index:3;left:24px;top:12px;transform:translateY(-160%);padding:10px;background:#fff}
.skip-link:focus{transform:none}
.layout-study :focus-visible{outline:2px solid var(--field-ink);outline-offset:4px}
@media(max-width:700px){.landing-header{padding:26px 24px;align-items:flex-start;flex-wrap:wrap;gap:24px}.landing-wordmark{font-size:21px}#landing-menu{margin-left:auto;max-width:100%}#landing-menu .landing-segments button{padding:0 9px;font-size:13px}.column-field{inset:0}.landing-surface{min-height:0}}
.field-playback{position:absolute;bottom:14px;right:24px;z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--field-surface);color:var(--interface-ink,var(--field-ink));cursor:pointer;font:16px Nature,Arial,sans-serif}
@media(hover:hover) and (pointer:fine){.field-playback:hover{background:color-mix(in srgb,var(--field-surface),white 22%)}}

.column-field .frame-callout{position:absolute;inset:0;left:0;width:100%;height:100%;transform:none;pointer-events:none;overflow:visible}
.frame-badge{position:absolute;top:0;left:0;z-index:1;padding:6px 9px;border:.75px solid var(--field-ink);border-radius:4px;background:var(--field-surface);color:var(--field-ink);font:12px/1.2 Nature,Arial,sans-serif;white-space:nowrap;pointer-events:none}
.frame-badge[hidden],.frame-callout[hidden]{display:none}

.landing-headline{position:absolute;z-index:2;left:5vw;bottom:6svh;width:calc(100vw / 3);margin:0;font-size:clamp(28px,2.6vw,38px);font-weight:400;line-height:1.18;letter-spacing:-.035em;pointer-events:none}
.headline-line{position:relative;display:block;overflow:hidden;white-space:nowrap}
.headline-entrance{display:block;opacity:0;transform:translateY(16px);transition:opacity 280ms cubic-bezier(.23,1,.32,1),transform 280ms cubic-bezier(.23,1,.32,1)}
.headline-entrance[data-visible="true"]{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.headline-entrance{opacity:1;transform:none;transition:none}}
@media(max-width:1023px){.landing-headline{width:calc(100vw * 2 / 3)}}
@media(max-width:767px){.landing-headline{left:24px;bottom:76px;width:calc(100% - 48px);font-size:clamp(27px,7vw,34px)}}
@media(prefers-reduced-motion:reduce){.column-field,[data-headline-parallax]{transform:none!important}}

@keyframes retreat-hero-corners{from{border-bottom-left-radius:var(--hero-radius);border-bottom-right-radius:var(--hero-radius)}to{border-bottom-left-radius:0;border-bottom-right-radius:0}}
@supports (animation-timeline:scroll()) and (animation-range:0px 300px){.landing-surface{animation:retreat-hero-corners auto linear both;animation-timeline:scroll(root block);animation-range:0px 300px}}
@media(prefers-reduced-motion:reduce){.landing-surface{animation:none}}

/* Header remains one surface: spacious at the top, compact when recalled on scroll. */
.landing-header.is-compact{--header-surface:var(--page-surface);padding-block:7px;background:var(--header-surface);color:var(--interface-ink,var(--page-ink))}
.landing-header.is-compact .landing-wordmark{font-size:21px}
.landing-header.is-hidden{transform:translateY(calc(-100% - 2px));visibility:hidden;pointer-events:none;transition:padding 240ms cubic-bezier(.23,1,.32,1),transform 240ms cubic-bezier(.23,1,.32,1),background-color 180ms ease,visibility 0s 240ms}
.desktop-navigation{display:flex;align-items:center}
#landing-menu{gap:10px}
#landing-menu .header-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer;transition:background-color 140ms ease}
#landing-menu .header-icon:hover{background:color-mix(in srgb,var(--interface-ink,var(--field-ink)) 9%,transparent)}
#landing-menu .mobile-menu-toggle,.mobile-navigation{display:none}
#landing-menu .theme-toggle{margin-left:3px}
.mobile-navigation-list a{display:block;border-top:1px solid color-mix(in srgb,var(--field-ink) 28%,transparent);padding:17px 0;font-size:clamp(28px,7vw,38px);line-height:1.15;letter-spacing:-.025em}
.mobile-navigation-list a:last-child{border-bottom:1px solid color-mix(in srgb,var(--field-ink) 28%,transparent)}
.mobile-navigation-list a[aria-current="page"]{font-weight:500}
.mobile-navigation-list a:hover{opacity:.65}
@media(max-width:700px){
 .landing-header{flex-wrap:nowrap;align-items:center;gap:8px;padding:22px 24px}
 .landing-header.is-compact{padding-block:7px}
 .landing-header.is-compact .landing-wordmark{font-size:19px}
 #landing-menu{gap:1px;margin-left:auto}
 .desktop-navigation{display:none}
 #landing-menu .mobile-menu-toggle{display:grid}
 #landing-menu .header-icon{width:40px;height:44px}
 .mobile-navigation{display:grid;grid-template-rows:0fr;position:absolute;top:100%;left:0;right:0;background:var(--header-surface,var(--field-surface));visibility:hidden;pointer-events:none;transition:grid-template-rows 240ms cubic-bezier(.23,1,.32,1),visibility 0s 240ms}
 .mobile-navigation[data-open="true"]{grid-template-rows:1fr;visibility:visible;pointer-events:auto;transition:grid-template-rows 240ms cubic-bezier(.23,1,.32,1)}
 .mobile-navigation-clip{overflow:hidden;min-height:0}
 .mobile-navigation-list{max-height:calc(100dvh - 88px);overflow:auto;padding:4px 24px 30px}
 .landing-header:has(.mobile-navigation[data-open="true"]){background:var(--header-surface,var(--field-surface))}
}
@media(max-width:360px){.landing-header{padding-inline:18px}.landing-wordmark{font-size:19px}.landing-header.is-compact .landing-wordmark{font-size:18px}#landing-menu .header-icon{width:36px}.mobile-navigation-list{padding-inline:18px}}
html[data-theme="dark"] .layout-study{--theme-accent:#d9b8ff;--field-surface:var(--dark-surface);--field-ink:#c9c8c4;--page-surface:#1c1b19;--page-ink:#d5d3ce;--interface-ink:#c59bff;--foreground:#d9b8ff;--text-muted:#d9b8ff;--surface:#d9b8ff;--segment-hover:rgba(217,184,255,.12)}
html[data-theme="dark"] #landing-menu .landing-segments button[aria-pressed="true"]{color:#1c1b19}
html[data-theme="dark"]{color-scheme:dark}
@media(prefers-reduced-motion:reduce){.landing-header,.landing-header.is-hidden,.landing-wordmark,.mobile-navigation,.mobile-navigation[data-open="true"],#landing-menu .header-icon{transition:none}}

/* The playback control shares the headline's scroll opacity; do not cut its fade short. */

@font-face{font-family:"Geist Mono";src:url('/assets/fonts/geist-mono-regular.ttf') format('truetype');font-display:swap}
.reading-grid{--foreground:var(--page-ink);--muted-foreground:#686868;--border:#e2e2e2;--background:var(--page-surface);--muted:#f4f4f4;--accent:var(--theme-accent);--font-serif:"Source Serif 4",Georgia,serif;--font-sans:Nature,Arial,sans-serif;--font-mono:"Geist Mono",monospace;display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,680px);gap:64px;padding:112px 5vw 150px;max-width:1600px;margin-inline:auto;align-items:start;color:var(--page-ink)}
html[data-theme="dark"] .reading-grid{--muted-foreground:#a9a9a9;--border:#373633;--muted:#242320}
.future-content{max-width:none}
.reading-rail{align-self:stretch;min-width:0}
.reading-rail-sticky{position:sticky;top:110px;min-height:400px;display:flex;align-items:center;justify-content:center}
.native-figure{width:100%;max-width:420px;margin:0;color:var(--foreground)}
.native-figure-canvas{aspect-ratio:1;width:100%;min-width:0}
.native-figure-canvas canvas{display:block;width:100%;height:100%}
.native-figure figcaption{max-width:310px;margin:16px auto 0;font:11px/1.55 var(--font-mono);color:var(--muted-foreground)}
.landing-reading,.note-article{min-width:0;max-width:680px}
.landing-section-title{margin:0 0 28px;font:400 24px/1.25 Nature,Arial,sans-serif;letter-spacing:-.025em}
.landing-copy{font:400 17px/1.65 Nature,Arial,sans-serif;letter-spacing:-.01em}
.landing-copy>*,.landing-copy-group>*{margin:0}
.landing-copy>*+*,.landing-copy-group>*+*{margin-top:24px}
.landing-copy>p,.landing-copy-group>p{font:inherit;letter-spacing:inherit;max-width:62ch;hyphens:manual}
.landing-copy:not(.prose) a:not([data-related] a){text-decoration:underline;text-decoration-color:var(--muted-foreground);text-underline-offset:.18em}
.landing-copy:not(.prose) a:not([data-related] a):is(:hover,:focus-visible){text-decoration-color:currentColor}
.landing-copy strong{font-weight:600}
.landing-section:not(:first-child){padding-top:80px;padding-bottom:100px}
.landing-essay-section{margin:0 auto;padding:0 5vw 32px;max-width:1600px;color:var(--page-ink)}
.landing-essay-strip{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin:0;padding:0}
.landing-essay-strip li{min-width:0}
.landing-essay-link{display:block;height:100%;padding-bottom:22px;border-bottom:1px solid color-mix(in srgb,var(--page-ink) 18%,transparent)}
.landing-essay img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover;margin:0 0 24px}
.landing-essay h3{font:400 19px/1.3 Nature,Arial,sans-serif;letter-spacing:-.025em;margin:0 0 12px;min-height:2.6em;max-width:22ch}
.landing-essay p{font:400 15px/1.55 Nature,Arial,sans-serif;letter-spacing:-.01em;margin:0 0 22px;max-width:28ch;min-height:3.1em}
.landing-essay-read{font:400 13px/1.5 Nature,Arial,sans-serif;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--page-ink) 35%,transparent);text-underline-offset:4px}
.landing-essay-link:hover .landing-essay-read,.landing-essay-link:focus-visible .landing-essay-read{text-decoration-color:currentColor}
.landing-cover{align-self:center;margin:0;min-width:0}
.landing-cover img{display:block;width:100%;height:auto}
.landing-section-aside{font:400 13px/1.5 Nature,Arial,sans-serif;color:var(--muted-foreground);padding-top:5px}
.landing-research{border-top:1px solid color-mix(in srgb,var(--page-ink) 16%,transparent)}
html[data-theme="dark"] .landing-essay img,html[data-theme="dark"] .landing-cover img{filter:invert(1) grayscale(1);mix-blend-mode:screen}
@media(max-width:1100px){.landing-essay-section{padding-inline:32px}.landing-essay-strip{gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}.landing-essay h3,.landing-essay p{min-height:0}}
@media(max-width:767px){.landing-essay-section{padding-inline:24px}.landing-essay-strip{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:16px}.landing-essay-strip>li{flex:0 0 min(290px,83vw);scroll-snap-align:start}.landing-section:not(:first-child){padding-top:64px;padding-bottom:72px}.landing-cover{margin-bottom:32px}.landing-section-aside{margin-bottom:24px}.landing-essay h3{font-size:18px}}
.reading-grid .editorial-index-wrap{margin-top:60px}
.article-page .landing-header{background:var(--page-surface);color:var(--page-ink)}
.article-page .reading-grid{padding-top:190px}
.note-meta{font:11px/1.5 var(--font-mono);color:var(--muted-foreground);display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border);padding-bottom:16px}
.note-meta a{color:inherit;text-decoration:none}
.note-heading{margin-bottom:42px}
.note-heading h1{font-size:32px;font-weight:400;line-height:1.15;letter-spacing:-.035em;margin:22px 0 0}
.note-article .prose .mdx-flow>h2{font:22px/1.25 Nature,Arial,sans-serif;letter-spacing:-.025em;margin:42px 0 20px;color:var(--foreground);scroll-margin-top:100px}
.note-article .prose [data-figure-id]{display:block;min-height:1px}
.note-article .prose pre{max-width:100%;overflow-x:auto;padding:18px;margin:24px 0;background:var(--muted);border:1px solid var(--border);border-radius:4px}
.note-article .prose pre>code{display:block;width:max-content;min-width:100%;margin:0;padding:0;border:0;background:transparent;font:12px/1.7 var(--font-mono);letter-spacing:0}
.note-article .shiki,.note-article .shiki span{color:var(--shiki-light)}
html[data-theme="dark"] .note-article .shiki,html[data-theme="dark"] .note-article .shiki span{color:var(--shiki-dark)}
.back-to-concepts{display:inline-block;margin-top:60px;color:var(--muted-foreground);font-size:13px}
@media(max-width:1100px){.reading-grid{grid-template-columns:minmax(200px,1fr) minmax(0,600px);gap:36px;padding-inline:32px}.native-figure{max-width:320px}}
@media(max-width:767px){.reading-grid{display:block;padding:70px 24px 100px}.reading-rail{display:none}.landing-reading,.note-article{max-width:none}.landing-copy{font-size:16px}.reading-grid .editorial-index-wrap{margin-top:44px}.article-page .reading-grid{padding-top:140px}.note-heading h1{font-size:30px}.note-meta{font-size:10px;flex-wrap:wrap}.note-article .prose [data-figure-id]{margin:24px 0}.native-figure{max-width:100%}.native-figure-canvas{max-height:350px}.native-figure figcaption{max-width:none}}


/* The reference follower portals to body, so give its shell the same reading tokens. */
[data-mouse-follower-card]{--background:var(--page-surface);--foreground:var(--page-ink);--muted-foreground:#686868;--border:#e2e2e2;--muted:#f4f4f4;font-family:Nature,Arial,sans-serif;color:var(--page-ink)}
html[data-theme="dark"] [data-mouse-follower-card]{--muted-foreground:#a9a9a9;--border:#373633;--muted:#242320}

/* Text-first study: imagery is retained in source, but not mounted in this layout. */
.text-first-layout .landing-headline{font-size:clamp(48px,5vw,78px);line-height:1.05;letter-spacing:-.04em;bottom:6svh}
.text-stage{--foreground:var(--page-ink);--muted-foreground:#686868;--border:#e2e2e2;--background:var(--page-surface);--muted:#f4f4f4;--accent:var(--theme-accent);--font-serif:"Source Serif 4",Georgia,serif;--font-sans:Nature,Arial,sans-serif;--font-mono:"Geist Mono",monospace;--insert-size:clamp(28px,2.6vw,38px);--insert-indent:clamp(48px,12vw,184px);--stage-gutter:5vw;--stage-top-space:112px;max-width:1600px;margin-inline:auto;padding:var(--stage-top-space) 5vw 150px;color:var(--page-ink)}
html[data-theme="dark"] .text-stage{--muted-foreground:#a9a9a9;--border:#373633;--muted:#242320}
.text-section{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,680px);gap:64px;align-items:start;min-width:0;margin:0 0 96px}
.text-section>.landing-copy,.text-section>.article-section-copy{grid-column:2;min-width:0}
.text-section>.text-section-heading,.text-section>h2{position:sticky;top:100px;align-self:start;max-width:220px;margin:0;font:400 19px/1.35 Nature,Arial,sans-serif;letter-spacing:-.025em;scroll-margin-top:100px}
.text-first-layout .landing-copy{font-family:var(--font-serif);font-size:17px;font-weight:400;line-height:1.65;letter-spacing:0}
:is(.text-stage,.landing-opening)>blockquote{margin:0 0 80px;padding:0 0 0 var(--insert-indent);border:0;font:400 var(--insert-size)/1.25 var(--font-sans);letter-spacing:-.02em;color:var(--page-ink)}
:is(.text-stage,.landing-opening)>blockquote>p{margin:0;font:inherit;letter-spacing:inherit}
.text-previews>.text-preview+.text-preview{margin-top:64px}
.text-preview>*{margin:0}
.text-preview>*+*{margin-top:16px}
.text-preview h3{font:400 21px/1.3 Nature,Arial,sans-serif;letter-spacing:-.025em}
.text-first-layout :is(img,picture,canvas,[data-figure-id],[data-figure-rail]){display:none!important}
.article-text-stage{padding-top:190px}
.article-text-stage .note-article{max-width:none;width:100%}
.article-text-stage .note-heading{margin-bottom:42px}
.article-text-stage .text-section .mdx-flow>:last-child{margin-bottom:0}
@media(max-width:1100px){.text-section{grid-template-columns:minmax(160px,1fr) minmax(0,600px);gap:36px}.text-stage{padding-inline:32px;--stage-gutter:32px}}
@media(max-width:767px){
 .text-first-layout .landing-headline{font-size:clamp(40px,11vw,46px);bottom:48px}
 .text-stage{--stage-top-space:64px;padding:var(--stage-top-space) 24px 100px;--stage-gutter:24px;--insert-indent:24px;--insert-size:clamp(27px,7vw,34px)}
 .text-section{display:block;margin-bottom:64px}
 .text-section>.text-section-heading,.text-section>h2{top:72px;z-index:1;max-width:none;padding:12px 0;margin:0 0 20px;background:var(--page-surface);font-size:18px}
 .text-first-layout .landing-copy{font-size:16px}
 :is(.text-stage,.landing-opening)>blockquote{margin-bottom:56px}
 .text-previews>.text-preview+.text-preview{margin-top:48px}
 .text-preview h3{font-size:20px}
 .article-text-stage{padding-top:140px}
}

/* Work-page cards retain their source styling; this host supplies a horizontal rail. */
.has-hero-visual [data-column-field]>canvas{display:block!important}
.article-strip-section{margin:0 0 112px var(--insert-indent);min-width:0}
.article-strip-heading{margin:0 0 28px;font:400 19px/1.35 Nature,Arial,sans-serif;letter-spacing:-.025em}
.article-strip{--article-card-accent:var(--theme-accent);min-width:0}
.article-strip .work-gallery{display:block;grid-column:auto;--work-card-divider:color-mix(in srgb,var(--muted) 80%,transparent)}
.article-strip-viewport{position:relative;width:calc(100% + var(--stage-gutter) + max(0px,(100vw - 1600px)/2));overflow:hidden;touch-action:pan-y;cursor:grab}
.article-strip .work-card-grid{position:relative;display:flex;grid-template-columns:none;width:max-content;max-width:none;will-change:transform}
.article-strip .work-card{flex:0 0 var(--article-card-width);width:var(--article-card-width);grid-column:auto}
.article-strip .work-card::after{display:block}
.dark .article-strip .work-gallery{--work-card-divider:color-mix(in srgb,var(--border) 35%,transparent)}
@media(max-width:767px){.article-strip-section{margin-bottom:72px}.article-strip .work-card-grid{display:flex}.article-strip .work-card::after{display:block}}

/* The rail starts at the insert inset, then travels across the complete viewport. */
.text-first-layout .landing-headline{font-size:clamp(44px,4.4vw,68px)}
.article-strip-viewport{--strip-start:calc(var(--stage-gutter) + max(0px,(100vw - 1600px)/2) + var(--insert-indent));width:100vw;margin-left:calc(-1 * var(--strip-start))}
.article-strip .work-card-grid{padding-left:var(--strip-start)}
.article-strip .work-card-text{height:22rem}
@media(max-width:1100px){.article-strip .work-card-text{height:24rem}}
@media(max-width:639px){.text-first-layout .landing-headline{font-size:clamp(38px,10vw,42px)}.article-strip .work-card-text{height:25rem}}
@media(min-width:640px) and (max-width:767px){
 .text-stage{--stage-top-space:80px;padding:var(--stage-top-space) 32px 100px;--stage-gutter:32px;--insert-indent:clamp(48px,12vw,184px);--insert-size:clamp(28px,2.6vw,38px)}
 .text-section{display:grid;grid-template-columns:150px minmax(0,1fr);gap:32px}
 .text-section>.text-section-heading,.text-section>h2{top:100px;max-width:150px;margin:0;padding:0;background:transparent;font-size:19px}
 .text-first-layout .landing-copy{font-size:17px}
 .text-first-layout .landing-headline{left:5vw;width:calc(100vw * 2 / 3);font-size:44px;bottom:6svh}
 .article-text-stage{padding-top:160px}
}
/* The complete homepage ScrollStrip owns the moving track and gestures. */
.article-strip .work-card-grid{width:100%;height:100%;padding-left:0}
.article-strip .work-card{height:100%}
.article-strip-viewport>div{height:100%}

/* Original homepage landing strip; the Work-card variant remains reusable. */
.article-strip-section:has(.homepage-article-strip){margin-left:0}
.article-strip.homepage-article-strip{margin-left:calc(-1 * (100vw - 100%) / 2)}
.text-first-layout .homepage-article-strip img{display:block!important}
.homepage-article-strip{--page-gutter:2rem;font-family:var(--font-sans)}
:root{--page-gutter:2rem}
@media(min-width:768px){:root{--page-gutter:3rem}}

/* Hybrid: full-width title panels over a shared, phase-aligned dot band. */
.article-strip-section:has(.hybrid-strip-host){margin-left:var(--insert-indent)}
.hybrid-article-strip{border-top:1px solid var(--work-card-divider);border-bottom:1px solid var(--work-card-divider);isolation:isolate}
.hybrid-dot-band{position:absolute;left:0;bottom:1px;z-index:-1;pointer-events:none}
.hybrid-neutral-dot{fill:color-mix(in srgb,var(--muted-foreground) 45%,transparent)}
.hybrid-accent-dot{fill:color-mix(in srgb,var(--article-card-accent) 70%,transparent)}
.hybrid-article-strip .work-card-grid{border:0}
.hybrid-article-strip .work-card{border:0}
.hybrid-article-strip .work-card::after{display:none}
.hybrid-article-strip .work-card-text{height:var(--article-text-height);background:none!important}
.hybrid-article-strip .work-card-panel{width:100%;height:calc(100% - var(--work-meta-height))!important;padding:16px;background:var(--background);opacity:1;transform:none;transition:none}
.hybrid-article-strip .work-card-year{display:none}
.hybrid-article-strip .work-card-description{max-width:none;font-size:14px;line-height:1.5;color:var(--page-ink);opacity:.78!important;transform:none;transition:opacity .18s ease}
.hybrid-article-strip .work-card-link:is(:hover,:focus-visible) .work-card-description{opacity:1!important}
.hybrid-article-strip .work-card-grid:is([data-revealed],:focus-within) .work-card-meta{opacity:1;transition-delay:.08s}
.hybrid-article-strip .work-card-heading{min-height:2.5rem}
.hybrid-article-strip .work-card-heading h3{font-size:17px;opacity:1!important}
.hybrid-article-strip .work-card-grid:not([data-revealed]):not(:focus-within) .work-card-meta{opacity:0}
@media(prefers-reduced-motion:reduce){.hybrid-article-strip .work-card-description{transform:none;transition:none}}

/* Card type uses the original variable font, with a small increase in weight. */
@font-face{font-family:"Nature Variable";src:url('/assets/fonts/zt-nature-variable.ttf') format('truetype-variations');font-weight:100 900;font-style:normal;font-display:swap}
.hybrid-article-strip .work-card-heading h3{font-family:"Nature Variable",Nature,Arial,sans-serif;font-weight:500}
.hybrid-article-strip .work-card-description{font-family:"Nature Variable",Nature,Arial,sans-serif;font-weight:440}

/* Dark reading hierarchy: warm off-white prose, violet inserts, white hero title. */




/* End desktop inserts halfway across the right-hand reading column. */
@media(min-width:1101px){:is(.text-stage,.landing-opening)>blockquote{width:calc(100% - 340px)}}
@media(min-width:1024px) and (max-width:1100px){:is(.text-stage,.landing-opening)>blockquote{width:calc(100% - 300px)}}

/* Clear editorial section boundaries, retaining the margin-heading layout. */
#future-content>.text-section:not(.text-introduction){border-top:1px solid var(--border);padding-top:64px;margin-bottom:112px}
#future-content>.text-section[aria-labelledby="collaborators-heading"]{border-top-color:transparent}
#future-content>.text-section:last-of-type{margin-bottom:0}

/* One black footer stage: the Living Web landscape first, then the affiliations. */
.landing-footer{--footer-ink:#d5d3ce;--footer-muted:#a5a59f;background:#000;color:var(--footer-ink)}
.landing-footer-art{position:relative;width:100%;height:56svh;min-height:360px;max-height:720px;margin:0;overflow:hidden}
.text-first-layout .landing-footer img{display:block!important}
.landing-footer-art>img{width:100%;height:100%;object-fit:cover;object-position:center 48%;opacity:.9}
.landing-footer-art::after{content:"";position:absolute;inset:auto 0 0;height:25%;background:linear-gradient(transparent,#000);pointer-events:none}
.landing-footer-art figcaption{position:absolute;right:5vw;bottom:24px;z-index:1;font:12px/1.4 Nature,Arial,sans-serif;color:var(--footer-muted)}
.landing-footer-art a:hover{color:#fff}
.landing-footer-inner{max-width:1600px;margin:0 auto;padding:72px 5vw 32px}
.landing-footer-intro{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,680px);gap:64px;margin-bottom:96px}
.landing-footer-heading h2{max-width:250px;margin:32px 0 0;font:400 24px/1.25 Nature,Arial,sans-serif;letter-spacing:-.025em;color:#fff}
.landing-footer-symbol{display:inline-block;width:72px;height:72px}
.landing-footer-copy{font:400 18px/1.65 "Source Serif 4",Georgia,serif}
.landing-footer-copy p{margin:0}
.landing-footer-copy strong{font-weight:600;color:#eee}
.landing-footer-organizations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;margin-bottom:96px}
.landing-footer-organizations>a{display:block;border-top:1px solid #383838;padding-top:24px}
.landing-footer-organizations span{display:flex;justify-content:space-between;gap:20px;font:400 18px/1.3 Nature,Arial,sans-serif;color:#eee}
.landing-footer-organizations i{font-style:normal;color:#a5a59f;transition:transform .15s ease}
.landing-footer-organizations a:hover i{transform:translate(2px,-2px);color:#fff}
.landing-footer-organizations p{max-width:38ch;margin:18px 0 0;font:400 14px/1.55 Nature,Arial,sans-serif;color:var(--footer-muted)}
.landing-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #383838;padding-top:28px;font:13px/1.4 Nature,Arial,sans-serif;color:#a5a59f}
.landing-footer-bottom>a:first-child{font-size:22px;letter-spacing:-.04em;color:#eee}
@media(max-width:1100px){.landing-footer-inner{padding-inline:32px}.landing-footer-intro{grid-template-columns:minmax(160px,1fr) minmax(0,600px);gap:36px}.landing-footer-organizations{gap:28px}}
@media(max-width:767px){
 #future-content>.text-section:not(.text-introduction){padding-top:40px;margin-bottom:72px}
 .landing-footer-art{height:44svh;min-height:260px;max-height:480px}
 .landing-footer-art figcaption{right:24px;font-size:11px}
 .landing-footer-inner{padding:48px 24px 28px}
 .landing-footer-intro{grid-template-columns:1fr;gap:32px;margin-bottom:56px}
 .landing-footer-heading{display:flex;align-items:center;gap:24px}
 .landing-footer-heading h2{margin:0;font-size:22px;max-width:210px}
 .landing-footer-symbol,.landing-footer-symbol img{width:56px;height:56px}
 .landing-footer-copy{font-size:17px}
 .landing-footer-organizations{grid-template-columns:1fr;gap:32px;margin-bottom:56px}
 .landing-footer-organizations>a{padding-top:20px}
 .landing-footer-organizations p{max-width:46ch;margin-top:12px}
 .landing-footer-bottom{align-items:flex-start;font-size:12px}
 .landing-footer-bottom>a:first-child{font-size:19px}
}

/* Landing paragraphs now use the same scoped prose rhythm as articles. */
.text-first-layout .landing-copy.prose{font:inherit;letter-spacing:normal}
.landing-copy.prose>.mdx-flow>p{max-width:none}

/* Link underlines are supplied by .prose inside reading columns only. */
.hybrid-article-strip .work-card-heading h3{grid-column:1/-1}
.article-card-title{display:flex;align-items:start;justify-content:space-between;gap:12px}
.hybrid-article-strip .work-card-link:is(:hover,:focus-within) .work-card-description{opacity:1!important}
.site-preview-destination{display:block;text-decoration:none!important}
.text-first-layout [data-mouse-follower-card]{display:block!important}
[data-mouse-follower-card] .site-link-text{background-image:none}

/* Footer: left-aligned reading column, compact affiliation tooltips, then sitemap. */
.landing-footer{--font-serif:"Source Serif 4",Georgia,serif;--font-sans:Nature,Arial,sans-serif;--background:#000;--foreground:#d5d3ce;--muted-foreground:#a5a59f;--border:#383838}
.landing-footer-intro{display:block;margin-bottom:64px}
.landing-footer-copy{max-width:680px;font:inherit}
.landing-footer-organizations{margin-bottom:72px}
.landing-footer-organizations>a{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:20px 0 0}
.landing-footer-organizations>a>span{display:inline;font-size:16px}
.landing-footer-navigation{border-top:1px solid #383838;padding-top:32px}
.landing-footer-wordmark{display:inline-block;font-size:22px;letter-spacing:-.04em;color:#eee!important;margin-bottom:40px}
.footer-sitemap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;margin-bottom:64px;font:14px/1.5 Nature,Arial,sans-serif}
.footer-sitemap h2{margin:0 0 18px;font:500 13px/1.4 Nature,Arial,sans-serif;color:#eee}
.footer-sitemap ul{margin:0;padding:0;list-style:none;display:grid;gap:12px}
.footer-sitemap a,.footer-sitemap [aria-disabled="true"]{color:#a5a59f}
.footer-sitemap a:hover{color:#eee}
.landing-footer-bottom{justify-content:flex-end}
.landing-footer-bottom>a:first-child{font-size:12px;letter-spacing:0;color:#a5a59f}
.footer-tooltip{--foreground:#eeede8;--background:#151515;font:400 12px/1.5 Nature,Arial,sans-serif;max-width:275px;padding:10px 12px}
@media(max-width:767px){.landing-footer-intro{margin-bottom:40px}.landing-footer-organizations{margin-bottom:48px}.footer-sitemap{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px;margin-bottom:48px}.footer-sitemap section:last-child{grid-column:1/-1}.landing-footer-wordmark{font-size:21px}}
@media(prefers-reduced-motion:reduce){.layout-study a,.layout-study .site-link-text{transition:none!important}}

/* Shared prose follows the accepted landing-page size and color. */
.prose :where(p):not(:where(.not-prose,.not-prose *)),.prose .mdx-flow>ul>li,.prose .mdx-flow>ol>li{font-size:17px;color:var(--page-ink);font-weight:400}
.text-first-layout .landing-copy.prose .mdx-flow>p{letter-spacing:0}
.prose a .site-link-text{background:none}
@media(max-width:767px){.prose :where(p):not(:where(.not-prose,.not-prose *)),.prose .mdx-flow>ul>li,.prose .mdx-flow>ol>li{font-size:16px}}

/* Article index alternative; its hover card occupies the reserved right rail. */
.article-strip-section:has(.article-table-host){margin-left:0}
.article-table-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,680px);gap:64px;min-height:380px}
.article-table-preview-area{min-width:0;min-height:340px}
.article-table-list{min-width:0}
.article-table-list .editorial-row{grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr) auto;min-height:56px;column-gap:12px}
.article-table-list :is(.editorial-row-date,.editorial-row-dot){display:none}
.article-table-list .editorial-row-title{font-size:15px}
.article-table-list .editorial-row-description{font-size:13px}
.article-full-preview .text-xs{font-size:13px;line-height:1.5}
.article-full-preview p{font-size:13px!important;line-height:1.5!important}
.article-full-preview{font-family:"Nature Variable",Nature,Arial,sans-serif}
@media(min-width:768px){.text-first-layout .text-stage:not(.article-text-stage) .text-section>.landing-copy,.article-table-list{padding-right:clamp(32px,4vw,64px)}}
@media(min-width:768px) and (max-width:1100px){.article-table-layout{grid-template-columns:240px minmax(0,1fr);gap:32px}.article-table-list .editorial-row{grid-template-columns:minmax(0,1fr) auto}.article-table-list .editorial-row-description{display:none}}
@media(max-width:767px){.article-table-layout{display:block;min-height:0}.article-table-preview-area{display:none}.article-table-list .editorial-row{grid-template-columns:minmax(0,1fr) auto}.article-table-list .editorial-row-description{display:none}}

/* Footer shares the dark hero surface and gently lifts over the reading stage. */
.landing-footer{background:var(--dark-surface);--background:var(--dark-surface);--page-ink:#d5d3ce;position:relative;z-index:1}
.landing-footer-art::after{background:linear-gradient(transparent,var(--dark-surface))}
@keyframes footer-overlap{from{transform:translateY(48px)}to{transform:translateY(0)}}
@supports(animation-timeline:view()){.landing-footer{margin-top:-48px;animation:footer-overlap linear both;animation-timeline:view();animation-range:entry 0% entry 100%}}
@media(prefers-reduced-motion:reduce){.landing-footer{animation:none;margin-top:0;transform:none}}

/* Three affiliation cards share one dotted pattern coordinate system. */
.landing-footer-organizations{display:block;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity;padding:0;margin-bottom:0}
.footer-affiliation-track{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;isolation:isolate}
.footer-affiliation-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-width:0;height:130px;scroll-snap-align:start;border-top:1px solid #383838}
.footer-affiliation-title{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:20px 16px;height:86px;font:400 17px/1.3 Nature,Arial,sans-serif;color:#d5d3ce}
.footer-affiliation-card+.footer-affiliation-card .footer-affiliation-title{border-left:1px solid #292929}
.footer-affiliation-pattern{position:absolute;left:0;bottom:0;width:100%;height:44px;z-index:-1;pointer-events:none}
.footer-affiliation-pattern .neutral{fill:#777;fill-opacity:.5}
.footer-affiliation-pattern .accent{fill:var(--theme-accent);fill-opacity:.7}
@media(max-width:767px){.footer-affiliation-track{width:max(100%,780px)}.footer-affiliation-title{font-size:16px}}

/* Homepage reading grid: three margin columns, eight reading columns, five for previews. */
@media(min-width:1101px){
 .text-stage:not(.article-text-stage) .text-section,.article-table-layout{grid-template-columns:repeat(16,minmax(0,1fr));gap:0}
 .text-stage:not(.article-text-stage) .text-section>.landing-copy{grid-column:4/span 8;padding-right:32px}
 .text-stage:not(.article-text-stage) .text-section>.text-section-heading{grid-column:1/span 3;padding-right:24px}
 .article-table-list{grid-column:1/span 11;grid-row:1;padding-right:32px}
 .article-table-preview-area{grid-column:12/-1;grid-row:1}
}
@media(min-width:768px) and (max-width:1100px){
 .text-stage:not(.article-text-stage) .text-section,.article-table-layout{grid-template-columns:minmax(0,1fr) 224px;gap:32px}
 .text-stage:not(.article-text-stage) .text-section>.landing-copy{grid-column:1;padding-right:0}
 .text-stage:not(.article-text-stage) .text-section>.text-section-heading{grid-column:1;position:static;margin-bottom:20px}
 .article-table-list{grid-column:1;grid-row:1;padding-right:0}
 .article-table-preview-area{grid-column:2;grid-row:1}
}

/* Later sections span the reading stage, with headings at the outer left edge. */
@media(min-width:768px){
 .text-stage:not(.article-text-stage) .text-section:not(.text-introduction){margin-left:var(--section-edge-offset);grid-template-columns:minmax(150px,1fr) minmax(0,680px);gap:64px}
 .text-stage:not(.article-text-stage) .text-section:not(.text-introduction)>.text-section-heading{grid-column:1;position:sticky;top:100px;margin:0;padding-right:24px}
 .text-stage:not(.article-text-stage) .text-section:not(.text-introduction)>.landing-copy{grid-column:2;padding-right:clamp(48px,4vw,64px)}
}
@media(min-width:768px) and (max-width:1100px){
 .text-stage:not(.article-text-stage) .text-section:not(.text-introduction){grid-template-columns:calc(150px + var(--insert-indent) - var(--section-edge-offset)) minmax(0,1fr);gap:32px}
 .text-stage:not(.article-text-stage) .text-section:not(.text-introduction)>.landing-copy{padding-right:32px}
}
@media(min-width:1101px){
 .text-stage:not(.article-text-stage) .text-section:not(.text-introduction){grid-template-columns:calc(var(--lower-copy-start,616px) - 64px) minmax(0,680px);justify-content:start}
 .text-stage:not(.article-text-stage) .text-section.text-introduction{margin-left:calc(var(--section-edge-offset) + var(--lower-copy-start,616px))}
 .text-stage:not(.article-text-stage) .text-section.text-introduction>.landing-copy{max-width:680px;padding-right:clamp(48px,4vw,64px)}
}

/* Intro follows the statement inset; the table follows the header wordmark. */
.text-stage:not(.article-text-stage) .text-introduction{display:block;margin-left:var(--insert-indent)}
.text-stage:not(.article-text-stage) .text-introduction>.landing-copy{max-width:648px}
.text-stage{--header-gutter:5vw;--section-edge-offset:calc(var(--header-gutter) - var(--stage-gutter) - max(0px,(100vw - 1600px)/2))}
.article-strip-section:has(.article-table-host){margin-left:var(--section-edge-offset)}
@media(max-width:700px){.text-stage{--header-gutter:24px}}
@media(max-width:360px){.text-stage{--header-gutter:18px}}

/* Footer sitemap shares the reading-column alignment beside the wordmark. */
@media(min-width:1101px){
 .landing-footer-navigation{display:grid;grid-template-columns:var(--footer-brand-column,30%) minmax(0,1fr);align-items:start}
 .landing-footer-wordmark{margin-bottom:0;padding-right:24px}
 .footer-sitemap{gap:32px}
}

/* Keep the footer intro readable until it begins leaving the viewport. */
.footer-sitemap{margin-bottom:0}
@keyframes footer-intro-exit{from{transform:translateY(0);opacity:1}to{transform:translateY(-48px);opacity:0}}
@supports(animation-timeline:view()){
 .landing-footer-intro{animation:footer-intro-exit linear both;animation-timeline:view(block);animation-range:exit 0% exit 100%}
}
@media(prefers-reduced-motion:reduce){.landing-footer-intro{animation:none;transform:none;opacity:1}}

/* Atlas' original SVG replaces the affiliation strip beside the footer copy. */
.landing-footer-intro{display:grid;grid-template-columns:minmax(0,680px) minmax(160px,1fr);gap:64px;align-items:end}
.footer-atlas-logo{display:block;justify-self:end;width:160px;line-height:0;opacity:.85;transition:opacity .16s ease}
.footer-atlas-logo:is(:hover,:focus-visible){opacity:1}
.footer-atlas-logo>img{display:block!important;width:100%;height:auto}
.landing-footer-copy .mdx-flow>p:last-child{margin-bottom:0}
@media(min-width:1101px){
 .landing-footer-intro{grid-template-columns:var(--footer-brand-column,30%) minmax(0,1fr) 32px minmax(0,1fr) 32px minmax(0,1fr);gap:0}
 .landing-footer-copy{grid-column:1/6;grid-row:1}
 .footer-atlas-logo{grid-column:6;grid-row:1;justify-self:start}
}
@media(max-width:767px){.landing-footer-intro{grid-template-columns:minmax(0,1fr);gap:28px}.footer-atlas-logo{width:120px}}

/* One mobile reading margin for statements, article navigation, and prose. */
@media(max-width:767px){
 .text-first-layout .text-stage:not(.article-text-stage){padding-inline:48px;--stage-gutter:48px;--insert-indent:0px}
 .text-first-layout .text-stage:not(.article-text-stage) .text-section{display:block;margin-left:0}
 .text-first-layout .text-stage:not(.article-text-stage) .text-section>.landing-copy{max-width:none;padding-inline:0}
 .text-first-layout .text-stage:not(.article-text-stage) .text-section>.text-section-heading{position:static;max-width:none;padding:12px 0;margin:0 0 20px}
 .text-first-layout :is(.text-stage:not(.article-text-stage),.landing-opening)>blockquote{width:100%;padding-left:0}
 .text-first-layout .text-stage:not(.article-text-stage) .article-strip-section:has(.article-table-host){margin-left:0}
 .text-first-layout .text-stage:not(.article-text-stage) .article-table-list{padding-inline:0}
}

/* Match the homepage's rasterization and variable sans face, preserving serif prose. */
.layout-study{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto}
.footer-atlas-logo{width:130px}
@media(max-width:767px){.footer-atlas-logo{width:100px}}
.article-table-list .editorial-row{grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr) 48px}
/* Article prose uses the same column origin and width as the landing reading grid. */
@media(min-width:1101px){
 .article-text-stage .text-section{margin-left:var(--section-edge-offset);grid-template-columns:calc(var(--lower-copy-start) - 64px) minmax(0,680px);justify-content:start}
 .article-text-stage .article-section-copy{padding-right:clamp(48px,4vw,64px)}
}
@media(min-width:768px) and (max-width:1100px){
 .article-text-stage .text-section{margin-left:var(--section-edge-offset);grid-template-columns:calc(150px + var(--insert-indent) - var(--section-edge-offset)) minmax(0,1fr);gap:32px}
 .article-text-stage .article-section-copy{padding-right:32px}
}
@media(max-width:767px){
 .article-text-stage{padding-inline:48px;--stage-gutter:48px}
 .article-text-stage .text-section>h2{position:static;background:transparent}
}

/* Palette defaults also cover the first paint before the color-picker island mounts. */
.layout-study{--palette-accent:#A9CBEE;--palette-ink:#111111;--palette-hero:#A9CBEE;--palette-page:#fff;--palette-text:#111}
html[data-theme="dark"] .layout-study{--palette-accent:#9BBCDD;--palette-ink:#9BBCDD;--palette-hero:#141414;--palette-page:#1c1b19;--palette-text:#d5d3ce}
/* One accent: a hero surface in light mode, foreground ink in dark mode. */
.layout-study,html[data-theme="dark"] .layout-study{
 --theme-accent:var(--palette-accent);--field-ink:var(--palette-ink);--interface-ink:var(--palette-ink);
 --field-surface:var(--palette-hero);--page-surface:var(--palette-page);--page-ink:var(--palette-text);
 --foreground:var(--palette-ink);--text-muted:var(--palette-ink);
}
.layout-study .landing-wordmark,.layout-study .landing-headline,.layout-study #landing-menu,.layout-study :is(.text-stage,.landing-opening)>blockquote{color:var(--palette-ink)}
html[data-theme="dark"] .layout-study .landing-headline{color:#fff}
.layout-study .footer-atlas-logo{background:var(--palette-accent);mask:url('/assets/brand/atlas-research-group.svg') center/contain no-repeat;aspect-ratio:10/3}
.layout-study .footer-atlas-logo>img{opacity:0}
/* The supplied Living Web simulation runs only while its footer is near the viewport. */
.layout-study .landing-footer-art>canvas{display:block!important;position:absolute;inset:0;width:100%;height:100%}
.landing-footer-art>canvas:last-of-type{pointer-events:none}
.landing-footer-art>img[hidden]{display:none!important}
.layout-study .footer-atlas-logo{background:color-mix(in srgb,var(--palette-accent) 15%,#eeede8)}


/* One mobile gutter across the complete page, including the two reading layouts. */
.layout-study{--mobile-gutter:clamp(24px,8vw,48px)}
@media(max-width:767px){
 .layout-study .landing-header{padding-inline:var(--mobile-gutter)}
 .layout-study .landing-wordmark,.layout-study .landing-header.is-compact .landing-wordmark{font-size:clamp(14px,4.3vw,21px)}
 .layout-study .landing-headline{left:var(--mobile-gutter);width:calc(100% - 2*var(--mobile-gutter))}
 .text-first-layout .text-stage,.text-first-layout .text-stage:not(.article-text-stage){padding-inline:var(--mobile-gutter);--stage-gutter:var(--mobile-gutter);--insert-indent:0px;--header-gutter:var(--mobile-gutter)}
 .layout-study .landing-footer-inner{padding-inline:var(--mobile-gutter)}
 .layout-study .mobile-navigation-list{padding-inline:var(--mobile-gutter)}
 #landing-menu .header-icon{width:44px;height:44px}
 #landing-menu{gap:0}
 .header-color-picker{--picker-width:min(19rem,calc(100vw - 2*var(--mobile-gutter)))}
}
/* The document ends on the footer surface, including overscroll. */
html:has(.landing-footer),.layout-study.has-hero-visual:has(.landing-footer){background:var(--dark-surface,#141414)}
.layout-study.has-hero-visual>main{background:var(--page-surface)}
.landing-footer-inner{padding-bottom:88px}
@media(max-width:767px){.landing-footer-inner{padding-bottom:72px}}
/* Keep the official picker on its neutral UI tokens while its swatch edits the site accent. */
.header-color-picker{--surface:var(--neutral-0);--surface-raised:var(--neutral-0);--foreground:var(--neutral-11);--border:var(--neutral-4);--text-secondary:var(--neutral-8);--text-muted:var(--neutral-7);--surface-muted:var(--neutral-2);--font-body:Nature,Arial,sans-serif;--text-xs:12px;--text-sm:13px}
html[data-theme="dark"] .header-color-picker{--surface:var(--neutral-1);--surface-raised:var(--neutral-1)}
@media(max-width:767px){.article-text-stage .text-section{display:block;margin-left:0}.article-text-stage .article-section-copy{padding-inline:0}}

@media(max-width:767px){.header-color-picker{--picker-gutter:var(--mobile-gutter)}}

/* The homepage's cover strip sits between the title and opening prose. */
.article-text-stage .mdx-cover-strip{margin:0 0 64px}
.article-text-stage:has(.mdx-cover-strip) .note-heading{min-height:256px;margin-bottom:0}
.text-first-layout .mdx-cover-image .article-cover-light{display:block!important}
.text-first-layout .mdx-cover-image .article-cover-dark{display:none!important}
html[data-theme="dark"] .text-first-layout .mdx-cover-image .article-cover-light{display:none!important}
html[data-theme="dark"] .text-first-layout .mdx-cover-image .article-cover-dark{display:block!important}
@media(max-width:1023px){.article-text-stage:has(.mdx-cover-strip) .note-heading{min-height:192px}.article-text-stage .mdx-cover-strip{margin-bottom:48px}}
/* Interior pages end on the shared wordmark and sitemap without affiliations. */
.article-footer .landing-footer-navigation{border-top:0;padding-top:0}
.article-footer .landing-footer-inner{padding-top:64px}

/* Appearance controls form one compact, vertically expanding pill. */
.theme-controls{position:relative;flex:none;width:44px;height:44px;color:inherit}
.theme-controls-pill{position:absolute;inset:0 0 auto;display:grid;grid-template-rows:44px 0fr;border-radius:999px;background:transparent;transition:background-color 160ms ease,grid-template-rows 200ms cubic-bezier(.23,1,.32,1)}
#landing-menu .theme-controls .theme-toggle{margin-left:0}
.theme-color-slot{min-height:0;overflow:hidden;visibility:hidden;opacity:0;transition:opacity 120ms ease,visibility 0s 200ms}
.theme-controls:is([data-expanded="true"],:has(:focus-visible)) .theme-controls-pill{grid-template-rows:44px 1fr;background:color-mix(in srgb,var(--palette-accent) 20%,var(--page-surface))}
#landing-menu .theme-toggle:hover{background:color-mix(in srgb,var(--palette-accent) 24%,transparent)}
.theme-controls:is([data-expanded="true"],:has(:focus-visible)) .theme-color-slot{visibility:visible;opacity:1;transition:opacity 160ms ease}
.theme-color-slot .header-color-picker{display:block;color:var(--interface-ink);--radius-panel:12px}
.theme-color-slot .header-color-picker>button{color:inherit}
@media(prefers-reduced-motion:reduce){.theme-controls-pill,.theme-color-slot{transition:none}}

/* The footer's visual is a click-through stage behind its affiliation copy. */
.landing-footer-stage{position:relative;isolation:isolate}
.landing-footer-stage>.landing-footer-art{position:absolute;inset:0;height:100%;min-height:0;max-height:none}
.landing-footer-stage>.landing-footer-art::after{display:none}
.landing-footer-stage>.landing-footer-inner{position:relative;padding-top:clamp(120px,16svh,180px);padding-bottom:48px;pointer-events:none}
.landing-footer-stage .landing-footer-intro{margin-bottom:0}
.landing-footer-stage a{pointer-events:auto}
@media(max-width:767px){.landing-footer-stage>.landing-footer-inner{padding-top:120px;padding-bottom:32px}}
.landing-footer-stage .landing-footer-copy{pointer-events:auto}

/* The colored swatch is the origin of the full picker, including its corner morph. */
.header-color-picker{--radius-panel:12px}
/* One continuous, subdued highlight field behind the complete footer. */
.landing-footer>.landing-footer-art{position:absolute;inset:0;height:100%;min-height:0;max-height:none}
.landing-footer>.landing-footer-art::after{display:none}
.landing-footer-stage{isolation:auto;pointer-events:none}
.landing-footer>.landing-footer-inner{position:relative;pointer-events:none}
.landing-footer-stage+.landing-footer-inner{padding-top:0}
.landing-footer a{pointer-events:auto}
.layout-study .landing-footer-art>canvas{opacity:.56}

/* The opening statement, introduction and article index share a quiet accent wash. */
.landing-opening{position:relative;isolation:isolate;display:flow-root;padding-bottom:56px;margin-bottom:56px;--opening-top-space:var(--stage-top-space);--opening-tint:var(--opening-surface,color-mix(in srgb,var(--theme-accent) 25%,var(--page-surface)))}
.landing-opening::before{content:"";position:absolute;z-index:-1;top:calc(-1 * var(--opening-top-space));bottom:0;left:calc(50% - 50vw);width:100vw;background:var(--opening-tint);pointer-events:none}
.landing-opening>.article-strip-section{margin-bottom:0}
html[data-theme="dark"] .landing-opening::before{background:var(--opening-surface,#131619)}
@media(max-width:767px){.landing-opening{padding-bottom:36px;margin-bottom:36px}}

/* Let the shared section wash continue through the strip and its SVG paper. */
.hybrid-article-strip :is(.work-card-image,.work-card-image-frame,.work-card-panel){background:transparent}
/* SVG materials retain their multiply/screen treatment independently of the panels. */
.hybrid-article-strip{mix-blend-mode:normal}

/* A continuous dot field, separated illustrations and narrower reading panels. */
.hybrid-article-strip{--article-card-gap:36px;--article-panel-inset:32px}
.hybrid-article-strip .hybrid-dot-band{inset:0;height:100%}
.hybrid-article-strip .hybrid-neutral-dot{fill:color-mix(in srgb,var(--muted-foreground) 24%,transparent)}
.hybrid-article-strip .hybrid-accent-dot{fill:color-mix(in srgb,var(--article-card-accent) 40%,transparent)}
.hybrid-article-strip .work-card{width:calc(100% - var(--article-card-gap));flex-basis:calc(100% - var(--article-card-gap))}
.hybrid-article-strip .work-card-panel{width:calc(100% - var(--article-panel-inset));height:calc(100% - var(--work-meta-height))!important;background:var(--opening-surface);transition:background-color 160ms ease}
html[data-theme="dark"] .hybrid-article-strip .work-card-panel{background:var(--opening-surface)}
.hybrid-article-strip .work-card-link:is(:hover,:focus-visible) .work-card-image-media{transform:none}
.relation-study-cover,.relation-study-static,.relation-study-live{position:absolute;inset:0}
.relation-study-cover[data-live] .relation-study-static{visibility:hidden}
.relation-study-live svg{display:block;width:100%;height:100%}
@media(max-width:767px){.hybrid-article-strip{--article-card-gap:32px;--article-panel-inset:24px}}

@media(hover:hover) and (pointer:fine){
 .hybrid-article-strip .work-card-link:hover .work-card-panel{background:color-mix(in srgb,var(--opening-surface),#fff 14%)}
 html[data-theme="dark"] .hybrid-article-strip .work-card-link:hover .work-card-panel{background:color-mix(in srgb,var(--opening-surface),#fff 5%)}
}
.hybrid-article-strip .work-card-link:focus-within .work-card-panel{background:color-mix(in srgb,var(--opening-surface),#fff 14%)}
html[data-theme="dark"] .hybrid-article-strip .work-card-link:focus-within .work-card-panel{background:color-mix(in srgb,var(--opening-surface),#fff 5%)}
@media(prefers-reduced-motion:reduce){.hybrid-article-strip .work-card-panel{transition:none}}

/* Four entries form one finite rail. Keep dots below the illustrations only. */
.hybrid-article-strip .hybrid-dot-band{inset:auto 0 auto;top:var(--article-image-height);height:var(--article-text-height)}
.hybrid-article-strip .work-card-meta{display:none}
.hybrid-article-strip .work-card-panel{height:100%!important}
.landing-opening .text-introduction{margin-bottom:160px}
.landing-opening{padding-bottom:0}
@media(min-width:768px) and (max-width:1100px){.landing-opening .text-introduction{margin-bottom:128px}}
@media(max-width:767px){.landing-opening .text-introduction{margin-bottom:104px}}

/* Small-format illustrations share the hero's ink and hatch treatment. */
.thumbnail-cover,.thumbnail-still,.thumbnail-live{position:absolute;inset:0;pointer-events:none}
.thumbnail-cover svg{display:block;width:100%;height:100%;overflow:visible}
.thumbnail-cover[data-live] .thumbnail-still{visibility:hidden}
.hybrid-article-strip .work-card-arrow{opacity:0;transition:opacity .18s ease,transform .18s ease}
@media(hover:hover) and (pointer:fine){.hybrid-article-strip .work-card-link:hover .work-card-arrow{opacity:1}}
.hybrid-article-strip .work-card-link:focus-within .work-card-arrow{opacity:1}

/* Show the complete larger drawing rather than cropping its top and base. */
.article-text-stage .mdx-cover-image img{object-fit:contain}

/* Article plates share the hero surface, with a quiet scroll-driven corner retreat. */
.article-text-stage .mdx-cover-strip{--cover-radius:clamp(12px,1.2vw,20px);position:relative;isolation:isolate;background:var(--palette-hero,var(--field-surface));border:0;border-radius:0 0 var(--cover-radius) var(--cover-radius)}
.article-text-stage .mdx-cover-image{position:relative}
.article-cover-mount{position:absolute;inset:0;pointer-events:none}
.mdx-cover-image[data-animated-cover] > img{visibility:hidden!important}
.article-text-stage .mdx-cover-hatch::before{color:var(--field-ink);opacity:.16}
@keyframes retreat-article-corners{from{border-radius:0 0 var(--cover-radius) var(--cover-radius)}to{border-radius:0}}
@supports(animation-timeline:view()){
 .article-text-stage .mdx-cover-strip{animation:retreat-article-corners linear both;animation-timeline:view(block);animation-range:entry 100% contain 60%}
}
@media(prefers-reduced-motion:reduce){.article-text-stage .mdx-cover-strip{animation:none}}

/* Full-bleed article opening: title on the dotted left, living illustration on the right. */
.article-text-stage:has(.mdx-cover-strip){padding-top:0}
.article-text-stage .mdx-cover-strip{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);height:min(760px,78svh);min-height:520px;grid-template-columns:repeat(16,minmax(0,1fr));align-items:stretch}
.article-text-stage .article-cover-title{display:flex;grid-column:1/span 5;grid-row:1;align-items:center;min-width:0;color:var(--field-ink);padding:104px 28px 32px max(5vw,24px)}
.article-cover-title-inner{position:relative;z-index:1;width:100%}
.article-cover-title h1{font:400 clamp(28px,2.5vw,38px)/1.12 Nature,Arial,sans-serif;letter-spacing:-.035em;text-wrap:balance;margin:0 0 32px}
.article-cover-title .note-meta{display:flex;flex-direction:column;gap:7px;border:0;padding:0;margin:0;color:inherit;font-size:10px;opacity:.7}
.article-text-stage .mdx-cover-image{grid-column:6/-1;grid-row:1;aspect-ratio:auto;height:100%;padding-top:80px}
.article-text-stage .article-cover-mount{top:80px}
@supports(animation-timeline:scroll()){
 .article-text-stage .mdx-cover-strip{animation-timeline:scroll(root block);animation-range:0px 300px}
}
@media(min-width:768px) and (max-width:1100px){
 .article-text-stage .article-cover-title{grid-column:1/span 6;padding-right:20px}
 .article-text-stage .mdx-cover-image{grid-column:7/-1}
 .article-cover-title h1{font-size:29px}
}
@media(max-width:767px){
 .article-text-stage .mdx-cover-strip{height:auto;min-height:0;display:flex;flex-direction:column}
 .article-text-stage .article-cover-title{padding:116px var(--mobile-gutter) 28px;flex:none;min-height:0}
 .article-cover-title h1{max-width:24ch;font-size:28px;margin-bottom:22px}
 .article-cover-title .note-meta{flex-direction:row;flex-wrap:wrap;gap:8px 20px}
 .article-text-stage .mdx-cover-image{height:clamp(250px,72vw,440px);padding-top:0;flex:none}
 .article-text-stage .article-cover-mount{top:0}
}

/* Cover-page headers use the hero surface until they return as a compact neutral bar. */
.article-page:has(.mdx-cover-strip) .landing-header:not(.is-compact){background:transparent;color:var(--field-ink)}
.article-page .landing-header.is-compact{background:var(--page-surface);color:var(--interface-ink,var(--page-ink))}
/* The wordmark is the home link; the remaining sitemap is Project and Essays. */
.footer-sitemap{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
.article-text-stage{padding-bottom:88px}
.article-text-stage .note-article>.text-section:last-child{margin-bottom:0}
.article-footer{margin-top:0;animation:none;transform:none}
.article-footer .landing-footer-inner{padding-block:56px 72px}
.overview-kicker{margin:0;font:400 11px/1.4 Nature,Arial,sans-serif;letter-spacing:.04em;color:var(--text-muted)}
.overview-page .note-heading{margin-bottom:48px}
@media(max-width:767px){
 .footer-sitemap{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:28px}
 .footer-sitemap section:last-child{grid-column:auto}
 .article-text-stage{padding-bottom:64px}
 .article-footer .landing-footer-inner{padding-block:40px 64px}
}

/* A clearer diagonal screen behind desktop reading panels, kept off the images. */
.hybrid-neutral-hatch{fill:none;stroke:color-mix(in srgb,var(--page-ink) 32%,transparent);stroke-width:.85}
.hybrid-accent-hatch{fill:none;stroke:color-mix(in srgb,var(--article-card-accent) 80%,transparent);stroke-width:1.15}
html:not([data-theme="dark"]) .hybrid-neutral-hatch{stroke:var(--article-card-accent)}
html:not([data-theme="dark"]) .hybrid-accent-hatch{stroke:color-mix(in srgb,var(--page-ink) 28%,transparent);stroke-width:.85}
@media(max-width:767px){
 /* Normal document flow replaces the gesture rail on small screens. */
 .mobile-article-stack{display:block;width:100%;height:auto;cursor:auto;touch-action:auto;--article-card-gap:0px;--article-panel-inset:0px}
 .mobile-article-stack .work-card-grid{display:block}
 .mobile-article-stack .work-card{display:block;width:100%;padding:24px 0 32px}
 .mobile-article-stack .work-card+.work-card{border-top:1px solid var(--border)}
 .mobile-article-stack .work-card-link{height:auto}
 .mobile-article-stack .work-card-image{display:block;width:100%;aspect-ratio:17/11}
 .mobile-article-stack .work-card-text{height:auto;background:none}
 .mobile-article-stack .work-card-panel{position:relative;width:100%;height:auto!important;padding:20px 0 0;background:transparent!important}
 .mobile-article-stack .work-card-heading{min-height:0;margin-bottom:12px}
 .mobile-article-stack .work-card-heading h3{font-size:18px}
 .mobile-article-stack .work-card-description{margin:0;line-height:1.55;opacity:1!important}
 /* Article openings begin with the visual, then their title and details. */
 .article-text-stage .mdx-cover-strip{padding-top:88px}
 .article-text-stage .mdx-cover-image{order:0}
 .article-text-stage .article-cover-title{order:1;padding:24px var(--mobile-gutter) 36px}
}
/* Device category sets hero height; width still controls the reading grid. */
.has-hero-visual .landing-surface{max-height:800px}
html[data-device-layout="mobile"] .has-hero-visual .landing-surface{height:100svh;height:100dvh;max-height:none}
@media(orientation:landscape){
 .has-hero-visual .landing-surface{height:100svh;height:100dvh;max-height:none}
}

/* Opted-in static editorial illustrations fill the main reading column. */
.article-inline-visual{position:relative;margin:40px 0;width:100%;max-width:none;border:0!important;box-shadow:none!important;padding:0!important}
.article-inline-visual figcaption{margin-top:16px;font:11px/1.55 var(--font-mono);color:var(--muted-foreground)}
.text-first-layout .article-inline-visual :is(img,picture){width:100%;height:auto;margin:0;display:block!important;border:0;border-radius:0;box-shadow:none}
.text-first-layout .article-inline-visual .editorial-visual-dark{display:none!important}
html[data-theme="dark"] .text-first-layout .article-inline-visual .editorial-visual-light{display:none!important}
html[data-theme="dark"] .text-first-layout .article-inline-visual .editorial-visual-dark{display:block!important}
@media(max-width:767px){.article-inline-visual{margin-block:28px}}
.editorial-interaction{position:absolute;inset:0;touch-action:pan-y}
.editorial-interaction[hidden]{display:none}

/* The hero is independent of the editorial text-stage width cap. */
.has-hero-visual .landing-surface,.has-hero-visual .column-field{width:100%;max-width:none}

/* Park the sitemap while the preliminary site is a single landing page. */
.footer-sitemap[hidden]{display:none}

/* Inserts share the viewport-based reading grid, even beyond the stage's cap. */
.landing-headline{max-width:800px}
@media(min-width:1101px){
 .text-first-layout :is(.text-stage:not(.article-text-stage),.landing-opening)>blockquote{margin-left:var(--section-edge-offset);width:calc(var(--lower-copy-start,616px) + 340px)}
}
@media(min-width:768px) and (max-width:1100px){
 .text-first-layout :is(.text-stage:not(.article-text-stage),.landing-opening)>blockquote{width:100%;padding-right:clamp(64px,10vw,112px)}
}

/* One compact mechanism accompanies each section in the regular article grid. */
.mdx-rail-root.prose .mdx-flow>.article-inline-visual.section-visual{max-width:480px;margin:32px auto}
@media(max-width:767px){.mdx-rail-root.prose .mdx-flow>.article-inline-visual.section-visual{max-width:320px;margin-block:24px}}
.article-section-copy .katex-display{overflow-x:auto;overflow-y:hidden;padding-block:4px}
