/* ============================================================
   Dark Horse S&P — Landing Page
   Dark theme, brand red + warm gold accents, mobile-first.
   Fonts: Spectral (Google Fonts) + Figtree (Google Fonts).
   ============================================================ */

/* -------- Tokens -------- */
:root {
  /* Backgrounds — stepped so adjacent sections always differ */
  --bg-deep:   #050505;   /* pure black sections */
  --bg:        #0c0c0c;   /* default body / hero */
  --bg-elev:   #161616;   /* lifted charcoal */
  --bg-card:   #1d1d1d;   /* card surface */
  --bg-warm:   #1a0f0f;   /* red-tinted warmth, used sparingly */

  /* Text — lifted for readability on dark bg */
  --text:        #f6f6f6;
  --text-soft:   #e4e4e4;
  --text-muted:  #c6c6c6;
  --text-dim:    #9a9a9a;

  /* Brand */
  --accent:        #d8504c;
  --accent-hover:  #e36560;
  --accent-warm:   #efc88e;
  --accent-glow:   rgba(216, 80, 76, 0.18);
  /* Body text #2a1f1a on the darkest stop (#a98620) clears WCAG AA (~5.0:1). */
  --gold-medal:    linear-gradient(135deg, #e8c860 0%, #c9a23a 50%, #a98620 100%);

  --rule:        #2a2a2a;
  --rule-light:  #3a3a3a;
  --rule-accent: rgba(189, 49, 46, 0.4);

  --max-width: 1120px;
  --max-narrow: 720px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Spectral", Georgia, "Times New Roman", serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Spring easing — yard-gym "settled" curve. Use for transforms.
     Keep linear/ease for opacity-only fades. */
  --spring: cubic-bezier(0.23, 1, 0.32, 1);

  /* Elevation tokens — dark-theme tuned. Hover bumps one tier. */
  --shadow-floating: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --shadow-overlay:  0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);

  /* Z-index scale — fixed values, no improvisation. */
  --z-base:     1;
  --z-raised:   2;
  --z-floating: 10;
  --z-overlay:  100;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: opacity 150ms ease; }
a:hover { opacity: 0.75; }
button { font: inherit; }

/* -------- Layout -------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.container.narrow { max-width: var(--max-narrow); }

.section {
  position: relative;
  padding: var(--space-9) 0;
}


/* -------- Typography -------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-5);
  color: var(--text);
  font-feature-settings: "kern", "liga", "calt";
}
h1 { font-size: clamp(48px, 8vw, 96px); }
h2 { font-size: clamp(36px, 5.5vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 20px; font-weight: 700; }

.section-headline {
  margin-bottom: var(--space-6);
  max-width: 22ch;
  color: var(--text);
}

.accent { color: var(--accent); }
/* Global star token. .stars is the text-character fallback; .stars-svg
   wraps an inline <svg> and uses currentColor so per-surface tints take. */
.stars { color: var(--accent-warm); letter-spacing: 0.14em; }
.stars-svg {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  vertical-align: middle;
  color: #c9a55a;
}
.stars-svg svg {
  width: 90px;
  height: 16px;
  display: block;
}
.stars-svg.stars-on-dark { color: var(--accent-warm); }
/* Deep-gold star fill muddies into the medal gradient; stamp dark on
   polished gold surfaces so the rating reads cleanly. */
.pullquote-inline .stars-svg,
.pullquote-center .stars-svg,
.pullquote-feature .stars-svg,
.snapshot-card .stars-svg { color: #2a1f1a; }

/* ============================================================
   DELIGHT
   ============================================================ */

.accent {
  position: relative;
  display: inline;
}

/* Scroll-progress red rule — full-height pinned bar at left viewport
   edge, scaled by --scroll-pct via JS rAF. Decorative, ignored by AT. */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 100vh; /* fallback */
  height: 100dvh; /* iOS Safari address-bar-correct */
  background: var(--accent);
  box-shadow: 2px 0 12px rgba(189, 49, 46, 0.35);
  transform-origin: top center;
  transform: scaleY(var(--scroll-pct, 0));
  pointer-events: none;
  z-index: 90;
  will-change: transform;
}
@media (max-width: 600px) {
  .scroll-progress { width: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  /* Scroll rule still tracks scroll (it's interaction-driven, not animated).
     But suppress any transition on it. */
  .scroll-progress { transition: none; }
}


p { margin: 0 0 var(--space-4); color: var(--text-soft); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 700; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  min-height: 56px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms ease, transform 280ms var(--spring), box-shadow 280ms var(--spring);
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  /* Brand-tinted at standard raised depth */
  box-shadow: 0 8px 24px rgba(189, 49, 46, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.btn-primary:hover {
  background: var(--accent-hover);
  opacity: 1;
  transform: translateY(-2px);
  /* Bump one tier — floating depth, brand glow intensified */
  box-shadow: 0 16px 40px rgba(189, 49, 46, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  background: var(--accent);
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 12px rgba(189, 49, 46, 0.18);
}
.btn-primary:disabled:hover,
.btn-primary[aria-disabled="true"]:hover {
  background: var(--accent);
  transform: none;
  box-shadow: 0 4px 12px rgba(189, 49, 46, 0.18);
}
.btn-full { width: 100%; min-height: 64px; font-size: 18px; }

/* ============================================================
   SECTION 1: HERO
   ============================================================ */
.hero {
  position: relative;
  padding: var(--space-6) 0 var(--space-9);
  background: radial-gradient(
      ellipse at top left,
      var(--accent-glow) 0%,
      transparent 55%
    ),
    var(--bg-deep);
  border-bottom: 6px solid var(--accent);
}
.hero-inner {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: stretch;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.hero-content { /* callout + headline column */ }
.hero-rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

.callout {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 var(--space-5);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-headline {
  font-size: clamp(20px, 2.8vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-5);
  max-width: 32ch;
  font-weight: 800;
  color: var(--text);
}
.hero-headline .accent { display: inline; }

.hero-subhead {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-soft);
  max-width: 52ch;
  line-height: 1.45;
  margin: 0 0 var(--space-6);
}

.hero-microcopy {
  font-size: 14px;
  color: var(--text-muted);
  margin: var(--space-3) 0 var(--space-5);
}

.hero-photo {
  margin-top: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--rule-accent);
  box-shadow: none;
}
.hero-photo img {
  width: 100%;
  height: calc(100% + 130px);
  margin-top: -65px;
  object-fit: cover;
  display: block;
  will-change: transform; /* parallax applied to img, not figure */
}

/* ============================================================
   SECTION 2: PAIN
   ============================================================ */
.section-pain { background: var(--accent); }
.section-pain,
.section-pain h2,
.section-pain h3,
.section-pain strong { color: #ffffff; }
.section-pain p { color: rgba(255, 255, 255, 0.88); }
.section-pain .section-headline { max-width: 26ch; margin-bottom: var(--space-7); color: #ffffff; }
.section-pain .accent { color: var(--accent-warm); }
.section-pain .problem-block { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.section-pain .problem-block--resolve {
  border-left: none;
  border-top: 4px solid #ffffff;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.section-pain .problem-block--resolve p {
  color: #2a241d;
}
.section-pain .problem-block--resolve p strong {
  color: #14110d;
}
.section-pain .problem-block--resolve .problem-lead {
  color: #14110d;
}
.section-pain .photo-band {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

.problem-block {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--rule);
  max-width: 64ch;
}
.problem-block:first-of-type { padding-top: 0; }
.problem-block--resolve {
  border-bottom: none;
  padding: var(--space-5);
  border-top: 2px solid var(--accent);
  background: linear-gradient(180deg, var(--accent-glow), transparent 60%);
  margin-top: var(--space-5);
  border-radius: var(--radius-sm);
}
.problem-block p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 0 var(--space-3);
  max-width: none;
}
.problem-block p strong { color: var(--text); }
.problem-block .problem-lead {
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.35;
  color: var(--text);
  margin-bottom: var(--space-4);
}

.section-pain .reframe {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  max-width: 32ch;
  margin: var(--space-7) 0 0;
}

/* Pain asymmetric layout — problem content left (60%), callout right (40%) */
.pain-layout { max-width: var(--max-width); }
.pain-callout { display: none; }

.pain-pullquote {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.03em;
  margin: 0;
}

/* ============================================================
   SECTION 3: SOLUTION + DIFFERENTIATOR
   ============================================================ */
.section-solution {
  background:
    radial-gradient(ellipse at top right, rgba(189, 49, 46, 0.06), transparent 55%),
    var(--bg-deep);
}

/* Two-col layout: blocks on the left, photo column on the right */
.solution-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  margin-top: var(--space-7);
  align-items: stretch;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.diff-block {
  background: #f5f0e8;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 17, 13, 0.1);
  border-top: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(20, 17, 13, 0.15);
}
.diff-block h3 {
  line-height: 1.2;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.02em;
  color: #14110d;
}
.diff-block p {
  color: #2a241d;
  font-size: 16px;
  line-height: 1.6;
}
/* Global strong paints #f6f6f6; on cream .diff-block surfaces that
   fails WCAG contrast, so stamp dark here. */
.diff-block strong { color: #14110d; }

.solution-photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--rule-accent);
  box-shadow: var(--shadow-floating);
  aspect-ratio: 4 / 5;
  min-height: 320px;
}
.solution-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Note: duotone + grain overlays applied via shared .solution-photo
   ::before / ::after in the PHOTO TREATMENT block below. */

/* ============================================================
   SECTION 4: CREDENTIALS
   ============================================================ */
.section-credentials { background: var(--bg-elev); }
.section-credentials .section-headline { max-width: 26ch; }

.credentials-layout {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}
.credentials-text p { color: var(--text-soft); font-size: 17px; }
.credentials-text p strong { color: var(--text); }
.credentials-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--rule-accent);
  box-shadow: var(--shadow-floating);
  margin: 0 auto;
  max-width: 360px;
}
.credentials-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* ============================================================
   SECTION 5: OFFER — light/cream pass for visual punctuation
   ============================================================ */
.section-offer {
  background: linear-gradient(180deg, #f3ede2 0%, #ece5d6 100%);
  color: #1a1612;
}
.section-offer .section-headline { color: #14110d; }
.section-offer .section-headline .accent { color: var(--accent); }
.section-offer p { color: #1a1612; }

.lead {
  font-size: clamp(20px, 2.4vw, 26px);
  color: #14110d;
  font-weight: 600;
  margin-bottom: var(--space-6);
  max-width: 38ch;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-7);
}
.offer-list li {
  padding: var(--space-3) 0 var(--space-3) var(--space-6);
  position: relative;
  border-bottom: 1px solid rgba(20, 17, 13, 0.12);
  font-size: 17px;
  color: #14110d;
}
.offer-list li:last-child { border-bottom: none; }
.offer-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.offer-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}
.section-offer .step {
  padding: var(--space-6);
  background: #ffffff;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(20, 17, 13, 0.08), 0 0 0 1px rgba(20, 17, 13, 0.05);
}
.section-offer .step h3,
.section-offer .step h4 {
  font-size: 26px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--accent);
  margin: 0 0 var(--space-4);
  font-weight: 800;
  padding-bottom: var(--space-3);
  border-bottom: 2px solid rgba(189, 49, 46, 0.2);
}
.section-offer .step p {
  margin: 0;
  color: #2a241d;
  font-size: 16px;
  line-height: 1.6;
}

.section-offer .not-callout {
  background: #14110d;
  padding: var(--space-6) var(--space-7);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-7);
  border: none;
  border-left: 5px solid var(--accent);
  box-shadow: 0 14px 40px rgba(20, 17, 13, 0.3);
}
.section-offer .not-label {
  font-weight: 800;
  color: var(--accent);
  font-size: 18px;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.section-offer .not-callout p:last-child {
  color: #f3ede2;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}
.section-offer .not-callout p:last-child strong { color: #ffffff; }

/* ============================================================
   SECTION 6: SOCIAL PROOF
   ============================================================ */
.section-proof {
  background: var(--bg-elev);
  padding-top: 0;
}

/* Photo-band that bridges the light S5 -> dark S6
   (cream→dark gradient is applied in the PHOTO TREATMENT block) */
.photo-band--proof-top {
  margin: 0 0 var(--space-8);
  aspect-ratio: 16 / 6;
  border-top: none;
  border-bottom: 1px solid var(--rule-accent);
  position: relative;
}

/* Sticky scroll — desktop only. Photo pins at viewport top while
   testimonials scroll up over it. No transform on the section so
   position:sticky is not broken by an ancestor transform. */
@media (min-width: 768px) {
  .photo-band--proof-top {
    position: sticky;
    top: 0;
    height: 60vh;
    aspect-ratio: unset;
    margin-bottom: 0;
    z-index: var(--z-base);
    /* overflow:clip clips without creating a scroll container — overflow:hidden breaks position:sticky in Safari */
    overflow: clip;
  }

  .section-proof .proof-header {
    position: relative;
    z-index: var(--z-raised);
    background: var(--bg-elev);
    margin-top: -48px;
    padding-top: var(--space-9);
  }
}

/* Mid-feature photo inside the proof grid */
.photo-feature--proof {
  margin: var(--space-7) auto;
  max-width: 880px;
  aspect-ratio: 21 / 9;
}

/* ============================================================
   SECTION 7: PRICING
   ============================================================ */
.section-pricing {
  background: var(--bg-deep);
  text-align: center;
}
.section-pricing .container.narrow { max-width: 880px; }
.section-pricing .section-headline {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  text-align: center;
}
.section-pricing .pricing-detail,
.section-pricing .pricing-context { text-align: center; }

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin: var(--space-7) 0;
}
.price-tier {
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
}
.price-tier.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #2a0d0c 0%, var(--bg-card) 100%);
  position: relative;
  /* Permanently floating — the selected tier sits one elevation above
     the other two. Brand-red glow layered on top of the standard shadow
     so the featured tier still carries DH identity. */
  box-shadow: var(--shadow-floating), 0 0 80px rgba(189, 49, 46, 0.15);
}
.tier-label {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.tier-price {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.tier-price .per {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-left: 4px;
}
.tier-note {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0;
}

.pricing-detail {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 auto var(--space-5);
}
.pricing-context {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto;
}
.pricing-context strong { color: var(--text); }

/* ============================================================
   SECTION 8: SCARCITY — steel-charcoal tone, type-only treatment.
   Gold trim stripped — separation from S7 carried by background
   step + flat shadow rim, not coloured borders.
   ============================================================ */
.section-scarcity {
  background: linear-gradient(180deg, #1f2024 0%, #161719 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.section-scarcity .section-headline { color: #f6f6f6; }
/* .section-headline .accent inherits the default red — no override here. */
.section-scarcity p {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: var(--space-4);
}

/* ============================================================
   SECTION 9: OBJECTIONS
   ============================================================ */
.section-objections { background: var(--bg-deep); }

/* White cards on the dark FAQ canvas. */
.qa {
  padding: var(--space-5) var(--space-6);
  background: #ffffff;
  color: #14110d;
  border: 1px solid rgba(20, 17, 13, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 280ms var(--spring), background 200ms ease, box-shadow 280ms var(--spring);
}
.qa:last-child { margin-bottom: 0; }
.qa + .qa { margin-block-start: var(--space-4); }
.qa:hover {
  transform: translateX(4px);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.qa h3,
.qa h4 {
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
  color: #14110d;
  font-weight: 700;
}
.qa h3 strong,
.qa h4 strong { color: #14110d; }
.qa p {
  color: #2a241d;
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
}
.qa p strong { color: #14110d; }

/* ============================================================
   SECTION 10: FORM — white card to stand out from dark section
   ============================================================ */
.section-form { background: var(--bg-elev); }
/* .lead has color: #14110d globally (correct for S5 cream bg) — override for dark section */
.section-form .lead { color: var(--text-soft); }

.booking-form {
  margin-top: var(--space-7);
  display: grid;
  gap: var(--space-5);
  padding: var(--space-7);
  background: #ffffff;
  border: 1px solid rgba(20, 17, 13, 0.08);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-overlay);
}
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.field input,
.field select {
  width: 100%;
  padding: 16px;
  background: #f7f4ee;
  border: 1px solid rgba(20, 17, 13, 0.15);
  border-radius: var(--radius-sm);
  color: #14110d;
  font-size: 17px;
  font-family: inherit;
  transition: border-color 150ms ease, background 150ms ease;
  min-height: 56px;
}
.field input::placeholder,
.field select option:first-child { color: #6f6557; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent-warm);
  background: #ffffff;
  /* Gold focus ring — the only branded gold accent in S10. */
  box-shadow: 0 0 0 3px rgba(239, 200, 142, 0.35);
}

.form-microcopy {
  font-size: 14px;
  color: #2a241d;
  margin: var(--space-3) 0 0;
  text-align: center;
}
.form-gdpr {
  font-size: 13px;
  color: #4a4138;
  margin: 0;
  text-align: center;
}
.form-gdpr a { color: var(--accent); }

/* Global keyboard-focus ring — a11y. Applies to interactive elements; uses :where()
   to keep specificity at 0 so per-element focus styles (e.g. .field input:focus)
   still win where they exist. */
:where(input, select, textarea, button, a):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.opt-in {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 14px;
  color: #2a241d;
  cursor: pointer;
}
.opt-in input { margin-top: 4px; }

/* ============================================================
   SECTION 12: CLOSING
   ============================================================ */
.section-closing { background: var(--bg-deep); }
.section-closing p {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
  color: var(--text);
  max-width: 48ch;
  margin: 0 0 var(--space-5);
}
.section-closing .btn { margin-top: var(--space-3); }

/* ============================================================
   SECTION 11: COMMUNITY
   ============================================================ */
.section-community {
  background:
    radial-gradient(ellipse at top right, var(--accent-glow), transparent 50%),
    var(--bg-warm);
  border-top: 1px solid var(--rule-accent);
  padding-bottom: 0;
}
.section-community .section-headline {
  max-width: 22ch;
  margin-bottom: var(--space-6);
}
.section-community p {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 60ch;
}
.section-community .community-lead {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.35;
  color: var(--text);
  margin: var(--space-6) 0;
  max-width: 32ch;
}
.section-community .community-lead strong { color: var(--accent); }
.section-community .community-photo {
  margin: var(--space-7) 0;
  aspect-ratio: 3 / 4;
  max-width: 460px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--rule-accent);
  box-shadow: var(--shadow-floating);
}
.section-community .community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  padding: var(--space-8) 0 var(--space-7);
  background: var(--bg-deep);
  border-top: 1px solid var(--rule-accent);
  font-size: 14px;
  color: var(--text-soft);
}
.footer p { margin-bottom: var(--space-2); color: var(--text-soft); }
.footer a { color: var(--text-soft); }
.footer-name { color: var(--text); font-size: 18px; margin-bottom: var(--space-3); }
.footer-name strong { color: var(--text); }
.footer-legal { margin-top: var(--space-4); font-size: 13px; color: var(--text-muted); }
.footer-legal a { color: var(--text-muted); }

/* ============================================================
   PULL-QUOTE (inline review quotes — S3, S4, S7, S8, S11)
   ============================================================ */
.pullquote-inline {
  margin: var(--space-6) 0 0;
  padding: var(--space-5) var(--space-5) var(--space-4);
  background-color: #c9a23a;
  background-image: var(--gold-medal);
  border-radius: var(--radius-md);
  border: 1px solid rgba(42, 31, 26, 0.15);
  border-bottom: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
}
/* Typographic quote mark — the visual anchor, not a red stripe */
.pullquote-inline::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  left: var(--space-3);
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.pullquote-inline blockquote {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.6;
  color: #2a1f1a;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.pullquote-inline figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 700;
  color: #2a1f1a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.pullquote-inline .stars {
  color: var(--accent-warm);
  letter-spacing: 0.18em;
  font-size: 13px;
  margin-left: 0;
}
.pullquote-center {
  max-width: 64ch;
  margin: var(--space-6) auto 0;
  text-align: left;
  padding: var(--space-5) var(--space-6) var(--space-4);
  background-color: #c9a23a;
  background-image: var(--gold-medal);
  border: 1px solid rgba(42, 31, 26, 0.15);
  border-bottom: 2px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(20, 17, 13, 0.18);
  position: relative;
  overflow: hidden;
}
.pullquote-center::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  left: var(--space-4);
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.pullquote-center blockquote {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  font-style: italic;
  color: #2a1f1a;
  margin: 0 0 var(--space-3);
  position: relative;
  z-index: 1;
}
.pullquote-center figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 700;
  color: #2a1f1a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.pullquote-center .stars {
  color: var(--accent-warm);
  letter-spacing: 0.18em;
  font-size: 13px;
}

/* Feature pullquote — premium card treatment for the two key
   Roisin/Sinead credentials quotes (S4). Lifts above the section bg
   via warmer/lighter surface + visible neutral border + brand-red
   top stripe (matches .snapshot-card testimonial signature).
   Hover bumps shadow raised → floating (no translate). */
.pullquote-feature {
  margin: var(--space-6) 0 0;
  padding: var(--space-6) var(--space-7) var(--space-5);
  background-color: #c9a23a;
  background-image: var(--gold-medal);
  border-radius: var(--radius-md);
  border: 1px solid rgba(42, 31, 26, 0.15);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(20, 17, 13, 0.22);
  position: relative;
  overflow: hidden;
  transition: box-shadow 280ms var(--spring);
}
.pullquote-feature:hover {
  box-shadow: 0 16px 40px rgba(20, 17, 13, 0.3);
}
.pullquote-feature::before {
  content: "\201C";
  position: absolute;
  top: -16px;
  left: var(--space-5);
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
  font-family: var(--font-display);
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.pullquote-feature blockquote {
  margin: 0 0 var(--space-4);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: #2a1f1a;
  font-style: italic;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
}
.pullquote-feature figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  color: #2a1f1a;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.pullquote-feature .stars {
  color: var(--accent-warm);
  letter-spacing: 0.18em;
  font-size: 13px;
  margin-left: 0;
}

/* -- RATING PLAQUE (R3: gold-medal treatment for trust signals) ----- */
.rating-plaque {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 var(--space-7);
  padding: 0.625rem 1rem;
  background-color: #c9a23a;
  background-image: var(--gold-medal);
  border: 1px solid rgba(42, 31, 26, 0.15);
  border-bottom: 2px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(20, 17, 13, 0.18);
  font-family: var(--font-body, "Figtree", sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2a1f1a;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.rating-plaque .stars-svg {
  color: #c9a55a;
  width: 84px;
  height: 14px;
  flex-shrink: 0;
}
.rating-plaque .rating-plaque-text {
  color: #2a1f1a;
}
.rating-plaque .rating-plaque-link {
  color: #2a1f1a;
  text-decoration: underline;
  text-decoration-color: rgba(42, 31, 26, 0.4);
  text-underline-offset: 3px;
  margin-left: 0.25rem;
}
.rating-plaque .rating-plaque-link:hover {
  text-decoration-color: #2a1f1a;
}
.rating-plaque-strip {
  margin: var(--space-6) auto 0;
  display: inline-flex;
}
.proof-footer { text-align: center; }
/* Centre on mobile so hero plaque doesn't fight column flow */
@media (max-width: 560px) {
  .rating-plaque { font-size: 0.875rem; padding: 0.5rem 0.875rem; }
  .rating-plaque .stars-svg { width: 72px; height: 12px; }
}

/* ============================================================
   SNAPSHOT GRID (S6 — 6 Google review cards)
   ============================================================ */
.proof-lead {
  font-size: clamp(17px, 1.8vw, 19px);
  color: var(--text-soft);
  max-width: 64ch;
  margin: 0 0 var(--space-7);
  line-height: 1.55;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin: 0 0 var(--space-7);
}
.snapshot-card {
  margin: 0;
  padding: var(--space-5) var(--space-5) var(--space-4);
  background-color: #c9a23a;
  background-image: var(--gold-medal);
  border: 1px solid rgba(42, 31, 26, 0.15);
  border-bottom: 2px solid var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 280ms var(--spring), box-shadow 280ms var(--spring), border-color 280ms ease;
}
/* Large opening quote as visual anchor — replaces the generic red border-top */
.snapshot-card::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: 10px;
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.snapshot-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(20, 17, 13, 0.28);
}
.snapshot-name {
  font-size: 13px;
  font-weight: 700;
  color: #2a1f1a;
  margin-bottom: var(--space-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.snapshot-name strong { color: #2a1f1a; font-weight: 700; }
.snapshot-loc { color: rgba(42, 31, 26, 0.65); font-weight: 500; margin-left: 6px; letter-spacing: 0; text-transform: none; }
.snapshot-card blockquote {
  margin: 0 0 var(--space-4);
  padding: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: #2a1f1a;
  flex: 1;
  position: relative;
  z-index: 1;
}
.snapshot-card blockquote::before { content: none; }
.snapshot-card blockquote::after { content: none; }
.snapshot-attr {
  font-size: 14px;
  color: #2a1f1a;
  margin: auto 0 0;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
/* Gold stars — pop without looking like a rating widget */
.snapshot-attr .stars {
  color: var(--accent-warm);
  letter-spacing: 0.18em;
  font-size: 13px;
}

/* ============================================================
   FOOTER MAP + DISCLAIMER (S13)
   ============================================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.footer-info p { margin-bottom: var(--space-2); }
.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.map-embed {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-load {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background:
    linear-gradient(135deg, rgba(216, 80, 76, 0.10), rgba(0, 0, 0, 0)),
    #262626;
  color: var(--text, #f6f6f6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body, "Figtree", sans-serif);
  cursor: pointer;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.map-load:hover {
  background-color: #2e2e2e;
  border-color: rgba(216, 80, 76, 0.45);
}
.map-load:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.map-load-label {
  font-family: var(--font-display, "Spectral", serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text, #f6f6f6);
}
.map-load-sub {
  font-size: 0.875rem;
  color: var(--text-soft, rgba(246, 246, 246, 0.7));
  max-width: 28ch;
  line-height: 1.45;
}

.disclaimer {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 80ch;
}
.disclaimer p { margin: 0 0 var(--space-2); color: var(--text-muted); }
.disclaimer p:last-child { margin-bottom: 0; }

/* ============================================================
   PHOTO TREATMENT — duotone wash + film grain across all photos.
   Applies to every figure that contains an <img>: hero-photo,
   photo-band, photo-feature, credentials-photo, solution-photo,
   community-photo, snapshot-card. Pseudo-elements supply the
   duotone tint and grain noise; the image itself gets a subtle
   filter for cohesion. Pause this block to revert to raw photos.
   ============================================================ */
.hero-photo,
.photo-band,
.photo-feature,
.credentials-photo,
.solution-photo,
.community-photo {
  position: relative;
  isolation: isolate;
}

.hero-photo img,
.photo-band img,
.photo-feature img,
.credentials-photo img,
.solution-photo img,
.community-photo img {
  filter: saturate(0.78) contrast(1.06) brightness(0.86);
}

.hero-photo::before,
.photo-band::before,
.photo-feature::before,
.credentials-photo::before,
.solution-photo::before,
.community-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(189, 49, 46, 0.18) 0%,
      rgba(20, 17, 13, 0.18) 50%,
      rgba(5, 5, 5, 0.65) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   PHASE 6 — OVERDRIVE: WebGL documentary-grain canvas on hero.
   Self-mounted by js/hero-grain.js after window 'load'. The canvas
   overlays the static hero <img> so SEO/fallback is preserved. Lives
   above the duotone (::before, z-index 1) and SVG grain (::after,
   z-index 2). prefers-reduced-motion: script bails before mount.
   ============================================================ */
.hero-grain-canvas {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  /* Defensive: even if the canvas was somehow mounted, hide it. */
  .hero-grain-canvas { display: none !important; }
}

/* Grain layer — SVG noise inlined for zero extra request. */
.hero-photo::after,
.photo-band::after,
.photo-feature::after,
.credentials-photo::after,
.solution-photo::after,
.community-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.10;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

/* Special proof-top photo-band: cream→dark bridge (S5 light → S6 dark)
   takes priority over duotone. mix-blend-mode reset to normal so the
   light top-edge stays light. */
.photo-band--proof-top::before {
  background: linear-gradient(
    180deg,
    rgba(236, 229, 214, 0.55) 0%,
    rgba(22, 22, 22, 0) 35%,
    rgba(22, 22, 22, 0) 65%,
    rgba(22, 22, 22, 0.85) 100%
  );
  mix-blend-mode: normal;
}

/* Photo-band edge fade — cinematic bleed into adjacent dark sections. */
.photo-band:not(.photo-band--proof-top)::before {
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%),
    linear-gradient(180deg,
      rgba(189, 49, 46, 0.18) 0%,
      rgba(20, 17, 13, 0.20) 50%,
      rgba(5, 5, 5, 0.70) 100%);
}

/* ============================================================
   PHOTO BANDS + FEATURES (full-width between/within sections)
   ============================================================ */
.photo-band {
  width: 100%;
  margin: var(--space-9) 0 0;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-top: 1px solid var(--rule-accent);
  border-bottom: 1px solid var(--rule-accent);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.photo-band--portrait { aspect-ratio: 16 / 9; }

.photo-feature {
  display: block;
  margin: var(--space-7) auto 0;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--rule-accent);
  box-shadow: var(--shadow-floating);
}
.photo-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   SECTION PADDING RHYTHM — variety creates hierarchy.
   Tight sections feel punchy. Generous sections breathe.
   ============================================================ */
.section-solution { padding-top: clamp(var(--space-9), 10vw, 160px); }
.section-scarcity { padding: var(--space-8) 0; }
.section-objections { padding: var(--space-8) 0; }
.section-closing { padding: var(--space-8) 0; }

/* ============================================================
   RESPONSIVE — TABLET + UP
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: var(--space-10) 0; }

  /* Hero 2-col: text+CTA left (2/3), photo right (1/3) */
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: stretch;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-6);
  }
  /* Below the rail breakpoint: row 1 = hero-left + hero-photo;
     row 2 = full-width centered rail. */
  .hero-rail {
    grid-column: 1 / -1;
    max-width: 56ch;
    margin-inline: auto;
    align-items: center;
    text-align: center;
  }
  .hero-headline { max-width: none; }
  .hero-subhead { max-width: none; }
  .hero-photo {
    margin-top: 0;
    aspect-ratio: 3 / 2;
    height: auto;
    min-height: 340px;
    border-radius: var(--radius-md);
    border: 1px solid var(--rule-accent);
    align-self: start;
  }

  /* Pain 2-col: content left (60%), callout right (40%) */
  .pain-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: clamp(var(--space-7), 6vw, var(--space-10));
    align-items: start;
  }
  .pain-callout {
    display: block;
    padding-top: var(--space-9);
    position: sticky;
    top: var(--space-8);
  }

  /* S3: photo left (35%), diff-blocks dominant right (65%) */
  .solution-layout {
    grid-template-columns: 1fr 1.86fr;
    gap: var(--space-8);
    align-items: stretch;
  }
  .solution-photo {
    order: -1; /* photo moves to left column */
    aspect-ratio: auto;
    height: 100%;
    min-height: 100%;
    position: sticky;
    top: var(--space-7);
    max-height: 720px;
  }
  .diff-grid { grid-template-columns: 1fr; gap: var(--space-5); }

  .offer-steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
  .price-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); align-items: end; }
  .snapshot-grid { grid-template-columns: repeat(2, 1fr); }

  /* S4 credentials: text left, photo right (sticky + slight escape) */
  .credentials-layout {
    grid-template-columns: 1fr 380px;
    gap: var(--space-8);
    align-items: start;
  }
  .section-credentials .credentials-photo {
    position: sticky;
    top: var(--space-4);
    margin: 0;
    max-width: none;
  }

  /* S6 proof: sticky photo-band, header overlaps */
  .photo-band--proof-top {
    position: sticky;
    top: 0;
    overflow: clip;
  }
  .section-proof .proof-header {
    position: relative;
    z-index: var(--z-raised);
    background: var(--bg-elev);
    margin-top: -48px;
    padding-top: var(--space-9);
  }
  .section-proof .proof-footer {
    position: relative;
    z-index: var(--z-raised);
    background: var(--bg-elev);
  }

  /* S6 snapshot-grid container covers sticky photo as user scrolls */
  .proof-cards {
    position: relative;
    z-index: var(--z-raised);
    background: var(--bg-elev);
    padding-top: var(--space-8);
    padding-bottom: var(--space-7);
  }

  .footer-grid { grid-template-columns: 1.2fr 1fr; gap: var(--space-7); }

  .section-community .community-photo {
    float: right;
    margin: 0 0 var(--space-5) var(--space-6);
    max-width: 380px;
  }
}

@media (min-width: 1024px) {
  .hero { padding-top: var(--space-10); }
  /* Credentials photo escapes slightly beyond container boundary */
  .section-credentials .credentials-photo {
    transform: translateX(var(--space-6));
  }
}

/* ============================================================
   MOTION — scroll reveals, hover lifts, divider draw-in
   ============================================================ */
/* Scroll reveal — sections fade + lift on entry. JS toggles .is-visible. */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms var(--spring),
              transform 700ms var(--spring);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Hover lifts — interactive cards float subtly on hover. */
.diff-block,
.snapshot-card,
.price-tier,
.section-offer .step,
.qa {
  transition:
    transform 280ms var(--spring),
    box-shadow 280ms var(--spring),
    border-color 280ms ease;
}
.diff-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 17, 13, 0.22);
  border-top-color: var(--accent-hover);
}
.snapshot-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-light);
  box-shadow: var(--shadow-floating);
}
.price-tier:hover {
  transform: scale(1.02);
  border-color: var(--accent-warm);
  box-shadow: var(--shadow-floating);
}
.section-offer .step:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(20, 17, 13, 0.18), 0 0 0 1px rgba(20, 17, 13, 0.08);
}

/* Photo containers — subtle scale + tint lift on hover (desktop only).
   .hero-photo intentionally excluded: its transform is driven by JS parallax,
   not hover, so a CSS transition would cause scroll lag. */
@media (hover: hover) and (pointer: fine) {
  .photo-feature,
  .credentials-photo,
  .solution-photo,
  .community-photo {
    transition: transform 600ms var(--spring);
  }
  .hero-photo img,
  .photo-feature img,
  .credentials-photo img,
  .solution-photo img,
  .community-photo img {
    transition: transform 800ms var(--spring),
                filter 600ms ease;
  }
  .hero-photo:hover img,
  .photo-feature:hover img,
  .credentials-photo:hover img,
  .solution-photo:hover img,
  .community-photo:hover img {
    transform: scale(1.03);
    filter: saturate(0.9) contrast(1.05) brightness(0.92);
  }
}

/* Button hover refinement — arrow slide indicator. */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 700ms var(--spring);
  z-index: -1;
}
.btn-primary:hover::before {
  transform: translateX(100%);
}

/* ============================================================
   PHASE 5B — Testimonial Gold Shine
   One-shot diagonal sweep on every gold testimonial surface when
   it enters the viewport. JS adds .shine-ready; CSS plays it once.
   ============================================================ */
[data-shine] {
  position: relative;
  /* Ensures ::after diagonal clips inside the rounded corners */
  isolation: isolate;
}
[data-shine]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 60%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  background-position: -150% center;
  opacity: 0;
  z-index: 2;
  border-radius: inherit;
}
[data-shine].shine-ready::after {
  animation: gold-shine 900ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes gold-shine {
  0%   { background-position: -150% center; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { background-position: 150% center; opacity: 0; }
}

/* ============================================================
   ACCESSIBILITY — global reduced-motion. Per-element rules in the
   pullquote / hero-grain / feature-item blocks layer on top of this.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  [data-shine]::after { animation: none !important; opacity: 0 !important; }
}

/* Two-tone focus ring — visible on both dark + cream sections. Outer
   accent ring + inner gold halo so the indicator survives any bg. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(239, 200, 142, 0.45);
  border-radius: 2px;
}
.btn:focus-visible {
  outline-offset: 4px;
}
/* Inputs already manage their own focus inside the .field rule; suppress
   the global ring there to avoid a doubled outline. */
.field input:focus-visible,
.field select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 200, 142, 0.55);
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

/* -- FEATURES (R4: inverted cards — black bg, white type, hover lift) ------ */
.section-features {
  background: #ffffff;
  color: var(--ink, #111);
  padding-top: var(--space-6, 3rem);
  padding-bottom: var(--space-7, 4rem);
}
.section-features .container {
  max-width: 1100px;
}
.features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature-item {
  background: #0d0d0d;
  color: #ffffff;
  padding: 1.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md, 6px);
  min-height: 180px;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  cursor: default;
  will-change: transform;
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(201, 165, 90, 0.7);
}
.feature-item .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--accent, #bd312e);
  margin-bottom: 0.25rem;
}
.feature-item .feature-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}
.feature-item strong {
  font-family: var(--font-display, "Spectral", serif);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: 0.005em;
}
.feature-item > span:not(.feature-icon) {
  font-family: var(--font-body, "Figtree", sans-serif);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { min-height: 0; padding: 1.25rem 1.125rem; }
  .feature-item:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-item { transition: none; }
  .feature-item:hover { transform: none; }
}

/* -- TIMETABLE + BOOKING (R3: 7-col calendar week + centred booking story) -- */
.section-timetable {
  background: #ffffff;
  color: var(--ink, #111);
  padding-top: var(--space-6, 3rem);
  padding-bottom: var(--space-7, 4rem);
}
.section-timetable .section-headline {
  color: var(--ink, #111);
  max-width: 38ch;
  margin-bottom: var(--space-4, 1.5rem);
}
.section-timetable .section-headline .accent {
  color: var(--accent, #bd312e);
  display: inline;
}
.section-timetable .timetable-lead {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: var(--space-5, 2rem);
}
.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md, 6px);
  overflow: hidden;
  margin-bottom: var(--space-6, 3rem);
  background: rgba(0, 0, 0, 0.02);
}
.cal-col {
  background: #ffffff;
  padding: 0.875rem 0.5rem 1rem;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cal-col:last-child { border-right: none; }
.cal-day {
  font-family: var(--font-body, "Figtree", sans-serif);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin: 0 0 0.625rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
  text-align: center;
}
.cal-slots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  align-items: center;
  width: 100%;
}
.cal-slots li {
  font-family: var(--font-display, "Spectral", serif);
  font-size: 0.9375rem;
  line-height: 1.2;
  color: #0d0d0d;
  background: rgba(189, 49, 46, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  width: 100%;
  text-align: center;
}
.cal-col-closed { background: rgba(0, 0, 0, 0.025); }
.cal-col-closed .cal-day { color: rgba(0, 0, 0, 0.35); }
.cal-slots li.cal-closed {
  background: transparent;
  color: rgba(0, 0, 0, 0.35);
  font-family: var(--font-body, "Figtree", sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-style: italic;
}
@media (max-width: 720px) {
  .cal-slots li { font-size: 0.8125rem; padding: 0.2rem 0.25rem; }
  .cal-day { font-size: 0.625rem; }
  .cal-col { padding: 0.625rem 0.25rem 0.75rem; }
}
@media (max-width: 480px) {
  .cal-slots li { font-size: 0.6875rem; padding: 0.15rem 0.2rem; }
  .cal-slots { gap: 0.25rem; }
  .cal-day { font-size: 0.5625rem; letter-spacing: 0.1em; }
  .cal-col { padding: 0.5rem 0.15rem 0.625rem; }
}
.booking-story {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: var(--space-5, 2rem);
  margin: var(--space-6, 3rem) auto var(--space-5, 2rem);
  max-width: 60ch;
}
.booking-story-h {
  font-family: var(--font-display, "Spectral", serif);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--ink, #111);
  margin: 0 0 1.25rem;
  max-width: 60ch;
  text-align: left;
}
.booking-story p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.78);
  margin: 0 auto 1rem;
  max-width: 60ch;
}
.timetable-note {
  font-size: 0.9375rem;
  color: rgba(0, 0, 0, 0.55);
  font-style: italic;
  text-align: center;
}

/* ============================================================
   MOBILE OVERRIDES (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
  /* Hero headlines — larger on small screens so the image sits just visible at the fold */
  .hero-headline { font-size: clamp(32px, 9vw, 42px); }
  .hero-subhead  { font-size: clamp(20px, 5.5vw, 24px); }

  /* Social proof — gap between intro text and first testimonial card */
  .proof-cards { padding-top: var(--space-6); }
}

