/* ==========================================================================
   Brandywine Blinds — Concept 05 "Daylight"
   A light-driven design: warm ivory paper, deep ink, and a brandywine-red
   accent (a nod to the name itself). Bricolage Grotesque display type over
   Figtree body copy. Mobile-first, no frameworks.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Color system */
  --paper:      #fbf7f0;   /* warm ivory background */
  --paper-soft: #f4ecdf;   /* deeper cream panels */
  --ink:        #241d1b;   /* near-black warm ink */
  --ink-soft:   #5d534e;   /* secondary text */
  --wine:       #7d2f43;   /* brandywine accent */
  --wine-deep:  #5c1f31;   /* hover / dark wine */
  --wine-tint:  #f3e2e5;   /* pale wine wash */
  --brass:      #c39a5e;   /* warm metallic secondary */
  --line:       rgba(36, 29, 27, 0.12);
  --white:      #ffffff;

  /* Type scale (fluid) */
  --fs-900: clamp(2.5rem, 5.4vw + 1rem, 4.4rem);   /* h1 */
  --fs-800: clamp(1.9rem, 3.2vw + 0.8rem, 3rem);   /* h2 */
  --fs-700: clamp(1.25rem, 1vw + 1rem, 1.5rem);    /* h3 large */
  --fs-600: 1.15rem;
  --fs-500: 1rem;
  --fs-400: 0.95rem;
  --fs-300: 0.83rem;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  /* Rhythm */
  --space-section: clamp(4.5rem, 9vw, 8rem);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --shadow-card: 0 10px 30px -12px rgba(36, 29, 27, 0.18);
  --shadow-pop:  0 24px 55px -20px rgba(36, 29, 27, 0.35);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-500);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--wine); }
a:hover { color: var(--wine-deep); }

ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

/* Respect reduced-motion preferences everywhere */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Utilities ---------- */
.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* Visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--brass); }

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }
.section-head h2 { font-size: var(--fs-800); font-weight: 700; }
.section-sub { color: var(--ink-soft); font-size: var(--fs-600); }

.stars { color: #d9a406; letter-spacing: 0.12em; font-size: 0.95em; }

/* ---------- Scroll reveal ----------
   Elements are visible by default; they only start hidden when the inline
   <head> script has added .js to <html>, so no-JS users always see content. */
.reveal {
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in-view { opacity: 1; transform: none; }

/* Stagger siblings slightly */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-400);
  line-height: 1.2;
  padding: 0.85rem 1.55rem;
  border-radius: 100px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--wine);
  color: var(--paper);
  box-shadow: 0 10px 24px -10px rgba(125, 47, 67, 0.55);
}
.btn-primary:hover { background: var(--wine-deep); color: var(--paper); }

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

.btn-light { background: var(--paper); color: var(--wine-deep); }
.btn-light:hover { background: var(--white); color: var(--wine); box-shadow: var(--shadow-card); }

.btn-outline-light { border-color: rgba(251, 247, 240, 0.55); color: var(--paper); }
.btn-outline-light:hover { background: rgba(251, 247, 240, 0.12); color: var(--paper); }

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; color: var(--paper); }

.btn-lg { padding: 1.05rem 1.9rem; font-size: var(--fs-500); }
.btn-block { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(36, 29, 27, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.brand-text small {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
}

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: var(--fs-400);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.primary-nav a:hover { color: var(--ink); border-bottom-color: var(--wine); }

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-400);
  white-space: nowrap;
}
.header-phone:hover { color: var(--wine); }
.header-phone svg { color: var(--wine); }

.btn-header { white-space: nowrap; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.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;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem);
}

/* Soft radial daylight wash behind the content */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 65% at 78% 22%, rgba(247, 209, 148, 0.4), transparent 70%),
    radial-gradient(45% 50% at 8% 85%, rgba(125, 47, 67, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--fs-900);
  font-weight: 800;
  margin-bottom: 0.5em;
}
.hero h1 em {
  font-style: normal;
  color: var(--wine);
  position: relative;
  white-space: nowrap;
}
/* Hand-drawn underline flourish */
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.08em;
  height: 0.16em;
  background: var(--brass);
  border-radius: 100px;
  opacity: 0.55;
  transform: skewY(-1deg);
}

.hero .lede {
  font-size: var(--fs-600);
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}
.hero .lede strong { color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.8rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: var(--fs-400);
  color: var(--ink-soft);
  font-weight: 600;
}
.hero-trust strong { color: var(--wine); }

/* ----- Interactive window scene ----- */
.hero-window { max-width: 440px; justify-self: center; width: 100%; }

.window-scene {
  position: relative;
  margin: 0;
  filter: drop-shadow(0 30px 45px rgba(36, 29, 27, 0.22));
}
.window-svg { width: 100%; height: auto; display: block; }

/* Scene colors driven by --light (0–1), set by script.js from the slider */
.window-scene { --light: 0.72; }

.scene-wall  { fill: var(--paper-soft); }
.scene-frame { fill: #ffffff; stroke: #e5d9c6; stroke-width: 1.5; }
.scene-rail  { fill: var(--ink); }
.scene-sun   { fill: #f7c463; opacity: calc(0.35 + var(--light) * 0.65); }
.scene-hills { fill: #9db08a; opacity: 0.9; }

/* Sky shifts from dusk to bright as --light rises (CSS color-mix keeps it smooth) */
.sky-top    { stop-color: #cfe3ee; }
.sky-bottom { stop-color: #f6e3c0; }

/* Each louver rotates around its own row; JS sets --tilt (0–1) */
#louvers { --tilt: 0.72; }
.louver {
  /* Row position: 12 slats spread across the 388px-tall glass starting at y=72 */
  transform: translateY(calc(78px + var(--i) * 31px)) scaleY(calc(0.14 + (1 - var(--tilt)) * 0.86));
  transition: transform 0.18s ease-out;
}

/* Warm light pooling on the "floor" below the window */
.light-spill {
  position: absolute;
  left: 12%; right: 12%; bottom: -26px;
  height: 60px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(247, 196, 99, 0.55), transparent 75%);
  opacity: var(--light);
  filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.2s;
}

/* Slider control */
.light-control {
  margin-top: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem 0.7rem;
  box-shadow: var(--shadow-card);
}
.light-control label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: var(--fs-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 0.55rem;
}

.light-control input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--brass) 60%, #f7c463 100%);
  outline-offset: 6px;
  cursor: grab;
}
.light-control input[type="range"]:active { cursor: grabbing; }

.light-control input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--wine);
  box-shadow: 0 3px 10px rgba(36, 29, 27, 0.3);
  transition: transform 0.15s;
}
.light-control input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.light-control input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--wine);
  box-shadow: 0 3px 10px rgba(36, 29, 27, 0.3);
}

.light-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.hero-caption {
  margin-top: 0.9rem;
  font-size: var(--fs-300);
  color: var(--ink-soft);
  text-align: center;
  font-style: italic;
}

/* ==========================================================================
   STAT BAR
   ========================================================================== */
.statbar {
  background: var(--ink);
  color: var(--paper);
  padding-block: 1.9rem;
}
.statbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.stat-star { color: #f2b90d; font-size: 0.75em; vertical-align: 0.18em; margin-left: 2px; }
.stat span { font-size: var(--fs-300); color: rgba(251, 247, 240, 0.72); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              border-color 0.35s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-pop);
  border-color: rgba(125, 47, 67, 0.35);
}

.service-icon {
  display: inline-flex;
  width: 54px; height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--wine-tint);
  color: var(--wine);
  margin-bottom: 1.1rem;
}
.service-icon svg { width: 30px; height: 30px; }

.service-card h3 { font-size: var(--fs-700); font-weight: 700; margin-bottom: 0.4em; }
.service-card p { color: var(--ink-soft); font-size: var(--fs-400); flex: 1; }

.card-link {
  margin-top: 1.1rem;
  font-weight: 700;
  font-size: var(--fs-400);
  text-decoration: none;
  color: var(--wine);
}
.card-link:hover { color: var(--wine-deep); text-decoration: underline; }

/* The closing CTA card */
.service-card--cta {
  background: linear-gradient(150deg, var(--wine) 0%, var(--wine-deep) 100%);
  border-color: transparent;
  color: var(--paper);
  justify-content: center;
}
.service-card--cta h3 { color: var(--paper); }
.service-card--cta p { color: rgba(251, 247, 240, 0.85); }
.service-card--cta .btn { margin-top: 1.2rem; align-self: flex-start; }

/* ==========================================================================
   WHY BRANDYWINE
   ========================================================================== */
.why { background: var(--paper-soft); }

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.photo-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Warm gradient shows through while loading — and stands in if offline */
  background: linear-gradient(160deg, #e8d3b2, #b98a63 70%, #8a5a44);
  aspect-ratio: 9 / 11;
  box-shadow: var(--shadow-pop);
}
.photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-frame.img-missing img { display: none; }

.photo-tag {
  position: absolute;
  left: 1.1rem; right: 1.1rem; bottom: 1.1rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
}
.photo-tag-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--wine);
}
.photo-tag-label { font-size: var(--fs-300); color: var(--ink-soft); font-weight: 600; }

.why-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 1.4rem;
}
.why-list li { display: flex; gap: 1.1rem; align-items: flex-start; }

.why-icon {
  flex: 0 0 auto;
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--wine);
}
.why-icon svg { width: 22px; height: 22px; }

.why-list h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.15em; }
.why-list p { color: var(--ink-soft); font-size: var(--fs-400); }

/* ==========================================================================
   BRANDS STRIP
   ========================================================================== */
.brands {
  border-block: 1px solid var(--line);
  padding-block: 2.2rem;
  background: var(--paper);
}
.brands-title {
  text-align: center;
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
}
.brands-row li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  opacity: 0.85;
  transition: color 0.25s, opacity 0.25s, transform 0.25s var(--ease-out);
  cursor: default;
}
.brands-row li:hover { color: var(--wine); opacity: 1; transform: translateY(-2px); }
.brands-row li span { font-weight: 500; font-size: 0.72em; color: inherit; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem 1.6rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--wine);
  margin-bottom: 0.7rem;
  line-height: 1;
}
.process-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3em; }
.process-step p { color: var(--ink-soft); font-size: var(--fs-400); }

/* Connecting line between steps on wide screens */
@media (min-width: 981px) {
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.6rem;
    right: -1.4rem;
    width: 1.4rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--wine) 0 5px, transparent 5px 10px);
    opacity: 0.55;
  }
}

/* ==========================================================================
   SERVICE AREA
   ========================================================================== */
.areas { background: var(--paper-soft); }

.areas-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.areas-list { display: grid; gap: 0.4rem; }
.areas-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.9rem;
  padding: 0.95rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.areas-list li:hover { border-color: rgba(125, 47, 67, 0.4); transform: translateX(4px); }
.areas-list strong { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.areas-list span { color: var(--ink-soft); font-size: var(--fs-300); }

/* Middletown spotlight card */
.areas-spotlight {
  background: linear-gradient(155deg, var(--wine) 0%, var(--wine-deep) 90%);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-pop);
  position: sticky;
  top: 92px;
}
.spotlight-flag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(251, 247, 240, 0.16);
  border: 1px solid rgba(251, 247, 240, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}
.areas-spotlight h3 { font-size: var(--fs-700); font-weight: 700; color: var(--paper); }
.areas-spotlight p { color: rgba(251, 247, 240, 0.88); font-size: var(--fs-400); }
.areas-spotlight strong { color: var(--paper); }

.spotlight-points {
  margin: 1.1rem 0 1.5rem;
  display: grid;
  gap: 0.5rem;
}
.spotlight-points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--fs-400);
  color: rgba(251, 247, 240, 0.92);
}
.spotlight-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 800;
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.review-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }

.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p {
  font-size: var(--fs-500);
  color: var(--ink);
  line-height: 1.6;
}
.review-card figcaption { display: flex; flex-direction: column; }
.review-card figcaption strong { font-weight: 700; }
.review-card figcaption span { font-size: var(--fs-300); color: var(--ink-soft); }

.reviews-note {
  text-align: center;
  margin-top: 1.6rem;
  font-size: var(--fs-300);
  color: var(--ink-soft);
  font-style: italic;
}

/* ==========================================================================
   QUOTE FORM
   ========================================================================== */
.quote {
  background: var(--ink);
  color: var(--paper);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.quote-copy h2 { font-size: var(--fs-800); font-weight: 700; color: var(--paper); }
.quote-lede { color: rgba(251, 247, 240, 0.78); font-size: var(--fs-600); }
.quote-lede a { color: var(--brass); font-weight: 700; }
.quote-lede a:hover { color: #dcb578; }

.quote-points {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.7rem;
}
.quote-points li {
  position: relative;
  padding-left: 1.8rem;
  color: rgba(251, 247, 240, 0.85);
}
.quote-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 800;
}
.quote-points strong { color: var(--paper); }

/* The form card */
.quote-form {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 3vw, 2.4rem);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.55);
}
.form-title {
  font-size: var(--fs-700);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.field { margin-bottom: 1.05rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: var(--fs-300);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.req { color: var(--wine); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-500);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(125, 47, 67, 0.18);
}

/* Invalid state applied by script.js after an attempted submit */
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.15);
}
.field-error {
  color: #b3261e;
  font-size: var(--fs-300);
  font-weight: 600;
  margin-top: 0.3rem;
}

.form-fineprint {
  margin-top: 0.8rem;
  text-align: center;
  font-size: var(--fs-300);
  color: var(--ink-soft);
}

/* Success overlay */
.form-success {
  position: absolute;
  inset: 0;
  background: var(--paper);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  animation: successIn 0.5s var(--ease-out);
}
.form-success[hidden] { display: none; }
@keyframes successIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.success-icon {
  display: inline-flex;
  width: 64px; height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6f2e8;
  color: #1d7a3a;
  margin-bottom: 1rem;
}
.form-success h3 { font-size: var(--fs-700); margin-bottom: 0.3em; }
.form-success p { color: var(--ink-soft); max-width: 30rem; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: var(--paper);
  padding-block: 2.6rem;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
}
.cta-band-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  margin: 0;
}
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #17110f;
  color: rgba(251, 247, 240, 0.75);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2.4rem;
  padding-bottom: 2.6rem;
}

.brand--footer { color: var(--paper); }
.brand--footer .brand-text strong { font-size: 1.05rem; }

.footer-tag {
  margin-top: 0.9rem;
  font-size: var(--fs-400);
  color: rgba(251, 247, 240, 0.6);
  max-width: 22rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.footer-social a {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 240, 0.25);
  color: rgba(251, 247, 240, 0.8);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}
.footer-social a:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--paper);
  transform: translateY(-2px);
}

.footer-col h3 {
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.45rem; }
.footer-col a {
  color: rgba(251, 247, 240, 0.75);
  text-decoration: none;
  font-size: var(--fs-400);
}
.footer-col a:hover { color: var(--paper); text-decoration: underline; }

.footer-contact address { font-style: normal; }
.footer-contact p { font-size: var(--fs-400); }
.footer-contact a { color: var(--paper); font-weight: 600; text-decoration: none; }
.footer-contact a:hover { color: var(--brass); }
.footer-hours { font-size: var(--fs-400); }
.footer-hours-note { font-size: 0.75rem; color: rgba(251, 247, 240, 0.45); }

.footer-bottom {
  border-top: 1px solid rgba(251, 247, 240, 0.12);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  font-size: var(--fs-300);
  color: rgba(251, 247, 240, 0.5);
}
.footer-bottom p { margin: 0; }

/* ==========================================================================
   MOBILE CALL BAR (shown < 720px)
   ========================================================================== */
.mobile-callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  gap: 0.7rem;
}
.mobile-callbar .btn { flex: 1; padding-block: 0.8rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .primary-nav ul { gap: 1.1rem; }
  .header-phone span { display: none; } /* icon-only phone at mid sizes */
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-window { max-width: 400px; }

  .statbar-grid { grid-template-columns: repeat(2, 1fr); gap: 1.3rem 1rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }

  .why-grid, .areas-grid, .quote-grid { grid-template-columns: 1fr; }
  .why-media { order: 2; }
  .photo-frame { max-width: 480px; margin-inline: auto; }
  .areas-spotlight { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  /* Header collapses to hamburger */
  .nav-toggle { display: flex; }
  .btn-header { display: none; }
  .header-phone {
    width: 42px; height: 42px;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -18px rgba(36, 29, 27, 0.3);
    padding: 0.6rem 1.25rem 1.2rem;
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a {
    display: block;
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band-inner { justify-content: center; text-align: center; }

  .mobile-callbar { display: flex; }
  /* Keep the sticky bar from covering footer content */
  .site-footer { padding-bottom: 84px; }
}
