/* ================================================================
   Magnet Hospitals — "Every heartbeat has a story"
   Dark cinematic WebGL scroll-story. Mobile-first.
   ================================================================ */
:root {
  --ink: #05110e;
  --ink-2: #0a1a16;
  --surface: #0e211c;
  --surface-2: #122a24;
  --mint: #34e5b0;
  --cyan: #37d2e6;
  --coral: #ff7e86;
  --teal: #0f766e;
  --text: #eaf6f2;
  --muted: #93b8ad;
  --line: rgba(52, 229, 176, 0.16);
  --line-soft: rgba(234, 246, 242, 0.09);
  --glow: 0 0 40px rgba(52, 229, 176, 0.28);
  --grad: linear-gradient(100deg, var(--mint), var(--cyan));
  --grad-warm: linear-gradient(100deg, var(--coral), var(--mint));
  /* light chapter */
  --light-bg: #f4fbf8;
  --light-ink: #06231d;
  --light-muted: #4a6f66;
  --light-line: rgba(6, 35, 29, 0.12);

  --font-d: "Fraunces", Georgia, serif;
  --font-b: "Inter", ui-sans-serif, system-ui, sans-serif;
  --r: 20px;
  --s1: 16px; --s2: 24px; --s3: 40px; --s4: 72px; --s5: 120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-b);
  font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; height: 100vh; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 500; line-height: 1.06; letter-spacing: -0.02em; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 500;
  background: var(--mint); color: var(--ink); padding: 12px 20px; border-radius: 10px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Global WebGL field + grain ---------- */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; background: var(--ink); }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .nav, .dots, .footer, .loader { position: relative; z-index: 2; }

/* ---------- Lifeline ---------- */
.lifeline {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(46vw, 620px); height: 100%; z-index: 1; pointer-events: none;
  opacity: 0.5; filter: drop-shadow(0 0 8px rgba(52, 229, 176, 0.4));
}
#lifepath { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 600; background: var(--ink);
  display: grid; place-items: center;
}
.loader__box { display: grid; gap: 18px; justify-items: center; }
.loader__ecg { width: min(280px, 62vw); filter: drop-shadow(0 0 10px rgba(52, 229, 176, 0.5)); }
.loader__ecgpath { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1.5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__word {
  font-family: var(--font-d); font-size: 22px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); opacity: 0; animation: fadein 0.8s ease 0.6s forwards;
}
@keyframes fadein { to { opacity: 1; } }

/* ---------- Chapter dots ---------- */
.dots {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 120; display: none; flex-direction: column; gap: 16px;
}
.dots__dot { position: relative; width: 22px; height: 22px; display: grid; place-items: center; }
.dots__dot span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line-soft);
  box-shadow: inset 0 0 0 1px rgba(234, 246, 242, 0.25); transition: all 0.35s ease;
}
.dots__dot.is-active span { background: var(--mint); box-shadow: 0 0 12px var(--mint); transform: scale(1.5); }
.dots__dot::after {
  content: attr(data-label); position: absolute; right: 28px; top: 50%; transform: translateY(-50%) translateX(8px);
  white-space: nowrap; font-size: 12px; font-weight: 500; color: var(--text);
  background: rgba(10, 26, 22, 0.9); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
}
.dots__dot:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.dots.on-light .dots__dot span { box-shadow: inset 0 0 0 1px rgba(6, 35, 29, 0.3); }
.dots.on-light .dots__dot:not(.is-active) span { background: rgba(6, 35, 29, 0.2); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-b); font-weight: 600; font-size: 15px; cursor: pointer; border: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease; overflow: hidden;
  will-change: transform;
}
.btn > span { position: relative; z-index: 1; }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 16px; }
.btn--primary { background: var(--grad); color: var(--ink); box-shadow: 0 8px 30px rgba(52, 229, 176, 0.32); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-warm);
  opacity: 0; transition: opacity 0.4s ease;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(55, 210, 230, 0.42); }
.btn--primary:hover::before { opacity: 1; }
.btn--quiet { background: rgba(234, 246, 242, 0.06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--quiet:hover { background: rgba(52, 229, 176, 0.1); transform: translateY(-3px); }
.btn--book { background: rgba(52, 229, 176, 0.1); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; padding: 10px 20px; min-height: 42px; }
.btn--book:hover { background: var(--mint); color: var(--ink); }
.btn:active { transform: scale(0.97); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 130;
  transition: transform 0.4s ease, background 0.4s ease, backdrop-filter 0.4s;
}
.nav.is-scrolled { background: rgba(5, 17, 14, 0.62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-soft); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { max-width: 1280px; margin: 0 auto; padding: 14px var(--s1); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav__logo img { width: 108px; height: auto; filter: brightness(0) invert(1); opacity: 0.95; transition: opacity 0.3s; }
.nav__logo:hover img { opacity: 1; }
.nav__links { display: none; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav__links a { position: relative; color: var(--muted); padding: 6px 0; transition: color 0.25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__burger { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: none; cursor: pointer; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 3px 0; transition: transform 0.3s ease, opacity 0.3s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
/* nav adapts to light chapter */
.nav.on-light .nav__logo img { filter: none; }
.nav.on-light.is-scrolled { background: rgba(244, 251, 248, 0.7); border-bottom-color: var(--light-line); }
.nav.on-light .nav__links a { color: var(--light-muted); }
.nav.on-light .nav__links a:hover { color: var(--light-ink); }
.nav.on-light .nav__burger span { background: var(--light-ink); }
.nav.on-light .btn--book { color: var(--light-ink); box-shadow: inset 0 0 0 1px var(--light-line); background: rgba(15, 118, 110, 0.08); }

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 125; background: rgba(5, 17, 14, 0.97);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.mmenu.is-open { opacity: 1; pointer-events: auto; }
.mmenu nav { display: grid; gap: 8px; text-align: left; }
.mmenu a { font-family: var(--font-d); font-size: 30px; font-weight: 500; color: var(--text); padding: 8px 0; display: flex; align-items: baseline; gap: 14px; }
.mmenu a em { font-family: var(--font-b); font-style: normal; font-size: 13px; font-weight: 600; color: var(--mint); }
.mmenu__cta { color: var(--mint) !important; }
.mmenu__tel { font-family: var(--font-b) !important; font-size: 16px !important; color: var(--muted) !important; }

/* ---------- Chapter shell ---------- */
.chapter { position: relative; padding: var(--s5) var(--s1); max-width: 1280px; margin: 0 auto; }
.chapter__tag { font-family: var(--font-b); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.chapter__tag em { font-style: normal; color: var(--mint); margin-right: 10px; }
.chapter__tag--dark { color: var(--light-muted); }
.chapter__tag--dark em { color: var(--teal); }

/* split words */
[data-split] { display: block; }
.word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word > span { display: inline-block; will-change: transform; }
.reveal { opacity: 0; transform: translateY(26px); }
.no-anim .reveal { opacity: 1; transform: none; }

/* ================= HERO ================= */
.hero { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; padding-bottom: 60px; }
.hero__inner { max-width: 1000px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.beat { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px var(--coral); animation: beat 1.4s ease-out infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(255, 126, 134, 0.6); } 70%,100% { box-shadow: 0 0 0 14px rgba(255, 126, 134, 0); } }
.hero__title { font-size: clamp(48px, 11vw, 132px); font-weight: 500; letter-spacing: -0.04em; }
.hero__title .line { display: block; }
.hero__title .line--em { font-style: italic; }
/* gradient on the span itself — background-clip:text breaks in Chrome when a
   DESCENDANT is transformed (GSAP split spans), so never clip on an ancestor */
.hero__title .line--em .word > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 28px; max-width: 52ch; font-size: clamp(17px, 2.3vw, 21px); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__vitals { display: flex; gap: 14px; margin-top: 48px; flex-wrap: wrap; }
.vital {
  font-family: var(--font-d); font-size: 22px; color: var(--text);
  background: rgba(234, 246, 242, 0.04); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 12px 18px; display: inline-flex; align-items: baseline; gap: 6px; backdrop-filter: blur(6px);
  animation: floaty 5s ease-in-out infinite;
}
.hero__vitals .vital:nth-child(2) { animation-delay: -1.6s; }
.hero__vitals .vital:nth-child(3) { animation-delay: -3.2s; }
.vital small { font-family: var(--font-b); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.scrollcue { position: absolute; left: var(--s1); bottom: 30px; width: 26px; height: 44px; border: 2px solid var(--line); border-radius: 14px; display: grid; justify-items: center; padding-top: 8px; }
.scrollcue span { width: 4px; height: 8px; border-radius: 4px; background: var(--mint); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ================= BELIEF ================= */
.belief { text-align: center; max-width: 1000px; }
.belief__statement { font-size: clamp(30px, 6.4vw, 68px); font-weight: 400; }
.belief__statement .line--grad .word > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.belief__body { margin: var(--s3) auto 0; max-width: 62ch; color: var(--muted); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 16px; margin-top: var(--s4); }
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--font-d); font-size: clamp(40px, 8vw, 66px); font-weight: 500; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ================= SPECIALTIES ================= */
.spec__head { max-width: 720px; margin-bottom: var(--s4); }
.spec__title { font-size: clamp(30px, 5.6vw, 54px); }
.spec__lead { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 56ch; }
.spec__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.spec-card {
  position: relative; padding: 32px 28px 28px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 42, 36, 0.7), rgba(10, 26, 22, 0.5));
  border: 1px solid var(--line-soft); backdrop-filter: blur(8px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}
.spec-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r); padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s;
}
.spec-card::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 229, 176, 0.18), transparent 60%);
  left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.spec-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.spec-card:hover::before { opacity: 1; }
.spec-card:hover::after { opacity: 1; }
.spec-card__icon { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: rgba(52, 229, 176, 0.08); border: 1px solid var(--line); margin-bottom: 22px; transition: transform 0.4s; }
.spec-card__icon img { width: 40px; filter: brightness(0) saturate(100%) invert(84%) sepia(30%) saturate(900%) hue-rotate(100deg) brightness(97%); }
.spec-card:hover .spec-card__icon { transform: translateY(-4px) scale(1.06); }
.spec-card__no { position: absolute; top: 26px; right: 28px; font-family: var(--font-d); font-size: 15px; color: var(--muted); opacity: 0.5; }
.spec-card h3 { font-size: 22px; margin-bottom: 10px; color: var(--text); }
.spec-card p { color: var(--muted); font-size: 15px; }
.spec__cta { text-align: center; margin-top: var(--s4); }

/* ================= HOSPITALS ================= */
.hosp__head { max-width: 720px; margin-bottom: var(--s4); }
.hosp__title { font-size: clamp(30px, 5.6vw, 54px); }
.hosp__lead { margin-top: 18px; color: var(--muted); font-size: 17px; }
.hosp__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.hosp-card {
  position: relative; padding: 30px 26px 26px 40px; border-radius: var(--r);
  background: rgba(10, 26, 22, 0.5); border: 1px solid var(--line-soft); backdrop-filter: blur(8px);
  transition: transform 0.4s ease, box-shadow 0.4s, border-color 0.4s;
}
.hosp-card__node { position: absolute; left: 22px; top: 36px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(52, 229, 176, 0.5); animation: node 2.4s ease-out infinite; }
@keyframes node { 0% { box-shadow: 0 0 0 0 rgba(52, 229, 176, 0.5); } 70%,100% { box-shadow: 0 0 0 14px rgba(52, 229, 176, 0); } }
.hosp-card:hover, .hosp-card:focus-visible { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); outline: none; }
.hosp-card:hover .hosp-card__node { background: var(--coral); box-shadow: 0 0 16px var(--coral); }
.hosp-card h3 { font-size: 20px; color: var(--text); display: grid; gap: 3px; }
.hosp-card h3 em { font-family: var(--font-b); font-style: normal; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cyan); }
.hosp-card p { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.hosp-card__tag { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--mint); background: rgba(52, 229, 176, 0.08); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; }

/* ================= CARE (LIGHT BREAK) ================= */
.chapter--light {
  max-width: none; background: var(--light-bg); color: var(--light-ink);
  border-radius: 40px; padding-left: var(--s1); padding-right: var(--s1);
  box-shadow: 0 -30px 120px rgba(52, 229, 176, 0.15);
}
.chapter--light > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.care__intro { max-width: 820px; margin-bottom: var(--s4); }
.care__title { font-size: clamp(32px, 6vw, 62px); color: var(--light-ink); }
.care__story { display: grid; gap: 44px; }
.care__media { position: relative; }
.care__imgwrap { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(6, 35, 29, 0.2); aspect-ratio: 3 / 4; }
/* overscan so the scroll parallax never exposes the wrap behind the photo */
.care__imgwrap img { width: 100%; height: 115%; object-fit: cover; margin-top: -7.5%; will-change: transform; }
.care__quote {
  margin-top: -40px; margin-left: 16px; margin-right: 16px; position: relative; z-index: 2;
  background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 20px 50px rgba(6, 35, 29, 0.15);
  border-left: 3px solid var(--coral);
}
.care__ekg { width: 100px; margin-bottom: 12px; }
.care__quote blockquote { font-family: var(--font-d); font-size: 18px; font-style: italic; color: var(--light-ink); line-height: 1.4; }
.care__copy > p.reveal { color: var(--light-muted); font-size: 18px; max-width: 62ch; }
.why__grid { list-style: none; display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: var(--s3); }
.why-item { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--light-line); transition: transform 0.35s ease, box-shadow 0.35s; }
.why-item:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(6, 35, 29, 0.12); }
.why-item h3 { font-size: 18px; color: var(--light-ink); margin-bottom: 8px; }
.why-item h3::before { content: "✚"; color: var(--teal); margin-right: 10px; font-family: var(--font-b); }
.why-item p { color: var(--light-muted); font-size: 14.5px; }

/* ================= CONVERGE + CONTACT ================= */
.converge { display: grid; gap: var(--s4); }
.converge__cta { max-width: 820px; }
.converge__title { font-size: clamp(34px, 7vw, 76px); font-weight: 400; }
.converge__title .line--grad { font-style: italic; }
.converge__title .line--grad .word > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.converge__body { margin-top: 22px; color: var(--muted); font-size: 18px; max-width: 52ch; }
.emergency {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 30px;
  padding: 16px 24px; border-radius: 999px; background: rgba(255, 126, 134, 0.09);
  border: 1px solid rgba(255, 126, 134, 0.28); color: var(--text); font-size: 15px;
  transition: transform 0.3s ease, background 0.3s;
}
.emergency:hover { transform: translateY(-3px); background: rgba(255, 126, 134, 0.16); }
.emergency strong { font-weight: 700; color: var(--coral); }
.emergency__pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); flex: none; animation: beat 1.3s ease-out infinite; }

.form { background: rgba(14, 33, 28, 0.66); border: 1px solid var(--line-soft); border-radius: 24px; padding: 30px 24px; backdrop-filter: blur(14px); display: grid; gap: 18px; }
.form__head { font-family: var(--font-d); font-size: 22px; color: var(--text); }
.form__row { display: grid; gap: 18px; }
.field { position: relative; display: grid; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: rgba(5, 17, 14, 0.5);
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 24px 16px 10px; min-height: 58px; width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s;
}
.field textarea { resize: vertical; }

/* ---------- custom select (button + listbox; native select hidden underneath) ---------- */
.cselect { position: relative; }
.cselect__native { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cselect__trigger {
  font: inherit; text-align: left; cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--text); background: rgba(5, 17, 14, 0.5);
  border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 24px 16px 10px; min-height: 58px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cselect__trigger:focus-visible { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(52, 229, 176, 0.14); }
.cselect.is-open .cselect__trigger { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(52, 229, 176, 0.14); }
.cselect__value.is-placeholder { color: var(--muted); }
.cselect__chev {
  width: 9px; height: 9px; flex: none; margin-top: -6px;
  border-right: 2px solid var(--mint); border-bottom: 2px solid var(--mint);
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s;
}
.cselect.is-open .cselect__chev { transform: rotate(225deg) translate(-2px, -2px); border-color: var(--cyan); }
.cselect__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60;
  list-style: none; margin: 0; padding: 8px; max-height: 280px; overflow-y: auto;
  background: rgba(10, 26, 22, 0.96);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(52, 229, 176, 0.06);
  opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cselect.is-open .cselect__list { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.cselect__opt {
  position: relative; padding: 12px 14px 12px 38px; border-radius: 9px;
  font-size: 15px; color: var(--text); cursor: pointer;
  transition: background 0.18s ease, color 0.18s;
}
.cselect__opt:hover { background: rgba(52, 229, 176, 0.1); }
.cselect__opt.is-active { color: var(--mint); background: rgba(52, 229, 176, 0.07); }
.cselect__opt.is-active::before {
  content: ""; position: absolute; left: 15px; top: 50%; width: 10px; height: 5px;
  border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint);
  transform: translateY(-70%) rotate(-45deg);
}
.cselect__opt.is-placeholder { color: var(--muted); }
/* keep the floating label above the trigger */
.cselect label { z-index: 2; }

/* ---------- custom date picker ---------- */
.cdate__icon {
  width: 16px; height: 16px; flex: none; margin-top: -8px; position: relative;
  border: 1.6px solid var(--mint); border-radius: 4px;
  transition: border-color 0.3s;
}
.cdate__icon::before {
  content: ""; position: absolute; left: 2px; right: 2px; top: 3.5px;
  height: 1.6px; background: var(--mint); transition: background 0.3s;
}
.cdate.is-open .cdate__icon { border-color: var(--cyan); }
.cdate.is-open .cdate__icon::before { background: var(--cyan); }
.cdate__panel {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 60;
  width: min(340px, 100%);
  padding: 16px;
  background: rgba(10, 26, 22, 0.96);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(52, 229, 176, 0.06);
  opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cdate.is-open .cdate__panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
/* flip above the field when there's no room below */
.cdate--up .cdate__panel { top: auto; bottom: calc(100% + 8px); transform: translateY(8px) scale(0.98); transform-origin: bottom center; }
.cdate--up.is-open .cdate__panel { transform: translateY(0) scale(1); }
.cdate__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cdate__month { font-family: var(--font-d); font-size: 17px; color: var(--text); }
.cdate__nav {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(52, 229, 176, 0.06); color: var(--text); font-size: 18px; cursor: pointer;
  display: grid; place-items: center; transition: background 0.2s, color 0.2s;
}
.cdate__nav:hover:not(:disabled) { background: var(--mint); color: var(--ink); }
.cdate__nav:disabled { opacity: 0.3; cursor: default; }
.cdate__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cdate__dow { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cdate__day {
  aspect-ratio: 1; min-height: 34px; border: none; border-radius: 9px;
  background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.cdate__day:hover:not(:disabled) { background: rgba(52, 229, 176, 0.12); transform: scale(1.06); }
.cdate__day:disabled { color: rgba(147, 184, 173, 0.3); cursor: default; }
.cdate__day.is-today { box-shadow: inset 0 0 0 1.5px rgba(52, 229, 176, 0.5); }
.cdate__day.is-selected { background: var(--grad); color: var(--ink); font-weight: 700; }
.field label { position: absolute; left: 16px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease; transform-origin: left top; }
.field label span { color: var(--coral); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(52, 229, 176, 0.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label, .cdate label, .field input[type="date"] + label {
  transform: translateY(-11px); font-size: 12px; color: var(--mint); font-weight: 600;
}
.field.is-invalid input { border-color: var(--coral); }
.field__err { font-size: 13px; color: var(--coral); margin-top: 4px; display: none; }
.field.is-invalid .field__err { display: block; }
.form__submit { width: 100%; }
.form__ok { color: var(--mint); font-weight: 600; text-align: center; }

/* ================= FOOTER ================= */
.footer { position: relative; background: var(--ink-2); border-top: 1px solid var(--line-soft); overflow: hidden; }
.footer::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: min(900px, 90vw); height: 340px; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, rgba(52, 229, 176, 0.12), transparent 70%);
}
/* epilogue CTA */
.footer__cta { position: relative; max-width: 1280px; margin: 0 auto; padding: var(--s5) var(--s1) var(--s4); text-align: center; }
.footer__kicker { font-family: var(--font-b); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: 20px; }
.footer__headline { font-size: clamp(32px, 6.6vw, 72px); font-weight: 500; letter-spacing: -0.03em; color: var(--text); max-width: 18ch; margin: 0 auto; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: center; margin-top: 36px; }
.footer__tel-big { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-d); font-size: 24px; color: var(--text); transition: color 0.25s; }
.footer__tel-big:hover { color: var(--mint); }
.footer__tel-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); animation: beat 1.4s ease-out infinite; }
.footer__ecg { display: block; width: 100%; margin-top: var(--s4); opacity: 0.8; }

.marquee { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 22px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; font-family: var(--font-d); font-size: clamp(26px, 5vw, 48px); color: rgba(52, 229, 176, 0.14); animation: marquee 26s linear infinite; will-change: transform; }
@keyframes marquee { to { transform: translateX(-50%); } }

.footer__inner { max-width: 1280px; margin: 0 auto; padding: var(--s4) var(--s1) var(--s3); display: grid; gap: 36px; }
.footer__brand img { width: 140px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__brand p { margin-top: 16px; font-size: 15px; color: var(--muted); max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: var(--muted); border: 1px solid var(--line-soft); background: rgba(234, 246, 242, 0.03);
  transition: color 0.25s, border-color 0.25s, transform 0.25s, background 0.25s, box-shadow 0.25s;
}
.footer__social a:hover { color: var(--ink); background: var(--mint); border-color: var(--mint); transform: translateY(-3px); box-shadow: 0 8px 22px rgba(52, 229, 176, 0.35); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font-family: var(--font-b); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 6px; }
.footer__col a { position: relative; width: fit-content; font-size: 14.5px; color: var(--muted); transition: color 0.25s; }
.footer__col a span { display: inline-block; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.footer__col a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1.5px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.footer__col a:hover { color: var(--text); }
.footer__col a:hover span { transform: translateX(20px); }
.footer__col a:hover::before { transform: scaleX(1); }
.footer__col p { font-size: 14.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.footer__live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; animation: node 2.2s ease-out infinite; }

.footer__base {
  border-top: 1px solid var(--line-soft); padding: 20px var(--s1);
  display: flex; flex-direction: column; gap: 12px; align-items: center;
  font-size: 13.5px; color: var(--muted);
}
.footer__base-tag { font-size: 12.5px; letter-spacing: 0.06em; }
.footer__top {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--mint);
  border: 1px solid var(--line); background: rgba(52, 229, 176, 0.06);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.footer__top::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(52, 229, 176, 0.5); animation: ring 2.6s ease-out infinite;
}
.footer__top:hover { background: var(--mint); color: var(--ink); transform: translateY(-3px); }

/* ================= BREAKPOINTS ================= */
@media (min-width: 560px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .hero__title { font-size: clamp(56px, 11vw, 132px); }
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .spec__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hosp__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .care__story { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
  .converge { grid-template-columns: 1.05fr 0.95fr; align-items: start; gap: 56px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .chapter--light { border-radius: 60px; }
  .dots { display: flex; }
}
@media (min-width: 1024px) {
  .nav__burger { display: none; }
  .spec__grid { grid-template-columns: repeat(3, 1fr); }
  .hosp__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .chapter { padding-left: var(--s2); padding-right: var(--s2); }
}

/* ================= TRUST MARQUEE ================= */
.trust { max-width: none; padding: var(--s4) 0; overflow: hidden; }
.trust__label { text-align: center; font-family: var(--font-b); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.trust__marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.trust__marquee + .trust__marquee { margin-top: 14px; }
.trust__track { display: flex; gap: 14px; padding-right: 14px; flex: none; animation: tmarq 40s linear infinite; will-change: transform; }
.trust__marquee--rev .trust__track { animation-direction: reverse; animation-duration: 52s; }
.trust__marquee:hover .trust__track { animation-play-state: paused; }
@keyframes tmarq { to { transform: translateX(-50%); } }
.trust__chip { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-family: var(--font-b); font-weight: 500; font-size: 15px; color: var(--text); background: rgba(52, 229, 176, 0.06); border: 1px solid var(--line); white-space: nowrap; }
.trust__chip::before { content: "✚"; color: var(--mint); font-size: 13px; }
.trust__chip--ghost { color: var(--muted); background: transparent; border-color: var(--line-soft); }
.trust__chip--ghost::before { content: "·"; color: var(--cyan); font-size: 22px; line-height: 0; }

/* ================= PATIENT JOURNEY (horizontal pin) ================= */
.journey { overflow: hidden; }
.journey__head { max-width: 760px; margin-bottom: var(--s3); }
.journey__title { font-size: clamp(30px, 5.6vw, 54px); }
.journey__pin { position: relative; }
.journey__progress { position: relative; height: 2px; background: var(--line-soft); border-radius: 2px; margin-bottom: 30px; overflow: hidden; }
.journey__progress span { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--grad); border-radius: 2px; }
.journey__track { display: grid; grid-auto-flow: row; gap: 16px; }
.jstep {
  position: relative; padding: 34px 30px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(18, 42, 36, 0.7), rgba(10, 26, 22, 0.5));
  border: 1px solid var(--line-soft); backdrop-filter: blur(8px);
  transition: transform 0.4s ease, border-color 0.4s, box-shadow 0.4s;
}
.jstep:hover { border-color: var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.jstep__no { font-family: var(--font-d); font-size: 40px; font-weight: 500; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.jstep h3 { font-size: 24px; color: var(--text); margin-bottom: 10px; }
.jstep p { color: var(--muted); font-size: 15.5px; }

/* ================= CINEMATIC DUOTONE BAND ================= */
.moment { position: relative; height: 78vh; min-height: 460px; overflow: hidden; }
.moment__media { position: absolute; inset: 0; }
.duotone { position: absolute; inset: 0; overflow: hidden; }
.moment__img { width: 100%; height: 116%; object-fit: cover; will-change: transform; filter: grayscale(1) contrast(1.08) brightness(0.62); }
/* duotone: ink shadows + mint/cyan highlights */
.duotone::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #04110d, #0b2a3a); mix-blend-mode: multiply; }
.duotone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(52, 229, 176, 0.5), rgba(55, 210, 230, 0.35)); mix-blend-mode: lighten; }
.moment__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--s2); background: linear-gradient(90deg, rgba(5, 17, 14, 0.7), transparent 70%); }
.moment__overlay::after { content: ""; position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); pointer-events: none; }
.moment__line { position: relative; z-index: 1; font-family: var(--font-d); font-weight: 500; font-size: clamp(30px, 6vw, 68px); letter-spacing: -0.02em; color: #fff; max-width: 16ch; line-height: 1.08; }
.moment__line--grad { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ================= TESTIMONIALS ================= */
.stories__head { max-width: 760px; margin-bottom: var(--s3); }
.stories__title { font-size: clamp(30px, 5.6vw, 54px); }
.stories__viewport { overflow: hidden; }
.stories__rail { display: flex; touch-action: pan-y; }
.story {
  flex: 0 0 100%; padding: 36px 30px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(18, 42, 36, 0.72), rgba(10, 26, 22, 0.5));
  border: 1px solid var(--line-soft); backdrop-filter: blur(8px);
  transition: transform 0.4s ease, opacity 0.5s ease, filter 0.5s ease; transform-style: preserve-3d;
}
/* next card peeks in dimmed on desktop; active card is crisp */
.story:not(.is-current) { opacity: 0.35; filter: saturate(0.6); pointer-events: none; }
.story.is-current { opacity: 1; filter: none; }
.story__stars { color: var(--mint); letter-spacing: 3px; font-size: 15px; margin-bottom: 18px; }
.story blockquote { font-family: var(--font-d); font-size: clamp(19px, 2.6vw, 26px); font-weight: 400; line-height: 1.4; color: var(--text); }
.story figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.story__avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-b); font-weight: 700; font-size: 15px; color: var(--ink); background: linear-gradient(135deg, var(--a), var(--b)); flex: none; }
.story__who { display: grid; }
.story__who strong { font-family: var(--font-b); font-size: 15px; color: var(--text); }
.story__who small { font-size: 13px; color: var(--muted); }
.stories__nav { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.stories__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(52, 229, 176, 0.06); color: var(--text); font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: background 0.25s, transform 0.25s; }
.stories__arrow:hover { background: var(--mint); color: var(--ink); transform: translateY(-2px); }
.stories__dots { display: flex; gap: 8px; margin-right: auto; }
.stories__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-soft); border: 1px solid var(--line); cursor: pointer; padding: 0; transition: all 0.3s; }
.stories__dot.is-active { background: var(--mint); box-shadow: 0 0 10px var(--mint); width: 26px; border-radius: 5px; }

/* ================= EMERGENCY — SIREN ================= */
.siren { position: relative; max-width: none; padding: var(--s5) var(--s1); text-align: center; overflow: hidden; }
.siren__rings { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; }
.siren__rings span { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; border: 1px solid rgba(255, 126, 134, 0.4); animation: ring 3.6s ease-out infinite; }
.siren__rings span:nth-child(2) { animation-delay: 1.2s; }
.siren__rings span:nth-child(3) { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(0.3); opacity: 0.9; } 100% { transform: scale(3.4); opacity: 0; } }
.siren__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.siren__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-b); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 20px; }
.siren__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px var(--coral); animation: beat 1.3s ease-out infinite; }
.siren__title { font-size: clamp(40px, 9vw, 92px); font-weight: 500; }
.siren__title .word > span { background: linear-gradient(100deg, #fff, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.siren__body { margin: 22px auto 0; max-width: 46ch; color: var(--muted); font-size: 17px; }
.btn--siren { margin-top: 32px; background: linear-gradient(100deg, var(--coral), #ff9d7a); color: var(--ink); box-shadow: 0 10px 40px rgba(255, 126, 134, 0.4); }
.btn--siren:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(255, 126, 134, 0.55); }
.siren__note { margin-top: 20px; font-size: 13.5px; color: var(--muted); letter-spacing: 0.02em; }

/* ================= FAQ ================= */
.faq__head { max-width: 720px; margin-bottom: var(--s3); }
.faq__title { font-size: clamp(28px, 5.2vw, 50px); }
.faq__list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; background: transparent; border: none; cursor: pointer; text-align: left; font-family: var(--font-d); font-size: clamp(18px, 2.6vw, 24px); font-weight: 500; color: var(--text); transition: color 0.25s; }
.faq-item__q:hover { color: var(--mint); }
.faq-item__icon { position: relative; width: 22px; height: 22px; flex: none; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--mint); border-radius: 2px; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.faq-item__icon::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq-item__icon::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }
.faq-item__a { overflow: hidden; height: 0; }
.faq-item__a p { padding: 0 4px 26px; color: var(--muted); font-size: 16px; max-width: 68ch; }

/* ================= new-section breakpoints ================= */
@media (min-width: 768px) {
  .jstep p { font-size: 16px; }
  .siren__rings span { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .footer__inner { grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; }
  .footer__base { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
  /* horizontal pin only on desktop */
  .journey__pin.is-pinnable { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .journey__pin.is-pinnable .journey__track { grid-auto-flow: column; grid-auto-columns: minmax(360px, 42vw); gap: 28px; will-change: transform; }
  .journey__pin.is-pinnable .jstep { height: auto; min-height: 300px; }
  .story { flex-basis: 66%; margin-right: 20px; }
  /* fade the peeking next card at the right edge instead of hard-cropping it */
  .stories__viewport {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.35) 88%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.35) 88%, transparent 100%);
  }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  #field, .lifeline, .scrollcue { display: revert; }
  html { scroll-behavior: auto; }
}
