/* ============================================================
   Edgemind Ventures LLC — Design System
   Boutique executive advisory. Premium, restrained, current.
   ============================================================ */

:root {
  --ink: #0B1220;
  --navy: #0F172A;
  --navy-2: #111C33;
  --slate: #46566B;
  --slate-light: #6B7A8F;
  --paper: #FCFAF5;
  --sand: #F6F1E7;
  --sand-deep: #EFE7D8;
  --white: #FFFFFF;
  --hairline: #E4DECF;
  --hairline-dark: rgba(255, 255, 255, 0.12);
  --accent: #0E8AC8;
  --accent-bright: #0EA5E9;
  --accent-soft: #E0F2FE;
  --gold: #B08D4A;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1180px;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 32px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 2px 4px rgba(15, 23, 42, 0.06), 0 18px 48px rgba(15, 23, 42, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-soft); color: var(--navy); }

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--accent-bright); }

/* ---------- Typography ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 480;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.12;
}

h1 { font-size: clamp(40px, 5.4vw, 66px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--slate);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark p, .on-dark .lede { color: rgba(226, 232, 240, 0.82); }
.on-dark .eyebrow { color: #C9A96A; }
.on-dark .eyebrow::before, .on-dark .eyebrow.centered::after { background: #C9A96A; }

/* ---------- Layout ---------- */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(22px, 4vw, 48px); }

section { padding: clamp(72px, 9vw, 128px) 0; }
section.tight { padding: clamp(52px, 6vw, 84px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.band-sand { background: var(--sand); }
.band-dark { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 245, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--hairline);
  box-shadow: 0 1px 24px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 560;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--navy); }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.main-nav a:hover { color: var(--navy); background: rgba(15, 23, 42, 0.045); }
.main-nav a.active { color: var(--navy); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-cta { margin-left: 14px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.24);
}

.btn-ghost { border-color: var(--hairline); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sand); color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28); }

.btn-sm { padding: 10px 22px; font-size: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.text-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--accent); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(72px, 9vw, 130px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.hero h1 { margin: 0 0 26px; }
.hero h1 .accent-line { color: var(--gold); font-style: italic; font-weight: 420; }
.hero .lede { margin-bottom: 40px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }

.hero-note {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.hero-note div strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 560;
  color: var(--navy);
  margin-bottom: 3px;
}
.hero-note div span { font-size: 13.5px; color: var(--slate-light); }

/* Inner page hero */
.page-hero {
  padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 90px);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(36px, 4.6vw, 58px); max-width: 18ch; }
.page-hero .lede { margin-top: 24px; }

/* ---------- Credibility strip ---------- */

.cred-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--white); }
.cred-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cred-item {
  padding: 30px 28px;
  border-left: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cred-item:first-child { border-left: none; padding-left: 0; }
.cred-item .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  font-weight: 560;
}
.cred-item p { font-size: 14.5px; line-height: 1.5; color: var(--slate); font-weight: 500; }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: #D8D0BC; }

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sand);
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.card .icon svg { width: 22px; height: 22px; stroke: var(--navy); }

.card h3 { margin-bottom: 12px; }
.card p { font-size: 15.5px; line-height: 1.65; }
.card .text-link { margin-top: auto; padding-top: 22px; }

.card ul { list-style: none; margin-top: 16px; }
.card ul li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 15px;
  line-height: 1.55;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 12px;
  height: 1.5px;
  background: var(--gold);
}

.card.dark {
  background: var(--navy);
  border-color: rgba(255,255,255,0.08);
}
.card.dark h3 { color: var(--white); }
.card.dark p, .card.dark li { color: rgba(226,232,240,0.8); }

/* ---------- Service pillars (two-column rows) ---------- */

.pillar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(44px, 5vw, 64px) 0;
  border-top: 1px solid var(--hairline);
}
.pillar:last-of-type { border-bottom: 1px solid var(--hairline); }
.pillar .index {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  font-weight: 560;
  margin-bottom: 14px;
}
.pillar h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 16px; }
.pillar .deliverables {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
  align-self: start;
}
.pillar .deliverables h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 14px;
}
.pillar .deliverables ul { list-style: none; }
.pillar .deliverables li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 15px;
  line-height: 1.5;
  border-top: 1px solid #F0EBDE;
}
.pillar .deliverables li:first-child { border-top: none; }
.pillar .deliverables li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Process strip ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.process .step {
  padding: 32px 26px;
  border-left: 1px solid var(--hairline);
  transition: background 0.3s var(--ease);
}
.process .step:first-child { border-left: none; }
.process .step:hover { background: var(--sand); }
.process .step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  font-weight: 560;
  margin-bottom: 12px;
}
.process .step strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 560;
  color: var(--navy);
  margin-bottom: 8px;
}
.process .step p { font-size: 13.5px; line-height: 1.55; color: var(--slate-light); }

/* ---------- Principles list ---------- */

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(40px, 6vw, 80px); }
.principle {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline-dark);
}
.principle .p-num {
  font-family: var(--serif);
  font-size: 16px;
  color: #C9A96A;
  font-weight: 560;
  flex: none;
  padding-top: 2px;
}
.principle strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 560;
  color: var(--white);
  margin-bottom: 6px;
}
.principle p { font-size: 15px; line-height: 1.6; }

.on-light .principle { border-top-color: var(--hairline); }
.on-light .principle .p-num { color: var(--gold); }
.on-light .principle strong { color: var(--navy); }

/* ---------- Engagements ---------- */

.engagement {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(30px, 3.4vw, 44px);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.engagement:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.engagement .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.engagement h3 { margin-bottom: 10px; }
.engagement p { font-size: 15.5px; }

.disclaimer {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate-light);
  border-left: 2px solid var(--hairline);
  padding-left: 18px;
  max-width: 70ch;
}

/* ---------- Founder ---------- */

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.founder-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4 / 4.6;
  display: grid;
  place-items: center;
}
.founder-visual svg { width: 100%; height: 100%; }
.founder-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.founder-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.fact {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 20px 22px;
  background: var(--white);
}
.fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 560;
  color: var(--navy);
  margin-bottom: 4px;
}
.fact span { font-size: 13.5px; color: var(--slate-light); line-height: 1.5; display: block; }

/* ---------- Stats / quote ---------- */

.pull-quote {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 440;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.01em;
  max-width: 26ch;
}
.pull-quote em { color: var(--gold); font-style: italic; }

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { margin-top: 14px; max-width: 52ch; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.contact-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: clamp(32px, 3.6vw, 46px);
  color: rgba(226,232,240,0.85);
}
.contact-card h3 { color: var(--white); margin-bottom: 26px; }
.contact-card .row {
  padding: 18px 0;
  border-top: 1px solid var(--hairline-dark);
}
.contact-card .row:first-of-type { border-top: none; padding-top: 0; }
.contact-card .row .label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A96A;
  display: block;
  margin-bottom: 6px;
}
.contact-card .row a { color: var(--white); font-weight: 500; }
.contact-card .row a:hover { color: var(--accent-bright); }
.contact-card .row p { font-size: 15.5px; line-height: 1.6; color: rgba(226,232,240,0.85); }

.form-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(32px, 3.6vw, 46px);
  box-shadow: var(--shadow-card);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--slate-light); margin-top: 16px; line-height: 1.55; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(203, 213, 225, 0.72);
  padding: clamp(56px, 7vw, 88px) 0 40px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline-dark);
}
.footer-brand .brand { color: var(--white); margin-bottom: 18px; }
.footer-brand p { line-height: 1.7; max-width: 40ch; }
.site-footer h5 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C9A96A;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(203, 213, 225, 0.72); }
.site-footer ul a:hover { color: var(--white); }
.footer-legal {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.62);
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .engagement, .btn { transition: none; }
}

/* ---------- Background ornaments ---------- */

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
  background-size: 90px 100%;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr 1fr; }
  .process .step { border-top: 1px solid var(--hairline); }
  .process .step:nth-child(-n+2) { border-top: none; }
  .process .step:nth-child(odd) { border-left: none; }
  .cred-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .cred-item:nth-child(odd) { border-left: none; padding-left: 0; }
  .cred-item { padding-top: 22px; padding-bottom: 22px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .founder-grid, .contact-grid { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; gap: 28px; }
  .principles { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process .step { border-left: none; border-top: 1px solid var(--hairline); }
  .process .step:first-child { border-top: none; }
  .cred-strip .wrap { grid-template-columns: 1fr; }
  .cred-item { border-left: none; padding-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .founder-facts { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 10px; font-size: 16px; }
  .nav-cta { margin: 10px 0 0; justify-content: center; }
  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
