/* ============================================================
   Travel Doctors NA. Dark ink + amber. Cabinet Grotesk / Satoshi.
   Radius system: pill buttons, 18px media, 12px inputs.
   ============================================================ */

:root {
  --ink-950: #080D17;
  --ink-900: #0C1322;
  --ink-800: #111A2E;
  --ink-700: #1B2740;
  --line: rgba(226, 232, 240, 0.08);
  --line-strong: rgba(226, 232, 240, 0.16);
  --text: #EAEEF6;
  --text-2: #9AA5B8;
  --amber: #E8A33D;
  --amber-deep: #C77F1E;
  --on-amber: #171006;
  --radius-media: 18px;
  --font-display: 'Cabinet Grotesk', 'Satoshi', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Satoshi', ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--amber); color: var(--on-amber); }

/* ---------- Curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink-950);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.9s var(--ease-out) 0.15s, opacity 0.4s ease 0.8s;
  transform-origin: top;
  /* Failsafe: if main.js or a CDN never loads, the curtain still leaves after 4s */
  animation: curtainFailsafe 0.01s 4s forwards;
}
@keyframes curtainFailsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.curtain-mark { opacity: 0; animation: markIn 0.5s var(--ease-out) 0.05s forwards; }
@keyframes markIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.curtain.is-done { transform: translateY(-100%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
}

.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 ---------- */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  background: var(--amber); color: var(--on-amber);
  font-weight: 700; font-size: 15px;
  padding: 10px 20px; border-radius: 999px; text-decoration: none;
  transform: translateY(-64px); opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.skip-link:focus-visible { transform: none; opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 15px 30px; border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  cursor: pointer; border: 0;
  transition: transform 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}
.btn:active { transform: scale(0.98); }
.btn i { font-size: 18px; transition: transform 0.25s var(--ease-out); }
.btn:hover i { transform: translateX(3px); }
.btn-primary {
  position: relative; overflow: hidden;
  background: var(--amber); color: var(--on-amber);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 240, 210, 0.55), transparent 60%);
  opacity: 0; transition: opacity 0.25s ease;
  pointer-events: none;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; }
.btn-primary:hover { background: var(--amber-deep); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(17, 26, 46, 0.4);
}
.btn-ghost:hover { border-color: rgba(232, 163, 61, 0.6); }
.btn-xl { padding: 20px 44px; font-size: 18px; }
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 999px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 40px;
  padding: 0 clamp(20px, 4vw, 56px);
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
  /* readable link contrast over the hero photo before any scroll */
  background: linear-gradient(to bottom, rgba(8, 13, 23, 0.62), rgba(8, 13, 23, 0));
}
.nav.is-scrolled {
  background: rgba(8, 13, 23, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
  letter-spacing: -0.01em;
}
.nav-brand em { font-style: normal; color: var(--amber); }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a {
  color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15.5px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.btn-nav { padding: 11px 24px; font-size: 15px; }
.nav-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8, 13, 23, 0.97);
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; gap: 28px;
  padding: 0 32px;
  opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.mobile-menu.is-open {
  opacity: 1; pointer-events: auto;
  visibility: visible; transition-delay: 0s;
}
.mobile-menu a {
  color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 34px;
}
.mobile-menu .btn { font-size: 18px; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; transform-origin: center; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-video.is-playing { opacity: 1; }
.ember-canvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video, .ember-canvas { display: none; }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8, 13, 23, 0.96) 0%, rgba(8, 13, 23, 0.35) 45%, rgba(8, 13, 23, 0.25) 100%),
    linear-gradient(100deg, rgba(8, 13, 23, 0.72) 0%, rgba(8, 13, 23, 0) 60%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1400px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) clamp(64px, 10vh, 120px);
}
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.98; letter-spacing: -0.03em;
  max-width: 12ch;
}
.hero-title .line { display: inline-block; }
.hero-sub {
  margin-top: 26px; max-width: 46ch;
  font-size: clamp(17px, 1.4vw, 20px); color: var(--text-2);
}
.hero-ctas { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.motion-toggle {
  position: absolute; right: 22px; bottom: 22px; z-index: 3;
  width: 44px; height: 44px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 13, 23, 0.55); color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  cursor: pointer; font-size: 18px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.motion-toggle:hover { border-color: rgba(232, 163, 61, 0.6); }
@media (prefers-reduced-motion: reduce) {
  .motion-toggle { display: none; }
}

/* ---------- Stats band ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(36px, 4vw, 56px) clamp(20px, 2.6vw, 40px);
  display: flex; flex-direction: column; gap: 8px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 3.4vw, 52px); letter-spacing: -0.02em;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--text-2); font-size: 15px; line-height: 1.5; max-width: 26ch; }
.stat-src { color: var(--text-2); opacity: 0.85; font-size: 12.5px; }

/* ---------- Manifesto ---------- */
.manifesto {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(110px, 16vh, 190px) clamp(20px, 4vw, 56px);
}
.manifesto-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.08; letter-spacing: -0.025em;
  max-width: 22ch;
}
.manifesto-line.accent { color: var(--amber); }
.manifesto-line .w { opacity: 0.14; transition: none; }
.manifesto-body {
  margin-top: 40px; max-width: 62ch;
  color: var(--text-2); font-size: clamp(17px, 1.3vw, 19px);
}

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.04; letter-spacing: -0.025em;
  max-width: 1400px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* ---------- How it works: sticky stack ---------- */
.how { padding: clamp(90px, 12vh, 150px) 0 0; background: var(--ink-900); border-top: 1px solid var(--line); }
.stack { margin-top: clamp(48px, 6vh, 90px); }
.stack-card {
  position: sticky; top: 0;
  min-height: 100dvh;
  display: grid; grid-template-columns: 1fr 1.15fr;
  align-items: center; gap: clamp(32px, 5vw, 90px);
  max-width: 1400px; margin: 0 auto;
  padding: calc(var(--nav-h) + 24px) clamp(20px, 4vw, 56px) 48px;
  background: var(--ink-900);
}
.stack-card:nth-child(2) { background: var(--ink-800); }
.stack-card:nth-child(3) { background: var(--ink-700); }
.stack-step {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--amber); letter-spacing: 0.04em;
}
.stack-copy h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.02em; line-height: 1.05;
  margin-top: 14px;
}
.stack-copy p { margin-top: 20px; color: var(--text-2); max-width: 46ch; }
.stack-img {
  border-radius: var(--radius-media); overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 80px -30px rgba(4, 7, 13, 0.9);
}
.stack-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stays bento ---------- */
.stays { padding: clamp(110px, 15vh, 180px) 0; }
.bento {
  max-width: 1400px; margin: clamp(48px, 6vh, 80px) auto 0;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid; gap: 14px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
}
.cell { border-radius: var(--radius-media); overflow: hidden; position: relative; }
.cell-a { grid-column: span 7; grid-row: span 2; }
.cell-b { grid-column: span 5; }
.cell-c { grid-column: span 5; grid-row: span 2; }
.cell-d { grid-column: span 3; }
.cell-e { grid-column: span 4; }
.cell-f { grid-column: span 7; }
figure.cell { margin: 0; }
figure.cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.7s ease;
}
figure.cell::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid transparent;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  pointer-events: none;
}
figure.cell:hover img { transform: scale(1.06); filter: brightness(1.1); }
figure.cell:hover::after {
  border-color: rgba(232, 163, 61, 0.55);
  box-shadow: inset 0 0 60px rgba(232, 163, 61, 0.12);
}
.cell-text { transition: border-color 0.4s ease, transform 0.4s var(--ease-out); }
.cell-text:hover { border-color: rgba(232, 163, 61, 0.45); transform: translateY(-3px); }
figure.cell figcaption {
  position: absolute; left: 18px; bottom: 14px;
  font-size: 13.5px; color: var(--text);
  background: rgba(8, 13, 23, 0.55);
  backdrop-filter: blur(8px);
  padding: 6px 13px; border-radius: 999px;
}
.cell-text {
  background: var(--ink-800); border: 1px solid var(--line);
  padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.cell-text i { font-size: 26px; color: var(--amber); margin-bottom: auto; }
.cell-text h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.cell-text p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* ---------- Night shift: image-left split quote ---------- */
.nightshift {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(100px, 14vh, 170px) clamp(20px, 4vw, 56px);
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 100px); align-items: center;
}
.nightshift-img {
  margin: 0; border-radius: var(--radius-media); overflow: hidden;
  aspect-ratio: 3 / 4; max-height: 640px;
}
.nightshift-img img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
}
.nightshift-quote p {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.18; letter-spacing: -0.02em;
  max-width: 32ch;
}
.nightshift-quote cite, .voice cite {
  display: block; margin-top: 26px; font-style: normal;
  font-weight: 700; font-size: 16px;
}
.nightshift-quote cite span, .voice cite span {
  display: block; font-weight: 400; color: var(--text-2); font-size: 14px; margin-top: 3px;
}

/* ---------- Families ---------- */
.families {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(110px, 15vh, 180px) clamp(20px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 100px); align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 18px;
}
.families-copy h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 3.8vw, 54px); line-height: 1.05; letter-spacing: -0.025em;
}
.families-copy p { margin-top: 22px; color: var(--text-2); max-width: 50ch; }
.families-copy .btn { margin-top: 32px; }
.families-img { margin: 0; border-radius: var(--radius-media); overflow: hidden; }
.families-img img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }

/* ---------- Coverage ---------- */
.coverage {
  background: var(--ink-900);
  border-top: 1px solid var(--line);
  padding: clamp(110px, 15vh, 180px) 0 0;
  text-align: left;
}
.coverage-sub {
  max-width: 1400px; margin: 22px auto 0;
  padding: 0 clamp(20px, 4vw, 56px);
  color: var(--text-2); max-width: 58ch;
  margin-left: auto; margin-right: auto;
}
.coverage .section-title, .coverage-sub { text-align: center; }
.coverage-sub { padding: 0 20px; }
.coverage-canvas-wrap { position: relative; width: 100%; height: min(72vh, 720px); margin-top: 20px; }
#map-canvas { width: 100%; height: 100%; display: block; }

/* ---------- Facilities ---------- */
.facilities { border-top: 1px solid var(--line); background: var(--ink-950); }
.facilities-inner {
  max-width: 900px; margin: 0 auto;
  padding: clamp(100px, 13vh, 160px) clamp(20px, 4vw, 56px);
  text-align: center;
}
.facilities-inner h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.025em;
}
.facilities-inner p { margin: 22px auto 0; color: var(--text-2); max-width: 52ch; }
.facilities-inner .btn { margin-top: 34px; }

/* ---------- Voices ---------- */
.voices {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(100px, 13vh, 160px) clamp(20px, 4vw, 56px);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px); align-items: end;
}
.voice p {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.22; letter-spacing: -0.015em;
}
.voice-lg p { font-size: clamp(26px, 3.2vw, 44px); }
.voice { border-left: 2px solid var(--amber); padding-left: clamp(20px, 2.4vw, 36px); }

/* ---------- Market marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: var(--ink-900);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marqueeSlide 46s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 163, 61, 0.5);
  white-space: nowrap;
}
.marquee-track span:nth-child(4n + 1) { color: var(--amber); -webkit-text-stroke: 0; }
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
body.motion-paused .marquee-track { animation-play-state: paused; }

/* ---------- Finale ---------- */
.finale {
  position: relative; min-height: 92dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
  border-top: 1px solid var(--line);
}
.finale-media { position: absolute; inset: -10% 0; }
.finale-media img { width: 100%; height: 100%; object-fit: cover; }
.finale-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.finale-video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .finale-video { display: none; }
}
.finale-scrim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(8, 13, 23, 0.55) 0%, rgba(8, 13, 23, 0.92) 100%);
}
.finale-inner { position: relative; z-index: 2; padding: 120px 24px; }
.finale-inner h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 6vw, 88px); line-height: 1.0; letter-spacing: -0.03em;
}
.finale-inner p { margin-top: 22px; color: var(--text-2); font-size: 18px; }
.finale-inner .btn { margin-top: 40px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--ink-950);
  padding: clamp(64px, 8vh, 100px) clamp(20px, 4vw, 56px) 40px;
}
.footer-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
}
.footer-tag {
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em;
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-2); margin-bottom: 18px;
}
.footer-col a {
  display: block; color: var(--text-2); text-decoration: none;
  padding: 7px 0; font-size: 15.5px; transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-legal {
  max-width: 1400px; margin: 56px auto 0;
  padding-top: 26px; border-top: 1px solid var(--line);
  color: var(--text-2); opacity: 0.85; font-size: 13.5px;
}

/* ---------- Reveal defaults (JS adds .r-in) ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Mobile collapse (explicit, per taste-skill)
   ============================================================ */
@media (max-width: 900px) {
  .nav-links, .btn-nav { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 6px;
    margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: transform 0.3s ease, opacity 0.3s ease; }
  .nav-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .stack-card { grid-template-columns: 1fr; gap: 28px; align-content: center; }
  .stack-img { aspect-ratio: 16 / 10; }

  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .cell-a { grid-column: span 2; grid-row: span 2; }
  .cell-b, .cell-c, .cell-d, .cell-e, .cell-f { grid-column: span 2; grid-row: span 1; }
  .cell-c { grid-row: span 2; }

  .families { grid-template-columns: 1fr; }
  .families-img { order: -1; }

  .nightshift { grid-template-columns: 1fr; }
  .nightshift-img { aspect-ratio: 4 / 5; max-height: 520px; }

  .voices { grid-template-columns: 1fr; align-items: start; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-title { font-size: clamp(44px, 13vw, 64px); }
  .bento { grid-auto-rows: 170px; gap: 10px; }
  .btn-xl { padding: 17px 34px; font-size: 17px; }
  .coverage-canvas-wrap { height: 54vh; }
}
