/* Festive Manchester · homepage (desktop) · shop.css */

:root {
  --night: #0a1812;
  --evergreen: #0f241b;
  --evergreen-2: #173628;
  --berry: #6b1a2a;
  --berry-hover: #551321;
  --berry-deep: #4a101d;
  --navy: #0d1620;
  --gold: #d9b26a;
  --gold-2: #f1d59b;
  /* Dark enough for small labels on ivory (4.7:1). */
  --gold-deep: #8a6526;
  --ivory: #f7f0e4;
  --paper: #fffbf3;
  --sand: #ece2d1;
  --ink: #1b221e;
  --ink-muted: #5e655f;
  --line: rgba(27, 34, 30, 0.12);
  --line-light: rgba(247, 240, 228, 0.14);
  --cream-text: #f7efe1;
  --cream-muted: rgba(247, 239, 225, 0.74);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --container: 80rem;
  --gutter: 4rem;
  --radius: 0.375rem;
  --bar-h: 5.125rem;
  --hero-bar-space: calc(var(--bar-h) + 2.25rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-arrive: cubic-bezier(0.2, 0.72, 0.24, 1);
}

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

/* Fonts are served with the site (Latin subsets of the variable files). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Desktop sizes are written in rem so the whole design can scale as one.
   The root stays 16px up to 1600px wide, so 1rem is exactly 16px there.
   Phone and tablet rules (further down) use px and are unaffected. */
html {
  font-size: 16px;
  scrollbar-color: rgba(217, 178, 106, 0.6) var(--night);
  scrollbar-width: thin;
  background: var(--night);
  scroll-behavior: smooth;
  /* A menu link lands its section a touch under the header bar, so the
     section before it never shows through the scalloped hem. */
  scroll-padding-top: calc(var(--hdr-h, 4.875rem) - 0.5rem);
}

/* Large screens: the design grows in proportion to the screen. 16px at
   1600x900, limited by height so the hero always fits the first view
   (a 2560x1440 monitor shows the 1600x900 composition at 1.6x). */
@media (min-width: 1600px) {
  html {
    font-size: clamp(16px, min(1vw, 1.7778vh), 36px);
  }
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--night);
  color: var(--cream-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 350;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 300;
}

::selection {
  background: rgba(217, 178, 106, 0.4);
  color: inherit;
}

:focus-visible {
  outline: 0.125rem solid var(--gold-2);
  outline-offset: 0.1875rem;
}

/* On light surfaces the pale gold ring would vanish, so use berry there. */
[data-surface="light"] :focus-visible,
.shortcuts :focus-visible {
  outline-color: var(--berry);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.625rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Eyebrows ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.375rem;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow--gold {
  color: var(--gold);
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow__rule {
  position: relative;
  width: 2rem;
  height: 1px;
  background: currentColor;
}

/* A tiny ornament at the end of each rule. */
.eyebrow__rule::after {
  content: "";
  position: absolute;
  top: -0.125rem;
  right: -0.1875rem;
  width: 0.3125rem;
  height: 0.3125rem;
  background: currentColor;
  transform: rotate(45deg);
}

/* ---------- Buttons ---------- */

.button {
  position: relative;
  display: inline-flex;
  gap: 0.625rem;
  align-items: center;
  justify-content: center;
  min-height: 3.375rem;
  padding: 0 1.875rem;
  overflow: hidden;
  border: 1px solid var(--berry);
  border-radius: 62.4375rem;
  background: var(--berry);
  color: var(--cream-text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease);
}

.button:hover {
  border-color: var(--berry-hover);
  background: var(--berry-hover);
  transform: translateY(-1px);
}

.button span[aria-hidden] {
  transition: transform 0.3s var(--ease);
}

.button:hover span[aria-hidden] {
  transform: translateX(0.25rem);
}

/* "See everything" points down the page, so its arrow nods down instead. */
.button:hover .button__down {
  transform: translateY(0.1875rem);
}

.button--gold {
  border: 0;
  background: linear-gradient(180deg, #f5dea8 0%, #d9ae5f 100%);
  color: #2a1a09;
  box-shadow: 0 0.875rem 2.125rem -0.875rem rgba(226, 180, 96, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.button--gold::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}

.button--gold:hover {
  background: linear-gradient(180deg, #fbe7b9 0%, #e1b767 100%);
  box-shadow: 0 1.125rem 2.5rem -0.875rem rgba(226, 180, 96, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.button--gold:hover::after {
  left: 130%;
}

.button--ghost-light {
  border-color: rgba(247, 240, 228, 0.42);
  background: rgba(247, 240, 228, 0.04);
  color: var(--cream-text);
  -webkit-backdrop-filter: blur(0.375rem);
  backdrop-filter: blur(0.375rem);
}

.button--ghost-light:hover {
  border-color: var(--cream-text);
  background: rgba(247, 240, 228, 0.12);
}

.button--small {
  min-height: 2.625rem;
  padding: 0 1.375rem;
  font-size: 0.875rem;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--cream-text);
  transition: background-color 0.35s, box-shadow 0.35s;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: var(--container);
  height: 4.875rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.5625rem;
  font-weight: 450;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

/* Bee and name drawn as one SVG so the name spans the bee's exact height. */
.site-header__logo {
  display: block;
  width: auto;
  height: 1.8em;
  overflow: visible;
}

/* Styled on the artwork itself, not through the header, so the footer's
   reused copy is drawn the same way. */
.brand-logo text {
  font-family: var(--font-display);
  font-size: 184px;
  font-weight: 450;
  letter-spacing: -0.01em;
}

.brand-logo path,
.brand-logo text {
  fill: currentColor;
}

.site-header__star {
  width: 1.125rem;
  height: 1.125rem;
  fill: var(--gold);
  filter: drop-shadow(0 0 0.375rem rgba(241, 213, 155, 0.8));
  animation: star-breathe 3.6s ease-in-out infinite;
}

.site-header__nav {
  display: flex;
  gap: 1.625rem;
  margin-left: auto;
}

.site-header__nav a {
  position: relative;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.86;
  transition: opacity 0.2s;
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3125rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-header__nav a:hover {
  opacity: 1;
}

.site-header__nav a:hover::after,
.site-header__nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.site-header__nav a[aria-current="true"] {
  opacity: 1;
}

.site-header__cta {
  flex: none;
  min-width: 8.875rem;
}

/* The label cross-fades when the section on screen changes. */
.site-header__cta [data-header-cta-label] {
  transition: opacity 0.18s;
}

.site-header__cta.is-swapping [data-header-cta-label] {
  opacity: 0;
}

/* The header's surface: the bar plus the scalloped hem below it, one shape,
   cut to the hem by home.js (and wizard.js) with the very curve the bulbs
   hang from. Over the hero it is a soft dark glass, so the lights and the
   offer tag have something to hang from; once the page scrolls it becomes
   the solid header. Decoration only: it never takes a click. */
.site-header__surface {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  background: rgba(10, 24, 18, 0.42);
  -webkit-backdrop-filter: blur(0.3rem);
  backdrop-filter: blur(0.3rem);
  pointer-events: none;
  transition: background-color 0.35s, -webkit-backdrop-filter 0.35s, backdrop-filter 0.35s;
}

.site-header[data-over-hero="false"] .site-header__surface {
  background: rgba(10, 24, 18, 0.86);
  -webkit-backdrop-filter: saturate(1.3) blur(0.875rem);
  backdrop-filter: saturate(1.3) blur(0.875rem);
}

/* ---------- Fairy lights ---------- */

.fairy-lights {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.fairy-lights svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fairy-lights--header {
  top: 100%;
  height: 1.625rem;
}

.fairy-lights__wire {
  fill: none;
  stroke: #2b2f25;
  stroke-width: 1.4;
}

.fairy-lights__cap {
  fill: #3a3b30;
}

/* Over ivory sections the soft glow turns muddy, so drop it and use
   deeper bulb colours with a fine outline instead. */
.fairy-lights__glow {
  transition: opacity 0.4s;
}

.fairy-lights__lamp,
.fairy-lights__wire {
  transition: fill 0.4s, stroke 0.4s;
}

.site-header[data-over-light="true"] .fairy-lights__glow {
  opacity: 0;
}


.site-header[data-over-light="true"] .fairy-lights__lamp {
  stroke: rgba(60, 40, 20, 0.28);
  stroke-width: 0.6;
}

.site-header[data-over-light="true"] .fairy-lights__lamp--0,
.site-header[data-over-light="true"] .fairy-lights__lamp--1,
.site-header[data-over-light="true"] .fairy-lights__lamp--3,
.site-header[data-over-light="true"] .fairy-lights__lamp--5 {
  fill: #e0a53f;
}

.site-header[data-over-light="true"] .fairy-lights__lamp--2,
.site-header[data-over-light="true"] .fairy-lights__lamp--6 {
  fill: #cf3b2c;
}

.site-header[data-over-light="true"] .fairy-lights__lamp--4 {
  fill: #c9851c;
}

.site-header[data-over-light="true"] .fairy-lights__lamp--7 {
  fill: #3c9a5f;
}

.fairy-lights__bulb {
  will-change: opacity;
  animation: bulb-twinkle var(--d, 2.4s) ease-in-out var(--delay, 0s) infinite alternate;
}

@keyframes bulb-twinkle {
  0% {
    opacity: 0.32;
  }

  60% {
    opacity: 0.95;
  }

  100% {
    opacity: 1;
  }
}

@keyframes star-breathe {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.12) rotate(12deg);
    opacity: 1;
  }
}

/* ---------- Offer sign (hangs from the header's wire) ----------
   A little hanging sign on a gold thread, tied to the fairy lights. It drops in once
   the hero has settled, swings to rest, rises back behind the header the
   moment the visitor scrolls, and drops again when they return to the top.
   The rail clips it, so it leaves the way a tag pulled up behind a shelf
   would. home.js decides where along the wire it hangs (beside the tree,
   clear of the hero text) and shows it only while the offer runs; it is
   hidden in the HTML. */

.offer-tag {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 22rem;
  /* home.js clips this rail to the hem's own curve, so the tag leaves behind
     the scalloped edge and never behind a straight line. */
  overflow: visible;
  pointer-events: none;
}

.offer-tag[hidden] {
  display: none;
}

.offer-tag__drop {
  position: absolute;
  top: 0;
  left: 59%;
  width: max-content;
  transform: translate3d(0, -120%, 0);
  transition: transform 0.95s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.3s ease-out, left 0.35s var(--ease);
  will-change: transform;
}

.offer-tag.is-dropped .offer-tag__drop {
  transform: none;
}

/* Leaving: a quicker, quieter rise, fading as it goes. */
.offer-tag.is-lifted .offer-tag__drop {
  transform: translate3d(0, -120%, 0);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.5, 0, 0.75, 0.55), opacity 0.3s ease-in 0.4s, left 0.35s var(--ease);
}

/* The swing pivots where the thread meets the hem. */
.offer-tag__swing {
  position: relative;
  transform-origin: 50% 0;
}

/* A small bead where the thread is tied to the hem. */
.offer-tag__swing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.3125rem;
  height: 0.3125rem;
  margin-left: -0.15625rem;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.offer-tag.is-dropped .offer-tag__swing {
  animation: offer-tag-swing 2.8s ease-in-out 0.1s both;
}

.offer-tag.is-lifted .offer-tag__swing {
  animation: offer-tag-lift 0.75s ease-in both;
}

@keyframes offer-tag-swing {
  0% { transform: rotate(0); }
  20% { transform: rotate(-6deg); }
  42% { transform: rotate(4.2deg); }
  62% { transform: rotate(-2.4deg); }
  80% { transform: rotate(1.1deg); }
  100% { transform: rotate(0); }
}

@keyframes offer-tag-lift {
  to { transform: rotate(-5deg); }
}

.offer-tag__thread {
  display: block;
  width: 100%;
  height: 1.5rem;
  overflow: visible;
}

.offer-tag__thread path {
  fill: none;
  stroke: rgba(241, 213, 155, 0.9);
  stroke-width: 1.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* The sign itself: a deep berry board with its corners cut, a gold rim and
   gold lettering, snow along its top edge, holly in a corner, the thread
   tied in a red bow, and a soft shadow that follows the shape. The rim is
   the board's own gold showing round the berry face set into it, so it
   follows the cut corners; the shadow is a filter on the link for the same
   reason, and the trimmings are children of the link so the cut corners do
   not clip them. home.js measures the link, which the trimmings do not
   enlarge: they hang over its edges. */
.offer-tag__card {
  position: relative;
  display: block;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  filter: drop-shadow(0 0.875rem 0.625rem rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  transition: filter 0.3s, transform 0.3s var(--ease);
}

.offer-tag__card:hover {
  transform: translateY(0.125rem);
  filter: drop-shadow(0 1rem 0.75rem rgba(0, 0, 0, 0.55));
}

/* The cut corners: the same shape on the board and on the face set into it;
   the face's notch is a touch smaller so the rim stays even along the cuts. */
.offer-tag__board,
.offer-tag__face {
  display: block;
  clip-path: polygon(var(--notch) 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, var(--notch) 100%, 0 calc(100% - var(--notch)), 0 var(--notch));
}

.offer-tag__board {
  --notch: 0.625rem;
  padding: 0.125rem;
  background: linear-gradient(160deg, var(--gold-2) 0%, var(--gold) 50%, var(--gold-deep) 100%);
}

.offer-tag__face {
  --notch: 0.575rem;
  padding: 0.9375rem 1.5rem 0.75rem;
  background: linear-gradient(180deg, #7a2432 0%, var(--berry) 48%, var(--berry-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.offer-tag__heading {
  display: block;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

/* Between the two lines: a fine gold rule, fading at its ends, with a small
   sparkle at its centre. */
.offer-tag__divider {
  display: block;
  width: 4rem;
  height: 0.5rem;
  margin: 0.25rem auto 0.125rem;
  overflow: visible;
}

.offer-tag .divider__rule {
  fill: none;
  stroke: url(#sign-rule);
  stroke-width: 1;
  stroke-linecap: round;
}

.offer-tag .divider__star {
  fill: var(--gold-2);
}

/* The second line. */
.offer-tag__note {
  display: block;
  color: var(--cream-text);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

/* The trimmings, as on the gift tags (stage.css), at the sign's own size. */
.offer-tag__snow {
  position: absolute;
  z-index: 2;
  top: -0.5rem;
  left: 0.75rem;
  width: calc(100% - 1.5rem);
  height: 0.875rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  pointer-events: none;
}

.offer-tag__holly {
  position: absolute;
  z-index: 3;
  top: -0.625rem;
  left: -0.5rem;
  width: 2.625rem;
  height: 2.625rem;
  pointer-events: none;
}

.offer-tag__holly svg {
  display: block;
  width: 100%;
  height: 100%;
}

.offer-tag .holly__leaf path:first-child {
  fill: #2f6b45;
}

.offer-tag .holly__vein {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1;
  stroke-linecap: round;
}

.offer-tag .holly__berry {
  fill: #b8323f;
}

.offer-tag .holly__shine {
  fill: rgba(255, 255, 255, 0.7);
}

.offer-tag__bow {
  position: absolute;
  z-index: 4;
  top: -0.625rem;
  left: 50%;
  width: 2.25rem;
  height: 1.3125rem;
  margin-left: -1.125rem;
  pointer-events: none;
}

.offer-tag .bow__loop,
.offer-tag .bow__tail {
  fill: #b8323f;
}

.offer-tag .bow__knot {
  fill: #8d2431;
}

.offer-tag .bow__shine {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  /* The shortcut bar sits inside the first screen, so leave room for it. */
  height: 100vh;
  height: 100svh;
  min-height: 40rem;
  max-height: 62.5rem;
  padding: 4.875rem 0 calc(var(--hero-bar-space) + 2.25rem);
  overflow: hidden;
  background: #120c09;
  /* The hero's own height, for the photo crop below (the tiers that change
     the height set this too). */
  --hero-h: clamp(40rem, 100svh, 62.5rem);
}

.hero__scene {
  position: absolute;
  inset: 0;
}

/* Starts zoomed in; home.js zooms out in step with the hero snow. */
.hero__zoom {
  position: absolute;
  inset: 0;
  transform-origin: 68% 32%;
}

html.js .hero__zoom {
  transform: scale(1.14);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The photo has clear wall above the tree's star. The vertical crop is
     worked out from the hero's size: the star's top lands --star-clear below
     the hero's top (below the header's lamps) and the rest of the tree sits
     as high as it can, within what object-fit: cover allows. --photo-* are
     the photo's pixel size and the star's top row in it. */
  --photo-w: 1672;
  --photo-h: 1134;
  --star-top: 212;
  /* Header (4.875rem) + its lights (1.625rem) + lamp reach + a gap; in rem
     so it grows with the header on wide screens. */
  --star-clear: 8.125rem;
  --cover: max(100vw / var(--photo-w), var(--hero-h) / var(--photo-h));
  --crop-y: clamp(
    calc(var(--hero-h) - var(--photo-h) * var(--cover)),
    calc(var(--star-clear) - var(--star-top) * var(--cover)),
    0px
  );
  object-position: 35% var(--crop-y);
}

.hero__twinkles {
  position: absolute;
  inset: 0;
}

/* 21:9 screens and wide, short windows use the ultrawide photo. */
@media (min-width: 1024px) and (min-aspect-ratio: 21/10) {
  .hero__image {
    --photo-w: 2172;
    --photo-h: 854;
    --star-top: 159;
    object-position: 50% var(--crop-y);
  }

  .hero__zoom {
    transform-origin: 69% 44%;
  }
}

/* The photo fades in once it has loaded and decoded; the tree's lights only
   come on after it, so they never glow over an empty background. */
html.js .hero__image {
  opacity: 0;
  transition: opacity 0.45s ease-out;
}

html.js .hero__twinkles {
  opacity: 0;
  transition: opacity 0.9s ease-out 0.2s;
}

html.js .hero.is-scene-ready .hero__image,
html.js .hero.is-scene-ready .hero__twinkles {
  opacity: 1;
}

.twinkle {
  position: absolute;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 225, 1) 0%, rgba(255, 214, 130, 0.85) 22%, rgba(255, 170, 70, 0) 70%);
  mix-blend-mode: screen;
  opacity: 0;
  will-change: opacity, transform;
  animation: twinkle var(--d, 3s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.05;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.6) 0%, rgba(8, 6, 4, 0) 20%),
    linear-gradient(90deg, rgba(8, 6, 4, 0.82) 0%, rgba(8, 6, 4, 0.55) 34%, rgba(8, 6, 4, 0) 60%),
    linear-gradient(0deg, rgba(10, 24, 18, 0.9) 0%, rgba(10, 24, 18, 0) 22%);
  pointer-events: none;
}

.snow {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero h1 {
  max-width: 42.5rem;
  font-size: 6rem;
  font-weight: 330;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero h1 em {
  display: inline-block;
  /* Gradient text only paints inside this box: make it reach below the
     italic tails and past the overhang. Net extra width stays 0.08em. */
  padding: 0.06em 0.34em 0.34em 0.16em;
  margin: -0.06em -0.26em -0.34em -0.16em;
  background: linear-gradient(100deg, #e4c07a 0%, #fff0c8 18%, #d7a654 36%, #f6dca0 54%, #e4c07a 72%, #fff0c8 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s linear var(--shimmer-passes, 1);
}

@keyframes shimmer {
  to {
    background-position: -220% center;
  }
}

/* The shimmer runs a bounded number of passes and then rests on the readable
   gold. home.js holds each section's shimmer until the section is first seen
   and pauses it while the section is off screen or the tab hidden, so every
   pass is seen once and none is replayed. */
:root {
  --shimmer-passes: 1;
}

/* Written with the owner in the selector so that each shimmer's own rule
   (.hero h1 em, .closing h2 em, .word__inner.is-shimmer), whose shorthand
   would otherwise set the play state back to running, cannot outrank it
   wherever it sits in this file. */
.is-shimmer-paused[data-hero] h1 em,
.closing.is-shimmer-paused h2 em,
.is-shimmer-paused .word__inner.is-shimmer {
  animation-play-state: paused;
}

.hero__lede {
  max-width: 27.5rem;
  margin-top: 1.75rem;
  color: var(--cream-muted);
  font-size: 1.1875rem;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

/* What the gold button leads to, in a line under it. */
.hero__promise {
  margin-top: 0.875rem;
  color: var(--cream-muted);
  font-size: 0.9375rem;
}

/* Countdown */

.countdown {
  margin-top: 3.5rem;
}

.countdown__title {
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.countdown__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.125rem;
}

.countdown__units {
  display: flex;
  gap: 0.625rem;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 5.125rem;
  padding: 0.75rem 0.625rem 0.625rem;
  border: 1px solid rgba(241, 213, 155, 0.26);
  border-radius: 0.625rem;
  box-shadow: inset 0 1px 0 rgba(241, 213, 155, 0.38);
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.1), rgba(255, 248, 235, 0.03));
  -webkit-backdrop-filter: blur(0.5rem);
  backdrop-filter: blur(0.5rem);
}

.countdown__unit [data-countdown-value],
.countdown__unit .countdown__flash {
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 350;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.countdown__unit [data-countdown-label] {
  margin-top: 0.375rem;
  color: rgba(247, 239, 225, 0.6);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#arrival-countdown[data-countdown-mode="merry"] .countdown__units {
  display: none;
}

/* ---------- Shortcuts ---------- */

.shortcuts {
  position: relative;
  z-index: 5;
  max-width: calc(var(--container) - (var(--gutter) * 2) + 3rem);
  /* Pull the bar up into the hero so it is visible on load. */
  margin: calc(-1 * var(--hero-bar-space) + 0.5rem) auto calc(var(--hero-bar-space) - 0.5rem - var(--bar-h));
  /* "See everything" lands the bar below the header's lights, not under
     them, with the trust line showing just beneath the lights (a section
     lands 8px under the bar; the bar's paper would show the lights on it). */
  scroll-margin-top: 5.25rem;
}

.shortcuts__list {
  --thread: rgba(201, 161, 85, 0.6);
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 0.875rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.875rem 4.375rem -1.625rem rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(241, 213, 155, 0.35);
}

/* A fine gold line just inside the edge, as on a Christmas card. */
.shortcuts__list::before {
  content: "";
  position: absolute;
  inset: 0.25rem;
  border: 1px solid rgba(201, 161, 85, 0.42);
  border-radius: 0.625rem;
  pointer-events: none;
}

/* Light that crosses the bar once as it arrives (see "Shortcut bar arrival"). */
.shortcuts__list::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 18%;
  background: linear-gradient(100deg, rgba(255, 226, 160, 0) 0%, rgba(255, 226, 160, 0.55) 50%, rgba(255, 226, 160, 0) 100%);
  opacity: 0;
  transform: translate3d(-120%, 0, 0) skewX(-16deg);
  pointer-events: none;
}

.shortcuts__list li {
  position: relative;
  flex: 1 1 auto;
}

/* Neighbours are parted by a gold thread that fades at both ends, with a
   small star where a plain line would have its middle. */
.shortcuts__list li + li::before {
  content: "";
  position: absolute;
  top: 0.875rem;
  bottom: 0.875rem;
  left: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    var(--thread) 30%,
    var(--thread) calc(50% - 0.5625rem),
    transparent calc(50% - 0.5625rem),
    transparent calc(50% + 0.5625rem),
    var(--thread) calc(50% + 0.5625rem),
    var(--thread) 70%,
    transparent);
  pointer-events: none;
}

.shortcuts__list li + li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.625rem;
  height: 0.625rem;
  margin: -0.3125rem 0 0 calc(-0.3125rem + 0.5px);
  background: linear-gradient(135deg, #e6c583, #b98b3d);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  pointer-events: none;
}

.shortcut {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  padding: 1.0625rem 0.75rem;
  text-decoration: none;
}

/* A warm glow behind the item under the pointer, fading out before it
   reaches the threads on either side. */
.shortcut::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(ellipse 58% 92% at 50% 50%, rgba(240, 210, 150, 0.6), rgba(240, 210, 150, 0));
  opacity: 0;
  transition: opacity 0.3s;
}

.shortcut:hover::before {
  opacity: 1;
}

.shortcut__thumb {
  flex: none;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 0.125rem var(--paper), 0 0 0 0.21875rem rgba(201, 161, 85, 0.8), 0 0.4375rem 0.75rem -0.375rem rgba(84, 56, 16, 0.55);
}

.shortcut__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.shortcut__thumb--cutout img {
  object-fit: contain;
  padding: 0.3125rem 0.25rem 0.1875rem;
}

.shortcut:hover .shortcut__name {
  color: var(--berry);
}

.shortcut__name,
.shortcut__thumb {
  transition: color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease);
}

/* The picture under the pointer lifts a little and its gold rim lights up. */
.shortcut:hover .shortcut__thumb {
  box-shadow: 0 0 0 0.125rem var(--paper), 0 0 0 0.21875rem var(--gold), 0 0 1rem 0.125rem rgba(241, 190, 100, 0.65);
  transform: translate3d(0, -0.125rem, 0);
}

.shortcut:hover .shortcut__thumb img {
  transform: scale(1.1);
}

.shortcut__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.shortcut__name {
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.shortcut__price {
  color: var(--berry);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ---------- Trust strip (in the hero, just above the shortcut bar) ---------- */

.trust {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: calc(var(--hero-bar-space) + 0.125rem);
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 0 var(--gutter);
  color: rgba(247, 239, 225, 0.82);
  font-size: 0.84375rem;
  text-shadow: 0 1px 0.625rem rgba(0, 0, 0, 0.7);
}

.trust li {
  display: flex;
  align-items: center;
  gap: 0.5625rem;
  white-space: nowrap;
}

.trust li + li {
  position: relative;
}

.trust li + li::before {
  content: "";
  position: absolute;
  left: -1.375rem;
  top: 50%;
  width: 0.25rem;
  height: 0.25rem;
  margin-top: -0.125rem;
  background: rgba(217, 178, 106, 0.7);
  transform: rotate(45deg);
}

.trust strong {
  color: var(--cream-text);
  font-weight: 600;
}

.trust__icon {
  flex: none;
  width: 1.0625rem;
  height: 1.0625rem;
  fill: var(--gold);
  filter: drop-shadow(0 1px 0.25rem rgba(0, 0, 0, 0.5));
}

.trust__tick {
  fill: none;
  stroke: #1a130c;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust__wheel {
  fill: var(--gold);
  stroke: #1a130c;
  stroke-width: 1.2;
}

/* ---------- Tree stages ---------- */

.tree-stage {
  position: relative;
  overflow-x: clip;
}

/* Desktop keeps its composition down to 1024px; below that the tablet and
   phone layouts (at the end of this file) take over. */
@media (min-width: 1024px) {
  body {
    min-width: 1024px;
  }
}

/* Phone-only elements stay hidden on larger screens. */
.rail-dots {
  display: none;
}

.tree-stage--real {
  padding: 8.125rem 0 11.875rem;
  background:
    radial-gradient(ellipse 60% 70% at 72% 55%, #1f4432 0%, rgba(31, 68, 50, 0) 70%),
    linear-gradient(180deg, var(--night) 0%, var(--evergreen) 40%, var(--evergreen) 100%);
}

.tree-stage--artificial {
  padding: 11.875rem 0 8.125rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(169, 128, 63, 0.11) 0 1px, transparent 1.6px) 0 0 / 2.875rem 2.875rem,
    radial-gradient(circle at 70% 65%, rgba(169, 128, 63, 0.08) 0 1px, transparent 1.6px) 0 0 / 4.625rem 4.625rem,
    radial-gradient(ellipse 55% 60% at 72% 55%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%),
    var(--ivory);
  color: var(--ink);
}

.tree-stage__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4.5rem;
  align-items: center;
}

.tree-stage h2 {
  font-size: 4rem;
  line-height: 0.98;
}

.tree-stage--real h2 em {
  color: var(--gold-2);
}

.tree-stage--artificial h2 em {
  color: var(--berry);
}

.tree-stage__intro {
  max-width: 26.25rem;
  margin-top: 1.375rem;
  font-size: 1.125rem;
  color: var(--cream-muted);
}

.tree-stage--artificial .tree-stage__intro {
  color: var(--ink-muted);
}

.tree-stage__content .button,
.split--outdoor .split__inner > .button,
.setup__content > .button {
  margin-top: 2.25rem;
}

/* Small decision helpers under the main buttons */
.helpers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1.375rem;
  margin-top: 1.375rem;
  color: var(--cream-muted);
  font-size: 0.875rem;
}

.helpers a {
  color: var(--gold-2);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(241, 213, 155, 0.4);
  text-underline-offset: 0.25rem;
  transition: text-decoration-color 0.2s;
}

.helpers a:hover {
  text-decoration-color: currentColor;
}

.helpers a span[aria-hidden] {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.helpers a:hover span[aria-hidden] {
  transform: translateX(0.1875rem);
}

.tree-stage--artificial .helpers {
  color: var(--ink-muted);
}

.tree-stage--artificial .helpers a {
  color: var(--berry);
  text-decoration-color: rgba(107, 26, 42, 0.35);
}

.tree-stage--artificial .helpers a:hover {
  text-decoration-color: currentColor;
}

.tree-stage__trees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.tree-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.tree-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
}

.tree-card__media::before {
  content: "";
  position: absolute;
  inset: 4% -6% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(241, 213, 155, 0.2), rgba(241, 213, 155, 0));
  transition: opacity 0.5s, transform 0.7s var(--ease);
}

.tree-card__media::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.5%;
  height: 5%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.tree-stage--artificial .tree-card__media::before {
  background: radial-gradient(closest-side, rgba(217, 178, 106, 0.22), rgba(217, 178, 106, 0));
}

.tree-stage--artificial .tree-card__media::after {
  background: radial-gradient(closest-side, rgba(60, 40, 20, 0.28), rgba(60, 40, 20, 0));
}

.tree-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 100%;
  transition: transform 0.7s var(--ease);
}

.tree-card__media::before {
  opacity: 0.8;
}

.tree-card:hover .tree-card__media::before {
  opacity: 1;
  transform: scale(1.08);
}

.tree-card:hover .tree-card__media img {
  transform: scale(1.04);
}

.tree-card__name {
  margin-top: 1.375rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}

.tree-card__note {
  margin-top: 0.375rem;
  color: var(--cream-muted);
  font-size: 0.875rem;
}

.tree-stage--artificial .tree-card__note {
  color: var(--ink-muted);
}

.tree-card__price {
  margin-top: 0.875rem;
  padding: 0.3125rem 1rem;
  border: 1px solid rgba(217, 178, 106, 0.55);
  border-radius: 62.4375rem;
  color: var(--gold-2);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.tree-stage--artificial .tree-card__price {
  border-color: rgba(107, 26, 42, 0.35);
  color: var(--berry);
}

.tree-card:hover .tree-card__price {
  background: var(--gold);
  color: #2a1a09;
}

.tree-stage--artificial .tree-card:hover .tree-card__price {
  background: var(--berry);
  color: var(--cream-text);
}

.tree-card__cta {
  display: inline-flex;
  gap: 0.375rem;
  margin-top: 0.75rem;
  color: var(--gold-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.8;
  transition: opacity 0.25s, gap 0.3s var(--ease);
}

.tree-stage--artificial .tree-card__cta {
  color: var(--berry);
}

.tree-card:hover .tree-card__cta {
  gap: 0.625rem;
  opacity: 1;
}

/* Trees glide in horizontally from the right and ease to a stop (as in ver-1). */

html.js .tree-stage__trees.is-pending > li {
  opacity: 0;
  transform: translate3d(calc(100vw + 2rem), 0, 0);
}

.tree-stage__trees.is-entered > li {
  animation: tree-arrive 2400ms var(--ease-arrive) both;
  will-change: transform;
}

.tree-stage__trees.is-entered > li:nth-child(2) {
  animation-delay: 330ms;
}

@keyframes tree-arrive {
  from {
    opacity: 0;
    transform: translate3d(calc(100vw + 2rem), 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ---------- Christmas jumpers ---------- */

/* Cranberry, with a faint woven texture so it reads as knitwear. */
.tree-stage--jumpers {
  padding: 8.75rem 0;
  background:
    repeating-linear-gradient(60deg, rgba(255, 240, 225, 0.028) 0 0.125rem, transparent 0.125rem 0.6875rem),
    repeating-linear-gradient(-60deg, rgba(255, 240, 225, 0.028) 0 0.125rem, transparent 0.125rem 0.6875rem),
    radial-gradient(ellipse 60% 70% at 70% 50%, #85243a 0%, rgba(133, 36, 58, 0) 70%),
    #621626;
}

.tree-stage--jumpers h2 {
  font-size: 3.375rem;
}

.tree-stage--jumpers h2 em {
  color: var(--gold-2);
}

.jumpers__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Product photos sit on ivory tiles that match their studio backdrop. */
.jumper-card__media {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f6efe4;
  box-shadow: 0 1.5rem 2.5rem -1.375rem rgba(0, 0, 0, 0.55);
}

.jumper-card__media::before,
.jumper-card__media::after {
  content: none;
}

.jumper-card__media {
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.jumper-card:hover .jumper-card__media {
  transform: translateY(-0.3125rem);
  box-shadow: 0 2.125rem 3.125rem -1.5rem rgba(0, 0, 0, 0.65);
}

.jumper-card__media img {
  object-fit: cover;
  transform-origin: 50% 50%;
}

.jumper-card .tree-card__name {
  font-size: 1.75rem;
}

.jumpers__cards > li:nth-child(2) > .reveal {
  transition-delay: 90ms;
}

.jumpers__cards > li:nth-child(3) > .reveal {
  transition-delay: 180ms;
}

/* ---------- Garlands (full strip, hung across the seam) ---------- */

.garland {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  pointer-events: none;
}

.garland img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.875rem 1.125rem rgba(0, 0, 0, 0.35));
}

/* Very wide screens: the strip stops growing at its design width, and
   mirrored copies of the same file carry it on to both edges. */
@media (min-width: 1600px) {
  .garland img {
    max-width: 110rem;
    margin: 0 auto;
  }

  .garland::before,
  .garland::after {
    content: "";
    position: absolute;
    top: 0;
    width: 110rem;
    height: 100%;
    background: center / 100% 100% no-repeat;
    filter: drop-shadow(0 0.875rem 1.125rem rgba(0, 0, 0, 0.35));
    transform: scaleX(-1);
  }

  .garland::before {
    right: calc(50% + 55rem - 1px);
  }

  .garland::after {
    left: calc(50% + 55rem - 1px);
  }

  .garland--fir::before,
  .garland--fir::after {
    background-image: url("../img/real-trees-full-garland-v1.webp");
  }

  .garland--cedar::before,
  .garland--cedar::after {
    background-image: url("../img/santa-ivory-cedar-garland-v1.webp");
  }
}

.tree-stage--real .garland--fir {
  bottom: 0;
  transform: translateY(52%);
}

.garland--cedar {
  top: 0;
  transform: translateY(-50%);
}

.garland--top {
  top: 0;
  transform: translateY(-50%);
}

/* ---------- Tree delivery & setup ---------- */

.setup {
  position: relative;
  /* Its text waits a little to the right before sliding in; keep that from
     widening the page on narrow phones. */
  overflow-x: clip;
  /* Extra top space: the real-trees garland hangs across this seam. */
  padding: 12.25rem 0 8.125rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(169, 128, 63, 0.11) 0 1px, transparent 1.6px) 0 0 / 2.875rem 2.875rem,
    radial-gradient(circle at 70% 65%, rgba(169, 128, 63, 0.08) 0 1px, transparent 1.6px) 0 0 / 4.625rem 4.625rem,
    radial-gradient(ellipse 50% 60% at 25% 50%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%),
    var(--ivory);
  color: var(--ink);
}

.setup__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 5.5rem;
  align-items: center;
}

.setup__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: 0 2.5rem 5rem -2.5rem rgba(40, 25, 10, 0.55);
}

.setup__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.setup__media:hover img,
.photography__scene:hover img {
  transform: scale(1.03);
}

.photography__scene {
  overflow: hidden;
  border-radius: var(--radius);
}

.setup h2 {
  font-size: 3.375rem;
  line-height: 0.98;
}

.setup h2 em {
  color: var(--berry);
}

.setup__intro {
  max-width: 27.5rem;
  margin-top: 1.375rem;
  color: var(--ink-muted);
  font-size: 1.125rem;
}

.setup__content {
  min-width: 0;
}

/* Setup is only sold with a real tree, so the two are shown as the pair
   they are, on a small gift tag like the one in the tree chooser: fir and a
   bow on top, holly in the corners, and the two pictures hanging as baubles
   with a plus between them. Everything here is drawn or moved by the
   stylesheet alone; the arrival plays once (see "Setup tag arrival"). */
.setup__pair {
  --pair-thumb: 4.5rem;
  --pair-thread: 1.375rem;
  --pair-cap: 0.375rem;
  --pair-reach: 7.25rem;
  --trim: 1;
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 1.25rem;
  /* Never wider than its column: the two halves give way instead. */
  max-width: 100%;
  /* Room above for the bow and the fir. */
  margin-top: 2.75rem;
  /* The threads start at the gold line just inside the edge. */
  padding: 0.25rem 1.75rem 1.25rem;
  border-radius: 0.875rem;
  background:
    radial-gradient(ellipse 80% 62% at 50% 40%, rgba(255, 232, 178, 0.6), rgba(255, 232, 178, 0) 72%),
    var(--paper);
  box-shadow: 0 0 0 1px rgba(201, 161, 85, 0.6), 0 1.75rem 2.75rem -1.75rem rgba(60, 40, 15, 0.6);
}

.setup__pair::before {
  content: "";
  position: absolute;
  inset: 0.25rem;
  border: 1px solid rgba(201, 161, 85, 0.45);
  border-radius: 0.625rem;
  pointer-events: none;
}

/* Light that crosses the tag once, kept inside its rounded corners. */
.setup__shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.setup__shine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  background: linear-gradient(100deg, rgba(255, 244, 214, 0) 0%, rgba(255, 244, 214, 0.9) 50%, rgba(255, 244, 214, 0) 100%);
  opacity: 0;
  transform: translate3d(-140%, 0, 0) skewX(-16deg);
}

/* Fir, bow, holly and stars: decoration only, free to hang over the edge. */
.setup__trim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.setup__trim > * {
  position: absolute;
}

/* A gold thread joins the two baubles, level with their middles; it passes
   behind the plus and under both rims. (Drawn here, not on the plus, so it
   stays still when the plus turns.) */
.setup__trim::before {
  content: "";
  position: absolute;
  top: calc(0.25rem + var(--pair-thread) + var(--pair-cap) + var(--pair-thumb) / 2);
  left: 50%;
  width: var(--pair-reach);
  height: 1px;
  margin-left: calc(var(--pair-reach) / -2);
  background: linear-gradient(90deg, rgba(201, 161, 85, 0), rgba(201, 161, 85, 0.7) 30%, rgba(201, 161, 85, 0.7) 70%, rgba(201, 161, 85, 0));
}

/* Two fir twigs fan out from behind the bow. Both start at the middle; the
   left one is the right one mirrored across it. */
.setup__sprig {
  top: calc(-0.875rem * var(--trim));
  left: 50%;
  width: calc(4.75rem * var(--trim));
  height: calc(1.875rem * var(--trim));
  overflow: visible;
  transform-origin: 0 65%;
  rotate: -7deg;
  filter: drop-shadow(0 0.125rem 0.125rem rgba(20, 30, 20, 0.3));
}

.setup__sprig--left {
  scale: -1 1;
  rotate: 7deg;
}

.setup__bow {
  top: calc(-0.4375rem * var(--trim));
  left: 50%;
  width: calc(3.25rem * var(--trim));
  height: calc(1.9375rem * var(--trim));
  margin-left: calc(-1.625rem * var(--trim));
  filter: drop-shadow(0 0.125rem 0.25rem rgba(40, 10, 10, 0.35));
  transform-origin: 50% 43%;
  transition: transform 0.7s cubic-bezier(0.34, 2.1, 0.5, 1);
}

/* Holly with berries on the two top corners. */
.setup__holly {
  top: calc(-0.9375rem * var(--trim));
  left: calc(-0.5625rem * var(--trim));
  width: calc(2.75rem * var(--trim));
  height: calc(2.75rem * var(--trim));
  transform-origin: 30% 55%;
  filter: drop-shadow(0 0.125rem 0.1875rem rgba(20, 30, 20, 0.3));
}

.setup__holly--right {
  right: calc(-0.5625rem * var(--trim));
  left: auto;
  scale: -1 1;
}

/* Small gold stars in the open paper around the baubles. */
.setup__spark {
  --s: 0s;
  width: 0.625rem;
  height: 0.625rem;
  margin: -0.3125rem 0 0 -0.3125rem;
  background: linear-gradient(135deg, #f0d596, #b98b3d);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0.55;
  transform: scale(0.8);
}

.setup__spark:nth-of-type(1) { top: 23%; left: 41.5%; }
.setup__spark:nth-of-type(2) { --s: 0.9s; top: 55%; left: 58.5%; width: 0.5rem; height: 0.5rem; }
.setup__spark:nth-of-type(3) { --s: 1.7s; top: 27%; left: 93%; width: 0.5rem; height: 0.5rem; }
.setup__spark:nth-of-type(4) { --s: 2.4s; top: 52%; left: 7%; width: 0.4375rem; height: 0.4375rem; }

.setup__part {
  --dir: 1;
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-items: center;
  width: 7rem;
  min-width: 0;
  line-height: 1.3;
  text-align: center;
}

.setup__part ~ .setup__part {
  --dir: -1;
}

/* Thread, cap and ball: the bauble swings from where its thread meets the
   gold line. One element draws the thread and, at its foot, the cap. */
.setup__bauble {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.75rem;
  transform-origin: 50% 0;
  transition: transform 1s cubic-bezier(0.34, 2.1, 0.5, 1);
}

.setup__bauble::before {
  content: "";
  width: 0.625rem;
  height: calc(var(--pair-thread) + var(--pair-cap));
  border-radius: 0.0625rem 0.0625rem 0.1875rem 0.1875rem;
  background:
    linear-gradient(180deg, #f6e2b3, #b98d3f) 50% 100% / 100% var(--pair-cap) no-repeat,
    linear-gradient(180deg, rgba(217, 178, 106, 0.55), var(--gold)) 50% 0 / 0.0625rem 100% no-repeat;
}

.setup__thumb {
  position: relative;
  flex: none;
  width: var(--pair-thumb);
  height: var(--pair-thumb);
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fdf7e9, #e8dbc2 80%);
  box-shadow: 0 0 0 0.125rem #cfa75c, 0 0.75rem 1.125rem -0.5rem rgba(84, 56, 16, 0.65);
  transition: box-shadow 0.35s;
}

.setup__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.setup__thumb--cutout img {
  object-fit: contain;
  padding: 0.5rem 0.375rem 0.3125rem;
}

/* Glass: a soft highlight top left and a shade along the lower rim. */
.setup__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 36%);
  box-shadow: inset 0 -0.3125rem 0.5rem -0.1875rem rgba(40, 22, 6, 0.45), inset 0 0 0 0.0625rem rgba(255, 244, 214, 0.4);
  pointer-events: none;
}

.setup__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.setup__price {
  margin-top: 0.125rem;
  color: var(--berry);
  font-size: 0.875rem;
  font-weight: 500;
}

/* The plus, level with the middle of the two baubles. */
.setup__plus {
  position: relative;
  z-index: 0;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: calc(var(--pair-thread) + var(--pair-cap) + (var(--pair-thumb) - 1.75rem) / 2);
  border-radius: 50%;
  background:
    linear-gradient(var(--paper), var(--paper)) 50% 50% / 0.75rem 0.125rem no-repeat,
    linear-gradient(var(--paper), var(--paper)) 50% 50% / 0.125rem 0.75rem no-repeat,
    linear-gradient(135deg, #ecd08f, #b4863a);
  box-shadow: 0 0 0 0.1875rem rgba(217, 178, 106, 0.25), 0 0.3125rem 0.5rem -0.25rem rgba(84, 56, 16, 0.6);
  transition: transform 0.6s var(--ease);
}

/* A ring that opens once around the plus as it arrives. */
.setup__plus::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #d9b26a;
  border-radius: 50%;
  opacity: 0;
}

/* With a mouse: the bauble under the pointer sways and lights up, the plus
   turns, the bow gives a tug. Springy transitions, so nothing stops short. */
@media (hover: hover) {
  .setup__part:hover .setup__bauble {
    transform: rotate(calc(var(--dir) * -7deg));
  }

  .setup__part:hover .setup__thumb {
    box-shadow: 0 0 0 0.125rem var(--gold-2), 0 0 1.25rem 0.1875rem rgba(241, 190, 100, 0.7), 0 0.75rem 1.125rem -0.5rem rgba(84, 56, 16, 0.65);
  }

  .setup__part:hover .setup__thumb img {
    transform: scale(1.08);
  }

  .setup__pair:hover .setup__plus {
    transform: rotate(90deg);
  }

  .setup__pair:hover .setup__bow {
    transform: scale(1.12) rotate(-4deg);
  }
}

.setup .helpers {
  color: var(--ink-muted);
}

.setup .helpers a {
  color: var(--berry);
  text-decoration-color: rgba(107, 26, 42, 0.35);
}

.setup .helpers a:hover {
  text-decoration-color: currentColor;
}

/* ---------- Split sections (Santa, Outdoor) ---------- */

.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 48.75rem;
}

.split__media {
  position: relative;
  overflow: hidden;
}

.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__content {
  display: flex;
  align-items: center;
}

.split--santa .split__media img {
  /* Keep Santa, both children and the mother (right edge) in view. */
  object-position: 62% 50%;
}

.split--santa .split__content {
  padding: 7.5rem max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 7.5rem 6rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(241, 213, 155, 0.14) 0 1px, transparent 1.5px) 0 0 / 2.875rem 2.875rem,
    radial-gradient(circle at 70% 60%, rgba(241, 213, 155, 0.1) 0 1px, transparent 1.5px) 0 0 / 4.375rem 4.375rem,
    radial-gradient(ellipse 80% 70% at 30% 40%, #6a1829 0%, var(--berry-deep) 70%);
}

.split--outdoor {
  --join-sky: none;
  /* The arriving star's streak is cut at the sides only: it comes from above. */
  overflow-x: clip;
  background: var(--navy);
}

/* Directly under What's on, the panel starts in the skyline's own colour, so
   the city stands on the ground this section is built on. */
.events + .split--outdoor {
  --join-sky: linear-gradient(180deg, var(--night) 0, rgba(10, 24, 18, 0) 9rem);
}

/* The panel's foot fades the same way into the questions below. */
.split--outdoor .split__content {
  padding: 7.5rem 6rem 7.5rem max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  background:
    var(--join-sky),
    linear-gradient(0deg, var(--night) 0, rgba(10, 24, 18, 0) 7rem),
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(80, 110, 170, 0.18), rgba(80, 110, 170, 0) 70%),
    var(--navy);
}

.split--outdoor .split__media img {
  /* Keep both installers, the ladder and the door in view as the panel narrows. */
  object-position: 58% 50%;
}

/* The star comes home (home.js, mountHomeStar). The house waits in the dark
   under a veil; when the star lands on its roof the veil opens from that
   point and is gone for good. Without script, or with reduced motion, there
   is no veil and the photo simply shows. */
html.js .split--outdoor [data-home-light]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--star-x, 50%) var(--star-y, 0px), rgba(9, 16, 24, 0) 0, rgba(9, 16, 24, 0.9) var(--star-r, 0px));
  transform-origin: var(--star-x, 50%) var(--star-y, 0px);
  transition: transform 1.6s var(--ease), opacity 1.6s ease-in, visibility 0s 1.6s;
}

html.js .split--outdoor [data-home-light].is-lit::after {
  transform: scale(20);
  opacity: 0;
  visibility: hidden;
}

/* The star itself: the sky's own shooting star (.events__meteor), kept in
   this section so it can cross the seam and land on the photo. */
.split__star {
  z-index: 1;
  pointer-events: none;
}

.split h2 {
  max-width: 35rem;
  font-size: 3.375rem;
  line-height: 0.98;
}

.split h2 em {
  color: var(--gold-2);
}

.split--santa h2 em {
  white-space: nowrap;
}

.split__intro {
  max-width: 27.5rem;
  margin: 1.5rem 0 0;
  color: var(--cream-muted);
  font-size: 1.125rem;
}


.split figcaption {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  text-shadow: 0 1px 0.25rem rgba(0, 0, 0, 0.6);
}

/* Curtain reveal as the image scrolls in */

.curtain img {
  transition: clip-path 1.6s cubic-bezier(0.7, 0, 0.2, 1), transform 2.4s var(--ease);
}

html.js .curtain:not(.is-open) img {
  clip-path: inset(0 50% 0 50%);
  transform: scale(1.14);
}

html.js .curtain.is-open img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

/* Price tag */

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin: 2.125rem 0 2.375rem;
}

.price-tag__from,
.price-tag__unit {
  color: var(--cream-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.price-tag__value {
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 350;
  line-height: 1;
}

.price-tag--dark .price-tag__from,
.price-tag--dark .price-tag__unit {
  color: var(--ink-muted);
}

.price-tag--dark .price-tag__value {
  color: var(--berry);
}

/* ---------- Photography ---------- */

.photography {
  overflow-x: clip;
  padding: 8.75rem 0 10.625rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(169, 128, 63, 0.11) 0 1px, transparent 1.6px) 0 0 / 2.875rem 2.875rem,
    radial-gradient(circle at 70% 65%, rgba(169, 128, 63, 0.08) 0 1px, transparent 1.6px) 0 0 / 4.625rem 4.625rem,
    radial-gradient(ellipse 50% 60% at 70% 45%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%),
    var(--ivory);
  color: var(--ink);
}

.photography__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5.5rem;
  align-items: center;
}

.photography h2 {
  font-size: 3.375rem;
  line-height: 0.98;
}

.photography h2 em {
  color: var(--berry);
}

.photography__intro {
  max-width: 26.25rem;
  margin-top: 1.5rem;
  color: var(--ink-muted);
  font-size: 1.125rem;
}

.photography__media {
  position: relative;
}

.photography__scene img {
  transition: transform 0.9s var(--ease);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 2.5rem 5rem -2.5rem rgba(40, 25, 10, 0.55);
}

.photography__print {
  position: absolute;
  right: -2.25rem;
  bottom: -3.75rem;
  width: 38%;
  padding: 0.625rem 0.625rem 1.875rem;
  background: var(--paper);
  box-shadow: 0 1.875rem 3.125rem -1.125rem rgba(28, 20, 14, 0.5);
  transform: rotate(3deg);
  transition: transform 1.2s cubic-bezier(0.3, 1.35, 0.5, 1), opacity 0.6s;
}

/* A strip of washi tape holding the print in place. */
.photography__print::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -0.8125rem;
  left: 50%;
  width: 5.75rem;
  height: 1.625rem;
  margin-left: -2.875rem;
  background: rgba(233, 219, 192, 0.82);
  box-shadow: 0 1px 0.1875rem rgba(60, 40, 20, 0.12);
  transform: rotate(-4deg);
}

/* Handwritten-style note on the print's white border: a quiet cross-sell. */
.photography__print figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.3125rem;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

.photography__print figcaption a {
  color: var(--berry);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-style: italic;
  text-decoration: none;
}

.photography__print figcaption a:hover {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

/* Red (Admin → Settings): the Santa visits panel's red, cream and gold, with
   photography's own dot grid and its glow behind the pictures. The markup
   also swaps in the gold eyebrow, the light price tag and the gold button,
   and drops data-surface="light". The paper print stays a light surface. */
.photography--red {
  background:
    radial-gradient(circle at 20% 30%, rgba(241, 213, 155, 0.14) 0 1px, transparent 1.6px) 0 0 / 2.875rem 2.875rem,
    radial-gradient(circle at 70% 65%, rgba(241, 213, 155, 0.1) 0 1px, transparent 1.6px) 0 0 / 4.625rem 4.625rem,
    radial-gradient(ellipse 80% 70% at 70% 45%, #6a1829 0%, var(--berry-deep) 70%);
  color: var(--cream-text);
}

.photography--red h2 em {
  color: var(--gold-2);
}

.photography--red .photography__intro {
  color: var(--cream-muted);
}

/* The caption's ring sits on the paper, where pale gold would vanish. */
.photography--red .photography__print :focus-visible {
  outline-color: var(--berry);
}

html.js [data-prints]:not(.is-in) .photography__print {
  opacity: 0;
  transform: translate3d(2.5rem, -10rem, 0) rotate(-14deg);
}

/* ---------- Review panel ---------- */

/* The paper panel a review sits on (trees/wizard.js; class name kept). */
.bundle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 2rem 2rem 2.125rem;
  border: 1px solid rgba(217, 178, 106, 0.5);
  border-radius: 0.75rem;
  background: var(--paper);
  box-shadow: 0 1.875rem 3.75rem -2.25rem rgba(40, 25, 10, 0.5);
}

.bundle .button {
  margin-top: 1.5rem;
}

/* ---------- What's on (the season's headline events) ---------- */

.events {
  --cell: 6.5rem;
  --comb-gap: 0.375rem;
  --ticket-w: 15rem;
  /* Tall enough for the fullest back (the facts wrap to about 21.5rem). */
  --ticket-h: 23.5rem;
  --art-h: 9.5rem;
  --notch: 0.5625rem;
  /* The skyline keeps its proportions on wide screens and a readable
     height on narrow ones, where only its middle shows. */
  --skyline-h: max(11.12vw, 5.5rem);
  /* How far the ticket row runs past the content's right edge: to the edge
     of the screen, but no further than this on very wide ones, so the
     section stays balanced about its centre. */
  --bleed: min(10rem, max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))));
  position: relative;
  padding: 7.5rem 0 calc(var(--skyline-h) + 2.5rem);
  overflow: hidden;
  overflow: clip;
  background:
    radial-gradient(ellipse 62% 30% at 50% 100%, rgba(226, 180, 96, 0.22) 0%, rgba(226, 180, 96, 0) 70%),
    radial-gradient(ellipse 70% 60% at 24% 30%, rgba(80, 110, 170, 0.2), rgba(80, 110, 170, 0) 70%),
    var(--navy);
}

/* Without script nothing draws the stars, so a plain tiled sky stands in. */
html:not(.js) .events {
  background:
    radial-gradient(circle at 18% 22%, rgba(241, 213, 155, 0.55) 0 1px, transparent 1.6px) 0 0 / 5.375rem 5.375rem,
    radial-gradient(circle at 72% 64%, rgba(241, 213, 155, 0.34) 0 1px, transparent 1.6px) 0 0 / 8.125rem 8.125rem,
    radial-gradient(circle at 44% 86%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.4px) 0 0 / 3.625rem 3.625rem,
    radial-gradient(ellipse 62% 30% at 50% 100%, rgba(226, 180, 96, 0.22) 0%, rgba(226, 180, 96, 0) 70%),
    radial-gradient(ellipse 70% 60% at 24% 30%, rgba(80, 110, 170, 0.2), rgba(80, 110, 170, 0) 70%),
    var(--navy);
}

/* The night sky behind everything: stars drawn once on a canvas, a few of
   them flickering by CSS, and now and then a shooting star (home.js). It
   sits beneath the snow, which sits beneath the content. */
.events__sky {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.events__sky canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* A flickering star: placed by script, animated by the browser. */
.events__star {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1);
  border-radius: 50%;
  background: var(--star, #fffcf5);
  box-shadow: 0 0 calc(var(--r) * 3) rgba(255, 252, 245, 0.4);
  box-shadow: 0 0 calc(var(--r) * 3) color-mix(in srgb, var(--star, #fffcf5) 40%, transparent);
  opacity: var(--a, 0.8);
  animation: star-flicker var(--d, 4s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes star-flicker {
  0%,
  100% {
    opacity: var(--a, 0.8);
    transform: scale(1);
  }

  50% {
    opacity: calc(var(--a, 0.8) * 0.4);
    transform: scale(0.82);
  }
}

/* The shooting star: a streak whose bright head is its right-hand end.
   Script places it, points it and sends it on its way, one at a time. */
.events__meteor {
  position: absolute;
  left: 0;
  top: 0;
  width: 10rem;
  height: 0.125rem;
  border-radius: 0.0625rem;
  background: linear-gradient(90deg, rgba(255, 252, 245, 0) 0%, rgba(241, 213, 155, 0.5) 62%, #fffcf5 100%);
  opacity: 0;
  transform-origin: 100% 50%;
}

.events__meteor::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.125rem;
  width: 0.25rem;
  height: 0.25rem;
  margin-top: -0.125rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0.5rem 0.125rem rgba(255, 252, 245, 0.8);
}

.events .snow {
  z-index: 1;
}

.events__defs {
  position: absolute;
}

.events__inner {
  position: relative;
  z-index: 2;
}

.events__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.events h2 {
  font-size: 3.375rem;
  line-height: 0.98;
}

/* When the headline needs two lines, the gold phrase takes the second
   whole, rather than leaving "all" stranded on the first. */
.events h2 em {
  display: inline-block;
  color: var(--gold-2);
}

.events__lede {
  max-width: 34rem;
  margin-top: 1.375rem;
  color: var(--cream-muted);
  font-size: 1.125rem;
}

/* Honeycomb on the left, tickets on the right: one view, so a tap on the
   map and the tickets it re-deals are seen together. */
.events__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3.75rem;
  align-items: center;
  margin-top: 3rem;
}

.events__map {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* The ten boroughs as a 3-4-3 honeycomb, laid out as they sit on the map.
   --col counts half cells across; --row counts rows down. */
.comb {
  --hex-h: calc(var(--cell) * 1.1547);
  --pitch: calc(var(--cell) + var(--comb-gap));
  position: relative;
  flex: none;
  width: calc(var(--cell) * 4 + var(--comb-gap) * 3);
  height: calc(var(--pitch) * 1.732 + var(--hex-h));
}

.comb__cell {
  position: absolute;
  left: calc(var(--col) * var(--pitch) / 2);
  top: calc(var(--row) * var(--pitch) * 0.866);
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--cell);
  height: var(--hex-h);
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cream-text);
  font: inherit;
  /* Only the hexagon takes the pointer, so the empty corners of one cell's
     box never steal a tap from the cells beside it. */
  pointer-events: none;
  transition: transform 0.35s var(--ease);
}

.comb__hex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Opaque, so the snow and the stars behind the map never show through a
   cell: the same cream tint over navy as before, but solid. */
.comb__hex polygon {
  fill: rgba(247, 240, 228, 0.05);
  fill: color-mix(in srgb, var(--navy) 95%, #f7f0e4);
  stroke: rgba(217, 178, 106, 0.55);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  pointer-events: auto;
  cursor: pointer;
  transition: fill 0.35s, stroke 0.35s, stroke-width 0.35s;
}

/* A warm halo behind the chosen cell. */
.comb__cell::before {
  content: "";
  position: absolute;
  inset: -36%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 190, 100, 0.36) 0%, rgba(241, 190, 100, 0) 62%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s, transform 0.7s var(--ease);
}

.comb__label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.45s var(--ease);
}

.comb__name {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}

.comb__cell:hover {
  transform: translateY(-0.125rem);
}

.comb__cell:hover .comb__hex polygon,
.comb__cell.is-echo .comb__hex polygon {
  fill: rgba(247, 240, 228, 0.11);
  fill: color-mix(in srgb, var(--navy) 89%, #f7f0e4);
  stroke: var(--gold-2);
  stroke-width: 1.5;
}

/* The borough of the ticket under the pointer answers on the map. */
.comb__cell.is-echo .comb__hex polygon {
  fill: rgba(241, 213, 155, 0.2);
  fill: color-mix(in srgb, var(--navy) 80%, #f1d59b);
  stroke-width: 2;
}

.comb__cell.is-echo::before {
  opacity: 0.7;
  transform: none;
}

.comb__cell:focus-visible {
  outline: none;
}

.comb__cell:focus-visible .comb__hex polygon {
  stroke: #fff;
  stroke-width: 3;
}

/* Chosen: solid gold. While the bee is still on its way in (.is-arriving),
   the cell waits, and lights as the bee reaches it. The cell the bee has just
   left (.is-held) keeps its gold until the bee has cleared it. */
.comb:not(.is-arriving) .comb__cell[aria-pressed="true"] .comb__hex polygon,
.comb__cell.is-held .comb__hex polygon {
  fill: url(#comb-gold);
  stroke: #fff3d2;
  stroke-width: 1.5;
}

.comb:not(.is-arriving) .comb__cell[aria-pressed="true"]::before,
.comb__cell.is-held::before {
  opacity: 1;
  transform: none;
}

.comb:not(.is-arriving) .comb__cell[aria-pressed="true"] .comb__name,
.comb__cell.is-held .comb__name {
  color: #2a1a09;
}

/* The name steps down to leave room for the bee above it. */
.comb:not(.is-arriving) .comb__cell[aria-pressed="true"] .comb__label,
.comb__cell.is-held .comb__label {
  transform: translateY(0.8125rem);
}

/* Cells switch on one after another as the map scrolls into view. */
html.js .comb.is-waiting .comb__cell {
  opacity: 0;
}

.comb.is-in .comb__cell {
  animation: comb-pop 0.6s var(--ease) calc(var(--i) * 55ms) backwards;
}

@keyframes comb-pop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Light ripples out from the chosen cell, a ring at a time. The cell the
   bee is leaving sits it out: it has its own fade. */
.comb.is-ripple .comb__cell:not([aria-pressed="true"]):not(.is-leaving) .comb__hex polygon {
  animation: comb-ripple 0.8s ease-out calc(var(--ring, 1) * 90ms) 1;
}

@keyframes comb-ripple {
  30% {
    fill: rgba(241, 213, 155, 0.24);
    fill: color-mix(in srgb, var(--navy) 76%, #f1d59b);
    stroke: #fff3d2;
    stroke-width: 2.25;
  }
}

/* The bee: Hamed's artwork, reused from the header logo. It rests in the
   chosen cell and flies to the next one (home.js moves it). Dark on a gold
   cell, gold with a glow over the dark ones: the flight's own keyframes make
   the change as it crosses a cell's edge. */
.comb__bee {
  --bee: 1.875rem;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--bee);
  height: calc(var(--bee) * 0.95);
  margin: calc(var(--bee) * -0.475) 0 0 calc(var(--bee) * -0.5);
  color: #2a1a09;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  will-change: transform;
}

.comb__bee.is-here {
  opacity: 1;
}

.comb__bee svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: bee-bob 2.8s ease-in-out infinite;
}

#brand-bee {
  fill: currentColor;
}

@keyframes bee-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.125rem);
  }
}

/* The dotted gold trail the bee leaves in flight. */
.comb__trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.comb__spark {
  fill: var(--gold-2);
  opacity: 0;
  animation: comb-spark 1.1s ease-out both;
}

@keyframes comb-spark {
  0% {
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  55% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
  }
}

.events__more {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
}

.events__more a {
  color: var(--gold-2);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(241, 213, 155, 0.4);
  text-underline-offset: 0.25rem;
  transition: text-decoration-color 0.2s;
}

.events__more a:hover {
  text-decoration-color: currentColor;
}

.events__more a span[aria-hidden] {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.events__more a:hover span[aria-hidden] {
  transform: translateX(0.1875rem);
}

.events__note {
  max-width: 19rem;
  margin-top: 0.75rem;
  color: rgba(247, 239, 225, 0.56);
  font-size: 0.75rem;
  line-height: 1.5;
}

.events__list {
  min-width: 0;
}

.events__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.events__nearest {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.events__nearest strong {
  display: inline-block;
  color: var(--gold-2);
  font-style: italic;
  font-weight: 300;
}

.events__arrows {
  display: flex;
  gap: 0.5rem;
}

.events__arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(217, 178, 106, 0.6);
  border-radius: 50%;
  background: rgba(247, 240, 228, 0.04);
  color: var(--gold-2);
  cursor: pointer;
  transition: opacity 0.35s, background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.events__arrow svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.events__arrow:hover {
  border-color: var(--gold-2);
  background: rgba(247, 240, 228, 0.12);
  transform: scale(1.06);
}

.events__arrow.is-off {
  opacity: 0.3;
  pointer-events: none;
}

/* The row runs on past the content's edge to the side of the screen, and
   fades where there is more to see. */
.events__row {
  --fade-start: 2.5rem;
  --fade-end: 3rem;
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0 calc(-1 * var(--bleed)) 0 -1.25rem;
  padding: 1.75rem var(--bleed) 2.75rem 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-padding: 0 var(--bleed) 0 1.25rem;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
}

.events__row::-webkit-scrollbar {
  display: none;
}

.events__row.is-start {
  --fade-start: 0px;
}

.events__row.is-end {
  --fade-end: 0px;
}

.events__item {
  flex: none;
  width: var(--ticket-w);
}

html.js .events__stage.is-waiting .events__item {
  opacity: 0;
}

/* The labels round the map and the row fade in with them. */
.events__list-head,
.events__foot,
.events__more,
.events__note {
  transition: opacity 0.7s ease-out 0.35s;
}

html.js .events__stage.is-waiting .events__list-head,
html.js .events__stage.is-waiting .events__foot,
html.js .events__stage.is-waiting .events__more,
html.js .events__stage.is-waiting .events__note {
  opacity: 0;
  transition: none;
}

.events__item[data-state="over"] .ticket {
  opacity: 0.55;
}

/* A gold thread under the row with a bulb that travels as the row moves. */
.events__foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: -0.75rem;
}

.events__thread {
  position: relative;
  flex: 1;
  max-width: 15.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 178, 106, 0) 0%, rgba(217, 178, 106, 0.55) 12%, rgba(217, 178, 106, 0.55) 88%, rgba(217, 178, 106, 0) 100%);
}

.events__bead {
  position: absolute;
  top: 50%;
  left: calc(var(--rail, 0) * (100% - 0.5rem));
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.25rem;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0.625rem rgba(241, 190, 100, 0.95);
}

.events__hint {
  display: none;
}

/* Tickets: ivory paper with a gold edge, a punched notch at each side and
   a perforated line under the picture. Each turns over for its details. */
.ticket {
  position: relative;
  display: block;
  height: var(--ticket-h);
  color: var(--ink);
  text-decoration: none;
  perspective: 90rem;
}

/* The shadow stays on the table while the ticket turns. */
.ticket::before {
  content: "";
  position: absolute;
  inset: 1.5rem 0.75rem 0;
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 2.75rem -0.5rem rgba(0, 0, 0, 0.6);
}

.ticket__inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.3, 0.1, 0.2, 1), translate 0.35s var(--ease);
}

.ticket.is-flipped .ticket__inner {
  transform: rotateY(180deg);
}

.events__item:hover .ticket__inner,
.ticket--own:hover .ticket__face {
  translate: 0 -0.375rem;
}

.ticket__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--paper);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-mask-image:
    radial-gradient(circle var(--notch) at 0 var(--art-h), transparent calc(100% - 0.5px), #000 100%),
    radial-gradient(circle var(--notch) at 100% var(--art-h), transparent calc(100% - 0.5px), #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle var(--notch) at 0 var(--art-h), transparent calc(100% - 0.5px), #000 100%),
    radial-gradient(circle var(--notch) at 100% var(--art-h), transparent calc(100% - 0.5px), #000 100%);
  mask-composite: intersect;
  transition: translate 0.35s var(--ease);
}

/* The gold edge, drawn over the picture, with a ring round each notch. */
.ticket__face::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(217, 178, 106, 0.6);
  border-radius: inherit;
  background:
    radial-gradient(circle calc(var(--notch) + 1px) at 0 var(--art-h), transparent calc(100% - 1.5px), rgba(217, 178, 106, 0.8) calc(100% - 1px), rgba(217, 178, 106, 0.8) 100%, transparent 100%) border-box,
    radial-gradient(circle calc(var(--notch) + 1px) at 100% var(--art-h), transparent calc(100% - 1.5px), rgba(217, 178, 106, 0.8) calc(100% - 1px), rgba(217, 178, 106, 0.8) 100%, transparent 100%) border-box;
  pointer-events: none;
}

.ticket__face--back {
  padding: 1.125rem 1.125rem 0.875rem;
  transform: rotateY(180deg);
}

/* A sweep of light crosses the paper under the pointer. */
.ticket__face--front::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  z-index: 1;
  width: 45%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 246, 220, 0.5), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  transition: left 0.9s var(--ease);
  pointer-events: none;
}

.events__item:hover .ticket__face--front::before {
  left: 130%;
}

/* Picture area. Until a photograph is supplied it shows a gold line
   drawing on deep evergreen. */
.ticket__art {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  height: var(--art-h);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(241, 213, 155, 0.2) 0 1px, transparent 1.5px) 0 0 / 1.75rem 1.75rem,
    radial-gradient(ellipse 80% 90% at 50% 40%, #1d4433 0%, var(--evergreen) 75%);
}

/* The perforation. */
.ticket__art::after {
  content: "";
  position: absolute;
  right: calc(var(--notch) + 0.375rem);
  bottom: 0;
  left: calc(var(--notch) + 0.375rem);
  border-bottom: 1px dashed rgba(241, 213, 155, 0.85);
}

.ticket__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket__icon {
  width: 4.5rem;
  height: 4.5rem;
  color: var(--gold-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 0.625rem rgba(241, 190, 100, 0.4));
}

.ticket__type {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 62.4375rem;
  background: rgba(10, 24, 18, 0.74);
  color: var(--gold-2);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 1rem 1.125rem 0.875rem;
}

.ticket__date {
  display: flex;
  gap: 0.375rem;
  align-items: baseline;
  color: var(--berry);
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 350;
  font-variant-numeric: lining-nums;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ticket__dash {
  color: var(--gold-deep);
}

.ticket__name {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.ticket__place {
  margin-top: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.ticket__away {
  margin-top: 0.125rem;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 600;
}

.ticket__foot {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.ticket__status {
  display: inline-flex;
  gap: 0.4375rem;
  align-items: center;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.ticket__status[hidden] {
  display: none;
}

.ticket__status::before {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: rgba(27, 34, 30, 0.22);
}

/* Running now: a small lit bulb. */
.events__item[data-state="live"] .ticket__status {
  color: var(--berry);
}

.events__item[data-state="live"] .ticket__status::before {
  background: var(--gold);
  box-shadow: 0 0 0 0.1875rem rgba(217, 178, 106, 0.28), 0 0 0.5rem rgba(226, 180, 96, 0.9);
  animation: bulb-twinkle 1.6s ease-in-out infinite alternate;
}

/* "Details": the whole front of the ticket is its button. */
.ticket__turn {
  display: inline-flex;
  gap: 0.375rem;
  align-items: center;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--berry);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.ticket__turn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 0.75rem;
}

.ticket__turn svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.6s var(--ease);
}

.events__item:hover .ticket__turn svg {
  transform: rotate(180deg);
}

.ticket__turn:focus-visible {
  outline: none;
}

/* The ring goes round the whole ticket, on the night sky, in the page's
   usual gold; a berry ring inside would vanish over the picture. */
.ticket__turn:focus-visible::after {
  outline: 0.125rem solid var(--gold-2);
  outline-offset: 0.1875rem;
}

.ticket__face--back :focus-visible {
  outline-color: var(--berry);
}

/* The back: the facts, set small and plain. */
.ticket__title {
  padding-bottom: 0.625rem;
  border-bottom: 1px dashed rgba(138, 101, 38, 0.45);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.ticket__facts {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 0;
  margin: 0.6875rem 0 0;
}

.ticket__facts dt {
  color: var(--gold-deep);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticket__facts dd {
  margin: 0.0625rem 0 0;
  font-size: 0.78125rem;
  line-height: 1.38;
}

.ticket__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.625rem;
}

.ticket__link {
  display: inline-flex;
  gap: 0.375rem;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.9375rem;
  border-radius: 62.4375rem;
  background: var(--berry);
  color: var(--cream-text);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s;
}

.ticket__link:hover {
  background: var(--berry-hover);
}

.ticket__return {
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(94, 101, 95, 0.4);
  text-underline-offset: 0.1875rem;
  cursor: pointer;
}

.ticket__return:hover {
  color: var(--ink);
}

/* Our own ticket among them: berry, and it goes straight to the booking. */
.ticket--own .ticket__face {
  background:
    radial-gradient(circle at 20% 20%, rgba(241, 213, 155, 0.14) 0 1px, transparent 1.5px) 0 0 / 2.875rem 2.875rem,
    radial-gradient(ellipse 90% 70% at 30% 60%, #6a1829 0%, var(--berry-deep) 75%);
  color: var(--cream-text);
}

.ticket--own .ticket__face::after {
  border-color: rgba(241, 213, 155, 0.6);
}

.ticket--own .ticket__art img {
  object-position: 50% 30%;
}

.ticket--own .ticket__type {
  background: var(--gold-2);
  color: #2a1a09;
}

.ticket--own .ticket__date {
  color: var(--gold-2);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 300;
}

.ticket--own .ticket__name {
  font-size: 1.5rem;
}

.ticket--own .ticket__place {
  color: var(--cream-muted);
}

.ticket__price {
  margin-top: 0.5rem;
  color: var(--gold-2);
  font-size: 0.8125rem;
  font-weight: 600;
}

.ticket__cta {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  margin-top: auto;
  border-radius: 62.4375rem;
  background: linear-gradient(180deg, #f5dea8 0%, #d9ae5f 100%);
  color: #2a1a09;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.ticket__cta span[aria-hidden] {
  transition: transform 0.3s var(--ease);
}

.ticket--own:hover .ticket__cta span[aria-hidden] {
  transform: translateX(0.25rem);
}

.ticket--own {
  border-radius: 0.75rem;
}

/* A warm glow that stays behind the skyline, over the home in the Outdoor
   decorating photo below, once the star has landed there (home.js,
   mountHomeStar, says where along the foot it sits and when it shows). */
.events__homeglow {
  position: absolute;
  bottom: 0;
  left: var(--home-x, 59%);
  width: calc(var(--skyline-h) * 6);
  height: calc(var(--skyline-h) * 2);
  margin-left: calc(var(--skyline-h) * -3);
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(255, 216, 150, 0.34), rgba(226, 180, 96, 0) 70%);
  transition: opacity 2.4s ease-out;
}

.events.is-home-lit .events__homeglow {
  opacity: 1;
}

/* The skyline of Greater Manchester along the foot of the section, in the
   page's night colour. The section below starts in it (the Outdoor
   decorating panel, or the questions when that is off sale), so the two
   join without a seam. */
.events__skyline {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: var(--skyline-h);
  pointer-events: none;
}

.skyline__hills {
  fill: #0c1a20;
}

.skyline__city {
  fill: var(--night);
}

.skyline__lights {
  fill: var(--gold-2);
}

.skyline__lights rect {
  opacity: 0.85;
}

.skyline__lights .is-tw {
  animation: skyline-blink calc(var(--d, 3.6s) * 1.5) ease-in-out var(--delay, 0s) infinite;
}

.skyline__clock {
  fill: #fff3d2;
}

@keyframes skyline-blink {
  0%,
  100% {
    opacity: 0.9;
  }

  50% {
    opacity: 0.12;
  }
}

/* Without script nothing turns or flies: every ticket shows both sides,
   one under the other, and the map is a picture. */
html:not(.js) .comb {
  pointer-events: none;
}

html:not(.js) .comb__hex polygon {
  pointer-events: none;
}

html:not(.js) .ticket:not(.ticket--own) {
  height: auto;
}

html:not(.js) .ticket__inner {
  position: static;
}

html:not(.js) .ticket__inner .ticket__face {
  position: relative;
  transform: none;
}

html:not(.js) .ticket__face--back {
  margin-top: 0.5rem;
  -webkit-mask-image: none;
  mask-image: none;
}

html:not(.js) .ticket__face--back::after {
  background: none;
}

html:not(.js) .ticket__turn,
html:not(.js) .ticket__return,
html:not(.js) .events__arrows,
html:not(.js) .events__foot {
  display: none;
}

/* Touch screens: nothing lifts or shines under a finger. */
@media (hover: none) {
  .comb__cell:hover {
    transform: none;
  }

  .events__item:hover .ticket__inner,
  .ticket--own:hover .ticket__face {
    translate: none;
  }

  .events__item:hover .ticket__face--front::before {
    left: -70%;
  }
}

/* Laptops: slightly smaller cells and tickets, so three whole tickets and
   a peek of the fourth sit beside the map. */
@media (min-width: 1280px) and (max-width: 1439.98px) {
  .events {
    --cell: 6rem;
    --ticket-w: 14.5rem;
  }

  .events__stage {
    gap: 3rem;
  }
}

/* Narrower laptops: two tickets and a peek of the third. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .events {
    --cell: 5.5rem;
    --ticket-w: 14.5rem;
  }

  .events__stage {
    gap: 2.75rem;
  }

  .comb__name {
    font-size: 0.75rem;
  }
}

/* Shorter laptop screens: heading, map and tickets still share one view. */
@media (min-width: 1024px) and (max-height: 820px) {
  .events {
    --ticket-h: 22.75rem;
    --art-h: 8rem;
    padding-top: 4.5rem;
  }

  .events h2 {
    font-size: 3rem;
  }

  .events__lede {
    margin-top: 0.875rem;
  }

  .events__stage {
    margin-top: 1.5rem;
  }

  .events__row {
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
  }

  .ticket__icon {
    width: 4rem;
    height: 4rem;
  }
}

/* ---------- Questions ---------- */

.faq {
  /* Extra bottom space: the closing garland hangs across this seam. */
  padding: 8.125rem 0 calc(6.9vw + 5.5rem);
  background:
    radial-gradient(ellipse 55% 60% at 22% 30%, #17382a 0%, rgba(23, 56, 42, 0) 70%),
    linear-gradient(180deg, var(--night) 0%, var(--evergreen) 100%);
}

.faq__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 4.5rem;
  align-items: start;
}

.faq h2 {
  font-size: 3.375rem;
  line-height: 0.98;
}

.faq h2 em {
  color: var(--gold-2);
}

.faq__intro {
  max-width: 21.25rem;
  margin-top: 1.375rem;
  color: var(--cream-muted);
  font-size: 1.125rem;
}

.faq__item {
  position: relative;
  border-bottom: 1px solid var(--line-light);
}

.faq__item:first-child {
  border-top: 1px solid var(--line-light);
}

/* A thread of gold draws itself along the bottom of the open question. */
.faq__item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(241, 213, 155, 0), var(--gold) 18%, var(--gold-2) 50%, var(--gold) 82%, rgba(241, 213, 155, 0));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.faq__item.is-open::before,
html:not(.js) .faq__item[open]::before {
  transform: scaleX(1);
}

.faq__item summary {
  position: relative;
  display: block;
  padding: 1.375rem 4rem 1.375rem 0;
  font-family: var(--font-display);
  font-size: 1.4375rem;
  font-weight: 400;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
  transition: color 0.3s;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover,
.faq__item.is-open summary,
html:not(.js) .faq__item[open] summary {
  color: var(--gold-2);
}

/* The toggle is a little fairy-light bulb: unlit when closed, and it
   switches on, warm and glowing, when the answer opens. */
.faq__icon {
  position: absolute;
  right: 0;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border: 1px solid rgba(217, 178, 106, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 244, 214, 0), rgba(241, 213, 155, 0));
  transition:
    background-color 0.4s,
    border-color 0.4s,
    box-shadow 0.5s,
    transform 0.6s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.75rem;
  height: 0.125rem;
  margin: -1px 0 0 -0.375rem;
  border-radius: 1px;
  background: var(--gold);
  transition: transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1), background-color 0.3s;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item summary:hover .faq__icon {
  border-color: var(--gold-2);
  transform: scale(1.06);
}

/* Lit, but softly: a thicker gold ring with a faint warm glow, rather than
   a solid bright bulb. */
.faq__item.is-open .faq__icon,
html:not(.js) .faq__item[open] .faq__icon {
  border-width: 0.125rem;
  border-color: var(--gold-2);
  background-color: rgba(241, 213, 155, 0.12);
  box-shadow: 0 0 0.875rem rgba(241, 190, 100, 0.3);
  transform: rotate(180deg);
}

.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after,
html:not(.js) .faq__item[open] .faq__icon::before,
html:not(.js) .faq__item[open] .faq__icon::after {
  background: var(--gold-2);
}

.faq__item.is-open .faq__icon::after,
html:not(.js) .faq__item[open] .faq__icon::after {
  transform: rotate(0deg);
}

/* A few sparks fly from the bulb as it lights. */
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.875rem;
  top: 50%;
  width: 0.25rem;
  height: 0.25rem;
  margin-top: -0.125rem;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    -1.5rem -1rem 0 0 var(--gold-2),
    1rem -1.375rem 0 -1px #fff3d2,
    1.5rem 0.75rem 0 0 var(--gold),
    -1.125rem 1.125rem 0 -1px #fff3d2,
    -2.125rem 0.125rem 0 -1px var(--gold-2);
  opacity: 0;
  transform: scale(0.2);
  pointer-events: none;
}

.faq__item.is-open summary::after {
  animation: faq-sparks 0.9s ease-out 0.12s 1 both;
}

@keyframes faq-sparks {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(0deg);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.25) rotate(28deg);
  }
}

/* The answer unfolds (home.js animates its height) while the words settle
   in a moment later. */
.faq__answer {
  overflow: hidden;
}

.faq__answer p {
  max-width: 38.75rem;
  padding: 0 4rem 1.5rem 0;
  color: var(--cream-muted);
  font-size: 1.0625rem;
}

html.js .faq__answer p {
  opacity: 0;
  transform: translate3d(0, -0.5rem, 0);
  transition: opacity 0.3s ease-out, transform 0.5s var(--ease);
}

html.js .faq__item.is-open .faq__answer p {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease-out 0.14s, transform 0.6s var(--ease) 0.1s;
}

/* ---------- Closing ---------- */

.closing {
  position: relative;
  padding: 14.375rem 0 10.625rem;
  overflow: visible;
  background:
    radial-gradient(ellipse 38% 30% at 50% 58%, rgba(226, 180, 96, 0.13) 0%, rgba(226, 180, 96, 0) 70%),
    radial-gradient(ellipse 60% 70% at 50% 60%, #1c3d2d 0%, rgba(28, 61, 45, 0) 70%),
    var(--evergreen);
  text-align: center;
}

/* Its garland is carried past both edges on very wide screens. */
@media (min-width: 1600px) {
  .closing {
    overflow-x: clip;
  }
}

.closing .snow {
  z-index: 1;
}

.fairy-lights--closing {
  top: 6rem;
  height: 4.375rem;
  z-index: 2;
}

.closing__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing h2 {
  font-size: 5.25rem;
  line-height: 1;
}

.closing h2 em {
  display: inline-block;
  /* Same: room for the "y" tail in "days"; net extra width stays 0.06em. */
  padding: 0.06em 0.32em 0.34em 0.16em;
  margin: -0.06em -0.26em -0.34em -0.16em;
  background: linear-gradient(100deg, #e4c07a 0%, #fff0c8 18%, #d7a654 36%, #f6dca0 54%, #e4c07a 72%, #fff0c8 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s linear var(--shimmer-passes, 1);
}

.closing__lede {
  max-width: 30rem;
  margin-top: 1.5rem;
  color: var(--cream-muted);
  font-size: 1.125rem;
}

/* The offer, repeated where the page asks for the order. */
.closing__offer {
  margin-top: 1.25rem;
  color: var(--gold);
  font-size: 0.9375rem;
  font-weight: 500;
}

.closing__offer strong {
  color: var(--cream-text);
  font-weight: 600;
}

.closing__actions {
  display: flex;
  gap: 0.875rem;
  margin-top: 2.75rem;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--night);
  color: var(--cream-muted);
  font-size: 0.875rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 4rem;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

/* Gold ornament divider where the closing section meets the footer. */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(22.5rem, 80%);
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 178, 106, 0), rgba(217, 178, 106, 0.6), rgba(217, 178, 106, 0));
  transform: translateX(-50%);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -0.25rem;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: -0.25rem;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0.625rem rgba(241, 213, 155, 0.6);
}

/* The same bee-and-name lockup as the header, reused from its artwork. */
.site-footer__logo {
  display: block;
  width: auto;
  height: 3.25rem;
  overflow: visible;
}

.site-footer__name {
  margin-bottom: 0.5rem;
  color: var(--cream-text);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.site-footer h3 {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer li + li {
  margin-top: 0.625rem;
}

.site-footer a {
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--gold-2);
}

.site-footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  color: rgba(247, 239, 225, 0.45);
  font-size: 0.75rem;
}

.site-footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line-light);
}

.site-footer__legal {
  display: flex;
  gap: 1.5rem;
}

.site-footer--plain .site-footer__legal {
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
  font-size: .8125rem;
  color: var(--cream-muted);
}

/* ---------- Section choreography ----------
   Each section's text plays one short sequence as it enters view:
   eyebrow rule draws in, headline words rise from a mask, the gold phrase
   catches the light, the price counts up, and the button lands last.
   Text slides in from its own side; the photo comes from the other side,
   so the two meet in the middle. Only when JS runs; plays once. */

html.js [data-choreo] {
  --from-x: 0px;
  --from-y: 1rem;
}

html.js [data-choreo="left"] {
  --from-x: -2.25rem;
  --from-y: 0px;
}

html.js [data-choreo="right"] {
  --from-x: 2.25rem;
  --from-y: 0px;
}

html.js [data-choreo]:not(.is-done) > * {
  transition:
    opacity 0.45s ease-out var(--delay, 0s),
    transform 0.8s var(--ease) var(--delay, 0s);
}

html.js [data-choreo]:not(.is-in) > * {
  opacity: 0;
  transform: translate3d(var(--from-x), var(--from-y), 0);
}

/* The headline itself stays put: its words do the moving. */
html.js [data-choreo] > h1,
html.js [data-choreo] > h2 {
  opacity: 1;
  transform: none;
}

/* Buttons land last with a soft, slightly springy scale. */
html.js [data-choreo]:not(.is-in) > .button,
html.js [data-choreo]:not(.is-in) > .closing__actions,
html.js [data-choreo]:not(.is-in) > .hero__actions {
  transform: translate3d(var(--from-x), var(--from-y), 0) scale(0.9);
}

html.js [data-choreo]:not(.is-done) > .button,
html.js [data-choreo]:not(.is-done) > .closing__actions,
html.js [data-choreo]:not(.is-done) > .hero__actions {
  transition:
    opacity 0.4s ease-out var(--delay, 0s),
    transform 0.7s cubic-bezier(0.3, 1.45, 0.5, 1) var(--delay, 0s);
}

/* Eyebrow rule draws itself in; the ornament pops at its end. */
html.js [data-choreo] .eyebrow__rule {
  transition: width 0.55s var(--ease) var(--delay, 0s);
}

html.js [data-choreo]:not(.is-in) .eyebrow__rule {
  width: 0;
}

html.js [data-choreo] .eyebrow__rule::after {
  transition: transform 0.45s cubic-bezier(0.3, 1.8, 0.5, 1) calc(var(--delay, 0s) + 0.45s);
}

html.js [data-choreo]:not(.is-in) .eyebrow__rule::after {
  transform: rotate(45deg) scale(0);
}

/* Headline words rise from behind a mask. */
.word {
  display: inline-block;
  overflow: hidden;
  /* Room inside the mask for deep italic descenders (y, g, f, j) and the
     italic overhang on both sides. */
  padding: 0.06em 0.26em 0.34em 0.16em;
  margin: -0.06em -0.26em -0.34em -0.16em;
  vertical-align: top;
}

/* Once a section has finished, its headline is plain text again: no mask,
   no gradient paint, so nothing can be clipped. */
html.js [data-choreo].is-done .word,
html:not(.js) .word {
  overflow: visible;
}

html.js [data-choreo].is-done .word__inner.is-glint {
  padding: 0;
  margin: 0;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--em-color);
  animation: none;
}

.word__inner {
  display: inline-block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) var(--wd, 0s);
}

/* Gradient-painted words (the glint and the hero shimmer) only paint inside
   their own box, so the box reaches below deep italic tails (y, g, f, j)
   and past the italic overhang; negative margins keep the layout unchanged. */
.word__inner.is-glint,
.word__inner.is-shimmer {
  padding: 0.06em 0.26em 0.34em 0.16em;
  margin: -0.06em -0.26em -0.34em -0.16em;
}

html.js [data-choreo]:not(.is-in) .word__inner {
  transform: translateY(110%);
}

/* The gold (or berry) italic phrase catches the light once as it lands. */
.word__inner.is-glint {
  background: linear-gradient(100deg, var(--em-color) 0%, var(--em-color) 38%, var(--em-glint) 50%, var(--em-color) 62%, var(--em-color) 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.js [data-choreo].is-in .word__inner.is-glint {
  animation: em-glint 1.3s ease-in-out calc(var(--wd, 0s) + 0.55s) 1 both;
}

@keyframes em-glint {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: 0% 0;
  }
}

/* ---- Landing ----
   A menu ornament or hero shortcut glides the page to its section
   (home.js, mountLandings). While it travels the header's lights run a
   chase along the hem, left to right; as it lands, the section's italic
   phrase catches the light once more and its button takes one breath.
   Each is one class the script adds and takes off again; nothing keeps
   running afterwards. */

.site-header.is-chasing .fairy-lights__socket {
  animation: light-chase 0.45s ease-in-out calc(var(--on, 0s) * 0.5) 1;
}

@keyframes light-chase {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.18;
  }
}

html.js .is-landed [data-choreo].is-done .word__inner.is-glint {
  padding: 0.06em 0.26em 0.34em 0.16em;
  margin: -0.06em -0.26em -0.34em -0.16em;
  background: linear-gradient(100deg, var(--em-color) 0%, var(--em-color) 38%, var(--em-glint) 50%, var(--em-color) 62%, var(--em-color) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: em-glint 1.1s ease-in-out calc(var(--wd, 0s) + 0.1s) 1 both;
}

.is-landed [data-choreo].is-done > .button {
  animation: cta-breath 0.9s var(--ease) 0.6s 1;
}

@keyframes cta-breath {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.045);
  }
}

/* ---- Hero opening sequence ---- */

/* The hero headline rises a little slower and grander. */
.hero .word__inner {
  transition-duration: 0.95s;
}

/* With JS, the gold shimmer moves from the phrase to each of its words,
   so the words can rise individually while still shimmering. */
html.js .hero h1 em {
  display: inline;
  padding-right: 0;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: inherit;
  animation: none;
}

.word__inner.is-shimmer {
  background: linear-gradient(100deg, #e4c07a 0%, #fff0c8 18%, #d7a654 36%, #f6dca0 54%, #e4c07a 72%, #fff0c8 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s linear var(--shimmer-passes, 1);
}

/* Countdown tiles flip in one after another, like a departures board. */
.countdown__units {
  perspective: 43.75rem;
}

html.js [data-choreo] .countdown__unit {
  transform-origin: 50% 0;
  transition:
    opacity 0.4s ease-out calc(var(--delay, 0s) + var(--ti, 0s)),
    transform 0.75s cubic-bezier(0.3, 1.35, 0.5, 1) calc(var(--delay, 0s) + var(--ti, 0s));
}

html.js [data-choreo]:not(.is-in) .countdown__unit {
  opacity: 0;
  transform: translateY(0.625rem) rotateX(-75deg);
}

.countdown__unit:nth-child(1) { --ti: 0.1s; }
.countdown__unit:nth-child(2) { --ti: 0.18s; }
.countdown__unit:nth-child(3) { --ti: 0.26s; }
.countdown__unit:nth-child(4) { --ti: 0.34s; }

/* Trust strip and shortcut bar rise in last, closing the opening sequence. */
html.js [data-rise] {
  transition:
    opacity 0.6s ease-out var(--rise-delay, 0s),
    transform 0.9s var(--ease) var(--rise-delay, 0s);
}

html.js [data-rise]:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 1.625rem, 0);
}

/* Header slides down as the page opens. */
html.js .site-header {
  transition: background-color 0.35s, box-shadow 0.35s, transform 0.9s var(--ease), opacity 0.6s ease-out;
}

html.js .site-header:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, -100%, 0);
}

/* Fairy lights switch on one by one, left to right. */
.fairy-lights__socket {
  transition: opacity 0.3s ease-out var(--on, 0s);
}

html.js .fairy-lights:not(.is-lit) .fairy-lights__socket {
  opacity: 0.16;
}

/* While a section rests (home.js: off screen, or the tab hidden) the
   decoration that loops for ever holds still. Named pieces only; nothing
   finite is listed here. */
.is-resting .twinkle,
.is-resting .events__star,
.is-resting .skyline__lights .is-tw,
.is-resting .comb__bee svg,
.is-resting .fairy-lights__bulb,
.is-resting .rail-hint span,
.is-resting .ticket__status::before {
  animation-play-state: paused;
}

/* The seconds tile glows gold on every tick: a copy of the number in the
   flash's colour and glow lies over the real one and fades out by opacity
   (home.js restarts that fade each second), so a tick changes one layer's
   opacity and nothing else. The copy is hidden from assistive technology;
   it shares the number's font rules below so it lands exactly over it. */
.countdown__unit {
  position: relative;
}

.countdown__unit .countdown__flash {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: inherit;
  color: #fff3d2;
  text-shadow: 0 0 0.875rem rgba(255, 214, 130, 0.95);
  opacity: 0;
  pointer-events: none;
}

/* One sweep of light across the main hero button after it lands. */
.button--gold.is-shining::after {
  animation: button-shine 1.1s ease-in-out 1;
}

@keyframes button-shine {
  from {
    left: -60%;
  }

  to {
    left: 130%;
  }
}

/* Trust items arrive one by one, each icon popping in with a small spin. */
html.js .trust li {
  transition:
    opacity 0.45s ease-out calc(var(--rise-delay, 0s) + var(--n, 0s)),
    transform 0.7s var(--ease) calc(var(--rise-delay, 0s) + var(--n, 0s));
}

html.js .trust:not(.is-in) li {
  opacity: 0;
  transform: translate3d(0, 0.625rem, 0);
}

html.js .trust__icon {
  transition: transform 0.6s cubic-bezier(0.3, 1.7, 0.5, 1) calc(var(--rise-delay, 0s) + var(--n, 0s) + 0.15s);
}

html.js .trust:not(.is-in) .trust__icon {
  transform: scale(0) rotate(-120deg);
}

.trust li:nth-child(1) { --n: 0s; }
.trust li:nth-child(2) { --n: 0.14s; }
.trust li:nth-child(3) { --n: 0.28s; }

/* Shortcut items cascade in left to right after the bar rises. */
html.js .shortcuts__list li {
  transition:
    opacity 0.4s ease-out calc(var(--rise-delay, 0s) + 0.15s + var(--n, 0s)),
    transform 0.6s var(--ease) calc(var(--rise-delay, 0s) + 0.15s + var(--n, 0s));
}

html.js .shortcuts:not(.is-in) .shortcuts__list li {
  opacity: 0;
  transform: translate3d(0, 0.75rem, 0);
}

.shortcuts__list li:nth-child(1) { --n: 0s; }
.shortcuts__list li:nth-child(2) { --n: 0.07s; }
.shortcuts__list li:nth-child(3) { --n: 0.14s; }
.shortcuts__list li:nth-child(4) { --n: 0.21s; }
.shortcuts__list li:nth-child(5) { --n: 0.28s; }
.shortcuts__list li:nth-child(6) { --n: 0.35s; }

/* Shortcut bar arrival: each picture pops in as its item lands, the stars
   between them come on one after another, then light crosses the bar once.
   All of it plays a single time; nothing here keeps running. */
html.js .shortcuts.is-in .shortcut__thumb {
  animation: shortcut-pop 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) calc(var(--rise-delay, 0s) + 0.2s + var(--n, 0s)) backwards;
}

html.js .shortcuts.is-in .shortcuts__list li + li::after {
  animation: shortcut-star 0.9s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--rise-delay, 0s) + 0.55s + var(--n, 0s)) backwards;
}

html.js .shortcuts.is-in .shortcuts__list::after {
  animation: shortcut-glint 1.5s ease-in-out calc(var(--rise-delay, 0s) + 1.15s) backwards;
}

@keyframes shortcut-pop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes shortcut-star {
  0% {
    transform: scale(0) rotate(-135deg);
  }

  60% {
    transform: scale(1.5) rotate(0deg);
  }
}

@keyframes shortcut-glint {
  0% {
    opacity: 1;
    transform: translate3d(-120%, 0, 0) skewX(-16deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(580%, 0, 0) skewX(-16deg);
  }
}

/* With a mouse, the stars twinkle in turn while the pointer is on the bar. */
/* (The arrival is listed again so that leaving the bar does not replay it.) */
@media (hover: hover) {
  html.js .shortcuts.is-in .shortcuts__list:hover li + li::after {
    animation:
      shortcut-star 0.9s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--rise-delay, 0s) + 0.55s + var(--n, 0s)) backwards,
      shortcut-twinkle 2.4s ease-in-out calc(var(--n, 0s) * 4) infinite;
  }
}

@keyframes shortcut-twinkle {
  0%,
  60%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  30% {
    transform: scale(1.55) rotate(90deg);
  }
}

/* Setup tag arrival: as the tag slides in, the baubles swing to rest, the
   fir fans out and the bow ties, the holly pops, the plus spins in and a
   ring opens round it, light crosses the tag, and the stars come on and
   twinkle a few times before resting. Each plays once. */
html.js .setup__content.is-in .setup__bauble {
  animation: setup-swing 2.8s ease-in-out calc(var(--delay, 0s) + 0.15s) backwards;
}

html.js .setup__content.is-in .setup__sprig {
  animation: setup-fan 0.9s cubic-bezier(0.3, 1.5, 0.5, 1) calc(var(--delay, 0s) + 0.45s) backwards;
}

html.js .setup__content.is-in .setup__bow {
  animation: setup-pop 0.7s cubic-bezier(0.3, 1.7, 0.5, 1) calc(var(--delay, 0s) + 0.7s) backwards;
}

html.js .setup__content.is-in .setup__holly {
  animation: setup-pop 0.7s cubic-bezier(0.3, 1.7, 0.5, 1) calc(var(--delay, 0s) + 0.9s) backwards;
}

html.js .setup__content.is-in .setup__holly--right {
  animation-delay: calc(var(--delay, 0s) + 1.02s);
}

html.js .setup__content.is-in .setup__plus {
  animation: setup-plus 0.8s cubic-bezier(0.3, 1.5, 0.5, 1) calc(var(--delay, 0s) + 1.1s) backwards;
}

html.js .setup__content.is-in .setup__plus::after {
  animation: setup-ring 1s ease-out calc(var(--delay, 0s) + 1.7s) backwards;
}

html.js .setup__content.is-in .setup__shine::before {
  animation: setup-glint 1.3s ease-in-out calc(var(--delay, 0s) + 1.9s) backwards;
}

html.js .setup__content.is-in .setup__spark {
  animation:
    setup-pop 0.6s cubic-bezier(0.3, 1.7, 0.5, 1) calc(var(--delay, 0s) + 1.2s + var(--s) * 0.3) backwards,
    setup-twinkle 2.6s ease-in-out calc(var(--delay, 0s) + 2s + var(--s)) 5;
}

/* With a mouse, the stars keep twinkling while the pointer is on the tag.
   (The arrival is listed again so that leaving the tag does not replay it.) */
@media (hover: hover) {
  html.js .setup__content.is-in .setup__pair:hover .setup__spark {
    animation:
      setup-pop 0.6s cubic-bezier(0.3, 1.7, 0.5, 1) calc(var(--delay, 0s) + 1.2s + var(--s) * 0.3) backwards,
      setup-twinkle 2.6s ease-in-out calc(var(--delay, 0s) + 2s + var(--s)) 5,
      setup-glimmer 1.7s ease-in-out calc(var(--s) * 0.5) infinite;
  }
}

@keyframes setup-swing {
  0% {
    transform: rotate(calc(var(--dir) * 15deg));
  }

  24% {
    transform: rotate(calc(var(--dir) * -9deg));
  }

  46% {
    transform: rotate(calc(var(--dir) * 5deg));
  }

  66% {
    transform: rotate(calc(var(--dir) * -2.5deg));
  }

  84% {
    transform: rotate(calc(var(--dir) * 1deg));
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes setup-fan {
  from {
    opacity: 0;
    transform: rotate(32deg) scale(0.35);
  }
}

@keyframes setup-pop {
  from {
    opacity: 0;
    transform: scale(0) rotate(-35deg);
  }
}

@keyframes setup-plus {
  from {
    transform: scale(0) rotate(-180deg);
  }
}

@keyframes setup-ring {
  from {
    opacity: 0.8;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(2.3);
  }
}

@keyframes setup-glint {
  from {
    opacity: 1;
    transform: translate3d(-140%, 0, 0) skewX(-16deg);
  }

  to {
    opacity: 1;
    transform: translate3d(330%, 0, 0) skewX(-16deg);
  }
}

@keyframes setup-twinkle {
  50% {
    opacity: 1;
    transform: scale(1.3) rotate(90deg);
  }
}

@keyframes setup-glimmer {
  50% {
    opacity: 1;
    transform: scale(1.3) rotate(90deg);
  }
}

/* The price settles with a tiny bounce after counting up. */
.price-tag__value {
  display: inline-block;
  font-variant-numeric: tabular-nums lining-nums;
}

.price-tag__value.is-counted {
  animation: price-bump 0.5s cubic-bezier(0.3, 1.8, 0.5, 1);
}

@keyframes price-bump {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* Photos slide in from the opposite side to meet the text. */
html.js [data-slide] {
  transition: opacity 0.7s ease-out, transform 1.1s var(--ease);
}

html.js [data-slide="left"]:not(.is-in) {
  opacity: 0;
  transform: translate3d(-3rem, 0, 0);
}

html.js [data-slide="right"]:not(.is-in) {
  opacity: 0;
  transform: translate3d(3rem, 0, 0);
}

/* Jumper tiles arrive from the right, one after another. */
html.js .jumpers__cards .reveal:not(.is-visible) {
  transform: translate3d(2.25rem, 0, 0);
}

/* Gentle parallax: section photos drift slightly slower than the page.
   Uses the individual translate/scale properties so it never fights the
   curtain reveal or hover zoom (which use transform). */
[data-parallax] {
  scale: 1.08;
  translate: 0 var(--parallax, 0px);
}

/* ---------- Reveal on scroll ---------- */

/* Content becomes readable quickly; the slower motion stays for the trees'
   glide-in (a separate animation) and the photo reveals. */
html.js .reveal {
  opacity: 0;
  transform: translateY(1.125rem);
  transition: opacity 0.4s ease-out, transform 0.65s var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Cookie card (compact) ---------- */

.cookie-card {
  position: fixed;
  z-index: 60;
  right: max(1.5rem, calc((100vw - var(--container)) / 2 + var(--gutter) - 1.5rem));
  bottom: 1.5rem;
  width: 17rem;
  padding: 0.75rem 0.75rem 0.625rem 0.875rem;
  border: 1px solid rgba(241, 213, 155, 0.28);
  border-radius: 0.75rem;
  background: rgba(10, 24, 18, 0.9);
  color: var(--cream-text);
  box-shadow: 0 1.125rem 2.5rem -1rem rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: saturate(1.3) blur(0.875rem);
  backdrop-filter: saturate(1.3) blur(0.875rem);
  opacity: 0;
  transform: translate3d(0, calc(-1 * var(--cookie-lift, 0px) + 0.75rem), 0);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}

.cookie-card.is-shown {
  opacity: 1;
  transform: translate3d(0, calc(-1 * var(--cookie-lift, 0px)), 0);
}

.cookie-card.is-leaving {
  opacity: 0;
  transform: translate3d(0, calc(-1 * var(--cookie-lift, 0px) + 0.75rem), 0);
}

.cookie-card[hidden] {
  display: none;
}

.cookie-card__text {
  color: var(--cream-muted);
  font-size: 0.78125rem;
  line-height: 1.45;
}

.cookie-card__settings {
  margin-top: 0.5rem;
}

.cookie-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.375rem 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.78125rem;
  font-weight: 500;
}

label.cookie-card__row {
  cursor: pointer;
}

.cookie-card__always {
  color: var(--gold);
  font-size: 0.71875rem;
  font-weight: 600;
}

.cookie-card__switch {
  flex: none;
  position: relative;
  width: 2rem;
  height: 1.125rem;
  margin: 0;
  border-radius: 62.4375rem;
  background: rgba(247, 240, 228, 0.2);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.25s;
}

.cookie-card__switch::after {
  content: "";
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--cream-text);
  transition: transform 0.25s var(--ease);
}

.cookie-card__switch:checked {
  background: var(--gold);
}

.cookie-card__switch:checked::after {
  transform: translateX(0.875rem);
}

.cookie-card__actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.625rem;
}

/* Accept and Reject are deliberately equal in size and weight. */
.cookie-card__button {
  min-width: 4.25rem;
  height: 1.875rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(241, 213, 155, 0.55);
  border-radius: 62.4375rem;
  background: rgba(247, 240, 228, 0.06);
  color: var(--cream-text);
  font-family: var(--font-body);
  font-size: 0.78125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.cookie-card__button:hover {
  border-color: var(--gold-2);
  background: var(--gold-2);
  color: #2a1a09;
}

.cookie-card__button[hidden] {
  display: none;
}

.cookie-card__link {
  margin-right: auto;
  padding: 0.125rem 0;
  border: 0;
  background: none;
  color: var(--cream-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
  cursor: pointer;
}

.cookie-card__link:hover {
  color: var(--cream-text);
}

.site-footer__cookies {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.site-footer__cookies:hover {
  color: var(--cream-text);
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

/* ---------- Narrower laptop screens: keep all six shortcuts on one line ---------- */

.shortcuts {
  width: calc(100% - (var(--gutter) - 1.5rem) * 2);
}

@media (max-width: 1279px) {
  .site-header__inner {
    gap: 20px;
    padding: 0 40px;
  }

  .site-header__nav {
    gap: 16px;
  }

  .site-header__nav a {
    font-size: 13.5px;
  }

  .shortcut {
    gap: 10px;
    padding: 19px 10px;
  }

  .shortcut__thumb {
    width: 44px;
    height: 44px;
  }

  .shortcut__name {
    font-size: 14px;
  }

  .shortcut__price {
    font-size: 12.5px;
  }
}

@media (max-width: 1100px) {
  .split--santa .split__media img {
    object-position: 74% 50%;
  }

  /* Keeps the handwritten note inside the print's border. */
  .photography__print figcaption a {
    font-size: 12.5px;
  }

  .shortcuts {
    width: calc(100% - 32px);
  }

  .site-header__nav {
    gap: 12px;
  }

  .site-header__nav a {
    font-size: 13px;
  }
}

/* The narrowest desktops draw the room small, so the tag shrinks a little
   to leave more of the tree showing. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .offer-tag__drop {
    left: auto;
    right: 3rem;
  }

  .offer-tag__face {
    padding: 10px 15px 9px;
  }

  .offer-tag__heading {
    font-size: 22px;
  }

  .offer-tag__note {
    font-size: 12px;
  }
}

/* The narrowest desktop width (e.g. an iPad on its side): the header was a
   touch too wide here and pushed its button towards the screen edge. */
@media (min-width: 1024px) and (max-width: 1059.98px) {
  .site-header__brand {
    font-size: 23px;
  }

  .site-header__nav {
    gap: 10px;
  }
}

/* ---------- Shorter laptop screens: keep the hero and shortcut bar in view ---------- */

@media (max-height: 880px) {
  .hero h1 {
    font-size: 80px;
  }

  .hero__lede {
    margin-top: 20px;
    font-size: 18px;
  }

  .hero__actions {
    margin-top: 30px;
  }

  .countdown {
    margin-top: 34px;
  }

  .countdown__unit {
    min-width: 74px;
    padding: 9px 8px 8px;
  }

  .countdown__unit [data-countdown-value],
  .countdown__unit .countdown__flash {
    font-size: 30px;
  }
}

@media (max-height: 760px) {
  :root {
    --hero-bar-space: calc(var(--bar-h) + 22px);
  }

  .hero .eyebrow {
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: 66px;
  }

  .hero__lede {
    margin-top: 16px;
    font-size: 17px;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .button {
    min-height: 50px;
  }

  .countdown {
    margin-top: 24px;
  }

  .countdown__title {
    margin-bottom: 8px;
  }

  .offer-tag__heading {
    font-size: 24px;
  }

  .offer-tag__note {
    font-size: 12.5px;
  }

  .countdown__unit [data-countdown-value],
  .countdown__unit .countdown__flash {
    font-size: 26px;
  }
}

/* Very short desktop windows (a 1366x768 laptop with browser toolbars, or
   1024x600): the hero may go below its usual 640px so the whole shortcut bar
   still fits on the first screen. */
@media (min-width: 1024px) and (max-height: 639.98px) {
  .hero {
    min-height: 590px;
    --hero-h: clamp(590px, 100svh, 62.5rem);
  }

  .hero .eyebrow {
    margin-bottom: 10px;
  }

  /* Narrower, so the headline keeps its two lines at this size. */
  .hero h1 {
    max-width: 580px;
    font-size: 58px;
  }

  /* One line instead of two. */
  .hero__lede {
    max-width: 576px;
    margin-top: 14px;
    font-size: 16px;
  }

  .hero__actions {
    margin-top: 20px;
  }

  .button {
    min-height: 46px;
  }

  .countdown {
    margin-top: 18px;
  }

  .countdown__unit {
    padding: 7px 8px;
  }

  .countdown__unit [data-countdown-value],
  .countdown__unit .countdown__flash {
    font-size: 24px;
  }
}

/* =====================================================================
   TABLETS, SIDEWAYS PHONES AND NARROW WINDOWS (600px to 1023px)
   The desktop composition, scaled fluidly so nothing jumps at either end:
   - wide or short screens keep photo and text side by side;
   - upright screens under 800px stack them, photo first, as phones do;
   - short screens (sideways phones, small landscape tablets) get a
     one-line header, and the hero grows with its content.
   Desktop (1024px and up) and phones (under 600px) are untouched.
   ===================================================================== */

@media (min-width: 600px) and (max-width: 1023.98px) {
  :root {
    /* 28px at 600 wide, growing to desktop's 64px at 1024. */
    --gutter: clamp(28px, calc(8.49vw - 22.9px), 64px);
    /* One hundredth of the screen height, for hero spacing that tightens
       on shorter screens instead of pushing the shortcut bar out of view. */
    --hv: clamp(5.2px, 1vh, 10px);
    --header-h: 106px;
    --bar-h: 100px;
    --hero-bar-space: calc(var(--bar-h) + 36px);
    /* Fluid values are tuned to arrive at the desktop sizes at 1024px, so
       the hand-over to desktop is seamless. */
    --h2: clamp(32px, calc(7.14vw - 19.1px), 54px);
    --h2-lg: clamp(38px, calc(8.04vw - 18.3px), 64px);
    --pad-y: clamp(80px, 12.7vw, 130px);
    /* Clear space beside a garland that hangs across a section seam. */
    --seam: clamp(84px, calc(9vw + 30px), 122px);
    --col-gap: clamp(28px, calc(14vw - 55px), 88px);
  }

  html {
    /* As on desktop: a menu link lands its section 8px under the header bar
       (116px, or 56px on short screens), never in the scalloped hem. */
    scroll-padding-top: calc(var(--header-h) - 8px);
  }

  .button {
    min-height: 50px;
    padding: 0 24px;
  }

  /* ---------- Header: brand row + full menu row ---------- */

  .site-header__inner {
    flex-wrap: wrap;
    gap: 0;
    height: auto;
    padding: 0 var(--gutter);
  }

  .site-header__brand {
    height: 60px;
    font-size: 24px;
  }

  .site-header .site-header__cta {
    min-width: 0;
    min-height: 40px;
    margin-left: auto;
    padding: 0 20px;
  }

  .site-header__nav {
    order: 3;
    /* Full bleed, so the edge fades sit at the screen edges if it scrolls. */
    flex: 0 0 calc(100% + 2 * var(--gutter));
    gap: clamp(20px, 3.4vw, 36px);
    max-height: 46px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }

  .site-header__nav::-webkit-scrollbar {
    display: none;
  }

  .site-header__nav a {
    flex: none;
    padding: 10px 0 15px;
    font-size: 14.5px;
  }

  /* Centred when it fits; starts at the left edge when it has to scroll. */
  .site-header__nav a:first-child {
    margin-left: auto;
  }

  .site-header__nav a:last-child {
    margin-right: auto;
  }

  .site-header__nav a::after {
    bottom: 8px;
  }

  .site-header__nav[data-scroller] {
    --fade-start: 44px;
    --fade-end: 52px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
  }

  .site-header__nav[data-scroller].is-start {
    --fade-start: 0px;
  }

  .site-header__nav[data-scroller].is-end {
    --fade-end: 0px;
  }

  .site-header[data-over-hero="false"] .site-header__surface {
    background: rgba(10, 24, 18, 0.92);
  }

  .fairy-lights--header {
    height: 22px;
  }

  .offer-tag__drop {
    left: auto;
    right: var(--gutter);
  }

  .offer-tag__thread {
    height: 18px;
  }

  .offer-tag__face {
    padding: 10px 15px 9px;
  }

  .offer-tag__heading {
    font-size: 24px;
  }

  .offer-tag__note {
    font-size: 12.5px;
  }

  /* Upright tablets: the hero text starts lower while the tag is on the
     page, so the tag can hang at the text's own left edge, above it. The
     wider ones carried the taller, labelled card and keep a little more. */
  @media (min-height: 820.02px) {
    html.has-offer-tag .hero {
      padding-top: calc(var(--header-h) + var(--hv) * 2.4 + 136px);
    }

    @media (min-width: 800px) {
      html.has-offer-tag .hero {
        padding-top: calc(var(--header-h) + var(--hv) * 2.4 + 154px);
      }
    }
  }

  /* ---------- Hero ---------- */

  .hero {
    height: auto;
    min-height: min(100vh, 1240px);
    min-height: min(100svh, 1240px);
    max-height: none;
    padding: calc(var(--header-h) + var(--hv) * 2.4) 0 calc(var(--hero-bar-space) + 52px);
    --hero-h: min(100svh, 1240px);
  }

  /* Landscape screens use the desktop photo; as the frame gets squarer the
     crop slides right so the tree never leaves the picture. The star clears
     the taller header and its lamps. */
  .hero__image {
    --star-clear: calc(var(--header-h) + 48px);
  }

  .hero__zoom {
    transform-origin: 70% 34%;
  }

  @media (max-aspect-ratio: 3/2) {
    .hero__image {
      object-position: 55% var(--crop-y);
    }

    .hero__zoom {
      transform-origin: 74% 34%;
    }
  }

  @media (max-aspect-ratio: 4/3) {
    .hero__image {
      object-position: 66% var(--crop-y);
    }

    .hero__zoom {
      transform-origin: 76% 34%;
    }
  }

  /* Upright screens use the portrait photo: tree on the right, headline on
     a darkened left, the same idea as the phone hero. */
  @media (orientation: portrait) {
    .hero__image {
      object-position: 86% 42%;
    }

    .hero__zoom {
      transform-origin: 84% 40%;
    }

    .hero::after {
      background:
        linear-gradient(180deg, rgba(8, 6, 4, 0.74) 0%, rgba(8, 6, 4, 0) 24%),
        linear-gradient(90deg, rgba(8, 6, 4, 0.88) 0%, rgba(8, 6, 4, 0.66) 38%, rgba(8, 6, 4, 0.18) 64%, rgba(8, 6, 4, 0) 80%),
        linear-gradient(0deg, rgba(10, 24, 18, 0.97) 0%, rgba(10, 24, 18, 0.72) 17%, rgba(10, 24, 18, 0) 40%);
    }

    .hero h1,
    .hero__lede,
    .hero .eyebrow {
      text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
    }
  }

  .hero .eyebrow {
    margin-bottom: calc(var(--hv) * 2.2);
  }

  .hero h1 {
    /* Always two lines: "Everything" / "Christmas, sorted." */
    max-width: min(680px, 8.6em);
    font-size: clamp(44px, min(calc(8.49vw + 9px), calc(var(--hv) * 9.6)), 96px);
  }

  /* Squarer landscape frames leave less room beside the tree. */
  @media (max-aspect-ratio: 4/3) and (orientation: landscape) {
    .hero h1 {
      font-size: clamp(44px, min(calc(6.4vw + 9px), calc(var(--hv) * 8.6)), 82px);
    }
  }

  .hero__lede {
    max-width: min(440px, 64%);
    margin-top: calc(var(--hv) * 2.8);
    font-size: clamp(16px, 2.2vw, 19px);
  }

  .hero__actions {
    gap: 12px;
    margin-top: calc(var(--hv) * 4);
  }

  .hero__actions .button {
    min-height: clamp(46px, calc(var(--hv) * 5.4), 54px);
  }

  .countdown {
    margin-top: calc(var(--hv) * 5);
  }

  .countdown__title {
    margin-bottom: clamp(8px, calc(var(--hv) * 1.2), 12px);
  }

  .countdown__unit {
    /* Narrower on the slimmest tablets, leaving room beside it for the
       cookie card on a first visit. */
    min-width: clamp(62px, min(calc(var(--hv) * 8.2), 11vw), 82px);
    padding: clamp(8px, calc(var(--hv) * 1.2), 12px) 8px clamp(7px, var(--hv), 10px);
  }

  .countdown__unit [data-countdown-value],
  .countdown__unit .countdown__flash {
    font-size: clamp(26px, calc(var(--hv) * 3.6), 36px);
  }

  .trust {
    --trust-gap: clamp(20px, 4vw, 40px);
    gap: var(--trust-gap);
    font-size: clamp(12px, 1.9vw, 13.5px);
  }

  .trust li {
    gap: 7px;
  }

  .trust li + li::before {
    left: calc(var(--trust-gap) / -2 - 2px);
  }

  /* ---------- Shortcut bar: six tiles, picture above name ---------- */

  .shortcuts {
    width: calc(100% - 2 * (var(--gutter) - 12px));
    max-width: none;
    margin: calc(-1 * var(--hero-bar-space) + 8px) auto calc(var(--hero-bar-space) - 8px - var(--bar-h));
  }

  /* The side padding keeps the outer names clear of the gold line. */
  .shortcuts__list {
    height: var(--bar-h);
    padding: 0 6px;
  }

  .shortcuts__list li {
    flex: 1 1 0;
    min-width: 0;
  }

  /* Six names each fit on one line from 600px up, so every tile is the
     same: picture, name, price, centred in the bar's height. */
  .shortcut {
    flex-direction: column;
    gap: 6px;
    padding: 6px 4px;
    text-align: center;
  }

  .shortcut__thumb {
    width: 44px;
    height: 44px;
  }

  .shortcut__text {
    align-items: center;
    line-height: 1.22;
  }

  .shortcut__name {
    font-size: clamp(11.5px, 1.8vw, 14px);
  }

  .shortcut__price {
    margin-top: 1px;
    font-size: clamp(11.5px, 1.5vw, 12.5px);
  }

  /* ---------- Section rhythm and type ---------- */

  .tree-stage--real {
    padding: var(--pad-y) 0 calc(6.6vw + var(--seam));
  }

  .tree-stage--artificial {
    padding: calc(5.5vw + var(--seam)) 0 var(--pad-y);
  }

  .tree-stage--jumpers {
    padding: var(--pad-y) 0;
  }

  .tree-stage__grid {
    gap: clamp(28px, calc(11vw - 40.6px), 72px);
  }

  .tree-stage h2 {
    font-size: var(--h2-lg);
  }

  .tree-stage--jumpers h2 {
    font-size: var(--h2);
  }

  .tree-stage__intro,
  .setup__intro,
  .split__intro,
  .photography__intro,
  .closing__lede {
    font-size: clamp(17px, 1.76vw, 18px);
  }

  .tree-stage__content .button,
  .split--outdoor .split__inner > .button,
  .setup__content > .button {
    margin-top: 30px;
  }

  .tree-stage__trees {
    gap: clamp(16px, 3vw, 40px);
  }

  .tree-card__name {
    margin-top: 18px;
    font-size: clamp(22px, 3.13vw, 32px);
  }

  .tree-card__note {
    font-size: 13.5px;
  }

  .jumpers__cards {
    gap: clamp(12px, 2vw, 24px);
  }

  .jumper-card .tree-card__name {
    font-size: clamp(20px, 2.74vw, 28px);
  }

  .price-tag {
    margin: 26px 0 30px;
  }

  .price-tag__value {
    font-size: clamp(44px, 5.86vw, 60px);
  }


  /* ---------- Service sections ---------- */

  .setup {
    /* Extra top space: the real-trees garland hangs across this seam. */
    padding: calc(7.2vw + var(--seam) - 6px) 0 var(--pad-y);
  }

  .setup__grid {
    grid-template-columns: 6fr 5fr;
    gap: var(--col-gap);
  }

  /* Beside the photo the text column can be as narrow as 234px: the pair
     is drawn smaller, and the button may take two lines. */
  .setup__pair {
    --pair-thumb: 64px;
    --pair-thread: 20px;
    --pair-reach: 88px;
    --trim: 0.84;
    gap: 12px;
    margin-top: 40px;
    padding: 4px 14px 16px;
  }

  .setup__bauble {
    margin-bottom: 10px;
  }

  .setup__name {
    font-size: 17px;
  }

  .setup__price {
    font-size: 13.5px;
  }

  /* Beside the photo on the narrowest screens the tag is small: so is its fir. */
  @media (max-width: 719.98px) {
    .setup__pair {
      --trim: 0.7;
    }
  }

  .setup__content > .button {
    max-width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .setup h2,
  .split h2,
  .photography h2 {
    font-size: var(--h2);
  }

  .split {
    min-height: clamp(460px, 76.2vw, 780px);
  }

  .split--santa .split__content {
    padding: var(--pad-y) var(--gutter) var(--pad-y) clamp(28px, calc(15vw - 57.6px), 96px);
  }

  .split--outdoor .split__content {
    padding: var(--pad-y) clamp(28px, calc(15vw - 57.6px), 96px) var(--pad-y) var(--gutter);
  }

  .split--santa .split__media {
    background: radial-gradient(ellipse at 40% 45%, #6a2a24, #2a1210 75%);
  }

  .split--outdoor .split__media {
    background: linear-gradient(180deg, #1c2a4a 0%, #3a2a2a 60%, #2a2622 100%);
  }

  .photography {
    padding: var(--pad-y) 0 clamp(110px, 15vw, 170px);
  }

  .photography__grid {
    gap: var(--col-gap);
  }

  .photography__print {
    right: calc(var(--gutter) * -0.45);
    bottom: -44px;
    width: 44%;
    padding: 8px 8px 26px;
  }

  .photography__print figcaption {
    bottom: 4px;
  }

  .photography__print figcaption a {
    font-size: clamp(10.5px, 1.45vw, 14px);
  }

  .photography__print::before {
    top: -11px;
    width: 72px;
    height: 22px;
    margin-left: -36px;
  }

  /* ---------- Closing and footer ---------- */

  .closing {
    padding: calc(6.9vw + var(--seam) + 34px) 0 clamp(100px, 14vw, 170px);
  }

  .fairy-lights--closing {
    top: calc(6.9vw + 14px);
    height: 60px;
  }

  .closing h2 {
    font-size: clamp(44px, max(7.6vw, calc(25.6vw - 178px)), 84px);
  }

  .closing__actions {
    margin-top: 36px;
  }

  .site-footer__inner {
    gap: clamp(28px, 5vw, 64px);
    padding-top: 64px;
    padding-bottom: 52px;
  }

  .site-footer__nav {
    gap: 24px;
  }

  @media (max-width: 859.98px) {
    .site-footer__inner {
      grid-template-columns: 1fr;
      gap: 36px;
    }
  }

  .cookie-card {
    right: max(16px, calc(var(--gutter) - 12px));
  }

  /* Slimmer where the hero text leaves less room beside it. */
  @media (max-width: 719.98px), (max-height: 520px) {
    .cookie-card {
      width: 236px;
    }
  }

  @media (max-width: 699.98px) and (max-height: 520px) {
    .cookie-card {
      width: 218px;
    }

    .cookie-card__button {
      min-width: 60px;
      padding: 0 10px;
    }
  }

  /* The smallest short windows have no room beside the hero text, so the
     card becomes a bar along the bottom, as on phones. */
  @media (max-width: 639.98px) and (max-height: 520px) {
    .cookie-card {
      left: 14px;
      right: 14px;
      bottom: 12px;
      width: auto;
    }
  }

  /* When the card would sit on the hero text at the bottom-right, it widens
     into a bar along the bottom instead (home.js adds the class). It never
     moves up the page, where the offer tag hangs. */
  .cookie-card--bar {
    left: 16px;
    right: 16px;
    width: auto;
  }

  /* ---------- Questions ---------- */

  .faq__grid {
    grid-template-columns: 1fr;
    gap: clamp(30px, 5vw, 44px);
  }

  .faq h2 {
    font-size: var(--h2);
  }

  .faq__intro {
    max-width: 520px;
    font-size: clamp(17px, 1.76vw, 18px);
  }

  .faq {
    padding: var(--pad-y) 0 calc(6.9vw + var(--seam));
  }

  .faq__list {
    max-width: 780px;
  }

  .faq__item summary {
    padding: 20px 56px 20px 0;
    font-size: clamp(20px, 2.4vw, 23px);
  }

  .faq__answer p {
    padding: 0 56px 22px 0;
    font-size: 16.5px;
  }

  /* ---------- What's on: the map above the tickets, or beside them when wide ---------- */

  .events {
    --cell: clamp(84px, 13.6vw, 112px);
    --comb-gap: 6px;
    --ticket-w: clamp(228px, 32vw, 252px);
    --ticket-h: 376px;
    --art-h: 150px;
    --notch: 9px;
    --bleed: var(--gutter);
    padding: var(--pad-y) 0 calc(var(--skyline-h) + 32px);
  }

  .events h2 {
    font-size: var(--h2);
  }

  .events__lede {
    max-width: 520px;
    font-size: clamp(17px, 1.76vw, 18px);
  }

  .events__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(30px, 5vw, 44px);
    margin-top: clamp(34px, 5.4vw, 48px);
  }

  .comb__name {
    font-size: clamp(12px, 1.7vw, 13.5px);
  }

  .events__nearest {
    font-size: clamp(22px, 2.9vw, 24px);
  }

  /* The row swipes from one edge of the screen to the other. */
  .events__row {
    --fade-start: 28px;
    --fade-end: 56px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 24px var(--gutter) 40px;
    scroll-padding: 0 var(--gutter);
  }

  /* Wide enough for the map and the tickets to sit side by side, as on
     desktop. Short, wide screens (a phone on its side) do the same with a
     smaller map, so the map at least fits the screen. */
  @media (min-width: 880px), (min-width: 700px) and (max-height: 520px) {
    .events {
      --cell: 80px;
      --ticket-w: 232px;
    }

    .events__stage {
      grid-template-columns: auto minmax(0, 1fr);
      gap: 36px;
    }

    .comb__name {
      font-size: 11.5px;
    }

    .events__row {
      margin-left: -20px;
      padding-left: 20px;
      scroll-padding-left: 20px;
    }
  }

  @media (min-width: 700px) and (max-width: 879.98px) and (max-height: 520px) {
    .events {
      --cell: 68px;
      --ticket-w: 220px;
    }

    .events__stage {
      gap: 28px;
    }

    .comb__name {
      font-size: 10.5px;
    }

    .comb__bee {
      --bee: 22px;
    }
  }

  /* ---------- Motion: a little less travel than desktop ---------- */

  html.js [data-choreo="left"] {
    --from-x: -26px;
  }

  html.js [data-choreo="right"] {
    --from-x: 26px;
  }

  html.js [data-slide="left"]:not(.is-in) {
    transform: translate3d(-34px, 0, 0);
  }

  html.js [data-slide="right"]:not(.is-in) {
    transform: translate3d(34px, 0, 0);
  }

  /* =================================================================
     Upright screens under 800px: photo first, then the story.
     ================================================================= */

  @media (max-width: 799.98px) and (min-height: 520.02px) {
    :root {
      --h2: clamp(36px, 6vw, 46px);
      --h2-lg: clamp(42px, 7vw, 54px);
    }

    .tree-stage__grid {
      grid-template-columns: 1fr;
      gap: 44px;
    }

    .tree-stage__intro {
      max-width: 480px;
    }

    .tree-stage__trees {
      gap: 24px;
    }

    .tree-card__name {
      font-size: 28px;
    }

    .jumpers__cards {
      gap: 16px;
    }

    .jumper-card .tree-card__name {
      font-size: 23px;
    }

    .setup__grid,
    .photography__grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .setup__intro,
    .photography__intro,
    .split__intro {
      max-width: 520px;
    }

    .photography__media {
      order: -1;
      margin-bottom: 34px;
    }

    .photography__print {
      right: -10px;
      width: 40%;
    }

    .split {
      grid-template-columns: 1fr;
      min-height: 0;
    }

    .split__media {
      aspect-ratio: 16 / 10;
    }

    .split--outdoor .split__media {
      order: -1;
    }

    /* Stacked, the photo and not the panel touches the skyline. */
    .events + .split--outdoor {
      --join-sky: none;
    }

    .split--santa .split__media img {
      object-position: 50% 42%;
    }

    .split--outdoor .split__media img {
      object-position: 50% 46%;
    }

    .split--santa .split__content,
    .split--outdoor .split__content {
      padding: 52px var(--gutter) 84px;
    }

    /* Leave room for the garland that hangs across the next seam. */
    .split--santa .split__content {
      padding-bottom: calc(5.5vw + 72px);
    }

  }

  /* =================================================================
     Shorter screens (landscape tablets, sideways phones): the header
     becomes one line, with the menu scrolling between brand and button.
     ================================================================= */

  @media (max-height: 820px) {
    :root {
      --header-h: 56px;
    }

    .site-header__inner {
      flex-wrap: nowrap;
      gap: 14px;
      height: 56px;
    }

    .site-header__brand {
      height: 44px;
      font-size: 21px;
    }

    .site-header__star {
      width: 16px;
      height: 16px;
    }

    .site-header .site-header__cta {
      min-height: 40px;
      margin-left: 0;
      padding: 0 16px;
      font-size: 13px;
    }

    .site-header__nav {
      order: 0;
      flex: 1 1 auto;
      min-width: 0;
      gap: 20px;
      max-height: none;
      margin: 0;
      padding: 0 4px;
      scroll-padding: 0 4px;
    }

    .site-header__nav[data-scroller] {
      --fade-start: 30px;
      --fade-end: 36px;
    }

    .site-header__nav a {
      padding: 12px 0;
      font-size: 13.5px;
    }

    .site-header__nav a::after {
      bottom: 7px;
    }

    .fairy-lights--header {
      height: 20px;
    }
  }

  /* Sideways phones: the first screen cannot hold the whole hero, so it
     grows with its content and the shortcut bar follows straight after. */
  @media (max-height: 520px) {
    /* Less air between sections: each one should fit a short screen. */
    :root {
      --pad-y: clamp(56px, 8vw, 80px);
      --seam: 58px;
    }

    .hero {
      flex-direction: column;
      justify-content: center;
      min-height: 0;
      padding: calc(var(--header-h) + 22px) 0 22px;
    }

    /* The hero is as tall as its copy here, which the crop maths cannot see,
       so short sideways screens keep a plain crop (the star stays under the
       header on these, as before). */
    .hero__image {
      object-position: 35% 75%;
    }

    .offer-tag__thread {
      height: 20px;
    }

    .offer-tag__face {
      padding: 8px 13px 7px;
    }

    .offer-tag__heading {
      font-size: 22px;
    }

    .offer-tag__note {
      font-size: 11.5px;
    }

    .hero__lede {
      max-width: min(400px, 52%);
    }

    .hero__actions {
      gap: 10px;
    }

    .hero__actions .button {
      padding: 0 19px;
    }

    /* No room for the line under the buttons on a sideways phone. */
    .hero__promise {
      display: none;
    }

    .trust {
      position: static;
      margin-top: 22px;
    }

    /* From about 740 wide there is room for the countdown beside the lede
       and buttons, so the whole hero fits a sideways phone's first view. */
    @media (min-width: 740px) {
      .hero {
        padding: calc(var(--header-h) + 16px) 0 16px;
      }

      .hero__content {
        display: grid;
        grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
        column-gap: 26px;
        align-items: end;
      }

      .hero__content > * {
        grid-column: 1;
      }

      .hero__content > .countdown {
        grid-column: 2;
        grid-row: 3 / span 2;
        margin-top: 0;
      }

      .hero__lede {
        max-width: none;
      }

      .trust {
        margin-top: 16px;
      }
    }

    .photography__print {
      width: 50%;
    }

    /* The photo is drawn smaller here, so its lights are too. */
    .twinkle {
      width: 10px;
      height: 10px;
      margin: -5px 0 0 -5px;
    }

    .shortcuts {
      margin: 0 auto 8px;
    }
  }
}

/* =====================================================================
   PHONES (under 600px)
   The desktop composition is redesigned for narrow screens: a portrait
   hero, a compact two-row header, swipeable product rails, image-first
   service sections and a sticky action bar. Everything above 600px is
   untouched.
   ===================================================================== */

@media (max-width: 599.98px) {
  :root {
    --gutter: 20px;
    --radius: 6px;
  }

  html {
    /* The phone header is two rows (header.css: 46px + 56px). A menu link
       lands its section 8px under them, as on every other size. */
    scroll-padding-top: 94px;
  }

  body {
    font-size: 15px;
  }

  .container {
    padding: 0 var(--gutter);
  }

  /* ---------- Header: brand row + swipeable menu row ---------- */

  .site-header__inner {
    flex-wrap: wrap;
    gap: 0;
    height: auto;
    padding: 0 var(--gutter);
  }

  .site-header__brand {
    height: 54px;
    font-size: 21px;
  }

  .site-header__star {
    width: 16px;
    height: 16px;
  }

  .site-header .site-header__cta {
    min-width: 0;
    min-height: 36px;
    margin-left: auto;
    padding: 0 15px;
    font-size: 13px;
    line-height: 1;
  }

  .site-header__nav {
    order: 3;
    /* Full bleed: edge to edge, so the fades sit at the screen edges. */
    flex: 0 0 calc(100% + 2 * var(--gutter));
    gap: 22px;
    max-height: 44px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }

  .site-header__nav::-webkit-scrollbar {
    display: none;
  }

  .site-header__nav a {
    flex: none;
    padding: 11px 0 13px;
    font-size: 14px;
    scroll-snap-align: start;
  }

  .site-header__nav a::after {
    bottom: 6px;
  }

  .site-header[data-over-hero="false"] .site-header__surface {
    background: rgba(10, 24, 18, 0.92);
  }

  .fairy-lights--header {
    height: 20px;
  }

  /* The sign hangs at the text's left edge, a little smaller, and the hero
     text starts lower while it is on the page so the two never meet. */
  .offer-tag__drop {
    left: var(--gutter);
  }

  .offer-tag__thread {
    height: 20px;
  }

  .offer-tag__face {
    padding: 9px 14px 8px;
  }

  .offer-tag__heading {
    font-size: 22px;
  }

  .offer-tag__note {
    font-size: 11.5px;
  }

  .offer-tag__holly {
    width: 2.25rem;
    height: 2.25rem;
  }

  html.has-offer-tag .hero {
    padding-top: 238px;
  }

  /* 360px phones: the longer button labels ("Buy artificial") no longer fit
     beside the full-size name and dropped to a row of their own. */
  @media (max-width: 379.98px) {
    .site-header__brand {
      font-size: 19px;
    }
  }

  @media (max-width: 359.98px) {
    .site-header__inner {
      padding: 0 14px;
    }

    .site-header__nav {
      flex-basis: calc(100% + 28px);
      margin: 0 -14px;
      padding: 0 14px 2px;
      scroll-padding: 0 14px;
    }

    .site-header__brand {
      font-size: 17px;
    }

    .site-header__brand .site-header__star {
      display: none;
    }

    .site-header__cta {
      padding: 0 11px;
      font-size: 12px;
    }
  }

  /* Swipeable rows fade at whichever edge still hides items. */
  [data-scroller] {
    --fade-start: 44px;
    --fade-end: 52px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
  }

  [data-scroller].is-start {
    --fade-start: 0px;
  }

  [data-scroller].is-end {
    --fade-end: 0px;
  }

  /* ---------- Hero: portrait image, text on its darker lower half ---------- */

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
    padding: 132px 0 26px;
  }

  .hero__image {
    object-position: 74% 30%;
  }

  .hero__zoom {
    transform-origin: 78% 28%;
  }

  /* Lighter overall so more of the tree glows through: dark at the bottom
     for the countdown, and darker on the left where the headline sits. */
  .hero::after {
    background:
      linear-gradient(180deg, rgba(8, 6, 4, 0.62) 0%, rgba(8, 6, 4, 0) 20%),
      linear-gradient(0deg, rgba(10, 24, 18, 0.96) 0%, rgba(10, 24, 18, 0.8) 26%, rgba(10, 18, 14, 0.3) 52%, rgba(10, 18, 14, 0) 70%),
      linear-gradient(90deg, rgba(8, 6, 4, 0.72) 0%, rgba(8, 6, 4, 0.4) 46%, rgba(8, 6, 4, 0) 78%);
  }

  /* A soft shadow keeps the hero text crisp over the brightest tree lights. */
  .hero h1,
  .hero__lede,
  .hero .eyebrow {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  }

  .hero__content {
    padding: 0 var(--gutter);
  }

  .hero .eyebrow {
    margin-bottom: 14px;
  }

  .hero h1 {
    /* Two lines: "Your Christmas," / "all wrapped up." */
    max-width: none;
    font-size: clamp(40px, 12.8vw, 54px);
    line-height: 0.93;
    letter-spacing: -0.035em;
  }

  .hero__lede {
    max-width: 340px;
    margin-top: 16px;
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
  }

  .hero__actions .button {
    min-height: 50px;
    padding: 0 22px;
  }

  .countdown {
    margin-top: 26px;
  }

  .countdown__title {
    margin-bottom: 8px;
  }

  .countdown__units {
    gap: 8px;
  }

  .countdown__unit {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 4px 8px;
  }

  .countdown__unit [data-countdown-value],
  .countdown__unit .countdown__flash {
    font-size: 28px;
  }

  .countdown__unit [data-countdown-label] {
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }

  /* Trust items flow below the hero text on the dark gradient. */
  .trust {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-top: 26px;
    padding: 0 var(--gutter);
    font-size: 12.5px;
  }

  .trust li + li::before {
    display: none;
  }

  /* ---------- Shortcut rail ---------- */

  .shortcuts {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 6px 0 4px;
    background: var(--night);
  }

  .shortcuts__list {
    --thread: rgba(217, 178, 106, 0.55);
    gap: 24px;
    padding: 0 var(--gutter) 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: none;
  }

  .shortcuts__list::-webkit-scrollbar {
    display: none;
  }

  .shortcuts__list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* Here each shortcut is its own paper pill, so the bar's frame and its
     crossing light have nothing to sit on. */
  .shortcuts__list::before,
  .shortcuts__list::after {
    display: none;
  }

  /* The pills are strung on the gold thread, a star between each pair. */
  .shortcuts__list li + li::before {
    top: 50%;
    bottom: auto;
    left: -24px;
    width: 24px;
    height: 1px;
    background: var(--thread);
  }

  .shortcuts__list li + li::after {
    left: -12px;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    background: linear-gradient(135deg, #f3dba6, #d2a556);
  }

  .shortcut {
    gap: 10px;
    min-height: 60px;
    padding: 9px 16px 9px 9px;
    border-radius: 999px;
    background: var(--paper);
    box-shadow: 0 0 0 1px rgba(241, 213, 155, 0.35);
  }

  .shortcut__thumb {
    width: 40px;
    height: 40px;
  }

  .shortcut__name {
    font-size: 13.5px;
  }

  .shortcut__price {
    font-size: 12px;
  }

  /* ---------- Section rhythm and type ---------- */

  .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .eyebrow__rule {
    width: 24px;
  }

  .tree-stage h2,
  .tree-stage--jumpers h2 {
    font-size: clamp(34px, 9.6vw, 42px);
    line-height: 1;
  }

  .setup h2,
  .split h2,
  .photography h2 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.02;
  }

  .tree-stage__intro,
  .setup__intro,
  .split__intro,
  .photography__intro {
    margin-top: 14px;
    font-size: 16px;
  }

  .tree-stage__content .button,
  .split--outdoor .split__inner > .button,
  .setup__content > .button {
    margin-top: 26px;
  }

  .helpers {
    margin-top: 10px;
    font-size: 13.5px;
  }

  .helpers a {
    display: inline-block;
    padding: 12px 0;
  }

  .button {
    min-height: 52px;
  }

  .price-tag {
    margin: 22px 0 26px;
  }

  .price-tag__value {
    font-size: 46px;
  }


  /* ---------- Product sections: intro, then a swipeable rail ---------- */

  .tree-stage__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .tree-stage--real {
    padding: 64px 0 88px;
  }

  .tree-stage--artificial {
    padding: 92px 0 64px;
  }

  .tree-stage--jumpers {
    padding: 64px 0 72px;
  }

  [data-rail] {
    display: flex;
    gap: 14px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }

  [data-rail]::-webkit-scrollbar {
    display: none;
  }

  [data-rail] > li {
    flex: 0 0 76%;
    scroll-snap-align: start;
  }

  .jumpers__cards > li {
    flex-basis: 66%;
  }

  .tree-card__name {
    margin-top: 16px;
    font-size: 28px;
  }

  .jumper-card .tree-card__name {
    font-size: 24px;
  }

  /* Dots under each rail: show position, and that there is more to see. */
  .rail-dots {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 10px;
  }

  .rail-dots button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .rail-dots button::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    margin: auto;
    border-radius: 50%;
    background: rgba(217, 178, 106, 0.35);
    transition: width 0.3s var(--ease), background-color 0.3s;
  }

  .rail-dots button[aria-current="true"]::before {
    width: 20px;
    border-radius: 4px;
    background: var(--gold);
  }

  .rail-dots {
    align-items: center;
  }

  .rail-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    margin-left: 4px;
    padding: 0 6px;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
    color: var(--gold-2);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: opacity 0.5s, transform 0.5s var(--ease);
  }

  .rail-hint span {
    font-size: 15px;
    letter-spacing: 0;
    animation: hint-nudge 1.6s ease-in-out infinite;
  }

  /* Once faded it is gone for the keyboard and screen readers too. */
  .rail-dots.is-swiped .rail-hint {
    visibility: hidden;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.5s, transform 0.5s var(--ease), visibility 0s 0.5s;
  }

  .tree-stage--artificial .rail-hint {
    color: var(--berry);
  }

  @keyframes hint-nudge {
    0%,
    100% {
      transform: translateX(0);
    }

    50% {
      transform: translateX(4px);
    }
  }

  .tree-stage--artificial .rail-dots button::before {
    background: rgba(107, 26, 42, 0.25);
  }

  .tree-stage--artificial .rail-dots button[aria-current="true"]::before {
    background: var(--berry);
  }

  /* ---------- Service sections: image first, then the story ---------- */

  .setup {
    padding: 84px 0 64px;
  }

  .setup__pair {
    --pair-thumb: 62px;
    --pair-thread: 20px;
    --pair-reach: 84px;
    --trim: 0.84;
    gap: 12px;
    margin-top: 38px;
    padding: 4px 14px 16px;
  }

  .setup__bauble {
    margin-bottom: 10px;
  }

  .setup__part {
    width: 96px;
  }

  /* Fits a 320px screen on one line; anything narrower may wrap. */
  .setup__content > .button {
    max-width: 100%;
    padding: 8px 24px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .setup__name {
    font-size: 17px;
  }

  .setup__price {
    font-size: 13.5px;
  }

  .setup__grid,
  .photography__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .split__media {
    aspect-ratio: 1;
  }

  .split--outdoor .split__media {
    order: -1;
  }

  /* Stacked, the photo and not the panel touches the skyline. */
  .events + .split--outdoor {
    --join-sky: none;
  }

  /* Warm tints hold each photo's place while it loads, so nothing looks empty. */
  .split--santa .split__media {
    background: radial-gradient(ellipse at 40% 45%, #6a2a24, #2a1210 75%);
  }

  .split--outdoor .split__media {
    background: linear-gradient(180deg, #1c2a4a 0%, #3a2a2a 60%, #2a2622 100%);
  }

  .photography__scene {
    background: #d9cdb8;
  }

  .split--santa .split__content,
  .split--outdoor .split__content {
    padding: 40px var(--gutter) 64px;
  }

  /* Leave room for the garland that hangs across the next seam. */
  .split--santa .split__content {
    padding-bottom: 92px;
  }

  .split--santa .split__media img {
    object-position: 60% 50%;
  }

  .split--outdoor .split__media img {
    object-position: 58% 50%;
  }

  .photography {
    padding: 64px 0 80px;
  }

  .photography__media {
    order: -1;
    margin-bottom: 26px;
  }

  .photography__print {
    right: -6px;
    bottom: -30px;
    width: 46%;
    padding: 7px 7px 22px;
  }

  .photography__print figcaption {
    bottom: 3px;
  }

  .photography__print figcaption a {
    font-size: 11.5px;
  }

  .photography__print::before {
    top: -10px;
    width: 64px;
    height: 20px;
    margin-left: -32px;
  }

  /* Narrowest phones: a slightly wider print so its note fits inside. */
  @media (max-width: 379.98px) {
    .photography__print {
      width: 56%;
    }

    .photography__print figcaption a {
      font-size: 11px;
    }
  }

  /* ---------- Garlands keep their presence on narrow screens ---------- */

  .garland img {
    width: 150%;
    max-width: none;
    margin-left: -25%;
  }

  /* ---------- Closing ---------- */

  .closing {
    /* Clip the widened garland sideways only; it still hangs upward. */
    overflow-x: clip;
    padding: 128px 0 92px;
  }

  .fairy-lights--closing {
    top: 70px;
    height: 46px;
  }

  .closing h2 {
    font-size: clamp(36px, 10.5vw, 46px);
  }

  .closing__lede {
    font-size: 16px;
  }

  .closing__actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    gap: 10px;
  }

  .closing__actions .button {
    width: 100%;
  }

  /* ---------- Footer ---------- */

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .site-footer li + li {
    margin-top: 0;
  }

  .site-footer__nav a {
    display: inline-block;
    padding: 11px 0;
  }

  .site-footer h3 {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .site-footer__bottom {
    flex-direction: column-reverse;
    gap: 14px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .site-footer__legal a,
  .site-footer__cookies {
    padding: 12px 0;
  }

  /* ---------- Cookie bar: full width at the bottom ---------- */

  .cookie-card {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    padding: 12px 12px 10px 16px;
    transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
  }

  .cookie-card__actions {
    gap: 8px;
  }

  .cookie-card__button {
    min-width: 84px;
    height: 40px;
  }

  .cookie-card__link {
    padding: 10px 0;
  }

  /* ---------- Questions ---------- */

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .faq h2 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.02;
  }

  .faq__intro {
    margin-top: 14px;
    font-size: 16px;
  }

  /* The review's paper panel (class name kept). */
  .bundle .button {
    margin-top: 18px;
  }

  .faq {
    /* The closing garland hangs across this seam. */
    padding: 64px 0 104px;
  }

  .faq__item summary {
    padding: 17px 50px 17px 0;
    font-size: 19px;
  }

  .faq__icon {
    width: 30px;
    height: 30px;
    margin-top: -15px;
  }

  .faq__answer p {
    padding: 0 8px 20px 0;
    font-size: 15.5px;
  }

  /* ---------- What's on: heading, honeycomb, then a swipeable row of tickets ---------- */

  .events {
    --comb-gap: 4px;
    /* The honeycomb fills the width: four cells across. */
    --cell: calc((100vw - 2 * var(--gutter) - 3 * var(--comb-gap)) / 4);
    --ticket-w: min(76vw, 300px);
    --ticket-h: 368px;
    --art-h: 148px;
    --notch: 9px;
    --bleed: var(--gutter);
    padding: 64px 0 calc(var(--skyline-h) + 26px);
  }

  .events h2 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.02;
  }

  .events__lede {
    margin-top: 14px;
    font-size: 16px;
  }

  .events__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    margin-top: 30px;
  }

  .comb__name {
    font-size: clamp(10px, 2.95vw, 12.5px);
    letter-spacing: 0;
  }

  .comb__bee {
    --bee: 21px;
  }

  .comb:not(.is-arriving) .comb__cell[aria-pressed="true"] .comb__label,
  .comb__cell.is-held .comb__label {
    transform: translateY(9px);
  }

  .events__more {
    margin-top: 20px;
    font-size: 15px;
  }

  .events__note {
    font-size: 12px;
  }

  .events__nearest {
    font-size: 22px;
  }

  .events__arrows {
    display: none;
  }

  .events__row {
    gap: 14px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 18px var(--gutter) 36px;
    scroll-padding: 0 var(--gutter);
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .events__item {
    scroll-snap-align: start;
  }

  .events__foot {
    justify-content: center;
    margin-top: -10px;
  }

  .events__thread {
    max-width: 120px;
  }

  .events__foot.is-swiped .events__hint {
    visibility: hidden;
    opacity: 0;
    transform: translateX(8px);
  }

  /* ---------- Motion: shorter travel on narrow screens ---------- */

  html.js [data-choreo="left"] {
    --from-x: -18px;
  }

  html.js [data-choreo="right"] {
    --from-x: 18px;
  }

  html.js [data-slide="left"]:not(.is-in) {
    transform: translate3d(-24px, 0, 0);
  }

  html.js [data-slide="right"]:not(.is-in) {
    transform: translate3d(24px, 0, 0);
  }

  /* Inside swipeable rails nothing moves on its own (iOS Safari shakes when
     items travel inside a snapping scroller). Instead the whole rail glides
     in from the right as one piece, and the cards inside simply appear. */
  html.js .tree-stage__trees.is-pending > li,
  html.js .tree-stage__trees.is-entered > li {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
  }

  html.js .tree-stage__trees[data-rail] {
    transition: opacity 0.6s ease-out, transform 1s var(--ease-arrive);
  }

  html.js .tree-stage__trees[data-rail].is-pending {
    opacity: 0;
    transform: translate3d(56px, 0, 0);
  }

  html.js .jumpers__cards .reveal:not(.is-visible) {
    transform: none;
  }

  /* Hover-only flourishes stay off on touch. */
  .tree-card:hover .tree-card__media img,
  .setup__media:hover img,
  .photography__scene:hover img {
    transform: none;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  /* The sky's flickering stars hold still. */
  .events__star {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  html.js [data-choreo] > *,
  html.js [data-choreo] .word__inner,
  html.js [data-choreo] .countdown__unit,
  html.js .site-header,
  html.js .trust li,
  html.js .trust__icon,
  html.js .shortcuts__list li,
  html.js [data-rise],
  html.js [data-slide] {
    opacity: 1 !important;
    transform: none !important;
  }

  html.js [data-choreo] .eyebrow__rule {
    width: 32px !important;
  }

  html.js [data-choreo] .eyebrow__rule::after {
    transform: rotate(45deg) !important;
  }

  [data-parallax] {
    scale: none;
    translate: none;
  }

  html.js .reveal,
  html.js .tree-stage__trees.is-pending > li {
    opacity: 1;
    transform: none;
  }

  html.js .curtain:not(.is-open) img {
    clip-path: none;
    transform: none;
  }

  /* No veil over the Outdoor decorating photo: the house is simply lit. */
  html.js .split--outdoor [data-home-light]::after {
    display: none;
  }

  html.js [data-prints]:not(.is-in) .photography__print {
    opacity: 1;
    transform: rotate(3deg);
  }

  .twinkle {
    opacity: 0.6;
  }

  html.js .hero__image,
  html.js .hero__twinkles {
    transition: none;
  }

  html.js .fairy-lights .fairy-lights__socket {
    opacity: 1;
  }
}
