/* ============================================================
   KETRON ROOFING - SITE v2 DESIGN SYSTEM
   ARCHITECTURE LAW: consumes SEMANTIC tokens only (--brand-*)
   from tokens.css. No hardcoded brand hexes. Lake Life flip =
   swap tokens.css + 3 brand images + src/config.ts. Nothing here.

   Function first: one job per viewport, call/text/book/estimate
   always one thumb away. KickCharge web translation: flat fields,
   badge first, slab display, hard-offset shadows, zero gradients,
   zero glows. ONE flourish: the shield chamfer on media frames.
   Composition rhythm (dark bookends, eyebrows, hairline cards,
   fluid clamp scale) per buildops-aesthetic extraction 2026-07-11.
   ============================================================ */

@font-face {
  font-family: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/alfa-slab-one-latin.woff2") format("woff2");
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--brand-body-font);
  background: var(--brand-off-white);
  color: var(--brand-text);
  line-height: var(--brand-leading-body);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand-link); }
a:hover { color: var(--brand-link-hover); }

::selection { background: var(--brand-accent-200); color: var(--brand-primary-900); }

h1, h2, h3, .display {
  font-family: var(--brand-display-font);
  font-weight: 400; /* Alfa Slab One ships one weight */
  letter-spacing: var(--brand-tracking-display);
}

/* Fluid display scale (390px -> 1440px), slab face */
:root {
  --fs-display: clamp(2.6rem, 1.9rem + 3vw, 4.4rem);
  --fs-h1: clamp(2.2rem, 1.7rem + 2.2vw, 3.6rem);
  --fs-h2: clamp(1.7rem, 1.4rem + 1.3vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.6rem);
  --fs-lede: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --fs-stat: clamp(2.4rem, 1.9rem + 2.1vw, 3.8rem);
  --notch: 48px;
  --wrap-max: 1200px;
}
@media (max-width: 700px) { :root { --notch: 28px; } }

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 0.5rem + 2vw, 2.5rem);
}

/* ---------- The ONE flourish: shield chamfer ---------- */

.chamfer {
  clip-path: polygon(
    var(--notch) 0, 100% 0,
    100% calc(100% - var(--notch)),
    calc(100% - var(--notch)) 100%,
    0 100%, 0 var(--notch)
  );
}

/* ---------- Eyebrow ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--brand-space-2);
  font-size: var(--brand-text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--brand-tracking-caps);
  color: var(--brand-text-muted);
  margin-bottom: var(--brand-space-3);
}

.eyebrow-mark {
  width: 0.75em;
  height: 0.75em;
  background: var(--brand-accent);
  flex-shrink: 0;
}

.band-navy .eyebrow { color: var(--brand-text-on-dark-muted); }

/* ---------- Header ---------- */

.site-header {
  background: var(--brand-surface);
  border-bottom: var(--brand-border-heavy);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: var(--brand-space-4);
  padding-top: var(--brand-space-2);
  padding-bottom: var(--brand-space-2);
}

.logo-link { flex-shrink: 0; display: flex; align-items: center; }
.logo-link img { height: 56px; width: auto; }

.site-nav {
  display: flex;
  gap: clamp(0.9rem, 0.4rem + 1vw, 1.5rem);
  margin-left: auto;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--brand-text);
  font-weight: 700;
  font-size: var(--brand-text-sm);
  padding: var(--brand-space-1) 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.site-nav a:hover, .site-nav a[aria-current="page"] {
  border-bottom-color: var(--brand-accent);
  color: var(--brand-text);
}

.site-nav a.header-call {
  background: var(--brand-accent);
  color: var(--brand-text-on-accent) !important;
  padding: var(--brand-space-3) var(--brand-space-4);
  border-radius: var(--brand-radius);
  text-decoration: none;
  font-family: var(--brand-display-font);
  font-size: var(--brand-text-base) !important;
  white-space: nowrap;
  border-bottom: none !important;
  box-shadow: var(--brand-shadow-hard);
}

.site-nav a.header-call:hover { background: var(--brand-accent-600); }
.site-nav a.header-call:active { box-shadow: none; transform: translateY(4px); }

/* Mobile drawer (no-JS details) */
.nav-drawer { display: none; margin-left: auto; position: relative; }

.nav-drawer summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--brand-space-3);
  border: 2px solid var(--brand-primary);
  border-radius: var(--brand-radius);
  background: var(--brand-surface);
}
.nav-drawer summary::-webkit-details-marker { display: none; }
.nav-drawer summary span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--brand-primary);
}

.nav-drawer[open] summary { background: var(--brand-primary); }
.nav-drawer[open] summary span { background: var(--brand-on-primary); }

.nav-drawer nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--brand-surface);
  border: var(--brand-border-heavy);
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow-lg);
  min-width: 240px;
  padding: var(--brand-space-3);
  display: flex;
  flex-direction: column;
  z-index: 60;
}

.nav-drawer nav a {
  text-decoration: none;
  color: var(--brand-text);
  font-weight: 700;
  padding: var(--brand-space-3);
  border-radius: var(--brand-radius-sm);
}
.nav-drawer nav a:hover { background: var(--brand-primary-50); }

.nav-drawer nav a.drawer-call {
  background: var(--brand-accent);
  color: var(--brand-text-on-accent);
  font-family: var(--brand-display-font);
  text-align: center;
  margin-top: var(--brand-space-2);
  border-radius: var(--brand-radius);
}

@media (max-width: 1020px) {
  .site-nav { display: none; }
  .nav-drawer { display: block; }
  .logo-link img { height: 46px; }
}

/* ---------- Breadcrumbs ---------- */

.crumbs {
  font-size: var(--brand-text-xs);
  color: var(--brand-text-muted);
  padding-top: var(--brand-space-3);
  display: flex;
  gap: var(--brand-space-2);
  flex-wrap: wrap;
}
.crumbs a { color: var(--brand-text-muted); text-decoration: none; font-weight: 700; }
.crumbs a:hover { color: var(--brand-link-hover); }
.crumbs [aria-current="page"] { color: var(--brand-text); font-weight: 700; }

/* ---------- Buttons ---------- */

.cta-row {
  display: flex;
  gap: var(--brand-space-3);
  flex-wrap: wrap;
}
.center .cta-row, .cta-row.center { justify-content: center; }

.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-family: var(--brand-display-font);
  font-size: var(--brand-text-lg);
  padding: var(--brand-space-3) var(--brand-space-8);
  border-radius: var(--brand-radius);
  line-height: 1.3;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand-accent);
  color: var(--brand-text-on-accent);
  box-shadow: var(--brand-shadow-hard);
}
.btn-primary:hover { background: var(--brand-accent-600); color: var(--brand-text-on-accent); }
.btn-primary:active { background: var(--brand-accent-700); box-shadow: none; transform: translateY(4px); }

.btn-secondary {
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  box-shadow: 0 4px 0 var(--brand-deep-700);
}
.btn-secondary:hover { background: var(--brand-primary-600); color: var(--brand-on-primary); }
.btn-secondary:active { box-shadow: none; transform: translateY(4px); }

.btn-ghost {
  background: transparent;
  color: var(--brand-primary);
  border: 3px solid var(--brand-primary);
}
.btn-ghost:hover { background: var(--brand-primary-50); }

.btn-outline-light {
  background: transparent;
  color: var(--brand-text-on-dark);
  border: 3px solid var(--brand-highlight-2);
}
.btn-outline-light:hover { border-color: var(--brand-accent); color: var(--brand-text-on-dark); }

.btn-block { display: block; width: 100%; }

.cta-note {
  margin-top: var(--brand-space-3);
  font-size: var(--brand-text-sm);
  color: var(--brand-text-muted);
}

/* ---------- Sections + rhythm ---------- */

section { padding: clamp(3rem, 2.4rem + 2.5vw, 5rem) 0; }

.section-title {
  font-size: var(--fs-h2);
  color: var(--brand-primary-900);
  line-height: var(--brand-leading-tight);
  margin-bottom: var(--brand-space-2);
  max-width: 24ch;
}

.section-title strong { color: var(--brand-accent-600); font-weight: inherit; }

.section-lede {
  color: var(--brand-primary-500);
  max-width: 58ch;
  margin-bottom: var(--brand-space-8);
  font-size: var(--fs-lede);
}

.center { text-align: center; }
.center .section-title { margin-left: auto; margin-right: auto; }
.center .section-lede { margin-left: auto; margin-right: auto; }

.band-navy {
  background: var(--brand-primary);
  color: var(--brand-text-on-dark);
}
.band-navy .section-title { color: var(--brand-text-on-dark); }
.band-navy .section-title strong { color: var(--brand-accent); }
.band-navy .section-lede { color: var(--brand-text-on-dark-muted); }

.band-deep { background: var(--brand-surface-dark); color: var(--brand-text-on-dark); }
.band-paper { background: var(--brand-surface); }

/* ---------- Hero (home) ---------- */

.hero-home {
  background: var(--brand-primary);
  color: var(--brand-text-on-dark);
  padding: clamp(3rem, 2rem + 4vw, 6rem) 0;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}

.hero-home h1 {
  font-size: var(--fs-display);
  line-height: var(--brand-leading-tight);
  color: var(--brand-text-on-dark);
  max-width: 15ch;
}

.hero-home h1 strong { color: var(--brand-accent); font-weight: inherit; }

.hero-home .hero-sub {
  font-size: var(--fs-lede);
  color: var(--brand-text-on-dark-muted);
  max-width: 46ch;
  margin: var(--brand-space-4) 0 var(--brand-space-8);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--brand-space-2);
  margin-top: var(--brand-space-8);
  padding: 0;
  list-style: none;
}

.trust-chips li {
  border: 1px solid var(--brand-highlight-2);
  color: var(--brand-text-on-dark);
  font-size: var(--brand-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--brand-tracking-caps);
  padding: var(--brand-space-2) var(--brand-space-3);
  border-radius: var(--brand-radius-full);
}

/* Hero launcher card (the 60-second start) */
.launcher {
  background: var(--brand-surface);
  color: var(--brand-text);
  border-radius: var(--brand-radius-xl);
  padding: var(--brand-space-8) var(--brand-space-6);
  box-shadow: var(--brand-shadow-lg);
}

.launcher h2 {
  font-size: var(--fs-h3);
  color: var(--brand-primary-900);
  margin-bottom: var(--brand-space-1);
}

.launcher .launcher-sub {
  font-size: var(--brand-text-sm);
  color: var(--brand-text-muted);
  margin-bottom: var(--brand-space-4);
}

.option-links { display: grid; gap: var(--brand-space-3); }

.option-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--brand-space-3);
  text-decoration: none;
  font-weight: 700;
  color: var(--brand-primary-900);
  background: var(--brand-off-white);
  border: 2px solid var(--brand-primary-200);
  border-radius: var(--brand-radius);
  padding: var(--brand-space-4);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option-links a::after { content: "\2192"; color: var(--brand-accent-600); font-size: 1.2em; }
.option-links a:hover { border-color: var(--brand-accent); background: var(--brand-accent-50); }

.option-links a.option-urgent {
  border-color: var(--brand-accent-600);
  background: var(--brand-accent-50);
}

.launcher .launcher-note {
  margin-top: var(--brand-space-4);
  font-size: var(--brand-text-xs);
  color: var(--brand-text-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-home h1 { max-width: none; }
}

/* ---------- Page head (inner pages) ---------- */

.page-head {
  background: var(--brand-primary);
  color: var(--brand-text-on-dark);
  padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0;
}

.page-head h1 {
  font-size: var(--fs-h1);
  line-height: var(--brand-leading-tight);
  color: var(--brand-text-on-dark);
  max-width: 20ch;
}

.page-head h1 strong { color: var(--brand-accent); font-weight: inherit; }

.page-head .hero-sub {
  margin-top: var(--brand-space-4);
  font-size: var(--fs-lede);
  color: var(--brand-text-on-dark-muted);
  max-width: 52ch;
}

.page-head .cta-row { margin-top: var(--brand-space-6); }
.page-head .eyebrow { color: var(--brand-text-on-dark-muted); }

/* ---------- Stat / proof cards ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--brand-space-6);
}

.stat-card {
  background: var(--brand-surface);
  border-top: 4px solid var(--brand-accent);
  border-radius: 0 0 var(--brand-radius-lg) var(--brand-radius-lg);
  padding: var(--brand-space-6);
  box-shadow: var(--brand-shadow-sm);
}

.stat-card .stat-number {
  font-family: var(--brand-display-font);
  font-size: var(--fs-stat);
  color: var(--brand-primary-900);
  line-height: 1;
}

.stat-card .stat-number small {
  font-size: 0.45em;
  color: var(--brand-accent-600);
}

.stat-card .stat-label {
  font-weight: 700;
  color: var(--brand-primary-900);
  margin-top: var(--brand-space-2);
}

.stat-card p:not(.stat-label):not(.stat-number) {
  color: var(--brand-primary-500);
  font-size: var(--brand-text-sm);
  margin-top: var(--brand-space-1);
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--brand-space-6);
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--brand-space-6); }

.path-card {
  background: var(--brand-surface);
  border-radius: var(--brand-radius-lg);
  border: 1px solid transparent;
  border-top: 6px solid var(--brand-accent);
  padding: var(--brand-space-6);
  box-shadow: var(--brand-shadow);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.path-card:hover { border-color: var(--brand-primary-300); border-top-color: var(--brand-accent); }

.path-card h3 { font-size: var(--fs-h3); color: var(--brand-primary-900); margin-bottom: var(--brand-space-2); }
.path-card p { color: var(--brand-primary-500); flex-grow: 1; }
.path-card ul { color: var(--brand-primary-500); margin: 0 0 var(--brand-space-2) var(--brand-space-6); flex-grow: 1; }
.path-card li { margin-bottom: var(--brand-space-1); }

.path-card .btn {
  margin-top: var(--brand-space-6);
  align-self: flex-start;
  font-size: var(--brand-text-base);
  padding: var(--brand-space-3) var(--brand-space-6);
}

.card-price {
  font-family: var(--brand-display-font);
  color: var(--brand-accent-600);
  font-size: var(--brand-text-2xl);
  line-height: 1;
  margin-bottom: var(--brand-space-2);
}

/* ---------- Offer card ($199 wedge) ---------- */

.offer-card {
  background: var(--brand-surface);
  border: var(--brand-border-heavy);
  border-radius: var(--brand-radius-xl);
  padding: var(--brand-space-8);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--brand-space-8);
  align-items: center;
  box-shadow: var(--brand-shadow-lg);
}

.offer-price {
  font-family: var(--brand-display-font);
  font-size: var(--brand-text-5xl);
  color: var(--brand-accent-600);
  line-height: 1;
  white-space: nowrap;
}

.offer-price small {
  display: block;
  font-family: var(--brand-body-font);
  font-size: var(--brand-text-sm);
  color: var(--brand-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--brand-tracking-caps);
  margin-top: var(--brand-space-2);
}

.offer-body h3, .offer-body h2 { font-size: var(--brand-text-xl); color: var(--brand-primary-900); margin-bottom: var(--brand-space-2); }
.offer-body p { color: var(--brand-primary-500); max-width: 52ch; }

@media (max-width: 860px) {
  .offer-card { grid-template-columns: 1fr; text-align: center; gap: var(--brand-space-4); }
  .offer-body p { margin: 0 auto; }
}

/* ---------- Story block ---------- */

.story {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

.story-media {
  background: var(--brand-surface); /* lockup on white only, never over photos */
  border-radius: var(--brand-radius-lg);
  padding: var(--brand-space-6);
  box-shadow: var(--brand-shadow);
}

.story-copy p { margin-bottom: var(--brand-space-4); font-size: var(--fs-lede); }
.story-copy .tagline {
  font-family: var(--brand-display-font);
  color: var(--brand-primary);
  font-size: var(--fs-h3);
  line-height: var(--brand-leading-tight);
}

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story-media { max-width: 340px; margin: 0 auto; }
}

/* ---------- Reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--brand-space-6);
}

.review-card {
  background: var(--brand-surface);
  color: var(--brand-text);
  border-radius: var(--brand-radius-lg);
  padding: var(--brand-space-6);
  border-left: 6px solid var(--brand-accent);
  box-shadow: var(--brand-shadow);
  text-align: left;
}

.review-card blockquote { font-size: var(--brand-text-base); margin-bottom: var(--brand-space-3); }
.review-card cite { font-style: normal; font-weight: 700; color: var(--brand-primary); font-size: var(--brand-text-sm); }

.review-stars {
  color: var(--brand-accent-600);
  font-size: var(--brand-text-lg);
  letter-spacing: 0.1em;
  margin-bottom: var(--brand-space-2);
}

.placeholder-flag {
  display: inline-block;
  background: var(--brand-accent-100);
  color: var(--brand-accent-800);
  font-size: var(--brand-text-xs);
  font-weight: 700;
  padding: var(--brand-space-1) var(--brand-space-2);
  border-radius: var(--brand-radius-sm);
  margin-bottom: var(--brand-space-2);
}

/* ---------- Process steps ---------- */

.steps { counter-reset: step; display: grid; gap: var(--brand-space-6); }
.steps.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.step {
  counter-increment: step;
  background: var(--brand-surface);
  border-radius: var(--brand-radius-lg);
  padding: var(--brand-space-6);
  box-shadow: var(--brand-shadow-sm);
  position: relative;
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--brand-radius);
  background: var(--brand-accent);
  color: var(--brand-text-on-accent);
  font-family: var(--brand-display-font);
  font-size: var(--brand-text-lg);
  margin-bottom: var(--brand-space-3);
  box-shadow: 0 3px 0 var(--brand-accent-700);
}

.step h3 { font-size: var(--brand-text-lg); color: var(--brand-primary-900); margin-bottom: var(--brand-space-2); }
.step p { color: var(--brand-primary-500); font-size: var(--brand-text-base); }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }
.center .faq { margin: 0 auto; text-align: left; }

.faq-item {
  background: var(--brand-surface);
  border: 1px solid var(--brand-primary-200);
  border-radius: var(--brand-radius);
  margin-bottom: var(--brand-space-3);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-primary-900);
  padding: var(--brand-space-4) var(--brand-space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--brand-space-3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand-accent-600); font-family: var(--brand-display-font); font-size: 1.4em; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px dashed var(--brand-primary-200); }

.faq-item .faq-body { padding: var(--brand-space-4) var(--brand-space-6); color: var(--brand-primary-500); }
.faq-item .faq-body p { margin-bottom: var(--brand-space-2); }

/* ---------- Service area ---------- */

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--brand-space-3);
  list-style: none;
  justify-content: center;
}

.area-list a {
  display: inline-block;
  background: var(--brand-surface);
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary-900);
  font-weight: 700;
  padding: var(--brand-space-2) var(--brand-space-6);
  border-radius: var(--brand-radius-full);
  font-size: var(--brand-text-base);
  text-decoration: none;
  transition: background 0.15s ease;
}
.area-list a:hover { background: var(--brand-accent-50); border-color: var(--brand-accent-600); color: var(--brand-primary-900); }

/* ---------- Supersized phone band ---------- */

.phone-hero { text-align: center; }

.phone-hero .phone-number {
  display: inline-block;
  font-family: var(--brand-display-font);
  font-size: clamp(var(--brand-text-2xl), 7vw, var(--brand-text-5xl));
  color: var(--brand-text-on-dark);
  text-decoration: none;
  line-height: var(--brand-leading-tight);
}
.phone-hero .phone-number:hover { color: var(--brand-accent); }

.phone-hero .domain {
  color: var(--brand-text-on-dark-muted);
  font-weight: 700;
  font-size: var(--brand-text-lg);
  margin-top: var(--brand-space-2);
}

.phone-hero .cta-row { justify-content: center; }

/* ---------- Content pages ---------- */

.content-block { max-width: 720px; }
.content-block h2 { font-size: var(--brand-text-xl); color: var(--brand-primary-900); margin: var(--brand-space-8) 0 var(--brand-space-2); }
.content-block h2:first-child { margin-top: 0; }
.content-block p { margin-bottom: var(--brand-space-4); }
.content-block ul { margin: 0 0 var(--brand-space-4) var(--brand-space-6); }
.content-block li { margin-bottom: var(--brand-space-2); }

.mitch-flag {
  background: var(--brand-accent-50);
  border-left: 5px solid var(--brand-accent-600);
  padding: var(--brand-space-3) var(--brand-space-4);
  border-radius: var(--brand-radius);
  font-size: var(--brand-text-sm);
  color: var(--brand-accent-900);
  margin: var(--brand-space-4) 0;
}

.urgent-banner {
  background: var(--brand-accent);
  color: var(--brand-text-on-accent);
  border-radius: var(--brand-radius);
  padding: var(--brand-space-4) var(--brand-space-6);
  font-weight: 700;
  margin: var(--brand-space-4) 0;
}
.urgent-banner a { color: var(--brand-primary-900); }

/* ---------- Forms ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.lead-form label, .contact-form label {
  display: block;
  font-weight: 700;
  margin: var(--brand-space-4) 0 var(--brand-space-1);
}

.lead-form input, .lead-form textarea, .lead-form select,
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: var(--brand-space-3);
  border: 2px solid var(--brand-primary-200);
  border-radius: var(--brand-radius-sm);
  font-family: inherit;
  font-size: var(--brand-text-base);
  background: var(--brand-surface);
  color: var(--brand-text);
}

.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus,
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  box-shadow: var(--brand-focus-ring);
  border-color: var(--brand-accent);
}

.form-note { font-size: var(--brand-text-sm); color: var(--brand-text-muted); margin-top: var(--brand-space-3); }

.form-status {
  margin-top: var(--brand-space-4);
  padding: var(--brand-space-4);
  border-radius: var(--brand-radius);
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  font-weight: 700;
  display: none;
}
.form-status.show { display: block; }
.form-status a { color: var(--brand-accent-300); }

/* Honeypot: visually gone, present for bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Wizard (instant estimate) ---------- */

.wizard {
  background: var(--brand-surface);
  border-radius: var(--brand-radius-xl);
  box-shadow: var(--brand-shadow-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  max-width: 720px;
  margin: 0 auto;
}

.wizard-progress {
  display: flex;
  gap: var(--brand-space-2);
  margin-bottom: var(--brand-space-6);
}

.wizard-progress span {
  flex: 1;
  height: 6px;
  border-radius: var(--brand-radius-full);
  background: var(--brand-primary-100);
}
.wizard-progress span.done { background: var(--brand-accent); }

.wizard-step { display: none; }
.wizard-step.active { display: block; }

.wizard h2 { font-size: var(--fs-h3); color: var(--brand-primary-900); margin-bottom: var(--brand-space-4); }

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--brand-space-3);
  margin-bottom: var(--brand-space-4);
}

.option-grid label {
  position: relative;
  display: block;
  margin: 0;
  border: 2px solid var(--brand-primary-200);
  border-radius: var(--brand-radius);
  padding: var(--brand-space-4);
  font-weight: 700;
  color: var(--brand-primary-900);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option-grid input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option-grid label:has(input:checked) {
  border-color: var(--brand-accent);
  background: var(--brand-accent-50);
  box-shadow: 0 3px 0 var(--brand-accent-600);
}
.option-grid label:hover { border-color: var(--brand-accent-400); }

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--brand-space-3);
  margin-top: var(--brand-space-6);
}

.wizard-back {
  background: none;
  border: none;
  color: var(--brand-text-muted);
  font-weight: 700;
  cursor: pointer;
  font-size: var(--brand-text-base);
  padding: var(--brand-space-3);
}
.wizard-back:hover { color: var(--brand-primary); }

.wizard-review {
  background: var(--brand-off-white);
  border-radius: var(--brand-radius);
  padding: var(--brand-space-4);
  margin-bottom: var(--brand-space-4);
}
.wizard-review dt { font-weight: 700; font-size: var(--brand-text-xs); text-transform: uppercase; letter-spacing: var(--brand-tracking-caps); color: var(--brand-text-muted); margin-top: var(--brand-space-3); }
.wizard-review dt:first-child { margin-top: 0; }
.wizard-review dd { margin: 0; color: var(--brand-primary-900); font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brand-surface-dark);
  color: var(--brand-text-on-dark-muted);
  padding: var(--brand-space-16) 0 var(--brand-space-8);
  font-size: var(--brand-text-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--brand-space-8);
  align-items: start;
}

.footer-brand img { height: 64px; width: auto; margin-bottom: var(--brand-space-4); }
.footer-brand p { margin-bottom: var(--brand-space-1); }

.site-footer a { color: var(--brand-text-on-dark); font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--brand-accent); }
.site-footer nav p { margin-bottom: var(--brand-space-2); }

.footer-head {
  font-family: var(--brand-display-font);
  color: var(--brand-text-on-dark);
  font-size: var(--brand-text-base);
  margin-bottom: var(--brand-space-3);
  text-transform: uppercase;
  letter-spacing: var(--brand-tracking-caps);
}

.footer-tag {
  font-family: var(--brand-display-font);
  color: var(--brand-text-on-dark);
  font-size: var(--brand-text-base);
}

.social-row {
  display: flex;
  gap: var(--brand-space-3);
  margin-top: var(--brand-space-4);
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--brand-deep-600);
  border-radius: var(--brand-radius);
  color: var(--brand-text-on-dark);
}
.social-row a:hover { color: var(--brand-accent); border-color: var(--brand-accent); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: var(--brand-space-4);
  flex-wrap: wrap;
  border-top: 1px dashed var(--brand-deep-600);
  margin-top: var(--brand-space-8);
  padding-top: var(--brand-space-4);
  font-size: var(--brand-text-xs);
}

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


/* ---------- Persistent action bar (all viewports, Owl pattern:
     text left, round call center, instant estimate right) ---------- */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--brand-deep-700);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
  padding: var(--brand-space-2) var(--brand-space-4);
}

.sticky-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--brand-space-2);
  text-align: center;
  font-family: var(--brand-display-font);
  font-size: var(--brand-text-sm);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: var(--brand-tracking-caps);
  text-transform: uppercase;
}

.sticky-bar .bar-text { color: var(--brand-on-primary); justify-self: start; }
.sticky-bar .bar-text:hover { color: var(--brand-accent); }

.sticky-bar .bar-call {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--brand-primary-900);
  border: 4px solid var(--brand-deep-700);
  box-shadow: 0 4px 0 var(--brand-accent-700);
  margin-top: -26px; /* pops above the bar */
}
.sticky-bar .bar-call:hover { background: var(--brand-accent-400); color: var(--brand-primary-900); }

.sticky-bar .bar-estimate { color: var(--brand-accent); justify-self: end; }
.sticky-bar .bar-estimate:hover { color: var(--brand-on-primary); }

body { padding-bottom: 76px; } /* clears the persistent bar */
.site-footer { padding-bottom: var(--brand-space-12); }

/* ---------- Differentiator band ---------- */

.diff-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--brand-space-6);
}

.diff-grid li {
  background: var(--brand-surface);
  border-radius: var(--brand-radius-lg);
  padding: var(--brand-space-6);
  box-shadow: var(--brand-shadow-sm);
  border: 1px solid var(--brand-primary-100);
}

.diff-grid .diff-title {
  font-weight: 800;
  color: var(--brand-primary-900);
  margin-bottom: var(--brand-space-1);
}

.diff-grid p:not(.diff-title) {
  color: var(--brand-primary-500);
  font-size: var(--brand-text-sm);
}

/* ---------- 404 ---------- */

.notfound {
  text-align: center;
  padding: var(--brand-space-24) 0;
  background: var(--brand-surface);
}
.notfound img { max-width: 300px; margin: 0 auto var(--brand-space-6); }
.notfound h1 { font-size: var(--fs-h1); margin-bottom: var(--brand-space-3); }

/* ---------- Utility ---------- */

.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;
}

/* ============================================================
   CRAFT LAYER v2.1 - the soul pass.
   Visual language derived from the product: rooflines divide
   sections, gable geometry, blueprint texture on navy fields,
   badge-as-sticker, offer poster. All vector, all tokens.
   ============================================================ */

/* ---------- Roofline dividers ---------- */

.roof-divider { line-height: 0; }
.roof-divider svg { display: block; width: 100%; height: clamp(36px, 7vw, 84px); }
.roof-divider-skyline svg { height: clamp(78px, 12vw, 150px); }
.roof-divider-flip svg { transform: scaleX(-1); }

/* Divider overlapping the bottom of a colored band */
.band-navy .roof-divider, .hero-home .roof-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 2;
}

/* ---------- Blueprint texture on navy fields ---------- */

.hero-home, .band-navy, .page-head {
  position: relative;
  overflow: hidden;
}

.hero-home::before, .band-navy::before, .page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.hero-home > .wrap, .band-navy > .wrap, .page-head > .wrap { position: relative; z-index: 1; }

/* ---------- Hero v2 ---------- */

.hero-home { padding-bottom: clamp(7rem, 14vw, 12rem); }

.hero-home h1 { font-size: clamp(2.9rem, 2rem + 3.8vw, 5rem); }

.badge-sticker {
  display: inline-block;
  background: var(--brand-surface);
  border: 3px solid var(--brand-primary-deep);
  border-radius: var(--brand-radius-lg);
  padding: var(--brand-space-3) var(--brand-space-4);
  box-shadow: 6px 6px 0 rgba(22, 42, 66, 0.55);
  transform: rotate(-2deg);
  margin-bottom: var(--brand-space-6);
}
.badge-sticker img { width: 210px; height: auto; }

/* ---------- Launcher v2 ---------- */

.launcher {
  position: relative;
  border-top: 6px solid var(--brand-accent);
  box-shadow: 10px 10px 0 rgba(22, 42, 66, 0.45);
}

.option-links a { padding: var(--brand-space-3) var(--brand-space-4); }

.option-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--brand-radius);
  background: var(--brand-accent-100);
  color: var(--brand-accent-700);
  border: 1px solid var(--brand-accent-200);
}

.option-links a .option-label { flex-grow: 1; }

.option-links a.option-urgent .option-ico {
  background: var(--brand-accent);
  color: var(--brand-primary-900);
  border-color: var(--brand-accent-600);
}

/* ---------- Icon chips (service cards, steps) ---------- */

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--brand-radius);
  background: var(--brand-accent-50);
  border: 1px solid var(--brand-accent-200);
  color: var(--brand-accent-700);
  margin-bottom: var(--brand-space-4);
}

/* ---------- Stat cards v2 ---------- */

.stat-card { border-top-width: 6px; }
.stat-card .stat-number { letter-spacing: 0.01em; }

.stat-card-invert {
  background: var(--brand-primary);
  border-top-color: var(--brand-accent);
}
.stat-card-invert .stat-number { color: var(--brand-on-primary); }
.stat-card-invert .stat-label { color: var(--brand-on-primary); }
.stat-card-invert p:not(.stat-label):not(.stat-number) { color: var(--brand-highlight-2); }

/* ---------- Offer poster ($199 wedge, Hormozi stack visible) ---------- */

.offer-poster {
  position: relative;
  background: var(--brand-primary);
  color: var(--brand-text-on-dark);
  border-radius: var(--brand-radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  box-shadow: var(--brand-shadow-lg);
}

.offer-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.offer-poster-body {
  position: relative;
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
}

.offer-poster-body h2 {
  font-size: var(--fs-h2);
  color: var(--brand-text-on-dark);
  margin-bottom: var(--brand-space-2);
}

.offer-poster-body .offer-kicker {
  color: var(--brand-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--brand-tracking-caps);
  font-size: var(--brand-text-sm);
  margin-bottom: var(--brand-space-2);
}

.value-stack {
  list-style: none;
  margin: var(--brand-space-4) 0;
  display: grid;
  gap: var(--brand-space-2);
}

.value-stack li {
  display: flex;
  gap: var(--brand-space-2);
  align-items: baseline;
  color: var(--brand-text-on-dark);
}

.value-stack li::before {
  content: "\2713";
  color: var(--brand-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.offer-anchor {
  border-left: 3px solid var(--brand-accent);
  padding-left: var(--brand-space-3);
  color: var(--brand-highlight-2);
  font-size: var(--brand-text-sm);
  margin: var(--brand-space-4) 0;
}

.offer-poster-price {
  position: relative;
  background: var(--brand-primary-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  gap: var(--brand-space-2);
  border-left: 1px dashed rgba(255, 255, 255, 0.25);
}

.offer-poster-price .price-big {
  font-family: var(--brand-display-font);
  font-size: clamp(3.4rem, 2.4rem + 4vw, 5.2rem);
  line-height: 1;
  color: var(--brand-accent);
}

.offer-poster-price .price-note {
  color: var(--brand-highlight-2);
  font-size: var(--brand-text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--brand-tracking-caps);
}

.ribbon {
  position: absolute;
  top: 18px;
  right: -44px;
  transform: rotate(38deg);
  background: var(--brand-accent);
  color: var(--brand-primary-900);
  font-family: var(--brand-display-font);
  font-size: var(--brand-text-xs);
  letter-spacing: var(--brand-tracking-caps);
  padding: var(--brand-space-1) var(--brand-space-12);
  z-index: 1;
}

@media (max-width: 860px) {
  .offer-poster { grid-template-columns: 1fr; }
  .offer-poster-price { border-left: none; border-top: 1px dashed rgba(255, 255, 255, 0.25); }
}

/* ---------- Reviews v2 ---------- */

.review-card { position: relative; padding-top: var(--brand-space-8); }

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 0.2rem;
  left: var(--brand-space-4);
  font-family: var(--brand-display-font);
  font-size: 4.4rem;
  line-height: 1;
  color: var(--brand-accent-200);
}

.chip {
  display: inline-block;
  background: var(--brand-primary-50);
  color: var(--brand-primary-600);
  border: 1px solid var(--brand-primary-200);
  border-radius: var(--brand-radius-full);
  font-size: var(--brand-text-xs);
  font-weight: 700;
  padding: 2px var(--brand-space-3);
  margin-left: var(--brand-space-2);
}

/* ---------- Phone band v2 ---------- */

.phone-hero .section-title { max-width: none; }

.phone-hero .phone-number {
  font-size: clamp(2.6rem, 1.4rem + 6.5vw, 5.6rem);
  text-decoration: none;
  border-bottom: 6px solid var(--brand-accent);
}
.phone-hero .phone-number:hover { color: var(--brand-accent); border-bottom-color: var(--brand-on-primary); }

/* ---------- Scroll reveal (progressive, motion-safe, FAIL-OPEN) ----------
   Hidden state only applies when JS has stamped html.js-reveal, so no-JS
   visitors, crawlers, and screenshots always see full content. site.js also
   runs a failsafe timer that reveals anything the observer missed. */

@media (prefers-reduced-motion: no-preference) {
  html.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
  html.js-reveal .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Header polish ---------- */

.site-header { border-bottom-width: 4px; border-bottom-color: var(--brand-accent); }

