:root {
  color-scheme: light; --ink: #17201c; --muted: #667069; --paper: #f4efe4;
  --paper-light: #fbf8f1; --accent: #d84a2f; --line: rgba(23,32,28,.18);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.5; }
a { color: inherit; }
.sticky-header-stack { position: sticky; z-index: 10; top: 0; background: var(--paper); }
.ecosystem-bar { display: flex; align-items: stretch; width: 100%; min-height: 34px; overflow-x: auto; overflow-y: hidden; color: #fff; background: #031827; scrollbar-width: none; }
.ecosystem-bar::-webkit-scrollbar { display: none; }
.ecosystem-bar a { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 34px; padding: 0 .75rem; color: inherit; font-size: .69rem; font-weight: 800; letter-spacing: .03em; line-height: 1; text-decoration: none; white-space: nowrap; }
.ecosystem-bar a:first-child { margin-left: 5vw; }
.ecosystem-bar a + a::before { position: absolute; top: 10px; bottom: 10px; left: 0; width: 1px; background: rgba(255,255,255,.16); content: ''; }
.ecosystem-bar a[aria-current="page"]::after { position: absolute; right: .75rem; bottom: 4px; left: .75rem; height: 3px; background: #ffb000; content: ''; }
.ecosystem-bar a:hover,.ecosystem-bar a:focus-visible { background: rgba(255,255,255,.1); }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 5vw; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand-logo { display: block; width: min(330px,42vw); height: auto; }
.brand-magazine { padding-left: 1rem; border-left: 1px solid var(--line); font-size: .82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.about-link { font-size: .85rem; font-weight: 650; text-underline-offset: .3em; }
.hero { position: relative; min-height: 500px; display: flex; flex-direction: column; justify-content: center; padding: 7rem 8vw 8rem; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::after { position: absolute; right: -5vw; bottom: -18vw; width: min(55vw,720px); aspect-ratio: 1; border: 1px solid rgba(216,74,47,.45); border-radius: 50%; box-shadow: 0 0 0 5vw var(--paper),0 0 0 calc(5vw + 1px) rgba(216,74,47,.25),0 0 0 11vw var(--paper),0 0 0 calc(11vw + 1px) rgba(216,74,47,.15); content: ''; }
.eyebrow { margin: 0 0 1.2rem; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1,h2,h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: .98; }
h1 { position: relative; z-index: 1; max-width: 900px; font-size: clamp(4rem,10vw,9rem); letter-spacing: -.065em; }
.hero-copy { position: relative; z-index: 1; max-width: 40rem; margin: 2.5rem 0 0; color: var(--muted); font-size: clamp(1rem,2vw,1.25rem); }
.archive { padding: 6rem 5vw 8rem; background: var(--paper-light); }
.archive-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 4rem; }
h2 { font-size: clamp(2.8rem,6vw,5rem); letter-spacing: -.045em; }
.search { position: relative; width: min(100%,320px); }
.search svg { position: absolute; top: 50%; left: 0; width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; transform: translateY(-50%); }
.search input { width: 100%; padding: .8rem .5rem .8rem 1.8rem; border: 0; border-bottom: 1px solid var(--ink); outline: 0; background: transparent; color: var(--ink); font: inherit; }
.search input:focus { border-bottom-color: var(--accent); }
.publication-group + .publication-group { margin-top: 6rem; }
.group-heading { margin-bottom: 2.5rem; }
.group-heading .eyebrow { margin-bottom: .65rem; }
.group-heading h3 { font-size: clamp(2rem,4vw,3.5rem); }
.issue-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,240px),1fr)); gap: 4rem 2rem; }
.cover-link { display: block; overflow: hidden; background: #ddd6c8; box-shadow: 0 16px 40px rgba(35,30,20,.13); }
.cover { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .4s ease; }
.cover-link:hover .cover { transform: scale(1.025); }
.vademecum-card .cover { object-fit: contain; }
.issue-meta { padding-top: 1.5rem; }
.issue-label { margin: 0 0 .65rem; color: var(--accent); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.issue-meta h3 { font-size: 1.7rem; line-height: 1.08; }
.issue-description { min-height: 3em; margin: .8rem 0; color: var(--muted); font-size: .9rem; }
.read-action { color: inherit; font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.empty-state { max-width: 760px; padding: 5rem; border: 1px solid var(--line); text-align: center; }
.empty-kicker { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.empty-state h3 { margin: 1rem 0; font-size: clamp(2rem,5vw,3.5rem); }
.empty-state > :last-child { color: var(--muted); }
.error-state,.no-results { padding: 2rem; border: 1px solid var(--accent); }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem 5vw; background: var(--ink); color: var(--paper); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .ecosystem-bar { min-height: 38px; }
  .ecosystem-bar a { min-height: 38px; padding-inline: .625rem; font-size: .64rem; }
  .ecosystem-bar a:first-child { margin-left: 1.25rem; }
  .ecosystem-bar a[aria-current="page"]::after { right: .625rem; left: .625rem; }
  .site-header { padding-inline: 1.25rem; }
  .brand-logo { width: min(240px,52vw); }
  .brand-magazine { padding-left: .75rem; font-size: .7rem; }
  .hero { min-height: 430px; padding: 5rem 1.25rem 6rem; }
  .archive { padding: 4rem 1.25rem 6rem; }
  .archive-heading { align-items: stretch; flex-direction: column; margin-bottom: 3rem; }
  .search { width: 100%; }
  .empty-state { padding: 3rem 1.25rem; }
  footer { align-items: start; flex-direction: column; padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cover { transition: none; } }
