/* Editorial refresh, designed as a progressive enhancement to existing pages. */
:root{color-scheme:dark}
body{background:var(--ink)}
.nav{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.nav__links a{transition:color .2s}
.nav__links a:hover,.nav__links a[aria-current="page"]{color:var(--accent-strong)}
.nav__utility{display:flex;gap:8px;align-items:center;margin-left:8px}
.utility-btn{width:39px;height:39px;display:grid;place-items:center;border:1px solid var(--border-strong);border-radius:100%;font-size:17px;line-height:1;transition:background .2s,border-color .2s}
.utility-btn:hover{background:var(--surface-raised);border-color:var(--accent)}
.v21-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 78% 38%,rgba(192,138,70,.16),transparent 38%),var(--ink)}
.v21-hero .hero__title{letter-spacing:-.052em}
.v21-hero-index{letter-spacing:.15em}
.v21-explore .v2-card{transition:transform .25s,background .25s}
.v21-explore .v2-card:hover{transform:translateY(-5px)}
.section{scroll-margin-top:85px}
.home-discover{padding-top:0}
.home-discover__head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.home-discover__head .section__heading{margin-bottom:0}
.home-discover__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-discover__card{padding:24px;min-height:185px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid var(--border);background:linear-gradient(160deg,var(--surface-raised),var(--surface));border-radius:12px}
.home-discover__card span{font:11px var(--font-mono);letter-spacing:.1em;color:var(--accent-strong)}
.home-discover__card h3{font:400 clamp(24px,2.5vw,32px)/1.1 var(--font-display);max-width:17ch}
.home-discover__card p{color:var(--text-muted);font-size:13px}
.home-discover__card:hover{border-color:var(--accent)}
.site-search{position:fixed;inset:0;z-index:1000;padding:clamp(15px,4vw,60px);background:rgba(0,0,0,.76);display:none;align-items:flex-start;justify-content:center;overflow:auto}
.site-search[open]{display:flex}
.site-search__panel{width:min(760px,100%);margin-top:min(10vh,85px);padding:25px;background:var(--surface);border:1px solid var(--border-strong);border-radius:15px;box-shadow:0 24px 80px #0008}
.site-search__top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.site-search__title{font:400 29px var(--font-display)}
.site-search__close{padding:6px 12px;border:1px solid var(--border);border-radius:8px}
.site-search__input{width:100%;padding:15px;color:var(--text);font:inherit;background:var(--ink);border:1px solid var(--border-strong);border-radius:8px}
.site-search__results{margin-top:14px;max-height:54vh;overflow:auto}
.site-search__result{display:block;padding:15px 4px;border-bottom:1px solid var(--border)}
.site-search__result:hover strong{color:var(--accent-strong)}
.site-search__result small{display:block;color:var(--accent-strong);font:11px var(--font-mono);margin-bottom:4px}
.site-search__result strong{font:400 22px var(--font-display)}
.site-search__result p{color:var(--text-muted);font-size:13px;margin-top:4px}
.site-search__note{font-size:13px;color:var(--text-muted);padding:16px 4px}
html[data-theme="light"]{color-scheme:light;--ink:#f6f2eb;--surface:#fffaf2;--surface-raised:#eee7dd;--border:#ded3c5;--border-strong:#c9bbaa;--text:#25221f;--text-muted:#605952;--text-faint:#857970;--accent:#875b27;--accent-strong:#80511c;--accent-soft:rgba(135,91,39,.12)}
html[data-theme="light"] .v21-hero{background:radial-gradient(circle at 80% 35%,rgba(178,119,55,.17),transparent 42%),var(--ink)}
html[data-theme="light"] .site-search{background:rgba(32,25,16,.66)}
@media(max-width:800px){.home-discover__grid{grid-template-columns:1fr}.home-discover__card{min-height:155px}.nav__utility{margin-left:0;align-self:flex-start}.nav__links.is-open{max-height:85vh;overflow:auto}}
@media(min-width:801px){.nav__utility{margin-left:auto}}
