/* ================================================================
   Praise Worthy Roofing — demo site
   Palette: deep forest green + brass gold (matches their brand)
   ================================================================ */

:root {
  --g950: #0a1d14;
  --g900: #112a1f;
  --g800: #163828;
  --g700: #1d4a35;
  --gold: #c19a5b;
  --gold-2: #dfc08a;
  --gold-soft: rgba(193, 154, 91, 0.14);
  --paper: #faf8f3;
  --stone: #f0ebe0;
  --ink: #16211a;
  --mut: #52604f;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px -18px rgba(10, 29, 20, 0.28);
  --shadow-sm: 0 8px 24px -12px rgba(10, 29, 20, 0.22);
  --nav-h: 76px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}
.container-narrow { width: min(820px, 100% - 48px); }

/* ---------------- Typography ---------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h1 em, h2 em { font-style: italic; color: var(--gold); }

.kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g700);
  margin-bottom: 14px;
}
.kicker-gold { color: var(--gold-2); }

.section-lede {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--mut);
  max-width: 620px;
  margin-top: 18px;
}
.section-dark .section-lede,
.section-green .section-lede,
.cta-band .section-lede { color: rgba(250, 248, 243, 0.78); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head .section-lede { margin-inline: 0; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--g950);
  box-shadow: 0 10px 30px -10px rgba(193, 154, 91, 0.65);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(193, 154, 91, 0.75); }
.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.7); transform: translateY(-2px); }

/* ---------------- Scroll progress ---------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------------- Nav ---------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-nav.scrolled {
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(10, 29, 20, 0.45);
}
.nav-inner {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand img {
  width: 132px;
  height: auto;
  transition: filter 0.35s ease;
  /* wordmark is dark ink; make it white while over the dark hero */
  filter: brightness(0) invert(1);
}
.site-nav.scrolled .nav-brand img { filter: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a:not(.btn) {
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--white);
  opacity: 0.92;
  transition: color 0.3s ease, opacity 0.2s ease;
}
.nav-links a:not(.btn):hover { opacity: 1; color: var(--gold-2); }
.site-nav.scrolled .nav-links a:not(.btn) { color: var(--ink); }
.site-nav.scrolled .nav-links a:not(.btn):hover { color: var(--g700); }
.nav-cta { padding: 10px 20px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.site-nav.scrolled .nav-toggle span,
.site-nav.menu-open .nav-toggle span { background: var(--ink); }
.site-nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    box-shadow: 0 24px 40px -20px rgba(10, 29, 20, 0.4);
    padding: 8px 24px 20px;
    display: none;
  }
  .site-nav.menu-open { background: var(--paper); }
  .site-nav.menu-open .nav-brand img { filter: none; }
  .site-nav.menu-open .nav-links { display: flex; }
  .nav-links a:not(.btn) {
    color: var(--ink) !important;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(10, 29, 20, 0.08);
    font-size: 1.02rem;
  }
  .nav-cta { margin-top: 16px; justify-content: center; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: max(620px, 92svh);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--g950);
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: kenburns 18s ease-out forwards; }
  @keyframes kenburns {
    from { transform: scale(1.14); }
    to   { transform: scale(1.06); }
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(8, 24, 16, 0.92) 8%, rgba(8, 24, 16, 0.72) 42%, rgba(8, 24, 16, 0.28) 78%),
    linear-gradient(to top, rgba(8, 24, 16, 0.85), transparent 42%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 118px;
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 104px; }
  .hero-widget { max-width: 520px; }
}
.hero .hero-content h1 { font-size: clamp(2.25rem, 2.6vw + 1.15rem, 3.7rem); }

/* --- Atmosphere: light sweep + drifting particles (GPU-light) --- */
.hero-sweep { display: none; }
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles span {
  position: absolute;
  bottom: -3%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 222, 180, 0.9), rgba(240, 222, 180, 0) 70%);
  opacity: 0;
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-sweep {
    display: block;
    position: absolute;
    inset: -20% -60%;
    background: linear-gradient(112deg, transparent 42%, rgba(255, 243, 214, 0.075) 50%, transparent 58%);
    animation: heroSweep 11s ease-in-out infinite alternate;
    will-change: transform;
    pointer-events: none;
  }
  @keyframes heroSweep {
    from { transform: translateX(-16%); }
    to   { transform: translateX(16%); }
  }
  .hero-particles span {
    animation: particleRise var(--pt, 18s) linear var(--pd, 0s) infinite;
  }
  @keyframes particleRise {
    0%   { transform: translate3d(0, 0, 0); opacity: 0; }
    12%  { opacity: var(--po, 0.35); }
    85%  { opacity: var(--po, 0.35); }
    100% { transform: translate3d(var(--px, 40px), -108vh, 0); opacity: 0; }
  }
}

/* --- Hero headline word-by-word reveal (applied by JS only when motion allowed) --- */
.htw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  filter: blur(6px);
  animation: heroWord 0.72s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: calc(180ms + var(--wd, 0) * 75ms);
}
@keyframes heroWord {
  to { opacity: 1; transform: none; filter: blur(0); }
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  border: 1px solid rgba(193, 154, 91, 0.5);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 26px;
  background: rgba(10, 29, 20, 0.4);
  backdrop-filter: blur(4px);
}
.hero h1 { max-width: 15ch; text-wrap: balance; }
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(250, 248, 243, 0.86);
  max-width: 54ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-note {
  margin-top: 22px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(250, 248, 243, 0.6);
  text-transform: uppercase;
}

/* ---------------- Stat strip ---------------- */
.stat-strip {
  position: relative;
  z-index: 5;
  margin-top: -72px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 18px;
  gap: 8px;
  border-top: 4px solid var(--gold);
}
.stat { text-align: center; padding: 6px 10px; }
.stat + .stat { border-left: 1px solid rgba(10, 29, 20, 0.08); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--g800);
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mut);
}
@media (max-width: 720px) {
  .stat-strip { grid-template-columns: 1fr 1fr; row-gap: 20px; margin-top: -56px; }
  .stat:nth-child(3) { border-left: 0; }
}

/* ---------------- Sections ---------------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-paper { background: var(--paper); }
.section-stone { background: var(--stone); }
.section-green {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(193, 154, 91, 0.12), transparent 60%),
    linear-gradient(165deg, var(--g900), var(--g950));
  color: var(--white);
}
.section-dark {
  background:
    radial-gradient(1000px 500px at 12% 0%, rgba(193, 154, 91, 0.1), transparent 55%),
    var(--g950);
  color: var(--white);
}
.section-green .kicker, .section-dark .kicker { color: var(--gold-2); }
.section-green h2, .section-dark h2 { color: var(--white); }

/* ---------------- Cards ---------------- */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .card-grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 29, 20, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.3rem; margin: 18px 0 10px; color: var(--g900); }
.card p { color: var(--mut); font-size: 0.98rem; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--g700);
}
.card-icon svg { width: 28px; height: 28px; }

/* ---------------- Split layouts ---------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.split-reverse { grid-template-columns: 1fr 0.8fr; }
@media (max-width: 900px) {
  .split, .split-reverse { grid-template-columns: 1fr; }
}

.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(223, 192, 138, 0.45);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media figcaption,
.portrait-frame figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 26px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(250, 248, 243, 0.92);
  background: linear-gradient(to top, rgba(8, 24, 16, 0.82), transparent);
}

.portrait-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 460px;
  justify-self: center;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(193, 154, 91, 0.5);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.portrait-frame img { width: 100%; height: auto; }

/* ---------------- Check list (free inspection) ---------------- */
.check-list { list-style: none; margin-top: 30px; display: grid; gap: 18px; }
.check-list li { display: flex; gap: 16px; align-items: flex-start; }
.check-list strong { display: block; font-size: 1.05rem; color: var(--white); }
.check-list span:not(.check) { color: rgba(250, 248, 243, 0.68); font-size: 0.94rem; }
.check {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  left: 9px; top: 5px;
  width: 6px; height: 11px;
  border: solid var(--g950);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pill {
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}
.pill-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--g950); }
.pill-outline { border: 1.5px solid rgba(223, 192, 138, 0.6); color: var(--gold-2); }

.service-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(48px, 7vw, 80px);
}
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service-row { grid-template-columns: 1fr; } }
.service-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(223, 192, 138, 0.22);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.service-tile:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.09); border-color: rgba(223, 192, 138, 0.5); }
.service-tile h3 { font-size: 1.12rem; color: var(--gold-2); margin-bottom: 8px; }
.service-tile p { font-size: 0.92rem; color: rgba(250, 248, 243, 0.72); }

/* ---------------- Counters ---------------- */
.counter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  margin-top: 38px;
}
.counter {
  padding: 22px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}
.counter-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--g800);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.counter-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mut);
}
@media (max-width: 480px) { .counter-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .counter { padding: 16px 16px; } }

/* ---------------- Before / After sliders ---------------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .ba-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

.ba-item figcaption {
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(250, 248, 243, 0.85);
  text-align: center;
}
.ba-slider {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  background: var(--g900);
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--gold-2);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--g950);
  display: grid;
  place-items: center;
  cursor: ew-resize;
  touch-action: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.ba-handle svg { width: 22px; height: 22px; }
.ba-handle:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.ba-tag {
  position: absolute;
  top: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
}
.ba-tag-before { left: 14px; background: rgba(8, 24, 16, 0.72); color: var(--white); }
.ba-tag-after { right: 14px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--g950); }

/* ---------------- Insurance steps ---------------- */
.step-list { list-style: none; margin-top: 32px; display: grid; gap: 22px; counter-reset: step; }
.step-list li { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--g800);
  color: var(--gold-2);
  margin-top: 2px;
}
.step-list strong { display: block; font-size: 1.06rem; color: var(--g900); }
.step-list li > div > span { color: var(--mut); font-size: 0.95rem; }
.split-media-tall { align-self: stretch; min-height: 420px; }
@media (max-width: 900px) { .split-media-tall { min-height: 300px; } }

/* ---------------- Reviews ---------------- */
.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 29, 20, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stars { color: var(--gold); letter-spacing: 4px; font-size: 1.05rem; }
.review p { color: var(--ink); font-size: 0.98rem; flex: 1; }
.review footer strong { display: block; font-size: 0.95rem; color: var(--g900); }
.review footer span { font-size: 0.82rem; color: var(--mut); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------------- Service area ---------------- */
.city-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .city-grid { grid-template-columns: 1fr 1fr; } }
.city-grid li {
  background: var(--white);
  border: 1px solid rgba(10, 29, 20, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--g900);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.city-grid li:hover { transform: translateY(-3px); border-color: var(--gold); }
.city-grid li::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: 2px;
}
.city-note {
  margin-top: 28px;
  text-align: center;
  color: var(--mut);
  font-size: 0.95rem;
}

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(10, 29, 20, 0.07);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.04rem;
  color: var(--g900);
  padding: 20px 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-marker {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold-soft);
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-marker::before, .faq-marker::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--g700);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.faq-marker::before { width: 12px; height: 2px; }
.faq-marker::after { width: 2px; height: 12px; }
.faq-item[open] .faq-marker { transform: rotate(45deg); background: var(--gold); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { color: var(--mut); font-size: 0.97rem; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-body { animation: faqOpen 0.35s ease; }
  @keyframes faqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------------- CTA band ---------------- */
.cta-band {
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(193, 154, 91, 0.16), transparent 60%),
    linear-gradient(150deg, var(--g900), var(--g950));
  color: var(--white);
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }
.cta-widget { min-width: 0; }
@media (max-width: 900px) { .cta-widget { max-width: 520px; } }
.cta-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.6);
  position: relative;
  margin-top: 30px;
  max-height: 240px;
}
.cta-media img { width: 100%; height: 240px; object-fit: cover; }
.cta-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(223, 192, 138, 0.4);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.cta-copy h2 { color: var(--white); }
.cta-details {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 8px;
  font-size: 0.98rem;
  color: rgba(250, 248, 243, 0.82);
}
.cta-details strong {
  display: inline-block;
  min-width: 84px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #071510;
  color: rgba(250, 248, 243, 0.75);
  padding: 64px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(250, 248, 243, 0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 14px;
}
.footer-brand p { font-style: italic; font-family: var(--font-display); color: var(--gold-2); }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: inherit; text-decoration: none; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(250, 248, 243, 0.5);
}
.back-to-top { color: rgba(250, 248, 243, 0.7); text-decoration: none; font-weight: 700; }
.back-to-top:hover { color: var(--gold-2); }

/* ================================================================
   MOTION — scroll reveal system
   Hidden state applies ONLY when JS is running AND the user has
   not requested reduced motion. Otherwise everything is visible.
   ================================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: calc(var(--d, 0) * 90ms);
    will-change: opacity, transform;
  }
  html.js [data-reveal].in-view {
    opacity: 1;
    transform: none;
  }
}

@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;
  }
  .hero-media img { animation: none !important; transform: none !important; height: 100%; }
  .scroll-progress { display: none; }
}

/* ================================================================
   SIGNATURE MOTIF — roof-peak accent before kickers
   ================================================================ */
.kicker::before {
  content: "";
  display: inline-block;
  width: 11px; height: 11px;
  border-top: 2.5px solid var(--gold);
  border-left: 2.5px solid var(--gold);
  transform: rotate(45deg) translateY(2px);
  margin-right: 12px;
  vertical-align: -1px;
}

/* ================================================================
   MICRO-INTERACTIONS — buttons, cards, tiles
   ================================================================ */
.btn { position: relative; overflow: hidden; }
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  left: -60%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-gold:hover::before { left: 130%; }

.card { position: relative; overflow: hidden; }
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card:hover::before { transform: scaleX(1); }
.card-icon { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: rgba(193, 154, 91, 0.24); }

.review { border-bottom: 3px solid transparent; }
.review:hover { border-bottom-color: var(--gold); }

.faq-item { transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.faq-item:hover { border-color: rgba(193, 154, 91, 0.45); }

/* ================================================================
   BEFORE/AFTER — drag affordance
   ================================================================ */
.ba-hint {
  position: absolute;
  left: var(--pos);
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(8, 24, 16, 0.78);
  border: 1px solid rgba(223, 192, 138, 0.55);
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(4px);
  transition: opacity 0.45s ease;
}
.ba-hint svg { width: 14px; height: 14px; }
.ba-slider.ba-touched .ba-hint { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ba-slider:not(.ba-touched) .ba-hint { animation: baHintNudge 2.2s ease-in-out infinite; }
  @keyframes baHintNudge {
    0%, 100% { transform: translateX(-50%); }
    50%      { transform: translateX(calc(-50% + 7px)); }
  }
  .ba-slider:not(.ba-touched) .ba-handle { animation: baHandlePulse 2.2s ease-in-out infinite; }
  @keyframes baHandlePulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(223, 192, 138, 0.55); }
    50%      { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 0 12px rgba(223, 192, 138, 0); }
  }
}

/* ================================================================
   INSTANT INSPECTION WIDGET (.iw)
   ================================================================ */
.hero-widget, .cta-widget { position: relative; }
.iw {
  position: relative;
  background: linear-gradient(160deg, rgba(16, 42, 29, 0.9), rgba(7, 21, 14, 0.94));
  border: 1px solid rgba(223, 192, 138, 0.38);
  border-radius: 22px;
  box-shadow: 0 40px 90px -32px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(20px, 3vw, 28px);
  color: var(--white);
}
.iw-fallback { font-size: 0.95rem; }
.iw-fallback a { color: var(--gold-2); }

.iw-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.iw-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.iw-pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #6fdc8f;
  box-shadow: 0 0 0 0 rgba(111, 220, 143, 0.6);
}
@media (prefers-reduced-motion: no-preference) {
  .iw-pulse { animation: iwPulse 2s ease-out infinite; }
  @keyframes iwPulse {
    0%   { box-shadow: 0 0 0 0 rgba(111, 220, 143, 0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(111, 220, 143, 0); }
    100% { box-shadow: 0 0 0 0 rgba(111, 220, 143, 0); }
  }
}
.iw-steps-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(250, 248, 243, 0.55);
}
.iw-steps-label b { color: var(--gold-2); }
.iw-tagline {
  margin-top: 8px;
  font-size: 0.88rem;
  color: rgba(250, 248, 243, 0.66);
}
.iw-progress {
  margin-top: 14px;
  height: 4px;
  border-radius: 999px;
  background: rgba(250, 248, 243, 0.12);
  overflow: hidden;
}
.iw-bar {
  display: block;
  height: 100%;
  width: 33.4%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transition: width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.iw-body { margin-top: 20px; }
.iw-step[hidden], .iw-confirm[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .iw-step, .iw-confirm { animation: iwStepIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1); }
  @keyframes iwStepIn {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: none; }
  }
}

.iw-label {
  display: block;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--white);
  margin-bottom: 10px;
}
.iw-label + .iw-label { margin-top: 16px; }
.iw-field {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 9px;
}
.iw-field-ico {
  position: absolute;
  left: 15px;
  width: 18px; height: 18px;
  color: var(--gold);
  pointer-events: none;
}
.iw-input {
  width: 100%;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  background: rgba(250, 248, 243, 0.07);
  border: 1.5px solid rgba(250, 248, 243, 0.22);
  border-radius: 13px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.iw-addr { padding-left: 42px; }
.iw-input::placeholder { color: rgba(250, 248, 243, 0.42); font-weight: 500; }
.iw-input:focus {
  border-color: var(--gold);
  background: rgba(250, 248, 243, 0.1);
  box-shadow: 0 0 0 4px rgba(193, 154, 91, 0.22);
}

.iw-suggest {
  list-style: none;
  margin-top: 8px;
  border-radius: 13px;
  background: rgba(7, 21, 14, 0.97);
  border: 1px solid rgba(223, 192, 138, 0.35);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  max-height: 208px;
  overflow-y: auto;
}
.iw-suggest[hidden] { display: none; }
.iw-suggest li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(250, 248, 243, 0.88);
  cursor: pointer;
  transition: background 0.15s ease;
}
.iw-suggest li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(45deg);
}
.iw-suggest li:hover, .iw-suggest li[aria-selected="true"] { background: rgba(193, 154, 91, 0.18); }
.iw-suggest li small { color: rgba(250, 248, 243, 0.5); font-weight: 500; margin-left: auto; padding-left: 10px; white-space: nowrap; }

.iw-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.iw-option {
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  text-align: left;
  background: rgba(250, 248, 243, 0.07);
  border: 1.5px solid rgba(250, 248, 243, 0.22);
  border-radius: 13px;
  padding: 13px 15px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.iw-option small { display: block; font-weight: 500; font-size: 0.76rem; color: rgba(250, 248, 243, 0.55); margin-top: 3px; }
.iw-option:hover { border-color: var(--gold); background: rgba(193, 154, 91, 0.14); transform: translateY(-2px); }

.iw-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.iw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 13px 24px;
  border: 0;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}
.iw-btn svg { width: 17px; height: 17px; }
.iw-btn-primary {
  flex: 1;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--g950);
  box-shadow: 0 10px 26px -10px rgba(193, 154, 91, 0.7);
}
.iw-btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 15px 32px -10px rgba(193, 154, 91, 0.8); }
.iw-btn-primary:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.iw-btn-ghost {
  background: transparent;
  color: rgba(250, 248, 243, 0.75);
  border: 1.5px solid rgba(250, 248, 243, 0.3);
}
.iw-btn-ghost:hover { border-color: rgba(250, 248, 243, 0.6); color: var(--white); }

/* ---------- Phone / SMS mockup ---------- */
.iw-confirm { text-align: center; }
.iw-phone {
  width: min(310px, 100%);
  margin-inline: auto;
  background: #0b0f0d;
  border: 1.5px solid rgba(250, 248, 243, 0.18);
  border-radius: 30px;
  padding: 12px 12px 18px;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.8), inset 0 0 0 1.5px rgba(255, 255, 255, 0.04);
  text-align: left;
}
@media (prefers-reduced-motion: no-preference) {
  .iw-phone { animation: phoneIn 0.55s cubic-bezier(0.34, 1.3, 0.64, 1); }
  @keyframes phoneIn {
    from { opacity: 0; transform: translateY(26px) scale(0.94); }
    to   { opacity: 1; transform: none; }
  }
}
.iw-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 10px 10px;
  color: rgba(250, 248, 243, 0.85);
}
.iw-phone-time { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; }
.iw-phone-notch {
  width: 84px; height: 22px;
  border-radius: 999px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.iw-phone-icons { display: inline-flex; align-items: center; gap: 5px; }
.iw-phone-icons svg { width: 17px; height: 11px; }
.iw-thread-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 12px;
  border-bottom: 1px solid rgba(250, 248, 243, 0.09);
}
.iw-avatar {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--g950);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.iw-thread-who { display: grid; line-height: 1.3; }
.iw-thread-who strong { font-size: 0.86rem; color: var(--white); }
.iw-thread-who small { font-size: 0.7rem; color: rgba(250, 248, 243, 0.5); }
.iw-thread {
  padding: 14px 10px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
}
.iw-bubble {
  max-width: 88%;
  border-radius: 18px;
  padding: 10px 13px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--white);
}
.iw-bubble-in {
  align-self: flex-start;
  background: #26312b;
  border-bottom-left-radius: 6px;
}
.iw-bubble-out {
  align-self: flex-end;
  background: linear-gradient(135deg, #2f7d4c, #256b3f);
  border-bottom-right-radius: 6px;
}
@media (prefers-reduced-motion: no-preference) {
  .iw-bubble { animation: bubbleIn 0.34s cubic-bezier(0.34, 1.4, 0.64, 1); transform-origin: 0 100%; }
  .iw-bubble-out { transform-origin: 100% 100%; }
  @keyframes bubbleIn {
    from { opacity: 0; transform: translateY(10px) scale(0.92); }
    to   { opacity: 1; transform: none; }
  }
}
.iw-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 13px 15px;
}
.iw-typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(250, 248, 243, 0.55);
}
@media (prefers-reduced-motion: no-preference) {
  .iw-typing i { animation: typingDot 1.1s ease-in-out infinite; }
  .iw-typing i:nth-child(2) { animation-delay: 0.15s; }
  .iw-typing i:nth-child(3) { animation-delay: 0.3s; }
  @keyframes typingDot {
    0%, 60%, 100% { transform: none; opacity: 0.5; }
    30%           { transform: translateY(-4px); opacity: 1; }
  }
}
.iw-caret {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--gold-2);
  vertical-align: -2px;
  margin-left: 1px;
}
@media (prefers-reduced-motion: no-preference) {
  .iw-caret { animation: caretBlink 0.7s steps(1) infinite; }
  @keyframes caretBlink { 50% { opacity: 0; } }
}
.iw-meta {
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(250, 248, 243, 0.5);
  padding-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.iw-meta-out { align-self: flex-end; padding-right: 6px; }
.iw-meta svg { width: 13px; height: 9px; color: #6fdc8f; }
.iw-quickreply {
  align-self: flex-end;
  margin-top: 4px;
  font: inherit;
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--gold-2);
  background: rgba(193, 154, 91, 0.13);
  border: 1.5px solid rgba(223, 192, 138, 0.6);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.iw-quickreply:hover { background: rgba(193, 154, 91, 0.26); transform: translateY(-1px); }
@media (prefers-reduced-motion: no-preference) {
  .iw-quickreply { animation: bubbleIn 0.34s cubic-bezier(0.34, 1.4, 0.64, 1); }
}

.iw-caption {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin: 18px auto 0;
  max-width: 340px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(250, 248, 243, 0.82);
}
.iw-caption svg { flex: none; width: 17px; height: 17px; color: var(--gold-2); margin-top: 2px; }
.iw-caption strong { color: var(--gold-2); }
.iw-demo-note {
  margin-top: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.38);
}
.iw-restart {
  margin-top: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  color: rgba(250, 248, 243, 0.6);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.iw-restart:hover { color: var(--gold-2); }

@media (max-width: 480px) {
  .iw { padding: 18px 16px; }
  .iw-options { grid-template-columns: 1fr; }
  .iw-actions { flex-wrap: wrap; }
}

/* ================================================================
   REDUCED MOTION — widget & new elements land in final state
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-sweep, .hero-particles { display: none !important; }
  .htw { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .ba-hint, .ba-handle, .iw-pulse, .iw-typing i, .iw-caret,
  .iw-step, .iw-confirm, .iw-phone, .iw-bubble, .iw-quickreply { animation: none !important; }
  .btn-gold::before { display: none; }
  .card::before { transition: none; }
}
