/* ============================================================
   CuraDrone — styles.css
   Tokens, layout, and components per site/DESIGN.md
   ============================================================ */

/* ---------- Reset & root ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }

:root {
  /* color */
  --navy-900: #1A2B4A;
  --navy-700: #2C4370;
  --navy-500: #355284;
  --navy-300: #7E92B6;
  --navy-200: #D4DCEC;
  --navy-50:  #EEF2F8;
  --orange-500: #EF732A;
  --orange-300: #F6A472;
  --orange-100: #FCE4D3;
  --ink-900: #0F1622;
  --ink-700: #283142;
  --ink-500: #5B6478;
  --paper: #FFFFFF;
  --paper-tint: #F7F9FC;

  /* type */
  --font-sans: 'Inter', 'Myriad Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.875rem;
  --fs-sm: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-hero: 4rem;

  /* space */
  --container: 1200px;
  --gutter: 24px;
  --section-pad: 96px;

  /* radius / shadow */
  --r-sm: 4px;
  --r-md: 12px;
  --r-lg: 24px;
  --shadow-card: 0 1px 2px rgba(15,22,34,0.04), 0 8px 24px rgba(15,22,34,0.06);
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-700);
}
h1 { font-size: clamp(2.25rem, 5.5vw, var(--fs-hero)); }
h2 { font-size: clamp(1.75rem, 4vw, var(--fs-3xl)); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 1em; max-width: 65ch; }
.muted { color: var(--ink-500); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 14px;
}
.eyebrow--on-dark { color: var(--orange-300); }

.lede { font-size: var(--fs-lg); color: var(--ink-500); max-width: 60ch; }
.lede--on-dark { color: var(--navy-200); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}
.btn--primary { background: var(--orange-500); color: #fff; }
.btn--primary:hover { background: var(--orange-300); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn--sm { padding: 8px 16px; font-size: var(--fs-sm); }
.btn--lg { padding: 18px 36px; font-size: var(--fs-md); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange-500); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--r-md) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }
.section--paper { background: var(--paper); }
.section--tint { background: var(--paper-tint); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--midnight { background: var(--navy-700); color: #fff; }
.section--dark h2, .section--midnight h2,
.section--dark h3, .section--midnight h3,
.section--dark h4, .section--midnight h4 { color: #fff; }

.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26, 43, 74, 0.7);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo { height: 56px; width: auto; }
@media (max-width: 768px) {
  .nav__inner { height: 80px; }
  .nav__logo { height: 44px; }
}
.nav__menu {
  display: flex; align-items: center; gap: 28px;
}
.nav__menu a {
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 120ms ease;
}
.nav__menu a:hover { opacity: 1; }
.nav__menu a.btn { opacity: 1; }
.nav__toggle {
  display: none;
  background: transparent; border: 0;
  width: 44px; height: 44px;
  position: relative;
}
.nav__toggle span {
  display: block; position: absolute; left: 10px;
  width: 24px; height: 2px; background: #fff;
  transition: transform 200ms ease, top 200ms ease, opacity 200ms ease;
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  padding: 112px 0 120px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(239,115,42,0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(53,82,132,0.5), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; gap: 64px;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}
/* Hero eyebrow carries a longer, multi-clause label; tighten tracking a touch
   and open up line-height so it wraps into a tidy block in the same font. */
.hero__eyebrow {
  display: block;
  max-width: min(46ch, 100%);
  line-height: 1.7;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.hero h1 {
  color: #fff;
  margin: 0 0 24px;
  max-width: 14ch;
}
.hero__sub {
  font-size: clamp(1.125rem, 1.6vw, var(--fs-xl));
  color: var(--navy-200);
  max-width: 38ch;
  margin: 0 0 36px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
/* Full-width baseline disclaimer: span both grid columns so the line runs the
   hero's width instead of wrapping inside the narrow copy column. */
.hero__trust {
  grid-column: 1 / -1;
  font-size: var(--fs-xs);
  color: var(--navy-300);
  max-width: none;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__art { position: relative; }
/* Let the grid tracks shrink below children's intrinsic width so long labels
   (eyebrow) and nowrap feature chips never force horizontal overflow on mobile. */
.hero__copy, .hero__art { min-width: 0; }
.hero__artFrame { position: relative; }
.hero__art img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero__glow {
  position: absolute; inset: -10% -10% -10% -10%;
  background: radial-gradient(ellipse at center, rgba(239,115,42,0.35), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.hero__art img { position: relative; z-index: 1; }
.hero__features {
  margin: 22px auto 0;
  max-width: 100%;
  text-align: center;
  /* Base size; script.js (fitHeroFeatures) scales this down so the row fits the
     image width on a single line. Falls back to wrapping if JS is unavailable. */
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
  /* Between --navy-300 and --navy-200: muted micro-label tone that clears
     WCAG AA (5.3:1 on --navy-900); --navy-300 lands at 4.48:1 here. */
  color: #8DA0C2;
}
.hero__features-item { white-space: nowrap; }
.hero__features-dot { color: var(--orange-300); margin: 0 8px; font-weight: 700; }

/* ---------- Positioning strip ---------- */
.strip {
  position: relative;
  padding: 96px 0 88px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-tint) 40%, var(--paper-tint) 100%);
  overflow: hidden;
  isolation: isolate;
}
.strip__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 8% 20%, rgba(53,82,132,0.06), transparent 38%),
    radial-gradient(circle at 92% 90%, rgba(239,115,42,0.06), transparent 42%);
}
.strip__inner {
  position: relative;
  text-align: center;
  max-width: 880px;
}
.strip__eyebrow { margin-bottom: 24px; }
.strip__inner::before {
  content: "\201C";
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 8rem;
  line-height: 0.7;
  color: var(--orange-500);
  opacity: 0.18;
  margin: 0 auto 8px;
  height: 56px;
}
.strip__quote {
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink-700);
  margin: 0 auto 48px;
  font-weight: 500;
  max-width: 36ch;
}
.strip__quote em {
  font-style: normal;
  color: var(--navy-500);
  position: relative;
  background-image: linear-gradient(180deg, transparent 78%, rgba(239,115,42,0.22) 78%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.strip__pillars {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--navy-50);
  padding-top: 32px;
}
.strip__pillars li {
  display: flex; flex-direction: column; gap: 6px;
  text-align: center;
}
.strip__pillarLabel {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-500);
}
.strip__pillarValue {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink-700);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .strip { padding: 72px 0 64px; }
  .strip__pillars { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
}

/* ---------- Problem grid + cards ---------- */
.section__grid {
  display: grid; gap: 56px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  margin-bottom: 64px;
}
.section__media img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--navy-50);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.card__num {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange-500);
  margin-bottom: 12px;
}
.card h3 { color: var(--ink-700); margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-500); font-size: var(--fs-md); }

.card--dark {
  background: var(--navy-700);
  border: 0;
  border-top: 3px solid var(--orange-500);
  color: #fff;
}
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--navy-200); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(239,115,42,0.16);
  color: var(--orange-300);
  margin-bottom: 16px;
}

/* ---------- Compare (passive vs active) ---------- */
.compare {
  display: grid; gap: 24px;
  grid-template-columns: 1fr 1fr;
}
.compare__col {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--navy-200);
}
.compare__col--active { border-top-color: var(--orange-500); }
.compare__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 12px;
}
.compare__tag--muted { color: var(--ink-500); }
.compare__col h3 { margin-bottom: 8px; }
.compare__col p { color: var(--ink-500); margin-bottom: 24px; }
.compare__viz img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  border-radius: var(--r-sm);
}

/* ---------- How it works ---------- */
.how {
  display: grid; gap: 56px;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}
.steps { list-style: none; padding: 0; margin: 0; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--navy-50);
}
.step:last-child { border-bottom: 0; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-500);
  color: var(--orange-300);
  font-size: var(--fs-xl);
  font-weight: 600;
}
.step h3 { font-size: var(--fs-lg); margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-500); }
.how__media img {
  width: 100%; border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.how__media figcaption {
  font-size: var(--fs-xs);
  color: var(--ink-500);
  text-align: center;
  margin-top: 12px;
}

/* ---------- Patient journey timeline ---------- */
.timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 26px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(to right, var(--navy-200), var(--orange-300));
  z-index: 0;
}
.timeline__step {
  position: relative; z-index: 1;
  text-align: center;
  padding: 0 8px;
}
.timeline__step::before {
  content: "";
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--navy-500);
  margin: 20px auto 16px;
  border: 4px solid var(--paper-tint);
  box-shadow: 0 0 0 1px var(--navy-200);
}
.timeline__step--accent::before {
  background: var(--orange-500);
}
.timeline__time {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-500);
  background: var(--paper);
  border: 1px solid var(--navy-200);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.timeline__step--accent .timeline__time {
  color: var(--orange-500);
  border-color: var(--orange-100);
  background: var(--orange-100);
}
.timeline__step h4 { margin: 0 0 4px; font-size: var(--fs-md); }
.timeline__step p { margin: 0; font-size: var(--fs-sm); color: var(--ink-500); max-width: none; }

/* ---------- Clinical ---------- */
.clinical {
  display: grid; gap: 56px;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--navy-50);
  font-size: var(--fs-md); color: var(--ink-700);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange-100);
  border: 2px solid var(--orange-500);
}
.checklist li::after {
  content: "";
  position: absolute; left: 6px; top: 22px;
  width: 6px; height: 10px;
  border: solid var(--orange-500);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.clinical__zones {
  background: var(--paper-tint);
  padding: 32px;
  border-radius: var(--r-md);
  border: 1px solid var(--navy-50);
}
.clinical__zones h3 { margin-bottom: 18px; }

/* Zone cards: each anatomical zone shown with its own clinical example.
   A 2×2 grid (1-col on mobile) keeps all four visible and scannable — chosen
   over a slider so no zone is hidden behind interaction (better for scanning,
   accessibility, and a regulator-facing audience). */
.zonegrid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.zone {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--paper);
  border: 1px solid var(--navy-50);
  border-left: 3px solid var(--orange-500);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.zone:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-left-color: var(--orange-300);
}
.zone__name {
  font-size: var(--fs-sm); font-weight: 700;
  color: var(--navy-700); letter-spacing: -0.01em;
}
.zone__eg { font-size: var(--fs-xs); color: var(--ink-500); line-height: 1.45; }
.zone__tag {
  color: var(--orange-500); font-weight: 700;
  font-style: normal; margin-right: 2px;
}

/* Staggered entrance — piggybacks on the .reveal → .is-visible observer so the
   four cards fade/slide in one after another when the box scrolls into view. */
.clinical__zones .zone {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 450ms ease, transform 450ms ease;
  transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}
.clinical__zones.is-visible .zone { opacity: 1; transform: none; }

/* Single column on narrow phones so the longest example isn't cramped. */
@media (max-width: 520px) {
  .zonegrid { grid-template-columns: 1fr; }
}

/* ---------- Thesis ---------- */
.thesis {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
.thesis article {
  padding: 24px;
  border-left: 2px solid var(--orange-500);
  background: rgba(255,255,255,0.04);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.thesis h4 { margin: 0 0 8px; font-size: var(--fs-md); color: var(--orange-300); }
.thesis p { margin: 0; color: var(--navy-200); font-size: var(--fs-sm); }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .lede { margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: var(--navy-200);
  padding: 72px 0 48px;
  font-size: var(--fs-sm);
}
.footer__inner {
  display: grid; gap: 48px;
  grid-template-columns: 1.2fr 2fr;
}
.footer__logo { height: 32px; width: auto; margin-bottom: 16px; }
.footer__tag { margin: 0; color: var(--navy-300); max-width: 32ch; }
.footer__disclaimer p { font-size: var(--fs-xs); line-height: 1.6; color: var(--navy-300); max-width: 70ch; }
.footer__disclaimer strong { color: #fff; }
.footer__meta {
  grid-column: 1 / -1;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__meta p { margin: 0; font-size: var(--fs-xs); color: var(--navy-300); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 80px 0 96px; }
  .section__grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .clinical { grid-template-columns: 1fr; }
  .thesis { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; --gutter: 20px; }
  .cards--3 { grid-template-columns: 1fr; }
  .timeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .timeline::before {
    top: 0; bottom: 0; left: 8px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(to bottom, var(--navy-200), var(--orange-300));
  }
  .timeline__step {
    text-align: left;
    padding: 0 0 0 32px;
  }
  .timeline__step::before {
    position: absolute;
    left: 2px; top: 6px;
    margin: 0;
  }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 80px; left: 0; right: 0;
    background: rgba(26, 43, 74, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .nav__menu a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav__menu a.btn { margin-top: 12px; border-bottom: 0; }
  .nav[data-open="true"] .nav__menu {
    transform: none; opacity: 1; pointer-events: auto;
  }
}

@media (max-width: 480px) {
  :root { --section-pad: 48px; }
  .thesis { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .nav__menu a.btn { width: 100%; }
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--navy-900);
  aspect-ratio: 3 / 2;
}
.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}
.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel__dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 2;
}
.carousel__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease, width 240ms ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.carousel__dot:hover { background: rgba(255, 255, 255, 0.75); }
.carousel__dot.is-active {
  background: var(--orange-500);
  width: 24px;
  border-radius: 999px;
}
.carousel__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: opacity 250ms ease; transform: none; }
  .reveal.is-visible { transform: none; }
  .carousel__slide { transition: opacity 0ms; }
  .clinical__zones .zone {
    transition: opacity 250ms ease; transform: none; transition-delay: 0ms;
  }
  .zone:hover { transform: none; }
}
