:root {
  --ink: #3b0d13;        /* oxblood: hero, planner, footer */
  --ink-2: #4b1016;
  --pine: #1d4a33;       /* Christmas green: timeline rules, booking band */
  --berry: #f7b37c;      /* apricot glow: the main buttons */
  --berry-2: #ffc796;
  --oxblood: #7a1c24;
  --paper: #fbf8f1;
  --text: #1d1a17;
  --muted: #6a625a;
  --rule: #e4dccd;
  --snow: #fbf3e8;
  --muted-d: #e6c4aa;
  --rule-d: #6b2a30;
  --bulb: #ffc27a;
  --pad: clamp(20px, 5vw, 72px);
  --edge: max(var(--pad), calc((100vw - 1296px) / 2));
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { background: var(--ink); color: var(--text); scroll-behavior: smooth; }
body { background: var(--paper); }
body { margin: 0; font: 400 17px/1.55 "Archivo", system-ui, sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
::selection { background: var(--pine); color: var(--snow); }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1, h2 { font-family: "Young Serif", Georgia, serif; font-weight: 400; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h3 { font-weight: 650; }
h1 { font-size: clamp(46px, 6.6vw, 96px); line-height: 1; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -0.015em; }
h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.lede { font-size: 19px; max-width: 44ch; margin: 20px 0 0; text-wrap: pretty; }

/* buttons: green on light sections, snow on dark ones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--berry); color: var(--ink);
  font: 600 16px "Archivo", sans-serif; text-decoration: none; cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--berry-2); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.link { font-weight: 600; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

section { padding: clamp(88px, 11vw, 150px) var(--edge); }
.dark { background: var(--ink); color: var(--snow); }

/* wordmark */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand svg { width: 30px; height: 18px; overflow: visible; flex: none; }
.brand circle { fill: var(--bulb); }
.brand span { display: grid; font: 400 22px/1 "Young Serif", Georgia, serif; }
.brand small { font: 500 12px "Archivo", sans-serif; opacity: .7; margin-top: 4px; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 10; color: var(--snow);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--edge); min-height: 68px;
  background: linear-gradient(rgba(40, 8, 13, .75), rgba(40, 8, 13, 0));
  transition: background-color .25s ease;
}
.nav.scrolled { background-color: var(--ink); }
.nav nav { display: flex; gap: 26px; font-size: 15px; }
.nav nav a, .phone { text-decoration: none; opacity: .82; }
.nav nav a:hover, .phone:hover { opacity: 1; }
.nav-end { display: flex; align-items: center; gap: 22px; }
.phone { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 1080px) { .phone { display: none; } }
@media (max-width: 880px) { .nav nav { display: none; } }

/* hero: the photo fills the screen, copy sits low on the left */
.hero { position: relative; min-height: 100svh; padding: 0; display: flex; align-items: flex-end; background: var(--ink); color: var(--snow); overflow: hidden; }
.hero-img { filter: sepia(.6) saturate(1.5) hue-rotate(-16deg) brightness(.92) contrast(1.05); position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 38%; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(59,13,19,.94) 0%, rgba(59,13,19,.78) 34%, rgba(59,13,19,.1) 62%),
  linear-gradient(0deg, rgba(59,13,19,.75) 0%, rgba(59,13,19,0) 40%); }
.hero-copy { position: relative; z-index: 1; padding: 0 var(--edge) clamp(56px, 9vh, 104px); max-width: calc(var(--edge) + 640px); }
.hero h1 { max-width: 9ch; }
.hero .lede { color: rgba(255, 238, 222, .82); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 32px; }
.note { margin: 28px 0 0; font-size: 14px; color: rgba(255, 238, 222, .66); }
.note::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--bulb); margin-right: 10px; vertical-align: 1px; }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero-img { position: relative; height: 62svh; object-position: 60% 40%; }
  .hero::after { background: linear-gradient(0deg, var(--ink) 0, rgba(59,13,19,0) 26%) top / 100% 62svh no-repeat; }
  .hero-copy { padding: 8px 20px 56px; }
  .lede { font-size: 17px; }
}

/* section heading with a short line beside it */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; }
.head p { margin: 0; color: var(--muted); max-width: 36ch; }

/* season */
.timeline { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.timeline li { border-top: 2px solid var(--pine); padding-top: 18px; }
.month { display: block; font-size: 14px; font-weight: 600; color: var(--oxblood); margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.timeline p { color: var(--muted); margin: 10px 0 0; font-size: 16px; max-width: 32ch; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; gap: 40px 24px; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; margin-top: 44px; } .month { margin-bottom: 14px; } }

/* planner (dark band) */
.design { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.design .lede { color: var(--muted-d); }
.planner { margin-top: 36px; display: grid; gap: 26px; max-width: 460px; }
.range span { display: flex; justify-content: space-between; font-weight: 600; }
.range b { font-weight: 600; color: var(--bulb); font-variant-numeric: tabular-nums; }
.range input { width: 100%; margin-top: 12px; accent-color: var(--berry); height: 28px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0; }
legend { font-size: 14px; color: var(--muted-d); margin-bottom: 8px; padding: 0; }
.check { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; min-height: 46px; border-bottom: 1px solid var(--rule-d); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--berry); margin: 0; }
.check input:disabled + span { color: var(--muted-d); }
.check em { font-style: normal; color: var(--muted-d); font-size: 15px; font-variant-numeric: tabular-nums; }
.bulbs { grid-auto-flow: column; justify-content: start; gap: 8px; }
.bulbs legend { grid-column: 1 / -1; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--rule-d); border-radius: 6px; cursor: pointer; font-size: 15px; }
.pill input:checked + span { border-color: var(--snow); background: var(--ink-2); }
.pill input:focus-visible + span { outline: 2px solid var(--snow); outline-offset: 2px; }
.dot { width: 13px; height: 13px; border-radius: 50%; }
.dot.warm { background: var(--bulb); }
.dot.classic { background: conic-gradient(#e2332f 0 25%, #2f9e55 0 50%, #2f6fd6 0 75%, #f4c430 0); }
.estimate { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--snow); }
.estimate span { color: var(--muted-d); }
.estimate strong { font: 400 50px/1 "Young Serif", Georgia, serif; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.planner .btn { justify-self: start; }
.house-wrap { margin: 0; }
.house-wrap svg { width: 100%; height: auto; display: block; border-radius: 8px; }
.house-wrap figcaption { margin-top: 12px; font-size: 14px; color: var(--muted-d); }
/* C9 bulbs: unlit they're dim glass on the wire, lit they glow in their color */
.bulb { --c: #ffd48a; }
.bulb .sock { fill: #2a1a14; }
.bulb .glass { fill: var(--c); transition: fill .3s ease, opacity .3s ease; }
.bulb .shine { fill: none; stroke: #fff; stroke-width: .7; stroke-linecap: round; opacity: .7; }
.halo { fill: var(--c); opacity: .75; }
.halo.off { opacity: 0; }
.bulb.off { opacity: 0; }
.bulb { transition: opacity .3s ease; }
.wire { transition: opacity .3s ease; }
.wire.off, .deco.off { opacity: 0; }
.deco { transition: opacity .4s ease; }
#spill { transition: opacity .8s ease; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.twinkle .glass { animation: twinkle 3s ease-in-out infinite; animation-delay: inherit; }
.win rect { fill: url(#pane); stroke: #e8dcc6; stroke-width: 3; }
.win path { stroke: #e8dcc6; stroke-width: 2; fill: none; }
@keyframes fall { to { transform: translate(-30px, 470px); } }
#snowfall circle { animation: fall linear infinite; }
/* the strand along the top of the band */
.strand { position: absolute; left: 0; top: 0; width: 100%; height: 64px; overflow: visible; pointer-events: none; }
.design { padding-top: clamp(120px, 13vw, 180px); }
@media (max-width: 900px) {
  .design { display: flex; flex-direction: column; align-items: stretch; }
  .planner { max-width: none; }
  /* the house stays in view while you pick options under it */
  .house-wrap { order: -1; position: sticky; top: 68px; z-index: 5; background: var(--ink); padding: 8px 4px 10px; margin: 0 -4px; }
  .house-wrap svg { max-height: 36svh; width: auto; max-width: 100%; margin-inline: auto; }
  .house-wrap figcaption { margin-top: 8px; font-size: 13px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .twinkle .glass, #snowfall circle { animation: none; } .bulb { transition: none; } }

/* recent installs */
.work .grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 21vw, 300px); gap: 10px; }
.work figure { margin: 0; overflow: hidden; border-radius: 4px; background: #eadfd2; }
.work img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work .tall { grid-row: span 2; }
.work .wide { grid-column: span 2; }
@media (max-width: 760px) { .work .grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 8px; } }

/* questions */
.faq { border-top: 1px solid var(--rule); padding-top: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 58ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq summary { font-size: 17px; } }

/* booking (green band) */
.quote { background: var(--pine); color: var(--snow); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.quote .lede { color: rgba(255, 238, 222, .78); }
.quote-form { display: grid; gap: 18px; }
.quote-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.quote-form input, .quote-form select {
  min-height: 50px; padding: 0 14px; border-radius: 6px; border: 1px solid transparent;
  background: var(--snow); color: var(--text); font: 16px "Archivo", sans-serif;
}
.quote-form input:focus, .quote-form select:focus { outline: 2px solid var(--bulb); outline-offset: 1px; }
.quote-form .btn { justify-self: start; margin-top: 6px; }
.status { min-height: 24px; margin: 0; }
@media (max-width: 820px) { .quote { grid-template-columns: 1fr; } }

/* footer */
.foot { background: var(--ink); color: var(--muted-d); padding: 56px var(--edge) 64px; font-size: 15px; }
.foot .brand { color: var(--snow); }
.foot-cols { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; }
.foot p { margin: 0; max-width: 44ch; }
.foot a:not(.brand) { color: var(--snow); }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr; } }
