/* Reboot Vitality, Concept V4 "Downshift" (GATE 1.5 r1, wildcard).
   Two states: OVERDRIVE (charcoal + signal amber, condensed caps) for the hero and why-us, then CALM (paper / stone + dusty blue,
   serif) from the downshift shore on. Tokens come from kit/tokens.css (.w-v4); world-only tokens below.
   Motion is GSAP only (main.js); CSS transitions here are hover / press only, on transform and opacity. No @keyframes. */

.w-v4 {
  --v4-pad: clamp(72px, 9vw, 136px);           /* band padding top and bottom: 2 x 130 px at 1440 clears lint M7 */
  --trace-h: clamp(290px, 38vh, 440px);        /* the travelling trace box; the line sits at 36% of it */
  --shore-h: calc(var(--trace-h) * 0.64);      /* everything below the line: the calm shore */
  --surface: #F7F6F5;
  --od-line: rgba(236, 234, 230, 0.14);
  --ink-line: rgba(25, 25, 25, 0.12);
  --tint: rgba(154, 182, 203, 0.24);           /* dusty blue wash for bezel shells */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); overflow-x: clip;
  font-family: var(--font-body); font-size: var(--body-size); line-height: var(--body-lead); font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.v4-page { overflow-x: clip; }
.v4-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: var(--focus-w) solid var(--focus); outline-offset: var(--focus-off); border-radius: 6px; }
.v4-track :focus-visible, .v4-nav :focus-visible, .v4-sticky :focus-visible, .v4-foot :focus-visible { outline-color: var(--focus-on-dark); }
.v4-nav.is-calm :focus-visible { outline-color: var(--focus); }

.v4-skip { position: absolute; left: 16px; top: -100px; z-index: 30; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.v4-skip:focus { top: 16px; }

/* ---------- shared type ---------- */
.v4-eyebrow {
  display: inline-block; font-family: var(--font-utility); font-size: var(--utility-size); letter-spacing: var(--utility-track);
  font-weight: var(--utility-weight); text-transform: uppercase; line-height: 1;
  padding: 7px 12px; border-radius: 13px; background: rgba(25, 25, 25, 0.06); color: var(--fg-muted);
}
.v4-eyebrow { justify-self: start; width: fit-content; }
.v4-eyebrow--od { background: rgba(236, 234, 230, 0.07); color: var(--od-fg-muted); }
.v4-h2 {
  font-family: var(--font-display-calm); font-size: clamp(40px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -0.012em;
  margin-top: 22px; max-width: 16em; text-wrap: balance;
}
.v4-h2--od {
  font-family: var(--font-display-od); font-weight: 800; font-stretch: var(--od-stretch); text-transform: uppercase;
  letter-spacing: var(--od-track); line-height: 0.86; font-size: clamp(38px, 4.6vw, 68px); color: var(--od-fg);
}
.v4-h3 { font-family: var(--font-display-calm); font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.01em; }
.v4-lede { margin-top: 22px; color: var(--fg-muted); max-width: 46ch; font-size: 19px; }
.v4-note { font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.06em; color: var(--od-fg-muted); }

.v4-link {
  color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: rgba(63, 111, 168, 0.4); font-weight: 500;
}
.v4-link:hover { text-decoration-color: var(--accent-strong); }

/* ---------- buttons (pill + button-in-button icon) ---------- */
.v4-btn {
  display: inline-flex; align-items: center; gap: 16px; min-height: 58px; padding: 8px 8px 8px 26px; border-radius: 999px;
  background: var(--cta-bg); color: var(--cta-fg); text-decoration: none; font-weight: 500; font-size: 17px; line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 30px -14px rgba(25, 25, 25, 0.45);
  transition: transform 0.5s var(--ease-out-expo);
}
.v4-btn:active { transform: scale(var(--press-scale)); }
.v4-btn-i {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(237, 236, 236, 0.14); transition: transform 0.6s var(--ease-out-expo);
}
.v4-btn:hover .v4-btn-i { transform: translate(3px, -1px) scale(1.06); }
.v4-btn-i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.v4-btn--light { background: var(--od-fg); color: #17181A; box-shadow: inset 0 1px 0 #fff, 0 14px 30px -16px rgba(0, 0, 0, 0.6); }
.v4-btn--light .v4-btn-i { background: #17181A; color: var(--od-fg); }
.v4-tel, .v4-link, .v4-nav-tel { white-space: nowrap; }
.v4-tel { color: var(--od-fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(236, 234, 230, 0.35); font-weight: 500; }
.v4-tel:hover { text-decoration-color: var(--od-fg); }
.v4-tel--ink { color: var(--fg); text-decoration-color: rgba(25, 25, 25, 0.3); }
.v4-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.v4-stars svg { width: 82px; height: 16px; fill: var(--google-gold); }

/* ---------- double bezel ---------- */
.v4-bezel {
  border-radius: var(--r-lg); padding: var(--bezel-pad); background: rgba(25, 25, 25, 0.045);
  box-shadow: inset 0 0 0 1px rgba(25, 25, 25, 0.06), 0 30px 60px -36px rgba(60, 58, 52, 0.35);
}
.v4-bezel--lg { border-radius: var(--r-xl); }
.v4-bezel-in {
  border-radius: calc(var(--r-lg) - var(--bezel-pad)); background: var(--surface); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.v4-bezel--lg > .v4-bezel-in { border-radius: calc(var(--r-xl) - var(--bezel-pad)); }
.v4-media img, .v4-media video { width: 100%; transition: transform 1.1s var(--ease-out-expo); }
.v4-media:hover img { transform: scale(1.03); }

/* ---------- island nav ---------- */
.v4-nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 20; padding: 0 var(--gutter); pointer-events: none; }
.v4-nav-in {
  position: relative; pointer-events: auto; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 22px; border-radius: 999px; color: var(--od-fg); isolation: isolate;
}
.v4-nav-in::before, .v4-nav-in::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; transition: opacity 0.6s var(--ease-in-out-calm);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.v4-nav-in::before { background: rgba(23, 24, 26, 0.74); box-shadow: inset 0 0 0 1px rgba(236, 234, 230, 0.09), inset 0 1px 0 rgba(236, 234, 230, 0.08); }
.v4-nav-in::after { background: rgba(237, 236, 236, 0.82); box-shadow: inset 0 0 0 1px rgba(25, 25, 25, 0.07), 0 12px 30px -18px rgba(60, 58, 52, 0.35); opacity: 0; }
.v4-nav.is-calm .v4-nav-in { color: var(--fg); }
.v4-nav.is-calm .v4-nav-in::before { opacity: 0; }
.v4-nav.is-calm .v4-nav-in::after { opacity: 1; }
.v4-nav-brand { display: block; color: inherit; flex: none; }
.v4-wordmark {
  display: block; width: 150px; aspect-ratio: 2560 / 398; background: currentColor;
  -webkit-mask: url(../../kit/logos/wordmark-horizontal.svg) center / contain no-repeat; mask: url(../../kit/logos/wordmark-horizontal.svg) center / contain no-repeat;
}
.v4-nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.v4-nav-links a, .v4-nav-tel { text-decoration: none; opacity: 0.82; transition: opacity 0.3s var(--ease-out-quart); }
.v4-nav-links a:hover, .v4-nav-tel:hover { opacity: 1; }
.v4-nav-tel { font-family: var(--font-utility); font-size: 13px; letter-spacing: 0.04em; }
.v4-nav-cta {
  text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 20px; border-radius: 999px;
  background: var(--od-fg); color: #17181A; transition: transform 0.5s var(--ease-out-expo);
}
.v4-nav-cta:active { transform: scale(var(--press-scale)); }
.v4-nav.is-calm .v4-nav-cta { background: var(--fg); color: var(--bg); }
.v4-nav-mob { display: none; text-decoration: none; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; font-weight: 500; }

/* ---------- the track: hero + why-us + downshift share one charcoal ground and one trace ---------- */
.v4-track { position: relative; background: var(--od-bg); color: var(--od-fg); }
.v4-rail { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.v4-trace { position: absolute; left: 0; bottom: 0; width: 100%; height: var(--trace-h); overflow: visible; }
.v4-trace-fill { fill: var(--bg); }
.v4-trace-line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.v4-trace-amber { stroke: var(--od-accent); opacity: 0; }
.v4-trace-calm { stroke: var(--accent); stroke-width: 2.5; }
/* live (motion allowed + GSAP claimed the page): the trace rides sticky from the first screen to the shore */
.v4-live .v4-rail { padding-top: calc(100vh - var(--trace-h)); }
.v4-live .v4-trace { position: sticky; top: calc(100vh - var(--trace-h)); left: auto; bottom: auto; display: block; opacity: 0; }
.v4-hero, .v4-why { position: relative; z-index: 2; }
/* Polish 2026-10-06: text bands. The trace (rail, z 1) used to show through the copy as it scrolled past the sticky line. Every
   readable block on the charcoal track now carries the track ground plus a same-colour halo, so the line passes BEHIND the copy and
   reappears in the gaps. Containers are banded (not their rows), so inner hairlines stay intact. Shore quote is not banded (paper). */
.v4-track :is(.v4-h1, .v4-od-display, .v4-hero-sub, .v4-hero-act, .v4-hero-note, .v4-why-copy, .v4-wall, .v4-ds-top > .v4-eyebrow, .v4-shift, .v4-ds-lead, .v4-ds-facts) {
  background-color: var(--od-bg); box-shadow: 0 0 0 18px var(--od-bg);
}

/* ---------- HERO (overdrive) ---------- */
.v4-hero { min-height: 100dvh; padding: clamp(112px, 15vh, 156px) 0 clamp(96px, 14vh, 140px); display: flex; flex-direction: column; }
.v4-hero-in { position: relative; z-index: 1; }
.v4-h1 {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-utility); font-size: 14px; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--od-fg-muted);
}
.v4-h1::before { content: ''; width: 28px; height: 1px; background: var(--od-fg-muted); }
.v4-od-display {
  position: relative; margin-top: clamp(26px, 4vh, 44px);
  font-family: var(--font-display-od); font-weight: var(--od-weight); font-stretch: var(--od-stretch); text-transform: uppercase;
  letter-spacing: var(--od-track); line-height: var(--od-lead); font-size: var(--od-display-size); color: var(--od-fg);
}
.v4-l { display: block; }
.v4-od-main { position: relative; z-index: 1; display: block; }
.v4-hot { font-style: normal; color: var(--od-accent); }
.v4-od-ghost { position: absolute; top: 0; left: 0; width: 100%; display: block; pointer-events: none; }
.v4-od-ghost-a { color: transparent; -webkit-text-stroke: 1px rgba(236, 234, 230, 0.34); left: 0.04em; top: -0.05em; }
.v4-od-ghost-b { color: rgba(163, 161, 156, 0.17); left: -0.055em; top: 0.065em; }
.v4-hero-foot {
  margin-top: clamp(30px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 46ch) auto; justify-content: space-between;
  align-items: end; gap: 28px 56px;
}
.v4-hero-sub { color: var(--od-fg-muted); font-size: 19px; line-height: 1.55; }

.v4-hero-act { display: grid; justify-items: end; gap: 22px; }
.v4-gchip {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-utility); font-size: 13px; letter-spacing: 0.04em; color: var(--od-fg-muted);
}
.v4-gchip:hover span:last-child { color: var(--od-fg); }
.v4-hero-trace { position: absolute; left: 0; bottom: 0; width: 100%; height: var(--trace-h); z-index: 0; overflow: visible; }
.v4-hero-trace path { fill: none; stroke: var(--od-accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; opacity: 0.85; }
.v4-live .v4-hero-trace { display: none; }
.v4-hero-note { position: absolute; right: var(--gutter); bottom: 22px; z-index: 1; }

/* ---------- WHY-US: overdrive symptoms ---------- */
.v4-why-od {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 72px; align-items: start;
  padding-top: var(--v4-pad); padding-bottom: var(--v4-pad);
}
.v4-why-copy > p:not(.v4-eyebrow) { margin-top: 22px; color: var(--od-fg-muted); max-width: 46ch; }
.v4-why-copy .v4-h2--od { max-width: 11em; }
.v4-who { margin-top: 36px; display: grid; gap: 18px; }
.v4-who div { padding-top: 16px; box-shadow: inset 0 1px 0 var(--od-line); }
.v4-who dt { font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--od-fg); }
.v4-who dd { margin-top: 6px; color: var(--od-fg-muted); font-size: 17px; }
.v4-wall {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.28em; padding-top: 8px;
  font-family: var(--font-display-od); font-weight: 800; font-stretch: var(--od-stretch); text-transform: uppercase;
  letter-spacing: -0.035em; line-height: 0.84; color: var(--od-fg);
}
.v4-wall li { font-size: clamp(30px, 3.6vw, 54px); color: rgba(236, 234, 230, 0.36); margin-bottom: -0.04em; }
.v4-wall .w1 { font-size: clamp(48px, 6.6vw, 104px); color: var(--od-fg); }
.v4-wall .w4, .v4-wall .w7 { font-size: clamp(40px, 5vw, 78px); color: rgba(236, 234, 230, 0.7); }
.v4-wall .w5, .v4-wall .w10 { color: rgba(236, 234, 230, 0.22); }
.v4-wall .w8 { font-size: clamp(36px, 4.4vw, 66px); color: rgba(236, 234, 230, 0.55); }
.v4-wall .w11 { font-size: clamp(26px, 2.8vw, 42px); color: rgba(236, 234, 230, 0.45); }

/* ---------- DOWNSHIFT: the face change and the shore ---------- */
.v4-downshift { position: relative; }
.v4-ds-top { padding-top: var(--v4-pad); padding-bottom: calc(var(--shore-h) + 48px); }
.v4-shift {
  position: relative; display: grid; margin-top: 26px; font-family: var(--font-display-calm); font-weight: 400; font-size: var(--calm-display-size);
  line-height: var(--calm-lead); letter-spacing: -0.015em; max-width: 12.5em; color: var(--od-fg);
}
.v4-shift-calm { display: block; grid-area: 1 / 1; }
.v4-shift-od {
  grid-area: 1 / 1; display: none; align-self: start;
  font-family: var(--font-display-od); font-weight: 800; font-stretch: var(--od-stretch); text-transform: uppercase;
  letter-spacing: var(--od-track); line-height: var(--od-lead); font-size: 1em;
}
.v4-live .v4-shift-od { display: block; }
.v4-ds-grid { margin-top: clamp(40px, 6vh, 72px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 72px; align-items: start; }
.v4-ds-lead { color: var(--od-fg-muted); font-size: 20px; line-height: 1.6; max-width: 52ch; }
.v4-ds-facts { font-family: var(--font-utility); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.v4-ds-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; box-shadow: inset 0 -1px 0 var(--od-line); }
.v4-ds-facts li span:first-child { color: var(--od-fg); }
.v4-ds-facts li span:last-child { color: var(--od-fg-muted); }
.v4-ds-shore { height: var(--shore-h); display: flex; align-items: center; color: var(--fg); padding-top: 34px; }
.v4-shore-quote blockquote p {
  font-family: var(--font-display-calm); font-style: italic; font-size: clamp(27px, 3.3vw, 50px); line-height: 1.08; letter-spacing: -0.01em;
  max-width: 24em; text-wrap: balance;
}
.v4-shore-quote figcaption { margin-top: 14px; font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- CALM bands ---------- */
.v4-calm { position: relative; background: var(--bg); color: var(--fg); padding: var(--v4-pad) 0; }
.v4-stone { background: var(--bg-2); }
.v4-linen { isolation: isolate; }
.v4-linen::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5; mix-blend-mode: multiply;
  background: url(../../kit/generated/linen-calm-1536.webp) center / cover no-repeat;
}
.v4-stone.v4-linen::before { opacity: 0.32; }

/* assessment (condition router) */
.v4-check-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: 'head qs' 'route qs'; gap: 48px 80px; align-items: start;
}
.v4-check-head { grid-area: head; }
.v4-qs { grid-area: qs; display: grid; gap: 44px; counter-reset: q; }
.v4-route { grid-area: route; position: sticky; top: 112px; }
.v4-q-label { font-family: var(--font-display-calm); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.v4-q-n { display: block; margin-bottom: 10px; font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.v4-opts { margin-top: 18px; display: grid; gap: 10px; }
.v4-opts a {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 22px 18px 20px; border-radius: 18px;
  text-decoration: none; color: var(--fg); font-size: 18px; line-height: 1.35;
  background: rgba(247, 246, 245, 0.72); box-shadow: inset 0 0 0 1px rgba(25, 25, 25, 0.08);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-quart);
}
.v4-opts a::before {
  content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(25, 25, 25, 0.35);
  background: radial-gradient(circle, var(--accent-strong) 0 4.5px, transparent 5px) center / 0 0 no-repeat;
}
.v4-opts a:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px rgba(63, 111, 168, 0.4); }
.v4-opts a:active { transform: scale(var(--press-scale)); }
.v4-opts a[aria-checked='true'] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent-strong), 0 16px 34px -22px rgba(63, 111, 168, 0.55); }
.v4-opts a[aria-checked='true']::before { box-shadow: inset 0 0 0 1.5px var(--accent-strong); background-size: 100% 100%; }
.v4-route-in { padding: clamp(24px, 2.4vw, 34px); }
.v4-route-k { font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.v4-route-phase { margin-top: 10px; font-family: var(--font-display-calm); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; }
.v4-route-rail {
  position: relative; margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: 12px;
  font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.08em; color: var(--fg-muted);
  box-shadow: inset 0 -1px 0 var(--ink-line);
}
.v4-route-rail span { padding-left: 2px; }
.v4-route-mark { position: absolute; left: 0; bottom: -1px; width: 25%; height: 3px; border-radius: 3px; background: var(--accent); }
.v4-route-text { margin-top: 20px; font-size: 17px; line-height: 1.55; }
.v4-route-note { margin-top: 12px; font-size: 14px; color: var(--fg-muted); }
.v4-route-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* proof wall */
.v4-proof-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 32px; align-items: start; }
.v4-proof-head { grid-column: 1 / 9; }
.v4-proof-lead { grid-column: 1 / 9; }
.v4-proof-lead blockquote p { font-family: var(--font-display-calm); font-style: italic; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -0.01em; text-wrap: pretty; }
.v4-proof-lead figcaption, .v4-quotes span, .v4-press figcaption, .v4-gal-film figcaption {
  display: block; margin-top: 16px; font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted);
}
.v4-proof-side { grid-column: 9 / 13; grid-row: 1 / 3; display: grid; gap: 36px; padding-top: 12px; }
.v4-score { display: flex; align-items: center; gap: 18px; text-decoration: none; color: var(--fg); }
.v4-score-n { font-family: var(--font-display-calm); font-size: clamp(72px, 7vw, 104px); line-height: 0.9; }
.v4-score-meta { display: grid; gap: 8px; font-size: 15px; color: var(--fg-muted); }
.v4-score:hover .v4-score-meta span:last-child { color: var(--accent-strong); }
.v4-quotes { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 32px; margin-top: 16px; }
.v4-quotes li { grid-column: span 5; padding-top: 22px; box-shadow: inset 0 1px 0 var(--ink-line); }
.v4-quotes li:nth-child(2n) { grid-column: 7 / span 5; transform: translateY(56px); }
.v4-quotes li:nth-child(2n+1) { grid-column: 1 / span 5; }
.v4-quotes p { font-size: 20px; line-height: 1.5; }

/* booking rail (ported from library booking-confidence-rail) */
.v4-book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 500px); gap: 64px 88px; align-items: start; }
.v4-next { margin-top: 36px; position: relative; display: grid; gap: 6px; }
.v4-next::before { content: ''; position: absolute; left: 18px; top: 20px; bottom: 20px; width: 2px; background: var(--accent); opacity: 0.7; }
.v4-next li { position: relative; display: flex; gap: 18px; padding: 12px 0; }
.v4-next-n {
  flex: none; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fg); color: var(--bg); font-family: var(--font-utility); font-size: 14px; box-shadow: 0 0 0 6px var(--bg);
}
.v4-next-t { display: block; font-weight: 500; font-size: 18px; }
.v4-next-d { display: block; margin-top: 4px; color: var(--fg-muted); font-size: 16px; line-height: 1.55; max-width: 44ch; }
.v4-assure { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.v4-assure li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: rgba(247, 246, 245, 0.9); box-shadow: inset 0 0 0 1px rgba(25, 25, 25, 0.07);
}
.v4-assure svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v4-book-card {
  border-radius: var(--r-xl); padding: 8px; background: var(--tint);
  box-shadow: inset 0 0 0 1px rgba(63, 111, 168, 0.16), 0 34px 70px -40px rgba(60, 58, 52, 0.45);
}
.v4-book-host {
  position: relative; border-radius: calc(var(--r-xl) - 8px); background: var(--surface); min-height: var(--booking-min-h);
  padding: 34px 30px 28px; box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(25, 25, 25, 0.05); display: flex; flex-direction: column;
}
.v4-book-tag {
  align-self: flex-start; font-family: var(--font-utility); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted);
  padding: 6px 12px; border-radius: 999px; background: rgba(25, 25, 25, 0.05); outline: 1px dashed rgba(25, 25, 25, 0.22); outline-offset: -1px;
}
.v4-book-ph-t { margin-top: 26px; font-family: var(--font-display-calm); font-size: 34px; line-height: 1.05; }
.v4-book-ph-d { margin-top: 10px; color: var(--fg-muted); font-size: 15px; line-height: 1.55; }
.v4-book-ghost { margin-top: 26px; display: grid; gap: 14px; flex: 1; align-content: start; }
.v4-book-ghost i { display: block; height: 50px; border-radius: 12px; background: rgba(25, 25, 25, 0.035); box-shadow: inset 0 0 0 1px rgba(25, 25, 25, 0.06); }
.v4-book-ghost b { display: block; height: 54px; margin-top: 6px; border-radius: 999px; background: rgba(25, 25, 25, 0.08); }
.v4-book-fine { margin-top: 20px; font-size: 12.5px; line-height: 1.5; color: var(--fg-muted); }

/* the four phases (entity routing) */
.v4-phases-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 72px; align-items: end; }
.v4-phases-lede { font-family: var(--font-display-calm); font-size: clamp(32px, 3.6vw, 54px); line-height: 1.06; letter-spacing: -0.01em; max-width: 18em; }
.v4-phase-list { margin-top: clamp(56px, 7vw, 96px); display: grid; }
.v4-phase {
  --i: 0; display: grid; grid-template-columns: 150px minmax(0, 6fr) minmax(0, 4fr); gap: 24px 48px; align-items: start;
  padding: 40px 0 44px calc(var(--i) * 4.5%); box-shadow: inset 0 1px 0 var(--ink-line);
}
.v4-phase:nth-child(2) { --i: 1; } .v4-phase:nth-child(3) { --i: 2; } .v4-phase:nth-child(4) { --i: 3; }
.v4-phase-n { font-family: var(--font-display-calm); font-style: italic; font-size: clamp(72px, 8vw, 120px); line-height: 0.8; color: var(--accent); }
.v4-phase-k { font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.v4-phase-body .v4-h3 { margin-top: 10px; }
.v4-phase-body > p:last-child { margin-top: 14px; color: var(--fg-muted); max-width: 52ch; font-size: 17px; }
.v4-menu { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.v4-menu li { padding: 8px 14px; border-radius: 999px; font-size: 14px; background: rgba(247, 246, 245, 0.6); box-shadow: inset 0 0 0 1px rgba(25, 25, 25, 0.07); }

/* stat band */
.v4-stats .v4-wrap { position: relative; }
.v4-stats-h { margin-top: 0; }
.v4-stats-wave { position: absolute; left: var(--gutter); right: var(--gutter); width: calc(100% - 2 * var(--gutter)); top: 50%; height: 80px; margin-top: 30px; overflow: visible; }
.v4-stats-wave path, .v4-steps-wave path { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.v4-stat-row { position: relative; margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 32px; }
.v4-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; }
.v4-stat dd { font-family: var(--font-display-calm); font-size: clamp(64px, 7.4vw, 112px); line-height: 0.9; letter-spacing: -0.02em; }
.v4-stat dd small { font-size: 0.36em; font-style: italic; letter-spacing: 0; color: var(--fg-muted); }
.v4-stat dt { font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); max-width: 14ch; }
.v4-stat:nth-child(2n) { padding-top: 48px; }

/* provider */
.v4-provider-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px 96px; align-items: center; }
.v4-portrait .v4-media img { filter: saturate(0.82) contrast(1.02); }
.v4-provider-role { margin-top: 14px; font-family: var(--font-utility); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }
.v4-provider-copy > p:not(.v4-eyebrow):not(.v4-provider-role) { margin-top: 20px; max-width: 54ch; }
.v4-provider-copy .v4-link { display: inline-block; margin-top: 28px; }

/* process steps */
.v4-steps-head { max-width: 760px; }
.v4-steps-track { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.v4-steps-wave { position: absolute; top: -40px; left: 0; width: 100%; height: 80px; overflow: visible; }
.v4-step-list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.v4-step { position: relative; padding-top: 36px; }
.v4-step:nth-child(1) { --dy: 5.5px; } .v4-step:nth-child(2) { --dy: -0.4px; } .v4-step:nth-child(3) { --dy: -4.6px; } .v4-step:nth-child(4) { --dy: 9px; } .v4-step:nth-child(5) { --dy: -12.3px; }
.v4-step::before { content: ''; position: absolute; top: calc(-6px + var(--dy, 0px)); left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 6px var(--bg); }
.v4-step-n { font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.v4-step-t { margin-top: 10px; font-family: var(--font-body); font-weight: 500; font-size: 19px; line-height: 1.3; }
.v4-step p { margin-top: 10px; color: var(--fg-muted); font-size: 16px; line-height: 1.55; }
.v4-step:last-child .v4-step-t { font-family: var(--font-display-calm); font-weight: 400; font-size: 30px; line-height: 1.05; }

/* insurance strip */
.v4-money { padding: clamp(64px, 7vw, 104px) 0; }
.v4-money-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 24px 56px; align-items: start; }
.v4-money-grid > p { color: var(--fg-muted); max-width: 60ch; }
.v4-money-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.v4-money-list li { padding: 12px 20px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(25, 25, 25, 0.08); font-weight: 500; }

/* gallery */
.v4-gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; align-items: start; }
.v4-gallery-head { grid-column: 1 / 5; }
.v4-gal-film { grid-column: 5 / 13; }
.v4-gal-stills { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v4-gal-stills figure:nth-child(2) { transform: translateY(40px); }
.v4-film { position: relative; background: #1E1F21; }
.v4-film video { aspect-ratio: 720 / 404; object-fit: cover; }
.v4-film-btn {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500;
  padding: 10px 18px; border-radius: 999px; background: rgba(237, 236, 236, 0.9); color: var(--fg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform 0.4s var(--ease-out-expo);
}
.no-js .v4-film-btn { display: none; }
.v4-film-btn:active { transform: scale(var(--press-scale)); }

/* locations */
.v4-place-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 88px; align-items: start; }
.v4-place-in { padding: clamp(26px, 2.6vw, 38px); }
.v4-place-in address { font-style: normal; font-size: 20px; line-height: 1.45; }
.v4-place-name { display: block; font-family: var(--font-display-calm); font-size: 34px; line-height: 1.05; margin-bottom: 10px; }
.v4-place-inside { margin-top: 12px; color: var(--fg-muted); font-size: 16px; }
.v4-hours { margin-top: 24px; display: grid; gap: 4px; }
.v4-hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--ink-line); font-size: 16px; }
.v4-hours dt { color: var(--fg-muted); }
.v4-place-links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.v4-areas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }

/* FAQ (ported from library faq-conversational) */
.v4-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px 88px; align-items: start; }
.v4-faq-head { position: sticky; top: 112px; }
.v4-thread { display: grid; gap: 18px; }
.v4-fq summary { display: flex; cursor: pointer; list-style: none; }
.v4-fq summary::-webkit-details-marker { display: none; }
.v4-fq-b { border-radius: 22px; padding: 15px 20px; font-size: 17px; line-height: 1.55; }
.v4-fq-q {
  background: var(--surface); box-shadow: inset 0 0 0 1px rgba(25, 25, 25, 0.08); border-bottom-left-radius: 6px; font-weight: 500; max-width: 88%;
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-quart);
}
.v4-fq summary:hover .v4-fq-q { transform: translateX(4px); box-shadow: inset 0 0 0 1px rgba(63, 111, 168, 0.45); }
.v4-fq[open] .v4-fq-q { box-shadow: inset 0 0 0 1.5px var(--accent-strong); }
.v4-fq-a { position: relative; display: flex; justify-content: flex-end; padding: 12px 0 0 12%; }
.v4-fq-r { background: var(--accent-strong); color: #fff; border-bottom-right-radius: 6px; }
.v4-fq-from { display: block; margin-top: 8px; font-family: var(--font-utility); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.v4-fq-dots { position: absolute; right: 14px; top: 22px; display: flex; gap: 4px; opacity: 0; }
.v4-fq-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(63, 111, 168, 0.55); }

/* closing band with the slow trace */
.v4-close { overflow: hidden; padding-top: calc(var(--v4-pad) + 40px); }
.v4-close-wave { position: absolute; left: 0; top: clamp(36px, 5vw, 64px); width: 100%; height: 120px; overflow: visible; }
.v4-close-wave path { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.v4-close-in { position: relative; }
.v4-close-h { font-family: var(--font-display-calm); font-size: var(--calm-display-size); line-height: var(--calm-lead); letter-spacing: -0.015em; max-width: 12em; margin-bottom: 44px; text-wrap: balance; }

/* footer */
.v4-foot { background: #1E1F21; color: var(--od-fg-muted); padding: 88px 0 40px; font-size: 15px; line-height: 1.6; }
.v4-foot a { color: var(--od-fg); text-decoration-color: rgba(236, 234, 230, 0.3); text-underline-offset: 4px; }
.v4-foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 40px 48px; }
.v4-foot-grid p + p { margin-top: 12px; }
.v4-wordmark--foot { width: 190px; color: var(--od-fg); margin-bottom: 18px; }
.v4-foot-k { font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--od-fg); margin-bottom: 12px; }
.v4-foot-base { margin-top: 64px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--od-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.04em; }

/* mobile sticky Call + Book */
.v4-sticky { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .v4-nav-links { display: none; }
  .v4-nav-tel { margin-left: auto; }
}
@media (max-width: 900px) {
  .v4-why-od, .v4-ds-grid, .v4-check-grid, .v4-book-grid, .v4-phases-head, .v4-provider-grid, .v4-place-grid, .v4-faq-grid, .v4-money-grid { grid-template-columns: minmax(0, 1fr); }
  .v4-check-grid { grid-template-areas: 'head' 'qs' 'route'; }
  .v4-route, .v4-faq-head { position: relative; top: auto; }
  .v4-proof-grid, .v4-quotes, .v4-gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .v4-proof-head, .v4-proof-lead, .v4-proof-side, .v4-quotes, .v4-gallery-head, .v4-gal-film, .v4-gal-stills { grid-column: 1 / -1; grid-row: auto; }
  .v4-quotes li, .v4-quotes li:nth-child(2n), .v4-quotes li:nth-child(2n+1) { grid-column: 1 / -1; transform: none; }
  .v4-phase { grid-template-columns: 1fr; padding-left: 0; gap: 14px; }
  .v4-step-list { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 28px; }
  .v4-step-list::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--accent); }
  .v4-step { padding: 0 0 36px; }
  .v4-step::before { top: 6px; left: -28px; --dy: 0px; }
  .v4-steps-wave { display: none; }
  .v4-money-list { justify-content: flex-start; }
  .v4-gal-stills figure:nth-child(2) { transform: none; }
  .v4-foot-grid { grid-template-columns: 1fr 1fr; }
  .v4-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .w-v4 { --trace-h: clamp(270px, 34vh, 320px); }
  /* at phone width the drawing is shown at 2.2x so the scribble keeps the same stroke rhythm instead of compressing */
  .v4-trace, .v4-hero-trace { width: 220%; margin-left: -60%; max-width: none; }   /* Polish 2026-10-06: the global svg max-width: 100% capped this at 390 px, so the trace was a left stub and the shore paper covered only 160 px */
  .v4-hero-trace { left: 0; }
  .v4-eyebrow { line-height: 1.35; letter-spacing: 0.08em; }
  body { font-size: 17px; }
  .v4-nav { top: 10px; }
  .v4-nav-in { gap: 12px; padding: 6px 6px 6px 16px; }
  .v4-wordmark { width: 128px; }
  .v4-nav-tel { display: none; }
  .v4-nav-cta { display: none; }
  .v4-nav-mob { display: block; margin-left: auto; padding: 10px 16px; font-size: 14px; }
  .v4-hero { padding-top: 96px; padding-bottom: 120px; }
  .v4-od-display { font-size: 50px; letter-spacing: -0.035em; }
  .v4-hero-foot { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .v4-hero-sub { font-size: 17px; }
  .v4-hero-act { justify-items: start; gap: 18px; }
  .v4-hero-foot .v4-cta-row, .v4-gchip { justify-self: start; }
  .v4-hero-foot .v4-cta-row { width: 100%; gap: 14px 22px; }
  .v4-hero-foot .v4-btn { flex: 1 1 100%; justify-content: space-between; }
  .v4-hero-note { bottom: 92px; right: auto; left: var(--gutter); }
  .v4-wall li { font-size: 30px; }
  .v4-wall .w1 { font-size: 50px; }
  .v4-wall .w4, .v4-wall .w7 { font-size: 40px; }
  .v4-wall .w8 { font-size: 36px; }
  .v4-wall .w11 { font-size: 28px; }
  .v4-shift { font-size: 44px; }
  .v4-ds-lead { font-size: 18px; }
  .v4-shore-quote blockquote p { font-size: 27px; }
  .v4-h2 { font-size: 40px; }
  .v4-opts a { font-size: 17px; padding: 16px 18px; }
  .v4-book-card { background: none; box-shadow: none; padding: 0; border-radius: 0; }
  .v4-book-host { padding: 26px 20px 22px; }
  .v4-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .v4-stat--wide { grid-column: 1 / -1; }
  .v4-stat:nth-child(2n) { padding-top: 0; }
  .v4-stats-wave { display: none; }
  .v4-close-h { font-size: 44px; }
  .v4-close .v4-btn { width: 100%; justify-content: space-between; }
  .v4-foot { padding-bottom: 120px; }
  .v4-foot-grid { grid-template-columns: minmax(0, 1fr); }
  .v4-sticky {
    display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 20; gap: 8px; padding: 7px; height: var(--sticky-bar-h);
    border-radius: 999px; background: rgba(23, 24, 26, 0.84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px rgba(236, 234, 230, 0.1), 0 18px 40px -20px rgba(0, 0, 0, 0.6);
  }
  .v4-sticky a { flex: 1; display: grid; place-items: center; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 16px; transition: transform 0.4s var(--ease-out-expo); }
  .v4-sticky a:active { transform: scale(var(--press-scale)); }
  .v4-sticky-call { flex: 0 0 34%; color: var(--od-fg); box-shadow: inset 0 0 0 1px rgba(236, 234, 230, 0.22); }
  .v4-sticky-book { background: var(--od-fg); color: #17181A; }
}
@media (prefers-reduced-motion: reduce) {
  .v4-btn, .v4-btn-i, .v4-opts a, .v4-media img, .v4-fq-q { transition: none; }
}
