@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap');
/* Smart Homes For America
   Street-level Americana: blue motorist-service signs for navigation,
   white curb-paint plates for prices. Everything else stays quiet. */

:root {
  --ink: #23272E;
  --muted: #5B616A;
  --concrete: #E7E5E1;
  --concrete-dk: #BDB9B1;
  --paper: #FFFFFF;
  --sign: #0B4EA2;
  --sign-dk: #083B7A;
  --signal: #C8102E;
  --ok: #1E7B4B;
  --display: 'Overpass', 'Arial Narrow', Arial, sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .3 0 0 0 0 .3 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sign); text-underline-offset: .18em; }
a:hover { color: var(--sign-dk); }
:focus-visible { outline: 3px solid var(--sign); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-weight: 900; font-size: clamp(2.4rem, 5.4vw, 4.25rem); line-height: 1; letter-spacing: -.015em; }
h2 { font-weight: 800; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.08; letter-spacing: -.01em; }
h3 { font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }
.fine { font-size: .9rem; color: var(--muted); }

/* ── Top strip + header ───────────────────────────── */
.strip { background: var(--ink); color: #fff; font-size: .9rem; }
.strip .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.strip a { color: #fff; font-weight: 600; text-decoration: none; }
.strip a:hover { text-decoration: underline; color: #fff; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--concrete); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo svg, .logo img { width: 52px; height: 52px; flex: none; }
.logo span { font-family: var(--display); font-weight: 900; font-size: 1.15rem; line-height: 1; letter-spacing: -.01em; }
.logo small { display: block; font-weight: 600; font-size: .78rem; color: var(--muted); letter-spacing: 0; margin-top: .2rem; }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--concrete-dk); border-radius: 8px; padding: .5rem .7rem; font: 700 .95rem var(--body); color: var(--ink); cursor: pointer; }
#site-nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; flex-wrap: wrap; }
#site-nav a { display: block; padding: .55rem .7rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 6px; }
#site-nav a:hover { background: var(--concrete); color: var(--ink); }
#site-nav a[aria-current="page"] { color: var(--sign); box-shadow: inset 0 -3px 0 var(--sign); border-radius: 0; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-block; }
  #site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--concrete); display: none; }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; padding: .5rem var(--gap) 1rem; }
  #site-nav a { padding: .8rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--concrete); border-radius: 0; }
  #site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--sign); padding-left: .9rem; }
}

/* ── Buttons ───────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .75rem 1.35rem; border-radius: 8px; border: 2px solid var(--sign); background: var(--sign); color: #fff; font: 700 1.02rem/1.1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--sign-dk); border-color: var(--sign-dk); color: #fff; }
.btn.ghost { background: transparent; color: var(--sign); }
.btn.ghost:hover { background: var(--sign); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ── The curb plate: white paint, black numerals, concrete surround ── */
.plate {
  display: inline-block; background: #fff; color: #16191D;
  font-family: var(--display); font-weight: 900; line-height: 1; letter-spacing: .01em;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); padding: .2em .42em .08em;
  border-radius: 3px;
  box-shadow: 0 0 0 .28em var(--concrete-dk), 0 .42em 0 .28em #A7A298;
  margin: .3em .3em .7em;
  font-variant-numeric: tabular-nums;
}
.plate-sm { font-size: 1.35rem; box-shadow: 0 0 0 .22em var(--concrete-dk), 0 .34em 0 .22em #A7A298; margin: .2em .25em .5em; }
.was { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--signal); text-decoration-thickness: 3px; margin-left: .6rem; }
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1rem; margin: 1.1rem 0 .4rem; }
.price-row .note { font-weight: 600; color: var(--muted); max-width: 26ch; line-height: 1.35; }

/* ── Hero ───────────────────────────── */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 14px; }
.hero-media figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.94); padding: .45rem .75rem; border-radius: 6px; font-size: .88rem; font-weight: 600; }
.hero .kicker { font-weight: 700; color: var(--sign); margin-bottom: .75rem; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-media { order: -1; } .hero-media img { aspect-ratio: 16 / 10; } }

/* ── The curb: concrete band that carries the service signs ── */
.curb { background: var(--concrete) var(--noise); border-top: 10px solid #D4D0C8; box-shadow: inset 0 10px 0 #F2F0EC; padding: 2.2rem 0 2.6rem; }
.curb h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .signs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .signs { grid-template-columns: 1fr; } }
.sign {
  display: grid; grid-template-columns: 52px 1fr; gap: .2rem .9rem; align-items: center;
  background: var(--sign); color: #fff; text-decoration: none;
  border-radius: 12px; padding: 1.05rem 1.15rem;
  outline: 2px solid #fff; outline-offset: -7px;
}
.sign:hover { background: var(--sign-dk); color: #fff; }
.sign:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sign svg { grid-row: span 2; width: 52px; height: 52px; }
.sign strong { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.1; }
.sign span { font-size: .92rem; line-height: 1.35; opacity: .92; }

/* ── Sections ───────────────────────────── */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: #F3F2EF; }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.photo { border-radius: 14px; width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: .8rem; }
.photo-pair img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.photo-pair img:first-child { aspect-ratio: auto; }

.checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.checks li { padding-left: 1.9rem; position: relative; max-width: 60ch; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--sign) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

.cities { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.cities li { background: #1E6B3A; color: #fff; font-family: var(--display); font-weight: 700; padding: .45rem .8rem .35rem; border-radius: 6px; outline: 1.5px solid #fff; outline-offset: -4px; }

/* Around-the-house trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
.job { display: flex; flex-direction: column; }
.job img, .job .illo { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 1rem; }
.job p { flex: 1; }
.job .price-row { margin-top: 0; }

/* Steps (a real sequence, so numbered) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: 1; display: block; margin-bottom: .5rem; color: var(--sign); }
.steps h3 { margin-bottom: .3rem; }

/* Referral band */
.refer-band { background: var(--sign); color: #fff; }
.refer-band h2, .refer-band h3 { color: #fff; }
.refer-band a:not(.btn) { color: #fff; }
.refer-band .btn { background: #fff; color: var(--sign); border-color: #fff; }
.refer-band .btn:hover { background: var(--concrete); border-color: var(--concrete); color: var(--sign-dk); }
.refer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.refer-grid .rates { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; }
.refer-grid .rates div { display: flex; align-items: center; gap: .9rem; }
.refer-grid .rates p { margin: 0; max-width: 18ch; font-weight: 600; line-height: 1.3; }
@media (max-width: 860px) { .refer-grid { grid-template-columns: 1fr; } }

/* Pay methods */
.methods { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.methods li { border: 1.5px solid var(--concrete-dk); border-radius: 999px; padding: .35rem .85rem; font-weight: 600; font-size: .92rem; background: #fff; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--concrete-dk); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 2rem 1.05rem 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .75rem; font: 800 1.5rem var(--display); color: var(--sign); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); }

/* ── Booking form ───────────────────────────── */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 960px) { .booking-grid { grid-template-columns: 1fr; } .summary { order: -1; position: static !important; } }
form.book { display: grid; gap: 1.6rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin-bottom: .8rem; padding: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem 1rem; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
label.f { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
label.f .opt { font-weight: 400; color: var(--muted); }
label.f .req { font-weight: 700; color: var(--signal); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: .7rem .85rem; font: 400 1rem/1.3 var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--concrete-dk); border-radius: 8px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sign); box-shadow: 0 0 0 3px rgba(11,78,162,.2); }
[aria-invalid="true"] { border-color: var(--signal) !important; box-shadow: 0 0 0 3px rgba(200,16,46,.15) !important; }
.hint { font-size: .88rem; color: var(--muted); font-weight: 400; margin: .35rem 0 0; }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .7rem; }
.choice { display: grid; grid-template-columns: auto 1fr; gap: .15rem .7rem; align-items: start; padding: .9rem 1rem; border: 1.5px solid var(--concrete-dk); border-radius: 10px; background: #fff; cursor: pointer; }
.choice input { margin: .25rem 0 0; width: 1.15rem; height: 1.15rem; accent-color: var(--sign); grid-row: span 2; }
.choice b { font-weight: 700; line-height: 1.25; }
.choice small { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.choice:has(input:checked) { border-color: var(--sign); box-shadow: inset 0 0 0 1px var(--sign); background: #F4F8FD; }
.choice:has(input:focus-visible) { outline: 3px solid var(--sign); outline-offset: 2px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; color: #fff; background: var(--ok); padding: .1rem .45rem; border-radius: 4px; margin-left: .3rem; vertical-align: .1em; }

.pay-panel { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 10px; background: #F3F2EF; }
.pay-panel p { margin: 0 0 .5rem; }
.pay-panel p:last-child { margin-bottom: 0; }
.card-box { min-height: 90px; }
.secure { display: flex; gap: .5rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-top: .6rem; }
.secure svg { flex: none; width: 18px; height: 18px; margin-top: .1rem; }
.agree { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .95rem; padding: .9rem 1rem; border: 1.5px solid var(--concrete-dk); border-radius: 10px; background: #fff; }
.agree input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--sign); }
.form-error { background: #FDECEE; color: #8A0B1F; border-left: 4px solid var(--signal); padding: .8rem 1rem; border-radius: 6px; font-weight: 600; }
.bot { display: none; }
.submit-row { display: grid; gap: .6rem; }
.submit-row .btn { width: 100%; min-height: 58px; font-size: 1.1rem; }

.summary { position: sticky; top: 96px; background: #fff; border: 1.5px solid var(--concrete-dk); border-radius: 14px; overflow: hidden; }
.summary header { background: var(--concrete) var(--noise); padding: 1rem 1.2rem; }
.summary header h3 { margin: 0; font-size: 1.1rem; }
.summary .body { padding: 1.1rem 1.2rem 1.3rem; }
.summary ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.summary li { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.summary li span:last-child { font-weight: 700; white-space: nowrap; }
.summary li.discount { color: var(--ok); }
.summary .total { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--concrete); padding-top: .6rem; gap: .5rem; }
.summary .total span:first-child { font-weight: 700; }
.summary .total .plate { font-size: 2rem; margin: .4rem .3rem .7rem; }
.summary [data-extra] p { font-size: .9rem; color: var(--muted); margin: .5rem 0 0; }

/* ── Footer ───────────────────────────── */
.site-footer { background: var(--ink); color: #D8DADD; padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .7rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer .legal { border-top: 1px solid #3A3F47; margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; color: #A9ADB3; font-size: .85rem; }
.site-footer .legal a { color: #D8DADD; }

/* Prose pages (terms, privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.prose li { margin-bottom: .4rem; }

.thanks-box { max-width: 680px; }
.thanks-box .lead { font-size: 1.4rem; }
.hero-media .illo, .job .illo { width: 100%; height: auto; display: block; border-radius: 14px; }
.hero-media .illo { aspect-ratio: 4 / 3; }
label.f .lbl { display: block; }
.pay-panel { background: #fff; border: 1.5px solid var(--concrete-dk); }
.section:not(.alt) .pay-panel { background: #F7F6F4; }
.card-box:empty { min-height: 0; }

/* ── Insurance housing ───────────────────────────── */
@media (max-width: 1260px) {
  .nav-toggle { display: inline-block; }
  #site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--concrete); display: none; }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; padding: .5rem var(--gap) 1rem; }
  #site-nav a { padding: .8rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--concrete); border-radius: 0; }
  #site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--sign); padding-left: .9rem; }
}
#site-nav a.nav-ins { background: var(--sign); color: #fff; border-radius: 6px; }
#site-nav a.nav-ins:hover { background: var(--sign-dk); color: #fff; }
#site-nav a.nav-ins[aria-current="page"] { box-shadow: none; }
@media (max-width: 1260px) { #site-nav a.nav-ins { margin: .4rem 0; border-bottom: 0; border-radius: 8px; padding-left: .9rem; } }

.sign-wide { grid-column: 1 / -1; background: var(--ink); }
.sign-wide:hover { background: #111418; }
.sign-wide strong { font-size: 1.45rem; }

.ins-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ins-points li { border: 1.5px solid var(--concrete-dk); border-radius: 999px; padding: .35rem .8rem; font-weight: 600; font-size: .92rem; }
.checks.cols-2 { grid-template-columns: 1fr 1fr; gap: .8rem 2rem; }
@media (max-width: 760px) { .checks.cols-2 { grid-template-columns: 1fr; } }

.homes { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.home { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; padding-bottom: clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--concrete); }
.home:last-child { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 900px) { .home { grid-template-columns: 1fr; } }
.home h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .2rem; }
.home .kicker { font-weight: 700; color: var(--sign); margin: 0 0 .3rem; }
.home-addr { color: var(--muted); margin-bottom: .8rem; }
.home-note { margin: .8rem 0 0; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.facts li { background: #F3F2EF; border-radius: 6px; padding: .3rem .65rem; font-weight: 600; font-size: .92rem; }
.rent { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 .3rem; font-weight: 700; color: var(--muted); }
.plate-md { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: .3rem .3rem .6rem; }
.home-terms { width: 100%; border-collapse: collapse; margin: .4rem 0 1.3rem; font-size: .96rem; }
.home-terms th, .home-terms td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--concrete); vertical-align: top; }
.home-terms th { font-weight: 600; color: var(--muted); padding-right: 1rem; width: 45%; }
.home-terms td { font-weight: 700; }

.gallery { min-width: 0; }
.g-main { position: relative; border-radius: 14px; overflow: hidden; background: #F3F2EF; }
.g-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font: 700 1.6rem/1 var(--body); cursor: pointer; display: grid; place-items: center; }
.g-nav.prev { left: .7rem; } .g-nav.next { right: .7rem; }
.g-open { position: absolute; right: .7rem; bottom: .7rem; border: 0; border-radius: 6px; background: rgba(35,39,46,.85); color: #fff; font: 600 .85rem var(--body); padding: .4rem .7rem; cursor: pointer; }
.g-thumbs { display: flex; gap: .45rem; overflow-x: auto; padding: .55rem 0 .2rem; scroll-snap-type: x mandatory; }
.g-thumb { flex: none; width: 88px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; scroll-snap-align: start; opacity: .75; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb[aria-current="true"] { border-color: var(--sign); opacity: 1; }
.g-empty { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--concrete) var(--noise); display: grid; place-content: center; justify-items: center; text-align: center; gap: .6rem; padding: 1.5rem; color: var(--ink); }
.g-empty svg { width: 64px; height: 64px; color: var(--sign); }
.g-empty p { margin: 0; max-width: 32ch; }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(15,17,20,.94); }
.lb-inner { width: 100%; height: 100%; display: grid; place-items: center; position: relative; }
.lb-inner img { max-width: min(96vw, 1400px); max-height: 84vh; object-fit: contain; border-radius: 8px; }
.lb-inner p { color: #fff; margin: .6rem auto 0; text-align: center; font-size: .95rem; }
.lb-btn { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 52px; height: 52px; border-radius: 50%; font: 700 1.8rem/1 var(--body); cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 1rem; top: 50%; } .lb-next { right: 1rem; top: 50%; } .lb-close { right: 1rem; top: 1rem; font-size: 1.5rem; }
@media (max-width: 640px) { .strip-local { display: none; } }

.wallet-row { margin: 0 0 1rem; }
.wallet-row[hidden] { display: none; }
.apple-pay-btn { width: 100%; min-height: 3rem; border: 0; border-radius: 10px; background: #000; color: #fff; font: 600 1.05rem/1 inherit; cursor: pointer; }
@supports (-webkit-appearance: -apple-pay-button) {
  .apple-pay-btn { -webkit-appearance: -apple-pay-button; -apple-pay-button-type: pay; -apple-pay-button-style: black; font-size: 0; }
}
.wallet-row .fine { margin: .5rem 0 0; }

.home-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.crumb { margin: 0 0 1.2rem; font-weight: 600; }


/* ═══════════════════════════════════════════════════════════════
   2026-11 refresh: "Blueprint" (default) and "Porch Light" themes.
   Both keep the logo's navy, gold and red. Switch with ?theme=porch
   or ?theme=blueprint (remembered per browser). Motion lives in
   /js/site.js and is skipped when the visitor prefers reduced motion.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --display: 'Sora', 'Overpass', 'Arial Narrow', Arial, sans-serif;
  --ink: #0E1B2A; --muted: #4E5B6B; --paper: #FFFFFF;
  --concrete: #E3E9F1; --concrete-dk: #7C8A9C;
  --sign: #0F5BD8; --sign-dk: #0B46AB; --signal: #C8102E;
  --alt: #F4F7FB; --accent: #F6C945; --accent-ink: #0A1626;
  --hero-bg: #071A2F; --hero-bg2: #0D2744; --hero-ink: #F2F6FB; --hero-muted: #A9BBD0;
  --hero-link: #6FB1FF; --wire: #6FB1FF; --grid: rgba(111,177,255,.16);
  --card-bg: #0D2744; --card-ink: #F2F6FB; --card-sub: #C9D6E6; --card-line: rgba(111,177,255,.35); --card-icon: #F6C945;
  --glow: rgba(47,129,247,.45); --node: #F6C945;
  --header-bg: rgba(255,255,255,.82);
}
:root[data-theme="porch"] {
  --ink: #0C2F54; --muted: #4F5661; --paper: #FBF7EF;
  --concrete: #E9DFCC; --concrete-dk: #8A7F6C;
  --sign: #0C2F54; --sign-dk: #071F3A; --signal: #8F1D14;
  --alt: #F3EADA; --accent: #F6C945; --accent-ink: #0C2F54;
  --hero-bg: #F3EADA; --hero-bg2: #FBF7EF; --hero-ink: #0C2F54; --hero-muted: #4F5661;
  --hero-link: #8F1D14; --wire: #0C2F54; --grid: rgba(12,47,84,.10);
  --card-bg: #FFFFFF; --card-ink: #0C2F54; --card-sub: #4F5661; --card-line: #D9CDB6; --card-icon: #8F1D14;
  --glow: rgba(246,201,69,.55); --node: #8F1D14;
  --header-bg: rgba(251,247,239,.84);
}

body { background: var(--paper); }
h1 { font-weight: 800; letter-spacing: -.03em; }
h2 { font-weight: 700; letter-spacing: -.02em; }
h3 { font-weight: 700; letter-spacing: -.01em; }
.section.alt { background: var(--alt); }

/* Header: frosted glass */
.strip { background: var(--hero-bg); color: var(--hero-ink); border-bottom: 1px solid var(--grid); }
.strip a, .strip a:hover { color: var(--hero-ink); }
.site-header { background: var(--header-bg); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--concrete); }
@media (max-width: 1060px) { #site-nav { background: var(--paper); } }
.logo span { font-weight: 800; letter-spacing: -.02em; }
#site-nav a { transition: background .18s, color .18s; }

/* Buttons */
.btn { border-radius: 10px; transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s, background .18s, border-color .18s, color .18s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--glow); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* Hero: dark stage with a perspective grid floor */
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 90% at 78% 10%, var(--hero-bg2), var(--hero-bg) 62%); color: var(--hero-ink); }
.hero::before { content: ""; position: absolute; z-index: -1; left: -30%; right: -30%; bottom: -8%; height: 62%;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(620px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: grid-run 7s linear infinite; }
@keyframes grid-run { to { background-position: 0 56px, 0 0; } }
.hero h1, .hero h2, .hero h3 { color: var(--hero-ink); }
.hero .lead, .hero p, .hero li { color: var(--hero-ink); }
.hero .muted, .hero .fine, .hero .price-row .note, .hero .was { color: var(--hero-muted); }
.hero .kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; }
:root[data-theme="porch"] .hero .kicker { color: var(--signal); }
.hero a:not(.btn) { color: var(--hero-link); }
.hero .btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hero .btn:hover { background: #FFD95E; border-color: #FFD95E; color: var(--accent-ink); }
.hero .btn.ghost { background: transparent; border-color: var(--hero-muted); color: var(--hero-ink); }
.hero .btn.ghost:hover { background: var(--hero-ink); border-color: var(--hero-ink); color: var(--hero-bg); }
:root[data-theme="porch"] .hero .btn:not(.ghost) { background: var(--sign); border-color: var(--sign); color: #fff; }
:root[data-theme="porch"] .hero .btn:not(.ghost):hover { background: var(--sign-dk); border-color: var(--sign-dk); color: #fff; }
:root[data-theme="porch"] .hero .btn.ghost { border-color: var(--sign); }
.hero :focus-visible { outline-color: var(--accent); }
:root[data-theme="porch"] .hero :focus-visible { outline-color: var(--sign); }
.hero-media figcaption { color: #0E1B2A; }
.hero-media img, .hero-media .illo { box-shadow: 0 30px 60px -30px rgba(0,0,0,.55), 0 0 0 1px var(--card-line); }

/* 3D stage on the home page (canvas is added by site.js) */
.hero-media.stage { aspect-ratio: 4 / 3.3; perspective: 1100px; }
.hero-media.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-media.stage > img { display: none; }
.stage-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .7rem; border-radius: 999px;
  font: 700 .78rem/1 var(--body); letter-spacing: .02em; color: var(--card-ink); background: color-mix(in srgb, var(--card-bg) 82%, transparent);
  border: 1px solid var(--card-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: translate3d(calc(var(--mx, 0) * var(--d, 10px)), calc(var(--my, 0) * var(--d, 10px)), 0); transition: transform .25s ease-out; }
.stage-chip i { width: .5rem; height: .5rem; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 .5rem rgba(61,220,132,0); } }
@media (max-width: 860px) { .hero-media.stage { aspect-ratio: 16 / 11; } .hero-media.stage > img { display: none; } }
@media (max-width: 520px) { .stage-chip { font-size: .7rem; padding: .32rem .55rem; } }

/* Service cards: glass tiles that tilt toward the pointer */
.curb { background: var(--hero-bg); border-top: 1px solid var(--grid); box-shadow: none; }
.curb h2 { color: var(--hero-ink); }
.signs { perspective: 1200px; }
.sign { background: linear-gradient(160deg, color-mix(in srgb, var(--card-bg) 100%, transparent), color-mix(in srgb, var(--card-bg) 86%, var(--hero-bg))); color: var(--card-ink);
  outline: 0; border: 1px solid var(--card-line); border-radius: 16px; padding: 1.2rem 1.25rem; position: relative; overflow: hidden;
  transform: rotateX(calc(var(--ry, 0) * -7deg)) rotateY(calc(var(--rx, 0) * 9deg)) translateZ(0); transform-style: preserve-3d;
  transition: transform .2s ease-out, box-shadow .2s, border-color .2s; will-change: transform; }
.sign::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(240px circle at calc(50% + var(--rx, 0) * 50%) calc(50% + var(--ry, 0) * 50%), var(--glow), transparent 70%); }
.sign:hover { background: linear-gradient(160deg, var(--card-bg), color-mix(in srgb, var(--card-bg) 86%, var(--hero-bg))); color: var(--card-ink); border-color: var(--wire); box-shadow: 0 24px 40px -24px var(--glow); }
.sign:hover::after { opacity: .35; }
.sign:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
:root[data-theme="porch"] .sign:focus-visible { outline-color: var(--sign); }
.sign svg { color: var(--card-icon); transform: translateZ(24px); }
.sign strong { font-weight: 700; letter-spacing: -.01em; transform: translateZ(16px); }
.sign span { color: var(--card-sub); opacity: 1; }
:root[data-theme="porch"] .curb { background: var(--alt); }
:root[data-theme="porch"] .sign { box-shadow: 0 1px 0 #fff inset, 0 14px 30px -22px rgba(12,47,84,.45); }

/* Depth on photos and cards in the page body */
.photo, .photo-pair img, .job img, .g-main img { box-shadow: 0 24px 48px -30px rgba(14,27,42,.55); }
.choice { background: var(--paper); transition: border-color .15s, box-shadow .15s; }
:root:not([data-theme="porch"]) .choice { background: #fff; }
.choice:hover { border-color: var(--sign); }
.choice:has(input:checked) { border-color: var(--sign); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sign) 18%, transparent); }
.summary { box-shadow: 0 30px 60px -40px rgba(14,27,42,.5); }
.summary header { background: var(--alt); }
.steps li { border-top-color: var(--sign); }
.refer-band { background: var(--hero-bg); background-image: radial-gradient(90% 120% at 85% 0%, var(--hero-bg2), transparent 70%); color: var(--hero-ink); }
.refer-band h2, .refer-band h3, .refer-band a:not(.btn) { color: var(--hero-ink); }
.refer-band .btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.refer-band .btn:hover { background: #FFD95E; border-color: #FFD95E; color: var(--accent-ink); }
.site-footer { background: var(--hero-bg); }
:root[data-theme="porch"] .site-footer, :root[data-theme="porch"] .strip, :root[data-theme="porch"] .refer-band { background: #0C2F54; --hero-ink: #fff; color: #E6ECF3; }
:root[data-theme="porch"] .strip a, :root[data-theme="porch"] .refer-band h2, :root[data-theme="porch"] .refer-band h3, :root[data-theme="porch"] .refer-band a:not(.btn) { color: #fff; }

/* Scroll reveal (class added by site.js only when motion is welcome) */
.rv { opacity: 0; transform: translate3d(0, 28px, 0) scale(.985); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .hero::before { animation: none; } }
