/* ============================================================
   American Windows, Doors & Blinds
   Palette: deep navy dominant, white fields, red as a sharp accent.
   Structure: a window-muntin grid — hairline rules, no soft shadows.
   ============================================================ */

:root {
  /* color */
  --ink:        #0A1A2F;   /* dominant navy */
  --ink-2:      #14294A;   /* raised navy */
  --ink-3:      #1E3A63;   /* hover navy */
  --paper:      #F5F7FA;   /* cool off-white */
  --white:      #FFFFFF;
  --red:        #C8102E;   /* flag red, deepened */
  --red-dark:   #9E0C24;
  --glass:      #8FB4D4;   /* cool glass tint */
  --glass-pale: #DCE8F2;
  --steel:      #5C7189;   /* muted text on light */
  --steel-2:    #8FA0B3;

  --rule-light: rgba(10, 26, 47, 0.12);
  --rule-dark:  rgba(255, 255, 255, 0.14);

  /* type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* layout */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 3px;   /* windows are square. keep it tight. */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* `clip`, not `hidden` — `hidden` would break the sticky header. */
  overflow-x: clip;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--red); color: var(--white);
  padding: 0.75rem 1.25rem; font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { transform: translate(-50%, 0); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.section-dark :focus-visible,
.hero :focus-visible,
.section-quote :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

/* ─────────── shared bits ─────────── */

.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--display);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 1.25rem;
}
.eyebrow-rule {
  width: 28px; height: 2px; background: var(--red);
  flex: none;
}
.eyebrow-light { color: var(--glass); }

.section { padding-block: var(--section-y); }

.section-head { max-width: 44rem; margin: 0 auto clamp(3rem, 5vw, 4.5rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head-left { margin-inline: 0; text-align: left; }
.section-head-left .eyebrow { justify-content: flex-start; }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.section-lede {
  font-size: 1.125rem;
  color: var(--steel);
  text-wrap: pretty;
}
.section-dark .section-lede,
.section-quote .section-lede { color: var(--glass); }
.section-dark .section-title,
.section-quote .section-title { color: var(--white); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 700; font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--rule-light); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.875rem; }
.btn-lg { padding: 1.15rem 1.6rem; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }

.text-link {
  font-family: var(--display); font-weight: 700;
  color: var(--red); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease;
}
.text-link:hover { border-bottom-color: var(--red); }

/* ═══════════════════════ HEADER ═══════════════════════ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 26, 47, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-dark);
  transition: background-color .25s ease;
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
/* This is a <span>. Without display:block it stays inline, width/height are
   ignored, and the SVG inside blows up to its default size — which it did. */
.brand-mark {
  display: block;
  width: 26px; height: 26px;
  color: var(--red);
  flex: none;
}
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--display); font-weight: 800; font-size: 1.0625rem;
  letter-spacing: -0.01em; color: var(--white);
}
.brand-sub {
  font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--steel-2);
}

.nav { display: flex; gap: 1.75rem; }
.nav a {
  font-size: 0.9375rem; font-weight: 500;
  color: var(--glass); text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover, .nav a.is-current { color: var(--white); border-bottom-color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.phone-link {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--display); font-weight: 700; font-size: 0.9375rem;
  color: var(--white); text-decoration: none;
  white-space: nowrap;
}
.phone-link svg { width: 15px; height: 15px; color: var(--red); flex: none; }
.phone-link:hover { color: var(--glass); }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--rule-dark);
  border-radius: var(--radius); cursor: pointer; padding: 0 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--white);
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════ HERO ═══════════════════════ */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

/* Ambient glow behind everything. */
.hero-glass {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(143,180,212,.20) 0%, transparent 58%),
    radial-gradient(90% 70% at 10% 100%, rgba(200,16,46,.16) 0%, transparent 60%),
    linear-gradient(180deg, #0D2039 0%, #0A1A2F 100%);
}

/* A single shaft of daylight sweeping slowly across the panel.
   It fades in and out at the ends of its travel, so the loop never snaps back
   in view — the ray simply passes, and a while later passes again. */
.hero-glass::after {
  content: "";
  position: absolute;
  top: -25%; bottom: -25%; left: -15%; right: -15%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(201, 226, 246, .07) 45%,
    rgba(201, 226, 246, .15) 50%,
    rgba(201, 226, 246, .07) 55%,
    transparent 62%
  );
  filter: blur(8px);
  animation: sweep 16s ease-in-out infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-42%); opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: translateX(42%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glass::after { animation: none; opacity: .5; transform: none; }
}

.hero-inner {
  position: relative; z-index: 1;
  /* Kept tight on purpose: the form card has to clear the fold on a 1366x625
     laptop viewport, or the phone field lands below the screen. */
  padding-block: clamp(2rem, 3.5vw, 3rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-inner > * { min-width: 0; }

.hero-title {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  letter-spacing: -0.035em;
  margin: 0;
}
.hero-line { display: block; }
.hero-line:last-child { color: var(--glass); }

.hero-lede {
  max-width: 34rem;
  margin-top: 1.75rem;
  font-size: 1.0625rem;
  color: var(--glass);
  text-wrap: pretty;
}

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }

.btn-text-light {
  font-family: var(--display); font-weight: 700; font-size: 0.9375rem;
  color: var(--glass); text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.btn-text-light:hover { color: var(--white); border-bottom-color: var(--red); }

/* ── hero quote form ── */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--red);
  padding: 1.5rem;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.55);
}
.hero-form-title {
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.hero-form-sub {
  font-size: 0.8125rem;
  color: var(--steel);
  line-height: 1.45;
  margin-bottom: 1.125rem;
}
.hero-form-card .field { margin-bottom: 0.75rem; }
.hero-form-card .field label { margin-bottom: 0.25rem; font-size: 0.8125rem; }
.hero-form-card .field input { padding: 0.65rem 0.8rem; }
.hero-form-card .btn-block { margin-top: 0.25rem; }

.hero-form-alt {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--rule-light);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--steel);
}
.hero-form-alt a {
  font-family: var(--display); font-weight: 700;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--red);
}
.hero-form-alt a:hover { color: var(--red); }

/* trust strip */
.trust {
  position: relative; z-index: 1;
  border-top: 1px solid var(--rule-dark);
  background: rgba(0,0,0,.18);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 1.75rem 1.5rem;
  border-left: 1px solid var(--rule-dark);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong {
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  color: var(--white); letter-spacing: -0.02em;
}
.trust-item span { font-size: 0.875rem; color: var(--steel-2); line-height: 1.4; }

/* ═══════════════════════ REVIEW BADGES ═══════════════════════ */

.badges-band {
  background: var(--white);
  border-bottom: 1px solid var(--rule-light);
  padding-block: 2rem;
}

/* Deliberately loud. This row is fabricated and must not ship. */
.sample-flag {
  max-width: 46rem;
  margin: 0 auto 1.75rem;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--red-dark);
  background: #FFF3F5;
  border: 1px dashed var(--red);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
}
.sample-flag strong { font-family: var(--display); }

.badges {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.badge {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  text-align: center;
  padding: 1rem 0.75rem;
  border-left: 1px solid var(--rule-light);
}
.badge:first-child { border-left: 0; }

.badge-stars { color: var(--red); font-size: 0.875rem; letter-spacing: 0.12em; }
.badge-score {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  color: var(--ink); line-height: 1.1;
}
.badge-grade {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  color: var(--ink); line-height: 1.1;
}
.badge-meta {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--steel-2);
}

/* ═══════════════════════ FINANCING ═══════════════════════ */

.financing {
  background: var(--ink-2);
  color: var(--white);
  border-top: 3px solid var(--red);
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}
.financing-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.financing-copy { max-width: 44rem; }
.financing-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.financing-lede {
  font-size: 1rem;
  color: var(--glass);
  line-height: 1.6;
  text-wrap: pretty;
}
.financing-lede + .financing-lede { margin-top: 0.875rem; }
.financing-lede strong { color: var(--white); }

.soon-chip {
  font-family: var(--display); font-weight: 700;
  font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--red); color: var(--white);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

/* ═══════════════════════ HOW IT WORKS ═══════════════════════ */

.section-how { background: var(--white); }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--paper);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
}
.step-num {
  font-family: var(--display); font-weight: 800;
  font-size: 2.5rem; line-height: 1;
  color: var(--glass-pale);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}
.step-title { font-size: 1.375rem; margin-bottom: 0.75rem; }
.step-body {
  font-size: 0.9375rem; color: var(--steel); line-height: 1.6;
  flex: 1;
  text-wrap: pretty;
}
.step-cost {
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid var(--rule-light);
  font-family: var(--display); font-weight: 700; font-size: 0.875rem;
  color: var(--ink);
}

/* ═══════════════════════ STICKY CALL BAR (phones) ═══════════════════════ */

.callbar {
  display: none;   /* shown at <=900px */
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 90;
  border-top: 1px solid rgba(255,255,255,.16);
}
.callbar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 0.75rem;
  font-family: var(--display); font-weight: 700; font-size: 0.9375rem;
  text-decoration: none;
}
.callbar svg { width: 15px; height: 15px; }
.callbar-phone { background: var(--ink); color: var(--white); }
.callbar-quote { background: var(--red); color: var(--white); }

/* ═══════════════════════ TIERS ═══════════════════════ */

.section-tiers { background: var(--paper); }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.tier {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
}

.tier-featured {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
  padding-top: 2.75rem;
}
.tier-flag {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--red); color: var(--white);
  font-family: var(--display); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center;
  padding: 0.5rem;
  border-radius: 2px 2px 0 0;
}

.tier-label {
  font-family: var(--display); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.tier-name { font-size: 2rem; margin-bottom: 0.75rem; }
.tier-pitch {
  font-size: 0.9375rem; color: var(--steel);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ─── SIGNATURE: the glass cross-section ─── */
.glass-fig {
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1rem 0.875rem;
  background: linear-gradient(180deg, #F0F5FA 0%, #E4EDF5 100%);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
}
.glass-svg { width: 100%; height: auto; display: block; }

.g-frame  { fill: var(--ink); }
.g-lite   { fill: rgba(143,180,212,.55); stroke: var(--glass); stroke-width: 1; }
.g-gas    { fill: rgba(143,180,212,.10); }
.g-gas-argon { fill: rgba(143,180,212,.22); }  /* argon reads denser than air */
.g-spacer { fill: var(--steel); }              /* warm-edge spacer sealing the unit */
.g-lowe   { fill: var(--red); }

.glass-cap {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--steel);
  letter-spacing: 0.01em;
}
.pane-count {
  font-family: var(--display); font-weight: 800;
  color: var(--ink);
}
/* ties the words to the red hairline in the diagram above */
.lowe-word { color: var(--red); font-weight: 600; }

/* specs table */
.specs { margin: 0 0 1.75rem; }
.specs > div {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule-light);
}
.specs > div:first-child { border-top: 1px solid var(--rule-light); }
.specs dt {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel-2);
}
.specs dd {
  margin: 0;
  font-family: var(--display); font-weight: 600; font-size: 0.9375rem;
  color: var(--ink);
  text-align: right;
}

.tier .btn-block { margin-top: auto; }

.tier-note {
  max-width: 46rem;
  margin: clamp(3rem, 5vw, 4rem) auto 0;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--red);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--steel);
  line-height: 1.65;
  text-wrap: pretty;
}
.tier-note strong { color: var(--ink); font-family: var(--display); }

/* ═══════════════════════ PROJECTS ═══════════════════════ */

.section-dark { background: var(--ink); }

.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.chip {
  font-family: var(--display); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--glass);
  background: transparent;
  border: 1px solid var(--rule-dark);
  border-radius: 100px;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { border-color: var(--glass); color: var(--white); }
.chip.is-active {
  background: var(--red); border-color: var(--red); color: var(--white);
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project {
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  transition: border-color .2s ease, transform .2s ease;
}
.project:hover { border-color: var(--glass); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .project:hover { transform: none; }
}

.project[hidden] { display: none; }

.project-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.6,.2,1);
}
.project:hover .project-img img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .project:hover .project-img img { transform: none; }
}

.project-tier {
  position: absolute; top: 0.875rem; left: 0.875rem;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
  border-left: 3px solid var(--red);
}

.project-body { padding: 1.5rem; }
.project-body h3 { font-size: 1.375rem; color: var(--white); margin-bottom: 0.3rem; }
.project-loc {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.875rem;
}
.project-scope { font-size: 0.9375rem; color: var(--glass); line-height: 1.55; text-wrap: pretty; }

.projects-empty { text-align: center; color: var(--glass); margin-top: 2rem; }

.projects-note {
  max-width: 40rem;
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--steel-2);
  line-height: 1.6;
}

/* ═══════════════════════ REVIEWS ═══════════════════════ */

.section-reviews { background: var(--white); }

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.review {
  margin: 0;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  border-top: 3px solid var(--ink);
  display: flex; flex-direction: column;
}
.review:nth-child(even) { border-top-color: var(--red); }

.stars { color: var(--red); font-size: 1rem; letter-spacing: 0.15em; margin-bottom: 1rem; }

.review blockquote { margin: 0 0 1.5rem; flex: 1; }
.review blockquote p {
  font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
}
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after  { content: "\201D"; }

.review figcaption {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-light);
}
.review-name { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.review-meta {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--steel-2);
}

/* ═══════════════════════ DOORS & BLINDS ═══════════════════════ */

.section-more { background: var(--paper); border-top: 1px solid var(--rule-light); }
.section-more .section-head { margin-bottom: 3rem; }

.more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.more-card {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
}
.more-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.more-card p { font-size: 0.9375rem; color: var(--steel); line-height: 1.6; margin-bottom: 1.25rem; text-wrap: pretty; }

/* ═══════════════════════ QUOTE ═══════════════════════ */

.section-quote { background: var(--ink); color: var(--white); }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
/* Grid items won't shrink below their longest word by default, and the email
   address is one long unbreakable string — without this it widens the page. */
.quote-grid > * { min-width: 0; }
.quote-intro .section-title { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }

.contact-list { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.contact-list li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule-dark);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.contact-list li:last-child { border-bottom: 1px solid var(--rule-dark); }
.contact-label {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel-2);
}
.contact-value {
  font-family: var(--display); font-weight: 700; font-size: 1.125rem;
  color: var(--white); text-decoration: none;
  transition: color .18s ease;
  overflow-wrap: anywhere;   /* the email address has to be allowed to break */
}
a.contact-value:hover { color: var(--glass); }
.contact-plain {
  font-family: var(--body); font-weight: 400; font-size: 0.9375rem;
  color: var(--glass); line-height: 1.55;
}

/* form */
.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 4px solid var(--red);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.25rem; display: flex; flex-direction: column; }

.field label {
  font-family: var(--display); font-weight: 600; font-size: 0.875rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.optional { font-weight: 400; color: var(--steel-2); font-family: var(--body); font-size: 0.8125rem; }

.field input,
.field select,
.field textarea {
  font-family: var(--body); font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color .18s ease, background-color .18s ease;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field select { cursor: pointer; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--ink);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--steel-2); }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red); }

.field-error {
  font-size: 0.8125rem; font-weight: 500;
  color: var(--red);
  margin-top: 0.35rem;
  min-height: 0;
}
.field-error:empty { display: none; }

/* honeypot — hidden from people, visible to bots */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9375rem; font-weight: 500;
  text-align: center;
}
.form-status.is-error { color: var(--red); }
.form-status.is-success { color: #0F7A3D; }
.form-status:empty { display: none; }

.form-fineprint {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--steel-2);
  line-height: 1.5;
  text-align: center;
}

button[disabled] { opacity: .6; cursor: progress; }

/* ═══════════════════════ FOOTER ═══════════════════════ */

.site-footer {
  background: #06121F;
  color: var(--glass);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  border-top: 1px solid var(--rule-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-brand .brand-mark { width: 30px; height: 30px; color: var(--red); margin-bottom: 1rem; }
.footer-name {
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.footer-blurb { font-size: 0.9375rem; margin-bottom: 1.5rem; max-width: 22rem; }

.footer-heading {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-sub {
  font-family: var(--display); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.footer-sub:not(:first-of-type) { margin-top: 1.25rem; }
.footer-towns { font-size: 0.875rem; line-height: 1.75; color: var(--steel-2); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0.75rem 2.5rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--steel-2);
}
/* Both lines need room to wrap instead of colliding at mid widths. */
.footer-bottom p { margin: 0; min-width: 0; flex: 1 1 20rem; }
.footer-legal { max-width: 32rem; }

/* ═══════════════════════ SCROLL REVEAL ═══════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.6,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-form-card { max-width: 32rem; }
  .tiers { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }
  .tier-featured { order: -1; }
  .steps { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .badge:nth-child(odd) { border-left: 0; }
  .badge:nth-child(n+3) { border-top: 1px solid var(--rule-light); }
}

@media (max-width: 900px) {
  /* The sticky call bar appears here. The bar measures ~57px, so reserve a bit
     more than that at the bottom of the page or it sits on top of the footer. */
  .callbar { display: flex; }
  body { padding-bottom: 68px; }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--rule-dark);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--rule-dark);
    font-size: 1.0625rem;
  }
  .nav a:hover, .nav a.is-current { border-bottom-color: var(--rule-dark); }

  .nav-toggle { display: flex; }
  .header-actions .btn-red { display: none; }

  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-left: 0; padding-inline: 0; }
  .trust-item:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--rule-dark); }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
}

@media (max-width: 720px) {
  .reviews, .more-grid, .projects { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-direction: column; }
  .phone-link span { display: none; }
  .phone-link { padding: 0.5rem; }
  .phone-link svg { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
  .hero-cta .btn { width: 100%; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item:nth-child(even) { padding-left: 0; border-left: 0; }
  .trust-item:nth-child(n+2) { border-top: 1px solid var(--rule-dark); }
}

/* print — someone will want to hand a spec sheet to a customer */
@media print {
  .site-header, .hero-cta, .filters, .quote-form, .nav-toggle { display: none; }
  body { color: #000; background: #fff; }
  .section-dark, .section-quote, .hero, .site-footer { background: #fff !important; color: #000 !important; }
  .section-dark .section-title, .section-quote .section-title, .project-body h3 { color: #000 !important; }
  .tier { break-inside: avoid; border: 1px solid #999; }
}
