/* ==========================================================
   Landscape lighting marketing site (single page)
   Dark, warm, premium. No build step, no external assets.
   ========================================================== */

:root {
  --bg: #0b0f14;
  --bg-alt: #10161d;
  --surface: #151d26;
  --border: #243140;
  --text: #e9e4da;
  --muted: #a3a9b1;
  --gold: #e8b866;
  --gold-soft: #f3d79e;
  --amber-glow: rgba(232, 184, 102, 0.35);
  --teal-glow: rgba(90, 200, 220, 0.28);
  --violet-glow: rgba(160, 120, 240, 0.25);
  --radius: 14px;
  --max: 1120px;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-offset: 5rem;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* keep anchored section headings from hiding under the sticky header */
[id] { scroll-margin-top: var(--header-offset); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.container-narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--bg); padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1a1408;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 rgba(232, 184, 102, 0);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn:hover {
  color: #1a1408;
  transform: translateY(-1px);
  box-shadow: 0 6px 30px var(--amber-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--gold-soft); border-color: var(--gold); box-shadow: none; }
.btn-small { padding: 0.5rem 1rem; font-size: 0.9rem; }
.header-inner .btn { white-space: nowrap; flex-shrink: 0; }
.brand { white-space: nowrap; }
.btn-large { padding: 1.1rem 2.2rem; font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 49, 64, 0.6);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: "Marcellus", var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: 0.95rem;
}
.site-nav a:hover { color: var(--gold-soft); }

.brand-logo { height: 46px; width: auto; border-radius: 8px; display: block; }
.brand-logo-lg { height: 51px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  min-height: 88svh;
  display: flex; align-items: center;
  padding: 6rem 0 5rem;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.78) 0%, rgba(11, 15, 20, 0.82) 55%, rgba(15, 21, 28, 0.95) 100%),
    url("images/co-hero.jpg") center 32% / cover no-repeat,
    radial-gradient(ellipse 120% 60% at 50% 115%, #1a2330 0%, transparent 60%),
    linear-gradient(180deg, #070a0e 0%, #0b0f14 70%, #0f151c 100%);
}
/* a low "ground line" with uplight glows */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.hero-glow { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; bottom: -8%;
  width: 34vw; max-width: 460px; aspect-ratio: 1 / 1.6;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.85;
  animation: breathe 9s ease-in-out infinite;
}
.orb-1 { left: -6%;  background: var(--amber-glow); animation-delay: 0s; }
.orb-2 { left: 22%;  background: var(--teal-glow);  animation-delay: -2s; width: 24vw; }
.orb-3 { left: 46%;  background: var(--amber-glow); animation-delay: -4s; }
.orb-4 { left: 70%;  background: var(--violet-glow); animation-delay: -6s; width: 26vw; }
.orb-5 { right: -8%; background: var(--amber-glow); animation-delay: -3s; }

@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: translateY(0) scale(1); }
  50%      { opacity: 0.95; transform: translateY(-3%) scale(1.04); }
}

.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.accent {
  color: var(--gold-soft);
  text-shadow: 0 0 40px var(--amber-glow);
}
.lede { font-size: 1.2rem; color: #d3cec5; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 1.2rem; }
.hero-note { color: var(--muted); font-size: 0.95rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt {
  background:
    radial-gradient(ellipse 70% 50% at 85% 0%, rgba(232, 184, 102, 0.07), transparent 70%),
    var(--bg-alt);
}
.section-lede { color: var(--muted); font-size: 1.12rem; max-width: 680px; margin-bottom: 3rem; }

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: none;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.step p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
  color: #1a1408;
  background: radial-gradient(circle at 35% 35%, var(--gold-soft), var(--gold));
  box-shadow: 0 0 24px var(--amber-glow);
}

.kit {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.kit h3 { font-size: 1.25rem; }
.kit-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 0.6rem 2rem;
  grid-template-columns: repeat(2, 1fr);
  color: var(--muted);
}
.kit-list li { position: relative; padding-left: 1.4rem; }
.kit-list li::before,
.package li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* Features */
.features {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover { border-color: rgba(232, 184, 102, 0.5); box-shadow: 0 0 40px rgba(232, 184, 102, 0.08); }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.feature-icon {
  display: block; width: 44px; height: 44px; border-radius: 50%;
  margin-bottom: 1.2rem;
}
.icon-scenes   { background: conic-gradient(#e8b866, #e86a6a, #a078f0, #5ac8dc, #7ad48a, #e8b866); box-shadow: 0 0 24px rgba(160, 120, 240, 0.4); }
.icon-dim      { background: linear-gradient(90deg, var(--gold-soft) 0 50%, #3a3326 50% 100%); box-shadow: 0 0 24px var(--amber-glow); }
.icon-security { background: radial-gradient(circle, #fff6e2 0%, var(--gold) 45%, transparent 72%); box-shadow: 0 0 30px var(--amber-glow); }
.icon-holiday  { background: none; box-shadow: none; }
.icon-holiday .tw { animation: xmasTwinkle 2.6s ease-in-out infinite; }

.curb-appeal {
  margin: 3rem auto 0; text-align: center; max-width: 640px;
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: #d3cec5;
}
.curb-appeal strong { color: var(--gold-soft); font-weight: 600; }

/* Packages */
.packages { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
.package {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
}
.package-featured {
  border-color: rgba(232, 184, 102, 0.55);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(232, 184, 102, 0.1), transparent 70%),
    var(--surface);
  box-shadow: 0 0 60px rgba(232, 184, 102, 0.08);
}
.package h3 { font-size: 1.9rem; margin-bottom: 0.2em; }
.package-tag { color: var(--gold); font-size: 0.98rem; margin-bottom: 1.4rem; }
.package ul { list-style: none; padding: 0; margin: 0 0 1rem; color: var(--muted); }
.package li { position: relative; padding-left: 1.4rem; margin-bottom: 0.55rem; }
.package-note {
  margin: 1.4rem 0 0; padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-family: var(--serif); font-size: 1.3rem; color: var(--gold-soft);
}
.packages-note { margin-top: 2.25rem; color: var(--muted); text-align: center; }

/* What is bt */
.bt-copy { max-width: 680px; color: var(--muted); font-size: 1.12rem; }
.bt-copy strong { color: var(--text); }
.media-row {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.5rem;
}
.media-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.media-card img { width: 100%; height: 320px; object-fit: cover; }
.media-card figcaption,
.gallery-item figcaption {
  padding: 1rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Kit figure */
.kit-figure { margin: 0; }
.kit-figure img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.kit-figure figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.92rem; }
@media (min-width: 761px) {
  .kit {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: center;
  }
}

/* Photo bands */
.photo-band { margin: 3rem 0 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); }
.photo-band-top { margin: 0 0 2.5rem; }
.photo-band img {
  display: block; width: 100%; height: auto;
  animation: bandDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes bandDrift { from { transform: scale(1.02); } to { transform: scale(1.09) translateY(-1.5%); } }

/* Polish pass: gentle scroll reveals */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1.4rem;
  transition: border-color 0.25s ease;
}
.faq details[open] { border-color: rgba(232, 184, 102, 0.45); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2rem 1.15rem 0;
  position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); font-size: 1.4rem; font-weight: 400;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* CTA */
.cta {
  position: relative; overflow: hidden;
  padding: 7rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(232, 184, 102, 0.25), transparent 70%),
    #080b0f;
}
.cta-inner { max-width: 680px; }
.cta p { color: #d3cec5; font-size: 1.15rem; margin-bottom: 2rem; }
.cta .cta-alt { margin: 1.5rem 0 0; color: var(--muted); font-size: 1rem; }

/* Demo request form */
.demo-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
  margin-top: 2.5rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  background: #0d1218; border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); padding: 0.8rem 1rem; font: inherit; font-size: 1rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 102, 0.18);
}
/* native select chrome differs per mobile OS; give it one consistent dark look */
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e8b866' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
/* mobile autofill otherwise paints a light box behind light text */
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 100px #0d1218 inset;
}
.field input:-webkit-autofill:focus {
  box-shadow: 0 0 0 100px #0d1218 inset, 0 0 0 3px rgba(232, 184, 102, 0.18);
}
.cta .field-help { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-submit { margin-top: 1.6rem; width: 100%; border: none; cursor: pointer; font-family: inherit; }
.cta .form-note { margin: 1rem 0 0; font-size: 0.88rem; color: var(--muted); text-align: center; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .demo-form { padding: 1.4rem; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}
.site-footer p { margin: 0 0 0.4rem; }
.site-footer .brand { font-size: 1.5rem; margin-bottom: 0.6rem; }
.site-footer .fine { margin-top: 1.2rem; font-size: 0.82rem; opacity: 0.75; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

/* touch screens: no sticky hover lift after a tap */
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: none; }
  .feature:hover { border-color: var(--border); box-shadow: none; }
}

@media (max-width: 760px) {
  :root { --header-offset: 7.25rem; }
  /* nav was hidden with no replacement; show it as a swipeable second row */
  .header-inner { flex-wrap: wrap; row-gap: 0.25rem; padding: 0.6rem 0 0; }
  .site-nav {
    order: 3; flex: 1 0 100%;
    gap: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -1.25rem; padding-inline: 1.25rem;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex-shrink: 0; white-space: nowrap; padding: 0.6rem 0; font-size: 0.9rem; }
  .hero-note a, .cta-alt a, .site-footer a { display: inline-block; padding: 0.4rem 0; }
  .kit-figure { margin-top: 1.5rem; max-width: 360px; }
  .section { padding: 4.5rem 0; }
  .hero { min-height: auto; padding: 5rem 0 4rem; }
  .orb { width: 60vw; filter: blur(50px); }
  .packages { grid-template-columns: 1fr; }
  .kit-list { grid-template-columns: 1fr; }
  .kit { padding: 1.5rem; }
  .media-row { grid-template-columns: 1fr; }
  .media-card img { height: 240px; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .features { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .header-inner .btn-small { font-size: 0.82rem; padding: 0.5rem 0.75rem; }
  .header-inner .call-num { display: none; }
  .brand { font-size: 1.05rem; }
  .cta { padding: 5rem 0; }
  .section { padding: 3.75rem 0; }
  .step { padding: 1.6rem 1.35rem; }
  .package { padding: 1.75rem 1.4rem; }
  .kit { padding: 1.25rem; }
}

/* smallest phones (320-400px): brand + full phone number overflow the header */
@media (max-width: 400px) {
  .brand { gap: 0.4rem; font-size: 1rem; }
  .header-inner .brand-logo { height: 30px; }
  .header-inner .call-word { display: inline; }
  .header-inner .call-num { display: none; }
}

/* Seasonal: Christmas lights strand (remove after the holidays) */
.xmas-frame { position: relative; height: 64px; pointer-events: none; overflow: hidden; background: var(--bg, #0B0F14); }
.xmas-frame .twinkle { animation: xmasTwinkle 2.6s ease-in-out infinite; }
@keyframes xmasTwinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .xmas-frame .twinkle { animation: none; } }


/* Seasonal promo section: Santa scene (remove after the holidays) */
.promo-xmas {
    padding: clamp(2.75rem, 6.6vw, 5.75rem) 0;
    border-block: 1px solid var(--border, #243140);
    background: radial-gradient(ellipse at 80% 25%, var(--surface, #151D26), transparent 65%),
      var(--bg, #0B0F14);
    color: var(--text, #E9E4DA);
  }

  .promo-xmas .px-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(1.75rem, 4.6vw, 4.75rem);
    width: min(calc(100% - 2.5rem), 70rem);
    margin-inline: auto;
  }

  .promo-xmas .px-eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 .85rem;
    color: var(--gold, #E8B866);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .promo-xmas .px-eyebrow::before {
    content: "";
    flex: 0 0 1.5rem;
    height: 1px;
    background: currentColor;
  }

  .promo-xmas .px-title {
    margin: 0 0 1rem;
    color: var(--text, #E9E4DA);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.35rem, 4.25vw, 3.55rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1;
    text-wrap: balance;
  }

  .promo-xmas .px-description {
    max-width: 37ch;
    margin: 0 0 1.5rem;
    color: var(--muted, #A3A9B1);
    font-size: 1.0625rem;
    line-height: 1.65;
  }

  .promo-xmas .px-button {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: .8rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-soft, #F3D79E), var(--gold, #E8B866));
    color: #1A1408;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
  }

  .promo-xmas .px-button:hover {
    background: var(--gold-soft, #F3D79E);
    color: #1A1408;
  }

  .promo-xmas .px-button:focus-visible {
    outline: 2px solid var(--gold-soft, #F3D79E);
    outline-offset: 4px;
  }

  .promo-xmas .px-art {
    overflow: hidden;
    border: 1px solid var(--border, #243140);
    border-radius: 1rem;
    background: var(--bg, #0B0F14);
    box-shadow: 0 1.5rem 3rem #0004;
  }

  .promo-xmas .px-scene {
    display: block;
    width: 100%;
    height: auto;
    color: #F2B63E;
  }

  .promo-xmas .px-santa-body {
    transform-box: view-box;
    transform-origin: 342px 315px;
  }

  .promo-xmas .px-work-upper,
  .promo-xmas .px-work-forearm,
  .promo-xmas .px-phone-upper,
  .promo-xmas .px-phone-forearm {
    transform-box: view-box;
    transform-origin: 0 0;
  }

  .promo-xmas .px-work-upper {
    transform: rotate(71deg);
  }

  .promo-xmas .px-work-forearm {
    transform: rotate(-102deg);
  }

  .promo-xmas .px-phone-upper {
    transform: rotate(33deg);
  }

  .promo-xmas .px-phone-forearm {
    transform: rotate(-31deg);
  }

  .promo-xmas .px-tap-mark {
    opacity: 0;
  }

  @media (max-width: 49rem) {
    .promo-xmas .px-layout {
      grid-template-columns: minmax(0, 1fr);
      width: min(calc(100% - 2.5rem), 37rem);
    }

    .promo-xmas .px-title {
      max-width: 16ch;
      text-wrap: wrap;
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    .promo-xmas .px-scene {
      --px-loop: 14s;
      animation: px-uplight-colors var(--px-loop) ease-in-out infinite;
    }

    .promo-xmas .px-fixture {
      animation: px-place-fixture var(--px-loop) ease-in-out infinite;
    }

    .promo-xmas .px-illumination {
      animation: px-switch-uplight var(--px-loop) ease-in-out infinite;
    }

    .promo-xmas .px-santa-body {
      animation: px-lean var(--px-loop) ease-in-out infinite;
    }

    .promo-xmas .px-work-upper {
      animation: px-work-shoulder var(--px-loop) ease-in-out infinite;
    }

    .promo-xmas .px-work-forearm {
      animation: px-work-elbow var(--px-loop) ease-in-out infinite;
    }

    .promo-xmas .px-phone-upper {
      animation: px-phone-shoulder var(--px-loop) ease-in-out infinite;
    }

    .promo-xmas .px-phone-forearm {
      animation: px-phone-elbow var(--px-loop) ease-in-out infinite;
    }

    .promo-xmas .px-phone {
      animation: px-draw-phone var(--px-loop) ease-in-out infinite;
    }

    .promo-xmas .px-tap-mark {
      animation: px-phone-tap var(--px-loop) ease-in-out infinite;
    }

    .promo-xmas .px-twinkle {
      animation: px-twinkle 2.8s ease-in-out var(--px-delay, 0s) infinite;
    }

    .promo-xmas .px-flurries {
      animation: px-snowfall var(--px-loop) linear infinite;
    }

    .promo-xmas .px-flurries-near {
      animation-duration: 7s;
      animation-delay: -3.5s;
    }

    .promo-xmas .px-flurries-far {
      animation-delay: -1.5s;
    }

    /* Carry, plant, then pick up the fixture as the loop begins again. */
    @keyframes px-place-fixture {
      0%, 9%, 100% { transform: translate(-4px, -46px); }
      23%, 94% { transform: translate(0, 0); }
    }

    @keyframes px-lean {
      0%, 9%, 38%, 88%, 100% { transform: translateY(0) rotate(0deg); }
      23%, 29%, 94% { transform: translateY(6px) rotate(17deg); }
    }

    @keyframes px-work-shoulder {
      0%, 9%, 100% { transform: rotate(67deg); }
      23%, 29%, 94% { transform: rotate(47deg); }
      38%, 45%, 50%, 58%, 63%, 71%, 76%, 88% { transform: rotate(71deg); }
      47%, 60%, 73% { transform: rotate(68deg); }
    }

    @keyframes px-work-elbow {
      0%, 9%, 100% { transform: rotate(-81deg); }
      23%, 29%, 94% { transform: rotate(-15deg); }
      38%, 45%, 50%, 58%, 63%, 71%, 76%, 88% { transform: rotate(-102deg); }
      47%, 60%, 73% { transform: rotate(-122deg); }
    }

    @keyframes px-switch-uplight {
      0%, 26%, 94%, 100% { opacity: 0; }
      32%, 88% { opacity: 1; }
    }

    /* The phone rises from Santa's coat before the first tap. */
    @keyframes px-phone-shoulder {
      0%, 31%, 94%, 100% { transform: rotate(125deg); }
      41%, 88% { transform: rotate(33deg); }
    }

    @keyframes px-phone-elbow {
      0%, 31%, 94%, 100% { transform: rotate(-85deg); }
      41%, 88% { transform: rotate(-31deg); }
    }

    @keyframes px-draw-phone {
      0%, 32%, 94%, 100% { opacity: 0; }
      37%, 90% { opacity: 1; }
    }

    @keyframes px-phone-tap {
      0%, 45.5%, 49%, 58.5%, 62%, 71.5%, 75%, 100% { opacity: 0; }
      47%, 60%, 73% { opacity: 1; }
    }

    @keyframes px-uplight-colors {
      0%, 47%, 100% { color: #FFF0CB; }
      49.5%, 60% { color: #E83A3C; }
      62.5%, 73% { color: #43B581; }
      75.5%, 95% { color: #F2B63E; }
    }

    @keyframes px-twinkle {
      0%, 100% { opacity: 1; }
      53% { opacity: .56; }
    }

    @keyframes px-snowfall {
      0% { opacity: 0; transform: translate(-16px, -70px); }
      24%, 73% { opacity: .65; }
      100% { opacity: 0; transform: translate(16px, 92px); }
    }
  }
