/* =================================================================
   DEX Decoded — premium editorial styles ("Bone & Ink" + Editorial Luxe)
   Display: Fraunces · Body: Hanken Grotesk
   Warm paper neutrals, one deep green accent, gold used sparingly,
   hairlines over boxes, asymmetric editorial layout, easeful motion.
   ================================================================= */

:root {
  /* ---- Color: Bone & Ink ---- */
  --bg:            #F5F1EA;
  --surface:       #FBF9F5;
  --surface-sunk:  #ECE5D8;
  --ink:           #1C1813;
  --ink-soft:      #4A4238;
  --ink-muted:     #8B8173;
  --line:          #DCD3C3;
  --line-strong:   #C9BFAC;
  --accent:        #34433A;
  --accent-hover:  #283429;
  --on-accent:     #F5F1EA;
  --gold:          #A98B5D;
  --oxblood:       #5E2A2A;
  --focus:         #34433A;

  /* ---- Typography ---- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.50vw, 1.50rem);
  --step-2:  clamp(1.56rem, 1.40rem + 0.85vw, 2.00rem);
  --step-3:  clamp(1.95rem, 1.70rem + 1.30vw, 2.67rem);
  --step-4:  clamp(2.44rem, 2.05rem + 2.00vw, 3.55rem);
  --step-5:  clamp(3.05rem, 2.45rem + 3.05vw, 4.74rem);
  --step-6:  clamp(3.81rem, 2.85rem + 4.80vw, 6.31rem);

  --leading-tight: 1.05;
  --leading-snug:  1.2;
  --leading-body:  1.62;
  --tracking-tight: -0.02em;
  --tracking-wide:  0.16em;

  --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter:    clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --measure:   68ch;
  --maxw:      1180px;

  --radius-sm: 2px; --radius: 6px; --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(28,24,19,0.04), 0 2px 6px rgba(28,24,19,0.05);
  --shadow:    0 10px 30px rgba(28,24,19,0.08), 0 2px 8px rgba(28,24,19,0.05);
  --shadow-lg: 0 24px 60px rgba(28,24,19,0.13);

  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-1: 200ms; --dur-2: 450ms; --dur-3: 750ms;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint paper grain for depth (very subtle) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 460;
  font-optical-sizing: auto;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
strong { font-weight: 600; color: var(--ink); }

/* ---------- A11y ---------- */
.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; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 200; background: var(--ink); color: var(--on-accent); padding: .6rem 1rem; border-radius: var(--radius); transition: top .15s ease; }
.skip-link:focus { top: 12px; color: var(--on-accent); }
:where(a, button, input, summary, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 760px; }
.section { padding-block: var(--section-y); }
.section-alt { background: var(--surface-sunk); }
.center { text-align: center; }
.muted { color: var(--ink-muted); }

.eyebrow {
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 600;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--accent); margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: var(--gold); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head h2 { font-size: var(--step-3); }
.section-sub { color: var(--ink-soft); font-size: var(--step-1); margin: 0; max-width: var(--measure); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--accent); --b-fg: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; line-height: 1;
  padding: .9em 1.6em; border: 1px solid transparent; border-radius: var(--radius);
  background: var(--b-bg); color: var(--b-fg); cursor: pointer; text-decoration: none;
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
  min-height: 44px;
}
.btn:hover { color: var(--b-fg); transform: translateY(-1px); box-shadow: var(--shadow); background: var(--accent-hover); }
.btn:active { transform: translateY(0); }
.btn-primary { --b-bg: var(--accent); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; color: var(--ink); }
.btn-sm { padding: .6em 1.1em; min-height: 40px; font-size: var(--step--1); }
.btn-lg { padding: 1em 1.9em; font-size: var(--step-1); }
.btn-block { width: 100%; }

/* text/underline secondary link */
.post-readmore, .link-arrow {
  font-weight: 600; color: var(--accent); text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size var(--dur-2) var(--ease);
}
.post-readmore:hover, .link-arrow:hover { background-size: 100% 1px; color: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); transition: box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(28,24,19,.02); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-img { width: 30px; height: 30px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -.01em; }
.brand-text small { color: var(--ink-muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }

.nav-menu { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav-menu a:not(.btn) {
  display: inline-block; padding: .5rem .8rem; border-radius: var(--radius);
  color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: var(--step--1);
  letter-spacing: .01em; transition: color var(--dur-1) var(--ease);
}
.nav-menu a:not(.btn):hover { color: var(--ink); }
.nav-cta { margin-left: .6rem; }
.nav-toggle { display: none; }

.header-disclaimer {
  margin: 0; text-align: center; font-size: var(--step--1); color: var(--ink-muted);
  background: var(--surface-sunk); border-top: 1px solid var(--line);
  padding: .5rem 1rem; letter-spacing: .01em;
}

/* ---------- Hero (asymmetric editorial) ---------- */
.blog-hero { position: relative; padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(2.5rem, 1.5rem + 4vw, 5rem); overflow: hidden; }
.blog-hero::after { /* soft warm radial */
  content: ""; position: absolute; top: -30%; right: -10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 22%, transparent), transparent 62%); pointer-events: none; z-index: 0;
}
.blog-hero > .container { position: relative; z-index: 1; max-width: 980px; }
.blog-hero .eyebrow { animation: rise var(--dur-2) var(--ease) both; }
.blog-hero h1 {
  font-size: var(--step-6); font-weight: 420; max-width: 16ch; margin: 0 0 1.5rem;
  animation: rise var(--dur-3) var(--ease) both; animation-delay: 80ms;
}
.blog-hero h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 56ch; animation: rise var(--dur-3) var(--ease) both; animation-delay: 160ms; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 2rem; border-top: 1px solid var(--line);
  animation: rise var(--dur-3) var(--ease) both; animation-delay: 240ms; max-width: 720px;
}
.hero-meta span {
  display: flex; flex-direction: column; gap: .15rem; padding: 1rem 2rem 0 0; margin-right: 2rem;
  font-size: var(--step--1); color: var(--ink-soft);
}
.hero-meta span b { font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); color: var(--ink); letter-spacing: -.01em; }
.hero-affil { margin-top: 1.75rem; font-size: var(--step--1); color: var(--ink-muted); max-width: 62ch; animation: rise var(--dur-3) var(--ease) both; animation-delay: 320ms; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Featured (editorial split) ---------- */
.featured { display: grid; grid-template-columns: 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--dur-2) var(--ease); }
.featured:hover { box-shadow: var(--shadow); }
.featured-cover { margin: 0; overflow: hidden; background: var(--surface-sunk); }
.featured-cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transition: transform var(--dur-3) var(--ease); }
.featured:hover .featured-cover img { transform: scale(1.03); }
.featured-body { padding: clamp(1.75rem, 1rem + 3vw, 3rem); display: grid; align-content: center; gap: .9rem; }
.featured-body h2 { font-size: var(--step-3); margin: 0; }
.featured-body h2 a { color: var(--ink); text-decoration: none; }
.featured-body h2 a:hover { color: var(--accent); }
.featured-body p { color: var(--ink-soft); margin: 0; max-width: 52ch; }

/* ---------- Tags (eyebrow style, no pill fill) ---------- */
.tag { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--ink-muted); display: inline-flex; align-items: center; gap: .5rem; }
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Post grid (editorial, hairline, no equal shadow cards) ---------- */
.post-grid { list-style: none; display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(1.5rem,1rem+2vw,2.5rem); grid-template-columns: 1fr; }
.post-card { display: flex; flex-direction: column; background: transparent; }
.post-cover { margin: 0 0 1.1rem; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-sunk); }
.post-cover img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform var(--dur-3) var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-title { font-size: var(--step-2); font-weight: 460; margin: .1rem 0; line-height: 1.12; }
.post-title a { color: var(--ink); text-decoration: none; transition: color var(--dur-1) var(--ease); }
.post-title a:hover { color: var(--accent); }
.post-excerpt { color: var(--ink-soft); margin: 0; font-size: var(--step-0); flex: 1; max-width: 46ch; }
.post-meta { font-size: var(--step--1); color: var(--ink-muted); margin: .35rem 0 0; font-variant-numeric: tabular-nums; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: var(--step--1); color: var(--ink-muted); padding-top: 1.75rem; letter-spacing: .01em; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Article ---------- */
.article { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) var(--section-y); }
.article-head { max-width: 760px; margin: 0 auto clamp(1.75rem, 1rem + 2vw, 2.5rem); }
.article-head .tag { margin-bottom: 1.25rem; }
.article-title { font-size: var(--step-4); font-weight: 420; margin: 0 0 1rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; color: var(--ink-muted); font-size: var(--step--1); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.article-meta .dot { color: var(--line-strong); }
.dek { max-width: 760px; margin: 0 auto 2.25rem; font-family: var(--font-display); font-weight: 380; font-size: var(--step-2); line-height: 1.35; color: var(--ink-soft); text-wrap: pretty; }

.article-figure { margin: 2.5rem auto; max-width: 800px; }
.article-figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.article-figure figcaption { margin-top: .75rem; font-size: var(--step--1); color: var(--ink-muted); text-align: center; font-style: italic; }

/* ---------- Prose ---------- */
.prose { max-width: var(--measure); margin-inline: auto; font-size: var(--step-0); line-height: var(--leading-body); color: var(--ink-soft); }
.prose > p { margin: 0 0 1.3rem; }
.prose h2 { font-size: var(--step-2); margin: 2.75rem 0 .85rem; color: var(--ink); }
.prose h3 { font-size: var(--step-1); font-weight: 480; margin: 2rem 0 .6rem; color: var(--ink); }
.prose ul { margin: 0 0 1.4rem; padding: 0; list-style: none; display: grid; gap: .65rem; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before { content: ""; position: absolute; left: .1rem; top: .72em; width: .55rem; height: 1px; background: var(--gold); }
.prose blockquote {
  margin: 2rem 0; padding: 1.5rem 0 1.5rem 1.75rem; border-left: 2px solid var(--gold);
  font-family: var(--font-display); font-weight: 380; font-style: italic;
  font-size: var(--step-2); line-height: 1.3; color: var(--ink);
}
.prose blockquote p { margin: 0 0 .5rem; }
.prose blockquote p:last-child { margin: 0; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: text-decoration-color var(--dur-1) var(--ease); }
.prose a:hover { text-decoration-color: var(--accent); }

/* ---------- Callout ---------- */
.callout { max-width: 760px; margin: 2.5rem auto 0; padding: 1.25rem 1.5rem; background: var(--surface-sunk); border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: var(--radius); font-size: var(--step--1); color: var(--ink-soft); }
.callout strong { color: var(--ink); }

/* ---------- Related ---------- */
.related { border-top: 1px solid var(--line); }
.related .section-head { text-align: left; }
.related h2 { font-size: var(--step-2); }

/* ---------- Newsletter / CTA panel ---------- */
.newsletter { background: var(--surface-sunk); }
.cta-card { max-width: 720px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 1rem + 3vw, 3.25rem); }
.newsletter .section-head { text-align: center; margin-inline: auto; margin-bottom: 2rem; }
.newsletter .eyebrow { justify-content: center; }
.newsletter .section-sub { margin-inline: auto; }
.signup-form { display: grid; gap: 1rem; max-width: 440px; margin-inline: auto; }
.field { display: grid; gap: .4rem; text-align: left; }
.field label { font-weight: 600; font-size: var(--step--1); color: var(--ink); }
.field input { font-family: var(--font-body); font-size: var(--step-0); padding: .8rem .95rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--ink); min-height: 48px; }
.field input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.form-consent { font-size: var(--step--1); color: var(--ink-muted); margin: 0; text-align: center; }
.form-status { margin: 0; padding: .8rem 1rem; border-radius: var(--radius); font-weight: 600; text-align: center; font-size: var(--step--1); }
.form-status.is-success { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.form-status.is-error { background: color-mix(in srgb, var(--oxblood) 12%, var(--surface)); color: var(--oxblood); }
.cta-disclaimer { margin: 1.75rem auto 0; max-width: 520px; text-align: center; font-size: var(--step--1); color: var(--ink-muted); }

/* ---------- Glossary ---------- */
.glossary-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0; }
.glossary-item { padding: 1.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.glossary-item:last-child { border-bottom: 1px solid var(--line); }
.glossary-item dt { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: var(--step-1); margin-bottom: .4rem; }
.glossary-item dd { margin: 0; color: var(--ink-soft); max-width: var(--measure); }

/* ---------- Page head (about/legal) ---------- */
.page-head { max-width: 760px; margin: 0 auto clamp(1.75rem, 1rem + 2vw, 2.5rem); }
.page-head h1 { font-size: var(--step-4); font-weight: 420; }

/* ---------- Footer (calm, light, hairline) ---------- */
.site-footer { background: var(--surface-sunk); color: var(--ink-soft); border-top: 1px solid var(--line); padding-block: clamp(3rem, 2rem + 3vw, 5rem) 2.5rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: var(--gutter); width: 40px; height: 2px; background: var(--gold); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer-brand img { width: 32px; height: 32px; }
.footer-brand p { margin: .75rem 0 .25rem; color: var(--ink-soft); }
.footer-brand strong { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
.footer-brand a { color: var(--accent); }
.footer-h { font-family: var(--font-body); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--ink-muted); margin: 0 0 1rem; }
.footer-nav ul { list-style: none; display: grid; gap: .6rem; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-size: var(--step--1); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.footer-disclaimer { font-size: var(--step--1); color: var(--ink-muted); max-width: 90ch; margin-bottom: .75rem; }
.footer-disclaimer strong { color: var(--ink-soft); }
.footer-copy { font-size: var(--step--1); color: var(--ink-muted); margin: 0; font-variant-numeric: tabular-nums; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: 1.25rem; z-index: 150; width: min(680px, calc(100% - 2rem)); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.15rem 1.35rem; }
.cookie-inner { display: grid; gap: .9rem; }
.cookie-text { margin: 0; font-size: var(--step--1); color: var(--ink-soft); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
@media (min-width: 620px) { .cookie-inner { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =================================================================
   Responsive
   ================================================================= */
@media (min-width: 680px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .featured { grid-template-columns: 1.05fr .95fr; }
  .featured-cover img { height: 100%; aspect-ratio: auto; min-height: 360px; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 880px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: .1rem; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .75rem var(--gutter) 1.25rem; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height var(--dur-2) var(--ease), visibility 0s linear var(--dur-2); }
  .nav-menu.is-open { max-height: 80vh; visibility: visible; transition: max-height var(--dur-2) var(--ease); overflow: auto; }
  .nav-menu a:not(.btn) { padding: .8rem .6rem; font-size: var(--step-0); border-bottom: 1px solid var(--line); }
  .nav-cta { margin: .75rem 0 0; }
  .nav-cta .btn { width: 100%; }
}
