/* =================================================================
   PracticeReach — "Claret, Bone & Espresso"
   Charcoal-navy + warm ledger paper + brass-gold accent.
   Design system + components. No build step, no dependencies.
   Palette lives in :root below — change --ink / --paper / --brass to retheme.
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Paper / surfaces — warm bone */
  --paper:        #ECE6DA;   /* warm bone */
  --paper-card:   #F4EFE4;   /* lifted card */
  --paper-sunk:   #E3DBC9;   /* sunken panels */

  /* Ink — deep espresso (primary text + dark sections) */
  --ink:          #231C17;
  --ink-soft:     #3A2E26;   /* secondary dark surface */
  --ink-muted:    #6A5C50;   /* muted body on paper */
  --ink-faint:    #9A8B7C;   /* captions */

  /* Claret accent (the brand colour; var name kept as --brass) */
  --brass:        #7E2D2A;
  --brass-bright: #9C3A33;
  --brass-soft:   #E3C7BF;
  --brass-wash:   #F1E2DD;

  /* Error / danger red, kept distinct from the claret accent */
  --oxblood:      #B23A2E;

  /* Rules / borders */
  --rule:         #DAD0BF;   /* hairline on paper */
  --rule-strong:  #C7B9A2;
  --rule-dark:    rgba(244,239,228,0.14); /* on dark sections */

  /* On-dark text */
  --on-dark:      #F1ECE0;
  --on-dark-muted:#C2B3A3;

  /* Type */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'Schibsted Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono:    'DM Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Fluid scale */
  --fs-eyebrow: 0.74rem;
  --fs-sm:      0.92rem;
  --fs-body:    1.05rem;
  --fs-lg:      1.2rem;
  --fs-h4:      clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  --fs-h3:      clamp(1.45rem, 1.2rem + 1.2vw, 2rem);
  --fs-h2:      clamp(2rem, 1.5rem + 2.4vw, 3.1rem);
  --fs-h1:      clamp(2.6rem, 1.7rem + 4.4vw, 5.1rem);
  --fs-display: clamp(3rem, 1.8rem + 6vw, 6.4rem);

  /* Spacing rhythm (8pt) */
  --sp-1: 0.5rem;  --sp-2: 0.75rem; --sp-3: 1rem;   --sp-4: 1.5rem;
  --sp-5: 2rem;    --sp-6: 3rem;    --sp-7: 4.5rem;  --sp-8: 6.5rem;

  --container: 1180px;
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(35,28,23,0.05), 0 2px 8px rgba(35,28,23,0.04);
  --shadow-md: 0 4px 14px rgba(35,28,23,0.07), 0 14px 40px rgba(35,28,23,0.07);
  --shadow-lg: 0 10px 30px rgba(35,28,23,0.10), 0 30px 80px rgba(35,28,23,0.12);
  --shadow-brass: 0 8px 26px rgba(126,45,42,0.28);

  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --speed:     0.28s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--brass-soft); color: var(--ink); }

/* Paper grain — subtle, behind everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(35,28,23,0.022) 1px, transparent 1px);
  background-size: 4px 4px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { position: relative; padding-block: clamp(3.5rem, 7vw, 7rem); z-index: 1; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .section-kicker { color: var(--brass-soft); }
.section--sunk { background: var(--paper-sunk); }

/* ---------- Typography helpers ---------- */
.eyebrow, .section-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: ""; width: 1.7rem; height: 1px;
  background: currentColor; opacity: 0.6;
}
.section-head { max-width: 46rem; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow, .section-head.center .section-kicker { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); line-height: 1.12; }
.serif-italic { font-style: italic; font-weight: 400; }
.lead { font-size: var(--fs-lg); color: var(--ink-muted); line-height: 1.6; max-width: 40ch; }
.section--dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--ink-muted); }
.tnum { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--on-dark); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  min-height: 48px;
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: 100px;
  position: relative; overflow: hidden; white-space: nowrap;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease);
  will-change: transform;
}
.btn .btn-arrow { transition: transform var(--speed) var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.btn--brass { --btn-bg: var(--brass); --btn-fg: #F1ECE0; --btn-bd: var(--brass); font-weight: 700; }
.btn--brass:hover { --btn-bg: var(--brass-bright); box-shadow: var(--shadow-brass); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--rule-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); background: rgba(35,28,23,0.03); }

.section--dark .btn--ghost { --btn-fg: var(--on-dark); --btn-bd: rgba(243,241,230,0.3); }
.section--dark .btn--ghost:hover { --btn-bd: var(--on-dark); background: rgba(243,241,230,0.06); }

/* On dark/claret-dark bands, claret-on-espresso is too low-contrast — use a bone button + light ghost */
.cta-band .btn--brass, .section--dark .btn--brass { --btn-bg: var(--on-dark); --btn-fg: var(--ink); --btn-bd: var(--on-dark); }
.cta-band .btn--brass:hover, .section--dark .btn--brass:hover { --btn-bg: #FFFFFF; box-shadow: 0 12px 30px rgba(0,0,0,0.32); }
.cta-band .btn--ghost { --btn-fg: var(--on-dark); --btn-bd: rgba(241,236,224,0.45); }
.cta-band .btn--ghost:hover { --btn-bd: var(--on-dark); background: rgba(241,236,224,0.09); }

.btn--lg { padding: 1.05rem 1.9rem; min-height: 56px; font-size: var(--fs-body); }
.btn--block { display: flex; width: 100%; }

/* sheen sweep on primary */
.btn--brass::after, .btn--sheen::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease);
}
.btn--brass:hover::after, .btn--sheen:hover::after { left: 130%; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--ink);
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: 1px;
  transition: gap var(--speed) var(--ease), color var(--speed) var(--ease);
}
.textlink:hover { gap: 0.7rem; color: var(--brass); }
.section--dark .textlink { color: var(--on-dark); }
.section--dark .textlink:hover { color: var(--brass-soft); }

/* ---------- Pills / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  padding: 0.4rem 0.8rem; border-radius: 100px;
  border: 1px solid var(--rule-strong); color: var(--ink-muted);
  background: var(--paper-card);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.chip--live .dot { background: #2f9e57; box-shadow: 0 0 0 0 rgba(47,158,87,0.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(47,158,87,0.45);} 70%{box-shadow:0 0 0 7px rgba(47,158,87,0);} 100%{box-shadow:0 0 0 0 rgba(47,158,87,0);} }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244,242,233,0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--rule);
  box-shadow: 0 6px 24px rgba(35,28,23,0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; transition: height var(--speed) var(--ease); }
.nav.scrolled .nav-inner { height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand b { font-weight: 600; }
.brand span { color: var(--brass); }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  position: relative; padding: 0.5rem 0.8rem; font-size: 0.95rem; font-weight: 500; color: var(--ink);
  border-radius: 8px; transition: color var(--speed) var(--ease); white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.32rem; height: 1.5px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform var(--speed) var(--ease);
}
.nav-links a:hover { color: var(--brass); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: var(--speed); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: var(--speed) var(--ease); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(7rem, 12vh, 9.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.9; pointer-events: none; }
/* bone veil: protects the headline on the left, lets the footage show through on the right */
.hero-veil { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(102deg, var(--paper) 21%, rgba(236,230,218,0.8) 43%, rgba(236,230,218,0.4) 70%, rgba(236,230,218,0.1) 100%); }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { margin: 1.1rem 0 1.3rem; }
.hero h1 em { color: var(--brass); }
.hero-sub { font-size: var(--fs-lg); color: var(--ink-muted); max-width: 34ch; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2.1rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.hero-trust .stars { color: var(--brass); letter-spacing: 2px; font-size: 0.95rem; }
.hero-trust small { display: block; color: var(--ink-faint); font-size: 0.8rem; }
.hero-trust strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }

/* faint giant watermark numeral behind hero */
.hero-watermark {
  position: absolute; right: -2%; top: 8%; font-family: var(--font-display); font-weight: 600;
  font-size: 40rem; line-height: 1; color: rgba(35,28,23,0.025); z-index: 0; pointer-events: none; user-select: none;
}

/* ---------- Compounding Ledger (signature) ---------- */
.ledger-card {
  position: relative; background: var(--paper-card); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: 1.5rem 1.5rem 1.2rem; box-shadow: var(--shadow-lg);
}
.ledger-card::before {
  content: ""; position: absolute; inset: 9px; border: 1px solid var(--rule); border-radius: calc(var(--radius-lg) - 7px); pointer-events: none;
}
.ledger-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; position: relative; }
.ledger-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.ledger-metric { display: flex; align-items: baseline; gap: 0.5rem; }
.ledger-metric .big { font-family: var(--font-display); font-size: clamp(2.4rem, 2rem + 2vw, 3.3rem); font-weight: 600; letter-spacing: -0.02em; }
.ledger-metric .unit { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-muted); }
.ledger-delta { font-family: var(--font-mono); font-size: 0.78rem; color: #2f9e57; font-weight: 600; }
.ledger-chart { position: relative; margin-top: 0.6rem; }
.ledger-chart svg { width: 100%; height: auto; overflow: visible; }
.ledger-line { fill: none; stroke: var(--brass); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ledger-area { fill: url(#brassFade); opacity: 0; transition: opacity 0.8s var(--ease) 0.5s; }
.ledger-grid line { stroke: var(--rule); stroke-width: 1; }
.ledger-grid text { font-family: var(--font-mono); font-size: 9px; fill: var(--ink-faint); }
.ledger-dot { fill: var(--paper-card); stroke: var(--brass); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ledger-dot.show { animation: dotPop 0.4s var(--ease) forwards; }
@keyframes dotPop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.ledger-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.ledger-foot .lf { text-align: left; }
.ledger-foot .lf .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); }
.ledger-foot .lf .v { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.ledger-tooltip {
  position: absolute; pointer-events: none; z-index: 5; opacity: 0; transform: translate(-50%, -8px);
  background: var(--ink); color: var(--on-dark); padding: 0.5rem 0.7rem; border-radius: 8px; font-size: 0.74rem;
  white-space: nowrap; box-shadow: var(--shadow-md); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.ledger-tooltip.show { opacity: 1; transform: translate(-50%, -14px); }
.ledger-tooltip .tt-q { font-family: var(--font-mono); color: var(--brass-soft); font-size: 0.66rem; letter-spacing: 0.08em; }
.ledger-hit { fill: transparent; cursor: pointer; }

/* ---------- Logos / city marquee ---------- */
.proof-bar { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: 1.4rem; }
.proof-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .city { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--ink); opacity: 0.65; }
.marquee-track .city svg { color: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.8rem, 1.5vw, 1.1rem); }
.svc {
  position: relative; background: var(--paper-card); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.6rem; overflow: hidden;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--rule-strong); }
.svc-span-3 { grid-column: span 3; }
.svc-span-2 { grid-column: span 2; }
.svc-span-6 { grid-column: span 6; }
.svc-num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.1em; }
.svc-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brass-wash); color: var(--brass); margin-bottom: 1.1rem; border: 1px solid var(--brass-soft); transition: transform var(--speed) var(--ease); }
.svc:hover .svc-ico { transform: rotate(-6deg) scale(1.06); }
.svc-ico svg { width: 24px; height: 24px; }
.svc h4 { margin-bottom: 0.5rem; }
.svc p { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.55; }
.svc-rule { margin-top: 1.1rem; height: 1px; background: var(--rule); position: relative; }
.svc-rule::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--brass); transition: width 0.5s var(--ease); }
.svc:hover .svc-rule::after { width: 38%; }
.svc-tag { display: inline-block; margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); }

/* feature wide card on dark */
.svc--dark { background: var(--ink-soft); border-color: var(--rule-dark); color: var(--on-dark); }
.svc--dark p { color: var(--on-dark-muted); }
.svc--dark .svc-ico { background: rgba(231,210,165,0.12); border-color: rgba(231,210,165,0.25); color: var(--brass-soft); }
.svc--dark .svc-rule { background: var(--rule-dark); }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 1.8rem 1.5rem; background: var(--ink); text-align: left; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--on-dark); }
.stat .num .suffix { color: var(--brass-soft); }
.stat .lbl { margin-top: 0.6rem; color: var(--on-dark-muted); font-size: var(--fs-sm); }

/* ---------- Why-us / split rows ---------- */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contrast-col { border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--rule); }
.contrast-col h4 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; }
.contrast-col.bad { background: var(--paper-sunk); }
.contrast-col.bad h4 { color: var(--ink-muted); }
.contrast-col.good { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.contrast-list { list-style: none; padding: 0; display: grid; gap: 0.85rem; }
.contrast-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.5; }
.contrast-list .mk { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.contrast-col.bad .mk { background: rgba(142,44,38,0.1); color: var(--oxblood); }
.contrast-col.good .mk { background: rgba(231,210,165,0.16); color: var(--brass-soft); }
.contrast-col.good li { color: var(--on-dark-muted); }
.contrast-col.good li strong { color: var(--on-dark); }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; position: relative; }
.tl-step { position: relative; padding-top: 2.4rem; }
.tl-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--brass);
  background: var(--paper-card); border: 1.5px solid var(--brass-soft); width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
}
.tl-step .tl-bar { position: absolute; top: 1.05rem; left: 2.1rem; right: -1.1rem; height: 1.5px; background: var(--rule); overflow: hidden; }
.tl-step .tl-bar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--brass); transition: width 0.8s var(--ease); }
.tl-step.in .tl-bar::after { width: 100%; }
.tl-step:last-child .tl-bar { display: none; }
.tl-step h4 { font-size: var(--fs-h4); margin-bottom: 0.45rem; }
.tl-step .when { font-family: var(--font-mono); font-size: 0.74rem; color: var(--brass); letter-spacing: 0.06em; text-transform: uppercase; }
.tl-step p { color: var(--ink-muted); font-size: var(--fs-sm); margin-top: 0.5rem; }

/* ---------- Pricing ---------- */
.price-toggle { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.3rem; border: 1px solid var(--rule); border-radius: 100px; background: var(--paper-card); position: relative; }
.price-toggle button { position: relative; z-index: 2; padding: 0.55rem 1.15rem; border-radius: 100px; font-size: 0.86rem; font-weight: 600; color: var(--ink-muted); transition: color var(--speed) var(--ease); }
.price-toggle button.active { color: var(--on-dark); }
.price-toggle .slider { position: absolute; z-index: 1; top: 0.3rem; bottom: 0.3rem; left: 0.3rem; width: 0; border-radius: 100px; background: var(--ink); transition: left var(--speed) var(--ease), width var(--speed) var(--ease); }
.toggle-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brass); margin-left: 0.7rem; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; background: var(--paper-card);
  border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 1.8rem;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tier.featured { border-color: var(--brass); box-shadow: var(--shadow-lg); }
.tier.featured::before {
  content: "★ Most popular"; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: var(--brass); color: #F1ECE0; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0.9rem; border-radius: 100px; white-space: nowrap;
}
.tier-name { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.tier-for { color: var(--ink-faint); font-size: 0.82rem; margin-top: 0.3rem; min-height: 2.4em; }
.tier-price { margin: 1.1rem 0 0.2rem; display: flex; align-items: baseline; gap: 0.3rem; }
.tier-price .cur { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.tier-price .amt { font-family: var(--font-display); font-size: clamp(2.4rem, 2rem + 2vw, 3.1rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.tier-price .per { color: var(--ink-faint); font-size: 0.85rem; }
.tier-monthly { font-family: var(--font-mono); font-size: 1.05rem; color: var(--ink-muted); margin-top: 0.2rem; }
.tier-monthly b { color: var(--ink); font-weight: 700; font-size: 1.1em; }
.tier-gst { font-size: 0.74rem; color: var(--ink-faint); margin-top: 0.2rem; }
.tier-cta { margin: 1.3rem 0; }
.tier-feat-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.8rem; }
.tier-list { list-style: none; padding: 0; display: grid; gap: 0.7rem; margin-top: auto; }
.tier-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; line-height: 1.45; color: var(--ink); }
.tier-list .tick { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brass); }
.tier-list li.muted-feat { color: var(--ink-faint); }
.tier-list li.muted-feat .tick { color: var(--rule-strong); }

/* comparison table */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-card); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
table.cmp th, table.cmp td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--rule); }
table.cmp thead th { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); position: sticky; top: 0; background: var(--paper-card); }
table.cmp thead th.col-feat { color: var(--brass); }
table.cmp tbody th { font-weight: 500; color: var(--ink); font-size: 0.92rem; }
table.cmp td { text-align: center; color: var(--ink-muted); font-size: 0.9rem; }
table.cmp td.yes { color: var(--brass); }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: none; }
table.cmp .col-feat { background: rgba(126,45,42,0.05); }
table.cmp tbody tr:hover td, table.cmp tbody tr:hover th { background: rgba(35,28,23,0.025); }

/* recommender */
.reco { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: center; background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.6rem); }
.reco h3 { margin-bottom: 0.6rem; }
.reco p { color: var(--on-dark-muted); font-size: var(--fs-sm); }
.reco-q { margin-top: 1.2rem; }
.reco-q .q-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 0.6rem; }
.reco-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.reco-opt { padding: 0.6rem 1rem; border: 1px solid rgba(243,241,230,0.22); border-radius: 100px; font-size: 0.86rem; font-weight: 500; color: var(--on-dark); transition: all var(--speed) var(--ease); }
.reco-opt:hover { border-color: var(--brass-soft); }
.reco-opt.sel { background: var(--brass); color: #F1ECE0; border-color: var(--brass); font-weight: 600; }
.reco-result { background: var(--ink-soft); border: 1px solid var(--rule-dark); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.reco-result .rr-k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.reco-result .rr-name { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--brass-soft); margin: 0.3rem 0 0.2rem; transition: opacity var(--speed) var(--ease); }
.reco-result .rr-why { font-size: 0.84rem; color: var(--on-dark-muted); min-height: 2.5em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.6rem; max-width: 50rem; margin-inline: auto; }
.faq-item { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-card); overflow: hidden; transition: border-color var(--speed) var(--ease); }
.faq-item[open] { border-color: var(--rule-strong); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--brass); border-radius: 2px; transition: transform var(--speed) var(--ease); }
.faq-icon::before { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-a { padding: 0 1.4rem 1.3rem; color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.6; }
.faq-a p + p { margin-top: 0.7rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper-card); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.field label .req { color: var(--oxblood); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; font: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--rule-strong); border-radius: var(--radius-sm);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); background: var(--paper-card); box-shadow: 0 0 0 4px rgba(126,45,42,0.13);
}
.field input:user-invalid, .field select:user-invalid { border-color: var(--oxblood); }
.field .hint { font-size: 0.76rem; color: var(--ink-faint); margin-top: 0.35rem; }
.field-error { color: var(--oxblood); font-size: 0.78rem; margin-top: 0.35rem; display: none; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--oxblood); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success { display: none; text-align: center; padding: 1rem; }
.form-success.show { display: block; animation: fadeUp 0.5s var(--ease); }
.form-success .sicon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: rgba(47,158,87,0.12); color: #2f9e57; display: grid; place-items: center; }
.form-success .sicon svg { width: 32px; height: 32px; }

.consult-perks { list-style: none; padding: 0; display: grid; gap: 1rem; }
.consult-perks li { display: flex; gap: 0.8rem; align-items: flex-start; }
.consult-perks .mk { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--brass-wash); border: 1px solid var(--brass-soft); color: var(--brass); display: grid; place-items: center; }
.consult-perks .mk svg { width: 20px; height: 20px; }
.consult-perks h4 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.consult-perks p { font-size: 0.85rem; color: var(--ink-muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 4rem); text-align: center; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band h2 em { color: var(--brass-soft); }
.cta-band .lead { margin: 0 auto 1.8rem; color: var(--on-dark-muted); text-align: center; }
.cta-band .hero-actions { justify-content: center; }
.cta-rules { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.cta-rules::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(180deg, transparent, transparent 33px, var(--rule-dark) 33px, var(--rule-dark) 34px); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule-dark); }
.footer .brand { color: var(--on-dark); }
.footer-blurb { color: var(--on-dark-muted); font-size: 0.9rem; margin-top: 1rem; max-width: 30ch; }
.footer h5 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 1rem; font-weight: 500; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-links a { color: var(--on-dark-muted); font-size: 0.9rem; transition: color var(--speed) var(--ease); display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-links a:hover { color: var(--brass-soft); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; color: var(--on-dark-muted); font-size: 0.8rem; }
.footer-meta .tnum { color: var(--on-dark-muted); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 95;
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.35rem 0.85rem 1.05rem;
  background: #25D366; color: #fff; border-radius: 100px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 8px 22px rgba(0,0,0,0.28), 0 2px 6px rgba(0,0,0,0.22);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 16px 34px rgba(0,0,0,0.34); }
.wa-float svg { width: 26px; height: 26px; flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25)); }
.wa-float .wa-text { white-space: nowrap; }
.wa-float .wa-ring { position: absolute; inset: -2.5px; border-radius: 100px; border: 2.5px solid rgba(37,211,102,0.6); animation: waRing 2.6s ease-out infinite; }
@keyframes waRing { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.4); } }

/* ---------- Reveal on scroll (gated by .js so no-JS always shows content) ---------- */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding-top: clamp(7.5rem, 13vh, 10rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); text-align: center; }
.page-hero .container { max-width: 52rem; }
.page-hero h1 { margin: 1rem 0; }
.page-hero h1 em { color: var(--brass); }
.page-hero .lead { margin-inline: auto; text-align: center; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-faint); letter-spacing: 0.06em; }
.breadcrumb a:hover { color: var(--brass); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-watermark { display: none; }
  .reco { grid-template-columns: 1fr; }
  .svc-span-3, .svc-span-2 { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .tl-step .tl-bar { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.menu-open { background: var(--paper); border-bottom-color: var(--rule); }
  .mobile-menu { display: none; }
  .mobile-menu.open { display: block; }
  .pricing { grid-template-columns: 1fr; }
  .tier.featured { order: -1; }
  .contrast { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .svc-span-3, .svc-span-2, .svc-span-6 { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .ledger-foot { grid-template-columns: 1fr; gap: 0.4rem; }
  .hero-trust { gap: 1rem; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
}

/* ---------- Mobile menu panel ---------- */
.mobile-menu { display: none; position: fixed; inset: 0 0 auto 0; top: 74px; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 1rem clamp(1.1rem, 4vw, 2.2rem) 1.6rem; z-index: 99; box-shadow: var(--shadow-md); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 0.9rem 0.4rem; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--rule); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 1rem; width: 100%; }

/* ---------- Before / After case study ---------- */
.ba-tabs { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.ba-tab { padding: 0.55rem 1.1rem; border: 1px solid var(--rule-strong); border-radius: 100px; background: var(--paper-card); font-size: 0.85rem; font-weight: 600; color: var(--ink-muted); transition: background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease), transform var(--speed) var(--ease); }
.ba-tab:hover { border-color: var(--ink); transform: translateY(-1px); }
.ba-tab.active { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

.ba { max-width: 1000px; margin-inline: auto; }
.ba-frame { background: var(--paper-card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ba-chrome { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--rule); background: var(--paper-sunk); }
.ba-dots { display: flex; gap: 0.4rem; }
.ba-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-strong); display: block; }
.ba-url { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); background: var(--paper); border: 1px solid var(--rule); border-radius: 100px; padding: 0.28rem 0.9rem; max-width: 58%; margin-inline: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ba-stage { position: relative; width: 100%; aspect-ratio: 1280 / 771; font-size: 9px; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 52%; }
.ba-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.ba-before, .ba-after { position: absolute; inset: 0; overflow: hidden; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag { position: absolute; bottom: 3em; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.32rem 0.65rem; border-radius: 100px; z-index: 4; font-weight: 600; }
.ba-tag-before { left: 3em; background: rgba(35,28,23,0.72); color: var(--on-dark); }
.ba-tag-after { right: 3em; background: var(--brass); color: #F1ECE0; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--brass); z-index: 5; transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,0.05); }
.ba-grab { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--brass); color: #F1ECE0; display: grid; place-items: center; box-shadow: var(--shadow-md); cursor: ew-resize; transition: transform 0.15s var(--ease); }
.ba-grab:hover { transform: translate(-50%, -50%) scale(1.08); }
.ba-grab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ba-grab svg { width: 22px; height: 22px; }
.ba-hint { text-align: center; font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-faint); margin-top: 1rem; }
.ba-hint b { color: var(--brass); }

/* AFTER mock — on-brand */
.new { position: absolute; inset: 0; background: var(--paper); padding: 3.4em 4em; display: flex; flex-direction: column; gap: 2.2em; }
.new-nav { display: flex; align-items: center; justify-content: space-between; }
.new-brand { font-family: var(--font-display); font-weight: 600; font-size: 2.7em; color: var(--ink); letter-spacing: -0.01em; }
.new-links { display: flex; gap: 1.8em; font-size: 1.45em; color: var(--ink-muted); font-weight: 500; }
.new-pill { background: var(--brass); color: #F1ECE0; font-size: 1.35em; font-weight: 700; padding: 0.9em 1.7em; border-radius: 100px; }
.new-hero { display: flex; flex-direction: column; }
.new-eyebrow { font-family: var(--font-mono); font-size: 1.15em; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.new-h { font-family: var(--font-display); font-weight: 600; font-size: 6.6em; line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); margin: 1.2em 0; }
.new-h em { color: var(--brass); font-style: italic; }
.new-sub { font-size: 1.65em; color: var(--ink-muted); max-width: 78%; line-height: 1.4; }
.new-cta { align-self: flex-start; display: inline-flex; gap: 0.7em; align-items: center; margin-top: 2.2em; background: var(--ink); color: var(--on-dark); font-size: 1.4em; font-weight: 600; padding: 1.2em 2.2em; border-radius: 100px; }
.new-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5em; margin-top: auto; }
.new-card { background: var(--paper-card); border: 1px solid var(--rule); border-radius: 1.6em; padding: 1.7em; }
.new-card .ico { width: 3.6em; height: 3.6em; border-radius: 0.9em; background: var(--brass-wash); border: 1px solid var(--brass-soft); margin-bottom: 1.1em; display: grid; place-items: center; color: var(--brass); }
.new-card .ico svg { width: 2.1em; height: 2.1em; }
.new-card .t { font-family: var(--font-display); font-size: 1.85em; color: var(--ink); }
.new-card .d { font-size: 1.2em; color: var(--ink-faint); margin-top: 0.4em; line-height: 1.35; }

/* BEFORE mock — dated */
.old { position: absolute; inset: 0; background: #ece9e0; font-family: 'Times New Roman', Georgia, serif; color: #232323; }
.old-top { background: #16458f; color: #fff; padding: 1.7em 2.4em; text-align: center; border-bottom: 3px solid #c2a23e; }
.old-top .name { font-size: 3em; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.1; }
.old-top .tag { font-size: 1.3em; color: #cdd9f0; margin-top: 0.3em; }
.old-marq { background: #ffe9a8; color: #b22; font-size: 1.35em; padding: 0.55em; text-align: center; border-bottom: 1px solid #d8c98a; font-style: italic; white-space: nowrap; overflow: hidden; }
.old-body { padding: 2.2em 2.4em; position: relative; }
.old-welcome { color: #15309f; text-decoration: underline; font-size: 4.3em; text-align: center; margin-bottom: 1.4em; font-weight: 700; }
.old-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 2em; }
.old-p { font-size: 1.65em; text-align: justify; line-height: 1.4; color: #2c2c2c; }
.old-p b { color: #15309f; }
.old-links { margin-top: 1.2em; font-size: 1.6em; }
.old-links a { color: #0000ee; text-decoration: underline; display: block; margin-bottom: 0.35em; }
.old-side { border: 1px solid #b9b6a3; background: #fffef3; padding: 1.4em; font-size: 1.35em; line-height: 1.4; box-shadow: 2px 2px 0 #cfc9ad; }
.old-side .h { background: #16458f; color: #fff; font-size: 1.4em; padding: 0.5em 0.7em; margin: -1.4em -1.4em 1em; font-weight: 700; }
.old-badge { position: absolute; top: 1.4em; right: 2.4em; background: #e23; color: #fff; font-size: 1.4em; font-weight: bold; padding: 0.5em 1em; transform: rotate(-7deg); box-shadow: 1px 1px 2px rgba(0,0,0,0.3); border-radius: 2px; }
.old-foot { position: absolute; bottom: 0; left: 0; right: 0; background: #16458f; color: #aebfe0; font-size: 1.1em; text-align: center; padding: 0.7em; }

@media (max-width: 720px) {
  .new-sub, .old-side { display: none; }
  .new-cards { gap: 1em; }
}

/* ---------- "What we do" header with site screenshot ---------- */
.wwd-head { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: var(--sp-6); }
.wwd-copy { max-width: 30rem; }
.wwd-shot { display: flex; justify-content: center; }
.shot { position: relative; width: 100%; max-width: 30rem; background: var(--paper-card); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-1.2deg); transition: transform 0.5s var(--ease); }
.wwd-shot:hover .shot { transform: rotate(0deg) translateY(-5px); }
.shot-chrome { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem; background: var(--paper-sunk); border-bottom: 1px solid var(--rule); }
.shot-dots { display: flex; gap: 0.35rem; }
.shot-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule-strong); }
.shot-url { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 0.66rem; color: var(--ink-faint); background: var(--paper); border: 1px solid var(--rule); border-radius: 100px; padding: 0.2rem 0.7rem; max-width: 62%; margin-inline: auto; }
.shot-body { padding: 1.3rem 1.4rem 1.7rem; }
.shot-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.shot-nav b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.shot-pill { font-size: 0.6rem; font-weight: 700; background: var(--brass); color: var(--on-dark); padding: 0.35rem 0.7rem; border-radius: 100px; }
.shot-kicker { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.55rem; }
.shot-h { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); }
.shot-h em { color: var(--brass); font-style: italic; }
.shot-cta { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1.1rem; background: var(--ink); color: var(--on-dark); font-size: 0.72rem; font-weight: 600; padding: 0.55rem 0.95rem; border-radius: 100px; }
.shot-row { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.shot-row span { height: 2.4rem; flex: 1; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; }
.shot-badge { position: absolute; right: 0.8rem; bottom: 0.8rem; display: inline-flex; align-items: center; gap: 0.4rem; background: var(--ink); color: var(--on-dark); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.04em; padding: 0.35rem 0.65rem; border-radius: 100px; box-shadow: var(--shadow-md); }
.shot-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #36c06a; animation: pulse 2.2s infinite; }
@media (max-width: 900px) {
  .wwd-head { grid-template-columns: 1fr; gap: 2.2rem; }
  .wwd-copy { max-width: none; }
  .shot { transform: none; max-width: 26rem; margin-inline: auto; }
}

/* ---------- Before/After — multiple examples ---------- */
.ba-pair { position: absolute; inset: 0; display: none; }
.ba-pair.active { display: block; }

/* generic "before" CA-site mock (scaled by the stage's em base) */
.bsite { position: absolute; inset: 0; background: #fff; color: #2b2b2b; font-family: 'Segoe UI', Arial, sans-serif; display: flex; flex-direction: column; --navy: #16365c; --acc: #00a8cc; }
.bsite.cyan   { --navy: #123a5e; --acc: #00a3c4; }
.bsite.orange { --navy: #1b3151; --acc: #e07b1f; }
.bsite.gold   { --navy: #143150; --acc: #b88a3e; }
.bsite-nav { display: flex; align-items: center; justify-content: space-between; padding: 1.5em 2.2em; border-bottom: 1px solid #e6e6e6; gap: 1em; }
.bsite-logo { font-weight: 800; font-size: 1.8em; color: var(--navy); letter-spacing: .01em; white-space: nowrap; }
.bsite-right { display: flex; align-items: center; gap: 1.1em; }
.bsite-links { display: flex; gap: 1.25em; font-size: 1.25em; color: #555; }
.bsite-phone { font-size: 1.15em; color: var(--navy); font-weight: 600; white-space: nowrap; }
.bsite-cta { font-size: 1.2em; font-weight: 700; padding: .6em 1.25em; border-radius: 4px; background: var(--acc); color: #fff; white-space: nowrap; }
.bsite-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.8em; color: #fff; background: linear-gradient(135deg, var(--navy), #0c1f36); position: relative; overflow: hidden; }
.bsite-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 72% 18%, rgba(255,255,255,0.12), transparent 60%); }
.bsite-hero h3 { font-size: 3.4em; font-weight: 800; line-height: 1.12; max-width: 90%; position: relative; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.bsite-hero.dark { background: linear-gradient(135deg, #112338, #0a1626); }
.bsite-btn { margin-top: 1.4em; font-size: 1.35em; font-weight: 700; padding: .7em 1.7em; border-radius: 100px; background: var(--acc); color: #fff; position: relative; }
.bsite-btn.sq { border-radius: 3px; }
.bsite-badges { display: flex; gap: .55em; margin-bottom: 1.3em; }
.bsite-badges span { color: rgba(255,255,255,0.45); font-size: 1em; }
.bsite-badges span:first-child { color: #fff; }
.bsite-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9em; padding: 1.5em 2.2em; background: #f4f6f8; }
.bsite-cards .bc { background: #fff; border: 1px solid #e6e6e6; border-radius: 5px; padding: 1.1em .6em; text-align: center; font-size: 1.25em; color: var(--navy); font-weight: 600; }
.bsite-cards .bc-ico { width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--acc); opacity: .85; margin: 0 auto .6em; }
.bsite-stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.5em 2em; background: #fff; }
.bsite-stats .bs { text-align: center; border-right: 1px solid #ededed; }
.bsite-stats .bs:last-child { border-right: none; }
.bsite-stats .bs b { display: block; font-size: 3em; font-weight: 800; color: var(--acc); line-height: 1; }
.bsite-stats .bs span { font-size: 1.1em; color: #666; }
.bsite.cramped .bsite-nav { padding: 1em 2.2em; }
.bsite.cramped .bsite-hero h3 { font-size: 2.9em; }
.bsite-team { padding: 1.3em 2.2em 1.7em; background: #f4f6f8; text-align: center; }
.bsite-team .bt-title { font-size: 1.45em; font-weight: 700; color: var(--navy); margin-bottom: .9em; }
.bsite-team .bt-grid { display: flex; justify-content: center; gap: 1.3em; }
.bsite-team .bt-av { width: 4em; height: 4em; border-radius: 50%; background: linear-gradient(160deg, #c3ccd6, #94a1ae); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }

/* "after" lower-band variants */
.new-statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin-top: auto; padding-top: 1.3em; border-top: 1px solid var(--rule); }
.new-statrow .ns b { display: block; font-family: var(--font-display); font-size: 3.3em; font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.new-statrow .ns span { font-size: 1.2em; color: var(--ink-faint); }
.new-trust { margin-top: auto; padding-top: 1.3em; border-top: 1px solid var(--rule); }
.new-trust .nt-stars { color: var(--brass); font-size: 1.5em; letter-spacing: .08em; }
.new-trust .nt-stars span { color: var(--ink-faint); font-size: .72em; letter-spacing: 0; margin-left: .5em; }
.new-trust .nt-row { display: flex; align-items: center; margin-top: 1em; }
.new-trust .nt-av { width: 2.7em; height: 2.7em; border-radius: 50%; background: linear-gradient(160deg, var(--brass-soft), #c9ac9f); border: 2px solid var(--paper-card); margin-right: -.8em; }
.new-trust .nt-note { font-size: 1.15em; color: var(--ink-muted); margin-left: 1.6em; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
