/* ============================================================
   MIROVA — warm stone (light)
   sandstone ground · deep ink type · shifting accent per section
   palette switchable via body[data-palette]
   ============================================================ */

:root {
  /* LIGHT MINIMAL (default) — purple-lavender brand */
  --bg: #FBFAFC;        /* near-white w/ faint lavender cast */
  --bg-2: #F4F1FA;      /* card bg */
  --bg-3: #EDE8F7;      /* elevated card / hover */
  --line: rgba(30,20,50,0.08);
  --line-2: rgba(30,20,50,0.16);

  --cream: #1A1530;     /* deep purple-ink for text */
  --cream-2: #3B3458;
  --cream-3: #6B6485;
  --cream-4: #A29CB8;

  --brand: #8B7BF7;     /* logo purple */
  --brand-deep: #6B5CE6;
  --coral: #FF6B5C;     /* logo dot */

  --accent: var(--brand);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --dw: 300;
  --dt: -0.035em;

  --grain-op: 0.25;
  --grain-blend: multiply;
}

/* All palette/scene/global styles are scoped to #mirova-landing below */

#mirova-landing .display { font-family: var(--f-display); font-weight: var(--dw); letter-spacing: var(--dt); line-height: 0.95; }
#mirova-landing .mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-3); }

/* ============ NAV ============ */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .4s ease, padding .4s ease;
}
nav.top.scrolled { border-color: var(--line); padding: 14px 40px; }

.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 400; font-size: 24px;
  letter-spacing: var(--dt); color: var(--cream);
}
.brand-mark { width: 28px; height: 28px; color: var(--brand); transition: color 1.4s ease; }
.brand-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.logo-mark .lw { animation: wave-pulse 2.2s ease-in-out infinite; transform-origin: 16px 16px; }
.logo-mark .lw2 { animation-delay: 0.4s; }
@keyframes wave-pulse { 0%,100% { opacity: 0.3; transform: scaleX(1); } 50% { opacity: 1; transform: scaleX(1.15); } }
.logo-mark .lrec { animation: rec-blink 1.4s ease-in-out infinite; transform-origin: 9px 7px; }
@keyframes rec-blink { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.85); } }

nav.top ul { display: flex; gap: 36px; list-style: none; font-size: 13px; }
nav.top ul a {
  position: relative; padding: 6px 2px; color: var(--cream-3);
  transition: color .2s;
}
nav.top ul a:hover { color: var(--cream); }
nav.top ul a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent); transition: right .45s cubic-bezier(.7,0,.2,1);
}
nav.top ul a:hover::after { right: 0; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-size: 13px; font-weight: 500;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: all .3s cubic-bezier(.7,0,.2,1);
  background: transparent; font-family: var(--f-body); color: var(--cream);
}
.btn .arrow { transition: transform .35s cubic-bezier(.7,0,.2,1); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--cream); color: var(--bg); }
.btn-primary:hover { background: var(--cream-2); color: var(--bg); transform: translateY(-1px); }
.btn-accent {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: var(--accent);
  border-color: color-mix(in oklab, var(--accent) 50%, transparent);
}
.btn-accent:hover { background: color-mix(in oklab, var(--accent) 28%, transparent); }
.btn-ghost { border-color: var(--line-2); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-sm { padding: 9px 16px; font-size: 12px; }

/* ============ SECTIONS ============ */
#mirova-landing section { position: relative; z-index: 2; padding: 160px 40px; }
.wrap { max-width: 1320px; margin: 0 auto; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  padding: 180px 40px 80px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}

/* big soft orb behind hero — center stage visual */
.orb {
  position: absolute; left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  width: min(82vh, 900px); aspect-ratio: 1;
  pointer-events: none; z-index: 0;
}
.orb::before, .orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 32%, transparent) 0%, transparent 62%);
  filter: blur(40px);
  animation: orb-pulse 8s ease-in-out infinite;
}
.orb::after {
  inset: 12%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 55%, transparent) 0%, transparent 58%);
  filter: blur(22px);
  animation-delay: -4s;
  animation-duration: 6s;
}
@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}
.orb-ring {
  position: absolute; inset: 18%;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  animation: orb-breathe 7s ease-in-out infinite;
}
.orb-ring:nth-child(2) { inset: 28%; animation-delay: -2s; border-color: color-mix(in oklab, var(--accent) 30%, transparent); }
.orb-ring:nth-child(3) { inset: 38%; animation-delay: -4s; border-color: color-mix(in oklab, var(--accent) 20%, transparent); }
@keyframes orb-breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.04); opacity: 0.5; }
}

.hero-top {
  max-width: 1320px; margin: 0 auto 60px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  position: relative; z-index: 3;
}
.hero-top .mtr { text-align: right; }
.hero-top .mtc { text-align: center; }
.hero-top span { display: block; line-height: 1.7; }

.hero-headline {
  text-align: center;
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(36px, 11.5vw, 190px); line-height: 0.92;
  letter-spacing: var(--dt);
  max-width: 1500px; margin: 0 auto;
  position: relative; z-index: 3;
  color: var(--cream);
}
.hero-headline .line { display: block; overflow: hidden; padding: 0.04em 0; }
.hero-headline .line > span {
  display: inline-block; transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.hero-headline .line.in > span { transform: translateY(0); }
.hero-headline .line:nth-child(2) > span { transition-delay: .12s; }
.hero-headline em { font-style: italic; color: var(--accent); }

.hero-sub {
  text-align: center; margin: 44px auto 0; max-width: 560px;
  font-size: 16px; color: var(--cream-2); line-height: 1.6;
  position: relative; z-index: 3;
}

.hero-paths {
  max-width: 1320px; margin: 90px auto 0; width: 100%;
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0;
  border-top: 1px solid var(--line); padding-top: 40px;
  position: relative; z-index: 3;
}
.hero-path { padding: 20px 40px; cursor: pointer; transition: all .45s ease; }
.hero-path:first-child { padding-left: 0; }
.hero-path:last-child { padding-right: 0; }
.hero-path-div { background: var(--line); }
.hero-path .lbl {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream-3); margin-bottom: 14px;
  display: flex; justify-content: space-between;
}
.hero-path h3 {
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(26px, 3vw, 40px); line-height: 1.05;
  letter-spacing: var(--dt); margin-bottom: 14px; color: var(--cream);
}
.hero-path h3 em { font-style: italic; color: var(--accent); }
.hero-path p { font-size: 15px; color: var(--cream-2); max-width: 420px; margin-bottom: 20px; }
.hero-path .enter { font-size: 13px; display: inline-flex; gap: 8px; align-items: center; color: var(--cream); font-weight: 500; }
.hero-path .enter .arrow { transition: transform .4s cubic-bezier(.7,0,.2,1); }
.hero-path:hover { padding-left: 50px; }
.hero-path:last-child:hover { padding-left: 40px; padding-right: 30px; }
.hero-path:hover .enter .arrow { transform: translateX(6px); }

/* ============ TRUST ============ */
.trust { padding: 50px 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.trust-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.mq-track { display: flex; gap: 60px; animation: scroll 50s linear infinite; width: max-content; }
.mq-item {
  font-family: var(--f-display); font-style: italic; font-size: 22px; font-weight: 300;
  letter-spacing: -0.01em; color: var(--cream-2); white-space: nowrap; display: flex; gap: 60px; align-items: center;
}
.mq-item::after { content: "·"; color: var(--cream-4); font-style: normal; }
.mq-item:nth-child(7n + 1) { color: var(--accent); }
.mq-item:nth-child(7n + 2) { color: #6b5ce6; }
.mq-item:nth-child(7n + 3) { color: #5c7be6; }
.mq-item:nth-child(7n + 4) { color: #b668e6; }
.mq-item:nth-child(7n + 5) { color: #ff6b5c; }
.mq-item:nth-child(7n + 6) { color: #7c6fe6; }
.mq-item:nth-child(7n + 7) { color: #8b7bf7; }
@keyframes scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ============ CAPABILITIES ============ */
.capabilities { padding: 110px 40px 70px; }
.cap-head { margin-bottom: 50px; }
.cap-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  padding-top: 14px;
}
.cap-grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 10%, var(--line) 90%, transparent 100%);
}
.cap-card {
  border: none;
  background: transparent;
  padding: 6px 6px 4px;
  text-align: center;
  transition: transform .45s cubic-bezier(.7,0,.2,1);
}
.cap-card:hover { transform: translateY(-6px); }
.cap-icon {
  position: relative;
  width: 64px; height: 64px; border-radius: 999px; margin: 0 auto 10px;
  display: grid; place-items: center;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line));
  color: var(--accent);
  background:
    radial-gradient(65% 65% at 35% 30%, color-mix(in oklab, var(--accent) 18%, white), transparent 75%),
    color-mix(in oklab, var(--accent) 8%, var(--bg));
  box-shadow:
    0 8px 18px color-mix(in oklab, var(--accent) 14%, transparent),
    inset 0 0 0 1px color-mix(in oklab, var(--accent) 12%, transparent);
  animation: cap-float 8.5s ease-in-out infinite;
}
.cap-icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent);
  opacity: .55;
  animation: cap-ring 7s ease-in-out infinite;
}
.cap-card:nth-child(2) .cap-icon { animation-delay: -1.1s; }
.cap-card:nth-child(3) .cap-icon { animation-delay: -2.0s; }
.cap-card:nth-child(4) .cap-icon { animation-delay: -2.8s; }
.cap-card:nth-child(5) .cap-icon { animation-delay: -3.7s; }
.cap-card:nth-child(6) .cap-icon { animation-delay: -4.4s; }
.cap-card:nth-child(7) .cap-icon { animation-delay: -5.2s; }
.cap-glyph { width: 26px; height: 26px; transform-origin: 50% 50%; animation: cap-breathe 6.8s ease-in-out infinite; }
.cap-card:nth-child(odd) .cap-glyph { animation-delay: -2.2s; }
.cap-card h4 {
  font-size: 14px;
  line-height: 1.3;
  color: var(--cream);
  font-weight: 500;
  letter-spacing: -0.01em;
}
@keyframes cap-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes cap-breathe {
  0%, 100% { transform: scale(1); opacity: .92; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes cap-ring {
  0%, 100% { transform: scale(1); opacity: .45; }
  50% { transform: scale(1.08); opacity: .15; }
}

/* ============ PRIVACY CORE ============ */
.privacy-core { padding-top: 70px; padding-bottom: 120px; }
.privacy-sub {
  max-width: 760px;
  margin: -44px 0 38px 260px;
  color: var(--cream-2);
  font-size: clamp(15px, 1.8vw, 17px);
}
.privacy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.privacy-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 30px;
  min-height: 280px;
  transition: transform .35s cubic-bezier(.7,0,.2,1), box-shadow .35s;
}
.privacy-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(20,20,35,0.08); }
.privacy-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  border: 1px solid var(--line-2);
  background: color-mix(in oklab, var(--accent) 8%, var(--bg));
  color: var(--accent);
}
.privacy-icon svg { width: 25px; height: 25px; }
.privacy-card h3 {
  font-family: var(--f-display);
  font-weight: var(--dw);
  letter-spacing: var(--dt);
  font-size: 34px;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 14px;
}
.privacy-card p { color: var(--cream-2); font-size: 15px; max-width: 320px; }

/* ============ AVAILABILITY ============ */
.availability {
  padding: 70px 40px 35px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.avail-wrap { text-align: center; }
.avail-title {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 34px;
  color: var(--cream-2);
  margin-bottom: 20px;
  letter-spacing: var(--dt);
}
.avail-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.avail-badges a {
  display: inline-flex;
  transition: transform .35s cubic-bezier(.7,0,.2,1);
}
.avail-badges a:hover { transform: translateY(-3px); }
.avail-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 180px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--cream);
}
.avail-pill strong {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream-3);
}
.avail-pill em {
  font-style: normal;
  font-family: var(--f-display);
  letter-spacing: var(--dt);
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1;
}

/* ============ SECTION HEADS ============ */
.section-head {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px;
  margin-bottom: 90px; align-items: start;
}
.section-head .num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cream-3);
  padding-top: 14px; border-top: 1px solid var(--cream-3);
  display: flex; justify-content: space-between;
}
.section-head h2 {
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(40px, 6.2vw, 96px); line-height: 1.0;
  letter-spacing: var(--dt); max-width: 960px; color: var(--cream);
}
.section-head h2 em { font-style: italic; color: var(--accent); }

/* ============ HOW IT WORKS ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 44px 32px 52px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: none; }
.step .sn {
  font-family: var(--f-display); font-size: 64px; color: var(--accent);
  font-weight: var(--dw); line-height: 1; margin-bottom: 28px;
  display: inline-block; font-style: italic;
}
.step h3 {
  font-family: var(--f-display); font-weight: var(--dw); font-size: 30px;
  letter-spacing: var(--dt); margin-bottom: 14px; color: var(--cream);
}
.step p { color: var(--cream-2); font-size: 15px; max-width: 320px; }
.step-visual { margin-top: 36px; height: 120px; }

/* dual-section: reduced top padding vs generic section */
.dual-section { padding-top: 60px; }

/* app placeholder sub-grid */
.app-placeholder-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.app-placeholder-tall { aspect-ratio: 3/4; }

/* dashboard screenshot — browser-style frame */
.dashboard-screenshot {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  box-shadow: 0 12px 48px rgba(26,21,48,0.08), 0 2px 8px rgba(26,21,48,0.04);
  transition: transform .4s cubic-bezier(.7,0,.2,1), box-shadow .4s cubic-bezier(.7,0,.2,1);
}
.dashboard-screenshot:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(26,21,48,0.12), 0 4px 12px rgba(26,21,48,0.06);
}
.dashboard-screenshot-bar {
  flex-shrink: 0;
  height: 32px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}
.dashboard-screenshot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dashboard-screenshot-bar span:nth-child(1) { background: #ff6b5c; opacity: 0.8; }
.dashboard-screenshot-bar span:nth-child(2) { background: #f5a623; opacity: 0.8; }
.dashboard-screenshot-bar span:nth-child(3) { background: #7ed321; opacity: 0.8; }
.dashboard-screenshot img {
  width: 100%;
  display: block;
}

/* product scroll section-head override */
.product-section-head { padding: 0 40px; max-width: 1320px; margin: 0 auto 90px; }

/* ============ DUAL ============ */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dual-col { padding: 80px 50px; position: relative; }
.dual-col:first-child { border-right: 1px solid var(--line); }
.dual-col .eyebrow { margin-bottom: 28px; }
.dual-col h2 {
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02;
  letter-spacing: var(--dt); margin-bottom: 30px; color: var(--cream);
}
.dual-col h2 em { font-style: italic; color: var(--accent); }
.dual-col .aside {
  font-family: var(--f-display); font-style: italic; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.4;
  color: var(--cream); max-width: 440px; margin-bottom: 32px;
  letter-spacing: var(--dt); font-weight: var(--dw);
}
.bullets { list-style: none; margin-bottom: 40px; }
.bullets li {
  display: flex; gap: 16px; padding: 16px 0;
  border-top: 1px solid var(--line); font-size: 15px; color: var(--cream);
}
.bullets li:last-child { border-bottom: 1px solid var(--line); }
.bullets li .bn { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--cream-3); padding-top: 5px; min-width: 28px; }

.app-placeholder {
  margin-top: 40px; background: var(--bg-2); border: 1px solid var(--line-2);
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 14px, color-mix(in oklab, var(--cream) 8%, transparent) 14px, color-mix(in oklab, var(--cream) 8%, transparent) 15px);
}
.app-placeholder .label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream-2);
  background: var(--bg); padding: 8px 14px; border: 1px solid var(--line-2);
}

/* ============ PRODUCT SCROLL ============ */
.product-scroll { padding: 160px 0; overflow: hidden; border-top: 1px solid var(--line); }
.product-scroll .section-head { padding: 0 40px; max-width: 1320px; margin: 0 auto 90px; }
.product-track { display: flex; gap: 28px; padding: 0 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-track::-webkit-scrollbar { display: none; }
.p-card {
  flex: 0 0 540px; scroll-snap-align: start;
  background: var(--bg-2); border: 1px solid var(--line-2);
  padding: 36px; display: flex; flex-direction: column; gap: 18px;
  min-height: 520px; transition: border-color .3s, background .3s;
}
.p-card:hover { border-color: var(--accent); background: var(--bg-3); }
.p-card.featured {
  background: color-mix(in oklab, var(--accent) 14%, var(--bg-3));
  border-color: color-mix(in oklab, var(--accent) 50%, transparent);
}
.p-card h3 {
  font-family: var(--f-display); font-weight: var(--dw); font-size: 32px;
  letter-spacing: var(--dt); line-height: 1.05; color: var(--cream);
}
.p-card h3 em { font-style: italic; color: var(--accent); }
.p-card p { color: var(--cream-2); font-size: 15px; max-width: 440px; }
.p-card .card-ph { flex: 1; margin-top: 16px; min-height: 240px; }

/* product card visuals */
.p-card-visual {
  flex: 1;
  margin-top: 20px;
  background: color-mix(in oklab, var(--accent) 5%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pcv-chip-row { display: flex; }
.pcv-chip {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  padding: 3px 10px;
  border-radius: 99px;
}
.pcv-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pcv-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.8;
}
.pcv-item-track {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.pcv-item-fill {
  height: 100%;
  border-radius: 2px;
  opacity: 0.5;
}
.pcv-item-label {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--cream-3);
  letter-spacing: 0.03em;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.pcv-divider {
  height: 1px;
  background: var(--line);
}
.priv-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.priv-item-label {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}
.pcv-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
}
.pcv-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  opacity: 0.3;
}
/* signal rows */
.pcv-signal {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pcv-signal-header {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pcv-signal-name {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pcv-signal-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--cream-4);
  letter-spacing: 0.03em;
  margin-left: auto;
}
.pcv-signal-track {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.pcv-signal-fill {
  height: 100%;
  border-radius: 2px;
  opacity: 0.5;
}

/* desktop/tablet: show 3 cards without requiring horizontal scroll */
@media (min-width: 901px) {
  .product-track {
    max-width: 1320px;
    margin: 0 auto;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .p-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 460px;
  }

}

/* ============ CHANGES ============ */
.changes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.changes-left { padding-right: 60px; }
.changes-right { border-left: 1px solid var(--line); padding-left: 60px; }
.ch-item {
  padding: 30px 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 60px 1fr auto; gap: 24px; align-items: baseline;
  font-size: 19px; color: var(--cream); letter-spacing: -0.005em;
  transition: padding-left .4s cubic-bezier(.7,0,.2,1);
}
.ch-item:last-child { border-bottom: 1px solid var(--line); }
.ch-item:hover { padding-left: 16px; }
.ch-item .idx { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--cream-3); }
.ch-item em { font-style: italic; color: var(--accent); }
.ch-item .arr { font-family: var(--f-display); font-size: 22px; color: var(--accent); opacity: 0; transition: opacity .3s, transform .3s; }
.ch-item:hover .arr { opacity: 1; transform: translateX(4px); }

.stat-stack { display: grid; grid-template-rows: repeat(3, 1fr); gap: 40px; }
.stat { border-top: 1px solid var(--line); padding-top: 24px; }
.stat .figure {
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(44px, 7.5vw, 112px); line-height: 1; letter-spacing: var(--dt);
  display: flex; align-items: baseline; gap: 8px; color: var(--cream);
}
.stat .figure em { font-style: italic; color: var(--accent); font-size: 0.7em; }
.stat .unit { font-family: var(--f-body); font-size: 18px; color: var(--cream-2); font-weight: 400; }
.stat .caption { margin-top: 12px; font-size: 14px; color: var(--cream-2); max-width: 360px; }

/* ============ PRICING ============ */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-2); }
.price-card { padding: 60px 50px; position: relative; }
.price-card:not(:last-child) { border-right: 1px solid var(--line-2); }
.price-card .eyebrow { margin-bottom: 36px; }
.price-card h3 {
  font-family: var(--f-display); font-weight: var(--dw); font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: var(--dt); margin-bottom: 22px; color: var(--cream);
}
.price-card .price {
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: 88px; letter-spacing: var(--dt); line-height: 1;
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; color: var(--cream);
}
.price-card .price .currency { font-size: 32px; color: var(--cream-2); }
.price-card .price .per { font-family: var(--f-body); font-size: 16px; color: var(--cream-2); font-weight: 400; margin-left: 8px; letter-spacing: 0; }
.price-card .starting { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--cream-3); text-transform: uppercase; margin-bottom: 8px; }
.price-card p.desc { color: var(--cream-2); max-width: 360px; margin: 24px 0 32px; font-size: 15px; }
.price-card .feats { list-style: none; border-top: 1px solid var(--line); margin-top: 32px; }
.price-card .feats li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--cream-2); display: flex; align-items: center; gap: 12px;
}
.price-card .feats li::before { content: ""; width: 12px; height: 1px; background: var(--cream-3); display: inline-block; }

/* ============ ONE IDEA / FINAL ============ */
.one-idea { text-align: center; padding: 180px 40px; }
.one-idea .big {
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(32px, 7vw, 108px); line-height: 1;
  letter-spacing: var(--dt); max-width: 1100px; margin: 0 auto; color: var(--cream);
}
.one-idea .big em { font-style: italic; color: var(--accent); }
.one-idea .small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-3); margin-top: 40px; }

.final { padding: 160px 40px; border-top: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.final h2 {
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(38px, 9.5vw, 148px); line-height: 0.92;
  letter-spacing: var(--dt); max-width: 1100px; margin: 0 auto 40px; color: var(--cream);
}
.final h2 em { font-style: italic; color: var(--accent); }
.final .final-ctas { display: flex; justify-content: center; gap: 16px; margin-top: 40px; }
.final .wave { margin: 60px auto 0; width: 540px; max-width: 90vw; height: 110px; opacity: 0.8; }

/* typewriter emphasis for key orange words */
.typeword {
  display: inline-block;
  min-height: 1.1em;
  white-space: nowrap;
  border-right: 1.5px solid currentColor;
  padding-right: 2px;
  animation: type-caret 0.85s steps(1, end) infinite;
}
@keyframes type-caret {
  0%, 49% { border-right-color: currentColor; }
  50%, 100% { border-right-color: transparent; }
}

/* ============ FOOTER ============ */
footer.foot { padding: 60px 40px 40px; border-top: 1px solid var(--line); background: var(--bg-2); color: var(--cream); position: relative; z-index: 2; }
footer.foot .wrap { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 80px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
footer.foot p.tagline { font-family: var(--f-display); font-style: italic; font-weight: var(--dw); font-size: clamp(17px, 2vw, 22px); line-height: 1.4; margin-top: 20px; color: var(--cream-2); max-width: 420px; letter-spacing: var(--dt); }
footer.foot .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
footer.foot h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 16px; font-weight: 400; }
footer.foot ul { list-style: none; }
footer.foot ul li { padding: 6px 0; font-size: 14px; color: var(--cream-2); }
footer.foot ul li a:hover { color: var(--cream); }
footer.foot .bottom { max-width: 1320px; margin: 24px auto 0; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-3); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }

.parallax { transition: transform .05s linear; will-change: transform; }
.count { display: inline-block; }

/* ============ TWEAKS PANEL ============ */
.tweaks-panel { position: fixed; bottom: 24px; right: 24px; z-index: 100; background: var(--bg-3); color: var(--cream); padding: 18px 20px; border-radius: 10px; font-family: var(--f-body); font-size: 12px; display: none; border: 1px solid var(--line-2); min-width: 260px; }
.tweaks-panel.visible { display: block; }
.tweaks-panel h6 { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 12px; font-weight: 400; }
.tweak-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-row button { background: transparent; border: 1px solid var(--line-2); color: var(--cream); padding: 8px 12px; border-radius: 6px; font-size: 12px; cursor: pointer; font-family: var(--f-body); transition: all .2s; }
.tweak-row button:hover { border-color: var(--cream); }
.tweak-row button.active { background: var(--cream); color: var(--bg); border-color: var(--cream); }

/* ============ RESPONSIVE ============ */

/* --- Tablet & below (≤900px) --- */
@media (max-width: 900px) {
  /* Section spacing */
  #mirova-landing section { padding: 100px 28px; }
  .wrap { padding: 0; }

  /* Orb — scale down and center tighter behind headline */
  .orb { width: min(90vw, 480px); top: 38%; }
  .orb::before { filter: blur(28px); }
  .orb::after { filter: blur(16px); }

  /* Hero */
  .hero { padding: 120px 28px 60px; }
  .hero-top { grid-template-columns: 1fr; gap: 4px; }
  .hero-top .mtr, .hero-top .mtc { text-align: left; }
  .hero-sub { font-size: 15px; max-width: 100%; }
  .hero-paths { grid-template-columns: 1fr; margin-top: 40px; }
  .hero-path-div { display: none; }
  .hero-path { padding: 28px 0; border-top: 1px solid var(--line); }
  .hero-path:hover { padding-left: 0; }
  .hero-path:last-child:hover { padding-left: 0; padding-right: 0; }
  .hero-path h3 { font-size: clamp(22px, 4.5vw, 34px); }
  .hero-path p { font-size: 14px; }

  /* Trust */
  .trust { padding: 36px 28px; }
  .trust-inner { grid-template-columns: 1fr; gap: 16px; }

  /* Section heads */
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head h2 { font-size: clamp(32px, 6.5vw, 72px); }

  /* Capabilities */
  .capabilities { padding: 80px 28px 60px; }
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .cap-grid::before { display: none; }

  /* How it works */
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none !important; border-bottom: 1px solid var(--line); padding: 36px 0; }
  .step:last-child { border-bottom: none; }
  .step .sn { font-size: clamp(40px, 8vw, 64px); }
  .step h3 { font-size: clamp(22px, 4vw, 30px); }

  /* Dual sections */
  .dual-section { padding-top: 40px; }
  .dual { grid-template-columns: 1fr; }
  .dual-col { border-right: none !important; border-bottom: 1px solid var(--line); padding: 48px 0; }
  .dual-col:last-child { border-bottom: none; }
  .dual-col .aside { font-size: 19px; }

  /* Privacy */
  .privacy-core { padding-top: 60px; padding-bottom: 80px; }
  .privacy-sub { margin: 0 0 28px; font-size: 15px; max-width: 100%; }
  .privacy-cards { grid-template-columns: 1fr; }
  .privacy-card h3 { font-size: 26px; }

  /* Product scroll */
  .product-scroll { padding: 80px 0; }
  .product-section-head { padding: 0 28px; margin-bottom: 48px; }
  .product-track { padding: 0 28px; gap: 16px; }
  .p-card { flex: 0 0 min(420px, 80vw); }
  .p-card h3 { font-size: 26px; }

  /* Changes */
  .changes { grid-template-columns: 1fr; }
  .changes-left { padding-right: 0; }
  .changes-right { border-left: none; padding-left: 0; margin-top: 48px; }
  .ch-item { font-size: 16px; }
  .ch-item:hover { padding-left: 0; }
  .stat .figure { font-size: clamp(48px, 10vw, 88px); }

  /* App placeholder grid */
  .app-placeholder-grid { grid-template-columns: 1fr 1fr; }

  /* Pricing */
  .pricing { grid-template-columns: 1fr; }
  .price-card { border-right: none !important; border-bottom: 1px solid var(--line-2); padding: 44px 28px; }
  .price-card:last-child { border-bottom: none; }
  .price-card h3 { font-size: 30px; }
  .price-card .price { font-size: clamp(52px, 10vw, 88px); }

  /* One idea + Final */
  .one-idea { padding: 100px 28px; }
  .final { padding: 100px 28px; }
  .final h2 { font-size: clamp(36px, 7vw, 96px); }
  .final .final-ctas { flex-direction: column; align-items: center; }

  /* Footer */
  footer.foot { padding: 60px 28px 40px; }
  footer.foot .wrap { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  footer.foot .cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  footer.foot .bottom { flex-direction: column; gap: 8px; }
}

/* --- Mobile (≤600px) --- */
@media (max-width: 600px) {
  #mirova-landing section { padding: 80px 20px; }

  /* Hero */
  .hero { padding: 100px 20px 48px; }
  .orb { width: min(85vw, 320px); top: 32%; }
  .orb-ring:nth-child(3) { display: none; }
  .hero-headline { font-size: clamp(36px, 12vw, 64px); }
  .hero-sub { font-size: 14px; padding: 0; }
  .hero-paths { margin-top: 32px; }
  .hero-path h3 { font-size: clamp(20px, 6vw, 28px); }

  /* Capabilities: 2 cols on mobile */
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-card { padding: 20px; }

  /* Steps */
  .step { padding: 28px 0; }

  /* Dual */
  .dual-col { padding: 36px 0; }
  .dual-col .aside { font-size: clamp(16px, 4.5vw, 19px); }
  .app-placeholder-grid { grid-template-columns: 1fr; }

  /* Product track */
  .product-track { padding: 0 20px; }
  .p-card { min-width: min(280px, 80vw); }

  /* Pricing */
  .price-card { padding: 36px 20px; }
  .price-card .price { font-size: clamp(44px, 12vw, 72px); }

  /* Stats */
  .stat .figure { font-size: clamp(44px, 12vw, 72px); }

  /* Footer: all single column */
  footer.foot .cols { grid-template-columns: 1fr; gap: 24px; }
  footer.foot { padding: 48px 20px 32px; }

  /* Availability */
  .avail-pill { padding: 14px 20px; }

  /* One idea + Final */
  .one-idea { padding: 80px 20px; }
  .final { padding: 80px 20px; }
  .final .final-ctas { flex-direction: column; align-items: center; }
}

/* --- Large desktop (≥1200px) --- */
@media (max-width: 1200px) and (min-width: 901px) {
  .price-card { padding: 44px 32px; }
  .price-card .price { font-size: clamp(52px, 5.4vw, 76px); }
  .dual-col { padding: 60px 40px; }
  .step { padding: 44px 24px 52px; }
}

/* ============ REACT SCOPE OVERRIDES ============
   Re-declare all CSS variables scoped to #mirova-landing
   so they don't conflict with Tailwind/globals on other pages
   ============================================== */
#mirova-landing {
  --bg: #FBFAFC;
  --bg-2: #F4F1FA;
  --bg-3: #EDE8F7;
  --line: rgba(30,20,50,0.08);
  --line-2: rgba(30,20,50,0.16);
  --cream: #1A1530;
  --cream-2: #3B3458;
  --cream-3: #6B6485;
  --cream-4: #A29CB8;
  --brand: #8B7BF7;
  --brand-deep: #6B5CE6;
  --coral: #FF6B5C;
  --accent: #8B7BF7;
  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body: -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --dw: 300;
  --dt: -0.035em;
  --grain-op: 0.25;
  --grain-blend: multiply;

  background: var(--bg);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  transition: background-color 1.4s ease;
}

/* palette variants scoped */
#mirova-landing[data-palette="snow"] {
  --bg: #FFFFFF; --bg-2: #F7F5FB; --bg-3: #EFEAF7;
  --line: rgba(30,20,50,0.07); --line-2: rgba(30,20,50,0.14);
  --cream: #14102A; --cream-2: #3B3458; --cream-3: #6F6888; --cream-4: #A8A2BC;
}
#mirova-landing[data-palette="porcelain"] {
  --bg: #F5F3F9; --bg-2: #EDE9F3; --bg-3: #E3DDEF;
  --line: rgba(30,20,50,0.09); --line-2: rgba(30,20,50,0.17);
  --cream: #1A1530; --cream-2: #3B3458; --cream-3: #6B6485; --cream-4: #A29CB8;
}
#mirova-landing[data-palette="mist"] {
  --bg: #F3F4F8; --bg-2: #EAECF2; --bg-3: #DEE1EB;
  --line: rgba(25,30,50,0.08); --line-2: rgba(25,30,50,0.16);
  --cream: #141828; --cream-2: #343A52; --cream-3: #666C82; --cream-4: #9AA0B2;
}
#mirova-landing[data-palette="blush"] {
  --bg: #FAF6F5; --bg-2: #F3EDEC; --bg-3: #EAE1DF;
  --line: rgba(40,20,20,0.08); --line-2: rgba(40,20,20,0.16);
  --cream: #1F1418; --cream-2: #453338; --cream-3: #766068; --cream-4: #A89298;
}

/* typography pairings scoped */
#mirova-landing[data-pairing="newsreader"] { --f-display: "Newsreader", Georgia, serif; --dt: -0.03em; --dw: 300; }
#mirova-landing[data-pairing="grotesk"]    { --f-display: "Space Grotesk", -apple-system, sans-serif; --dt: -0.04em; --dw: 400; }
#mirova-landing[data-pairing="mono"]       { --f-display: "JetBrains Mono", ui-monospace, monospace; --dt: -0.04em; --dw: 400; }

/* scene accents scoped */
#mirova-landing[data-scene="hero"]       { --accent: #8B7BF7; }
#mirova-landing[data-scene="how"]        { --accent: #7C6FE6; }
#mirova-landing[data-scene="individual"] { --accent: #FF6B5C; }
#mirova-landing[data-scene="therapist"]  { --accent: #5C7BE6; }
#mirova-landing[data-scene="product"]    { --accent: #B668E6; }
#mirova-landing[data-scene="changes"]    { --accent: #8B7BF7; }
#mirova-landing[data-scene="pricing"]    { --accent: #6B5CE6; }
#mirova-landing[data-scene="final"]      { --accent: #FF6B5C; }

/* ============ REACT: remap body-level effects to #mirova-landing ============ */

/* ambient radial gradient wash — fixed pseudo so it behaves like body background-attachment:fixed */
#mirova-landing {
  background: var(--bg);
  position: relative;
}

#mirova-landing::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1100px 800px at 80% 5%,  color-mix(in oklab, var(--accent) 12%, transparent), transparent 60%),
    radial-gradient(900px 700px  at 10% 85%, color-mix(in oklab, var(--accent) 8%,  transparent), transparent 55%);
  transition: background-image 1.4s ease;
}

/* film grain overlay */
#mirova-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: var(--grain-blend);
  opacity: var(--grain-op);
}

/* vignette — now a direct child of #mirova-landing */
#mirova-landing > .vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(120% 80% at 50% 50%, transparent 60%, rgba(30,20,50,0.05) 100%);
}

/* ensure main content and vignette sit above the fixed bg layers, but NOT nav (fixed positioned) */
#mirova-landing > main,
#mirova-landing > .tweaks-panel {
  position: relative;
  z-index: 2;
}

/* ============ NAV RESPONSIVE ============ */

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 60;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-left: 1px solid var(--line);
  padding: 80px 32px 40px;
  flex-direction: column;
  gap: 32px;
  z-index: 55;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.7,0,.2,1);
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}
.nav-drawer ul li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  color: var(--cream-3);
  border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.nav-drawer ul li a:hover { color: var(--cream); }

.nav-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.nav-drawer-cta .btn { justify-content: center; }

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 54;
}

@media (max-width: 768px) {
  nav.top { padding: 14px 20px; }
  nav.top.scrolled { padding: 12px 20px; }

  .nav-links-desktop,
  .nav-cta-desktop { display: none !important; }

  .nav-hamburger { display: flex; }

  .nav-drawer { display: flex; }

  .nav-overlay { display: block; }
}
