/* V6 Living Experience. Independent visual system; functional component styles remain intact.
   Tokens deliberately retain legacy variable names for the scientific/editor components. */
:root{color-scheme:light;--olive-deep:#2f3a27;--olive:#556b3f;--sand:#d9c3a3;--clay:#b5694a;--copper:#b8734d;--bg:#f8f6f1;--surface:#fffdfa;--surface-2:#f3f0e9;--surface-3:#eae6dd;--paper:#fffdfa;--ink:#202722;--muted:#706d64;--border:#e3dfd5;--border-strong:#cfc7b7;--green:#556b3f;--green-strong:#2f3a27;--green-soft:#ebeee4;--gold:#a58043;--gold-dark:#795b2d;--gold-soft:#f3ead9;--button-bg:#2f3a27;--button-ink:#fff7e7;--shadow:0 8px 32px #2f3a2709;--radius:14px;--reading-font:var(--site-font);--content-width:1420px;--v6-ease:cubic-bezier(.22,.8,.25,1)}
:root[data-theme=dark]{color-scheme:dark;--bg:#101010;--surface:#191919;--surface-2:#222222;--surface-3:#2c2c2c;--paper:#191919;--ink:#f0f0f0;--muted:#b5b5b5;--border:#353535;--border-strong:#555;--green:#d3b375;--green-strong:#f0f0f0;--green-soft:#292d25;--gold:#d3b375;--gold-dark:#e2c58c;--gold-soft:#3c3425;--button-bg:#d3b375;--button-ink:#18130c;--shadow:0 10px 28px #0003}
body,h1,h2,h3,h4{font-family:var(--site-font)}
body{line-height:1.85}
[hidden]{display:none!important}
.public-site .top,.public-site .masthead,.public-site .nav-shell,.studio .studio-top{background:#101010;color:#c0c0c0;border-color:#302d26}
.public-site .top{font-size:12px;padding-inline:24px}
.public-site .top-inner{min-height:46px}
.public-site .masthead{padding:20px 22px 17px;text-align:start}
.public-site .brand-lockup{display:flex;max-width:var(--content-width);margin:auto;width:fit-content;margin-inline-start:max(0px,calc((100% - var(--content-width))/2));gap:14px}
.public-site .brand{font-size:clamp(19px,2.5vw,29px);color:#f9f9f9;line-height:1.45}
.public-site .masthead p{color:#c0c0c0;font-size:12px;margin:4px 0 0}
.public-site .emblem{width:64px;height:55px;object-fit:contain;flex:none}
.public-site .masthead::after{width:100%;left:0;transform:none;background:linear-gradient(90deg,transparent,#c8a75a40,transparent)}
.public-site .nav-shell{border-top:0;border-bottom:1px solid #4d422d;box-shadow:0 4px 20px #0002}
.v6-scrolled .public-site .nav-shell{background:#101010f5;box-shadow:0 8px 30px #0005;backdrop-filter:blur(12px)}
.public-site .nav-shell nav a{color:#c0c0c0;font-weight:500;border-radius:8px}
.public-site .nav-shell nav a:hover,.public-site .nav-shell nav a[aria-current=page]{background:#28241b;color:#e5c98b}
.public-site .mobile-nav summary,.public-site .mobile-search,.public-site .mobile-nav[open] nav{background:#171717;color:#e5c98b;border-color:#3b372d}
.public-site .top #theme,.studio #theme{background:#202020;color:#f9f9f9;border-color:#515151}
.v6-command-trigger{display:inline-flex;align-items:center;gap:8px}
.v6-command-trigger svg{width:19px;height:19px;color:#e5c98b}
kbd{font:11px/1.4 var(--site-font);direction:ltr;border:1px solid #575044;border-radius:5px;padding:3px 6px;color:#c0c0c0}
.public-site .container{padding-top:26px}
.public-site .primary,.studio .primary{border-radius:9px;font-weight:600}
.primary svg,.v6-home .link svg,.v6-home .card-link svg,.v6-command-links svg{width:18px;height:18px;flex:none}
.v6-home{display:grid;gap:0;min-width:0}
.public-site .v6-hero,:root[data-theme=dark] .public-site .v6-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:end;min-height:480px;border:1px solid #54452a;border-radius:22px;background:#101010;padding:clamp(26px,4.7vw,70px);gap:22px;isolation:isolate;overflow:visible;box-shadow:0 20px 60px #0003}
.v6-hero::before,.v6-hero::after{display:none}
.v6-hero-photo,.v6-hero-grid{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1}
.v6-hero-photo{background:linear-gradient(270deg,#101010 6%,#101010f5 30%,#101010b0 53%,#1010102b 84%),linear-gradient(0deg,#101010d9,transparent 60%),url("shrine-hero.webp") center left/cover no-repeat;background-color:#101010}
.v6-hero-grid{background:radial-gradient(ellipse at var(--spot-x,25%) var(--spot-y,40%),#c8a75a16,transparent 42%);border:1px solid #ffffff07}
.v6-hero .hero-copy{align-self:center;min-width:0}
.v6-hero .hero-kicker{display:flex;align-items:center;gap:9px;color:#e5c98b;font-size:13px;margin-bottom:20px}
.v6-signal{width:8px;height:8px;border-radius:50%;background:#c8a75a;box-shadow:0 0 0 5px #c8a75a26}
.public-site .v6-hero h1{font-size:clamp(35px,4.7vw,65px);line-height:1.35;letter-spacing:-.035em;color:#f9f9f9;margin:0}
.public-site .v6-hero h1 span{color:#e5c98b}
.v6-hero p{font-size:clamp(14px,1.3vw,17px);color:#dedede;max-width:600px;margin:18px 0 24px;line-height:1.95}
.public-site :is(.hero,.ep-hero,.doubt-hero) .search-form{background:#f9f9f9;border-color:#d5d5d5;color:#202020;padding:7px;box-shadow:0 8px 30px #0002;border-radius:12px}
.public-site :is(.hero,.ep-hero,.doubt-hero) .search-form input{background:#f9f9f9;color:#202020}
.public-site :is(.hero,.ep-hero,.doubt-hero) .search-form input::placeholder{color:#595959}
.public-site :is(.hero,.ep-hero,.doubt-hero) .primary{background:#c8a75a;color:#161616;border-color:#c8a75a}
.public-site .hero .search-suggestions{background:var(--surface);color:var(--ink)}
.v6-hero-topics{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:18px;font-size:12px;color:#dedede}
.v6-hero-topics a{padding:5px 12px;border:1px solid #c8a75a4a;border-radius:20px;background:#1515159c;color:#e5c98b}
.v6-hero-topics a:hover{background:#c8a75a;color:#161616}
.v6-hero-aside{justify-self:end;align-self:end;display:flex;flex-direction:column;align-items:start;gap:10px;padding:14px 18px;border:1px solid #ffffff24;background:#101010ad;border-radius:14px;backdrop-filter:blur(10px);color:#f9f9f9;font-size:13px;max-width:100%}
.v6-hero-aside a{display:flex;align-items:center;gap:10px;color:#e5c98b;font-size:12px}
.v6-hero-aside a svg{width:17px;height:17px}
.v6-photo-credit{position:absolute;inset-inline-end:14px;bottom:6px;color:#f9f9f9;font-size:10px;text-shadow:0 1px 4px #000;background:#101010a8;padding:0 5px;border-radius:4px}
.v6-metrics.home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;margin:14px 0 0}
.v6-metrics.home-metrics a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;justify-content:start;gap:10px;border:0;border-inline-end:1px solid var(--border);border-radius:0;min-height:80px;background:transparent;padding:17px}
.v6-metrics.home-metrics a:last-child{border-inline-end:0}
.v6-metrics strong{font-size:clamp(20px,2.5vw,34px);color:var(--gold-dark);font-variant-numeric:tabular-nums}
.v6-metrics span{font-size:12px;color:var(--muted)}
.v6-metrics svg{width:16px;height:16px;color:var(--gold-dark)}
.v6-metrics a:hover{background:var(--surface-2)}
.v6-section{margin-top:clamp(32px,5vw,70px)}
.v6-section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;padding-bottom:16px;border-bottom:1px solid var(--border);margin-bottom:20px}
.v6-section-head h2{font-size:clamp(24px,2.6vw,36px);line-height:1.5}
.v6-section-head p{margin-top:4px;font-size:13px}
.v6-home .link{display:inline-flex;align-items:center;gap:9px;font-size:13px}
.v6-bento{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(155px,auto));gap:14px}
.v6-bento .section-card{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:15px;min-width:0;min-height:185px;padding:24px;border:1px solid #554a34;border-radius:20px;background:#151515;color:#f9f9f9;box-shadow:none}
.v6-bento .section-doubts{grid-row:span 2;min-height:390px;background:radial-gradient(ellipse at 10% 15%,#46391e 0,transparent 50%),#111}
.v6-bento .section-monitor{background:radial-gradient(ellipse at 10% 20%,#2a2a2a,transparent 65%),#151515}
.v6-bento .section-research{background:linear-gradient(120deg,#191919,#101010)}
.v6-bento .section-card::before{height:auto;inset:0;z-index:-1;opacity:.22;pointer-events:none;background:radial-gradient(circle at 12% 24%,transparent 0 28px,#c8a75a50 29px,transparent 30px 65px,#c8a75a40 66px,transparent 67px 110px,#c8a75a30 111px,transparent 112px)}
.v6-bento .section-card::after{content:"";position:absolute;inset-inline-end:-65px;top:-90px;width:220px;height:220px;transform:rotate(45deg);border:1px solid #c8a75a22;border-radius:25%;z-index:-1;pointer-events:none}
.v6-card-top{display:flex;align-items:center;justify-content:space-between;gap:15px}
.v6-card-top .section-mark{width:54px;height:54px;border:1px solid #75603a;background:#282319;color:#e5c98b;border-radius:14px}
.v6-card-top .section-mark svg{width:28px;height:28px}
.v6-section-no{color:#c8a75a;font-size:17px;letter-spacing:.08em;font-variant-numeric:tabular-nums}
.v6-card-count{font-size:12px;color:#e5c98b}
.v6-bento .section-card h3{color:#f9f9f9;font-size:clamp(21px,2.5vw,31px);line-height:1.5;margin:6px 0}
.v6-bento .section-doubts h3{font-size:clamp(26px,3.5vw,46px)}
.v6-bento .section-card p{color:#dedede;font-size:14px;max-width:500px;margin:0 0 12px}
.v6-bento .card-link{color:#e5c98b;border-color:#c8a75a40;font-size:13px;padding-top:12px}
.v6-bento .card-link span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#c8a75a;color:#101010}
.v6-bento .section-card:hover{border-color:#c8a75a;transform:translateY(-3px);box-shadow:0 16px 42px #0003}
.v6-discover{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:28px;align-items:start}
.v6-journal .entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.v6-journal .entry{display:flex;flex-direction:column;gap:6px;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:var(--shadow)}
.v6-journal .entry:first-child{grid-column:1/-1;border-inline-start:3px solid var(--gold);padding:25px}
.v6-journal .entry:first-child h3{font-size:clamp(23px,2.5vw,32px)}
.v6-journal .entry h3{font-size:19px;line-height:1.65}
.v6-journal .entry p{font-size:14px;overflow-wrap:anywhere}
.v6-journal .entry .link{margin-top:auto;padding-top:12px}
.v6-journal .empty{grid-column:1/-1;background:var(--surface);border:1px solid var(--border);border-radius:16px}
.v6-topics{border:1px solid var(--border);border-radius:18px;background:var(--surface);padding:22px}
.v6-topic-heading h2{font-size:24px;margin:5px 0}
.v6-topic-heading p{font-size:13px}
.v6-topic-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:19px 0}
.v6-topic-list a{min-width:0;display:flex;justify-content:space-between;align-items:center;gap:6px;border:1px solid var(--border);border-radius:10px;padding:12px 10px;color:var(--ink);background:var(--surface-2);font-size:13px}
.v6-topic-list svg{width:16px;height:16px;color:var(--gold-dark);flex:none}
.v6-topic-list a:hover{border-color:var(--gold);background:var(--gold-soft)}
.v6-library,.v6-resume{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:24px;border-radius:18px;border:1px solid var(--border);background:var(--surface);margin-top:34px;min-width:0}
.v6-library{border-block-start:2px solid var(--gold)}
.v6-library-symbol{display:grid;place-items:center;flex:none;width:66px;height:66px;border-radius:17px;background:var(--gold-soft);color:var(--gold-dark)}
.v6-library-symbol svg{width:34px;height:34px}
.v6-library>div:nth-child(2),.v6-resume>div:first-child{flex:1;min-width:0}
.v6-library h2,.v6-resume h2{font-size:clamp(19px,2vw,27px)}
.v6-library p{font-size:14px}
.v6-resume{background:linear-gradient(135deg,var(--surface),var(--gold-soft))}
.v6-resume-title{display:block;color:var(--gold-dark);font-size:15px;overflow-wrap:anywhere}
.v6-resume-actions{display:flex;gap:8px;flex-wrap:wrap}
.v6-quiet{border:1px solid var(--border-strong);background:var(--surface-2);color:var(--ink);padding:8px 12px;min-height:44px;border-radius:9px;font:inherit}
.v6-command{width:min(680px,calc(100vw - 26px));max-height:calc(100dvh - 30px);margin:9vh auto auto;padding:24px;border:1px solid var(--border-strong);border-radius:22px;background:var(--surface);color:var(--ink);box-shadow:0 24px 100px #0007;overflow:auto}
.v6-command::backdrop{background:#000a;backdrop-filter:blur(5px)}
.v6-command-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:18px}
.v6-command-head h2{font-size:clamp(20px,3vw,29px)}
.v6-command-head button{font-size:24px;width:44px;line-height:1}
.v6-command .search-form{max-width:none;z-index:3}
.v6-command .search-form>svg{width:22px;height:22px;color:var(--gold-dark);flex:none}
.v6-command-links{display:grid;gap:7px;margin:24px 0 14px}
.v6-command-links>span,.v6-command-hint{font-size:12px;color:var(--muted)}
.v6-command-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;border:1px solid var(--border);background:var(--surface-2);border-radius:10px;font-size:14px}
.v6-command-links a:hover{background:var(--gold-soft);border-color:var(--gold)}
.v6-command-hint{border-top:1px solid var(--border);padding-top:12px}
.public-site :is(.ep-hero,.doubt-hero){min-height:245px;background:linear-gradient(90deg,#15151550,#151515 70%),url("obsidian-architecture.svg") left center/auto 125% no-repeat,#151515;border:1px solid #6b5834;border-radius:19px;box-shadow:none;overflow:visible}
.public-site :is(.ep-hero,.doubt-hero) h1{font-size:clamp(29px,4vw,51px);color:#f9f9f9}
.public-site :is(.ep-hero,.doubt-hero) p{color:#dedede}
.public-site .ep-toolbar,.public-site .doubt-results-head{border-bottom:1px solid var(--border);padding-bottom:15px}
.public-site .ep-person-card{border-radius:16px;position:relative;box-shadow:none}
.public-site .ep-person-card .ep-portrait{aspect-ratio:3/4}
.public-site .ep-person-card .ep-card-copy{padding:15px}
.public-site .ep-person-card h3{font-size:clamp(17px,1.6vw,23px)}
.public-site .ep-placeholder,.public-site .ep-cover-default{background:radial-gradient(ellipse at center,#373329,#101010);color:#e5c98b}
.public-site .ep-research{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.public-site .v6-research .ep-research-card:first-child{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center}
.public-site .ep-research-card{border-radius:16px;box-shadow:none}
.public-site .ep-cover{aspect-ratio:16/9}
.public-site .ep-card-copy h3{font-size:20px}
.public-site .v6-timeline{display:grid;grid-template-columns:1fr;gap:14px;border-inline-start:2px solid var(--border);padding-inline-start:24px}
.v6-timeline .ep-file{position:relative;overflow:visible;border-radius:14px;box-shadow:none}
.v6-timeline .ep-file::before{content:"";position:absolute;inset-inline-start:-32px;top:22px;width:14px;height:14px;border:3px solid var(--bg);border-radius:50%;background:var(--gold)}
.v6-timeline-date{font-size:12px;color:var(--gold-dark);font-variant-numeric:tabular-nums}
.public-site .doubt-cards{grid-template-columns:1fr;gap:12px}
.public-site .doubt-card{border-radius:14px;border-inline-start:3px solid var(--border);box-shadow:none;padding:clamp(17px,2vw,25px)}
.public-site .doubt-card:hover{border-inline-start-color:var(--gold)}
.public-site .doubt-card-title h3{font-size:clamp(18px,2vw,25px)}
.public-site .doubt-answer .doubt-block-symbol,.studio .studio-monogram{background:#171717;color:#e5c98b;border-color:#c8a75a}
.public-site .scientific-reader{max-width:1100px}
.public-site .scientific-reader .reading{border-radius:16px;box-shadow:none;border:1px solid var(--border);border-top:2px solid var(--gold)}
.public-site .reading-tools{background:var(--surface);border-radius:10px;padding:10px;border:1px solid var(--border);gap:7px}
.public-site .prose,.studio .rich-surface{font-family:var(--site-font);line-height:2.05}
.rich-text .rt-green,.rich-surface .rt-green{color:#174537}
:root[data-theme=dark] .rich-text .rt-green,:root[data-theme=dark] .rich-surface .rt-green{color:#9bd1ad}
.public-site .site-footer{background:#101010;color:#c0c0c0;border-color:#51452d;margin-top:25px}
.public-site .site-footer h2{color:#f9f9f9}
.public-site .site-footer :is(p,a,small,.footer-bottom){color:#c0c0c0}
.public-site .site-footer :is(.eyebrow,.verse,a:hover){color:#e5c98b}
.public-site .footer-quote,.public-site .footer-bottom{border-color:#51452d}
.studio .studio-brand strong,.studio .studio-top .top-actions a{color:#f9f9f9}
.studio .studio-brand .eyebrow{color:#c0c0c0}
.studio .studio-top .studio-secondary{background:#242424;border-color:#515151;color:#f9f9f9}
.studio .studio-panel,.studio .studio-sidebar,.studio .studio-metric{border-radius:14px}
.studio .rich-toolbar{gap:5px;flex-wrap:wrap}
.studio .rich-toolbar :is(button,select){min-height:44px}
.studio .rich-toolbar button{min-width:44px}
.studio-menu-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:46px;margin-bottom:12px;padding:9px 14px;background:var(--surface);color:var(--ink);border:1px solid var(--border-strong);border-radius:10px;font:inherit;cursor:pointer}
.studio-menu-toggle::after{content:"⌄"}
.studio-menu-toggle[aria-expanded=true]::after{transform:rotate(180deg)}
@media(prefers-reduced-motion:no-preference){
 @view-transition{navigation:auto}
 ::view-transition-old(root){animation:150ms ease-out both v6-out}
 ::view-transition-new(root){animation:230ms var(--v6-ease) both v6-in}
 @keyframes v6-out{to{opacity:0}}
 @keyframes v6-in{from{opacity:0}to{opacity:1}}
 @keyframes v6-arrive{from{opacity:.65;transform:translateY(10px)}to{opacity:1;transform:none}}
 @keyframes v6-dialog{from{opacity:0;transform:translateY(-10px) scale(.99)}to{opacity:1;transform:none}}
 .v6-arrived{animation:v6-arrive .48s var(--v6-ease) both}
 .v6-command[open],.mobile-nav[open] nav,.search-suggestions:not([hidden]){animation:v6-dialog .18s var(--v6-ease) both}
 :is(.section-card,.ep-person-card,.ep-research-card,.doubt-card,.v6-topic-list a,.v6-metrics a,.primary){transition:transform .22s var(--v6-ease),background-color .2s ease,border-color .2s ease,box-shadow .22s ease}
 .v6-bento .card-link span{transition:transform .25s var(--v6-ease)}
 .v6-bento .section-card:hover .card-link span{transform:translateX(-3px)}
 :is(.ep-cover,.ep-portrait)>img{transition:transform .45s var(--v6-ease)}
 :is(.ep-person-card,.ep-research-card):hover :is(.ep-cover,.ep-portrait)>img{transform:scale(1.035)}
}
@media(max-width:1000px){.v6-discover{gap:18px}.public-site .ep-research{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.v6-metrics.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v6-metrics.home-metrics a:nth-child(2){border-inline-end:0}.v6-metrics.home-metrics a:nth-child(-n+2){border-bottom:1px solid var(--border)}}
@media(max-width:720px){
 .public-site .top{padding-inline:13px}.public-site .masthead{padding:13px 12px}.public-site .masthead .brand-lockup{gap:9px}.public-site .emblem{width:46px;height:42px}.public-site .masthead p{font-size:10px}
 .public-site .container{padding:15px 12px 30px}
 .public-site .v6-hero,:root[data-theme=dark] .public-site .v6-hero{display:block;min-height:0;padding:25px 16px 37px;border-radius:17px}
 .v6-hero-photo{background-image:linear-gradient(0deg,#101010 0%,#101010da 55%,#10101070 100%),url("shrine-hero.webp");background-position:center;background-size:cover}
 .v6-hero .hero-kicker{font-size:11px;margin-bottom:13px}
 .public-site .v6-hero h1{font-size:clamp(30px,7.7vw,48px)}
 .v6-hero p{font-size:14px;margin:14px 0 19px}
 .v6-hero-aside{display:none}
 .v6-hero-topics{font-size:11px;gap:5px}
 .v6-hero-topics a{padding:4px 8px}
 .v6-photo-credit{font-size:9px;bottom:7px}
 .v6-metrics.home-metrics a{grid-template-columns:auto minmax(0,1fr);padding:11px;gap:7px;min-height:65px}
 .v6-metrics svg{display:none}
 .v6-section{margin-top:31px}
 .v6-section-head{align-items:start;gap:8px}
 .v6-section-head h2{font-size:23px}.v6-section-head p{max-width:none;text-align:start}
 .v6-section-head .link{font-size:11px;white-space:normal;max-width:110px}
 .v6-bento{grid-template-columns:1fr;grid-template-rows:auto;gap:10px}
 .v6-bento .section-card,.v6-bento .section-doubts{grid-row:auto;min-height:195px;padding:18px;border-radius:15px}
 .v6-bento .section-doubts{min-height:230px}
 .v6-bento .section-card h3,.v6-bento .section-doubts h3{font-size:23px}
 .v6-card-top .section-mark{width:45px;height:45px}
 .v6-discover{grid-template-columns:1fr;gap:20px}
 .v6-journal .entries{grid-template-columns:1fr}
 .v6-journal .entry,.v6-journal .entry:first-child{grid-column:auto;padding:17px}
 .v6-library,.v6-resume{flex-wrap:wrap;padding:17px;gap:12px}
 .v6-library .primary{width:100%}.v6-library-symbol{width:46px;height:46px}
 .v6-resume-actions{width:100%}
 .v6-command{margin:3vh auto auto;padding:16px}
 .public-site :is(.ep-hero,.doubt-hero){min-height:0;padding:22px 17px}
 .public-site .ep-research,.public-site .v6-research .ep-research-card:first-child{display:grid;grid-template-columns:1fr;grid-column:auto}
 .public-site .v6-timeline{padding-inline-start:17px}
 .v6-timeline .ep-file::before{inset-inline-start:-25px}
 .studio :is(.studio-main,.studio-editor-main,.rich-editor,.rich-toolbar){min-width:0}
}
@media(max-width:350px){.v6-metrics.home-metrics a{grid-template-columns:1fr;gap:2px}.v6-metrics strong{font-size:21px}.v6-section-head{flex-wrap:wrap}.v6-section-head .link{max-width:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
@media print{.public-site .reading,.public-site .doubt-reading{background:white;color:black;border:0;box-shadow:none}.public-site .prose,.public-site .reading h1,.public-site .reading h2{color:black}.v6-command,.v6-resume{display:none!important}}


/* V8: scholarly editorial gallery. The original photography, not decorative UI, carries the visual identity. */
.public-site.heritage-v8 :is(.top,.masthead,.nav-shell){background:#20291f;color:#f0eddf;border-color:#a5804360}
.public-site.heritage-v8 .top{background:#2f3a27}
.public-site.heritage-v8 .top a,.public-site.heritage-v8 .masthead p{color:#e5dbc5}
.public-site.heritage-v8 .masthead{padding-block:13px}
.public-site.heritage-v8 .brand-lockup{gap:13px}
.public-site.heritage-v8 .brand{color:#fff7e7;font-weight:650}
.public-site.heritage-v8 .emblem{width:58px;height:52px}
.public-site.heritage-v8 .nav-shell{box-shadow:none}
.v6-scrolled .public-site.heritage-v8 .nav-shell{background:#20291ff5;box-shadow:0 6px 24px #10191024}
.public-site.heritage-v8 .nav-shell nav a{color:#f0eddf}
.public-site.heritage-v8 .nav-shell nav a:is(:hover,[aria-current=page]){background:#374333;color:#f6dfa7}
.public-site.heritage-v8 .nav-shell .desktop-nav.em-nav{position:relative;isolation:isolate}
.public-site.heritage-v8 .nav-shell .em-nav>a{z-index:1}
.em-nav-indicator{position:absolute;left:0;top:0;pointer-events:none;z-index:0;width:0;height:0;opacity:0;border-radius:7px;background:#374333;transition:transform .38s var(--v6-ease),width .38s var(--v6-ease),height .38s var(--v6-ease),opacity .16s}
.em-nav-indicator:after{content:"";position:absolute;inset-inline:30%;bottom:4px;height:2px;background:#d3b375}
.public-site.heritage-v8 .nav-shell .em-nav.em-nav-ready>a:is(:hover,[aria-current=page]){background:transparent}
.public-site.heritage-v8 .nav-shell .em-nav.em-nav-ready>a[aria-current=page]::after{opacity:0}
.public-site.heritage-v8 :is(.mobile-nav summary,.mobile-search,.mobile-nav[open] nav){background:#2f3a27;color:#f6dfa7;border-color:#8b80584d}
.public-site.heritage-v8 .top #theme{background:#374333;color:#fff7e7;border-color:#92896a}
.public-site.heritage-v8 .container{padding-block-start:24px}
.public-site.heritage-v8 .primary{background:var(--button-bg);color:var(--button-ink);border-color:var(--button-bg)}
.public-site.heritage-v8 .primary:hover{filter:brightness(1.08)}
.public-site.heritage-v8 .h8-hero,:root[data-theme=dark] .public-site.heritage-v8 .h8-hero,.public-site.heritage-v8 :is(.doubt-hero,.ep-hero){background-color:#2f3a27;color:#fff7e7}
:is(:root,:root[data-theme=dark]) .public-site.heritage-v8 .h8-hero{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;min-height:clamp(410px,36vw,555px);padding:clamp(28px,5vw,78px);border:0;border-radius:3px;box-shadow:none;isolation:isolate}
.h8-hero-scene{position:absolute;inset:0;overflow:hidden;z-index:-1;border-radius:inherit;background:#2f3a27;pointer-events:none}
.h8-hero-scene img{position:absolute;inset-block:0;left:0;width:69%;height:100%;object-fit:cover;object-position:22% center}
.h8-hero-scene::after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,#20291f 7%,#263122f5 33%,#253022b3 53%,#25302208 84%),linear-gradient(0deg,#19231965,transparent 45%)}
.h8-hero .hero-copy{max-width:650px;position:relative;z-index:1;min-width:0}
.h8-hero-emblem{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.h8-hero-emblem img{width:48px;height:42px;object-fit:contain}
.h8-hero-emblem i{height:1px;width:80px;background:linear-gradient(90deg,transparent,#d3b375)}
.public-site.heritage-v8 .h8-hero h1{font-size:clamp(34px,4.9vw,69px);line-height:1.43;letter-spacing:0;color:#fff3d8;font-weight:650;margin:0}
.h8-hero .hero-copy>p{color:#f0e8d5;font-size:clamp(14px,1.2vw,17px);line-height:2;margin:15px 0 24px;max-width:570px}
.public-site.heritage-v8 :is(.hero,.doubt-hero,.ep-hero) .search-form{background:#fffdfa;color:#202722;border:1px solid #d3b375;max-width:560px;box-shadow:none;border-radius:8px;padding:6px;min-width:0}
.public-site.heritage-v8 :is(.hero,.doubt-hero,.ep-hero) .search-form input{background:#fffdfa;color:#202722;min-width:0}
.public-site.heritage-v8 :is(.hero,.doubt-hero,.ep-hero) .search-form input::placeholder{color:#706d64}
.public-site.heritage-v8 :is(.hero,.doubt-hero,.ep-hero) .primary{background:#2f3a27;color:#fff7e7;border-color:#2f3a27}
.h8-hero .v6-hero-topics{color:#eee5ce;margin-top:12px;gap:7px}
.h8-hero .v6-hero-topics a{background:#ffffff0a;color:#fff1d0;border:1px solid #e0c89075;min-height:44px;display:inline-flex;align-items:center;padding:5px 12px;border-radius:5px}
.h8-hero .v6-hero-topics a:hover{background:#d3b375;color:#20291f}
.h8-method-link{display:inline-flex;align-items:center;gap:12px;color:#f5ddb0;min-height:44px;font-size:13px;margin-top:9px}
.h8-metrics.home-metrics{position:relative;z-index:2;width:min(100% - 50px,1060px);margin:-19px auto 0;overflow:hidden;border:1px solid var(--border-strong);border-radius:3px;background:var(--surface);box-shadow:0 8px 30px #2f3a270b}
.h8-metrics.home-metrics a{display:flex;align-items:center;justify-content:center;gap:12px;min-height:78px;padding:12px;border-radius:0}
.h8-metrics strong{color:var(--green-strong);font-weight:650}
.h8-metrics span{color:var(--muted);font-size:13px}
.h8-archive{margin-top:clamp(36px,5vw,75px)}
.h8-heading{border-bottom:1px solid var(--border-strong);padding-bottom:16px}
.h8-heading h2{font-size:clamp(25px,3.1vw,40px);font-weight:650}
.h8-gallery.v6-bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:clamp(15px,2.5vw,36px);align-items:stretch}
.h8-gallery.v6-bento .section-card{display:flex;flex-direction:column;justify-content:flex-start;gap:0;grid-row:auto;min-height:0;overflow:visible;padding:0;border:0;border-bottom:1px solid var(--border-strong);border-radius:0;background:transparent;color:var(--ink);box-shadow:none;transform:none;isolation:auto}
.h8-gallery.v6-bento .section-card::before,.h8-gallery.v6-bento .section-card::after{display:none}
.h8-gallery .h8-section-photo{position:relative;aspect-ratio:16/10;overflow:hidden;background:#2f3a27;border-radius:3px;border:1px solid #a5804340}
.h8-section-photo img{width:100%;height:100%;object-fit:cover;transform:scale(1);transform-origin:center}
.h8-image-caption{position:absolute;inset-inline-start:13px;bottom:13px;width:43px;height:43px;display:grid;place-items:center;border:1px solid #e1c88e95;background:#20291edc;color:#f6dfa7;border-radius:3px}
.h8-image-caption svg{width:24px;height:24px}
.h8-section-copy{display:flex;flex:1;flex-direction:column;gap:4px;padding:16px 1px 12px;min-width:0}
.h8-section-count{color:var(--gold-dark);font-size:12px;font-weight:500}
.h8-gallery.v6-bento .section-card h3{color:var(--green-strong);font-size:clamp(20px,2.15vw,29px);margin:2px 0 3px;line-height:1.55}
.h8-gallery.v6-bento .section-card p{color:var(--muted);font-size:14px;line-height:1.9;margin:0 0 13px}
.h8-gallery.v6-bento .card-link{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;min-height:44px;color:var(--green-strong);border:0;padding:0;font-weight:600;font-size:13px}
.h8-gallery.v6-bento .card-link span{border-radius:0;background:none;color:var(--gold-dark);font-size:23px;width:auto;height:auto}
.h8-gallery.v6-bento .section-card:hover{background:transparent;border-bottom-color:var(--gold-dark);transform:none;box-shadow:none}
.h8-home .v6-discover{gap:clamp(22px,4vw,52px);grid-template-columns:minmax(0,1.75fr) minmax(250px,.9fr);margin-top:clamp(38px,5vw,70px)}
.h8-home .v6-journal .entries{grid-template-columns:1fr;gap:0}
.h8-home .v6-journal .entry,.h8-home .v6-journal .entry:first-child{grid-column:auto;padding:20px 0;border:0;border-bottom:1px solid var(--border);background:transparent;box-shadow:none;border-radius:0}
.h8-home .v6-journal .entry:first-child h3{font-size:clamp(22px,2.5vw,30px)}
.h8-home .v6-topics{border-radius:3px;background:var(--surface-2);padding:22px;border:0;border-block-start:2px solid var(--gold)}
.h8-home .v6-topic-list{gap:0;grid-template-columns:1fr 1fr}
.h8-home .v6-topic-list a{border:0;border-bottom:1px solid var(--border-strong);border-radius:0;background:transparent;min-height:44px}
.h8-home :is(.v6-library,.v6-resume){border-radius:3px;background:var(--surface);box-shadow:none}
.h8-home .v6-library-symbol{border-radius:3px}
.public-site.heritage-v8 :is(.ep-hero,.doubt-hero){position:relative;isolation:isolate;background:#2f3a27;border:0;border-radius:3px;min-height:280px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;padding:clamp(22px,4vw,45px);gap:22px;overflow:visible}
.public-site.heritage-v8 :is(.ep-hero,.doubt-hero)>div:first-child{min-width:0}
.public-site.heritage-v8 :is(.ep-hero,.doubt-hero) h1,.public-site.heritage-v8 .doubt-hero h1 span{color:#fff3d8}
.public-site.heritage-v8 :is(.ep-hero,.doubt-hero) p{color:#eee5ce}
.public-site.heritage-v8 :is(.ep-kicker,.doubt-kicker){color:#f5ddb0}
.public-site.heritage-v8 :is(.ep-hero,.doubt-hero) .h8-hub-photo{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:3px;border:1px solid #d3b37555;justify-self:end;max-width:420px}
.public-site.heritage-v8 :is(.doubt-card,.ep-research-card,.ep-person-card,.scientific-reader .reading,.information-page,.panel){border-radius:5px;box-shadow:none}
.public-site.heritage-v8 .doubt-card{border-inline-start:2px solid var(--gold)}
.public-site.heritage-v8 .ep-cover-default{background:var(--surface-2);color:var(--green-strong)}
.public-site.heritage-v8 .ep-cover-default .h8-default-cover{width:100%;height:100%;object-fit:cover}
.public-site.heritage-v8 .ep-placeholder{background:#2f3a27;color:#e2c58c}
.public-site.heritage-v8 .site-footer{background:#20291f;border-color:#a5804360;color:#f0eddf}
.public-site.heritage-v8 .site-footer h2{color:#fff7e7}
.public-site.heritage-v8 .site-footer :is(p,a,small,.footer-bottom){color:#e0d8c4}
.public-site.heritage-v8 .site-footer :is(.eyebrow,.verse,a:hover){color:#f5ddb0}
.public-site.heritage-v8 .footer-quote,.public-site.heritage-v8 .footer-bottom{border-color:#a5804360}
@media(max-width:900px){
 .h8-gallery.v6-bento{gap:18px}
 .h8-home .v6-discover{grid-template-columns:minmax(0,1fr) minmax(220px,.65fr)}
 .h8-metrics.home-metrics{width:calc(100% - 24px);margin-top:-12px}
}
@media(max-width:720px){
 .public-site.heritage-v8 .container{padding:12px 12px 32px}
 :is(:root,:root[data-theme=dark]) .public-site.heritage-v8 .h8-hero{min-height:0;padding:24px 16px 30px;display:block}
 .h8-hero-scene img{width:100%;object-position:12% center}
 .h8-hero-scene::after{background:linear-gradient(0deg,#20291f 0%,#20291fe8 45%,#20291fbb 100%)}
 .h8-hero-emblem{margin-bottom:7px}
 .public-site.heritage-v8 .h8-hero h1{font-size:clamp(30px,7.5vw,42px);line-height:1.45}
 .h8-hero .hero-copy>p{font-size:13px;margin:12px 0 17px}
 .h8-hero .v6-hero-topics{font-size:11px}
 .h8-hero .v6-hero-topics a{padding-inline:7px}
 .h8-metrics.home-metrics{width:100%;margin:10px 0 0;border-radius:3px}
 .h8-metrics.home-metrics a{min-height:64px;gap:6px;padding:10px}
 .h8-metrics span{font-size:11px}
 .h8-gallery.v6-bento{grid-template-columns:1fr;gap:25px}
 .h8-gallery .h8-section-photo{aspect-ratio:16/9}
 .h8-gallery.v6-bento .section-card h3{font-size:24px}
 .h8-section-copy{padding-block:11px 7px}
 .h8-home .v6-discover{grid-template-columns:1fr;gap:28px}
 .public-site.heritage-v8 :is(.ep-hero,.doubt-hero){display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:17px;gap:14px}
 .public-site.heritage-v8 :is(.ep-hero,.doubt-hero) .h8-hub-photo{max-width:none;aspect-ratio:16/7;order:-1}
 .public-site.heritage-v8 .emblem{width:46px;height:42px}
 .em-nav-indicator{display:none}
}
@media(prefers-reduced-motion:no-preference){
 .h8-hero-scene img{animation:h8-scene 1.45s var(--v6-ease) both}
 .h8-hero .hero-copy{animation:h8-unveil .78s .08s var(--v6-ease) both}
 .h8-section-photo img{transition:transform .85s var(--v6-ease),filter .6s var(--v6-ease)}
 .h8-gallery .card-link span{transition:translate .3s var(--v6-ease)}
 .h8-gallery .section-card:is(:hover,:focus-visible) .h8-section-photo img{transform:scale(1.055)}
 .h8-gallery .section-card:is(:hover,:focus-visible) .card-link span{translate:-5px 0}
 .public-site.heritage-v8 .primary{transition:background-color .2s,border-color .2s,transform .2s}
 .public-site.heritage-v8 .primary:active{transform:scale(.985)}
 @keyframes h8-scene{from{transform:scale(1.06);opacity:.45}to{transform:scale(1);opacity:1}}
 @keyframes h8-unveil{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce){.h8-hero-scene img,.h8-hero .hero-copy{animation:none!important}.h8-section-photo img{transform:none!important}.em-nav-indicator{transition:none!important}}
@media print{.h8-hero-scene,.h8-gallery,.h8-metrics{display:none!important}}

.public-site.heritage-v8 .about-hero>img:not(.h8-hub-photo){max-width:140px;justify-self:center;align-self:center}
@media(max-width:720px){.public-site.heritage-v8 .about-hero>img:not(.h8-hub-photo){display:none}}
