:root {
  --font-display: 'Crimson Pro', serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --navy: #102d46;
  --navy-deep: #092238;
  --azure: #168bc0;
  --azure-light: #d9f1f6;
  --seafoam: #bfe3db;
  --sand: #f3e7d0;
  --sand-pale: #fbf6ed;
  --gold: #c9863b;
  --ink: #193047;
  --muted: #667785;
  --line: rgba(16, 45, 70, .15);
  --white: #fffdf8;
  --shell: min(1180px, calc(100% - 3rem));
  --shadow: 0 18px 50px rgba(16, 45, 70, .12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 94% 5%, rgba(191, 227, 219, .7), transparent 27rem),
    linear-gradient(180deg, var(--sand-pale) 0%, #eef7f5 55%, var(--sand-pale) 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  position: fixed;
  inset: 0 0 auto;
  height: 10px;
  content: '';
  background: var(--gold);
  z-index: 20;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: relative;
  z-index: 10;
  padding: 2.25rem 0 1.35rem;
  background: rgba(251, 246, 237, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
}
.header-inner, .shell { width: var(--shell); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--navy);
  text-decoration: none;
}
.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
}
.brand-name { font-family: var(--font-display); font-size: clamp(1.45rem, 2vw, 1.8rem); font-weight: 700; line-height: .9; letter-spacing: -.03em; }
.brand-name small { display: block; margin-top: .32rem; color: var(--azure); font: 600 .58rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.25rem;
}
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  padding: .6rem .85rem;
  border-radius: 999px;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--navy); color: var(--white); }
.header-cta { color: var(--gold) !important; }

.hero { padding: clamp(3.8rem, 8vw, 7rem) 0 4rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--azure);
  font: 700 .7rem/1 var(--font-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before, .section-kicker::before { width: 2rem; height: 2px; content: ''; background: currentColor; }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em; line-height: .95; }
h1 { max-width: 10ch; margin-top: 1.25rem; font-size: clamp(3.7rem, 7.2vw, 7.2rem); }
h2 { font-size: clamp(2.4rem, 4.4vw, 4.5rem); }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
.hero-copy { max-width: 34rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.95rem;
  padding: .65rem 1.2rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { background: var(--azure); border-color: var(--azure); transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--navy); }
.button.secondary:hover { color: var(--white); }
.hero-art { position: relative; min-height: 32rem; }
.hero-art::before { position: absolute; inset: 11% 6% 0 8%; border: 1px solid rgba(16, 45, 70, .18); border-radius: 48% 48% 4% 4%; content: ''; transform: rotate(4deg); }
.hero-photo { position: absolute; inset: 2% 10% 8% 15%; overflow: hidden; border-radius: 48% 48% 8% 8%; background: var(--azure-light); box-shadow: var(--shadow); transform: rotate(-3deg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-sticker { position: absolute; right: 0; bottom: 5%; display: grid; place-items: center; width: 7.8rem; height: 7.8rem; padding: 1rem; border-radius: 50%; background: var(--gold); color: var(--white); font: 700 .7rem/1.35 var(--font-mono); letter-spacing: .08em; text-align: center; text-transform: uppercase; transform: rotate(9deg); }
.hero-sticker span { display: block; font-family: var(--font-display); font-size: 2.1rem; letter-spacing: -.05em; }

.section { padding: 4.5rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-head p { max-width: 30rem; margin: 0; color: var(--muted); }
.section-dark { background: var(--navy); color: var(--sand-pale); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-kicker { color: var(--seafoam); }
.section-dark .section-head p { color: #c1d2d8; }
.section-sand { background: var(--sand); }

.rail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; gap: 2.5rem; align-items: start; }
.rail-layout:has([data-side-links][hidden]) { grid-template-columns: minmax(0, 1fr); }
[data-side-links][hidden] { display: none; }
.side-links { position: sticky; top: 1.5rem; padding: 1rem 0 0 1rem; border-left: 2px solid var(--gold); }
.side-links h2 { margin-bottom: 1rem; font: 700 .7rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.side-links ol { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.side-links a { color: var(--muted); font-size: .77rem; text-decoration: none; }
.side-links a:hover { color: var(--azure); }

.news-grid, .archive-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.4rem; align-items: start; }
.story-card { min-width: 0; }
.story-image { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 13px; background: var(--azure-light); }
.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover .story-image img { transform: scale(1.05); }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: 1rem; color: var(--azure); font: 700 .66rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.category-label { color: var(--gold); }
.story-card h3 { margin-top: .5rem; font-size: clamp(1.55rem, 2.1vw, 2.1rem); }
.story-card h3 a { text-decoration: none; }
.story-card h3 a:hover { color: var(--azure); }
.story-card p { margin: .6rem 0 0; color: var(--muted); font-size: .92rem; }
.story-author { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; color: var(--muted); font-size: .74rem; }
.story-author-avatar { width: 1.5rem; height: 1.5rem; border-radius: 50%; object-fit: cover; }
.empty-state { margin: 0; padding: 1.5rem; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }

.feature-feed { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(16rem, .75fr); gap: 1.5rem; align-items: start; }
.feature-feed .story-card:first-child .story-image { aspect-ratio: 16 / 10; }
.feature-feed .story-card:first-child h3 { font-size: clamp(2rem, 3vw, 3.1rem); }
.news-strip { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.22); }
.news-strip .story-card { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; }
.news-strip .story-image { aspect-ratio: 1; }
.news-strip .story-meta { margin-top: 0; }
.news-strip .story-card h3 { color: var(--white); font-size: 1.4rem; }

.menu-intro { max-width: 42rem; margin-bottom: 2.2rem; color: var(--muted); font-size: 1.05rem; }
.menu-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 3rem; padding: 2rem; border: 1px solid var(--line); background: rgba(255, 253, 248, .62); }
.menu-group { padding: 1rem 0 1.3rem; border-bottom: 1px solid var(--line); }
.menu-group:nth-last-child(-n+2) { border-bottom: 0; }
.menu-group h3 { margin-bottom: 1.2rem; color: var(--azure); font-size: 2rem; }
.menu-item { display: flex; justify-content: space-between; gap: 1.5rem; margin: .9rem 0; }
.menu-item strong { display: block; font-size: .9rem; }
.menu-item small { display: block; margin-top: .15rem; color: var(--muted); font-size: .77rem; }
.menu-price { color: var(--gold); font: 700 .85rem var(--font-mono); white-space: nowrap; }
.callout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; padding: 2.7rem; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.callout h2 { color: var(--white); }
.callout p { color: #c1d2d8; }
.callout-art { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 50% 12px 50% 12px; background: var(--azure); }
.callout-art img { width: 100%; height: 100%; object-fit: cover; }

.page-hero { padding: 4.5rem 0 3rem; }
.page-hero h1 { max-width: 13ch; font-size: clamp(3.4rem, 7vw, 6.7rem); }
.page-hero p { max-width: 38rem; margin: 1.25rem 0 0; color: var(--muted); font-size: 1.05rem; }
.archive-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; padding: 1rem; border: 1px solid var(--line); background: rgba(255, 253, 248, .75); }
.archive-toolbar input { min-width: min(100%, 20rem); padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); }
.filter-list { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.filter-list a { padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .72rem; text-decoration: none; }
.filter-list a:hover, .filter-list a[aria-current="true"] { border-color: var(--azure); color: var(--azure); }

.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.value-card { padding: 1.5rem; border-top: 4px solid var(--azure); background: rgba(255, 253, 248, .74); }
.value-card:nth-child(2) { border-color: var(--gold); }
.value-card:nth-child(3) { border-color: var(--seafoam); }
.value-card span { color: var(--gold); font: 700 .7rem var(--font-mono); }
.value-card h3 { margin-top: 2rem; font-size: 2rem; }
.value-card p { margin-bottom: 0; color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.timeline article { padding: 1.4rem 1.2rem 0 0; border-right: 1px solid var(--line); }
.timeline article:not(:first-child) { padding-left: 1.2rem; }
.timeline article:last-child { border: 0; }
.timeline b { color: var(--azure); font: 700 .72rem var(--font-mono); }
.timeline h3 { margin-top: .8rem; font-size: 1.7rem; }
.timeline p { color: var(--muted); font-size: .88rem; }

.article-layout { padding: 4rem 0 6rem; }
.byline { display: flex; align-items: center; gap: .85rem; margin: 0 auto 1.8rem; max-width: 46rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.byline img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; background: var(--azure-light); }
.byline strong { display: block; font-size: .85rem; }
.byline p { margin: .1rem 0 0; color: var(--muted); font-size: .75rem; }
.article-content { max-width: 52rem; margin-inline: auto; }
.article-header h1 { max-width: 15ch; margin: .7rem 0 1rem; font-size: clamp(3rem, 6vw, 6rem); }
.article-deck { color: var(--muted); font-size: 1.18rem; }
.article-cover { width: 100%; max-height: 34rem; margin: 2rem 0; object-fit: cover; border-radius: var(--radius); }
.prose { max-width: 46rem; margin-inline: auto; }
.prose p, .prose li { color: #334958; font-size: 1.08rem; line-height: 1.85; }
.prose p { margin: 1.5rem 0; }
.prose h2, .prose h3 { margin: 2.7rem 0 1rem; }
.prose h2 { font-size: 2.5rem; }
.prose a { color: var(--azure); text-decoration-thickness: .1em; text-underline-offset: .2em; }
.prose ul { padding-left: 1.4rem; }
.article-inline { margin: 2rem 0; border-radius: 12px; }
.category-content { padding: 4rem 0 6rem; }
.category-content h1 { max-width: 12ch; }
.category-content > p { max-width: 38rem; color: var(--muted); }

.not-found { min-height: 58vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { max-width: none; font-size: clamp(4rem, 12vw, 10rem); }
.not-found p { max-width: 28rem; margin: 1rem auto 1.5rem; color: var(--muted); }

.site-footer { padding: 3rem 0 2rem; background: var(--navy-deep); color: #c1d2d8; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-name small { color: var(--seafoam); }
.site-footer h2 { margin-bottom: .8rem; color: var(--white); font: 700 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.site-footer p { margin: 0; font-size: .82rem; }
.site-footer a { color: var(--seafoam); text-decoration: none; }
.footer-note { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .72rem; }

@media (max-width: 850px) {
  :root { --shell: min(100% - 2rem, 700px); }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); padding: .6rem; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; background: var(--sand-pale); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { text-align: center; }
  .hero-grid, .feature-feed, .callout { grid-template-columns: 1fr; }
  .hero-art { min-height: 26rem; order: -1; }
  .hero h1 { font-size: clamp(3.5rem, 15vw, 6rem); }
  .rail-layout, .rail-layout:has([data-side-links][hidden]) { grid-template-columns: 1fr; }
  .side-links { position: static; padding: 1rem 0 0; border-left: 0; border-top: 2px solid var(--gold); }
  .menu-board, .value-grid { grid-template-columns: 1fr; }
  .menu-group:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .menu-group:last-child { border-bottom: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article, .timeline article:not(:first-child) { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .site-header { padding-top: 1.7rem; }
  .hero { padding-top: 3rem; }
  .hero-art { min-height: 21rem; }
  .hero-sticker { width: 6rem; height: 6rem; font-size: .54rem; }
  .hero-sticker span { font-size: 1.5rem; }
  .section-head { display: block; }
  .section-head p { margin-top: .8rem; }
  .news-strip .story-card { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .callout { padding: 1.5rem; }
  .footer-grid, .footer-note { display: block; }
  .footer-grid > * + * { margin-top: 1.5rem; }
  .footer-note > * + * { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
