:root{--bg:#F4EFE6;--surface:#FFFCF7;--soft:#E8E1D3;--line:#D8CFBF;--ink:#1B2A30;--muted:#4A5960;--link:#245A6B;--accent:#245A6B;--accent-ink:#FFFFFF;--accent-hover:#18434F;--deep:#18363D;--deep-ink:#EEF3F2;--deep-muted:#C1D3D4;--deep-link:#A9DCE3;--deep-btn:#EEF3F2;--deep-btn-hover:#CDE6E8;--art1:#7AA3AA;--art2:#B5CDCF;--art3:#E4E6DC;--tag:#DCE9EA;--tag-ink:#164A54;--focus:#9C5B12;--head:'Alegreya Sans',system-ui, sans-serif;--body:'Alegreya Sans',system-ui, sans-serif;--radius:14px;--head-weight:500;--head-track:-0.005em}
/* eco archetype: shared foundation. Layout files add the structure on top. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:1.0625rem;line-height:1.65;overflow-wrap:break-word}
img,svg{max-width:100%}
h1,h2,h3{font-family:var(--head);font-weight:var(--head-weight);letter-spacing:var(--head-track);line-height:1.15;margin:0 0 .6em;color:var(--ink)}
h3{font-size:1.2rem;line-height:1.3}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0}
a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
main:focus{outline:none}
strong{font-weight:700}

.skiplink{position:absolute;left:12px;top:-60px;z-index:50;background:var(--accent);color:var(--accent-ink);padding:.6em 1em;border-radius:var(--radius);font-weight:700;text-decoration:none}
.skiplink:focus{top:12px}

.frame{width:100%;max-width:1180px;margin:0 auto;padding:0 clamp(18px,4vw,40px)}
.frame.narrow{max-width:820px}

/* wordmark */
.wordmark{display:inline-flex;align-items:center;gap:.55rem;color:var(--ink);text-decoration:none;font-family:var(--head);font-weight:var(--head-weight);font-size:1.2rem;letter-spacing:var(--head-track)}
.wordmark svg{color:var(--accent);flex:none}
@media (max-width:420px){.wordmark{font-size:1.05rem;gap:.4rem}.wordmark svg{width:26px;height:26px}}
.wordmark:hover .wordmark-name{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}

/* nav */
.navlist{list-style:none;display:flex;flex-wrap:wrap;gap:.2rem 1.3rem}
.navlist a{color:var(--ink);text-decoration:none;padding:.35em 0;display:inline-block;border-bottom:2px solid transparent}
.navlist a:hover{color:var(--link);border-bottom-color:currentColor}
.navlist a[aria-current="page"]{border-bottom-color:var(--accent);font-weight:600}
.navtoggle{display:none;align-items:center;gap:.55rem;font:inherit;font-weight:600;color:var(--ink);background:var(--surface);border:1.5px solid var(--line);border-radius:999px;padding:.45em 1em;cursor:pointer}
.navtoggle:hover{border-color:var(--ink)}
.navtoggle-bars{width:16px;height:10px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;position:relative}
.navtoggle-bars::after{content:"";position:absolute;left:0;right:0;top:2px;border-top:2px solid currentColor}
.navtoggle[aria-expanded="true"] .navtoggle-bars{border-color:transparent}
.navtoggle[aria-expanded="true"] .navtoggle-bars::after{top:2px;transform:rotate(45deg)}
.navtoggle[aria-expanded="true"] .navtoggle-bars::before{content:"";position:absolute;left:0;right:0;top:2px;border-top:2px solid currentColor;transform:rotate(-45deg)}

/* buttons */
.pill{display:inline-flex;align-items:center;justify-content:center;gap:.4em;font-family:var(--body);font-weight:700;font-size:1rem;line-height:1.2;padding:.85em 1.5em;border-radius:999px;text-decoration:none;border:2px solid transparent;cursor:pointer;text-align:center;transition:background-color .15s,color .15s,border-color .15s}
.pill-solid,.pill-solid:visited{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.pill-solid:hover,.navlinks .pill-solid:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:var(--accent-ink)}
.pill-ghost,.pill-ghost:visited{background:transparent;color:var(--ink);border-color:var(--ink)}
.pill-ghost:hover{background:var(--soft);color:var(--ink);border-color:var(--ink)}
.pill-deep,.pill-deep:visited{background:var(--deep-btn);color:var(--deep);border-color:var(--deep-btn)}
.pill-deep:hover{background:var(--deep-btn-hover);border-color:var(--deep-btn-hover);color:var(--deep)}
.navpill{padding:.7em 1.25em;font-size:.95rem;white-space:nowrap}
.tone-deep :focus-visible,.groundline--program :focus-visible{outline-color:var(--deep-link)}

/* opener basics */
.opener{position:relative}
.kicker{display:inline-block;font-size:.82rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--tag-ink);background:var(--tag);padding:.35em .85em;border-radius:999px;margin-bottom:1.1rem}
.opener-title{font-size:clamp(2.1rem,1.3rem + 3.4vw,3.7rem)}
.opener--inner .opener-title{font-size:clamp(1.9rem,1.3rem + 2.4vw,3rem)}
.lead{font-size:clamp(1.08rem,1rem + .45vw,1.28rem);color:var(--muted);max-width:40em}
.opener-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.6rem}
.art{display:block;width:100%;height:auto}

/* sections */
.plot{padding:clamp(48px,7vw,92px) 0}
.tone-soft{background:var(--soft)}
.tone-surface{background:var(--surface)}
.tone-deep{background:var(--deep);color:var(--deep-ink)}
.tone-deep h2,.tone-deep h3{color:var(--deep-ink)}
.tone-deep a:not(.pill){color:var(--deep-link)}
.plot-title{font-size:clamp(1.6rem,1.2rem + 1.6vw,2.35rem);max-width:24em}
.plot-intro{color:var(--muted);font-size:1.12rem;max-width:42em;margin-bottom:2rem}
.tone-deep .plot-intro{color:var(--deep-muted)}

.prose{max-width:46em}
.prose--with-aside{max-width:none;display:grid;gap:2rem}
.prose-body h3{margin-top:1.6em}
.sidecar{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem 1.5rem;align-self:start}
.sidecar p{margin:0;color:var(--muted)}
@media (min-width:900px){.prose--with-aside{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:3.5rem}}

.tiles{list-style:none;display:grid;gap:1.25rem;grid-template-columns:minmax(0,1fr)}
.tile p{margin:0;color:var(--muted)}
.tile h3{margin-bottom:.4em}
.tile-ico{display:inline-grid;place-items:center;width:46px;height:46px;color:var(--accent);margin-bottom:.8rem}
.tile-more{font-weight:700;white-space:nowrap}
@media (min-width:640px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.tiles--n3,.tiles--n6,.tiles--n5{grid-template-columns:repeat(3,minmax(0,1fr))}}

.trail{list-style:none;counter-reset:stop;display:grid;gap:1.5rem}
.trail-stop{counter-increment:stop;position:relative}
.trail-stop p{margin:0;color:var(--muted)}

.qa{max-width:52em;border-top:1px solid var(--line)}
.qa-item{border-bottom:1px solid var(--line)}
.qa-item summary{cursor:pointer;list-style:none;padding:1.1rem 2.4rem 1.1rem 0;font-weight:700;font-size:1.08rem;position:relative}
.qa-item summary::-webkit-details-marker{display:none}
.qa-item summary::after{content:"";position:absolute;right:.4rem;top:1.45rem;width:10px;height:10px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg);transition:transform .2s}
.qa-item[open] summary::after{transform:rotate(225deg);top:1.7rem}
.qa-item summary:hover{color:var(--link)}
.qa-a{padding:0 0 1.2rem;color:var(--muted);max-width:44em}
.qa-a p{margin:0}

.ticks-wrap{display:grid;gap:2rem}
@media (min-width:800px){.ticks-wrap--2{grid-template-columns:repeat(2,minmax(0,1fr))}.ticks-wrap--3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ticks{list-style:none;display:grid;gap:.7rem}
.ticks li{display:flex;gap:.7rem;align-items:flex-start}
.tick{flex:none;width:22px;height:22px;color:var(--accent);margin-top:.2em}
.tone-deep .tick{color:var(--deep-link)}
.ticks-head{font-size:1.1rem}

.duo{display:grid;gap:1.25rem}
@media (min-width:760px){.duo{grid-template-columns:repeat(2,minmax(0,1fr))}}
.duo-col{border-radius:var(--radius);padding:1.6rem 1.6rem 1.2rem;background:var(--surface);border:1px solid var(--line)}
.duo-col ul{padding-left:1.1rem;display:grid;gap:.55rem;color:var(--muted)}
.duo-col--b{background:var(--soft)}

.sheet table{width:100%;border-collapse:collapse;background:var(--surface);border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.sheet caption{text-align:left;color:var(--muted);padding-bottom:.8rem;caption-side:top}
.sheet th,.sheet td{text-align:left;vertical-align:top;padding:.9rem 1rem;border-bottom:1px solid var(--line)}
.sheet thead th{background:var(--soft);font-size:.92rem;letter-spacing:.02em}
.sheet tbody th{font-weight:700}
@media (min-width:700px){.sheet tbody th{min-width:10em}}
.sheet td{color:var(--muted)}
@media (max-width:699px){
  .sheet table,.sheet tbody,.sheet tr,.sheet th,.sheet td{display:block;width:100%}
  .sheet thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .sheet tr{border-bottom:2px solid var(--line);padding:.4rem 0}
  .sheet tbody th{border-bottom:0;padding-bottom:.2rem;font-size:1.05rem}
  .sheet td{border-bottom:0;padding-top:.3rem;padding-bottom:.3rem}
  .sheet td::before{content:attr(data-label) ": ";font-weight:700;color:var(--ink)}
}

.terms{display:grid;gap:1rem;margin:0}
@media (min-width:760px){.terms{grid-template-columns:repeat(2,minmax(0,1fr))}}
.term{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.3rem 1.4rem}
.term dt{font-family:var(--head);font-weight:var(--head-weight);font-size:1.15rem;margin-bottom:.35rem}
.term dd{margin:0;color:var(--muted)}

.pullline{font-family:var(--head);font-size:clamp(1.45rem,1.1rem + 1.6vw,2.3rem);line-height:1.3;max-width:28em;margin:0}

.nudge{display:flex;flex-wrap:wrap;gap:1.4rem 2.5rem;align-items:center;justify-content:space-between}
.nudge-text{font-size:1.15rem;max-width:36em;margin:0}
.tone-deep .nudge-text{color:var(--deep-ink)}

/* forms */
.formwrap{display:grid;gap:2.2rem}
@media (min-width:960px){.formwrap{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:3.5rem}}
.formbed{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.2rem,3vw,2.2rem)}
.formgrid{display:grid;gap:1.1rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:640px){.formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.field--wide{grid-column:1/-1}}
.field{display:flex;flex-direction:column;gap:.35rem;min-width:0;margin:0;border:0;padding:0}
.field label,.field legend{font-weight:700;font-size:.98rem;padding:0}
.req{font-weight:400;color:var(--muted);font-size:.9em}
.hint{font-size:.9rem;color:var(--muted)}
.field input,.field select,.field textarea{font:inherit;color:var(--ink);background:var(--bg);border:1.5px solid var(--muted);border-radius:calc(var(--radius) * .5);padding:.7em .8em;width:100%;min-width:0}
.field textarea{resize:vertical}
.field select{-webkit-appearance:none;appearance:none;padding-right:2.6em;background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);background-position:calc(100% - 20px) 55%,calc(100% - 14px) 55%;background-size:6px 6px;background-repeat:no-repeat}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:3px solid var(--focus);outline-offset:1px;border-color:var(--ink)}
.choices{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.3rem}
.choice{display:inline-flex;align-items:center;gap:.45rem;border:1.5px solid var(--line);border-radius:999px;padding:.45em .95em;cursor:pointer;background:var(--bg)}
.field .choice{padding:.45em .95em;font-weight:500}
.choice:hover{border-color:var(--ink)}
.choice input{accent-color:var(--accent);margin:0;width:1.05em;height:1.05em}
.choice:has(input:checked){border-color:var(--accent);background:var(--soft)}
.choice:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.choice input:focus-visible{outline:none}
.formfoot{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.5rem;margin-top:1.6rem}
.formnote{margin:0;color:var(--muted);font-size:.95rem;flex:1 1 16em}
.formside h2{font-size:1.35rem}
.formside ul{padding-left:1.1rem;display:grid;gap:.5rem;color:var(--muted)}
.formside p{color:var(--muted);margin-top:1rem}

/* footer basics */
.groundline{font-size:.97rem}
.groundline p{color:var(--muted)}
.ground-links{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem 1.2rem}
.ground-links a{color:var(--ink);text-decoration:none}
.ground-links a:hover{color:var(--link);text-decoration:underline}
.ground-head{font-family:var(--body);font-size:.85rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.8rem}
.groundline-copy{font-size:.9rem;margin:0}

.seam{display:block;width:100%;height:clamp(24px,4vw,60px)}

/* collapsed nav on small screens (only when JS is running) */
@media (max-width:899px){
  .js .navtoggle{display:inline-flex}
  .js .topline .navlinks{display:none}
  .js .topline .navlinks.is-open{display:flex}
}

/* layout: quiet. Fixed side rail on desktop, oversized light headline over rings, hairline lists. */
.topline--quiet{background:var(--bg);border-bottom:1px solid var(--line)}
.topline--quiet .topline-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1rem clamp(18px,4vw,40px)}
.topline--quiet .navlinks{display:flex;flex-direction:column;gap:1.2rem}
.topline--quiet .navlist{flex-direction:column;gap:.1rem}
.topline--quiet .navlist a{font-size:1.02rem}
.sidenote{font-size:.9rem;color:var(--muted);margin:0;max-width:16em}
@media (max-width:1079px){
  .sidenote{display:none}
  .topline--quiet .topline-row{max-width:1180px;margin:0 auto}
  .topline--quiet .navlinks{flex-direction:row;align-items:center;gap:1.4rem}
  .topline--quiet .navlist{flex-direction:row;gap:.2rem 1.1rem}
}
@media (max-width:899px){
  .topline--quiet .navlinks{flex-basis:100%;flex-direction:column;align-items:flex-start;padding:.4rem 0 1rem}
  .topline--quiet .navlist{flex-direction:column}
  .js .topline--quiet .navlinks.is-open{display:flex}
}
@media (min-width:1080px){
  .topline--quiet{position:fixed;top:0;bottom:0;left:0;width:270px;border-bottom:0;border-right:1px solid var(--line);overflow-y:auto;z-index:20}
  .topline--quiet .topline-row{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2.6rem;padding:2.4rem 2rem;min-height:100%}
  .topline--quiet .navlinks{flex:1;width:100%}
  .topline--quiet .navlist a{padding:.45em 0}
  .topline--quiet .navlist a[aria-current="page"]{border-bottom-color:transparent;box-shadow:inset 3px 0 0 var(--accent);padding-left:.8rem}
  .topline--quiet .sidenote{margin-top:auto}
  .l-quiet .page{margin-left:270px}
  .l-quiet .frame{max-width:1040px}
}
.opener--quiet{overflow:hidden;padding:clamp(56px,9vw,140px) 0 clamp(48px,7vw,110px);min-height:min(78vh,720px);display:flex;align-items:center}
.opener--quiet.opener--inner{min-height:0;padding:clamp(48px,7vw,100px) 0 clamp(36px,5vw,70px)}
.opener--quiet .opener-art{position:absolute;right:-6%;top:50%;transform:translateY(-50%);width:min(720px,62%);pointer-events:none}
.opener--quiet.opener--inner .opener-art{width:min(460px,60%);right:-10%}
.opener--quiet .opener-copy{position:relative}
.opener--quiet .opener-title{font-weight:300;font-size:clamp(2.4rem,1.2rem + 5vw,5.2rem);line-height:1.04;max-width:12em}
.opener--quiet.opener--inner .opener-title{font-size:clamp(2.1rem,1.2rem + 3.4vw,3.8rem)}
.opener--quiet .opener-title strong{font-weight:500;color:var(--link)}
.opener--quiet .kicker{background:transparent;padding:0;border-radius:0;color:var(--link);letter-spacing:.2em}
.opener--quiet .lead{max-width:30em}
@media (max-width:699px){.opener--quiet .opener-art{opacity:.45;width:110%;right:-40%}}

.l-quiet .plot-title{font-weight:400}
.l-quiet .tiles{grid-template-columns:minmax(0,1fr);gap:0;border-top:1px solid var(--line)}
.l-quiet .tile{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:1.2rem;padding:1.4rem 0;border-bottom:1px solid var(--line)}
.l-quiet .tile-ico{grid-row:span 2;width:44px;height:44px;margin:0;border:1.5px solid var(--art1);border-radius:50%}
.l-quiet .tile h3{margin-bottom:.2em}
@media (min-width:900px){.l-quiet .tile{grid-template-columns:44px minmax(0,.8fr) minmax(0,1.4fr)}.l-quiet .tile-ico{grid-row:auto}.l-quiet .tile h3{margin:0;padding-top:.4rem}}
.l-quiet .trail{gap:2.2rem}
@media (min-width:800px){.l-quiet .trail{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}}
.l-quiet .trail-stop::before{content:counter(stop,decimal-leading-zero);display:block;font-family:var(--head);font-weight:300;font-size:3rem;line-height:1;color:var(--link);margin-bottom:.6rem}
.l-quiet .duo-col,.l-quiet .term,.l-quiet .sidecar{background:transparent;border-width:1px 0 0;border-radius:0;padding-left:0;padding-right:0}
.l-quiet .duo-col--b{background:transparent}
.l-quiet .pullline{font-weight:300}
.l-quiet .tone-deep{border-radius:var(--radius) 0 0 var(--radius);margin-left:clamp(12px,3vw,40px)}

.groundline--quiet{border-top:1px solid var(--line);margin-top:clamp(40px,6vw,80px);padding:2.4rem 0 2.4rem}
.groundline--quiet .ground-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem 2rem;margin-bottom:1.2rem}
.groundline--quiet .ground-blurb{margin:0;max-width:30em}
