/* ============================================================
   Plateau Roofing & Gutters — WINNER (B × C hybrid)
   Variant B's Premium Editorial art direction (dark slate +
   copper, Fraunces + Inter, grain/aurora, paper band) carrying
   Variant C's conversion plumbing (above-fold form, value
   chips, timed process, nearest-form CTAs, success states).
   Pure CSS. No frameworks. Motion slower than reading speed.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Ink (dark slate) scale */
  --ink-950: #0a0d12;
  --ink-900: #0e1218;
  --ink-850: #12161e;
  --ink-800: #161b24;
  --ink-700: #202836;

  /* Paper (light) scale */
  --paper: #f2efe9;
  --paper-dim: #e7e2d8;
  --ink-on-paper: #171c24;
  --stone-on-paper: #565e6b;

  /* Text on dark */
  --text: #f2efe9;
  --stone: #a7adb7;

  /* Accent — copper/amber (AA on ink: ~7:1) */
  --copper: #d98e32;
  --copper-bright: #e5a44e;
  --copper-deep: #8a431a; /* accent for paper sections, ~6.3:1 on paper */

  /* Lines & surfaces */
  --line: rgba(242, 239, 233, 0.1);
  --line-strong: rgba(242, 239, 233, 0.2);
  --glass: rgba(242, 239, 233, 0.035);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* H1 sized so the two-line lockup shares the hero with the form */
  --fs-h1: clamp(2.9rem, 5.2vw, 4.6rem);
  --fs-h2: clamp(2.05rem, 4.6vw, 3.4rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.45rem);

  /* Depth */
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.35), 0 24px 48px -20px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 12px 40px -10px rgba(217, 142, 50, 0.35);

  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

html.motion-ok {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--ink-900);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--copper);
  color: var(--ink-950);
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--copper);
  color: var(--ink-950);
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.3s var(--ease-out);
}

.skip-link:focus {
  top: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Film grain (site-wide, whisper-quiet) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
}

.on-paper .eyebrow {
  color: var(--copper-deep);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
}

.lede {
  color: var(--stone);
  max-width: 56ch;
}

.on-paper .lede {
  color: var(--stone-on-paper);
}

/* Section rhythm — generous editorial air */
.section {
  padding-block: clamp(5rem, 11vw, 8.5rem);
  position: relative;
}

.section-head {
  display: grid;
  gap: 1.4rem;
  margin-bottom: clamp(2.8rem, 6vw, 4.5rem);
  max-width: 100%;
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 4rem;
  }
}

.section-head h2 {
  max-width: 18ch;
}

.hairline {
  border: 0;
  border-top: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.02rem 1.7rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    color 0.4s var(--ease-out);
}

.btn-solid {
  background: var(--copper);
  color: var(--ink-950);
}

/* sheen sweep on hover */
.btn-solid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}

.btn-solid:hover::after,
.btn-solid:focus-visible::after {
  transform: translateX(120%);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  background: var(--copper-bright);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(242, 239, 233, 0.02);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-2px);
  border-color: var(--copper);
  color: var(--copper-bright);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.7);
}

.btn-sm {
  padding: 0.68rem 1.25rem;
  font-size: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 90;
  transition: background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.topbar {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: margin-top 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
}

.topbar span strong {
  color: var(--text);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1.1rem;
  transition: padding 0.5s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(10, 13, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(0, 0, 0, 0.8);
}

.site-header.is-scrolled .nav {
  padding-block: 0.7rem;
}

.site-header.is-scrolled .topbar {
  margin-top: -40px;
  opacity: 0;
  pointer-events: none;
}

.brand {
  text-decoration: none;
  line-height: 1.1;
  margin-right: auto;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: block;
}

.brand-sub {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-top: 0.1rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
  }
}

.nav-links {
  display: flex;
  gap: 1.7rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--stone);
  padding-block: 0.3rem;
  transition: color 0.35s var(--ease-out);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

@media (max-width: 1020px) {
  .topbar,
  .nav-links,
  .nav-phone {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-950);
  isolation: isolate;
}

/* Photo layer — solid ink + gradients remain if the image fails */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-color: var(--ink-950);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -5%;
  background:
    url("https://images.unsplash.com/photo-1605146769289-440113cc3d00?auto=format&fit=crop&w=2000&q=70")
    center 68% / cover no-repeat;
  opacity: 0.5;
}

html.motion-ok .hero-bg::before {
  animation: hero-drift 70s var(--ease-out) infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.07) translateY(-1.5%);
  }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 13, 18, 0.72) 0%, rgba(10, 13, 18, 0.55) 40%, rgba(14, 18, 24, 0.92) 82%, var(--ink-900) 100%),
    radial-gradient(90% 70% at 15% 45%, rgba(10, 13, 18, 0.55) 0%, transparent 100%);
}

/* Stacked hero (copy above form) exposes more raw photo — deepen the veil */
@media (max-width: 999px) {
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(10, 13, 18, 0.8) 0%, rgba(10, 13, 18, 0.74) 45%, rgba(14, 18, 24, 0.95) 80%, var(--ink-900) 100%),
      radial-gradient(90% 70% at 15% 45%, rgba(10, 13, 18, 0.55) 0%, transparent 100%);
  }
}

/* Slow aurora glows */
.hero-aurora {
  position: absolute;
  z-index: -2;
  width: 58vmax;
  height: 58vmax;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-aurora--a {
  top: -22%;
  right: -14%;
  opacity: 0.5;
  background: radial-gradient(circle at 35% 35%, rgba(217, 142, 50, 0.42), transparent 62%);
}

.hero-aurora--b {
  bottom: -34%;
  left: -18%;
  opacity: 0.42;
  background: radial-gradient(circle at 60% 40%, rgba(84, 116, 158, 0.4), transparent 64%);
}

html.motion-ok .hero-aurora--a {
  animation: drift-a 56s ease-in-out infinite alternate;
}

html.motion-ok .hero-aurora--b {
  animation: drift-b 68s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to {
    transform: translate3d(-7%, 9%, 0) scale(1.14);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(9%, -7%, 0) scale(1.1);
  }
}

/* Two-column hero: editorial copy carries the left, the form the right */
.hero-inner {
  padding-top: calc(var(--header-h) + 4.5rem);
  padding-bottom: 8rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.8rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.06fr) minmax(370px, 0.94fr);
  }
}

.hero-eyebrow {
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 480;
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 12ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--copper-bright);
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.hero-line > span {
  display: inline-block;
  white-space: nowrap;
}

.hero-lede {
  margin-top: 1.9rem;
  font-size: 1.1rem;
  color: var(--stone);
  max-width: 52ch;
}

.hero-lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

/* Value chips — C's exchange row spoken in B's language */
.exchange-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.7rem;
  list-style: none;
}

.exchange-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(217, 142, 50, 0.38);
  background: rgba(217, 142, 50, 0.06);
  border-radius: var(--r-pill);
  padding: 0.42rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: border-color 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
}

.exchange-chips li:hover {
  border-color: rgba(217, 142, 50, 0.7);
  background: rgba(217, 142, 50, 0.1);
}

.exchange-chips i {
  font-style: normal;
  font-size: 0.5rem;
  color: var(--copper);
}

.hero-micro {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--stone);
}

.hero-micro strong {
  color: var(--text);
  font-weight: 600;
}

/* CSS-only intro choreography — gated on .motion-ok (JS + no reduced-motion) */
html.motion-ok [data-hero] {
  opacity: 0;
  animation: fade-up 1s var(--ease-out) both;
  animation-delay: calc(200ms + var(--i, 0) * 130ms);
}

html.motion-ok [data-hero-line] {
  transform: translateY(112%);
  animation: rise-mask 1.1s cubic-bezier(0.19, 0.66, 0.22, 1) both;
  animation-delay: calc(220ms + var(--i, 0) * 150ms);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-mask {
  from {
    transform: translateY(112%);
  }
  to {
    transform: none;
  }
}

/* Plateau silhouette horizon */
.hero-ridge {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  z-index: 1;
  color: var(--ink-900);
  line-height: 0;
}

.hero-ridge svg {
  width: 100%;
  height: clamp(28px, 5vw, 64px);
  display: block;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--copper), transparent);
}

html.motion-ok .scroll-cue::after {
  animation: cue-drop 2.6s var(--ease-out) infinite;
}

@keyframes cue-drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@media (max-width: 640px) {
  .scroll-cue {
    display: none;
  }
}

/* ---------- Community ticker ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--ink-900);
  overflow: hidden;
  padding-block: 1.05rem;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
}

html.motion-ok .ticker-track {
  animation: ticker-roll 44s linear infinite;
}

@keyframes ticker-roll {
  to {
    transform: translateX(-50%);
  }
}

.ticker-set {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  padding-right: 2.6rem;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--stone);
}

.ticker-set i {
  font-style: normal;
  color: var(--copper);
  font-size: 0.7rem;
}

/* ---------- Proof strip ---------- */
.proof {
  padding-block: clamp(3.6rem, 7vw, 5.5rem);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
}

.proof-item {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line-strong);
  transition: border-color 0.5s var(--ease-out);
}

.proof-item:hover {
  border-color: var(--copper);
}

.proof-num {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.proof-label {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--stone);
  max-width: 22ch;
}

@media (max-width: 860px) {
  .proof-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.6rem;
  }
}

@media (max-width: 420px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Services (editorial index) ---------- */
.services-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.services-media {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

@media (max-width: 980px) {
  .services-layout {
    grid-template-columns: 1fr;
  }
  .services-media {
    position: static;
    order: 2;
    max-width: 560px;
  }
}

/* Framed editorial image */
.media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--ink-800) 0%, var(--ink-850) 55%, var(--ink-700) 100%);
  box-shadow: var(--shadow-lift);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  pointer-events: none;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.media--wide img {
  aspect-ratio: 4 / 3;
}

/* Solid CSS fallback if a photo fails to load */
.media--fallback {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media--fallback::before {
  content: "";
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: 0.7;
}

.media-caption {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--stone);
}

.media-frame {
  position: relative;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid rgba(217, 142, 50, 0.35);
  border-radius: var(--r-lg);
  pointer-events: none;
}

/* Service rows */
.service-list {
  list-style: none;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.6rem;
  align-items: baseline;
  padding: 1.9rem 1.4rem;
  border-top: 1px solid var(--line);
  transition: background-color 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.service-list li:last-child .service-row {
  border-bottom: 1px solid var(--line);
}

.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--copper);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}

.service-row:hover {
  background: rgba(242, 239, 233, 0.025);
  transform: translateX(6px);
}

.service-row:hover::before {
  transform: scaleY(1);
}

.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--copper);
  min-width: 2.2rem;
}

.service-row h3 {
  margin-bottom: 0.45rem;
  transition: color 0.35s var(--ease-out);
}

.service-row:hover h3 {
  color: var(--copper-bright);
}

.service-row p {
  color: var(--stone);
  font-size: 0.95rem;
  max-width: 52ch;
}

.service-cta {
  align-self: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--copper);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

.service-cta:hover,
.service-cta:focus-visible {
  gap: 0.75rem;
  color: var(--copper-bright);
}

/* Highlighted offer row */
.service-row--offer {
  margin-top: 2rem;
  border: 1px solid rgba(217, 142, 50, 0.4) !important;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(217, 142, 50, 0.1), rgba(217, 142, 50, 0.03) 60%);
  padding: 2.1rem 1.7rem;
}

.service-row--offer:hover {
  background: linear-gradient(140deg, rgba(217, 142, 50, 0.16), rgba(217, 142, 50, 0.05) 60%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.service-row--offer::before {
  display: none;
}

@media (max-width: 640px) {
  .service-row {
    grid-template-columns: auto 1fr;
  }
  .service-cta,
  .service-offer-btn {
    grid-column: 2;
    justify-self: start;
  }
}

/* ---------- Storm & insurance ---------- */
.storm-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 980px) {
  .storm-layout {
    grid-template-columns: 1fr;
  }
  .storm-media {
    max-width: 560px;
  }
}

.claim-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 2.4rem;
  counter-reset: claim;
}

.claim-step {
  counter-increment: claim;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.35rem 1.3rem 1.25rem;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    background-color 0.45s var(--ease-out);
}

.claim-step:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 142, 50, 0.45);
  background: rgba(242, 239, 233, 0.05);
  box-shadow: var(--shadow-lift);
}

.claim-step::before {
  content: "0" counter(claim);
  font-family: var(--serif);
  font-style: italic;
  color: var(--copper);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.claim-step h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.claim-step p {
  font-size: 0.88rem;
  color: var(--stone);
}

@media (max-width: 560px) {
  .claim-steps {
    grid-template-columns: 1fr;
  }
}

/* Insurance-window urgency (grafted from C's storm framing) */
.storm-window {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  color: var(--stone);
  max-width: 56ch;
}

.storm-window strong {
  color: var(--copper-bright);
}

.storm-note {
  margin-top: 1.6rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--copper);
  font-size: 0.95rem;
  color: var(--stone);
  max-width: 56ch;
}

.storm-note strong {
  color: var(--text);
}

/* Emergency band */
.emergency {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--ink-850), var(--ink-800));
  padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.4rem, 3.5vw, 2.6rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  box-shadow: var(--shadow-lift);
}

.emergency p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  max-width: 24ch;
}

.emergency p em {
  color: var(--copper-bright);
}

.phone-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
}

.phone-lockup small {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}

.phone-lockup strong {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--copper-bright);
  transition: color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.phone-lockup:hover strong,
.phone-lockup:focus-visible strong {
  color: var(--copper);
  transform: translateX(4px);
}

/* ---------- Paper band (process + testimonials) ---------- */
.on-paper {
  background: var(--paper);
  color: var(--ink-on-paper);
}

.on-paper h2,
.on-paper h3 {
  color: var(--ink-on-paper);
}

.on-paper .hairline {
  border-color: rgba(23, 28, 36, 0.14);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
}

.process-step {
  border-top: 2px solid rgba(23, 28, 36, 0.16);
  padding-top: 1.4rem;
  transition: border-color 0.5s var(--ease-out);
}

.process-step:hover {
  border-color: var(--copper-deep);
}

.process-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--copper-deep);
  line-height: 1;
}

.process-step h3 {
  margin-top: 0.9rem;
  margin-bottom: 0.5rem;
}

/* The clock on every step — C's timeframes in B's clothes */
.process-time {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-top: 0.45rem;
}

.process-step p {
  font-size: 0.93rem;
  color: var(--stone-on-paper);
}

@media (max-width: 980px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.quotes {
  padding-top: 0;
}

.quotes-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-deep);
  font-weight: 600;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 2.6rem;
}

.quote {
  position: relative;
  background: #fbf9f5;
  border: 1px solid rgba(23, 28, 36, 0.1);
  border-radius: var(--r-lg);
  padding: 2.3rem 1.9rem 1.9rem;
  box-shadow: 0 18px 40px -30px rgba(23, 28, 36, 0.4);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

.quote:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 67, 26, 0.4);
  box-shadow: 0 28px 50px -28px rgba(23, 28, 36, 0.45);
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: -0.4rem;
  left: 1.2rem;
  font-family: var(--serif);
  font-size: 4.6rem;
  line-height: 1;
  color: var(--copper-deep);
  opacity: 0.85;
}

.quote blockquote {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.55;
  font-style: italic;
}

.quote figcaption {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-on-paper);
}

@media (max-width: 900px) {
  .quote-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

/* ---------- Local story ---------- */
.story-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

@media (max-width: 980px) {
  .story-layout {
    grid-template-columns: 1fr;
  }
  .story-media {
    max-width: 560px;
  }
}

.story-copy p + p {
  margin-top: 1.2rem;
}

.story-copy p {
  color: var(--stone);
  max-width: 58ch;
}

.story-copy p strong {
  color: var(--text);
  font-weight: 600;
}

.story-communities {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ---------- Financing strip ---------- */
.financing {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(217, 142, 50, 0.07), transparent 45%),
    var(--ink-850);
  padding-block: clamp(2.8rem, 6vw, 4rem);
}

.financing .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.financing-line {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.4;
  max-width: 30ch;
}

.financing-line em {
  color: var(--copper-bright);
}

.financing-sub {
  font-size: 0.9rem;
  color: var(--stone);
  margin-top: 0.5rem;
  font-family: var(--sans);
  max-width: 62ch;
}

/* ---------- Service areas ---------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.1rem;
  list-style: none;
  max-width: 1000px;
}

.area-link {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.4vw, 3.1rem);
  font-weight: 450;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--stone);
  padding: 0.1rem 0.15rem;
  position: relative;
  transition: color 0.4s var(--ease-out);
}

.area-link::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  bottom: 0.35rem;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.area-link:hover,
.area-link:focus-visible {
  color: var(--copper-bright);
}

.area-link:hover::after,
.area-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.area-sep {
  color: var(--copper);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  opacity: 0.7;
}

.area-note {
  margin-top: 2.2rem;
  color: var(--stone);
  font-size: 0.95rem;
  max-width: 52ch;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 820px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding: 1.5rem 0.4rem;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.35s var(--ease-out), padding-left 0.35s var(--ease-out);
}

.faq-q:hover {
  color: var(--copper-bright);
  padding-left: 0.8rem;
}

.faq-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  transition: transform 0.5s var(--ease-out), border-color 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 11px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 11px;
}

.faq-item.open .faq-icon {
  transform: rotate(135deg);
  border-color: var(--copper);
  background: rgba(217, 142, 50, 0.12);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}

html.no-js .faq-a {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-a-inner p {
  padding: 0 0.4rem 1.7rem;
  color: var(--stone);
  max-width: 64ch;
}

/* ---------- Assessment (final CTA + form) ---------- */
.assessment {
  position: relative;
  overflow: hidden;
}

.assessment::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(100px);
  background: radial-gradient(circle at 40% 40%, rgba(217, 142, 50, 0.16), transparent 60%);
  pointer-events: none;
}

.assessment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  position: relative;
}

@media (max-width: 980px) {
  .assessment-layout {
    grid-template-columns: 1fr;
  }
}

.assessment-copy h2 {
  max-width: 14ch;
}

.assessment-copy > p {
  margin-top: 1.4rem;
  color: var(--stone);
  max-width: 46ch;
}

.assessment-phone {
  margin-top: 2.4rem;
}

.assessment-marks {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  list-style: none;
}

.assessment-marks li::before {
  content: "—";
  color: var(--copper);
  margin-right: 0.5rem;
}

/* Glass form panel (both instances: hero + closing) */
.form-panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift);
  transition: border-color 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.form-panel.pulse {
  border-color: rgba(217, 142, 50, 0.6);
  box-shadow: var(--shadow-glow);
}

/* Hero instance: slightly denser so it lives above the fold */
.form-panel--hero {
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  background: rgba(10, 13, 18, 0.55);
}

.form-panel--hero .field {
  margin-bottom: 0.95rem;
}

.form-panel--hero .field textarea {
  min-height: 84px;
}

.form-panel .form-title {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.form-kicker {
  font-size: 0.9rem;
  color: var(--stone);
  margin-bottom: 1.5rem;
}

.form-panel--hero .form-kicker {
  margin-bottom: 1.2rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: rgba(242, 239, 233, 0.045);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}

.field textarea {
  resize: vertical;
  min-height: 108px;
}

.field ::placeholder {
  color: rgba(167, 173, 183, 0.6);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d98e32' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  padding-right: 2.6rem;
}

.field select:invalid {
  color: rgba(167, 173, 183, 0.75);
}

.field select option {
  background: var(--ink-800);
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: rgba(242, 239, 233, 0.06);
  box-shadow: 0 0 0 3px rgba(217, 142, 50, 0.18);
}

.form-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.form-fine {
  margin-top: 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--stone);
  text-align: center;
}

.form-fine a {
  color: var(--copper-bright);
  text-decoration-color: rgba(217, 142, 50, 0.5);
  text-underline-offset: 3px;
}

/* Success state — C's frictionless close, in B's clothes */
[data-form].is-done .form-body {
  display: none;
}

.form-success {
  text-align: center;
  padding-block: 1.2rem 0.6rem;
}

.form-success[hidden] {
  display: none;
}

.success-check {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  display: block;
  padding: 14px;
  border: 1px solid rgba(217, 142, 50, 0.45);
  border-radius: 50%;
  background: rgba(217, 142, 50, 0.08);
  color: var(--copper-bright);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-top: 1rem;
}

.form-success > p {
  color: var(--stone);
  font-size: 0.95rem;
  margin-top: 0.7rem;
  max-width: 40ch;
  margin-inline: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-950);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--stone);
  max-width: 34ch;
}

.footer-col h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--stone);
  transition: color 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--copper-bright);
  padding-left: 0.35rem;
}

.footer-col address {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--stone);
  display: grid;
  gap: 0.55rem;
}

.footer-col address a {
  padding-left: 0;
}

.footer-legal {
  border-top: 1px solid var(--line);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--stone);
}

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  gap: 1px;
  background: var(--line-strong);
  border-top: 1px solid var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -14px 34px -20px rgba(0, 0, 0, 0.9);
}

.callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.02rem 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.callbar-phone {
  background: var(--ink-850);
  color: var(--text);
}

.callbar-cta {
  background: var(--copper);
  color: var(--ink-950);
}

@media (max-width: 860px) {
  .callbar {
    display: flex;
  }
  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }
  [data-form-slab] {
    scroll-margin-bottom: 90px;
  }
}

/* ---------- Scroll-reveal system ----------
   Elements are hidden ONLY when JS confirms motion is allowed
   (html.motion-ok). No JS or reduced motion = everything visible. */
html.motion-ok [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

/* IntersectionObserver fallback path (GSAP absent) */
html.motion-ok.io-mode [data-reveal] {
  transition:
    opacity 0.95s var(--ease-out),
    transform 0.95s var(--ease-out);
  transition-delay: var(--d, 0s);
}

html.motion-ok.io-mode [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion: kill ALL motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }

  .ticker-track,
  .hero-bg::before,
  .hero-aurora--a,
  .hero-aurora--b,
  .scroll-cue::after {
    animation: none !important;
  }

  html.motion-ok [data-reveal],
  html.motion-ok [data-hero],
  html.motion-ok [data-hero-line] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ---------- Small-screen refinements ---------- */
@media (max-width: 640px) {
  .hero-inner {
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 6.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .section {
    padding-block: 4.2rem;
  }

  .emergency {
    flex-direction: column;
    align-items: flex-start;
  }
}
