/* =====================================================================
   De Vos Van Wyk Inc. — Concept
   Navy · Slate · Ivory · Teal | Cormorant Garamond · Inter · Great Vibes
   Content is visible by default; html.fx (set once GSAP loads) enables
   the animated "before" states.
   ===================================================================== */

:root {
  --navy: #1b2130;
  --navy-deep: #12161f;
  --slate: #343b4b;
  --ivory: #f5f1ea;
  --ivory-2: #e9e2d6;
  --ink: #2f3645;
  --muted-dark: rgba(245, 241, 234, .62);
  --muted-light: #5d6575;
  --teal: #5a9ea6;
  --teal-2: #8cc3c8;
  --teal-ink: #3f8189;
  --wa: #25d366;
  --line-d: rgba(245, 241, 234, .12);
  --line-l: rgba(47, 54, 69, .16);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Great Vibes", "Cormorant Garamond", "Times New Roman", serif;

  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--teal-2); color: var(--navy); }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 4px; }

.eyebrow {
  font-size: .74rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
  color: var(--teal-2);
}
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -.015em;
}
.h2 em { color: var(--teal-2); }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted-dark); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 56px; padding: 0 2rem; border-radius: 999px; overflow: hidden;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  isolation: isolate; transition: color .4s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ivory); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { color: var(--navy); }
.btn-wa { background: var(--wa); color: #0b2a18; }
.btn-wa:hover { color: #0b2a18; }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--navy-deep);
}
html:not(.fx) .loader, html.intro-seen .loader { display: none; }
.loader-mark { width: min(560px, 82vw); overflow: visible; }
.loader-script {
  font-family: var(--script); font-size: 150px; fill: var(--ivory);
}
.loader-serif {
  font-family: var(--serif); font-weight: 700; font-size: 58px; letter-spacing: 2px;
  fill: var(--ivory); opacity: 0;
}
.loader-bar { width: 140px; height: 1px; background: var(--line-d); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 100%; background: var(--teal-2); transform: scaleX(0); transform-origin: left; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 900; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) {
  html.fx .cursor { display: block; }
  html.fx, html.fx a, html.fx button, html.fx label { cursor: none; }
  html.fx input { cursor: text; }
}
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--teal-2); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(140, 195, 200, .55);
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s, border-color .35s;
}
.cursor-label {
  font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); opacity: 0; transition: opacity .25s;
}
.cursor.is-active .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--teal-2); border-color: var(--teal-2); }
.cursor.is-active .cursor-label { opacity: 1; }
.cursor.is-active .cursor-dot { opacity: 0; }

.progress { position: fixed; top: 0; right: 0; width: 2px; height: 100vh; z-index: 800; background: rgba(245, 241, 234, .06); }
.progress span { display: block; width: 100%; height: 100%; background: var(--teal-2); transform: scaleY(0); transform-origin: top; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 700;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference; color: #fff;
}
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo-script { font-family: var(--script); font-size: 2.1rem; line-height: .8; margin-left: .55em; margin-bottom: -.1em; }
.logo-serif { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: 1.08rem; white-space: nowrap; }
.hdr-right { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #9aa1ad; }
.status.is-open i { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.hdr-call { font-family: var(--serif); font-size: 1.3rem; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; }
.menu-btn-lines { display: grid; gap: 6px; width: 28px; }
.menu-btn-lines i { display: block; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn-lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-lines i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 650; background: var(--navy);
  clip-path: circle(0% at calc(100% - 60px) 44px);
  transition: clip-path .9s var(--ease-out);
  visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 60px) 44px); visibility: visible; }
.menu-inner {
  height: 100%; display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 40px;
  padding: 120px var(--gutter) clamp(40px, 7vh, 80px);
}
.menu-links a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 5.2rem); line-height: 1.12;
  transition: color .3s, transform .5s var(--ease-out);
}
.menu-links a span { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; color: var(--teal-2); }
.menu-links a:hover { color: var(--teal-2); transform: translateX(14px); }
.menu-links li { overflow: hidden; }
.menu-links li a { transform: translateY(105%); transition: transform .8s var(--ease-out), color .3s; }
.menu.is-open .menu-links li a { transform: translateY(0); }
.menu.is-open .menu-links li:nth-child(2) a { transition-delay: .06s; }
.menu.is-open .menu-links li:nth-child(3) a { transition-delay: .12s; }
.menu.is-open .menu-links li:nth-child(4) a { transition-delay: .18s; }
.menu.is-open .menu-links li:nth-child(5) a { transition-delay: .24s; }
.menu-side { display: grid; gap: 10px; color: var(--muted-dark); }
.menu-phone { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); color: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  padding: 140px var(--gutter) clamp(48px, 9vh, 96px);
  background: radial-gradient(ellipse 90% 70% at 30% 0%, #2a3344 0%, var(--navy) 45%, var(--navy-deep) 100%);
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(18, 22, 31, .9), transparent 60%); pointer-events: none; }
.hero-frame { position: absolute; inset: 0; pointer-events: none; }
.hero-frame i { position: absolute; background: var(--teal); }
.f-top { left: 0; top: 18%; height: 1.5px; width: calc(100% - var(--gutter)); transform-origin: left; }
.f-right { right: var(--gutter); top: 18%; width: 1.5px; height: 22%; transform-origin: top; }
.f-bottom { left: 0; bottom: 3%; height: 1.5px; width: calc(100% - var(--gutter)); transform-origin: left; }
.f-bottom::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1.5px; height: 14vh; background: var(--teal); }

.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(20px, 3vh, 36px); }
.hero-eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--teal-2); }
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.2rem, 9.4vw, 9rem); line-height: .92; letter-spacing: -.03em;
}
.hero-title em { font-weight: 300; color: var(--teal-2); }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line-inner { display: inline-block; will-change: transform; }
html.fx .line-inner { transform: translateY(110%); }
html.fx .hero-eyebrow, html.fx .hero-foot, html.fx .scroll-cue { opacity: 0; }
html.fx .hero-frame i { transform: scale(0); }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  margin-top: clamp(28px, 5vh, 56px);
}
.hero-lede { max-width: 34ch; color: var(--muted-dark); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 28px;
  display: flex; align-items: center; gap: 12px; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-dark);
}
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--teal-2), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line-d); background: var(--navy); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3rem); white-space: nowrap; animation: marquee 38s linear infinite; }
html.fx .marquee-track { animation: none; }
.marquee-track em { color: var(--teal-2); }
.marquee-track i { font-style: normal; font-size: .5em; color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding: clamp(100px, 18vh, 200px) var(--gutter); background: var(--navy); }
.statement-text {
  margin-top: 28px; max-width: 22ch;
  font-family: var(--serif); font-size: clamp(2.2rem, 5.4vw, 5.2rem); line-height: 1.08; letter-spacing: -.01em;
}
.statement-text .w { display: inline-block; white-space: pre; }
html.fx .statement-text .w { opacity: .14; }

/* ---------- Practice (horizontal) ---------- */
.practice { background: var(--navy-deep); }
.practice-pin { padding: clamp(80px, 12vh, 120px) 0; }
.practice-head { padding: 0 var(--gutter) 48px; display: grid; gap: 18px; }
.practice-hint { display: none; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-dark); }
.hint-line { width: 48px; height: 1px; background: var(--teal-2); }
.practice-track { display: grid; gap: 20px; padding: 0 var(--gutter); }

.panel {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 22px;
  min-height: 520px; padding: clamp(28px, 4vw, 52px);
  background: linear-gradient(160deg, #222a3a, var(--navy));
  border: 1px solid var(--line-d); border-radius: 22px;
  transform-style: preserve-3d; transition: transform .6s var(--ease-out), border-color .4s;
}
.panel:hover { border-color: rgba(140, 195, 200, .45); }
.panel-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(140, 195, 200, .18), transparent 60%);
}
.panel:hover .panel-glow { opacity: 1; }
.panel-slate { background: linear-gradient(160deg, #424b5e, var(--slate)); }
.panel-ivory { background: linear-gradient(160deg, var(--ivory), var(--ivory-2)); color: var(--ink); border-color: transparent; }
.panel-ivory .panel-glow { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(90, 158, 166, .22), transparent 60%); }
.panel-num { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--teal-2); }
.panel-ivory .panel-num, .panel-ivory .panel-list em, .panel-ivory .panel-link { color: var(--teal-ink); }
.panel-title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .95; letter-spacing: -.02em; }
.panel-list { margin-top: auto; border-top: 1px solid var(--line-d); }
.panel-ivory .panel-list, .panel-ivory .panel-list li { border-color: var(--line-l); }
.panel-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-weight: 500; font-size: .98rem; }
.panel-list em { font-family: var(--serif); font-size: 1.15rem; color: var(--teal-2); font-weight: 400; white-space: nowrap; }
.panel-link { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-2); }
.panel-link span { display: inline-block; transition: transform .4s var(--ease-out); }
.panel:hover .panel-link span { transform: translateX(8px); }
.panel-end { display: grid; align-content: center; gap: 28px; padding: 40px 0; }

@media (min-width: 900px) {
  .practice-pin { height: 100vh; padding: 104px 0 32px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; overflow: hidden; }
  .practice-head { padding-bottom: 28px; grid-template-columns: 1fr auto; align-items: end; gap: 10px 40px; }
  .practice-head .eyebrow { grid-column: 1 / -1; }
  .practice-head .h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
  .practice-hint { display: flex; }
  .practice-track { display: flex; gap: 28px; width: max-content; align-items: stretch; min-height: 0; }
  .panel { width: min(540px, 40vw); min-height: 0; height: 100%; max-height: 640px; gap: 16px; }
  .panel-title { font-size: clamp(2.8rem, 4.6vw, 4.6rem); }
  .panel-list li { padding: 11px 0; }
  .panel-end { width: 36vw; padding: 0 4vw; }
}

/* ---------- 30-day clock ---------- */
.clock {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center;
  padding: clamp(100px, 16vh, 180px) var(--gutter);
  background: linear-gradient(180deg, var(--ivory), var(--ivory-2)); color: var(--ink);
}
.clock .eyebrow { color: var(--teal-ink); }
.clock .h2 em { color: var(--teal); }
.clock .lede { color: var(--muted-light); margin-top: 22px; }
.date-field { display: grid; gap: 10px; margin-top: 36px; max-width: 420px; }
.date-field span { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.date-field input {
  font: inherit; font-size: 1.15rem; color: var(--ink); padding: 16px 18px;
  background: #fff; border: 1px solid var(--line-l); border-radius: 14px; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.date-field input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(90, 158, 166, .18); }
.quick-dates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.quick-dates button {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-l); font-size: .82rem; color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.quick-dates button:hover, .quick-dates button.is-on { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.fine { margin-top: 22px; font-size: .82rem; color: var(--muted-light); max-width: 46ch; }

.clock-dial { position: relative; display: grid; justify-items: center; gap: 28px; }
.dial { width: min(440px, 80vw); transform: rotate(-90deg); overflow: visible; }
.dial-track { fill: none; stroke: rgba(47, 54, 69, .1); stroke-width: 14; }
.dial-ring {
  fill: none; stroke: var(--teal); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 1068.14; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.2s var(--ease-out), stroke .6s;
}
.dial-ticks line { stroke: rgba(47, 54, 69, .25); stroke-width: 1.5; }
.clock-dial[data-level="urgent"] .dial-ring { stroke: #d08a2e; }
.clock-dial[data-level="last"] .dial-ring, .clock-dial[data-level="passed"] .dial-ring { stroke: #b84a3c; }
.dial-center {
  position: absolute; top: calc(min(440px, 80vw) / 2); left: 50%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; text-align: center;
}
.dial-num { font-family: var(--serif); font-weight: 500; font-size: clamp(5rem, 11vw, 8.5rem); line-height: .9; font-variant-numeric: lining-nums tabular-nums; }
.dial-unit { font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-light); margin-top: 6px; }
.dial-state { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--teal-ink); }
.clock-dial[data-level="urgent"] .dial-state { color: #a8661b; }
.clock-dial[data-level="last"] .dial-state, .clock-dial[data-level="passed"] .dial-state { color: #a3392e; }
.dial-deadline { margin-top: 4px; font-size: .86rem; color: var(--muted-light); max-width: 24ch; }

/* ---------- Property journey ---------- */
.journey {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px);
  padding: clamp(100px, 14vh, 160px) var(--gutter);
  background: var(--navy);
}
.journey-sticky { position: sticky; top: 14vh; align-self: start; display: grid; gap: 22px; }
.journey-house { width: 100%; max-width: 520px; margin-top: 18px; overflow: visible; }
.hp { fill: none; stroke: var(--teal-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.keys { fill: none; stroke: var(--wa); stroke-width: 2.4; stroke-linecap: round; opacity: 0; transition: opacity .6s, transform .6s var(--ease-out); transform-origin: 290px 306px; transform: scale(.6); }
.journey.is-complete .keys { opacity: 1; transform: scale(1); }
.journey-meter { height: 2px; background: var(--line-d); max-width: 520px; }
.journey-meter span { display: block; height: 100%; background: var(--teal-2); transform: scaleX(0); transform-origin: left; }
.journey-steps { display: grid; gap: 0; padding-top: 20vh; }
.jstep {
  min-height: 52vh; display: grid; align-content: center; gap: 14px;
  border-top: 1px solid var(--line-d); padding: 40px 0;
  opacity: .28; transition: opacity .6s var(--ease);
}
.jstep.is-active { opacity: 1; }
html:not(.fx) .jstep { opacity: 1; }
.jnum { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--teal-2); }
.jstep h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.02; }
.jstep p { color: var(--muted-dark); max-width: 38ch; font-size: 1.05rem; }

/* ---------- Family ---------- */
.family {
  position: relative; overflow: hidden;
  padding: clamp(100px, 16vh, 180px) var(--gutter);
  background: radial-gradient(ellipse at 10% 0%, #4a5366, var(--slate) 55%, #2b3140);
}
.family-orbits { position: absolute; right: -12vw; top: -14vw; width: min(900px, 90vw); fill: none; stroke: var(--teal); stroke-width: 1; opacity: .7; pointer-events: none; }
.family-orbits circle:last-child { stroke: rgba(255, 255, 255, .3); }
.family-inner { position: relative; max-width: 1100px; display: grid; gap: 26px; }
.family .lede { margin-top: 10px; color: var(--ivory); font-family: var(--serif); font-style: italic; font-size: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 14px 22px; border-radius: 999px; border: 1px solid rgba(245, 241, 234, .3);
  font-size: .92rem; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease-out);
}
.chip:hover { border-color: var(--teal-2); transform: translateY(-2px); }
.chip.is-active { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.topic {
  margin-top: 8px; padding: clamp(26px, 4vw, 44px); border-radius: 22px;
  background: rgba(18, 22, 31, .45); border: 1px solid var(--line-d);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.topic-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 48px; align-items: end; }
.topic-body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; }
.topic-body h3 em { color: var(--teal-2); }
.topic-body p { color: var(--muted-dark); margin-top: 14px; }
.topic-points { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.topic-points li { padding: 12px 0; border-bottom: 1px solid var(--line-d); display: flex; gap: 12px; }
.topic-points li::before { content: "—"; color: var(--teal-2); }
.topic-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.topic-emergency { grid-column: 1 / -1; padding: 16px 20px; border-left: 2px solid #e07b6c; background: rgba(184, 74, 60, .15); }
.topic-emergency a { font-weight: 700; border-bottom: 1px solid currentColor; }

/* ---------- Values ---------- */
.values { padding: clamp(100px, 16vh, 180px) var(--gutter); background: var(--navy-deep); }
.value-rows { margin-top: 36px; border-top: 1px solid var(--line-d); }
.vrow {
  display: grid; grid-template-columns: 80px 1fr; align-items: baseline; gap: 0 24px;
  padding: clamp(18px, 3vh, 34px) 0; border-bottom: 1px solid var(--line-d);
}
.vnum { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--teal-2); }
.vrow h3 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 9vw, 8.5rem); line-height: 1; letter-spacing: -.03em;
  transition: color .5s var(--ease), transform .7s var(--ease-out);
}
.vrow h3 em { color: var(--teal-2); }
.vrow p {
  grid-column: 2; max-width: 52ch; color: var(--muted-dark); font-size: 1.08rem;
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  max-height: 0; opacity: 0; transition: max-height .7s var(--ease-out), opacity .5s, margin .7s var(--ease-out);
}
.vrow:hover p, .vrow.is-open p { max-height: 160px; opacity: 1; margin-top: 14px; }
.vrow:hover h3 { transform: translateX(18px); color: var(--teal-2); }
@media (hover: none) { .vrow p { max-height: none; opacity: 1; margin-top: 12px; } }

/* ---------- Start (wizard) ---------- */
.start {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start;
  padding: clamp(100px, 16vh, 180px) var(--gutter);
  background: linear-gradient(180deg, var(--ivory), var(--ivory-2)); color: var(--ink);
}
.start .eyebrow { color: var(--teal-ink); }
.start .h2 em { color: var(--teal); }
.start .lede { color: var(--muted-light); margin-top: 22px; }
.wizard { background: #fff; border-radius: 26px; padding: clamp(26px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(27, 33, 48, .35); min-height: 460px; display: grid; grid-template-rows: auto auto 1fr auto; }
.wizard-progress { height: 3px; background: rgba(47, 54, 69, .08); border-radius: 3px; overflow: hidden; }
.wizard-progress span { display: block; height: 100%; width: 25%; background: var(--teal); transition: width .6s var(--ease-out); }
.wizard-step-label { margin-top: 18px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-ink); }
.wizard-stage { margin-top: 14px; }
.wq { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; margin-bottom: 22px; }
.wopts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wopt {
  text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-l); color: var(--ink);
  display: grid; gap: 4px; transition: border-color .3s, background .3s, transform .35s var(--ease-out);
}
.wopt strong { font-weight: 600; }
.wopt small { color: var(--muted-light); font-size: .84rem; }
.wopt:hover { border-color: var(--teal); background: rgba(90, 158, 166, .07); transform: translateY(-2px); }
.wsummary { display: grid; gap: 16px; }
.wsummary textarea {
  width: 100%; min-height: 210px; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 16px; border-radius: 14px; border: 1px solid var(--line-l); background: var(--ivory); resize: vertical;
}
.wsummary textarea:focus { outline: none; border-color: var(--teal); }
.wactions { display: flex; flex-wrap: wrap; gap: 10px; }
.wactions .btn { min-height: 50px; }
.btn-ghost-dark { border: 1px solid var(--line-l); color: var(--ink); }
.btn-ghost-dark::before { background: var(--navy); }
.btn-ghost-dark:hover { color: var(--ivory); }
.wizard-nav { margin-top: 20px; }
.wbtn-back { font-size: .82rem; color: var(--muted-light); letter-spacing: .08em; }
.wbtn-back:hover { color: var(--ink); }
.stage-anim { animation: stage-in .55s var(--ease-out) both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Footer ---------- */
.ftr { position: relative; overflow: hidden; padding: clamp(60px, 10vh, 120px) var(--gutter) 28px; background: var(--navy-deep); }
.ftr-big {
  font-family: var(--script); font-size: clamp(7rem, 26vw, 24rem); line-height: 1.15; padding: .12em .1em .05em; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(140, 195, 200, .35);
  background: linear-gradient(90deg, var(--teal-2), var(--teal-2)) no-repeat 0 0 / 0% 100%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.4s var(--ease-out);
}
.ftr-big:hover, .ftr.is-visible .ftr-big { background-size: 100% 100%; }
.ftr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(40px, 6vh, 72px); padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.ftr-grid p:not(.eyebrow), .ftr-grid a:not(.ftr-phone) { color: var(--muted-dark); margin-top: 12px; display: block; }
.ftr-phone { display: inline-block; margin-top: 10px; font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .82rem; color: rgba(245, 241, 234, .45); }
.to-top { color: var(--teal-2); }

/* ---------- Mobile bar ---------- */
.mbar { display: none; }

/* ---------- Fail-safe for slow networks ----------
   Runs from first paint, independent of JS: if the intro script hasn't taken over
   (html.fx-ready) within ~4s, hide the loader and show the hero anyway. */
@keyframes failsafe-hide { to { opacity: 0; visibility: hidden; } }
@keyframes failsafe-show { to { opacity: 1; transform: none; } }
html.fx:not(.fx-ready) .loader { animation: failsafe-hide .5s 4s forwards; }
html.fx:not(.fx-ready) .line-inner,
html.fx:not(.fx-ready) .hero-eyebrow,
html.fx:not(.fx-ready) .hero-foot,
html.fx:not(.fx-ready) .scroll-cue,
html.fx:not(.fx-ready) .hero-frame i { animation: failsafe-show .8s 4.3s forwards; }

/* ---------- Generic reveals ---------- */
html.fx [data-reveal] { opacity: 0; transform: translateY(40px); }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .status, .hdr-call { display: none; }
  /* Small screens: solid bar instead of the blended overlay, so text never collides with the logo */
  .hdr {
    mix-blend-mode: normal; color: var(--ivory); padding-block: 12px;
    background: rgba(18, 22, 31, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-d);
  }
  .logo-script { font-size: 1.8rem; }
  .logo-serif { font-size: .95rem; }
  .clock, .journey, .start { grid-template-columns: 1fr; }
  .journey-sticky { position: relative; top: 0; }
  .journey-steps { padding-top: 0; }
  .jstep { min-height: 0; opacity: 1; }
  .topic-body { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .menu-inner { grid-template-columns: 1fr; align-content: end; }
}
@media (max-width: 560px) {
  .wopts { grid-template-columns: 1fr; }
  .panel-list li { flex-direction: column; gap: 2px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .hero-ctas, .hero-ctas .btn { width: 100%; }
  .vrow { grid-template-columns: 1fr; }
  .vrow p { grid-column: 1; }
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 600;
    display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; overflow: hidden;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .6);
  }
  .mbar a { display: grid; place-items: center; min-height: 54px; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: var(--teal); color: #fff; }
  .mbar .mbar-wa { background: var(--wa); color: #0b2a18; }
  .ftr { padding-bottom: 100px; }
}

/* =====================================================================
   Multi-page additions
   ===================================================================== */

/* ---------- Page transition curtain ---------- */
.pt { display: none; }
html.fx .pt {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 1100; pointer-events: none;
  background: var(--navy);
  animation: pt-out .75s .05s cubic-bezier(.76, 0, .24, 1) forwards;
}
html.fx .pt.is-in { animation: pt-in .5s cubic-bezier(.76, 0, .24, 1) forwards; pointer-events: all; }
@keyframes pt-out { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes pt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.pt-mark { font-family: var(--script); font-size: clamp(3rem, 8vw, 6rem); color: var(--teal-2); }

/* ---------- Desktop nav links ---------- */
.hdr-nav { display: none; gap: 28px; }
.hdr-nav a { position: relative; font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 6px 0; }
.hdr-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.hdr-nav a:hover::after, .hdr-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 1180px) { .hdr-nav { display: flex; } }
.menu-links a[aria-current="page"] { color: var(--teal-2); }

/* ---------- Page hero ---------- */
.phero {
  position: relative; overflow: hidden; min-height: 86svh; display: grid; align-items: end;
  padding: 150px var(--gutter) clamp(56px, 9vh, 96px);
  background: radial-gradient(ellipse 90% 70% at 25% 0%, #2a3344 0%, var(--navy) 50%, var(--navy-deep) 100%);
}
.phero-content { position: relative; z-index: 2; width: 100%; }
.crumbs { display: flex; gap: 12px; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: clamp(20px, 3vh, 34px); }
.crumbs a:hover, .crumbs [aria-current] { color: var(--teal-2); }
.phero-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.9rem, 7.6vw, 7.4rem); line-height: .96; letter-spacing: -.025em; max-width: 16ch; }
.phero-title em { color: var(--teal-2); }

/* ---------- Text link / ghost button ---------- */
.text-link { display: inline-flex; gap: 10px; margin-top: 40px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-2); border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.text-link span { transition: transform .4s var(--ease-out); }
.text-link:hover span { transform: translateX(6px); }
.btn-ghost { border: 1px solid rgba(245, 241, 234, .35); color: var(--ivory); }
.btn-ghost::before { background: var(--ivory); }
.btn-ghost:hover { color: var(--navy); }

/* ---------- Home practice cards as links ---------- */
a.panel { color: inherit; }
.panel-text { margin-top: auto; color: var(--muted-dark); font-size: 1.02rem; max-width: 38ch; }
.panel-ivory .panel-text { color: var(--muted-light); }

/* ---------- CTA band / next ---------- */
.cta-band { padding: clamp(90px, 14vh, 160px) var(--gutter); background: var(--navy); border-top: 1px solid var(--line-d); }
.cta-band .h2 { margin-top: 20px; max-width: 16ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; margin-top: clamp(36px, 5vh, 56px); }
.cta-phone { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; transition: color .3s; }
.cta-phone:hover { color: var(--teal-2); }
.next { background: var(--navy-deep); border-top: 1px solid var(--line-d); }
.next-link { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px 40px; padding: clamp(70px, 12vh, 130px) var(--gutter); }
.next-link .eyebrow { grid-column: 1 / -1; }
.next-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: 1; transition: color .5s var(--ease), transform .7s var(--ease-out); }
.next-arrow { font-size: clamp(2rem, 5vw, 4rem); color: var(--teal-2); transition: transform .6s var(--ease-out); }
.next-link:hover .next-title { color: var(--teal-2); transform: translateX(16px); }
.next-link:hover .next-arrow { transform: translateX(16px); }

/* ---------- Services rows ---------- */
.services { padding: clamp(90px, 14vh, 150px) var(--gutter); background: var(--navy-deep); }
.svc-rows { margin-top: 30px; border-top: 1px solid var(--line-d); }
.svc-rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: clamp(18px, 2.6vh, 28px) 0; border-bottom: 1px solid var(--line-d);
  font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.1;
  transition: padding .5s var(--ease-out), color .4s;
}
.svc-rows li em { font-size: .55em; color: var(--teal-2); white-space: nowrap; }
.svc-rows li:hover { padding-left: 18px; color: var(--teal-2); }

/* ---------- Five-step checklist / process ---------- */
.steps5 { padding: clamp(90px, 14vh, 150px) var(--gutter); background: linear-gradient(180deg, var(--ivory), var(--ivory-2)); color: var(--ink); }
.steps5 .eyebrow { color: var(--teal-ink); }
.steps5 .h2 em { color: var(--teal); }
.steps5 .fine { margin-top: 14px; }
.steps5-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: clamp(36px, 5vh, 56px); }
.steps5-list.steps4 { grid-template-columns: repeat(4, 1fr); }
.steps5-list li { padding: 26px 22px; background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -40px rgba(27, 33, 48, .35); display: grid; gap: 10px; align-content: start; }
.s5n { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--teal); }
.steps5-list h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.1; }
.steps5-list p { color: var(--muted-light); font-size: .95rem; }
.steps5-dark { background: var(--navy); color: var(--ivory); }
.steps5-dark .eyebrow, .steps5-dark .h2 em, .steps5-dark .s5n { color: var(--teal-2); }
.steps5-dark .steps5-list li { background: rgba(245, 241, 234, .04); border: 1px solid var(--line-d); box-shadow: none; }
.steps5-dark .steps5-list p { color: var(--muted-dark); }

/* ---------- Contact: ways ---------- */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: clamp(60px, 9vh, 100px) var(--gutter) 0; background: var(--navy-deep); }
.way {
  --mx: 50%; --my: 50%;
  position: relative; display: grid; gap: 8px; align-content: start; padding: 28px 26px 30px; border-radius: 22px;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(140, 195, 200, .12), transparent 60%), #1a2030;
  border: 1px solid var(--line-d); transition: border-color .4s, transform .6s var(--ease-out);
}
.way:hover { border-color: rgba(140, 195, 200, .45); }
.way-icon { width: 42px; height: 42px; color: var(--teal-2); margin-bottom: 12px; }
.way-icon svg { width: 100%; height: 100%; }
.way-wa .way-icon { color: var(--wa); }
.way-main { font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; }
.way-email { font-size: 1.15rem; word-break: break-all; }
.way-sub { font-size: .88rem; color: var(--muted-dark); }

/* ---------- Location map ---------- */
.location {
  position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 420px);
  padding: clamp(60px, 9vh, 100px) var(--gutter); background: var(--navy-deep);
}
.map-shell { position: relative; min-height: clamp(380px, 62vh, 620px); border-radius: 28px 0 0 28px; overflow: hidden; border: 1px solid var(--line-d); border-right: 0; }
.map-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(.92) hue-rotate(180deg) saturate(.35) brightness(.9) contrast(.95); /* brand-tinted dark map */
}
.map-guard {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: end start; padding: 22px;
  background: linear-gradient(180deg, transparent 60%, rgba(18, 22, 31, .55));
}
.map-guard span { padding: 10px 16px; border-radius: 999px; background: rgba(18, 22, 31, .75); border: 1px solid var(--line-d); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); backdrop-filter: blur(6px); }
.map-shell.is-live .map-guard, .map-shell.is-live .map-pin { display: none; }
/* Pulsing ring around Google's own marker (its tip sits at the map centre) */
.map-pin { position: absolute; z-index: 1; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none; }
.map-pin span, .map-pin::before { position: absolute; inset: 0; border-radius: 50%; }
.map-pin span { border: 1.5px solid var(--teal-2); }
.map-pin::before { content: ""; border: 1.5px solid rgba(140, 195, 200, .7); animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { to { transform: scale(5); opacity: 0; } }
.map-card {
  display: grid; align-content: start; gap: 14px; padding: clamp(28px, 3vw, 44px);
  background: linear-gradient(170deg, var(--ivory), var(--ivory-2)); color: var(--ink);
  border-radius: 0 28px 28px 0;
}
.map-card .eyebrow { color: var(--teal-ink); }
.map-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; }
.map-title em { color: var(--teal); }
.map-region { color: var(--muted-light); }
.map-status { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.map-status i { width: 8px; height: 8px; border-radius: 50%; background: #9aa1ad; }
.map-status.is-open i { background: #2fbf6f; animation: pulse 2.2s infinite; }
.hours { border-top: 1px solid var(--line-l); }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-l); font-size: .94rem; color: var(--muted-light); }
.hours li.is-today { color: var(--ink); font-weight: 600; }
.hours li.is-today span:first-child::after { content: " · today"; color: var(--teal-ink); font-weight: 500; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.map-actions .btn { min-height: 50px; padding: 0 1.4rem; }
.copy-addr { font-size: .82rem; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; }

/* ---------- Footer links ---------- */
.ftr-links { display: grid; gap: 6px; margin-top: 12px; }
.ftr-links a, .ftr-grid .ftr-links a { color: var(--muted-dark); margin-top: 0; }
.ftr-links a:hover, .ftr-map-link:hover { color: var(--teal-2) !important; }
.ftr-grid .ftr-map-link { color: var(--teal-2) !important; }

/* ---------- Responsive (multi-page) ---------- */
@media (max-width: 1100px) {
  .steps5-list, .steps5-list.steps4 { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
  .location { grid-template-columns: 1fr; }
  .map-shell { border-radius: 24px 24px 0 0; border-right: 1px solid var(--line-d); min-height: 340px; }
  .map-card { border-radius: 0 0 24px 24px; }
  .phero { min-height: 72svh; padding-top: 130px; }
  .panel { min-height: 0; }
  .panel-text { margin-top: 8px; }
}
/* ---------- Touch: finger-sized targets & readable labels ---------- */
@media (max-width: 899px), (pointer: coarse) {
  .menu-btn { min-height: 48px; padding: 0 4px; }
  .logo { min-height: 48px; justify-content: center; }
  .text-link, .to-top, .ftr-map-link, .copy-addr, .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .ftr-links a { display: inline-flex; align-items: center; min-height: 40px; }
  .eyebrow, .crumbs { font-size: .8rem; letter-spacing: .24em; }
  .date-field span, .wizard-step-label { font-size: .8rem; }
  .quick-dates button, .chip { min-height: 44px; }
  .map-guard span, .scroll-cue { font-size: .8rem; }
  .dial-cta { width: 100%; text-align: center; line-height: 1.4; padding: 14px 1.4rem; }
  .clock { padding-bottom: 72px; gap: 32px; }
}

@media (max-width: 560px) {
  .steps5-list, .steps5-list.steps4, .ways { grid-template-columns: 1fr; }
  .svc-rows li { flex-direction: column; gap: 4px; }
  .next-link { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
