/* Ember & Pine Holiday Lighting. Night navy, warm white, one amber accent. */
:root {
  --night: #0B1424;
  --night-deep: #070D18;
  --night-lift: #0F1B30;
  --card: #13213A;
  --warm: #F6EFE3;
  --warm-dim: #C9C3B8;
  --muted: #9AA4B5;
  --amber: #E8A33D;
  --amber-hi: #F2B85A;
  --line: rgba(246, 239, 227, .14);
  --line-strong: rgba(246, 239, 227, .32);
  --r: 4px;
  --r-box: 10px;
  --head: "Zodiak", Georgia, serif;
  --text: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--warm);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; line-height: 1.08; margin-block: 0 .2em; letter-spacing: -.01em; text-wrap: balance; }
::selection { background: var(--amber); color: var(--night-deep); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
section[id], footer { scroll-margin-top: 72px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 1rem; font-weight: 600; color: var(--amber); margin-bottom: 12px; }
.sec__sub { color: var(--warm-dim); font-size: 1.125rem; margin-top: 16px; max-width: 40ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r); border: 1px solid transparent;
  font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--amber { background: var(--amber); color: var(--night-deep); }
.btn--amber:hover, .btn--amber:focus-visible { background: var(--amber-hi); }
.btn--line { border-color: var(--line-strong); color: var(--warm); background: transparent; }
.btn--line:hover, .btn--line:focus-visible { border-color: var(--warm); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* Header: floats over the film, goes solid once the film is done */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter); transition: background-color .25s, box-shadow .25s;
}
.top::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 170%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 13, 24, .7), rgba(7, 13, 24, 0));
  transition: opacity .25s;
}
.top.is-solid { background: var(--night-deep); box-shadow: 0 1px 0 var(--line); }
.top.is-solid::before { opacity: 0; }
.top__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.top__mark { width: 30px; height: 30px; color: var(--warm); flex: none; }
.top__name { font-family: var(--head); font-size: 1.3rem; font-weight: 500; line-height: 1; text-shadow: 0 1px 18px rgba(0, 0, 0, .5); }
.top__name small { display: block; font-family: var(--text); font-size: .8125rem; font-weight: 500; color: var(--warm-dim); margin-top: 3px; }
.top__nav { display: flex; gap: 26px; }
.top__nav a, .top__phone { font-size: .9375rem; font-weight: 500; text-decoration: none; text-shadow: 0 1px 18px rgba(0, 0, 0, .55); }
.top__nav a:hover, .top__phone:hover { color: var(--amber-hi); }

/* Film: brand overrides on top of film.css */
.film { background: var(--night-deep); color: var(--warm); }
.film__scrim { background: linear-gradient(90deg, rgba(7, 13, 24, .88) 0%, rgba(7, 13, 24, .62) 36%, rgba(7, 13, 24, 0) 62%); }
.film__intro, .film__beat {
  left: clamp(24px, 6vw, 104px); right: auto; max-width: 46rem;
  top: clamp(116px, 24vh, 250px); bottom: auto;
}
.film__intro h1 { font-size: clamp(2.6rem, 4.5vw, 4.25rem); line-height: 1.04; }
.film__lede { font-size: 1.1875rem; color: var(--warm-dim); margin-top: 20px; max-width: 34ch; }
.film__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.film__beat { font-family: var(--head); font-weight: 500; font-size: clamp(2.2rem, 4.3vw, 3.9rem); max-width: 13ch; text-shadow: 0 2px 30px rgba(7, 13, 24, .6); }
.film__beat--end { max-width: 38rem; }
.film__end-line { font-size: inherit; line-height: 1.02; max-width: 14ch; margin-bottom: 28px; }
html[data-film="still"] .film__intro { opacity: 1 !important; visibility: visible !important; }

/* Sections */
.sec { padding: clamp(72px, 10vw, 128px) 0; background: var(--night); }
.sec--lift { background: var(--night-lift); }
.sec__head { margin-bottom: clamp(36px, 5vw, 56px); }

/* Packages: every card the same height, The Full House inverted */
.cards { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 20px; align-items: stretch; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-box); overflow: hidden; }
.card__img { position: relative; height: clamp(200px, 19vw, 250px); overflow: hidden; background: var(--night-deep); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 26px 26px; }
.card__flag { position: absolute; top: 16px; left: 16px; z-index: 1; font-size: .875rem; font-weight: 600; color: var(--night-deep); background: var(--amber); padding: 6px 12px; border-radius: var(--r); margin: 0; }
.card__price { color: var(--muted); margin-top: 8px; }
.card__price strong { font-family: var(--head); font-weight: 500; font-size: 2.25rem; color: var(--warm); margin-left: 4px; }
.ticks { list-style: disc; padding-left: 20px; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 4px; color: var(--warm-dim); line-height: 1.45; }
.ticks li::marker { color: var(--amber); }
.card .btn { margin-top: auto; }
.card--pick { background: var(--warm); color: var(--night); border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.card--pick .card__price { color: #5B6474; }
.card--pick .card__price strong { color: var(--night); }
.card--pick .ticks li { color: #2A3445; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.calc__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-box); padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 28px; margin: 0; }
.calc__row { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc__row legend, .calc__label { display: flex; justify-content: space-between; align-items: baseline; width: 100%; font-weight: 600; margin-bottom: 12px; padding: 0; }
.calc__label output { font-family: var(--head); font-size: 1.5rem; font-weight: 500; color: var(--warm); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid var(--line-strong); border-radius: var(--r); font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.seg input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--night-deep); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 3px; }
input[type="range"] { width: 100%; height: 32px; margin: 0; accent-color: var(--amber); cursor: pointer; }
.calc__scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .8125rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r); }
.stepper button { width: 56px; height: 52px; border: 0; background: transparent; color: var(--warm); font: 500 1.5rem/1 var(--text); cursor: pointer; }
.stepper button:hover { color: var(--amber-hi); }
.stepper button:disabled { color: var(--muted); opacity: .45; cursor: default; }
.stepper output { min-width: 56px; text-align: center; font-family: var(--head); font-size: 1.5rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); line-height: 52px; }
.calc__total { border-top: 1px solid var(--line); padding-top: 26px; }
.calc__price { font-family: var(--head); font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1; color: var(--warm); }
.calc__note { margin-top: 10px; font-weight: 600; color: var(--amber); }
.calc__math { margin: 6px 0 22px; color: var(--muted); font-size: .9375rem; }

/* How it works */
.how { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: stretch; }
.how__img { min-height: 320px; border-radius: 2px; overflow: hidden; }
.how__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.steps { list-style: none; padding: 0; margin: 32px 0 36px; display: grid; gap: 24px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.steps__n { width: 44px; height: 44px; border: 1px solid var(--amber); border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 1.25rem; color: var(--amber); }
.steps h3 { font-size: 1.375rem; margin: 6px 0 6px; }
.steps p { color: var(--warm-dim); }

/* Where we go */
.towns { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.towns li { border-top: 2px solid var(--amber); padding: 22px 4px 0; }
.towns h3 { font-size: 2rem; }
.towns p { color: var(--warm-dim); margin-top: 8px; }
.towns__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.towns__cta p { color: var(--warm-dim); max-width: 60ch; }
.tlink { color: var(--amber); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tlink:hover { color: var(--amber-hi); }

/* Questions */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__head .btn { margin-top: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--head); font-size: 1.3125rem; font-weight: 500; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--amber), var(--amber)) center / 14px 2px no-repeat, linear-gradient(var(--amber), var(--amber)) center / 2px 14px no-repeat; transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--warm-dim); padding: 0 0 24px; max-width: 56ch; }

/* Booking */
.book { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.book__call { margin-top: 24px; color: var(--warm-dim); }
.book__call a { color: var(--warm); font-weight: 600; }
.book__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-box); padding: clamp(22px, 3.4vw, 40px); }
#booking { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: var(--r);
  border: 1px solid var(--line-strong); background: var(--night); color: var(--warm);
  font: 400 1rem var(--text);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%), linear-gradient(135deg, var(--amber) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input::placeholder { color: var(--muted); }
.field input:focus, .field select:focus { border-color: var(--amber); outline: none; }
.field input.is-filled { border-color: var(--amber); }
.hp { position: absolute; left: -9999px; }
.book__err { color: var(--amber-hi); }
.thanks h3 { font-size: 2rem; }
.thanks p { color: var(--warm-dim); margin: 12px 0 26px; }

/* Footer */
.foot { background: var(--night-deep); padding: 64px 0 36px; border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; }
.foot p { color: var(--warm-dim); }
.foot__name { font-family: var(--head); font-size: 1.375rem; color: var(--warm) !important; margin-bottom: 6px; }
.foot__k { font-size: .9375rem; font-weight: 600; color: var(--amber) !important; margin-bottom: 4px; }
.foot a { text-decoration: none; color: var(--warm); }
.foot__demo { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted) !important; }

/* Tablet */
@media (max-width: 1020px) {
  .top__nav { display: none; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .card__img { height: auto; aspect-ratio: 4 / 3; }
  .calc, .how, .faq, .book { grid-template-columns: 1fr; }
  .how__img { min-height: 0; aspect-ratio: 16 / 9; }
  .towns { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .top { gap: 12px; padding: 12px 16px; }
  .top__phone { display: none; }
  .top__name { font-size: 1.125rem; }
  .top__name small { font-size: .75rem; }
  .top__mark { width: 26px; height: 26px; }
  .sec__sub { font-size: 1.0625rem; }
  #booking { grid-template-columns: 1fr; }
  .towns h3 { font-size: 1.625rem; }
  .how__text .btn { width: 100%; }
  .foot__in { grid-template-columns: 1fr; }
  .card__body { padding: 24px 20px 22px; }
}

/* Portrait phone film: words over the empty sky at the top, the house below */
@media (orientation: portrait) and (max-width: 820px) {
  .film__scrim { background: linear-gradient(180deg, rgba(7, 13, 24, .86) 0%, rgba(7, 13, 24, .55) 34%, rgba(7, 13, 24, 0) 56%); }
  .film__intro, .film__beat { left: 16px; right: 16px; top: 80px; max-width: none; }
  .film__intro h1 { font-size: clamp(2rem, 8.6vw, 2.75rem); }
  .film__intro .eyebrow { margin-bottom: 10px; }
  .hide-sm { display: none; }
  .film__lede { font-size: 1rem; margin-top: 10px; }
  .film__cta { margin-top: 18px; }
  .film__cta .btn { min-height: 48px; }
  .film__cta .btn { flex: 1 1 0; padding: 0 14px; }
  .film__beat { font-size: clamp(2.1rem, 9.4vw, 2.9rem); max-width: 13ch; }
  .film__beat--end { max-width: none; }
  .film__end-line { margin-bottom: 22px; }
}
