/* 775 Handyman Co. — site styles
   Palette: Sierra night, sagebrush, bulb amber, snow, ink, granite */
:root {
  --night: #16233a;
  --night-2: #1f3150;
  --sage: #5f7d5c;
  --sage-soft: #e6ede4;
  --amber: #ffb547;
  --amber-deep: #e8962a;
  --snow: #f6f8fa;
  --paper: #ffffff;
  --ink: #1a1f2b;
  --granite: #586170;
  --line: #d9dee5;
  --danger: #b4372f;
  --ok: #2f7a43;
  --radius-s: 6px;
  --radius-l: 14px;
  --wrap: 1120px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--snow);
}
img { max-width: 100%; height: auto; display: block; }
.split > *, .hero-grid > *, .calc > *, .book-grid > *, .footer-grid > * { min-width: 0; }
a { color: var(--night-2); text-underline-offset: 3px; }
a:hover { color: var(--sage); }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-stretch: 112%; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--amber); padding: 8px 12px; z-index: 99; }

/* Header */
.site-header {
  background: var(--night);
  color: #fff;
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-stretch: 118%; font-size: 1.15rem; }
.brand img { width: 40px; height: 40px; background: #fff; border-radius: 50%; padding: 3px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: #dfe6f0; text-decoration: none; padding: 8px 12px; border-radius: var(--radius-s); font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--radius-s); padding: 8px 12px; font: inherit; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-stretch: 108%; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-amber { background: var(--amber); color: var(--night); }
.btn-amber:hover { background: #ffc66e; color: var(--night); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--night-2); color: #fff; }
.btn-line { border-color: var(--night); color: var(--night); background: transparent; }
.btn-line:hover { background: var(--night); color: #fff; }
.nav .btn { padding: 9px 18px; }

/* Hero with the string of lights */
.hero { background: var(--night); color: #fff; position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero p { color: #c9d4e3; font-size: 1.15rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 48px; align-items: center; }
.hero-photo { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.light-string { position: absolute; top: 0; left: 0; width: 100%; height: 64px; pointer-events: none; z-index: 1; }
.light-string .wire { fill: none; stroke: #2e4366; stroke-width: 2; }
.light-string .bulb { fill: var(--c); transition: fill .35s ease; transition-delay: calc(var(--i) * 45ms); }
.light-string .glow { fill: var(--c); opacity: .55; filter: blur(6px); transition: fill .35s ease, opacity .35s ease; transition-delay: calc(var(--i) * 45ms); }
.light-string.off .bulb { fill: #3a4d6e; }
.light-string.off .glow { opacity: 0; }
.light-string .bulb-g.twinkle { animation: twinkle 1.3s ease-in-out; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 45% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) {
  .light-string .bulb, .light-string .glow { transition: none; }
  html { scroll-behavior: auto; }
}
.page-hero { padding: 72px 0 48px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }

/* Trust strip */
.trust { background: var(--night-2); color: #e7edf5; }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 36px; font-weight: 600; }
.trust li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); margin-right: 10px; vertical-align: middle; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sage { background: var(--sage-soft); }
.lead { font-size: 1.15rem; color: var(--granite); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

/* Services list — a ledger, not a card grid */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 48px; margin-top: 28px; }
.ledger-row { display: flex; gap: 18px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.ledger-row h3 { margin: 0 0 4px; }
.ledger-row p { margin: 0; color: var(--granite); }
.ledger-row .price { margin-left: auto; white-space: nowrap; font-weight: 800; font-stretch: 115%; color: var(--night); }
.ledger-row a { text-decoration: none; color: inherit; }
.ledger-row a:hover h3 { color: var(--sage); }

/* Featured split (image + text) */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.split img { border-radius: var(--radius-l); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split.flip > :first-child { order: 2; }

/* Price tables */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); margin: 20px 0 8px; }
.price-table th, .price-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--night); color: #fff; font-stretch: 112%; font-weight: 700; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td.num { font-weight: 800; font-stretch: 115%; white-space: nowrap; }
.price-table tr.featured td { background: #fff8ec; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.note { font-size: .95rem; color: var(--granite); }

/* Packages (holiday) */
.packages { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.pkg { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; display: flex; flex-direction: column; }
.pkg h3 { margin-bottom: 2px; }
.pkg .from { color: var(--granite); font-size: .95rem; margin: 0 0 14px; }
.pkg .big { font-size: 2.3rem; font-weight: 800; font-stretch: 120%; color: var(--night); line-height: 1; }
.pkg ul { padding-left: 18px; margin: 16px 0 20px; flex: 1; }
.pkg li { margin: 4px 0; }
.pkg.popular { border: 2px solid var(--amber-deep); box-shadow: 0 18px 40px -24px rgba(232,150,42,.7); }
.pkg .tag { align-self: flex-start; background: var(--amber); color: var(--night); font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.pkg .alt { font-size: .95rem; color: var(--granite); margin: 6px 0 0; }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 14px; border-top: 3px solid var(--amber); }
.steps li::before { content: "Step " counter(s); display: block; font-weight: 700; color: var(--amber-deep); margin-bottom: 6px; }
.steps h3 { margin-bottom: 6px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.review { margin: 0; }
.review blockquote { margin: 0 0 10px; font-size: 1.12rem; line-height: 1.5; }
.review figcaption { color: var(--granite); font-weight: 600; }
.stars { color: var(--amber-deep); letter-spacing: 2px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-s); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-stretch: 108%; font-size: 1.08rem; list-style-position: outside; }
.faq details p { margin: 10px 0 0; color: var(--granite); }

/* CTA band */
.cta-band { background: var(--night); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 6px 0 0; color: #c9d4e3; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label, .label { font-weight: 700; font-size: .97rem; }
.hint { font-weight: 400; color: var(--granite); font-size: .9rem; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=password], input[type=date], select, textarea {
  font: inherit; padding: 12px 14px; border: 1px solid #b9c1cc; border-radius: var(--radius-s); background: #fff; color: var(--ink); width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(255,181,71,.6); border-color: var(--amber-deep); }
.hp { position: absolute; left: -5000px; }
.alert { padding: 14px 16px; border-radius: var(--radius-s); margin: 16px 0; }
.alert-ok { background: #e7f4ea; color: var(--ok); border: 1px solid #b6dcc0; }
.alert-err { background: #fbeaea; color: var(--danger); border: 1px solid #efc2bf; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 28px; align-items: start; }
.calc-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; }
.calc-panel fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.calc-panel legend { font-weight: 800; font-stretch: 112%; font-size: 1.1rem; margin-bottom: 10px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { font-weight: 600; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 9px 16px; border: 1px solid #b9c1cc; border-radius: 999px; cursor: pointer; background: #fff; }
.seg input:checked + span { background: var(--night); color: #fff; border-color: var(--night); }
.seg input:focus-visible + span { outline: 3px solid var(--amber-deep); outline-offset: 2px; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input[type=range] { flex: 1; accent-color: var(--amber-deep); }
.range-row output { min-width: 72px; font-weight: 800; font-stretch: 115%; text-align: right; }
.stepper { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; }
.stepper .ctl { display: inline-flex; align-items: center; border: 1px solid #b9c1cc; border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { border: 0; background: none; font: inherit; font-weight: 800; width: 40px; height: 38px; cursor: pointer; }
.stepper button:hover { background: var(--sage-soft); }
.stepper output { min-width: 32px; text-align: center; font-weight: 700; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; margin: 6px 0; }
.check input { width: 20px; height: 20px; accent-color: var(--night); }
.calc-result { position: sticky; top: 92px; background: var(--night); color: #fff; border-radius: var(--radius-l); padding: 26px; }
.calc-result .total { font-size: 3rem; font-weight: 800; font-stretch: 125%; line-height: 1; margin: 6px 0 4px; color: var(--amber); }
.calc-result .pick { font-size: 1.15rem; font-weight: 700; margin: 0 0 14px; }
.calc-result ul { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid rgba(255,255,255,.15); }
.calc-result li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #d5deea; font-size: .97rem; }
.calc-result .small { color: #aab7c9; font-size: .9rem; }
.calc-result .btn { width: 100%; }

/* Booking calendar */
.book-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; align-items: start; }
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h3 { margin: 0; }
.cal-head button { border: 1px solid var(--line); background: #fff; border-radius: 999px; width: 40px; height: 40px; font: inherit; font-weight: 800; cursor: pointer; }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { text-align: center; font-size: .82rem; font-weight: 700; color: var(--granite); padding-bottom: 4px; }
.cal-grid button { aspect-ratio: 1; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-s); font: inherit; font-weight: 600; cursor: pointer; }
.cal-grid button:hover:not(:disabled) { border-color: var(--night); }
.cal-grid button:disabled { background: #eef1f4; color: #a3abb6; text-decoration: line-through; cursor: not-allowed; border-color: transparent; }
.cal-grid button[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.cal-legend { display: flex; gap: 18px; margin-top: 12px; font-size: .9rem; color: var(--granite); }
.windows { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.windows label { flex: 1 1 160px; }
.windows input { position: absolute; opacity: 0; }
.windows span { display: block; padding: 12px 14px; border: 1px solid #b9c1cc; border-radius: var(--radius-s); background: #fff; cursor: pointer; }
.windows input:checked + span { background: var(--night); color: #fff; border-color: var(--night); }
.windows input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.windows input:focus-visible + span { outline: 3px solid var(--amber-deep); outline-offset: 2px; }

/* Areas */
.areas { columns: 3; padding-left: 18px; margin: 16px 0 0; }

/* Footer */
.site-footer { background: #0f1a2c; color: #b9c5d6; padding: 52px 0 96px; font-size: .97rem; }
.site-footer a { color: #e6edf6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: #8e9bb0; }
.legal p { max-width: none; }

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

@media (max-width: 960px) {
  .packages { grid-template-columns: repeat(2, 1fr); }
  .calc, .book-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .nav { display: flex; position: absolute; top: 68px; left: 0; right: 0; background: var(--night); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 40px -20px rgba(0,0,0,.5); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
  .hero { padding: 72px 0 56px; }
  .split, .footer-grid { grid-template-columns: minmax(0,1fr); }
  .split.flip > :first-child { order: 0; }
  .ledger, .reviews, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .areas { columns: 2; }
  .form-grid { grid-template-columns: 1fr; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    transform: translateY(110%); transition: transform .25s ease;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--night);
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .action-bar .btn { padding: 11px 8px; font-size: .95rem; }
}
@media (max-width: 520px) {
  .packages { grid-template-columns: 1fr; }
  .ledger-row { flex-wrap: wrap; }
  .ledger-row .price { margin-left: 0; }
  .price-table th, .price-table td { padding: 12px; }
}

/* Deposit notice on the booking form */
.deposit { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-s); background: #fff8ec; border: 1px solid #f3d7a6; }
.deposit p { margin: 0 0 8px; }

/* Holiday example images */
.pkg-img { width: calc(100% + 48px); max-width: none; margin: -24px -24px 16px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-l) var(--radius-l) 0 0; }
.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.styles figure { margin: 0; }
.styles img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-l); }
.styles figcaption { margin-top: 10px; color: var(--granite); }
.styles figcaption strong { display: block; color: var(--ink); font-stretch: 110%; }
.ex-fig { margin: 0; position: relative; }
.ex-fig img { border-radius: var(--radius-l); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ex-fig { position: relative; }
.ex-tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; background: rgba(22, 35, 58, .78); color: #fff; font-size: .75rem; font-weight: 600; line-height: 1.3; padding: 3px 9px; border-radius: 999px; pointer-events: none; }
.styles .ex-tag { bottom: auto; top: 10px; }
.pkg-media { width: calc(100% + 48px); margin: -24px -24px 16px; }
.pkg-media .pkg-img { width: 100%; margin: 0; }
.pkg.popular .pkg-media { width: calc(100% + 50px); margin: -25px -25px 16px; }
.pkg { position: relative; }
.pkg .tag { position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0; }
.pkg .big { margin: 0; }
@media (max-width: 820px) { .styles { grid-template-columns: 1fr; } }

/* ---- Responsive refinements ---- */
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .hero-photo { aspect-ratio: 16 / 10; max-width: 560px; }
}
@media (max-width: 820px) {
  body.bar-on .action-bar { transform: none; }
  body.calc-mini-on .action-bar { transform: translateY(110%); }
  .action-bar { max-width: 560px; margin: 0 auto; border-radius: 16px 16px 0 0; }
}
@media (max-width: 520px) {
  .hero .actions .btn, .cta-band .btn { flex: 1 1 100%; }
  .cta-band .wrap > div:last-child { width: 100%; }
  .page-hero { padding: 64px 0 40px; }
  .section { padding: 56px 0; }
}
@media (pointer: coarse) {
  .stepper button { width: 44px; height: 44px; }
  .check { min-height: 44px; }
  .seg span { padding: 11px 16px; }
  .cal-head button { width: 44px; height: 44px; }
}

/* ---- Motion that answers what people do ---- */
.btn { transition: background .15s, color .15s, transform .12s ease; }
.btn:active { transform: scale(.97); }
.cal-grid button { transition: background .15s, color .15s, border-color .15s, transform .12s; }
.cal-grid button:active:not(:disabled) { transform: scale(.94); }
.windows label { animation: rise .25s ease both; }
.windows label:nth-child(2) { animation-delay: .05s; }
.seg span, .windows span { transition: background .15s, color .15s, border-color .15s; }
.faq details[open] p { animation: rise .25s ease both; }
.calc-result .total.bump { animation: bump .35s ease; }
#book-done:not([hidden]) { animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes bump { 40% { transform: scale(1.06); } }

/* Mobile calculator total, pinned while adjusting */
.calc-mini { display: none; }
@media (max-width: 960px) {
  .calc-mini {
    display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    max-width: 560px; margin: 0 auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--night); color: #fff;
    border-radius: 16px 16px 0 0; box-shadow: 0 -10px 30px -12px rgba(0,0,0,.45);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .calc-mini.show { transform: none; }
  .calc-mini .mini-txt { flex: 1; min-width: 0; line-height: 1.25; }
  .calc-mini .mini-pick { display: block; font-size: .85rem; color: #c9d4e3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .calc-mini .mini-total { font-size: 1.5rem; font-weight: 800; font-stretch: 120%; color: var(--amber); }
  .calc-mini .btn { padding: 11px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep the header's Book online button readable */
.nav a.btn-amber, .nav a.btn-amber:hover { color: var(--night); background: var(--amber); }
.nav a.btn-amber:hover { background: #ffc66e; }

/* ---- Shared helpers ---- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chip { font: inherit; font-weight: 700; border: 1px solid #b9c1cc; background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--night); }
@media (max-width: 1100px) and (min-width: 821px) { .nav a { padding: 8px 9px; font-size: .94rem; } .nav .btn { padding: 9px 14px; } }

/* ---- Holiday hero: snow, plug switch, countdown ---- */
.hero > .wrap { position: relative; z-index: 2; }
.hero canvas.snow { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero canvas.snow.on { opacity: 1; }
.holiday-hero .hero-photo img { transition: filter .8s ease; filter: brightness(.55) saturate(.7); }
.holiday-hero.powered .hero-photo img { filter: none; }
.plug { display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 6px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.plug:hover { background: rgba(255,255,255,.12); }
.plug-track { position: relative; width: 52px; height: 30px; border-radius: 999px; background: #3a4d6e; transition: background .25s; flex: none; }
.plug-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #dfe6f0; transition: transform .25s ease, background .25s; }
.plug[aria-pressed="true"] .plug-track { background: var(--amber-deep); }
.plug[aria-pressed="true"] .plug-knob { transform: translateX(22px); background: #fff; box-shadow: 0 0 14px 3px rgba(255,200,110,.8); }
.plug[aria-pressed="false"] .plug-track { animation: plug-hint 2.4s ease-in-out 1.5s 3; }
@keyframes plug-hint { 50% { box-shadow: 0 0 0 6px rgba(255,181,71,.25); } }
.earlybird { margin: 22px 0 0; color: #ffd48a; }

/* ---- Pick your look: a dark band whose own string of lights follows the pick ---- */
.lights-band { position: relative; overflow: hidden; background: var(--night); color: #fff; padding-top: 104px; }
.lights-band .lead, .lights-band .note { color: #c9d4e3; }
.style-opt { display: block; text-align: left; font: inherit; color: inherit; background: none; border: 2px solid transparent; border-radius: calc(var(--radius-l) + 4px); padding: 4px; cursor: pointer; transition: border-color .2s, transform .15s; }
.style-opt img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-l); }
.style-opt .style-cap { display: block; padding: 10px 6px 4px; color: #c9d4e3; }
.style-opt .style-cap strong { display: block; color: #fff; font-stretch: 110%; }
.style-opt:hover { border-color: rgba(255,255,255,.35); }
.style-opt[aria-checked="true"] { border-color: var(--amber); }
.style-opt[aria-checked="true"] .style-cap strong::after { content: " · selected"; color: var(--amber); font-weight: 600; }
.style-opt .ex-tag { top: 14px; left: 14px; bottom: auto; }

/* ---- See it on your house ---- */
.house-preview { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; margin-top: 24px; align-items: start; }
.hp-stage { position: relative; background: var(--night); border-radius: var(--radius-l); overflow: hidden; min-height: 200px; }
.hp-stage canvas { display: block; width: 100%; cursor: crosshair; touch-action: manipulation; }
.hp-empty { position: absolute; inset: 0; display: grid; place-items: center; }
.hp-controls { display: grid; gap: 16px; }
.hp-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.hp-upload { cursor: pointer; }
.hp-status { margin: 0; font-weight: 600; color: var(--night); min-height: 1.6em; }
.hp-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.hp-row .btn { padding: 10px 16px; }
.hp-field { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.hp-field legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.hp-upload:focus-within, #hp-file:focus-visible + * { outline: 3px solid var(--amber-deep); }

/* ---- TV visualizer ---- */
.tv-viz { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; margin-top: 24px; align-items: start; }
.tv-stage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 12px; }
.tv-stage svg { display: block; width: 100%; height: auto; }
.tv-wall { fill: #eef1ec; }
.tv-floor { fill: #c8b79e; }
.tv-console { fill: #8a6d50; }
.tv-console-line { stroke: #6f5640; stroke-width: .6; }
.tv-frame { fill: #11151c; transition: all .25s ease; }
.tv-screen { fill: #24324a; }
.tv-dim { stroke: var(--granite); stroke-width: .4; }
.tv-dim-text { font-family: var(--font); font-weight: 600; fill: var(--granite); text-anchor: middle; }
.tv-person { fill: #9aa5b5; }
.tv-side { display: grid; gap: 14px; }
.tv-side label output { float: right; font-weight: 800; font-stretch: 115%; }
.tv-side input[type=range] { width: 100%; accent-color: var(--amber-deep); }
.tv-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-fit { margin: 0; font-weight: 800; font-stretch: 110%; font-size: 1.15rem; }
.tv-fit.good { color: var(--ok); }
.tv-fit.warn { color: #a5620a; }
.tv-side .note { margin: 0; }
.tv-quote { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tv-price { font-size: 2.2rem; font-weight: 800; font-stretch: 120%; color: var(--night); }

/* ---- Acoustics ---- */
.room-card { background: var(--night-2); border-radius: var(--radius-l); padding: 16px; }
.room-svg { display: block; width: 100%; height: auto; }
.rs-title { font: 700 15px var(--font); fill: #fff; }
.rs-lbl { font: 600 11px var(--font); fill: #aab7c9; }
.rs-room { fill: none; stroke: #5d7397; stroke-width: 2; }
.rs-ray path { fill: none; stroke: #ffb547; stroke-width: 2; stroke-dasharray: 5 5; animation: ray 1.6s linear infinite; }
@keyframes ray { to { stroke-dashoffset: -20; } }
.rs-panel { fill: #7fa37a; }
.rs-trap { fill: #5f7d5c; }
.rs-src { fill: #ffb547; }
.rs-ear { fill: #fff; }
.ac-packages .pkg { padding-top: 24px; }
.echo-bars { display: grid; gap: 10px; margin-bottom: 16px; }
.echo-row { display: grid; grid-template-columns: 64px 1fr 58px; align-items: center; gap: 10px; color: #d5deea; font-size: .95rem; }
.echo-row strong { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.echo-track { position: relative; height: 14px; border-radius: 999px; background: rgba(255,255,255,.1); }
.echo-bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; transition: width .35s ease; }
.echo-bar.now { background: #ff6b5a; }
.echo-bar.after { background: #7fd17a; }
.target-line { position: absolute; top: -4px; bottom: -40px; width: 2px; background: var(--amber); transition: left .35s ease; }
.echo-result .total { margin-top: 0; }

@media (max-width: 960px) {
  .house-preview, .tv-viz { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .styles { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .rs-ray path { animation: none; } }
[hidden] { display: none !important; }
.style-opt { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; position: relative; }
.split-fig img { border-radius: var(--radius-l); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.house-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.house-presets .chip[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }

/* Fabric color picker note (acoustics) */
.fabric { display: flex; gap: 22px; align-items: center; margin: 28px 0 0; padding: 20px 22px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; }
.fabric h3 { margin: 0 0 6px; }
.fabric p { margin: 0; }
.fabric-swatches { display: grid; grid-template-columns: repeat(4, 28px); gap: 6px; flex: none; }
.fabric-swatches span { width: 28px; height: 28px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 4px); }
@media (max-width: 600px) { .fabric { flex-direction: column; align-items: flex-start; } .fabric-swatches { grid-template-columns: repeat(7, 28px); } }
