/* Northern Lights — page styles */
:root {
  --navy: #0A1A33;
  --navy-2: #13284A;
  --steel: #3B4A5F;
  --snow: #F4F7FA;
  --ice: #CFE0EC;
  --bulb: #FFC46B;
  --bulb-hot: #FFB238;
  --aurora: #6FE3B8;
  --ink: #12223A;
  --muted: #55657C;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--snow); }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0 0 .4em; letter-spacing: .005em; }
h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--bulb); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bulb); color: var(--navy); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); transition: transform .15s ease, box-shadow .2s ease, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-bulb { background: var(--bulb); color: var(--navy); box-shadow: 0 0 0 0 rgba(255,196,107,.0); }
.btn-bulb:hover { background: var(--bulb-hot); box-shadow: 0 0 28px rgba(255,196,107,.55); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-dark { color: var(--navy); border-color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }
.btn-full { width: 100%; }

/* Header */
.top { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 18px 28px; color: var(--navy); transition: color 1s; }
.lit .top { color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 1.7rem; }
.brand-mark { width: 38px; height: 38px; color: currentColor; }
.brand-mark circle { fill: var(--bulb); }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.top-call { font-weight: 700; text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 2px solid currentColor; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #E4E8EC; display: grid; grid-template-columns: 1fr minmax(0, 540px); }
.hero::before { content: ''; position: absolute; inset: 0; background: #050C22; opacity: 0; transition: opacity 1.1s ease; }
.lit .hero::before { opacity: 1; }
/* Desktop: photo is at least 1600px wide and panned left so the whole roofline sits clear of the headline column. */
.hero-scene { position: absolute; inset: 0; --fx: 1; --fy: .35; --minW: 1600px; }
.hero-copy { position: relative; z-index: 2; grid-column: 2; align-self: start; padding: 120px 40px 0 0; color: var(--navy); transition: color 1s; }
.lit .hero-copy { color: #fff; }
.hero-kicker { font-weight: 600; font-size: 1rem; margin-bottom: .6em; opacity: .85; }
.hero h1 { font-size: clamp(3.2rem, 6.6vw, 6.4rem); font-weight: 900; line-height: .9; margin-bottom: .25em; }
.lit .hero h1 { text-shadow: 0 0 40px rgba(255,196,107,.35); }
.hero-sub { font-size: 1.15rem; max-width: 30ch; min-height: 3.2em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero .btn-ghost { color: var(--navy); border-color: rgba(10,26,51,.5); }
.lit .hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }

/* The switch */
.switch-wrap { position: absolute; z-index: 3; right: 40px; bottom: 9%; display: flex; flex-direction: row-reverse; align-items: center; gap: 18px; }
.switch-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.switch { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 18px; }
.switch-plate { display: flex; flex-direction: column; align-items: center; justify-content: space-between; width: 112px; height: 176px; padding: 12px 0; border-radius: 16px;
  background: linear-gradient(160deg, #FFFFFF, #E4E9EE 70%, #D3DAE1); box-shadow: 0 1px 0 #fff inset, 0 18px 40px rgba(10,26,51,.28), 0 2px 4px rgba(10,26,51,.2); }
.screw { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #A9B3BD); position: relative; }
.screw::after { content: ''; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.5px; background: #7D8894; transform: rotate(35deg); }
.switch-slot { width: 40px; height: 84px; border-radius: 8px; background: #C9D1D9; box-shadow: inset 0 2px 6px rgba(0,0,0,.25); display: flex; justify-content: center; padding: 6px 0; }
.switch-toggle { width: 28px; height: 40px; border-radius: 6px; background: linear-gradient(180deg, #FFFFFF, #E9EDF1); box-shadow: 0 6px 10px rgba(0,0,0,.25), inset 0 -3px 0 #CDD4DB;
  transform: translateY(32px); transition: transform .18s cubic-bezier(.3,1.6,.6,1); }
.switch[aria-checked="true"] .switch-toggle { transform: translateY(0); box-shadow: 0 -4px 10px rgba(0,0,0,.2), inset 0 3px 0 #fff; }
.switch:hover .switch-plate { box-shadow: 0 1px 0 #fff inset, 0 18px 40px rgba(10,26,51,.28), 0 0 0 4px rgba(255,196,107,.6); }
.switch[aria-checked="false"] .switch-plate { animation: nudge 2.4s ease-in-out 1.2s 3; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateY(-5px); } }
.switch-hint { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--navy); transition: color 1s; text-align: right; text-shadow: 0 0 18px rgba(255,255,255,.7); }
.lit .switch-hint { text-shadow: 0 0 18px rgba(0,0,0,.6); }
.lit .switch-hint { color: var(--bulb); }
.palette { display: flex; flex-direction: column; gap: 6px; }
.palette[hidden] { display: none; }
.palette button { display: flex; align-items: center; gap: 8px; font: 600 .85rem var(--body); color: #fff; background: rgba(10,26,51,.55); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 12px; cursor: pointer; backdrop-filter: blur(6px); }
.palette button[aria-checked="true"] { border-color: var(--bulb); background: rgba(10,26,51,.85); }
.palette i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.palette i.multi { background: conic-gradient(#FF4D4D 0 25%, #36D07A 0 50%, #4AA8FF 0 75%, #FFB238 0); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 30px; height: 46px; margin-left: -15px; border: 2px solid rgba(10,26,51,.4); border-radius: 15px; }
.lit .scroll-cue { border-color: rgba(255,255,255,.5); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--bulb); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Trust */
.trust { background: var(--navy); color: #fff; }
.trust ul { list-style: none; margin: 0 auto; padding: 28px 24px; max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust li { display: flex; flex-direction: column; padding-left: 22px; position: relative; }
.trust li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 14px; border-radius: 50% 50% 45% 45%; background: var(--bulb); box-shadow: 0 0 12px var(--bulb); }
.trust strong { font-family: var(--display); font-size: 1.6rem; font-weight: 800; line-height: 1.05; }
.trust span { color: var(--ice); font-size: .92rem; }

/* How */
.how { padding: 110px 0 90px; }
.how h2 { max-width: 16ch; }
.strand { height: 80px; margin: 40px 0 -64px; }
.strand svg { width: 100%; height: 100%; display: block; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; }
.step-bulb { position: absolute; top: 0; left: 0; width: 26px; height: 36px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: var(--bulb); box-shadow: 0 0 22px rgba(255,178,56,.8); }
.step-bulb::before { content: ''; position: absolute; left: 6px; top: -10px; width: 14px; height: 12px; background: #2C3A2F; border-radius: 2px; }
.steps li:nth-child(2) .step-bulb { margin-top: 10px; }
.steps li:nth-child(3) .step-bulb { margin-top: -8px; }
.steps li:nth-child(4) .step-bulb { margin-top: 12px; }
.steps h3::before { content: counter(s) '. '; color: var(--bulb-hot); }
.steps p { color: var(--muted); font-size: 1rem; }

/* Estimator */
.estimate { background: var(--ice); padding: 100px 0; }
.est-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.est-intro p { max-width: 40ch; }
.promo { background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 12px; font-weight: 600; border-left: 6px solid var(--bulb); }
.est-form { background: #fff; border-radius: 22px; padding: 30px; box-shadow: 0 30px 60px -30px rgba(10,26,51,.35); }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-weight: 700; margin-bottom: 10px; font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 2px solid #D5DEE6; font-weight: 600; font-size: .95rem; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--bulb); outline-offset: 2px; }
.counters { display: grid; gap: 8px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #E8EEF3; }
.counter > div { display: flex; align-items: center; gap: 10px; }
.counter button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #D5DEE6; background: #fff; font-size: 1.2rem; font-weight: 700; cursor: pointer; color: var(--navy); }
.counter button:hover { border-color: var(--navy); }
.counter output { min-width: 1.6ch; text-align: center; font-weight: 700; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 500; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--navy); }
.est-out { background: var(--navy); color: #fff; border-radius: 16px; padding: 22px 24px; margin-top: 8px; }
.est-label { margin: 0; color: var(--ice); font-size: .95rem; }
.est-range { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.4rem); color: var(--bulb); margin: 2px 0 4px; line-height: 1; }
.est-note { font-size: .9rem; color: var(--ice); }
.est-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.est-out .btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.5); }

/* Packages */
.packages { padding: 100px 0; }
.pkg-list { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 0; margin-top: 36px; align-items: stretch; }
.pkg { padding: 34px 30px; border-top: 4px solid var(--navy); }
.pkg + .pkg { border-left: 1px solid #D5DEE6; }
.pkg-pop { background: var(--navy); color: #fff; border-top-color: var(--bulb); border-radius: 0 0 20px 20px; transform: translateY(-14px); box-shadow: 0 30px 60px -25px rgba(10,26,51,.6); }
.pkg-pop + .pkg { border-left: 0; }
.pkg-flag { display: inline-block; background: var(--bulb); color: var(--navy); font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.price { font-family: var(--display); font-weight: 900; font-size: 3.2rem; line-height: 1; margin: 4px 0 10px; }
.price span { font-family: var(--body); font-size: 1rem; font-weight: 600; opacity: .7; }
.pkg-who { color: var(--muted); font-size: 1rem; }
.pkg-pop .pkg-who { color: var(--ice); }
.pkg ul { margin: 0; padding: 0; list-style: none; font-size: 1rem; }
.pkg li { padding: 8px 0 8px 22px; position: relative; border-top: 1px solid rgba(85,101,124,.18); }
.pkg li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 8px; height: 11px; border-radius: 50% 50% 45% 45%; background: var(--bulb-hot); }
.pkg-foot { margin-top: 36px; color: var(--muted); max-width: 70ch; }

/* Permanent */
.permanent { background: var(--navy); color: #fff; padding: 110px 0; overflow: hidden; }
.perm-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.permanent h2 { max-width: 14ch; }
.permanent p { color: var(--ice); max-width: 46ch; }
.perm-points { list-style: none; padding: 0; margin: 0 0 22px; }
.perm-points li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid rgba(207,224,236,.14); }
.perm-points li::before { content: ''; position: absolute; left: 0; top: 18px; width: 12px; height: 4px; border-radius: 2px; background: var(--aurora); box-shadow: 0 0 10px var(--aurora); }
.perm-price strong { color: var(--bulb); font-size: 1.15rem; }
.soffit-demo { background: #0E1E38; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.perm-photo { position: relative; }
.perm-scene { aspect-ratio: 4 / 3; width: 100%; --fx: .52; --fy: .36; }
.perm-photo .ph-aurora { display: none; }
.perm-photo .ph-spill-dot { opacity: .6; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; background: #0B1830; }
.presets button { font: 600 .9rem var(--body); padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; }
.presets button[aria-checked="true"] { background: #fff; color: var(--navy); }

/* Quote */
.quote { padding: 110px 0; background: var(--ice); }
.quote h2 { margin-bottom: .2em; }
.quote-lede { max-width: 56ch; font-size: 1.1rem; margin-bottom: 28px; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; }
.service { position: relative; display: block; cursor: pointer; }
.service input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.service-card { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px 12px; height: 100%; padding: 22px 22px 24px; border-radius: 18px; background: #fff; border: 2px solid #C9D6E2; transition: border-color .15s, box-shadow .15s; }
.service-tick { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #B4C3D1; margin-top: 2px; position: relative; }
.service-name { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--navy); }
.service-desc { grid-column: 1 / -1; color: var(--muted); font-size: 1rem; }
.service input:checked + .service-card { border-color: var(--navy); box-shadow: 0 18px 40px -24px rgba(10,26,51,.55); }
.service input:checked + .service-card .service-tick { background: var(--bulb); border-color: var(--bulb); }
.service input:checked + .service-card .service-tick::after { content: ''; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px; border: solid var(--navy); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.service input:focus-visible + .service-card { outline: 3px solid var(--bulb); outline-offset: 3px; }
.quote-fields { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 14px; max-width: 900px; margin-top: 20px; }
.quote-fields label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.quote-fields input { font: 400 1rem var(--body); padding: 13px 14px; border: 2px solid #C9D6E2; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; min-width: 0; }
.quote-fields input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(255,196,107,.6); }
.quote-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-big { min-height: 60px; padding: 0 34px; font-size: 1.12rem; }
.quote-preview-label { margin: 24px 0 6px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.quote-preview { max-width: 640px; margin: 0; white-space: pre-wrap; font: 400 .98rem/1.45 var(--body); background: #fff; border-radius: 18px 18px 18px 4px; padding: 14px 18px; border: 1px solid #C9D6E2; color: var(--ink); }
.photo-tip { background: #fff; border-radius: 12px; padding: 14px 18px; border: 1px solid #DCE5EC; font-size: 1rem; max-width: 640px; margin-top: 18px; }
.how-note { margin-top: 34px; font-weight: 600; color: var(--navy); background: var(--ice); display: inline-block; padding: 12px 18px; border-radius: 12px; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.big-num { display: inline-block; font-family: var(--display); font-weight: 900; font-size: clamp(2.8rem, 6vw, 4.4rem); text-decoration: none; color: var(--navy); line-height: 1; margin-bottom: 6px; }

/* Simple quote block */
.quote-simple { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.services-info { display: grid; gap: 14px; }
.svc { background: #fff; border-radius: 18px; padding: 22px 24px; border: 1px solid #C9D6E2; }
.svc h3 { font-size: 1.9rem; color: var(--navy); margin-bottom: .2em; }
.svc p { margin: 0; color: var(--muted); }

/* Good */
.good { background: #fff; padding: 100px 0; border-top: 1px solid #E3EAF0; }
.good-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.good-lede { font-size: 1.3rem; font-weight: 600; }
.good .btn-ghost { color: var(--navy); border-color: var(--navy); }
.tally { background: var(--navy); color: #fff; border-radius: 22px; padding: 40px 32px; text-align: center; }
.tally-num { font-family: var(--display); font-weight: 900; font-size: 5rem; color: var(--bulb); line-height: 1; margin: 0; }
.tally-label { color: var(--ice); margin: 6px 0 14px; }
.tally-sub { margin: 0; font-weight: 600; }

/* Area + FAQ */
.area { padding: 90px 0 40px; }
.towns { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; max-width: 34ch; color: var(--navy); }
.faq { padding: 60px 0 100px; }
.faq details { border-bottom: 1px solid #D5DEE6; max-width: 820px; }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.1rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 64ch; }

/* Final */
.final { background: var(--navy); color: #fff; padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: -40% -10% auto; height: 70%; background: radial-gradient(ellipse at center, rgba(111,227,184,.25), transparent 60%); pointer-events: none; }
.final .wrap { position: relative; }
.final h2 { max-width: 18ch; margin: 0 auto .4em; }
.final p { color: var(--ice); margin-bottom: 4px; }
.final .big-num { color: var(--bulb); }
.final-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.foot { background: #06122A; color: var(--ice); padding: 40px 24px 110px; text-align: center; font-size: .95rem; }
.foot p { margin: 0 0 6px; }
.foot strong { color: #fff; font-family: var(--display); font-size: 1.3rem; margin-right: 6px; }
.foot a { color: var(--bulb); font-weight: 700; text-decoration: none; }
.foot .small { opacity: .6; font-size: .85rem; margin-top: 12px; }

/* Mobile bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr minmax(0, 440px); }
  .hero-copy { padding-right: 24px; }
  .hero-scene { --minW: 1320px; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .strand { display: none; }
  .steps li .step-bulb { margin-top: 0 !important; }
  .perm-grid, .good-grid, .quote-simple { grid-template-columns: 1fr; gap: 36px; }
  .quote-fields { grid-template-columns: 1fr 1fr; }
  .quote-fields label:first-child { grid-column: 1 / -1; }
  .pkg-list { grid-template-columns: 1fr; gap: 18px; }
  .pkg, .pkg + .pkg { border-left: 0; border: 1px solid #D5DEE6; border-top: 4px solid var(--navy); border-radius: 0 0 16px 16px; }
  .pkg-pop { transform: none; border-top-color: var(--bulb); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .top { padding: 14px 16px; }
  .brand { font-size: 1.4rem; }
  .top-call { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1; padding: 78px 16px 0; }
  .hero h1 { font-size: clamp(2.9rem, 13vw, 4rem); }
  .hero-scene { top: auto; height: 56%; --fx: .44; --fy: .55; --minW: 0px; -webkit-mask-image: linear-gradient(transparent, #000 14%); mask-image: linear-gradient(transparent, #000 14%); }
  .hero-sub { font-size: 1.02rem; }
  .switch-wrap { right: 12px; bottom: 82px; gap: 10px; }
  .switch-plate { width: 84px; height: 132px; }
  .switch-slot { height: 62px; width: 32px; }
  .switch-toggle { width: 22px; height: 30px; transform: translateY(22px); }
  .switch-hint, .lit .switch-hint { font-size: 1.15rem; color: #fff; text-shadow: none; background: rgba(10,26,51,.82); padding: 6px 14px; border-radius: 999px; }
  .palette button { font-size: .78rem; padding: 5px 10px; }
  .scroll-cue { display: none; }
  .trust ul { padding: 24px 16px; gap: 18px; }
  .trust strong { font-size: 1.35rem; }
  .steps, .steps-3 { grid-template-columns: 1fr; }
  .services, .quote-fields { grid-template-columns: 1fr; }
  .quote-actions .btn { flex: 1 1 100%; }
  .how, .permanent, .quote, .good, .final { padding: 70px 0; }
  .est-form, .quote-form { padding: 20px; border-radius: 18px; }
  .chips span { padding: 9px 13px; font-size: .9rem; }
  .tally-num { font-size: 3.6rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: var(--navy); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -10px 30px rgba(0,0,0,.25); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 700; border: 1px solid rgba(255,255,255,.25); }
  .mobile-bar .mb-book { background: var(--bulb); color: var(--navy); border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .switch-toggle { transition: none; }
}

/* "See your home lit" CTA (links to design.html) */
.seelit { background: var(--ice); padding: 0 0 110px; }
.seelit-card { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 22px; padding: 38px 40px; position: relative; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10,26,51,.5); }
.seelit-card::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 10px; background: radial-gradient(circle, var(--bulb) 0 3px, rgba(255,196,107,.35) 4px, transparent 7px) 0 0 / 34px 10px repeat-x; opacity: .9; pointer-events: none; }
.seelit-card h2 { margin-bottom: .15em; }
.seelit-card p { margin: 0; color: var(--ice); max-width: 46ch; }
@media (max-width: 640px) {
  .seelit { padding: 0 0 70px; }
  .seelit-card { padding: 34px 22px 26px; border-radius: 18px; }
  .seelit-card .btn { flex: 1 1 100%; }
}

/* Phone tap targets */
.foot a { display: inline-block; padding: 12px 6px; }
.presets button { min-height: 44px; }

/* ---- Small, out-of-the-way light switch (keeps the porch clear) ---- */
.switch-wrap { top: auto; right: 24px; bottom: 26px; gap: 10px; flex-direction: row-reverse; align-items: flex-end; }
.switch-side { align-items: flex-end; gap: 8px; }
.switch-plate { width: 62px; height: 98px; padding: 8px 0; border-radius: 12px; }
.screw { width: 8px; height: 8px; }
.screw::after { top: 3px; left: 1px; right: 1px; }
.switch-slot { width: 26px; height: 48px; padding: 4px 0; border-radius: 6px; }
.switch-toggle { width: 18px; height: 22px; border-radius: 5px; transform: translateY(18px); }
.switch[aria-checked="true"] .switch-toggle { transform: translateY(0); }
.switch-hint, .lit .switch-hint { font-family: var(--body); font-weight: 700; font-size: .92rem; color: #fff; text-shadow: none; background: rgba(10,26,51,.72); padding: 6px 12px; border-radius: 999px; }
.switch-hint[hidden] { display: none; }
.palette { flex-direction: row; gap: 6px; }
.palette button { width: 36px; height: 36px; padding: 0; justify-content: center; }
.palette i { width: 16px; height: 16px; }
.scroll-cue { display: none; }
@media (max-width: 640px) {
  /* sits in the sky above the roof, never over the house */
  .switch-wrap { right: 12px; top: calc(50% + 14px); bottom: auto; flex-direction: row-reverse; align-items: center; }
  .switch-plate { width: 50px; height: 80px; padding: 6px 0; }
  .switch-slot { width: 22px; height: 40px; }
  .switch-toggle { width: 15px; height: 18px; transform: translateY(14px); }
  .switch-hint, .lit .switch-hint { font-size: .85rem; padding: 5px 10px; background: rgba(10,26,51,.72); }
}

/* ---- Referral program ---- */
.refer { background: linear-gradient(160deg, #FFC46B 0%, #FFB238 100%); color: var(--navy); padding: 100px 0; }
.refer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.refer-kicker { font-weight: 700; margin-bottom: .4em; }
.refer h2 { font-size: clamp(3.2rem, 7vw, 5.6rem); font-weight: 900; line-height: .9; margin-bottom: .3em; }
.refer-lede { font-size: 1.15rem; max-width: 44ch; }
.refer-steps { list-style: none; counter-reset: r; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; max-width: 52ch; }
.refer-steps li { counter-increment: r; position: relative; padding-left: 46px; }
.refer-steps li::before { content: counter(r); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--bulb); font-weight: 800; display: grid; place-items: center; }
.refer-steps strong { display: block; font-family: var(--display); font-size: 1.4rem; line-height: 1.1; }
.refer .btn-bulb { background: var(--navy); color: #fff; }
.refer .btn-bulb:hover { background: #13284A; box-shadow: 0 10px 30px -10px rgba(10,26,51,.6); }
.refer-tiers { background: var(--navy); color: #fff; border-radius: 22px; padding: 28px; display: grid; gap: 12px; box-shadow: 0 30px 60px -30px rgba(10,26,51,.6); }
.tier { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); }
.tier p { margin: 0; color: var(--ice); }
.tier strong { color: #fff; font-size: 1.1rem; }
.tier-n { font-family: var(--display); font-weight: 900; font-size: 2.6rem; color: var(--bulb); line-height: 1; text-align: center; }
.tier-n::after { content: ' ref'; font-size: .9rem; font-family: var(--body); font-weight: 600; color: var(--ice); }
.tier-top { background: rgba(255,196,107,.16); outline: 1px solid rgba(255,196,107,.5); }
.tier-note { margin: 4px 0 0; font-size: .88rem; color: var(--ice); }
@media (max-width: 960px) { .refer-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .refer { padding: 70px 0; } .refer-actions .btn { width: 100%; } }

/* ---- 30-second booking pop-up ---- */
.pop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(4,12,30,.62); backdrop-filter: blur(3px); animation: pop-fade .25s ease; }
.pop[hidden] { display: none; }
.pop-card { position: relative; width: min(440px, 100%); background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); animation: pop-up .3s cubic-bezier(.2,1.2,.4,1); }
.pop-img { display: block; width: 100%; aspect-ratio: 16 / 9; position: relative; }
.pop-scene { position: absolute; inset: 0; --fx: .45; --fy: .5; }
.pop-body { padding: 22px 24px 18px; text-align: center; }
.pop-body h2 { font-size: 2.4rem; color: var(--navy); margin-bottom: .2em; }
.pop-body p { color: var(--muted); margin-bottom: 18px; }
.pop-actions { display: grid; gap: 10px; }
.pop-actions .btn { width: 100%; }
.pop-later { margin-top: 10px; background: none; border: 0; color: var(--muted); font: 600 .95rem var(--body); padding: 10px; cursor: pointer; min-height: 44px; }
.pop-x { position: absolute; z-index: 3; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(10,26,51,.65); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pop-open { overflow: hidden; }
@keyframes pop-fade { from { opacity: 0; } }
@keyframes pop-up { from { transform: translateY(24px) scale(.97); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pop, .pop-card { animation: none; } }

/* Referral: donation option + share prompt */
.refer-give { background: rgba(10,26,51,.1); border: 2px dashed rgba(10,26,51,.35); border-radius: 16px; padding: 16px 18px; max-width: 52ch; margin: 4px 0 18px; }
.refer-give p { margin: 0; }
.refer-give-h { font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1.1; margin-bottom: 6px !important; }
.refer-share-line { font-size: 1.05rem; margin: 0 0 14px; max-width: 52ch; }

/* Permanent demo: zoom onto the roofline so the colour presets read clearly */
.perm-scene .ph-stage { --W: max(100cqw, 150cqh) ; }
.perm-photo .ph-core { fill: #FFFFFF; }
.perm-photo .ph-halo { opacity: .95 !important; }

.perm-kicker { color: var(--aurora); font-weight: 700; margin-bottom: .4em; }
.perm-quote { color: #fff !important; background: rgba(111,227,184,.1); border-left: 4px solid var(--aurora); padding: 12px 16px; border-radius: 10px; }
.perm-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Header: never wrap the logo or phone; hide the text menu before it gets crowded */
.brand, .top-call { white-space: nowrap; }
.nav { flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 1180px) { .top .nav { display: none; } .top-call { margin-left: auto; } }

/* Agency credit */
.built-by { margin-top: 10px; font-size: .85rem; opacity: .75; }
.built-by a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 10px 2px; display: inline-block; }

.quote-note { max-width: 56ch; margin: -6px 0 22px; padding: 10px 14px; border-left: 4px solid var(--navy); background: rgba(255,255,255,.6); border-radius: 8px; font-size: .98rem; }
.quote-note a { font-weight: 700; }

/* ---- How: "See your home lit" call-out + 4-step process ---- */
.how-cta { margin: 28px 0 10px; }
.how-cta h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .15em; color: #fff; }
.how-lead { margin: 44px 0 26px; font-weight: 700; font-size: 1.15rem; color: var(--navy); }
@media (max-width: 640px) { .how-cta .btn { flex: 1 1 100%; } }

/* ---- Referral code maker ---- */
.refer-card { background: rgba(255,255,255,.55); border-radius: 18px; padding: 18px; max-width: 52ch; margin: 0 0 18px; }
.refer-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.refer-fields label, .book-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; text-align: left; }
.refer-fields input, .book-form input, .book-form select { font: 400 1rem var(--body); padding: 13px 14px; border: 2px solid #C9D6E2; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; min-width: 0; min-height: 50px; }
.refer-fields input:focus, .book-form input:focus, .book-form select:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(255,196,107,.6); }
.refer-make { width: 100%; }
.refer-out { margin-top: 16px; }
.refer-out[hidden] { display: none; }
.refer-code-label { margin: 0; font-weight: 600; font-size: .9rem; }
.refer-code { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1; margin: 2px 0 12px; word-break: break-all; }
.refer-share { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.refer-share .btn { min-height: 48px; padding: 0 14px; font-size: .95rem; }
.btn-fb { background: #1877F2; color: #fff; }
.btn-fb:hover { background: #0F65D8; }
.tier-every { font-size: 1.5rem; }
.tier-every::after { content: ''; }
@media (max-width: 420px) { .refer-fields, .refer-share { grid-template-columns: 1fr; } }

/* ---- Referral code applied (arrived from a shared link) ---- */
.ref-applied { display: inline-block; background: var(--navy); color: var(--bulb); font-weight: 700; font-size: .85rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.ref-applied[hidden] { display: none; }

/* ---- Final: Book now form ---- */
.book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 620px; margin: 22px auto 0; }
.book-form label { color: var(--ice); }
.bf-wide { grid-column: 1 / -1; }
.final-or { margin-top: 18px !important; }
.final-or a { color: var(--bulb); font-weight: 700; display: inline-block; padding: 10px 4px; }
@media (max-width: 560px) { .book-form { grid-template-columns: 1fr; } }

.pop-actions .btn-big { font-size: 1rem; padding: 0 16px; }

.btn { text-align: center; }
/* Consent checkbox (quote + Book now) */
.consent { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: .92rem !important; text-align: left; cursor: pointer; line-height: 1.4; }
.consent input { width: 22px !important; height: 22px; min-height: 0 !important; flex: none; margin: 1px 0 0; accent-color: var(--bulb-hot); padding: 0 !important; }
.book-form .consent { color: var(--ice); }
.bf-err { background: #FFF1F0; color: #9B1C1C; border-radius: 10px; padding: 10px 14px; font-weight: 600; margin: 0; }
.bf-err[hidden] { display: none; }
