:root {
  --night: #0E1A30;
  --night-2: #172848;
  --blue: #2160C4;
  --bulb: #FFC24D;
  --bulb-hi: #FFD677;
  --halo: #FFF1CC;
  --page: #F5F7FA;
  --white: #FFFFFF;
  --ink: #13203A;
  --slate: #4B5A78;
  --mist: #C6D0E3;
  --line: #D9E0EA;
  --unlit: #3A4867;
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  padding-bottom: 72px;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }

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

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { background: var(--night); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 8px; }
.logo { height: 48px; width: auto; }
.top-phone { color: var(--halo); font-weight: 700; text-decoration: none; font-size: 1.05rem; white-space: nowrap; }
.top-phone:hover { color: var(--white); }

/* Roofline: a run of C9 bulbs that light up once on load */
.roofline {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  height: 36px;
  background: var(--night);
  overflow: hidden;
}
.roofline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 7px;
  height: 2px;
  background: #2C3A5A;
}
.roofline span {
  position: relative;
  flex: none;
  width: 12px;
  height: 18px;
  margin-top: 9px;
  border-radius: 45% 45% 50% 50% / 30% 30% 70% 70%;
  background: var(--unlit);
  animation: bulb-on 0.45s ease-out both;
  animation-delay: calc(var(--i) * 55ms + 250ms);
}
.roofline span::before {
  content: "";
  position: absolute;
  left: 2px; top: -5px;
  width: 8px; height: 6px;
  border-radius: 2px;
  background: #22304E;
}
@keyframes bulb-on {
  from { background: var(--unlit); box-shadow: none; }
  to {
    background: radial-gradient(circle at 50% 35%, #FFFBEF 0%, var(--bulb-hi) 45%, var(--bulb) 100%);
    box-shadow: 0 0 10px 3px rgba(255, 194, 77, 0.55), 0 0 28px 10px rgba(255, 194, 77, 0.16);
  }
}
@media (max-width: 639px) { .roofline span:nth-child(n+14) { display: none; } }
@media (min-width: 640px) and (max-width: 979px) { .roofline span:nth-child(n+22) { display: none; } }

/* Hero */
.hero { background: var(--night); color: var(--mist); padding: 28px 0 48px; }
.hero-grid { display: grid; gap: 32px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 1.35rem + 3.8vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 13ch;
}
.lede { margin-top: 18px; font-size: 1.2rem; line-height: 1.5; max-width: 34em; }
.includes { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 36em; }
.includes li { position: relative; padding-left: 30px; }
.includes li::before {
  content: "";
  position: absolute;
  left: 6px; top: 0.38em;
  width: 10px; height: 15px;
  border-radius: 45% 45% 50% 50% / 30% 30% 70% 70%;
  background: radial-gradient(circle at 50% 35%, #FFFBEF 0%, var(--bulb-hi) 45%, var(--bulb) 100%);
  box-shadow: 0 0 8px 2px rgba(255, 194, 77, 0.45);
}
.includes strong { color: var(--white); font-weight: 700; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 0.95rem; color: #9FB0CF; }
.trust li { padding-right: 16px; margin-right: 16px; border-right: 1px solid #33456B; }
.trust li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

/* Quote card */
.quote-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 30px 60px -24px rgba(3, 8, 20, 0.7);
  scroll-margin-top: 16px;
}
.quote-card h2 { font-size: 1.65rem; font-weight: 780; letter-spacing: -0.015em; color: var(--night); }
.card-sub { margin-top: 6px; color: var(--slate); font-size: 0.98rem; }
.quote-form { margin-top: 18px; display: grid; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.row-2 { display: grid; gap: 16px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 650; font-size: 0.95rem; margin-bottom: 6px; padding: 0; color: var(--ink); }
.opt { font-weight: 400; color: var(--slate); }
.hint { margin-top: 6px; font-size: 0.85rem; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #FBFCFE;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(33, 96, 196, 0.28);
  outline-offset: 0;
  border-color: var(--blue);
  background: var(--white);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  background: #FBFCFE;
}
.chip input { accent-color: var(--blue); width: 16px; height: 16px; margin: 0; }
.chip:has(input:checked) { border-color: var(--blue); background: #EEF4FD; }
.chip:has(input:focus-visible) { outline: 3px solid rgba(33, 96, 196, 0.35); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--slate); line-height: 1.45; }
.consent input { accent-color: var(--blue); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.form-alt { text-align: center; font-size: 0.95rem; color: var(--slate); }
.form-alt a { color: var(--blue); font-weight: 700; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 800;
  font-size: 1.08rem;
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
}
.btn-bulb { background: var(--bulb); color: var(--night); }
.btn-bulb:hover { background: var(--bulb-hi); box-shadow: 0 0 22px rgba(255, 194, 77, 0.45); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px #3C5180; }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--halo); }
.btn-block { width: 100%; padding: 17px 24px; }

/* Photo strip under the hero */
.night-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 40px; }
.night-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--night-2); }

/* Content bands */
.band { padding: 56px 0; }
.band-page { background: var(--page); }
.band-white { background: var(--white); }
.band-night { background: var(--night); color: var(--mist); }
.band h2 {
  font-size: clamp(1.85rem, 1.25rem + 2.1vw, 2.65rem);
  font-weight: 780;
  letter-spacing: -0.02em;
  color: var(--night);
  max-width: 22ch;
}
.band-night h2 { color: var(--white); }
.intro { margin-top: 12px; color: var(--slate); max-width: 58ch; font-size: 1.1rem; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 26px; position: relative; }
.steps li { position: relative; padding-left: 60px; }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px; top: 44px; bottom: -22px;
  width: 2px;
  background: var(--line);
}
.num {
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--night);
  color: var(--bulb);
  font-weight: 800;
  font-size: 1.05rem;
}
.steps h3 { font-size: 1.2rem; font-weight: 750; color: var(--night); padding-top: 8px; }
.steps p { margin-top: 6px; color: var(--slate); max-width: 40ch; }

/* DIY vs lease */
.compare { width: 100%; margin-top: 32px; border-collapse: collapse; font-size: 1rem; }
.compare thead { display: none; }
.compare tr { display: block; padding: 18px 0; border-top: 1px solid var(--line); }
.compare tbody tr:last-child { border-bottom: 1px solid var(--line); }
.compare th[scope="row"] { display: block; text-align: left; font-weight: 750; color: var(--night); font-size: 1.1rem; margin-bottom: 8px; }
.compare td { display: grid; grid-template-columns: 92px 1fr; gap: 8px; padding: 3px 0; color: var(--slate); }
.compare td::before { content: attr(data-label); font-size: 0.85rem; color: var(--slate); padding-top: 2px; }
.compare td.us { color: var(--ink); font-weight: 650; }
.compare td.us::before { color: var(--blue); font-weight: 700; }

/* Gallery */
.gallery { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: var(--line); }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* FAQ */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--night);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 14px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 14px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--slate); max-width: 62ch; }

/* Final booking band */
.book p { margin-top: 14px; max-width: 52ch; font-size: 1.12rem; }
.book-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.foot { background: var(--night); color: #8C9BB8; font-size: 0.9rem; border-top: 1px solid #1E2C4C; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; }
.foot a { color: var(--mist); }

/* Sticky call bar (phones) */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(14, 26, 48, 0.97);
  border-top: 1px solid #253658;
}
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px #3C5180;
}
.callbar .callbar-quote { background: var(--bulb); color: var(--night); box-shadow: none; }

/* Thank-you page */
.thanks { padding: 48px 0 72px; }
.thanks-card { background: var(--white); color: var(--ink); border-radius: 16px; padding: 28px 22px; max-width: 640px; }
.thanks-card h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; color: var(--night); }
.thanks-card p { margin-top: 14px; color: var(--slate); font-size: 1.1rem; }
.thanks-card .btn { margin-top: 24px; }

@media (min-width: 480px) {
  .row-2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 700px) {
  .wrap { padding: 0 24px; }
  .quote-card { padding: 30px 28px; }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; }
  .compare thead { display: table-header-group; }
  .compare thead th { text-align: left; font-size: 0.95rem; font-weight: 700; color: var(--slate); padding: 0 16px 12px 0; }
  .compare thead th.us { color: var(--blue); }
  .compare tr { display: table-row; border-top: 1px solid var(--line); }
  .compare th[scope="row"], .compare td { display: table-cell; padding: 18px 16px 18px 0; vertical-align: top; margin: 0; }
  .compare th[scope="row"] { width: 22%; font-size: 1.05rem; }
  .compare td::before { content: none; }
  .band { padding: 80px 0; }
}

@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: start; }
  .hero-copy { padding-top: 24px; }
  .night-strip { gap: 12px; margin-top: 56px; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps li { padding-left: 0; padding-top: 58px; }
  .steps li:not(:last-child)::after { left: 44px; right: -20px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .steps h3 { padding-top: 0; }
  .faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
  .faq { margin-top: 0; }
  .thanks { padding: 72px 0 96px; }
  .thanks-card { padding: 40px 40px; }
}

/* ---------- v2: photo hero, crew, bulb steps, lease cards, Santa ---------- */
.logo { height: 58px; }

.hero { position: relative; isolation: isolate; overflow: hidden; }
/* The same night photo, heavily blurred, gives the hero a warm glow behind the copy */
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  z-index: -2;
  filter: blur(22px) saturate(1.25);
  transform: scale(1.12);
  opacity: 0.9;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 26, 48, 0.58) 0%, rgba(14, 26, 48, 0.66) 60%, var(--night) 100%);
}
.hero h1 { text-shadow: 0 2px 24px rgba(6, 12, 26, 0.55); }
.hero-shot {
  position: relative;
  margin: 30px 0 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 214, 119, 0.25), 0 30px 70px -20px rgba(0, 0, 0, 0.75), 0 0 80px -10px rgba(255, 194, 77, 0.25);
}
.hero-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 45%; background: var(--night-2); }
/* Phones: keep the form right after the pitch; the photo follows the form */
@media (max-width: 979px) {
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 1; }
  .quote-card { order: 2; margin-top: 30px; }
  .hero-shot { order: 3; margin-top: 24px; }
}
.hero-shot figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(14, 26, 48, 0.8);
  color: var(--halo);
  font-size: 0.85rem;
}

.band-night .intro { color: var(--mist); }

/* Crew */
.crew-grid { display: grid; gap: 32px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; max-width: 40em; color: var(--slate); }
.facts li { position: relative; padding-left: 30px; }
.facts li::before {
  content: "";
  position: absolute; left: 6px; top: 0.38em;
  width: 10px; height: 15px;
  border-radius: 45% 45% 50% 50% / 30% 30% 70% 70%;
  background: radial-gradient(circle at 50% 35%, #FFFBEF 0%, var(--bulb-hi) 45%, var(--bulb) 100%);
  box-shadow: 0 0 6px 1px rgba(255, 194, 77, 0.6);
}
.facts strong { color: var(--ink); }
.crew-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.crew-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--line); }
.crew-photos .crew-main { grid-column: span 2; aspect-ratio: 16 / 10; object-position: 50% 35%; }

/* How it works: each step hangs from the wire as a lit bulb */
.how .steps li:not(:last-child)::after { background: #2C3A5A; }
.how .steps h3 { color: var(--white); }
.how .steps p { color: var(--mist); }
.how .num {
  width: 30px; height: 44px; left: 5px;
  border-radius: 45% 45% 50% 50% / 30% 30% 70% 70%;
  background: radial-gradient(circle at 50% 32%, #FFFBEF 0%, var(--bulb-hi) 45%, var(--bulb) 100%);
  color: var(--night);
  font-size: 1rem;
  padding-top: 4px;
  box-shadow: 0 0 14px 4px rgba(255, 194, 77, 0.45), 0 0 34px 12px rgba(255, 194, 77, 0.12);
}
.how .num::before {
  content: "";
  position: absolute; left: 9px; top: -7px;
  width: 12px; height: 8px;
  border-radius: 2px;
  background: #22304E;
}
.how .steps li:not(:last-child)::after { left: 19px; top: 52px; }

/* Lease vs DIY */
.vs { display: grid; gap: 16px; margin-top: 32px; }
.vs-card { border-radius: 16px; padding: 26px 22px; }
.vs-card h3 { font-size: 1.3rem; font-weight: 760; letter-spacing: -0.01em; }
.vs-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.vs-card li { position: relative; padding-left: 30px; }
.vs-diy { background: var(--white); border: 1.5px solid var(--line); color: var(--slate); }
.vs-diy h3 { color: var(--slate); }
.vs-diy li::before { content: ""; position: absolute; left: 5px; top: 0.75em; width: 12px; height: 2px; background: #A3AEC4; }
.vs-us {
  background: var(--night);
  color: #E3E9F5;
  box-shadow: 0 0 0 1.5px rgba(255, 194, 77, 0.35), 0 28px 50px -26px rgba(14, 26, 48, 0.7);
}
.vs-us h3 { color: var(--white); }
.vs-us li::before {
  content: "";
  position: absolute; left: 6px; top: 0.38em;
  width: 10px; height: 15px;
  border-radius: 45% 45% 50% 50% / 30% 30% 70% 70%;
  background: radial-gradient(circle at 50% 35%, #FFFBEF 0%, var(--bulb-hi) 45%, var(--bulb) 100%);
  box-shadow: 0 0 8px 2px rgba(255, 194, 77, 0.45);
}
.vs-us .btn { margin-top: 26px; }

/* Booking band with Santa */
.book { display: grid; gap: 36px; align-items: center; }
.santa {
  margin: 0;
  justify-self: center;
  width: min(300px, 72vw);
  padding: 10px;
  background: var(--white);
  border-radius: 6px;
  transform: rotate(-2.5deg);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}
.santa img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 3px; }

@media (min-width: 700px) {
  .vs { grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
  .vs-card { padding: 34px 32px; }
}

@media (min-width: 980px) {
  .hero { padding: 56px 0 88px; }
  .hero-copy { padding-top: 36px; }
  .hero-shot { margin-top: 36px; }
  .hero-shot img { aspect-ratio: 3 / 2; }
  .crew-grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
  .how .steps { position: relative; }
  .how .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: #2C3A5A; }
  .how .steps li { padding-top: 78px; }
  .how .num { top: 10px; left: 0; }
  .how .steps li:not(:last-child)::after { display: none; }
  .book { grid-template-columns: 340px 1fr; gap: 72px; }
  .santa { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .roofline span {
    animation: none;
    background: radial-gradient(circle at 50% 35%, #FFFBEF 0%, var(--bulb-hi) 45%, var(--bulb) 100%);
    box-shadow: 0 0 10px 3px rgba(255, 194, 77, 0.55), 0 0 28px 10px rgba(255, 194, 77, 0.16);
  }
  .faq summary::after { transition: none; }
}
