/* Vardhiin — layout modelled on a classic agency homepage; brand colours from the Vardhiin logo. */
:root {
  --orange: #f06628;
  --orange-dark: #c94e17;
  --peach: #ffb38a;
  --amber: #ffc94d;
  --ink: #111111;
  --dark: #140b08;       /* the only dark background */
  --text: #1d1d1f;
  --muted: #5d5f63;
  --line: #e7e2dd;
  --paper: #ffffff;
  --cream: #faf6f2;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec-y: clamp(80px, 10vw, 140px);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--orange); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec-y); scroll-margin-top: 72px; }

/* ---------- Type helpers ---------- */
.serif-xl { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.01em; }
.serif-l { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; }
.serif-m { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; }
.eyebrow { font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow-orange { color: var(--orange); }
.eyebrow-muted { color: #a09a94; }
.eyebrow-light { color: rgba(255,255,255,.6); }
.hl-orange { color: var(--orange); }
.lead-bold { font-weight: 600; font-size: 19px; color: var(--ink); }

.link-line {
  display: inline-block; font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding-bottom: 10px; border-bottom: 3px solid var(--orange);
  transition: color .2s, border-color .2s;
}
.link-line:hover { color: var(--orange); }
.link-line-light { color: #fff; }
.link-line-light:hover { color: var(--peach); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border: 0; border-radius: 0; cursor: pointer; transition: background-color .2s, transform .2s;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn:disabled { background: #d9d4cf; color: #8b857f; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .3s; }
.is-scrolled .header-inner { height: 70px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav a { font: 500 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #fff; transition: color .2s; }
.is-scrolled .nav a { color: var(--ink); }
.nav a:hover { color: var(--orange) !important; }
.nav .nav-cta { color: var(--peach); }
.is-scrolled .nav .nav-cta { color: var(--orange); }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav-toggle {
    display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .is-scrolled .nav-toggle span:not(.sr-only), .nav-open .nav-toggle span:not(.sr-only) { background: var(--ink); }
  .nav-open .nav-toggle span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(3) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px var(--gutter) 24px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.25);
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav-open.site-header { background: #fff; }
  .nav a { color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav .nav-cta { color: var(--orange); border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: #fff;
  background:
    radial-gradient(45% 60% at 75% 45%, rgba(240,102,40,.3), transparent 70%),
    radial-gradient(40% 50% at 95% 95%, rgba(255,201,77,.12), transparent 70%),
    radial-gradient(45% 55% at 5% 10%, rgba(140,40,90,.35), transparent 70%),
    #140b08;
}
.hero-grid { display: grid; gap: 24px; align-items: center; padding-block: 120px 40px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; padding-block: 110px 32px; } }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-tag span { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.015em; }
.hero h1 .hl-orange { font-style: italic; }
.hero-lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.75); max-width: 40ch; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 6px; }
.hl-3 { color: var(--amber); }
.hero-visual { margin: 0; position: relative; display: grid; gap: 8px; }
#morph-canvas { width: 100%; aspect-ratio: 1 / 1; max-height: 62vh; cursor: crosshair; touch-action: pan-y; }
@media (max-width: 959px) { #morph-canvas { max-height: 360px; } }
.morph-caption { display: flex; justify-content: center; align-items: center; gap: 16px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); }
.morph-dots { display: flex; gap: 6px; }
.morph-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background-color .3s, width .3s; }
.morph-dots i.is-on { width: 18px; border-radius: 3px; background: var(--orange); }
.hero-trust { border-top: 1px solid rgba(255,214,190,.14); background: rgba(0,0,0,.2); }
.hero-trust-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; padding-block: 20px; font-size: 14px; color: rgba(255,255,255,.65); }
.hero-trust b { color: var(--orange); font-weight: 600; }
.hero-clients { margin-left: auto; color: rgba(255,255,255,.85); font-weight: 500; letter-spacing: .02em; }
@media (max-width: 959px) { .hero-clients { margin-left: 0; width: 100%; } }

/* ---------- Funnel diagnosis (challenge picker + 3D funnel) ---------- */
.diagnose {
  color: #fff;
  background:
    radial-gradient(45% 55% at 75% 45%, rgba(240,102,40,.2), transparent 70%),
    radial-gradient(40% 50% at 5% 95%, rgba(140,40,90,.26), transparent 70%),
    #140b08;
}
.diag-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .diag-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
  .diag-visual { position: sticky; top: 90px; }
}
.diag-copy { display: grid; gap: 22px; }
.diag-lede { color: rgba(255,255,255,.72); font-size: 18px; max-width: 46ch; }
.diag-picker { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.diag-chip { position: relative; display: block; cursor: pointer; }
.diag-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.diag-chip input:disabled { cursor: not-allowed; }
.diag-chip > span {
  display: grid; gap: 4px; height: 100%; padding: 14px 16px 14px 46px; position: relative;
  border: 1px solid rgba(255,214,190,.2); background: rgba(255,255,255,.03);
  font-size: 15px; line-height: 1.35; transition: border-color .2s, background-color .2s, opacity .2s;
}
.diag-chip em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,214,190,.6); }
.diag-chip > span::before {
  content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px;
  border: 1.5px solid rgba(255,214,190,.5); transition: background-color .2s, border-color .2s;
}
.diag-chip:hover > span { border-color: rgba(255,214,190,.45); }
.diag-chip input:checked + span { border-color: var(--orange); background: rgba(240,102,40,.12); }
.diag-chip input:checked + span em { color: var(--orange); }
.diag-chip input:checked + span::before {
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--orange);
}
.diag-chip input:disabled + span { opacity: .4; }
.diag-chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.diag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.diag-actions .btn:disabled { background: rgba(255,255,255,.12); color: rgba(255,255,255,.45); }
.picker-count { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }

.diag-visual { position: relative; display: grid; gap: 14px; }
.diag-status {
  justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 12px; border: 1px solid rgba(255,214,190,.25); color: rgba(255,255,255,.75); transition: color .3s, border-color .3s, background-color .3s;
}
.diag-status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--peach); margin-right: 10px; vertical-align: 1px; animation: pulse 1.6s ease-in-out infinite; }
.diag-status.is-leak { color: #ff8a8a; border-color: rgba(255,72,72,.5); background: rgba(255,72,72,.08); }
.diag-status.is-leak::before { background: #ff4848; }
.diag-status.is-fixed { color: var(--amber); border-color: rgba(255,201,77,.5); background: rgba(255,201,77,.08); }
.diag-status.is-fixed::before { background: var(--amber); }
@keyframes pulse { 50% { opacity: .35; } }
#engine-canvas { display: none; width: 100%; height: min(70vh, 600px); min-height: 460px; }
.engine-on #engine-canvas { display: block; }
.engine-on .engine-static { display: none; }
.engine-static { margin: 0 auto; width: 100%; max-width: 440px; }
.engine-static svg { width: 100%; height: auto; overflow: visible; }
.es-plane polygon { fill: rgba(255,214,190,.06); stroke: rgba(255,214,190,.35); stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.es-plane text { fill: rgba(255,255,255,.6); font: 600 12px var(--sans); letter-spacing: .14em; }
.es-plane .es-flag { font-size: 11px; font-weight: 700; }
.es-plane.is-leak polygon { fill: rgba(255,72,72,.16); stroke: #ff4848; }
.es-plane.is-leak text { fill: #ff8a8a; }
.es-plane.is-fixed polygon { fill: rgba(255,201,77,.16); stroke: var(--amber); }
.es-plane.is-fixed text { fill: var(--amber); }
.diag-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.diag-legend li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 0; }
.lg-peach::before { background: var(--peach); }
.lg-orange::before { background: var(--orange); }
.lg-amber::before { background: var(--amber); }
.lg-leak::before { background: #ff4848; }
.lg-blue::before { background: #6ecdeb; border-radius: 2px; }

/* Tech & AI foundation */
.hl-blue { color: #6ecdeb; font-weight: 500; }
.diag-chip.is-tech > span { border-color: rgba(110,205,235,.22); background: rgba(110,205,235,.04); }
.diag-chip.is-tech em { color: rgba(110,205,235,.85); }
.diag-chip.is-tech:hover > span { border-color: rgba(110,205,235,.5); }
.diag-chip.is-tech input:checked + span { border-color: #6ecdeb; background: rgba(110,205,235,.12); }
.diag-chip.is-tech input:checked + span em { color: #6ecdeb; }
.diag-chip.is-tech input:checked + span::before { background-color: #2b8fae; border-color: #6ecdeb; }
.es-foundation polygon { fill: rgba(110,205,235,.08); stroke: rgba(110,205,235,.6); }
.es-foundation text { fill: #6ecdeb; }
.es-circuit { fill: none; stroke: rgba(110,205,235,.55); stroke-width: 1.4; }
.es-beams path { stroke: rgba(110,205,235,.18); stroke-width: 1.2; stroke-dasharray: 3 6; }
.es-plane.es-foundation.is-leak polygon { fill: rgba(255,72,72,.14); stroke: #ff4848; }
.es-plane.es-foundation.is-leak .es-circuit { stroke: rgba(255,72,72,.6); }
.es-plane.es-foundation.is-fixed polygon { fill: rgba(255,201,77,.14); stroke: var(--amber); }
.es-plane.es-foundation.is-fixed .es-circuit { stroke: rgba(255,201,77,.7); }

.plan { margin-top: 56px; padding: clamp(28px, 4vw, 48px); background: #fff; color: var(--ink); border-top: 6px solid var(--orange); display: grid; gap: 24px; justify-items: start; outline: none; }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; width: 100%; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.plan-list li { background: var(--cream); padding: 24px; display: grid; gap: 8px; align-content: start; }
.plan-list .p-why { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.plan-list .p-svc { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.plan-list .p-how { color: var(--muted); font-size: 15px; }
.plan-list .p-measure { font-size: 14px; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); }
.plan-list .p-measure b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- From gap to growth (3D story inside the plan) ---------- */
.path3d {
  justify-self: stretch; width: 100%; display: grid; gap: 16px; color: #fff;
  padding: clamp(18px, 3vw, 32px);
  background: radial-gradient(60% 70% at 75% 25%, rgba(240,102,40,.2), transparent 70%), #140b08;
}
.path-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.path-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.path-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.path-steps button, .path-replay {
  font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  color: rgba(255,255,255,.62); background: transparent; border: 1px solid rgba(255,214,190,.22); padding: 9px 12px;
  transition: color .2s, border-color .2s, background-color .2s;
}
.path-steps button:hover, .path-replay:hover { color: #fff; border-color: rgba(255,214,190,.5); }
.path-steps button:focus-visible, .path-replay:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.path-steps button b { margin-right: 6px; color: var(--orange); }
.path-steps button[aria-pressed="true"] { color: #fff; border-color: var(--orange); background: rgba(240,102,40,.16); }
.path-steps button[data-act="0"][aria-pressed="true"] { border-color: #ff4848; background: rgba(255,72,72,.12); }
.path-steps button[data-act="0"] b { color: #ff6b6b; }
.path-steps button[data-act="2"][aria-pressed="true"] { border-color: var(--amber); background: rgba(255,201,77,.12); }
.path-steps button[data-act="2"] b { color: var(--amber); }
#path-canvas { display: block; width: 100%; height: clamp(270px, 40vw, 440px); }
@media (max-width: 639px) { #path-canvas { height: 380px; } }
.path-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 24px; }
.path-caption { margin: 0; max-width: 64ch; font-size: 16px; color: rgba(255,255,255,.78); }
.path-caption strong { font-weight: 600; }
.path-caption.is-act0 strong { color: #ff8a8a; }
.path-caption.is-act1 strong { color: #ff9b6a; }
.path-caption.is-act2 strong { color: var(--amber); }

/* ---------- Story ---------- */
/* Follows the dark funnel section, so it needs its own breathing room. */
.story { padding-top: clamp(96px, 11vw, 160px); }
.story-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .story .photo-tall { position: sticky; top: 110px; } }
@media (min-width: 960px) { .story-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.story .photo-tall { aspect-ratio: 1 / 1; max-height: 560px; }
.story-copy .serif-l { max-width: 18ch; }
.story-copy { display: grid; gap: 22px; }
.story-copy > p:not(.eyebrow):not(.lead-bold) { color: var(--muted); }
.photo {
  display: grid; place-items: center; text-align: center; color: rgba(255,255,255,.75);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.8;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 14px, transparent 14px 28px),
    linear-gradient(150deg, #3a3c40, #1b1c1e 60%, #5b1f3f);
}
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 4 / 3; }

.feature-card {
  display: grid; gap: 10px; margin-top: 12px; padding: 28px 32px; text-decoration: none; background: #fff;
  border-top: 6px solid var(--orange); box-shadow: 0 20px 50px -24px rgba(0,0,0,.28); transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -24px rgba(0,0,0,.35); }
.feature-kicker { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.feature-title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.25; color: var(--ink); }
.feature-card-wide { max-width: 640px; margin-top: 64px; }

/* ---------- Outcomes ---------- */
.outcomes { background: var(--cream); }
.audit { background: var(--cream); }
.outcomes-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .outcomes-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.outcomes-grid > div { display: grid; gap: 22px; }
.outcomes-grid > div > p { color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 18px; }
.checks li { position: relative; padding-left: 38px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.6 2.6L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.growth-chart { margin: 0; }

/* ---------- Funnel maths calculator ---------- */
.calc { background: var(--dark); color: #fff; }
.calc-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .calc-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } .calc-side { position: sticky; top: 100px; display: grid; gap: 28px; } }
/* Phones: show the cube right under the card, where the sliders are. */
@media (max-width: 959px) { .calc-side { display: contents; } .calc-cube { order: 2; } }
.calc-cube { margin: 0; display: grid; gap: 12px; }
#cube-canvas { display: block; width: 100%; height: clamp(300px, 30vw, 360px); }
.calc-cube figcaption { font-size: 14px; color: rgba(255,255,255,.62); max-width: 46ch; }
.calc-cube figcaption span { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.calc-cube figcaption span::before { content: ""; width: 14px; height: 10px; }
.cc-today::before { border: 1.5px dashed #ffd6be; }
.cc-after::before { background: rgba(240,102,40,.5); border: 1.5px solid #ffb38a; }
.calc-copy { display: grid; gap: 20px; }
.calc-copy > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.calc-copy .calc-note { font-size: 13px; color: rgba(255,255,255,.5); }
.calc-card { background: #fff; color: var(--ink); padding: clamp(22px, 3.5vw, 36px); border-top: 6px solid var(--orange); display: grid; gap: 22px; }
.calc-inputs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.calc-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.calc-field input { min-height: 48px; padding: 0 14px; font: 500 16px var(--sans); border: 1px solid #cfc9c3; border-radius: 0; color: var(--ink); width: 100%; }
.calc-field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,102,40,.18); }
.calc-lifts { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; }
.calc-lifts legend { padding: 0; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.calc-slider { display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.cs-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cs-top i { display: block; font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); }
.calc-slider.is-traffic input { accent-color: #e0895c; }
.calc-slider.is-sales input { accent-color: #d99a12; }
.calc-slider b { color: var(--orange); }
.calc-slider input { width: 100%; accent-color: var(--orange); }
.calc-out { border-top: 1px solid var(--line); }
.calc-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.calc-row span:not(:first-child) { text-align: right; }
.calc-row span:last-child { color: var(--orange-dark); font-weight: 600; }
.calc-head { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.calc-head span:last-child { color: var(--muted); }
.calc-total { font-weight: 600; font-size: 17px; border-bottom: 0; }
.calc-result { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; }
.calc-result b { color: var(--orange); font-weight: 400; font-size: 1.4em; }
.calc-gap { margin: 0; padding: 18px 20px; background: #140b08; color: #fff; display: grid; gap: 2px; border-left: 4px solid #ff4848; }
.calc-gap[hidden] { display: none; }
.cg-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ff8a8a; }
.cg-month { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.cg-year { font-size: 15px; color: rgba(255,255,255,.7); }

/* ---------- Practice ---------- */

/* ---------- Results intro + mosaic ---------- */
.results-intro { padding-bottom: clamp(48px, 6vw, 72px); }
.results-intro .wrap { display: grid; gap: 22px; max-width: 900px; margin-left: max(0px, calc((100% - var(--wrap)) / 2)); margin-right: 0; }
.results-title { color: #8a847e; }
.results-title em { color: var(--ink); font-style: italic; }
.results-copy { color: var(--muted); max-width: 62ch; }

.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mosaic { grid-template-columns: 1fr; } }
.m-tile { position: relative; min-height: 340px; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; color: #fff; text-decoration: none; overflow: hidden; }
.m-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6)); transition: background-color .3s; }
.m-photo:hover::before { background-color: rgba(240,102,40,.25); }
.m-photo > * { position: relative; }
.m-name { font: 600 clamp(26px, 2.4vw, 34px)/1.05 var(--sans); text-transform: uppercase; letter-spacing: .01em; }
.m-cat { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.m-go { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-top: 10px; }
.m-go::after { content: "  →"; color: var(--peach); }
.mp1 { background: linear-gradient(140deg, #6b3a2a, #2e3033); }
.mp2 { background: linear-gradient(140deg, #253a52, #12161b); }
.mp3 { background: linear-gradient(140deg, #8a7a6a, #3a3632); }
.mp4 { background: linear-gradient(140deg, #1e4a3e, #101614); }
.mp5 { background: linear-gradient(140deg, #4a2a52, #18121b); }
.mp6 { background: linear-gradient(140deg, #5c6b2a, #1f2312); }
.m-stat { justify-content: center; }
.ms-orange { background: var(--orange); }
.ms-teal { background: #3e8c95; }
.m-big { font: 600 clamp(38px, 3.6vw, 54px)/1 var(--sans); letter-spacing: -0.02em; }
.m-desc { font-size: 17px; max-width: 24ch; }
.m-desc em, .q-badge { font: 600 10px/1 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; border: 1px solid currentColor; padding: 4px 6px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }

/* ---------- Big words (services) ---------- */
.bigwords { background: var(--dark); color: #fff; }
.bigwords .wrap { display: grid; gap: 56px; }
.bw-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 64px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.bw-grid li { display: flex; align-items: flex-start; gap: 18px; }
.bw-word { font-family: var(--serif); font-size: clamp(54px, 7vw, 96px); line-height: .95; color: var(--orange); }
.bw-grid li:nth-child(3n+2) .bw-word { color: #ff9b6a; }
.bw-grid li:nth-child(3n) .bw-word { color: var(--amber); }
.bw-sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; color: rgba(255,255,255,.8); padding-top: 8px; }
.svc-detail { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.15); }
.svc-detail details { border-bottom: 1px solid rgba(255,255,255,.15); }
.svc-detail summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.svc-detail summary::-webkit-details-marker { display: none; }
.svc-detail summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--orange); transition: transform .25s; }
.svc-detail details[open] summary::after { transform: rotate(45deg); }
.svc-detail p { color: rgba(255,255,255,.7); padding-bottom: 24px; max-width: 70ch; }

/* ---------- Certifications ---------- */
.certs .wrap { display: grid; gap: 28px; justify-items: start; max-width: 980px; margin-left: max(0px, calc((100% - var(--wrap)) / 2)); margin-right: 0; }
.certs-title { color: #4a4a4a; }
.certs-title strong { color: var(--ink); font-weight: 400; background: linear-gradient(transparent 62%, rgba(240,102,40,.25) 0); }

/* ---------- Testimonials ---------- */
.quotes {
  background:
    radial-gradient(30% 50% at 92% 20%, rgba(240,102,40,.18), transparent 70%),
    var(--dark);
  color: #fff; position: relative; overflow: hidden;
}
.quotes::before { content: "“"; position: absolute; right: 4%; top: -60px; font: 400 420px/1 var(--serif); color: rgba(255,255,255,.05); pointer-events: none; }
.quotes-inner { display: grid; gap: 40px; }
.q-track { display: grid; }
.q-slide { grid-area: 1 / 1; margin: 0; display: grid; gap: 40px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.q-slide.is-active { opacity: 1; visibility: visible; }
@media (min-width: 900px) { .q-slide { grid-template-columns: 260px 1fr; gap: 72px; } }
.q-logo { aspect-ratio: 3 / 2; max-width: 260px; display: grid; place-items: center; background: #fff; color: #8a847e; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.q-slide blockquote { margin: 14px 0 22px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; }
.q-slide figcaption { font-size: 15px; color: rgba(255,255,255,.7); display: grid; gap: 2px; }
.q-slide figcaption b { color: #fff; font-size: 17px; }
.q-badge { display: inline-block; margin: 0; color: var(--peach); }
.q-controls { display: flex; align-items: center; gap: 18px; }
.q-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: none; color: #fff; font-size: 18px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.q-btn:hover { background: var(--orange); border-color: var(--orange); }
.q-dots { display: flex; gap: 10px; }
.q-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.q-dots button[aria-selected="true"] { background: var(--orange); }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.team-copy { display: grid; gap: 22px; justify-items: start; }
.leader { border-left: 3px solid var(--orange); padding-left: 20px; display: grid; gap: 8px; }
.leader p:first-child { font-family: var(--serif); font-size: 21px; line-height: 1.4; }
.leader-name { font-size: 14px; color: var(--muted); }

/* ---------- Differentiation ---------- */

/* ---------- Audit ---------- */
.audit-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 960px) { .audit-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.audit-copy { display: grid; gap: 22px; }
.audit-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-list { font-style: normal; display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-list a, .contact-list p { display: flex; gap: 16px; text-decoration: none; font-size: 17px; }
.contact-list span { width: 64px; flex: none; font-size: 12px; line-height: 2.1; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a:hover { color: var(--orange); }
.form-card { background: #fff; padding: clamp(24px, 4vw, 44px); border-top: 6px solid var(--orange); box-shadow: 0 30px 80px -30px rgba(0,0,0,.3); }
#audit-form { display: grid; gap: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { width: 100%; min-height: 54px; padding: 0 16px; font: 400 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid #cfc9c3; border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; padding-right: 44px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23f06628' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; }
.field select:invalid { color: #8b857f; }
.field select option { color: var(--ink); }
.field-row { display: grid; gap: 22px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; gap: 16px; } }
.field .opt { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 4px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,102,40,.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c62828; }
.field-error { color: #c62828; font-size: 14px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-challenges { display: grid; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-challenges p { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; }
.form-challenges a { color: var(--orange); font-weight: 500; text-decoration: none; }
.form-challenges ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form-challenges li { font-size: 13px; padding: 6px 12px; background: #fff3ec; border: 1px solid rgba(240,102,40,.35); }
.form-success { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 24px 0; color: var(--orange); outline: none; }
.form-success h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--ink); }
.form-success p { color: var(--muted); }
.form-success strong { color: var(--ink); word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); font-size: 15px; }
.footer-top { display: grid; gap: 56px; padding-block: clamp(72px, 9vw, 112px); }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1fr 1.3fr; gap: 80px; } }
.footer-brand { display: grid; gap: 20px; justify-items: start; }
.footer-brand .serif-l { color: #fff; }
.footer-brand address { font-style: normal; line-height: 1.8; }
.footer-brand address a { text-decoration: none; }
.footer-brand address a:hover { color: var(--peach); }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer-cols > div { display: grid; gap: 10px; align-content: start; }
.footer-cols a, .footer-cols span { text-decoration: none; color: rgba(255,255,255,.7); font-size: 14px; }
.footer-cols a:hover { color: var(--peach); }
.f-social { display: flex; gap: 8px; }
@media (max-width: 479px) { .f-social { gap: 6px; } .footer-cols .f-social a { width: 34px; height: 34px; } }
.footer-cols .f-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,214,190,.25); color: rgba(255,255,255,.8); transition: color .2s, background-color .2s, border-color .2s; }
.footer-cols .f-social a:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.footer-cols .f-social a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.f-social svg { width: 18px; height: 18px; fill: currentColor; }
.f-head { color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.f-head-gap { margin-top: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
