/* ============================================================
   Spirit of Texas — Site Styles
   Mobile-first. One loud color per view. Heavy cream/white space.
   Motion presses in and settles (no bounce). Honors reduced-motion.
   ============================================================ */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--n-900);
  background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: var(--lh-heading);
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-4);
  font-weight: var(--fw-bold);
}
p { margin: 0 0 var(--sp-4); }
a { color: var(--sot-red); text-decoration: none; }
a:hover { color: var(--sot-red-deep); }
/* height:auto is load-bearing: the HTML width/height attributes set a definite
   height, which silently disables any CSS aspect-ratio crop (the case-card bug).
   Rules that need a fixed height (e.g. .slot__img) override this explicitly. */
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* Tabular figures wherever numbers must line up like a receipt */
.tnum, .price, .stat-num, .estimator-range, [href^="tel:"] {
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
}

/* Gold maker's-mark star ornaments — inherit currentColor so they render GOLD, never black.
   (An <svg><use href="#star"> defaults fill:black; the symbol path has no fill of its own.) */
.star, .star use, .hero__watermark, .hero__watermark use { fill: currentColor; }

/* Sticky-header-aware anchor scrolling — kill the estimator/section overshoot */
:target { scroll-margin-top: calc(var(--nav-h) + 14px); }
section[id], [id].section, main [id] { scroll-margin-top: calc(var(--nav-h) + 14px); }

/* Demo hardening: no dev scaffolding ever renders. Suppress any stray assumption markers. */
.assumption-note { display: none !important; }
[data-assumption] { border-bottom: 0 !important; }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--sot-navy); color: var(--sot-cream);
  padding: var(--sp-3) var(--sp-5); border-radius: 0 0 var(--r-md) 0;
  font-weight: var(--fw-bold);
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); }
.section--cream { background: var(--bg-canvas); }
.section--white { background: var(--bg-elevated); }
.section--navy  { background: var(--bg-inverse); color: var(--text-on-navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--sot-white); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sot-gold-deep);
  margin: 0 0 var(--sp-3);
  font-feature-settings: "tnum" 1;
}
.section--navy .eyebrow { color: var(--sot-gold); }
.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: var(--fs-body-lg); color: var(--text-secondary); }
.section--navy .lead { color: var(--sot-cream); opacity: 0.92; }
.fineprint {
  font-size: var(--fs-small); color: var(--text-muted); line-height: 1.5;
}
.section--navy .fineprint { color: var(--n-300); }

/* Gold lasso-rope rule + star node divider */
.rope-rule {
  display: flex; align-items: center; gap: var(--sp-4);
  margin: var(--sp-6) 0;
}
.rope-rule::before, .rope-rule::after {
  content: ""; flex: 1; height: 2px;
  background-image: repeating-linear-gradient(90deg,
    var(--sot-gold) 0 7px, transparent 7px 12px);
  opacity: 0.7;
}
.rope-rule .star { color: var(--sot-gold); width: 18px; height: 18px; flex: none; }

/* Standard between-section divider: gold lasso-rope rule + star/rider node */
.rope-divider {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-4);
  max-width: var(--maxw); margin: 0 auto; padding: var(--sp-6) var(--gutter);
}
.rope-divider::before, .rope-divider::after {
  content: ""; flex: 1; max-width: 220px; height: 3px; border-radius: 3px;
  background-image: repeating-linear-gradient(90deg,
    var(--sot-gold) 0 8px, transparent 8px 14px);
  opacity: 0.65;
}
.rope-divider .star { color: var(--sot-gold); width: 26px; height: 26px; flex: none; }
.rope-divider .node {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; background: var(--sot-red);
  box-shadow: var(--shadow-sm);
}
.rope-divider .node .star { color: var(--sot-white); width: 20px; height: 20px; }
/* On navy sections the divider sits on cream/gold contrast */
.section--navy + .rope-divider, .rope-divider--onnavy { background: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-body);
  font-weight: var(--fw-bold); font-size: var(--fs-body);
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.95rem 1.6rem; border-radius: var(--r-md);
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-settle),
              background var(--dur-fast) var(--ease-settle),
              box-shadow var(--dur-fast) var(--ease-settle);
  text-align: center; line-height: 1.1;
  max-width: 100%; min-width: 0;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cta); color: var(--text-on-red); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--cta-hover); color: var(--sot-white); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent; color: var(--sot-navy);
  border-color: var(--sot-navy);
}
.btn--ghost:hover { background: var(--sot-navy); color: var(--sot-cream); }
.section--navy .btn--ghost { color: var(--sot-cream); border-color: var(--sot-cream); }
.section--navy .btn--ghost:hover { background: var(--sot-cream); color: var(--sot-navy); }
.btn--lg { padding: 1.15rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Image slots — elegant BRANDED placeholder panels ----------
   An empty slot is an INTENTIONAL Midnight-Navy maker's-mark panel awaiting the
   client's real photos — never a dashed, "unfinished" dev box. .slot--filled
   swaps in a real image (object-fit:cover); .slot--person shows a portrait
   silhouette watermark instead of the star. */
.slot, .slot--branded {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(155deg, #1E2F49 0%, var(--sot-navy) 55%, var(--sot-navy-ink) 100%);
  border: 1px solid rgba(200,145,47,0.30);
  border-radius: var(--r-lg);
  color: var(--sot-cream); text-align: center;
  padding: var(--sp-6); min-height: 220px; overflow: hidden; isolation: isolate;
}
/* Large, low-opacity gold maker's-mark watermark (Lone Star, or a portrait
   silhouette on person slots) — the mark is burned into the waiting panel. */
.slot::before, .slot--branded::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 62%; aspect-ratio: 1 / 1; max-width: 260px;
  background: var(--sot-gold); opacity: 0.10;
  -webkit-mask: var(--star-mask) center / contain no-repeat;
          mask: var(--star-mask) center / contain no-repeat;
}
.slot--person::before {
  width: 56%;
  -webkit-mask: var(--person-mask) center / contain no-repeat;
          mask: var(--person-mask) center / contain no-repeat;
}
.slot__label {
  position: relative; z-index: 1;
  font-size: var(--fs-small); font-weight: var(--fw-medium);
  color: var(--sot-cream); opacity: 0.9;
  letter-spacing: 0.02em; max-width: 30ch; line-height: 1.45;
}
.slot__tag {
  display: block; margin-bottom: var(--sp-2);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sot-gold); font-weight: var(--fw-bold);
}
.slot--tall { min-height: 420px; }
.slot__img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; display: block; }
.slot--filled { border-color: transparent; background: var(--n-100); }
.slot--filled::before { display: none; }
.slot--filled .slot__label { display: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--sot-cream) 92%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--n-100);
  transition: box-shadow var(--dur-med) var(--ease-settle);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; gap: var(--sp-5);
  height: var(--nav-h);
}
.brand-lockup { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.brand-badge { width: 44px; height: 44px; flex: none; object-fit: contain; border-radius: 50%; }
.brand-wordmark {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 1.02rem; line-height: 1; color: var(--sot-navy);
  text-transform: uppercase; letter-spacing: 0.01em;
}
.brand-wordmark small { display: block; font-size: 0.6rem; letter-spacing: 0.14em; color: var(--sot-gold-deep); font-weight: var(--fw-bold); }
/* Nav links: nowrap + tighter rhythm so items never break onto two lines at 1440 */
.nav-links { display: none; gap: var(--sp-4); align-items: center; }
.nav-links a { color: var(--sot-navy); font-weight: var(--fw-medium); font-size: 0.9rem; white-space: nowrap; }
.nav-links a:hover { color: var(--sot-red); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-tel { display: none; font-weight: var(--fw-bold); color: var(--sot-navy); white-space: nowrap; }
.lang-toggle {
  font-size: 0.8rem; font-weight: var(--fw-bold); letter-spacing: 0.06em;
  color: var(--n-700); border: 1px solid var(--n-300);
  border-radius: var(--r-pill); padding: 0.3rem 0.7rem; background: transparent;
}
.lang-toggle:hover { border-color: var(--sot-navy); color: var(--sot-navy); }
.nav .btn { padding: 0.6rem 1.05rem; white-space: nowrap; }

/* Desktop nav shows from 1000px (below that the hamburger takes over);
   the phone number needs the extra room, so it waits until 1200px. */
@media (min-width: 1000px) {
  .nav-links { display: flex; }
}
@media (min-width: 1200px) {
  .nav-tel { display: inline-flex; }
}
/* Very small phones: the sticky bottom bar + hamburger carry the CTA;
   the cream chip would crowd the brand lockup out of the bar. */
@media (max-width: 639px) {
  .nav .btn--primary { display: none; }
}

/* ============================================================
   S1 — HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sot-cream) 0%, #F7EEDA 100%);
}
.hero__grid {
  display: grid; gap: var(--sp-6);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-y);
  align-items: center;
}
.hero__eyebrow {
  color: var(--sot-red);
  text-wrap: balance;
  line-height: 1.5;
  max-width: 40ch;
}
.hero h1 {
  font-size: var(--fs-display-xl);
  line-height: var(--lh-tight);
  max-width: 20ch;      /* widened from 15ch so the H1 lands in <=3 lines (brand rule) */
  text-wrap: balance;
}
.hero__statement {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  color: var(--sot-red);
  font-weight: var(--fw-bold);
  margin: 0 0 var(--sp-2);
}
.hero__proverb {
  font-style: italic; color: var(--text-secondary);
  max-width: 46ch; margin-bottom: var(--sp-5);
}
.hero__sub { font-size: var(--fs-body-lg); color: var(--text-secondary); max-width: 52ch; }
.hero__restraint {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: var(--fw-bold); color: var(--sot-navy);
  margin: var(--sp-4) 0 var(--sp-5);
}
.hero__restraint .star { width: 18px; height: 18px; color: var(--sot-gold); flex:none; }
.hero__ctas { display: flex; flex-direction: column; gap: var(--sp-3); }
.hero__trustline {
  margin-top: var(--sp-5); font-size: var(--fs-small); color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: 0.4rem 1rem;
}
.hero__trustline .assumption { }
.hero__media { position: relative; }
/* Oversized embossed star watermark bleeding off an edge (architecture, not a logo) */
.hero__watermark {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(60vw, 520px); color: var(--sot-red);
  opacity: 0.08; pointer-events: none; z-index: 0;
}
.hero__grid > * { position: relative; z-index: 1; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-8); }
  .hero__ctas { flex-direction: row; }
  .hero__media .slot { min-height: 460px; }
}

/* ============================================================
   S2 — Trust bar + badge wall
   ============================================================ */
.trustbar {
  background: var(--sot-navy); color: var(--sot-cream);
  padding-block: var(--sp-5);
}
.trustbar__line {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.5rem 1.25rem; text-align: center; font-weight: var(--fw-medium);
  margin: 0;
}
.trustbar__line .dot { color: var(--sot-gold); }
.trustbar__line .chk { color: #6FCF8E; font-weight: 700; }
.badge-wall {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.badge-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(200,145,47,0.35);
  border-radius: var(--r-pill); padding: 0.5rem 1rem;
  font-size: var(--fs-small); color: var(--sot-cream);
}
.badge-chip .star { width: 15px; height: 15px; color: var(--sot-gold); }

/* ============================================================
   S3 — Comfort / efficiency (claims-safe)
   ============================================================ */
.comfort__grid { display: grid; gap: var(--sp-6); align-items: start; }
.pain-list { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.pain-list li {
  display: flex; gap: 0.7rem; align-items: baseline;
  font-size: var(--fs-body-lg); color: var(--text-primary);
}
.pain-list li::before { content: "•"; color: var(--sot-red); font-weight: 700; }
.stat-card {
  background: var(--bg-elevated); border: 1px solid var(--n-100);
  border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm);
}
.stat-card .big {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: clamp(2.2rem, 5vw, 3rem); color: var(--sot-navy);
  line-height: 1; margin-bottom: var(--sp-2);
}
.range-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
  margin: var(--sp-5) 0; text-align: center;
}
.range-row .cell {
  background: var(--sot-cream); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-3);
  border: 1px solid var(--n-100);
}
.range-row .cell .n {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-price);
  color: var(--sot-red); display: block;
}
.range-row .cell.avg { border-color: var(--sot-gold); }
.range-row .cell .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }

@media (min-width: 900px) {
  .comfort__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

/* ============================================================
   S4 — Price-range estimator (headline component)
   ============================================================ */
.estimator {
  background:
    radial-gradient(120% 90% at 50% 0%, #FBF4E4 0%, var(--sot-cream) 55%);
}
.estimator__card {
  background: var(--bg-elevated);
  border: 1px solid var(--n-100);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  max-width: 720px; margin-inline: auto;
  overflow: hidden; position: relative;
}
/* 6% gold rider watermark, maker's mark, bottom corner */
.estimator__card::after {
  content: ""; position: absolute; right: 12px; bottom: 8px;
  width: 120px; height: 120px; opacity: 0.06; pointer-events: none;
  background: currentColor; color: var(--sot-gold);
  -webkit-mask: var(--star-mask) center/contain no-repeat;
          mask: var(--star-mask) center/contain no-repeat;
}
/* Branding-iron: on the result step the maker's mark burns in a touch stronger */
.estimator__card.is-stamped::after { animation: burn-in 700ms var(--ease-settle) forwards; }
@keyframes burn-in { from { opacity: 0; } to { opacity: 0.09; } }
/* The result "stamps in" — presses down 1.06 -> 1 and settles (no bounce) */
.estimator__result.stamp-in { animation: stamp-in 460ms var(--ease-settle) both; }
@keyframes stamp-in {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .estimator__result.stamp-in { animation: none; }
  .estimator__card.is-stamped::after { animation: none; opacity: 0.06; }
}
.estimator__progress {
  display: flex; align-items: center; gap: 0.4rem;
  padding: var(--sp-4) var(--sp-5) 0; flex-wrap: wrap;
}
.estimator__progress .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--n-300); transition: background var(--dur-fast) var(--ease-settle), transform var(--dur-fast) var(--ease-settle);
}
.estimator__progress .dot.active { background: var(--sot-red); transform: scale(1.15); }
.estimator__progress .dot.done { background: var(--sot-gold); }
.estimator__progress .count { margin-left: auto; font-size: var(--fs-small); color: var(--text-muted); }

.estimator__step { padding: var(--sp-6) var(--sp-6) var(--sp-7); }
.estimator__step h3 { font-size: var(--fs-h2); margin-bottom: var(--sp-2); }
.estimator__q { color: var(--text-secondary); margin-bottom: var(--sp-5); }

.choice-grid { display: grid; gap: var(--sp-3); grid-template-columns: 1fr 1fr; }
.choice {
  display: flex; flex-direction: column; gap: 0.25rem; text-align: left;
  background: var(--sot-cream); border: 2px solid var(--n-100);
  border-radius: var(--r-md); padding: var(--sp-4);
  cursor: pointer; font-family: var(--font-body); font-size: var(--fs-body);
  color: var(--text-primary); min-height: 56px; justify-content: center;
  transition: border-color var(--dur-fast) var(--ease-settle), background var(--dur-fast) var(--ease-settle), transform var(--dur-fast) var(--ease-settle);
}
.choice:hover { border-color: var(--sot-gold); }
.choice:active { transform: translateY(1px); }
.choice.selected { border-color: var(--sot-red); background: #FBF0E8; }
.choice .choice__title { font-weight: var(--fw-bold); }
.choice .choice__sub { font-size: var(--fs-small); color: var(--text-muted); }

.qty-control { display: flex; align-items: center; gap: var(--sp-4); justify-content: center; margin: var(--sp-4) 0; }
.qty-control button {
  width: 54px; height: 54px; border-radius: var(--r-md); font-size: 1.6rem;
  border: 2px solid var(--sot-navy); background: var(--sot-white); color: var(--sot-navy);
  cursor: pointer; line-height: 1;
}
.qty-control button:hover { background: var(--sot-navy); color: var(--sot-cream); }
.qty-control .qty-val {
  font-family: var(--font-display); font-weight: 700; font-size: 3rem;
  min-width: 3ch; text-align: center; color: var(--sot-navy);
}

/* Step-1 "Next with nothing selected" hint (owner polish 3, v3 r10):
   shown by app.js when Next is pressed before a service is picked. */
.estimator__hint {
  margin: var(--sp-3) 0 0; text-align: center;
  color: var(--sot-red); font-weight: var(--fw-bold); font-size: var(--fs-small);
}
.estimator__hint[hidden] { display: none; }

.estimator__nav { display: flex; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-6); }
.estimator__back {
  background: none; border: none; color: var(--text-muted); font-weight: var(--fw-bold);
  cursor: pointer; font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.04em;
}
.estimator__back:hover { color: var(--sot-navy); }
.estimator__back[hidden] { visibility: hidden; }

/* Result */
.estimator__result { text-align: center; }
.estimator-range {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 3.4rem); color: var(--sot-red);
  line-height: 1.05; margin: var(--sp-3) 0;
}
.estimator__typical { color: var(--text-secondary); margin-bottom: var(--sp-4); }
.estimator__typical strong { color: var(--sot-navy); }
.estimator__disclaimer {
  background: var(--sot-cream); border-radius: var(--r-md);
  padding: var(--sp-4); font-size: var(--fs-small); color: var(--text-secondary);
  margin: var(--sp-5) 0; text-align: left;
}
.estimator__email { display: grid; gap: var(--sp-3); text-align: left; margin-top: var(--sp-5); }

/* ============================================================
   S5 — Results: static branded before/after panel + craft detail + ROI
   ============================================================ */
.results-duo { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; align-items: stretch; }
/* Intentional branded placeholder — replaces the old draggable slider until real
   matched before/after photos exist. Reads finished, invites no dead click. */
.ba-static {
  aspect-ratio: 16 / 10; box-shadow: var(--shadow-md);
}
.craft-figure { margin: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.craft-figure .slot {
  aspect-ratio: 16 / 10; min-height: 0; box-shadow: var(--shadow-md); flex: 1;
}
.craft-figure figcaption {
  font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.5;
}
.craft-figure__tag {
  display: inline-block; margin-right: 0.4rem; font-weight: var(--fw-bold);
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem;
  color: var(--sot-gold-deep);
}
@media (min-width: 760px) { .results-duo { grid-template-columns: 1fr 1fr; } }
/* craft.jpg is a real but noticeably softer/lower-res photo than its neighbors —
   shown intentionally smaller (not full-bleed) rather than upscaled or cropped
   to hide it. */
.craft-figure--compact { justify-content: center; }
.craft-figure--compact .slot { flex: none; width: 100%; max-width: 320px; margin: 0 auto; aspect-ratio: 4 / 3; }
.craft-figure--compact figcaption { max-width: 320px; margin: 0 auto; text-align: center; }

.roi-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; margin-top: var(--sp-6); }
.roi-card {
  background: var(--bg-elevated); border: 1px solid var(--n-100);
  border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow-sm);
}
.roi-card .pct {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 2.6rem);
  color: var(--sot-red); line-height: 1;
}
.roi-card .roi-name { font-weight: var(--fw-bold); color: var(--sot-navy); margin: var(--sp-2) 0; }
.roi-card .roi-note { font-size: var(--fs-small); color: var(--text-muted); }
@media (min-width: 760px) { .roi-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   S6 — Process rail
   ============================================================ */
.process { display: grid; gap: var(--sp-5); counter-reset: step; }
.process__step {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start;
  position: relative;
}
/* Branding-iron STAMPED numeral: navy disc, gold ring, burned-in inset shadow */
.process__num {
  counter-increment: step; width: 56px; height: 56px; flex: none; position: relative; z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, #22344F 0%, var(--sot-navy) 70%, var(--sot-navy-ink) 100%);
  border: 2px solid var(--sot-gold);
  color: var(--sot-gold);
  box-shadow: inset 0 2px 7px rgba(0,0,0,0.45), 0 2px 5px rgba(14,22,38,0.22);
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: 1.5rem; letter-spacing: 0.01em;
}
.process__num::before { content: counter(step); }
/* Gold lasso-rope connective line linking the stamped steps (hidden after the last) */
.process__step::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; opacity: 0.6;
  left: 28px; top: 56px; width: 3px; height: calc(100% + var(--sp-5) - 56px);
  background-image: repeating-linear-gradient(180deg, var(--sot-gold) 0 8px, transparent 8px 14px);
}
.process__step:last-child::after { display: none; }
.process__step h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-1); }
.process__reassure {
  margin-top: var(--sp-6); background: var(--sot-cream);
  border-left: 4px solid var(--sot-gold); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--sp-4) var(--sp-5); color: var(--text-secondary);
}
@media (min-width: 820px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
  .process__step { grid-template-columns: 1fr; text-align: left; }
  .process__num { margin-bottom: var(--sp-2); }
  /* Rope now runs horizontally, linking each stamped numeral to the next */
  .process__step::after {
    left: 56px; top: 27px; width: calc(100% + var(--sp-6) - 56px); height: 3px;
    background-image: repeating-linear-gradient(90deg, var(--sot-gold) 0 8px, transparent 8px 14px);
  }
}

/* ============================================================
   S7 — Trust stack / count-up
   ============================================================ */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.stat-block { text-align: center; }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 3.6rem); color: var(--sot-gold);
  line-height: 1; display: block;
}
/* Gold star node + lasso-rope underline — presses the brand mark onto the generic stat grid */
.stat-node {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  max-width: 96px; margin: var(--sp-3) auto var(--sp-2);
}
.stat-node::before, .stat-node::after {
  content: ""; flex: 1; height: 2px; opacity: 0.6;
  background-image: repeating-linear-gradient(90deg, var(--sot-gold) 0 6px, transparent 6px 11px);
}
.stat-node .star { width: 14px; height: 14px; color: var(--sot-gold); flex: none; }
.stat-label { color: var(--sot-cream); font-weight: var(--fw-medium); margin-top: var(--sp-2); }
.warranty-card {
  margin-top: var(--sp-7); background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,145,47,0.4); border-radius: var(--r-lg);
  padding: var(--sp-6); text-align: center;
}
.warranty-card .star { width: 40px; height: 40px; color: var(--sot-gold); margin: 0 auto var(--sp-3); }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   S8 — Crew / owner cards
   ============================================================ */
/* Owner card — the ONE asymmetric, full-bleed moment: portrait bleeds to the card edge */
.owner-card {
  display: grid; gap: 0; align-items: stretch;
  background: var(--bg-elevated); border: 1px solid var(--n-100);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: var(--sp-7);
  position: relative;
}
.owner-card > .slot { border: none; border-radius: 0; min-height: 360px; height: 100%; }
.owner-card__body { padding: clamp(1.75rem, 4.5vw, 3rem); align-self: center; }
.owner-card__quote {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--sot-red); line-height: 1.1;
  margin-bottom: var(--sp-3);
}
.owner-card__proverb { font-style: italic; color: var(--text-secondary); margin-bottom: var(--sp-4); }
.owner-card__name { font-weight: var(--fw-bold); color: var(--sot-navy); }
@media (min-width: 820px) {
  .owner-card { grid-template-columns: 0.82fr 1.18fr; }
  .owner-card > .slot { min-height: 500px; }
}

/* 6% gold maker's-mark star watermark on every proof card — restraint + repetition */
.review-card, .roi-card { position: relative; }
.review-card::after, .roi-card::after, .owner-card::after {
  content: ""; position: absolute; right: 12px; bottom: 10px;
  width: 84px; height: 84px; opacity: 0.06; pointer-events: none; z-index: 0;
  background: var(--sot-gold);
  -webkit-mask: var(--star-mask) center/contain no-repeat;
          mask: var(--star-mask) center/contain no-repeat;
}
.review-card > *, .roi-card > *, .owner-card__body { position: relative; z-index: 1; }

.crew-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.crew-card {
  background: var(--bg-elevated); border: 1px solid var(--n-100);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  position: relative;
}
.crew-card .slot { border: none; border-radius: 0; min-height: 240px; }
.crew-card__body { padding: var(--sp-4); }
.crew-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--sot-navy); }
.crew-card__role { font-size: var(--fs-small); color: var(--text-muted); }
.crew-card__detail { font-size: var(--fs-small); color: var(--text-secondary); margin-top: var(--sp-2); }
.es-tag {
  display: inline-block; margin-top: var(--sp-3); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--sot-gold-deep);
  border: 1px solid var(--sot-gold); border-radius: var(--r-pill); padding: 0.2rem 0.6rem;
}
@media (min-width: 760px) { .crew-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   S9 — Review wall
   ============================================================ */
.review-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; align-items: start; }
.review-card {
  background: var(--bg-elevated); border: 1px solid var(--n-100);
  border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow-sm);
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3);
}
.review-card .stars { color: var(--sot-gold); letter-spacing: 0.1em; }
.review-card blockquote { margin: 0; font-size: 1.05rem; color: var(--text-primary); }
.review-card__meta { font-size: var(--fs-small); color: var(--text-muted); margin-top: auto; }
.review-card__meta strong { color: var(--sot-navy); }
.review-card__crew { font-size: var(--fs-small); color: var(--sot-gold-deep); font-weight: var(--fw-bold); }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   S10 — Financing
   ============================================================ */
.finance-card {
  background: var(--bg-elevated); border: 1px solid var(--n-100);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md); max-width: 720px; margin-inline: auto; text-align: center;
}
.finance-from {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 7vw, 3.4rem);
  color: var(--sot-red); line-height: 1;
}
.finance-terms { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin: var(--sp-5) 0; }
.finance-terms .term {
  background: var(--sot-cream); border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4);
  font-weight: var(--fw-medium); border: 1px solid var(--n-100);
}

/* ============================================================
   S11 — Filterable gallery
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.filter-chip {
  border: 1.5px solid var(--n-300); background: var(--sot-white); color: var(--sot-navy);
  border-radius: var(--r-pill); padding: 0.45rem 1rem; font-weight: var(--fw-bold);
  font-size: var(--fs-small); cursor: pointer; letter-spacing: 0.03em;
  transition: all var(--dur-fast) var(--ease-settle);
}
.filter-chip:hover { border-color: var(--sot-navy); }
.filter-chip.active { background: var(--sot-red); border-color: var(--sot-red); color: #fff; }
.filter-group { margin-bottom: var(--sp-4); }
.filter-group__label { font-size: var(--fs-small); font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-2); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.gallery-item { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.gallery-item .slot { min-height: 200px; border: none; border-radius: 0; }
.gallery-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(14,22,38,0.82));
  color: #fff; padding: var(--sp-4) var(--sp-3) var(--sp-3); font-size: var(--fs-small); font-weight: var(--fw-medium);
}
.gallery-item[hidden] { display: none; }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
/* City pages with only two nearby-job photos: center a 2-up row instead of
   leaving a visibly empty third desktop column (owner action 4, v3 r5). */
@media (min-width: 760px) {
  .gallery-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 66%; margin-inline: auto; }
}

/* ============================================================
   S12 — Seasonal urgency band
   ============================================================ */
.seasonal-band {
  background: var(--sot-gold-deep); color: var(--sot-white);
  text-align: center; padding: var(--sp-5) var(--gutter);
}
.seasonal-band p { margin: 0; font-weight: var(--fw-medium); font-size: var(--fs-body-lg); }
.seasonal-band .star { width: 18px; height: 18px; color: var(--sot-cream); vertical-align: middle; }

/* ============================================================
   S13 — Final CTA / lead form
   ============================================================ */
.final-cta__grid { display: grid; gap: var(--sp-7); align-items: start; }
.lead-form {
  background: var(--bg-elevated); border: 1px solid var(--n-100);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg);
}
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-weight: var(--fw-bold); color: var(--sot-navy); margin-bottom: var(--sp-2); font-size: var(--fs-small); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 0.85rem 1rem; border: 1.5px solid var(--n-300); border-radius: var(--r-md);
  background: var(--sot-white); color: var(--text-primary);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sot-navy); outline: none; box-shadow: 0 0 0 3px rgba(62,109,191,0.25); }
.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.service-checks { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.service-checks label {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: var(--fw-medium);
  background: var(--sot-cream); border: 1.5px solid var(--n-100); border-radius: var(--r-pill);
  padding: 0.4rem 0.9rem; cursor: pointer; margin: 0; font-size: var(--fs-small); color: var(--text-primary);
}
.service-checks input { width: auto; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-small); color: var(--text-secondary); }
.consent input { width: auto; margin-top: 0.2rem; }
.form-reassure { text-align: center; margin-top: var(--sp-3); font-size: var(--fs-small); color: var(--text-muted); }
.form-status { margin-top: var(--sp-3); font-weight: var(--fw-bold); }
.form-status.err { color: var(--sot-red); }
.form-status.ok { color: var(--success); }
.final-aside { }
.final-aside .slot { min-height: 320px; margin-bottom: var(--sp-5); }
@media (min-width: 900px) { .final-cta__grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   S14 — Footer
   ============================================================ */
.site-footer { background: var(--sot-navy); color: var(--sot-cream); padding-block: var(--sp-8) var(--sp-6); }
.footer-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
.footer-grid h4 { color: var(--sot-gold); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-grid a { color: var(--sot-cream); }
.footer-grid a:hover { color: var(--sot-gold); }
.footer-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; color: var(--sot-white); }
.footer-wordmark small { display:block; font-size: 0.65rem; letter-spacing: 0.16em; color: var(--sot-gold); }
.footer-area-list { columns: 2; font-size: var(--fs-small); }
.footer-area-list li { margin-bottom: 0.3rem; }
.footer-band {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: center;
  border-top: 1px solid rgba(200,145,47,0.3); border-bottom: 1px solid rgba(200,145,47,0.3);
  padding: var(--sp-4) 0; margin: var(--sp-6) 0; text-align: center; font-weight: var(--fw-medium);
}
.footer-legal { font-size: var(--fs-small); color: var(--n-300); line-height: 1.6; }
.footer-legal a { text-decoration: underline; }
.footer-sources summary { cursor: pointer; color: var(--n-300); }
.footer-sources summary strong { color: var(--n-300); }
.footer-sources p { margin: var(--sp-2) 0 0; }
.nowrap { white-space: nowrap; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1fr; } }

/* ============================================================
   Sticky mobile CTA bar
   ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--sot-cream); border-top: 1px solid var(--n-300);
  box-shadow: 0 -4px 18px rgba(14,22,38,0.12);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%); transition: transform var(--dur-med) var(--ease-settle);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta a {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: var(--sticky-cta-h); font-weight: var(--fw-bold); text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 0.95rem;
}
.sticky-cta .sc-estimate { background: var(--sot-red); color: #fff; }
.sticky-cta .sc-estimate:hover { color: #fff; background: var(--sot-red-deep); }
.sticky-cta .sc-call { color: var(--sot-navy); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Amend page bottom padding so sticky bar never covers the footer on mobile */
@media (max-width: 899px) { body { padding-bottom: 0; } }

/* ---------- Assumption placeholder markers ---------- */
[data-assumption] {
  position: relative;
  border-bottom: 1px dashed var(--sot-gold-deep);
}
.assumption-note {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--sot-gold-deep);
  background: rgba(200,145,47,0.12); border-radius: var(--r-sm);
  padding: 0.05rem 0.4rem; margin-left: 0.35rem; vertical-align: middle;
}

/* ---------- Scroll-reveal (settles, no bounce) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease-settle), transform var(--dur-slow) var(--ease-settle); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- One-time lasso-draw brand loader ---------- */
.brand-loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: var(--sot-cream); transition: opacity 420ms var(--ease-settle);
}
.brand-loader.is-done { opacity: 0; pointer-events: none; }
.brand-loader svg { width: 104px; height: 104px; overflow: visible; }
.brand-loader .loader-rope {
  fill: none; stroke: var(--sot-gold); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 251.3; stroke-dashoffset: 251.3;
  transform: rotate(-90deg); transform-origin: 50% 50%;
  animation: rope-draw 640ms var(--ease-settle) forwards;
}
.brand-loader .loader-star {
  color: var(--sot-red); fill: currentColor; opacity: 0;
  transform: scale(0.4); transform-origin: 50% 50%; transform-box: fill-box;
  animation: star-snap 300ms var(--ease-settle) 500ms forwards;
}
@keyframes rope-draw { to { stroke-dashoffset: 0; } }
@keyframes star-snap { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .brand-loader { display: none; } }

/* Defensible trust badges (no third-party creds invented) */
.badge-chip .chk { color: #6FCF8E; font-weight: 700; }
