/* =========================================================
   De Vos Van Wyk Inc. — brand stylesheet
   Navy · Slate · Ivory · Teal  |  Cormorant Garamond · Inter
   ========================================================= */

:root {
  --navy: #1b2130;
  --navy-deep: #151a25;
  --navy-glow: #2c3546;
  --slate: #353c4c;
  --slate-glow: #4a5366;
  --ivory: #f6f3ee;
  --ivory-2: #ece6dc;
  --ink: #3a4252;
  --ink-soft: #5d6575;
  --teal: #5a9ea6;          /* display on light */
  --teal-text: #3f8189;     /* small text on light (AA) */
  --teal-light: #8cc3c8;    /* on dark */
  --line-light: rgba(58, 66, 82, .18);
  --line-dark: rgba(246, 243, 238, .14);

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

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--teal-light); color: var(--navy); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ivory); color: var(--navy); padding: 10px 16px; font-weight: 500;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Themes ---------- */
.theme-dark {
  color: var(--ivory);
  background:
    radial-gradient(ellipse 80% 60% at 35% 0%, var(--navy-glow) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  --accent: var(--teal-light);
  --accent-text: var(--teal-light);
  --frame: var(--teal);
  --line: var(--line-dark);
  --muted: rgba(246, 243, 238, .68);
}
.theme-slate {
  color: var(--ivory);
  background:
    radial-gradient(ellipse 70% 60% at 15% 5%, var(--slate-glow) 0%, transparent 70%),
    linear-gradient(180deg, var(--slate) 0%, #2b3140 100%);
  --accent: var(--teal-light);
  --accent-text: var(--teal-light);
  --frame: var(--teal);
  --line: var(--line-dark);
  --muted: rgba(246, 243, 238, .72);
}
.theme-light {
  color: var(--ink);
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%);
  --accent: var(--teal);
  --accent-text: var(--teal-text);
  --frame: var(--teal);
  --line: var(--line-light);
  --muted: var(--ink-soft);
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow-muted { color: var(--muted); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  max-width: 16ch;
}
.display em { color: var(--accent); font-weight: 400; }
.display-xl { font-size: clamp(2.9rem, 7.4vw, 6rem); max-width: 14ch; }

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 40ch;
  margin-top: 1.6rem;
}

.numeral {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: currentColor;
}
.logo-script {
  font-family: var(--script);
  font-weight: 400;
  font-size: 2.15rem;
  line-height: .8;
  margin-left: .6em;
  margin-bottom: -.12em;
  position: relative;
  z-index: 1;
}
.logo-serif {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: 1.12rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.logo-lg .logo-script { font-size: 3rem; }
.logo-lg .logo-serif { font-size: 1.55rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: 0 1.8rem;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #4b8d95; }
.btn-dark { background: var(--navy); color: var(--ivory); }
.btn-dark:hover { background: var(--slate); }
.btn-ghost { border-color: rgba(246, 243, 238, .4); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--teal-light); color: var(--teal-light); }
.btn-block { width: 100%; }

/* ---------- Open frame (brand motif) ----------
   A teal line enters from the left edge, turns down on the right,
   then returns along the bottom — open in the middle of the right side. */
.frame { position: relative; }
.frame-right {
  --frame-right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter) - 56px));
  padding-block: clamp(56px, 8vw, 104px);
}
.frame-right::before,
.frame-right::after {
  content: "";
  position: absolute;
  left: 0;
  right: var(--frame-right);
  border: 0 solid var(--frame);
  border-right-width: 1.5px;
  pointer-events: none;
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.frame-right::before { top: 0; height: 34%; border-top-width: 1.5px; }
.frame-right::after { bottom: 0; height: 22%; border-bottom-width: 1.5px; }
.js .frame-right:not(.is-drawn)::before,
.js .frame-right:not(.is-drawn)::after { transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--ivory);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 18px;
}
.site-header.is-scrolled {
  background: rgba(21, 26, 37, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-dark);
  padding-block: 10px;
}
/* backdrop-filter traps position:fixed children, so drop it while the full-screen menu is open */
.site-header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .logo { position: relative; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav-menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-menu a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, .82);
  position: relative;
  padding-block: 6px;
  transition: color .25s;
}
.nav-menu a:not(.nav-call)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--teal-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--ivory); }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu .nav-call {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 500;
  color: var(--ivory);
  border: 1px solid rgba(140, 195, 200, .5);
  padding: 4px 16px;
  transition: border-color .25s, color .25s;
}
.nav-menu .nav-call:hover { border-color: var(--teal-light); color: var(--teal-light); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  position: relative; z-index: 2;
}
.nav-toggle .bar {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--ivory);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle .bar:first-of-type { top: 17px; }
.nav-toggle .bar:last-of-type { top: 26px; }
.nav-toggle[aria-expanded="true"] .bar:first-of-type { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-of-type { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: 120px; padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }

.hero-frame { padding-block: clamp(64px, 9vw, 120px); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo { display: flex; flex-direction: column; align-items: center; font-weight: 400; line-height: 1; }
.hero-logo .logo-script {
  font-size: clamp(4rem, 17vw, 11.5rem);
  margin: 0 0 -.16em -.25em;
  line-height: .9;
}
.hero-logo .logo-serif {
  font-style: normal;
  font-size: clamp(1.9rem, 8.6vw, 7rem);
  letter-spacing: -.005em;
  line-height: 1;
}
.hero-tagline {
  margin-top: clamp(22px, 3vw, 40px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  line-height: 1.35;
  color: var(--teal-light);
}

.hero-foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 32px 64px;
  margin-top: clamp(56px, 8vw, 96px);
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  line-height: 1.06;
  max-width: 14ch;
}
.hero-headline em { color: var(--teal-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  margin-top: clamp(56px, 7vw, 88px);
}
.pillar a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 2px solid var(--teal);
  padding-top: 26px;
}
.pillar-title {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1.05;
  hyphens: manual;
}
.pillar-text { margin-top: 18px; color: var(--muted); font-size: .98rem; max-width: 30ch; }
.pillar-more {
  margin-top: auto;
  padding-top: 22px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.pillar-more span { display: inline-block; transition: transform .3s var(--ease); }
.pillar a:hover .pillar-more span { transform: translateX(6px); }
.pillar a:hover .pillar-title { color: var(--teal-light); }
.pillar-title { transition: color .3s; }

/* ---------- Practice sections ---------- */
.practice { position: relative; padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); overflow: hidden; }
.practice > .container:first-child { margin-bottom: clamp(32px, 4vw, 48px); }
.practice-inner { position: relative; }

.big-number {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(9rem, 26vw, 21rem);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--ink);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.big-number em {
  font-weight: 400;
  font-size: .3em;
  letter-spacing: 0;
  color: var(--teal);
  margin-left: .12em;
}

.rows { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); max-width: 920px; }
.rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  font-weight: 500;
}
.rows em {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: var(--accent);
  white-space: nowrap;
}

/* Dismissal checklist panel (mirrors the "Dismissed?" carousel) */
.checklist {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 6vw, 80px);
  max-width: 1040px;
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 40px 80px -40px rgba(21, 26, 37, .55);
}
.checklist::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(90, 158, 166, .35);
  pointer-events: none;
}
.checklist-head { display: flex; justify-content: space-between; gap: 16px; }
.checklist-count { font-variant-numeric: tabular-nums; }
.checklist-title {
  margin-top: clamp(28px, 4vw, 48px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.06;
  max-width: 15ch;
}
.checklist-title em { display: block; color: var(--teal-light); }
.checklist-rule { display: block; width: 72px; height: 1px; background: var(--teal-light); margin-top: 28px; }

.checklist-items { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.checklist-items li { border-bottom: 1px solid var(--line); }
.check {
  position: relative;
  display: grid;
  grid-template-columns: 28px 44px 1fr;
  align-items: start;
  gap: 0 14px;
  padding: 22px 0;
  cursor: pointer;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  width: 22px; height: 22px; margin-top: 4px;
  border: 1.5px solid rgba(140, 195, 200, .6);
  position: relative;
  transition: background .25s, border-color .25s;
}
.check-box::after {
  content: "";
  position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid var(--navy); border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .25s var(--ease);
}
.check input:checked + .check-box { background: var(--teal-light); border-color: var(--teal-light); }
.check input:checked + .check-box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check-box { outline: 2px solid var(--teal-light); outline-offset: 3px; }
.check .numeral { font-size: 1.45rem; padding-top: 2px; }
.check-body { display: grid; gap: 6px; }
.check-body strong { font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ivory); transition: color .25s; }
.check-body span { color: var(--muted); font-size: .97rem; max-width: 62ch; }
.check:hover .check-body strong { color: var(--teal-light); }
.check input:checked ~ .check-body strong { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--teal-light); }

.checklist-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 40px; margin-top: clamp(28px, 4vw, 40px);
}
.checklist-note { font-size: .86rem; color: var(--muted); max-width: 46ch; }

.practice-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(40px, 5vw, 56px);
  max-width: 920px;
}
.practice-cta p { color: var(--muted); max-width: 44ch; }

.circles {
  position: absolute;
  top: -40px;
  right: -60px;
  width: min(720px, 80vw);
  color: var(--teal);
  opacity: .9;
  pointer-events: none;
}

.house {
  width: 100%;
  color: var(--teal);
  margin-bottom: clamp(36px, 5vw, 64px);
  overflow: visible;
}
.house polyline, .house circle, .house line {
  stroke-dasharray: 1600;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.2s var(--ease);
}
.js .house:not(.is-visible) polyline,
.js .house:not(.is-visible) circle,
.js .house:not(.is-visible) line { stroke-dashoffset: 1600; }

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 1040px;
}
.step { border-top: 1px solid var(--line); padding-block: 26px 30px; }
.step .numeral { font-size: 1.7rem; }
.step h3 { margin-top: 14px; font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.step p { margin-top: 6px; color: var(--muted); }

/* ---------- Approach ---------- */
.approach { padding-block: clamp(80px, 10vw, 140px); }
.approach .display { margin-top: 20px; }
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 80px);
}
.value { border-top: 2px solid var(--teal); padding-top: 26px; }
.value h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
}
.value p { margin-top: 14px; color: var(--muted); max-width: 34ch; }

/* ---------- Contact ---------- */
.contact { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.contact > .container:first-child { margin-bottom: clamp(32px, 4vw, 48px); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-info .display { max-width: 12ch; }
.contact-phone {
  display: inline-block;
  margin-top: clamp(32px, 4vw, 48px);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 1;
  color: var(--ink);
  transition: color .25s;
}
.contact-phone:hover { color: var(--teal); }
.contact-list { margin-top: 32px; display: grid; gap: 18px; }
.contact-list div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-list dt {
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-text); padding-top: 4px;
}
.contact-list dd { font-size: 1.05rem; }
.contact-list a { border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.contact-list a:hover { color: var(--teal-text); border-color: currentColor; }

.contact-form {
  background: #fff;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 30px 60px -30px rgba(27, 33, 48, .25), 0 0 0 1px rgba(27, 33, 48, .05);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(58, 66, 82, .3);
  border-radius: 0;
  padding: 13px 14px;
  transition: border-color .25s, background .25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233a4252' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b4483c; }
.field-error { display: block; min-height: 0; font-size: .82rem; color: #a3392e; margin-top: 6px; }
.field-error:empty { margin-top: 0; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); flex-shrink: 0; }
.consent-error { margin-bottom: 4px; }
.contact-form .btn-block { margin-top: 24px; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--ink-soft); text-align: center; }
.form-success {
  margin-top: 16px; padding: 14px 16px;
  background: rgba(90, 158, 166, .12); border-left: 2px solid var(--teal);
  color: var(--ink); font-size: .95rem;
}

.map-wrap { margin-top: clamp(56px, 7vw, 88px); }
.map-wrap iframe {
  width: 100%;
  height: clamp(280px, 36vw, 420px);
  border: 0;
  filter: grayscale(.85) contrast(1.05) sepia(.08);
}

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(64px, 8vw, 96px); padding-bottom: 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr .8fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-heading {
  font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 18px;
}
.site-footer ul { display: grid; gap: 10px; color: var(--muted); }
.site-footer ul a:hover { color: var(--ivory); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-top: 28px; font-size: .84rem; color: rgba(246, 243, 238, .5);
}

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: clamp(112px, 12vw, 150px); }
.page-hero .frame-right { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.page-hero .display { margin-top: 20px; }
.breadcrumb {
  display: flex; gap: 10px; align-items: center;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: clamp(28px, 4vw, 40px);
}
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb [aria-current] { color: var(--ivory); }
.hero-actions-left { justify-content: flex-start; margin-top: clamp(28px, 4vw, 40px); }

/* ---------- WhatsApp button ---------- */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-wa { background: #25d366; color: #0b2a18; }
.btn-wa:hover { background: #1fbd5a; }

.teaser-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(32px, 4vw, 44px); }
.text-link {
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text); border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.text-link span { display: inline-block; transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

/* Two-column feature pair */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 80px); max-width: 1040px;
}
.split > div { border-top: 2px solid var(--teal); padding-top: 24px; }
.split h3 { margin-top: 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; }
.split p:not(.numeral) { margin-top: 12px; color: var(--muted); max-width: 44ch; }

.notice {
  margin-top: clamp(40px, 5vw, 64px); max-width: 720px;
  padding: 24px 28px; border-left: 2px solid var(--teal-light);
  background: rgba(21, 26, 37, .35);
}
.notice p:last-child { margin-top: 10px; color: var(--muted); }
.notice a { color: var(--ivory); font-weight: 600; border-bottom: 1px solid var(--teal-light); }

/* ---------- Approach variants ---------- */
.approach { position: relative; overflow: hidden; }
.approach .container { position: relative; }
.steps-4 { grid-template-columns: repeat(4, 1fr); max-width: none; }
.pillars-light .pillar a { color: var(--ink); }
.pillars-light .pillar-text { color: var(--muted); }
.pillars-light .pillar-more { color: var(--teal-text); }
.pillars-light .pillar a:hover .pillar-title { color: var(--teal); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line-dark); }
.cta-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 64px; align-items: end; }
.cta-inner .display { margin-top: 18px; font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.cta-phone {
  display: inline-block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--ivory); transition: color .25s;
}
.cta-phone:hover { color: var(--teal-light); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.cta-meta { margin-top: 20px; color: var(--muted); font-size: .92rem; }

/* ---------- Contact cards ---------- */
.contact-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: clamp(56px, 7vw, 88px);
}
.contact-card {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 28px 24px; background: #fff;
  box-shadow: 0 0 0 1px rgba(27, 33, 48, .06), 0 24px 48px -32px rgba(27, 33, 48, .3);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--teal), 0 30px 60px -30px rgba(27, 33, 48, .35); }
.contact-card-icon { width: 40px; height: 40px; margin-bottom: 14px; color: var(--teal); }
.contact-card-icon svg { width: 100%; height: 100%; }
.contact-card-wa .contact-card-icon { color: #25d366; }
.contact-card-main { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.15; color: var(--ink); }
.contact-card-email { font-size: 1.2rem; word-break: break-all; }
.contact-card-sub { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Floating WhatsApp (desktop) ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  height: 60px; padding: 0 18px;
  background: #25d366; color: #fff; border-radius: 999px;
  box-shadow: 0 14px 34px -10px rgba(21, 26, 37, .6);
  transition: transform .35s var(--ease), gap .35s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float-label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #0b2a18;
  transition: max-width .45s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-3px); gap: 10px; }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 160px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  animation: wa-pulse 2.8s ease-out 2s 3;
}
@keyframes wa-pulse { to { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }

/* ---------- Mobile action bar (Call | WhatsApp) ---------- */
.action-bar {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  grid-template-columns: 1fr 1fr;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(21, 26, 37, .6);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.action-bar svg { width: 20px; height: 20px; }
.action-call { background: var(--teal); color: #fff; }
.action-wa { background: #25d366; color: #0b2a18; }

@media (max-width: 960px) {
  .cta-inner { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wa-float { display: none; }
  .action-bar { display: grid; }
  .split { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
  .cta-buttons .btn, .teaser-actions .btn { width: 100%; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Above-the-fold heroes animate on load instead of waiting for the scroll observer */
.js .hero .reveal, .js .page-hero .reveal {
  opacity: 1; transform: none; transition: none;
  animation: hero-in .7s var(--ease) both;
}
.js .hero .reveal:nth-child(2), .js .page-hero .reveal:nth-child(2) { animation-delay: .08s; }
.js .hero .reveal:nth-child(3), .js .page-hero .reveal:nth-child(3) { animation-delay: .16s; }
.js .hero .reveal:nth-child(n+4), .js .page-hero .reveal:nth-child(n+4) { animation-delay: .24s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: var(--navy-deep);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; }
  .nav-menu a { font-size: 1rem; }
  .nav-menu .nav-call { font-size: 1.8rem; margin-top: 12px; }

  .hero-foot { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .pillars, .values { grid-template-columns: 1fr; }
  .pillar-title br { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .logo { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .frame-right { --frame-right: 8px; }
  .hero { padding-top: 100px; }
  .hero-meta .eyebrow { font-size: .68rem; letter-spacing: .26em; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .rows li { flex-direction: column; gap: 2px; }
  .rows em { white-space: normal; }
  .practice-cta .btn, .hero-actions .btn, .checklist-foot .btn { width: 100%; }
  .checklist { margin-inline: calc(var(--gutter) * -1 + 4px); }
  .check { grid-template-columns: 26px 1fr; }
  .check .numeral { display: none; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 104px; }
  .circles { width: 120vw; right: -40vw; opacity: .55; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; animation: none; }
  .js .frame-right:not(.is-drawn)::before,
  .js .frame-right:not(.is-drawn)::after { transform: none; }
  .js .house:not(.is-visible) * { stroke-dashoffset: 0; }
}
