/* =========================================================
   HALO — dark, phone-first dental studio
   ---------------------------------------------------------
   Three layers, in this order:

   1. BASE          one long dark page. No JavaScript needed.
                    Every panel is an ordinary section.
   2. html.app      a phone with JavaScript. Panels become
                    full-screen overlays that open out of the
                    card that was tapped.
   3. min-width 900 desktop. Section links in the top bar, the
                    dock shrinks to a corner pill, panels are
                    sections again.

   Layer 1 is the fallback and it is a complete site on its own.
   Nothing below hides content unless main.js has confirmed it
   is running, which is what the `.js` and `.app` classes are for.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* site.js overwrites these two from brand.primary / brand.ink.
     --brand glows on near-black, so it has to stay bright.
     --ink is what sits ON the accent, so it has to stay dark. */
  --brand: #C7F751;
  --ink:   #0A0B0F;

  --bg:    #0A0B0F;
  --bg-2:  #10121A;
  --bg-3:  #171A24;
  --bg-4:  #1E222E;

  /* Every accent wash on the page is mixed from --brand rather
     than written out as a literal, so changing brand.primary in
     the config recolours the glows and tints along with it. */
  --tint-1: color-mix(in srgb, var(--brand) 11%, transparent);
  --tint-2: color-mix(in srgb, var(--brand) 21%, transparent);
  --tint-3: color-mix(in srgb, var(--brand) 42%, transparent);
  --glow:   color-mix(in srgb, var(--brand) 55%, transparent);

  --line:   rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .17);

  --text:   #F1F2F5;
  --text-2: #A6AAB7;
  --text-3: #6E7385;

  --r-s: 14px;
  --r:   22px;
  --r-l: 30px;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --disp: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --bar-h:  56px;
  --dock-h: 70px;
  --safe:   env(safe-area-inset-bottom, 0px);

  --ease:   cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.32, 1.42, .5, 1);
  --out:    cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* Some components set display in their own rule, which beats a
   plain [hidden]. This makes the attribute mean what it says. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--disp);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.022em;
}
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* For screen readers only. Used by the digit reels, which spell
   out 0-9 twice over and are no use read aloud. */
.sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Small shared pieces ---------- */
.kick {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kick svg { font-size: 14px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  line-height: 1;
  color: var(--text);
}
.pill svg { font-size: 13px; color: var(--brand); }
.pill b { font-weight: 600; }
.pill span { color: var(--text-2); }
.pill--live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: ping 2.4s ease-out infinite;
}
.pill--shut i { background: var(--text-3); animation: none; box-shadow: none; }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 var(--glow); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .3s var(--spring), background .22s, border-color .22s, box-shadow .3s;
}
.btn svg { font-size: 17px; }
.btn:active { transform: scale(.97); }

.btn--go {
  background: var(--brand);
  color: var(--ink);
  box-shadow: 0 14px 40px -14px var(--glow);
}
.btn--go:hover { box-shadow: 0 18px 48px -12px var(--glow); }
.btn--go svg { transition: transform .3s var(--ease); }
.btn--go:hover svg { transform: translateX(4px); }

.btn--ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: var(--line-2); }
.btn--ghost svg { color: var(--brand); }

.btn--wide { width: 100%; }


/* =========================================================
   4. TOP BAR
   ========================================================= */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 14px;
  height: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 16px 0;
  background: transparent;
  transition: background .3s var(--ease), border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.bar.is-lift {
  background: rgba(10, 11, 15, .78);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}

.bar__logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.bar__mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--ink);
  font-size: 17px;
}
.bar__mark svg { fill: currentColor; }
.bar__type { display: flex; flex-direction: column; line-height: 1.06; }
.bar__type b {
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.bar__type i {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
}

.bar__links { display: none; }

.bar__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, border-color .2s;
}
.bar__call svg { font-size: 17px; color: var(--brand); }
.bar__call span { display: none; }
.bar__call:hover { background: rgba(255, 255, 255, .07); }


/* =========================================================
   5. HERO
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Deliberately short of a full screen, so the numbers below
     peek over the fold. That says "there is more" better than any
     scroll cue, and the dock is already sitting at the bottom. */
  min-height: 92svh;
  padding: calc(var(--bar-h) + 40px) 20px calc(var(--dock-h) + var(--safe) + 26px);
  overflow: hidden;
  isolation: isolate;
}

.hero__art { position: absolute; inset: 0; z-index: -1; }
.hero__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(.55) contrast(1.05);
  transform: scale(1.06);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -2%, 0); }
}
/* Two washes: one that lifts the accent out of the top corner,
   one that buries the bottom of the photo so the headline never
   has to fight it. */
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 78% at 82% 6%, var(--tint-2), transparent 58%),
    linear-gradient(to bottom, rgba(10, 11, 15, .55) 0%, rgba(10, 11, 15, .8) 46%, var(--bg) 96%);
}

.halo {
  position: absolute;
  top: -14%; right: -32%;
  width: 108vw;
  max-width: 620px;
  height: auto;
  fill: none;
  stroke: var(--brand);
  opacity: .5;
}
.halo circle {
  stroke-width: 1;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}
.js .halo__r1 { animation: draw 2.2s var(--out) .25s forwards; }
.js .halo__r2 {
  stroke: rgba(255, 255, 255, .3);
  animation: draw 2.6s var(--out) .45s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
/* Without JS the rings would sit as unfinished arcs, so leave
   them closed instead. */
html:not(.js) .halo circle { stroke-dashoffset: 0; }

.hero__in { position: relative; max-width: 620px; }

.hero__h {
  margin: 22px 0 0;
  font-size: clamp(2.05rem, 9.4vw, 3.1rem);
  font-weight: 600;
}
.hero__h em {
  font-style: normal;
  color: var(--brand);
  text-shadow: 0 0 34px var(--tint-3);
}
/* One box per word, clipping its own contents, so the words can
   rise out from behind their own baseline. The padding/margin
   pair gives descenders room inside the clip. */
.hero__h .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .16em;
  margin-bottom: -.16em;
}
.hero__h .w > i {
  display: inline-block;
  font-style: inherit;
  transform: translateY(112%);
  transition: transform .95s var(--out);
  transition-delay: var(--d, 0ms);
}
.hero__h.is-in .w > i { transform: none; }

.hero__p {
  margin: 18px 0 0;
  max-width: 46ch;
  color: var(--text-2);
  font-size: 15.5px;
}

.hero__go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__go .btn { flex: 1 1 100%; }


/* =========================================================
   6. THE NUMBERS — digit reels
   ========================================================= */
.reels { padding: 42px 20px 6px; }
.reels__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--line);
  overflow: hidden;
}
.reels__row > li {
  padding: 20px 16px;
  background: var(--bg-2);
}
.reels__row b {
  position: relative;   /* holds the screen-reader copy of the number */
  display: block;
  font-family: var(--disp);
  font-size: clamp(1.7rem, 8vw, 2.3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--text);
}
/* Direct child only. main.js builds the digit reels out of spans
   inside the <b>, and a loose `.reels__row span` would hand every
   one of them the label's font size and display:block. */
.reels__row > li > span {
  display: block;
  margin-top: 5px;
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.35;
}

/* Each digit is a strip of 0-9 printed twice, so the strip can
   travel a full revolution before it lands. A comma or a full
   stop is not a reel and just sits there. Everything sits on the
   bottom edge of the line rather than the baseline, because an
   overflow:hidden box's baseline is its bottom margin edge and
   mixing the two makes the comma float. */
.reel { display: inline-block; }
.reel__sep,
.reel__col {
  display: inline-block;
  height: 1.05em;
  line-height: 1.05em;
  vertical-align: bottom;
}
.reel__col { overflow: hidden; }
.reel__strip {
  display: block;
  transform: translateY(0);
  transition: transform 1.5s var(--out);
  transition-delay: var(--d, 0ms);
}
.reel__strip i {
  display: block;
  height: 1.05em;
  line-height: 1.05em;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}


/* =========================================================
   7. TICKER
   ========================================================= */
.tick {
  margin-top: 30px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  /* Fades both ends into the page so the loop has no visible
     entry or exit point. */
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.tick__belt { display: flex; width: max-content; }
.js .tick__belt { animation: belt 38s linear infinite; }
.tick:hover .tick__belt, .tick:active .tick__belt { animation-play-state: paused; }
@keyframes belt { to { transform: translate3d(-50%, 0, 0); } }

.tick__row { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.tick__row > li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}
.tick__row svg { font-size: 15px; color: var(--brand); }


/* =========================================================
   8. THE STACK
   ========================================================= */
.deal { padding: 46px 20px 30px; }
.deal__head h2 { margin-top: 10px; font-size: clamp(1.6rem, 7vw, 2.1rem); }

.stack {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  perspective: 1000px;
}

.tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)),
    var(--bg-2);
  transform-origin: 50% 100%;
  transition: transform .3s var(--spring), border-color .25s, background .25s;
}
.tile:active { transform: scale(.982); }
.tile:hover { border-color: var(--line-2); }

.tile__ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--tint-1);
  color: var(--brand);
  font-size: 20px;
}
.tile__txt { min-width: 0; }
.tile__txt b {
  display: block;
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.tile__txt i {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile__go {
  font-size: 19px;
  color: var(--text-3);
  transition: transform .3s var(--ease), color .25s;
}
.tile:hover .tile__go { transform: translateX(3px); color: var(--brand); }


/* =========================================================
   9. PANEL SHELL
   In this layer a panel is just a section of the page. The app
   layer further down turns it into an overlay.
   ========================================================= */
.panel {
  position: relative;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}
.panel__bar { display: none; }
.panel__in { max-width: 1080px; margin-inline: auto; padding: 0 20px; }

.panel__head { max-width: 34em; }
.panel__head h2 {
  margin-top: 12px;
  font-size: clamp(1.6rem, 7vw, 2.2rem);
}
.panel__head p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15px;
}
.panel__head--mid { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); }

.panel__foot {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-s);
  color: var(--text-2);
  font-size: 13px;
}


/* ---------- 10. Prices ---------- */
.chips {
  display: flex;
  gap: 8px;
  margin: 24px -20px 0;
  padding: 0 20px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s, border-color .22s, transform .3s var(--spring);
}
.chip:active { transform: scale(.95); }
.chip.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
}

.prices { margin-top: 18px; }
.price {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.price:first-child { border-top: 1px solid var(--line); }
.price__n {
  font-family: var(--disp);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}
.price__b b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.price__b i {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-3);
}
.price__r { text-align: right; white-space: nowrap; }
.price__r b {
  display: block;
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}
.price__r i {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11.5px;
  color: var(--text-3);
}
/* Set by the filter, not by the stylesheet, so a script failure
   leaves the whole list on the page. */
.price.is-off { display: none; }
@keyframes rowIn {
  from { opacity: 0; transform: translate3d(0, 9px, 0); }
  to   { opacity: 1; transform: none; }
}


/* ---------- 11. Clinicians ---------- */
.docs { display: grid; gap: 10px; margin-top: 26px; }
.doc {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
}
.doc__shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-4);
  aspect-ratio: 1;
}
.doc__shot img { width: 100%; height: 100%; object-fit: cover; }
.doc__txt b {
  display: block;
  font-family: var(--disp);
  font-size: 15.5px;
  font-weight: 600;
}
.doc__txt em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
}
.doc__txt > span {
  display: block;
  margin-top: 8px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
}


/* ---------- 12. Photos ---------- */
.shots {
  display: flex;
  gap: 10px;
  margin: 26px -20px 0;
  padding: 0 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots > li {
  flex: 0 0 76%;
  scroll-snap-align: center;
}
.shots figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 4 / 5;
}
.shots img { width: 100%; height: 100%; object-fit: cover; }
.shots__hint {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 12.5px;
}


/* ---------- 13. Reviews ---------- */
.score {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  max-width: 520px;
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--tint-2);
  border-radius: var(--r);
  background:
    radial-gradient(90% 130% at 0% 0%, var(--tint-1), transparent 62%),
    var(--bg-2);
  transition: transform .3s var(--spring), border-color .25s;
}
.score:hover { transform: translateY(-2px); border-color: var(--tint-3); }
.score__n {
  font-family: var(--disp);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--brand);
}
.score__stars { display: flex; gap: 2px; color: var(--brand); font-size: 14px; }
.score__b b { display: block; margin-top: 5px; font-size: 14px; font-weight: 600; }
.score__b i { display: block; margin-top: 2px; font-style: normal; font-size: 12.5px; color: var(--text-3); }

.quotes {
  display: flex;
  gap: 10px;
  margin: 16px -20px 0;
  padding: 0 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 82%;
  scroll-snap-align: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
}
.quote__q { font-size: 22px; color: var(--tint-3); }
.quote blockquote {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}
.quote cite { display: block; margin-top: 14px; font-style: normal; }
.quote cite b { display: block; font-size: 13.5px; font-weight: 600; }
.quote cite i { display: block; font-style: normal; font-size: 12px; color: var(--text-3); }


/* ---------- 14. Good to know ---------- */
.whys {
  display: flex;
  gap: 10px;
  margin: 26px -20px 0;
  padding: 0 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.whys::-webkit-scrollbar { display: none; }
.why {
  flex: 0 0 74%;
  scroll-snap-align: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
}
.why__ico {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--tint-1);
  color: var(--brand);
  font-size: 19px;
}
.why b {
  display: block;
  margin-top: 14px;
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 600;
}
.why p { margin-top: 7px; color: var(--text-2); font-size: 13px; line-height: 1.5; }

.qas { margin-top: 22px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 17px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.qa__q svg {
  flex: 0 0 auto;
  font-size: 20px;
  color: var(--text-3);
  transition: transform .35s var(--spring), color .25s;
}
.qa.is-on .qa__q svg { transform: rotate(180deg); color: var(--brand); }

/* 0fr to 1fr animates, and unlike a max-height guess it does not
   have to know how tall the answer is. The grid child carries the
   overflow and nothing else: any padding on it would survive the
   collapse and leave a gap under every closed question. */
.qa__wrap {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .42s var(--ease), opacity .3s var(--ease);
}
.js .qa__wrap { grid-template-rows: 0fr; opacity: 0; }
.js .qa.is-on .qa__wrap { grid-template-rows: 1fr; opacity: 1; }
.qa__in { overflow: hidden; min-height: 0; }
.qa__in p {
  padding-bottom: 18px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.62;
}


/* ---------- 15. Visit ---------- */
.map { margin-top: 26px; }
.map__frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 16 / 11;
}
.map__frame::after {
  content: 'Loading map…';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text-3);
  font-size: 13px;
}
.map__frame.is-loaded::after { content: none; }
.map__frame iframe {
  position: relative;
  width: 100%; height: 100%;
  border: 0;
}
/* No invert/hue-rotate trick here on purpose. Google's embed is a
   cross-origin iframe, which Chromium composites in its own
   process and paints without the parent's CSS filter — the rule
   computes, does nothing, and you only find out by looking. The
   map stays light and is framed to look deliberate instead. */
.map__frame {
  box-shadow: 0 0 0 1px var(--tint-2), 0 20px 50px -24px rgba(0, 0, 0, .9);
}
.map__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
}
.map__go:hover { text-decoration: underline; text-underline-offset: 3px; }

.hours {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.hours > li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.hours b { font-weight: 600; }
.hours i { font-style: normal; color: var(--text-2); font-variant-numeric: tabular-nums; }

.park {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.55;
}
.park svg { flex: 0 0 auto; margin-top: 3px; font-size: 16px; color: var(--brand); }

.reach { display: grid; gap: 9px; margin-top: 22px; }
.reach .btn { justify-content: flex-start; }
.reach .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* ---------- 16. Booking ---------- */
.panel--book {
  background:
    radial-gradient(90% 60% at 50% 0%, var(--tint-1), transparent 60%),
    var(--bg);
}
.book { display: grid; gap: 26px; }
.book__say h2 { margin-top: 12px; font-size: clamp(1.6rem, 7vw, 2.2rem); }
.book__say p { margin-top: 12px; color: var(--text-2); font-size: 15px; }

.vows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--line);
  overflow: hidden;
}
.vows > li { padding: 13px 12px; background: var(--bg-2); }
.vows b {
  display: block;
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}
.vows span {
  display: block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.35;
}

.form { display: grid; gap: 13px; }
.fld { display: block; }
.fld > span {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}
.fld > span i { font-style: normal; font-weight: 400; color: var(--text-3); }
.fld input, .fld select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  background: var(--bg-2);
  color: var(--text);
  font-size: 15px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.fld input::placeholder { color: var(--text-3); }
.fld input:focus, .fld select:focus {
  outline: 0;
  border-color: var(--brand);
  background: var(--bg-3);
  box-shadow: 0 0 0 4px var(--tint-1);
}
.fld select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-2) 50%),
    linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: right 20px center, right 15px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.fld.is-bad input { border-color: #FF6B6B; }
.fld__err { display: block; margin-top: 6px; color: #FF8585; font-size: 12px; }

.form__fine { color: var(--text-3); font-size: 12px; line-height: 1.5; }


/* ---------- 17. Footer ---------- */
.credit {
  padding: 34px 20px calc(var(--dock-h) + var(--safe) + 26px);
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 12.5px;
  text-align: center;
}
.credit p + p { margin-top: 5px; }


/* =========================================================
   18. DOCK
   ========================================================= */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  /* Above an open panel, which is why every panel pads its own
     bottom clear of it. The one exception is the booking panel:
     a Book button floating over the booking form is nonsense. */
  z-index: 130;
  display: flex;
  align-items: center;
  gap: 9px;
  height: calc(var(--dock-h) + var(--safe));
  padding: 0 14px var(--safe);
  background: rgba(10, 11, 15, .84);
  backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--line);
}
.dock__ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  color: var(--text);
  font-size: 20px;
  transition: background .2s, transform .3s var(--spring);
}
.dock__ico:active { transform: scale(.93); }
.dock__ico:hover { background: rgba(255, 255, 255, .08); }

.dock__go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1 1 auto;
  height: 46px;
  padding: 0 8px 0 18px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--ink);
  box-shadow: 0 12px 34px -12px var(--glow);
  transition: transform .3s var(--spring), box-shadow .3s;
}
.dock__go:active { transform: scale(.975); }
.dock__txt { display: flex; flex-direction: column; line-height: 1.1; }
.dock__txt b { font-family: var(--disp); font-size: 15px; font-weight: 600; }
.dock__txt i {
  display: flex;
  gap: 5px;
  font-style: normal;
  font-size: 11px;
  opacity: .72;
}
.dock__arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(10, 11, 15, .12);
  font-size: 17px;
}

.app .dock { transition: transform .34s var(--ease), opacity .24s var(--ease); }
.app.is-booking .dock {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}


/* =========================================================
   19. TOAST
   ========================================================= */
.toast {
  position: fixed;
  /* Centred with auto margins rather than left:50% and a -50%
     nudge: with only `left` set, a fixed element's shrink-to-fit
     width is capped at half the viewport and the message wraps. */
  left: 16px;
  right: 16px;
  margin-inline: auto;
  width: fit-content;
  bottom: calc(var(--dock-h) + var(--safe) + 16px);
  z-index: 140;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 46px -14px rgba(0, 0, 0, .8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.96);
  transition: opacity .3s var(--ease), transform .38s var(--spring), visibility .3s;
}
.toast.is-on { opacity: 1; visibility: visible; transform: none; }
.toast svg { flex: 0 0 auto; font-size: 18px; }


/* =========================================================
   20. LIGHTBOX (built by site.js)
   ========================================================= */
.lbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 5, 7, .95);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .24s var(--ease);
}
.lbox.is-on { opacity: 1; }
.lbox__stage { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lbox__stage img {
  max-width: 100%;
  max-height: 76vh;
  margin-inline: auto;
  border-radius: var(--r-s);
  object-fit: contain;
}
.lbox__stage figcaption { margin-top: 12px; color: var(--text-2); font-size: 13px; }
.lbox__x, .lbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s;
}
.lbox__x:hover, .lbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lbox__x { top: 16px; right: 16px; }
.lbox__nav--prev { left: 12px; }
.lbox__nav--next { right: 12px; }


/* =========================================================
   21. REVEALS
   Gated on `.js` so a script that never runs leaves everything
   on the page rather than invisible.
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity .7s var(--ease), transform .8s var(--out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* The stack gets dealt rather than faded: each card arrives from
   below, tilted back, and rights itself. */
.js [data-deal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0) rotateX(-18deg) scale(.955);
  transition: opacity .55s var(--ease), transform .85s var(--spring);
  transition-delay: var(--d, 0ms);
}
.js [data-deal].is-in { opacity: 1; transform: none; }


/* =========================================================
   22. APP LAYER — a phone with JavaScript
   ========================================================= */
.app .home { padding-bottom: calc(var(--dock-h) + var(--safe) + 20px); }

/* Nothing scrolls behind an open panel. Both elements, because
   which of the two owns the viewport scroll varies by browser. */
.app.is-locked,
.app.is-locked body { overflow: hidden; }

.app .panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 0 0 calc(var(--dock-h) + var(--safe) + 30px);
  border-top: 0;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  visibility: hidden;
}
.app .panel::-webkit-scrollbar { display: none; }
.app .panel.is-open { visibility: visible; }

.app .panel__bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  height: calc(54px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 16px 0;
  background: rgba(10, 11, 15, .82);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.app .panel__bar b {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.panel__x {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  margin-left: -6px;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  color: var(--text);
  font-size: 19px;
  cursor: pointer;
  transition: background .2s, transform .3s var(--spring);
}
.panel__x:active { transform: scale(.9); }

.app .panel__in { padding: 20px 20px 0; }
/* The pull tab at the very top of a panel, so the drag-to-close
   gesture has something to advertise itself with. */
.app .panel__in::before {
  content: '';
  display: block;
  width: 42px; height: 4px;
  margin: -8px auto 16px;
  border-radius: 999px;
  background: var(--line-2);
}
.app .panel--book .panel__in::before { display: none; }

/* main.js moves the footer into the Visit panel here, and that
   panel already pads itself clear of the dock. */
.app .credit { padding-bottom: 30px; border-top: 0; }


/* =========================================================
   23. DESKTOP
   ========================================================= */
@media (min-width: 900px) {
  :root { --bar-h: 68px; }

  body { font-size: 16.5px; }

  .bar { padding-inline: 34px; }
  .bar__links {
    display: flex;
    gap: 26px;
    margin-right: 26px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
  }
  .bar__links a { transition: color .2s; }
  .bar__links a:hover { color: var(--brand); }
  .bar__call { padding: 9px 16px; }
  .bar__call span { display: inline; }

  /* ---- hero ---- */
  .hero {
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    align-items: center;
    gap: 54px;
    min-height: 92vh;
    padding: calc(var(--bar-h) + 60px) 34px 80px;
    max-width: 1280px;
    margin-inline: auto;
  }
  .hero__art {
    position: relative;
    order: 2;
    inset: auto;
    z-index: 0;
    border-radius: var(--r-l);
    overflow: hidden;
    aspect-ratio: 4 / 4.4;
    border: 1px solid var(--line);
  }
  .hero__art img { opacity: .74; filter: saturate(.8) contrast(1.02); }
  .hero__veil {
    background:
      radial-gradient(90% 70% at 70% 6%, rgba(199, 247, 81, .2), transparent 60%),
      linear-gradient(to top, rgba(10, 11, 15, .8), transparent 62%);
  }
  /* The frame clips it, so the rings read as two arcs sweeping
     across the top corner of the photo rather than a full circle. */
  .halo {
    top: -34%; right: -36%;
    width: 152%;
    max-width: none;
    opacity: .5;
  }
  .hero__in { order: 1; max-width: none; }
  .hero__h { font-size: clamp(2.8rem, 4.3vw, 4.15rem); }
  .hero__p { font-size: 17px; margin-top: 22px; }
  .hero__go { margin-top: 34px; }
  .hero__go .btn { flex: 0 0 auto; padding-inline: 26px; }

  /* ---- numbers ---- */
  .reels { padding: 20px 34px 0; max-width: 1280px; margin-inline: auto; }
  .reels__row { grid-template-columns: repeat(4, 1fr); }
  .reels__row > li { padding: 26px 24px; }
  .reels__row b { font-size: 2.6rem; }
  .reels__row > li > span { font-size: 13px; }

  /* ---- ticker ---- */
  .tick { margin-top: 46px; padding: 16px 0; }
  .tick__row { gap: 46px; padding-right: 46px; }
  .tick__row > li { font-size: 14px; }

  /* ---- stack becomes a chapter row ---- */
  .deal { max-width: 1280px; margin-inline: auto; padding: 76px 34px 20px; }
  .deal__head h2 { font-size: 2.5rem; }
  .stack {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
  }
  .tile { padding: 20px; }
  .tile:hover {
    transform: translateY(-4px);
    background:
      linear-gradient(180deg, var(--tint-1), rgba(255, 255, 255, 0)),
      var(--bg-2);
  }

  /* ---- panels ---- */
  .panel { padding: 84px 0; }
  .panel__in { padding-inline: 34px; }
  .panel__head h2 { font-size: 2.5rem; }
  .panel__head p { font-size: 16.5px; }

  .prices { margin-top: 26px; }
  .price { grid-template-columns: auto 1fr auto; gap: 22px; padding: 19px 0; }
  .price__b b { font-size: 16.5px; }
  .price__r b { font-size: 17px; }
  .panel__foot { max-width: 62ch; }
  /* A full-width primary button looks like a phone control, so on
     a wide page it shrinks back to its own content. */
  #care .btn--wide { width: auto; }

  .docs { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .doc { grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; }
  .doc__shot { border-radius: 0; aspect-ratio: 4 / 4.6; }
  .doc__shot img { transition: transform .7s var(--ease); }
  .doc:hover .doc__shot img { transform: scale(1.05); }
  .doc__txt { padding: 18px; }

  .shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .shots > li { flex: initial; }
  .shots figure { aspect-ratio: 4 / 3.4; }
  .shots img { transition: transform .7s var(--ease); }
  .shots figure:hover img { transform: scale(1.06); }

  .score { margin-top: 34px; padding: 26px; }
  .score__n { font-size: 3.4rem; }
  .quotes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    overflow: visible;
  }
  .quote { flex: initial; padding: 24px; }
  .quote blockquote { font-size: 15.5px; }

  .whys {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 34px 0 0;
    padding: 0;
    overflow: visible;
  }
  .why { flex: initial; padding: 24px; }
  .qas { margin-top: 30px; max-width: 860px; }
  .qa__q { padding: 21px 0; font-size: 16px; }

  /* ---- visit ---- */
  .map { margin-top: 34px; }
  .map__frame { aspect-ratio: 21 / 8; }
  .hours { margin-top: 30px; }
  .hours > li { font-size: 15px; }
  .reach { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }

  /* ---- booking ---- */
  .panel--book { border-top: 1px solid var(--line); }
  .book {
    grid-template-columns: .92fr 1.08fr;
    gap: 54px;
    align-items: start;
  }
  .book__say h2 { font-size: 2.5rem; }
  .form { gap: 15px; }

  /* ---- dock shrinks into the corner ---- */
  .dock {
    left: auto;
    right: 28px;
    bottom: 26px;
    width: auto;
    height: auto;
    padding: 10px;
    border: 1px solid var(--line-2);
    border-radius: 20px;
    box-shadow: 0 26px 60px -20px rgba(0, 0, 0, .8);
  }
  .dock__go { flex: 0 0 auto; min-width: 190px; }
  .toast { left: auto; right: 28px; bottom: 104px; margin-inline: 0; }

  .credit { padding: 44px 34px 40px; }
}

@media (min-width: 1180px) {
  .stack { grid-template-columns: repeat(3, 1fr); }
  .hero { gap: 74px; }
}


/* =========================================================
   24. REDUCED MOTION
   Every animation here is decoration, so it all comes off.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal], .js [data-deal] { opacity: 1; transform: none; }
  .hero__h .w > i { transform: none; }
  .hero__art img { animation: none; transform: none; }
  .js .tick__belt { animation: none; }
  .js .qa__wrap { grid-template-rows: 1fr; opacity: 1; }
}
