/* =========================================================
   Caddies Christmas Experience — a classic Father Christmas
   Materials: parchment, kraft, plum velvet, satin ribbon, antique gold
   ========================================================= */

:root {
  --velvet-900: #1c0610;
  --velvet-800: #2a0a16;
  --velvet-700: #3b0f1f;
  --velvet-600: #52162b;
  --ribbon: #b3152d;
  --ribbon-dark: #7d0c1e;
  --ribbon-light: #d23149;
  --gold: #c9a35b;
  --gold-light: #ecd59f;
  --gold-dark: #9b7636;
  --parchment: #f1e5cb;
  --parchment-hi: #fbf5e7;
  --parchment-lo: #e3d0aa;
  --kraft: #b98f62;
  --ink: #3b2416;
  --ink-2: #5d4330;
  --ink-3: #8a6d55;
  --rule: rgba(59, 36, 22, 0.22);
  --holly: #2e4d35;
  --berry: #a8172c;
  --cream: #f7eedc;
  --cream-2: rgba(247, 238, 220, 0.8);
  --cream-3: rgba(247, 238, 220, 0.58);

  --display: 'Cormorant Garamond', 'Cormorant', Garamond, Georgia, serif;
  --serif: 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;
  --script: 'Pinyon Script', 'Snell Roundhand', 'Apple Chancery', cursive;

  --gutter: 18px;
  --topbar-h: 62px;

  /* paper fibre + velvet pile, generated noise */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .1 0 0 0 .42 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --pile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .8 0 0 0 0 .85 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --parchment-art: url(../img/art/parchment.webp);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--cream);
  background: var(--velvet-800);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* decorations hang past the edges on purpose; clip them sideways without breaking position: sticky */
main, .footer { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

#magic { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }

/* ---------- materials ---------- */

.velvet {
  color: var(--cream);
  background:
    var(--pile),
    radial-gradient(110% 60% at 12% 0%, rgba(128, 32, 60, 0.55), transparent 62%),
    radial-gradient(90% 70% at 100% 75%, rgba(98, 22, 46, 0.55), transparent 65%),
    radial-gradient(70% 50% at 40% 110%, rgba(20, 2, 8, 0.6), transparent 70%),
    linear-gradient(172deg, var(--velvet-700), var(--velvet-900));
}

.paper {
  color: var(--ink);
  background:
    var(--grain),
    radial-gradient(120% 80% at 18% 8%, rgba(255, 251, 238, 0.65), transparent 58%),
    radial-gradient(90% 70% at 88% 92%, rgba(150, 102, 52, 0.2), transparent 65%),
    var(--parchment-art) center / 520px,
    var(--parchment);
  box-shadow: inset 0 0 50px rgba(128, 84, 36, 0.22), inset 0 0 3px rgba(90, 58, 26, 0.35);
}

/* ---------- type ---------- */

.smallcaps {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-variant-caps: all-small-caps;
  font-size: 17px;
  letter-spacing: 0.16em;
  font-weight: 500;
}
.gold { color: var(--gold); }
.script { font-family: var(--script); font-weight: 400; line-height: 1.15; }

.title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 10.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.title em { font-style: italic; color: var(--gold); }
.band--paper .title em, .band--kraft .title em { color: var(--berry); }

.center { text-align: center; }
.section__head { margin: 0 auto 30px; max-width: 760px; }

/* ink flourish divider (draws itself) */
.flourish { display: block; width: min(300px, 80%); height: 38px; margin: 18px auto; color: var(--gold-dark); }
/* set on the <svg>: dash properties inherit into the <use> shadow tree */
.js .ink-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.55, .1, .3, 1); }
.js .ink-draw.is-in { stroke-dashoffset: 0; }

/* ---------- buttons: satin ribbon ---------- */

.btn {
  --h: 56px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 42px;
  border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--serif); font-weight: 500; font-size: 18px;
  font-variant-caps: all-small-caps; letter-spacing: 0.14em;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, filter .2s ease;
  white-space: nowrap;
}
@media (max-width: 380px) { .btn { padding: 0 30px; letter-spacing: .1em; } }
.btn--ribbon {
  color: var(--gold-light);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 34%, rgba(0, 0, 0, 0) 62%, rgba(40, 0, 8, 0.28) 100%),
    linear-gradient(100deg, transparent 32%, rgba(255, 214, 220, 0.24) 46%, transparent 60%) 0 0 / 260% 100%,
    var(--ribbon);
  clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 50%, 100% 100%, 0 100%, 13px 50%);
  text-shadow: 0 1px 0 rgba(70, 0, 12, 0.6);
  animation: satin 7s ease-in-out infinite;
}
/* woven gold edges, like a printed ribbon */
.btn--ribbon::before {
  content: ""; position: absolute; inset: 5px 0; z-index: -1; pointer-events: none;
  border-top: 1px solid rgba(236, 213, 159, 0.5); border-bottom: 1px solid rgba(236, 213, 159, 0.5);
}
.btn--ribbon:hover { filter: brightness(1.08) saturate(1.05); }
.btn--ribbon:active { transform: scale(0.97); }
.btn--ribbon:focus-visible { outline: none; filter: brightness(1.18); }
.btn--ribbon:focus-visible::before { border-width: 2px; border-color: var(--gold-light); }
@keyframes satin { 0%, 100% { background-position: 0 0, 100% 0, 0 0; } 50% { background-position: 0 0, 0% 0, 0 0; } }
.btn--sm { --h: 44px; padding: 0 28px; font-size: 16px; }
.btn--lg { --h: 62px; padding: 0 52px; font-size: 20px; }
.btn--block { width: 100%; }
.btn[disabled] { filter: grayscale(.6) brightness(.85); opacity: .6; cursor: not-allowed; animation: none; }

.linkbtn {
  background: none; border: 0; padding: 10px 2px; cursor: pointer;
  font-family: var(--serif); font-style: italic; font-size: 17px;
  color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1px;
}

/* ---------- top bar ---------- */

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  height: calc(var(--topbar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  transition: background .4s ease, box-shadow .4s ease;
}
.topbar.is-scrolled {
  background: var(--pile), linear-gradient(180deg, rgba(42, 10, 22, .96), rgba(32, 7, 17, .94));
  box-shadow: 0 1px 0 rgba(201, 163, 91, .35), 0 10px 30px -12px rgba(0, 0, 0, .7);
}
.topbar__brand { margin-right: auto; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; pointer-events: none; }
.topbar.is-scrolled .topbar__brand { opacity: 1; transform: none; pointer-events: auto; }
.topbar__brand img { height: 42px; width: auto; }
.topbar__nav { display: none; }
.topbar .btn { margin-left: auto; }

/* ---------- hero ---------- */

.hero { position: relative; isolation: isolate; padding: 0 var(--gutter) 64px; overflow: hidden; }
/* phones/tablets: Santa's face stays clear at the top; the text starts below his beard over a velvet fade */
.hero__media { position: absolute; inset: 0 0 auto 0; height: max(64svh, 460px); z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; animation: drift 22s ease-out both; filter: saturate(.92) contrast(1.02); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    var(--pile),
    linear-gradient(180deg, rgba(28, 6, 16, .5) 0%, rgba(28, 6, 16, 0) 13%, rgba(28, 6, 16, 0) 33%, rgba(42, 10, 22, .55) 43%, rgba(42, 10, 22, .87) 55%, var(--velvet-800) 76%),
    radial-gradient(130% 75% at 50% 25%, transparent 55%, rgba(20, 3, 10, .7));
}
@keyframes drift { from { transform: scale(1.14); } to { transform: scale(1); } }

.hero__content { position: relative; max-width: 560px; margin: 0 auto; padding-top: max(30svh, 210px); text-align: center; }
.hero__kicker { color: var(--gold-light); text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 2px 14px rgba(0, 0, 0, .9); }
.hero__kicker span { color: var(--gold); margin: 0 .4em; }

.logo-wrap { position: relative; width: min(64vw, 400px); margin: 0 auto 4px; }
.logo-shine { position: relative; filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .8)) drop-shadow(0 0 26px rgba(201, 163, 91, .25)); }
.logo-shine img { width: 100%; height: auto; }
.logo-shine::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 246, 214, .95) 48%, transparent 58%);
  background-size: 260% 100%; background-position: 130% 0;
  -webkit-mask: url(../img/logo_800.webp) center / 100% 100% no-repeat;
  mask: url(../img/logo_800.webp) center / 100% 100% no-repeat;
  mix-blend-mode: soft-light;
  animation: logo-shine 7s ease-in-out 1.5s infinite;
}
@keyframes logo-shine { 0% { background-position: 130% 0; } 30%, 100% { background-position: -30% 0; } }

.hero__tagline {
  margin: 2px 0 40px;
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 7vw, 38px); line-height: 1.12;
  color: var(--cream); text-shadow: 0 3px 18px rgba(0, 0, 0, .9); text-wrap: balance;
}
.hero__tagline em { color: var(--gold-light); }

.hero__review { display: inline-block; margin-top: 26px; color: var(--cream-2); font-style: italic; font-size: 16px; text-decoration: none; }
.stars { color: var(--gold); letter-spacing: 3px; font-style: normal; }

/* ---------- Early Bird ribbon: a satin banner with a robin perched on it ---------- */
.earlybird {
  --tail: 34px;
  /* top margin leaves room for the robin (it collapses with the tagline's margin) */
  position: relative; display: block; width: min(100%, 460px); margin: 66px auto 34px; padding: 0 var(--tail);
  border: 0; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 12px 14px rgba(10, 0, 4, .45)) drop-shadow(0 2px 2px rgba(10, 0, 4, .35));
}
.earlybird[hidden] { display: none; }
/* the swallowtail ends, tucked behind the band */
.earlybird::before, .earlybird::after {
  content: ""; position: absolute; top: 16px; bottom: -14px; width: calc(var(--tail) + 22px);
  background: linear-gradient(180deg, #9c1128 0%, var(--ribbon-dark) 100%);
}
.earlybird::before { left: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 15px 50%); }
.earlybird::after { right: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 50%, 100% 100%, 0 100%); }
/* where the band folds back into the tails */
.earlybird__fold { position: absolute; z-index: 1; bottom: -14px; width: 22px; height: 14px; background: #4a0512; }
.earlybird__fold--l { left: var(--tail); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.earlybird__fold--r { right: var(--tail); clip-path: polygon(0 0, 100% 0, 0 100%); }
.earlybird__band {
  position: relative; z-index: 1; display: block; padding: 10px 20px 13px;
  color: var(--gold-light); text-shadow: 0 1px 0 rgba(70, 0, 12, .6);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 34%, rgba(0, 0, 0, 0) 62%, rgba(40, 0, 8, .3) 100%),
    linear-gradient(100deg, transparent 32%, rgba(255, 214, 220, .24) 46%, transparent 60%) 0 0 / 260% 100%,
    var(--ribbon);
  animation: satin 7s ease-in-out infinite;
  transition: transform .25s ease;
}
/* gold stitching along both edges */
.earlybird__band::before {
  content: ""; position: absolute; inset: 5px 0; pointer-events: none;
  border-top: 1px dashed rgba(236, 213, 159, .6); border-bottom: 1px dashed rgba(236, 213, 159, .6);
}
.earlybird__script { display: block; font-family: var(--script); font-size: clamp(31px, 8.4vw, 40px); line-height: 1.1; color: #fff2d6; text-shadow: 0 2px 0 rgba(70, 0, 12, .55), 0 0 18px rgba(255, 210, 150, .25); }
.earlybird__sub, .earlybird__when {
  display: block; font-family: var(--serif); font-variant-caps: all-small-caps;
  font-size: 15px; letter-spacing: .13em; line-height: 1.3;
}
.earlybird__sub { margin-top: 1px; }
.earlybird__when { color: #f6dfa6; font-weight: 600; }
.earlybird__star { color: #f3cf7a; margin: 0 .3em; font-size: .9em; }
.earlybird__robin {
  position: absolute; z-index: 2; width: 74px; height: auto; left: calc(var(--tail) - 12px); bottom: calc(100% - 26px);
  transform-origin: 50% 92%; transform: rotate(-5deg); pointer-events: none;
  filter: drop-shadow(0 3px 3px rgba(20, 5, 0, .4));
  animation: robin-bob 7s ease-in-out 2s infinite;
}
/* now and then the robin gives a little hop */
@keyframes robin-bob {
  0%, 82%, 100% { transform: rotate(-5deg) translateY(0); }
  86% { transform: rotate(-2deg) translateY(-7px); }
  90% { transform: rotate(-6deg) translateY(0); }
  93% { transform: rotate(-3deg) translateY(-3px); }
  96% { transform: rotate(-5deg) translateY(0); }
}
.earlybird:hover .earlybird__band { transform: translateY(-2px); filter: brightness(1.06); }
.earlybird:active .earlybird__band { transform: scale(.98); }
.earlybird:focus-visible { outline: none; }
.earlybird:focus-visible .earlybird__band::before { border-style: solid; border-color: var(--gold-light); }
@media (min-width: 960px) {
  .earlybird { --tail: 40px; margin: 76px auto 36px; }
  .earlybird__robin { width: 86px; bottom: calc(100% - 30px); }
  .earlybird__sub, .earlybird__when { font-size: 16px; }
}

/* the invitation card */
.invite-wrap { position: relative; filter: drop-shadow(0 22px 26px rgba(10, 0, 4, .55)) drop-shadow(0 3px 3px rgba(10, 0, 4, .35)); }
.invite { position: relative; padding: 28px 0 10px; text-align: center; }
.invite::before { /* engraved double frame */
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 1px solid rgba(155, 118, 54, .55); box-shadow: 0 0 0 3px transparent, inset 0 0 0 3px rgba(241, 229, 203, 0), inset 0 0 0 4px rgba(155, 118, 54, .3);
}
.invite__kicker { margin: 0 24px 2px; color: var(--ink-2); font-size: 16px; }
.invite__title { margin: 0 22px; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 8.4vw, 40px); line-height: 1.04; color: var(--ink); text-wrap: balance; }
.invite__title em { font-family: var(--script); font-style: normal; font-weight: 400; color: var(--berry); font-size: 1.15em; padding: 0 .08em; }
.invite__sub { display: none; margin: 10px 26px 14px; font-style: italic; color: var(--ink-2); font-size: 17px; line-height: 1.4; }
@media (min-width: 420px) and (min-height: 760px) { .invite__sub { display: block; } }
.invite .datestrip { margin-top: 10px; }
.invite__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 22px 12px; padding-top: 10px; border-top: 1px solid var(--rule); text-align: left; }
.invite__foot p { margin: 0; font-size: 15px; line-height: 1.3; color: var(--ink); }
.invite__foot p span:not([data-price]) { color: var(--ink-3); font-style: italic; }
.invite__foot .linkbtn { color: var(--ink); text-decoration-color: var(--berry); flex-shrink: 0; }
.invite__sprig { position: absolute; z-index: 2; width: 190px; height: auto; right: -40px; top: -38px; transform: rotate(8deg); pointer-events: none; filter: drop-shadow(0 4px 4px rgba(20, 5, 0, .35)); }
.invite__seal { position: absolute; z-index: 2; width: 66px; height: 66px; left: -10px; top: -18px; transform: rotate(-12deg); }

/* date stamps */
.datestrip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 22px 16px; scroll-padding-left: 22px; scrollbar-width: none;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent);
  mask: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent);
}
.datestrip::-webkit-scrollbar { display: none; }

.datechip {
  position: relative; flex: 0 0 auto; scroll-snap-align: start;
  display: grid; justify-items: center; gap: 0;
  width: 70px; padding: 12px 0 14px; border: 0; cursor: pointer;
  color: var(--ink);
  background: var(--grain), var(--parchment-hi);
  box-shadow: inset 0 0 0 6px var(--parchment-hi), inset 0 0 0 7px rgba(155, 118, 54, .55);
  /* perforated postage-stamp edge: holes round the rim, solid in the middle */
  -webkit-mask: radial-gradient(circle 3.2px at 4px 4px, transparent 97%, #000) -4px -4px / 8px 8px round, linear-gradient(#000 0 0) center / calc(100% - 8px) calc(100% - 8px) no-repeat;
  mask: radial-gradient(circle 3.2px at 4px 4px, transparent 97%, #000) -4px -4px / 8px 8px round, linear-gradient(#000 0 0) center / calc(100% - 8px) calc(100% - 8px) no-repeat;
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1);
  -webkit-tap-highlight-color: transparent;
}
.datechip:nth-child(odd) { transform: rotate(-1.5deg); }
.datechip:nth-child(even) { transform: rotate(1.2deg); }
.datechip:hover, .datechip:focus-visible { transform: translateY(-3px) rotate(0); }
.datechip:active { transform: scale(.94); }
.datechip__dow { font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 14px; color: var(--ink-3); }
.datechip__day { font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1; margin: 1px 0 2px; }
.datechip__mon { font-style: italic; font-size: 14px; color: var(--ink-2); }
.datechip__star { position: absolute; top: 8px; right: 10px; font-size: 11px; color: var(--gold-dark); }
.datechip .dot { position: absolute; top: 10px; left: 11px; }
.datechip.is-soldout { opacity: .45; cursor: not-allowed; }
.datechip.is-soldout .datechip__day { text-decoration: line-through; text-decoration-color: var(--berry); }
.datechip.is-loading { pointer-events: none; color: transparent; animation: shimmer 1.4s ease-in-out infinite alternate; }
@keyframes shimmer { from { opacity: .45; } to { opacity: .85; } }
.quickbook__empty { margin: 0; padding: 8px 0; font-style: italic; color: var(--ink-2); }

/* availability marks: a holly berry means "few left" */
.dot { width: 7px; height: 7px; border-radius: 50%; background: transparent; }
.dot--limited { background: radial-gradient(circle at 35% 30%, #ef6274, var(--berry) 55%, #6e0c1a); box-shadow: 0 1px 1px rgba(60, 0, 10, .4); }
.dot--soldout { background: transparent; }

/* ---------- bands (paper / kraft) with torn edges ---------- */

/* paper bands butt straight onto their neighbours so the torn edges lie on the velvet itself (no seam) */
.band { position: relative; z-index: 2; padding: 70px var(--gutter) 74px; margin: 0; }
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 24px; pointer-events: none;
  -webkit-mask: url(../img/decor/torn.svg) 0 0 / 1200px 24px repeat-x;
  mask: url(../img/decor/torn.svg) 0 0 / 1200px 24px repeat-x;
}
.band::before { top: -23px; }
.band::after { bottom: -23px; transform: scaleY(-1); }

.band--paper { color: var(--ink); background: var(--grain), radial-gradient(80% 50% at 50% 0%, rgba(255, 251, 238, .55), transparent 70%), var(--parchment-art) center / 520px, var(--parchment); }
/* torn edges use the same paper as the band they belong to */
.band--paper::before, .band--paper::after { background: var(--grain), var(--parchment-art) center / 520px, var(--parchment); }

.band--kraft { color: var(--ink); background: url(../img/art/kraft-pattern.webp) center / 460px, #d4a070; }
.band--kraft::before, .band--kraft::after { background: url(../img/art/kraft-pattern.webp) center / 460px, #d4a070; }
.band--kraft .section__head { position: relative; display: inline-block; left: 50%; transform: translateX(-50%); padding: 18px 28px 6px; background: var(--grain), rgba(241, 229, 203, .94); box-shadow: 0 10px 24px -12px rgba(40, 20, 5, .6); }
.band--kraft .title { font-size: clamp(36px, 9vw, 60px); }

/* garland repeats edge to edge on any screen width */
.band__garland {
  position: absolute; left: 0; right: 0; top: -40px; z-index: 3; pointer-events: none;
  height: calc(min(1000px, 160vw) * .09);
  background: url(../img/decor/garland.svg) center top / min(1000px, 160vw) auto repeat-x;
}

.section { position: relative; padding: 76px var(--gutter); }

/* ---------- the letter ---------- */

.letter { position: relative; max-width: 760px; margin: 0 auto; }
.letter__robin { position: absolute; right: -10px; top: -62px; width: 96px; height: auto; transform: rotate(var(--r)); pointer-events: none; filter: drop-shadow(0 6px 6px rgba(60, 30, 10, .25)); z-index: 4; }
.letter__greeting { margin: 10px 0 24px; padding-right: 70px; font-weight: 400; font-size: clamp(50px, 13.5vw, 84px); line-height: 1.12; color: var(--ink); text-wrap: balance; }
.letter__lede { margin: 0; font-size: 21px; line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.letter__lede::first-letter { font-family: var(--display); font-size: 3.1em; float: left; line-height: .82; padding: 6px 8px 0 0; color: var(--berry); }

.acts { display: grid; gap: 46px; margin: 26px 0 10px; }
.act { margin: 0; }
.print {
  position: relative; padding: 10px 10px 12px; background: var(--parchment-hi);
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 1px 1px rgba(60, 35, 15, .25), 0 16px 30px -14px rgba(60, 35, 15, .6);
}
.print img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 50% 26%; filter: sepia(.12) saturate(.95); }
@media (min-width: 720px) { .print img { aspect-ratio: 4 / 4.8; } }
/* antique photo-album corners */
.print::before, .print::after { content: ""; position: absolute; width: 34px; height: 34px; background: linear-gradient(135deg, #2b1a10 50%, transparent 50.5%); opacity: .82; }
.print::before { left: 2px; top: 2px; }
.print::after { right: 2px; bottom: 4px; transform: rotate(180deg); }
/* show photographs dealt onto the pile as you scroll (positions set inline, motion set by app.js) */
.pile { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pile__photo {
  position: absolute; left: var(--px); top: var(--py); width: 80%; margin: 0;
  padding: 7px 7px 0; background: var(--parchment-hi); rotate: var(--pr);
  box-shadow: 0 2px 3px rgba(40, 20, 5, .3), 0 20px 30px -12px rgba(40, 20, 5, .65);
  will-change: transform, opacity;
}
.pile__photo img { width: 100%; aspect-ratio: 868 / 560; object-fit: cover; filter: sepia(.1) saturate(.95); }
.pile__photo figcaption { padding: 3px 2px 5px; font-family: var(--script); font-size: 21px; line-height: 1.15; color: var(--ink); text-align: center; }
.js .pile__photo { opacity: 0; }
.pile.is-static .pile__photo { opacity: 1; transform: none; pointer-events: auto; }
.act figcaption { padding: 22px 6px 0; }
.act > figcaption { padding-top: 34px; }
.act__label { color: var(--berry); font-size: 15px; margin-bottom: 2px; }
.act h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.05; color: var(--ink); }
.act__time { margin: 2px 0 10px; font-style: italic; color: var(--ink-3); }
.act p:last-child { margin: 0; color: var(--ink-2); }

.letter__ps { margin: 40px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 19px; }
.letter__ps p { margin: 0; }
.letter__ps .script { font-size: 34px; color: var(--berry); margin-right: 6px; line-height: 0; }

.letter__sign { position: relative; margin-top: 34px; padding-right: 100px; }
.letter__sign p { margin: 0; font-style: italic; color: var(--ink-2); }
.letter__signature { font-size: clamp(48px, 13vw, 70px); line-height: 1.25; color: var(--ink) !important; font-style: normal !important; margin-top: 22px !important; }
.seal { pointer-events: none; }
.letter__sign .seal { position: absolute; right: 0; bottom: 4px; width: 94px; height: 94px; }

/* (all of these only hide things when JavaScript is running to reveal them again) */
/* handwriting reveal */
.js .script-write { clip-path: inset(-30% 100% -30% -6%); transition: clip-path 2.4s cubic-bezier(.45, .05, .3, 1); }
.js .script-write.is-in { clip-path: inset(-30% -6% -30% -6%); }

/* wax seal press */
.seal--press { transform: rotate(-10deg); }
.js .seal--press { opacity: 0; transform: scale(1.7) rotate(-30deg); transition: opacity .3s ease .5s, transform .6s cubic-bezier(.3, 1.5, .45, 1) .5s; }
.js .seal--press.is-in { opacity: 1; transform: scale(1) rotate(-10deg); }

/* paper floats down and settles */
.reveal { transform: rotate(var(--r, 0deg)); }
.js .reveal { opacity: 0; transform: translateY(34px) rotate(calc(var(--r, 0deg) * 3)); transition: opacity 1.1s ease var(--d, 0s), transform 1.4s cubic-bezier(.2, .75, .2, 1) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: rotate(var(--r, 0deg)); }

/* ---------- chimney scroll scene ---------- */

.chimney { position: relative; height: 300vh; }
.chimney__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.chimney__stage { position: absolute; inset: 0; background: #0b0406; }
.chimney__poster, .chimney__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the poster is the video's first frame, so the hand-over is seamless */
.chimney__video { opacity: 0; transition: opacity .5s ease; }
.chimney.has-video .chimney__video { opacity: 1; }
.chimney.has-video .chimney__poster { opacity: 0; transition: opacity .5s ease .2s; }
/* wider than the widescreen video: keep Santa's hat and boots in view, the edges melt into the dark */
@media (min-aspect-ratio: 16/9) { .chimney__poster, .chimney__video { object-fit: contain; } }
/* the video brings its own fire, so the overlay glow just breathes softly */
.chimney.has-video .chimney__glow { animation-name: flicker-soft; }
@keyframes flicker-soft { 0% { opacity: .05; } 45% { opacity: .11; } 100% { opacity: .07; } }


.chimney__glow { position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none; background: radial-gradient(70% 45% at 50% 82%, rgba(255, 158, 60, 1), transparent 70%); opacity: calc(.1 + var(--p, 0) * .5); animation: flicker 2.4s infinite alternate ease-in-out; }
.chimney__shade { position: absolute; inset: 0; background: var(--pile), linear-gradient(180deg, var(--velvet-800) 0%, rgba(42, 10, 22, .55) 14%, rgba(42, 10, 22, 0) 32%, rgba(42, 10, 22, 0) 48%, rgba(30, 6, 14, .85) 74%, var(--velvet-800) 100%); }
@keyframes flicker { 0% { opacity: calc(.08 + var(--p, 0) * .45); } 40% { opacity: calc(.14 + var(--p, 0) * .55); } 70% { opacity: calc(.1 + var(--p, 0) * .48); } 100% { opacity: calc(.16 + var(--p, 0) * .55); } }
.chimney__eyebrow { position: absolute; top: calc(var(--topbar-h) + env(safe-area-inset-top) + 14px); left: 0; right: 0; text-align: center; margin: 0; color: var(--gold-light); text-shadow: 0 2px 10px #000; }
.chimney__copy { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 760px; padding: 0 var(--gutter) calc(104px + env(safe-area-inset-bottom)); text-align: center; }
.chimney__lines { display: grid; }
.chimney__line {
  grid-area: 1 / 1; margin: 0; align-self: end;
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(36px, 9.5vw, 66px); line-height: 1.05; text-wrap: balance;
  text-shadow: 0 4px 26px rgba(0, 0, 0, .95);
  opacity: 0; transform: translateY(18px); filter: blur(6px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}
.chimney__line em { color: var(--gold-light); }
.chimney__line.is-current { opacity: 1; transform: none; filter: none; }
.chimney__cta { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; margin-top: 16px; }
.chimney__cta p { margin: 0 auto 18px; color: var(--cream-2); font-style: italic; max-width: 36ch; }
.chimney.is-end .chimney__cta { opacity: 1; transform: none; pointer-events: auto; }
.chimney__hint { position: absolute; left: 0; right: 0; bottom: calc(36px + env(safe-area-inset-bottom)); margin: 0; font-style: italic; font-size: 15px; color: var(--cream-3); transition: opacity .3s; }
.chimney.is-started .chimney__hint { opacity: 0; }
.chimney.is-static { height: auto; }
.chimney.is-static .chimney__sticky { position: relative; }
.chimney.is-static .chimney__line:last-child, .chimney.is-static .chimney__cta { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.chimney.is-static .chimney__hint { display: none; }

/* wide screens: like the hero — the words on the velvet to the left, Santa's fireplace right of centre */
@media (min-width: 960px) and (min-aspect-ratio: 5/4) {
  .chimney { --chim-edge: max(44px, calc((100% - 1260px) / 2 + 44px)); }
  .chimney__poster, .chimney__video { transform: translateX(17%); }
  .chimney__glow { background: radial-gradient(34% 45% at 67% 80%, rgba(255, 158, 60, 1), transparent 70%); }
  .chimney__shade {
    background:
      var(--pile),
      linear-gradient(90deg, var(--velvet-800) 0%, var(--velvet-800) 16%, rgba(42, 10, 22, .8) 30%, rgba(42, 10, 22, 0) 50%),
      linear-gradient(180deg, var(--velvet-800) 0%, rgba(42, 10, 22, 0) 18%, rgba(42, 10, 22, 0) 76%, var(--velvet-800) 100%);
  }
  .chimney__eyebrow { left: var(--chim-edge); right: auto; text-align: left; top: calc(var(--topbar-h) + 40px); }
  .chimney__copy { left: var(--chim-edge); right: auto; margin: 0; max-width: min(560px, 40vw); padding: 0 0 calc(96px + env(safe-area-inset-bottom)); text-align: left; }
  .chimney__line { font-size: clamp(48px, 4.6vw, 72px); }
  .chimney__cta p { margin-left: 0; }
}

/* ---------- gift tags ---------- */

.tags { padding-top: 90px; }
.taglist { list-style: none; margin: 0 auto 40px; padding: 0; max-width: 980px; display: grid; gap: 44px; }
.tag { position: relative; padding-top: 46px; }
.tag::before { /* twine */
  content: ""; position: absolute; left: 50%; top: 0; width: 46px; height: 62px; margin-left: -6px;
  border-left: 2px solid #c8a777; border-top: 2px solid #c8a777; border-radius: 100% 0 0 0; opacity: .9;
  transform: rotate(-12deg); transform-origin: bottom left;
}
.tag__card {
  position: relative; max-width: 330px; margin: 0 auto; padding: 46px 26px 26px; text-align: center; color: var(--ink);
  background: var(--grain), linear-gradient(170deg, #d8b886, #c49c6a);
  clip-path: polygon(16% 0, 84% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
  transform-origin: 50% -40px;
  animation: sway 6s ease-in-out var(--d, 0s) infinite alternate;
}
.tag__card::before { /* reinforced hole */
  content: ""; position: absolute; left: 50%; top: 16px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--velvet-800); box-shadow: 0 0 0 4px #e9d3ac, 0 0 0 5px rgba(90, 60, 30, .35);
}
.tag__card::after { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(59, 36, 22, .35); clip-path: polygon(16% 0, 84% 0, 100% 15%, 100% 100%, 0 100%, 0 15%); pointer-events: none; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
.tag__num { display: block; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; color: var(--ribbon-dark); }
.tag h3 { margin: 6px 0 4px; font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.1; }
.tag p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.45; }

.note-wrap { max-width: 460px; margin: 0 auto 40px; filter: drop-shadow(0 18px 22px rgba(10, 0, 4, .55)); }
.note { padding: 24px 24px 22px; }
.note__title { margin: 0 0 12px; font-size: 40px; color: var(--berry); }

/* timeline (letter + sheet) */
.tl { position: relative; display: grid; gap: 12px; }
.tl::before { content: ""; position: absolute; left: 81px; top: 10px; bottom: 10px; width: 1px; background: repeating-linear-gradient(var(--ink-3) 0 4px, transparent 4px 8px); }
.tl__item { position: relative; display: grid; grid-template-columns: 68px 28px 1fr; align-items: center; font-size: 18px; line-height: 1.25; }
.tl__time { font-family: var(--display); font-weight: 600; font-size: 20px; text-align: right; padding-right: 6px; color: var(--ink-2); font-variant-numeric: lining-nums; }
.tl__dot { width: 11px; height: 11px; border-radius: 50%; justify-self: center; background: var(--parchment); border: 1.5px solid var(--ink-3); position: relative; z-index: 1; }
.tl__item small { display: block; font-style: italic; font-size: 15px; color: var(--ink-3); }
.tl__item--key .tl__time { color: var(--berry); }
.tl__item--key .tl__dot { border: 0; background: radial-gradient(circle at 35% 30%, #ef6274, var(--berry) 55%, #6e0c1a); width: 13px; height: 13px; }
.tl__item--key > span:last-child { font-weight: 600; color: var(--ink); }

/* ---------- postcards ---------- */

.postcards, .gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: safe center;
  margin: 0 calc(var(--gutter) * -1); padding: 16px var(--gutter) 30px; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.postcards::-webkit-scrollbar, .gallery::-webkit-scrollbar { display: none; }
.postcard-wrap { flex: 0 0 min(86%, 380px); scroll-snap-align: center; filter: drop-shadow(0 16px 18px rgba(50, 25, 5, .45)); }
.postcard { position: relative; min-height: 270px; padding: 22px 22px 20px; }
.postcard::before { content: ""; position: absolute; left: 62%; top: 22px; bottom: 22px; width: 1px; background: var(--rule); display: none; }
.postcard__stamp {
  position: absolute; right: 16px; top: 16px; width: 62px; height: 76px; padding: 5px; background: var(--parchment-hi);
  -webkit-mask: radial-gradient(circle 2.6px at 3.5px 3.5px, transparent 97%, #000) -3.5px -3.5px / 7px 7px round, linear-gradient(#000 0 0) center / calc(100% - 7px) calc(100% - 7px) no-repeat;
  mask: radial-gradient(circle 2.6px at 3.5px 3.5px, transparent 97%, #000) -3.5px -3.5px / 7px 7px round, linear-gradient(#000 0 0) center / calc(100% - 7px) calc(100% - 7px) no-repeat;
  transform: rotate(3deg);
}
.postcard__stamp img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: sepia(.35) saturate(.85); }
.postcard__mark { position: absolute; right: 46px; top: 30px; width: 110px; height: 88px; color: rgba(59, 36, 22, .42); transform: rotate(-14deg); pointer-events: none; }
.postcard .stars { margin: 6px 0 10px; font-size: 15px; }
.postcard__text { margin: 18px 70px 12px 0; font-style: italic; font-size: 20px; line-height: 1.45; color: var(--ink); }
.postcard__from { margin: 0; font-size: 32px; color: var(--berry); text-align: right; }

/* ---------- prints on a string ---------- */

.prints { padding: 70px var(--gutter) 90px; }
.gallery {
  padding-top: 34px; padding-bottom: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='40'%3E%3Cpath d='M0 6 Q170 40 340 6' fill='none' stroke='%23c8a777' stroke-width='2'/%3E%3C/svg%3E") 0 12px / 340px 40px repeat-x;
  background-attachment: local;
}
.hang { position: relative; flex: 0 0 min(72%, 330px); scroll-snap-align: center; margin: 0; padding: 10px 10px 0; background: var(--parchment-hi); transform: rotate(var(--r, 0deg)); transform-origin: 50% -20px; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .7); }
.hang::before { /* wooden peg */
  content: ""; position: absolute; left: 50%; top: -18px; width: 12px; height: 36px; margin-left: -6px; border-radius: 2px;
  background: linear-gradient(90deg, #8a6236, #c49563 45%, #9c7041); box-shadow: 0 2px 3px rgba(0, 0, 0, .4);
}
.hang img { width: 100%; aspect-ratio: 868 / 560; object-fit: cover; filter: sepia(.1); }
.hang figcaption { padding: 8px 4px 12px; text-align: center; font-family: var(--script); font-size: 26px; line-height: 1.1; color: var(--ink); }

/* ---------- admission ticket ---------- */

.admission-wrap { max-width: 640px; margin: 50px auto 0; filter: drop-shadow(0 26px 30px rgba(10, 0, 4, .6)); }
.admission {
  position: relative; padding: 14px;
  /* punched corners */
  -webkit-mask: radial-gradient(circle 18px at 0 0, transparent 98%, #000) top left / 51% 51% no-repeat, radial-gradient(circle 18px at 100% 0, transparent 98%, #000) top right / 51% 51% no-repeat, radial-gradient(circle 18px at 0 100%, transparent 98%, #000) bottom left / 51% 51% no-repeat, radial-gradient(circle 18px at 100% 100%, transparent 98%, #000) bottom right / 51% 51% no-repeat;
  mask: radial-gradient(circle 18px at 0 0, transparent 98%, #000) top left / 51% 51% no-repeat, radial-gradient(circle 18px at 100% 0, transparent 98%, #000) top right / 51% 51% no-repeat, radial-gradient(circle 18px at 0 100%, transparent 98%, #000) bottom left / 51% 51% no-repeat, radial-gradient(circle 18px at 100% 100%, transparent 98%, #000) bottom right / 51% 51% no-repeat;
}
.admission__frame { padding: 30px 22px 26px; text-align: center; border: 3px double rgba(155, 118, 54, .75); outline: 1px solid rgba(155, 118, 54, .35); outline-offset: 4px; }
.admission__kicker { color: var(--berry); }
.admission__title { margin: 0 0 18px; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 7.4vw, 40px); line-height: 1.08; color: var(--ink); text-wrap: balance; }
.admission__title em { font-family: var(--script); font-style: normal; font-weight: 400; color: var(--berry); }
.prices { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 18px; }
.price { display: grid; }
.price__amt { font-family: var(--display); font-weight: 600; font-size: 50px; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.price__who { font-style: italic; color: var(--ink-3); }
.prices__rule { width: 1px; height: 60px; background: var(--rule); }
.ticks { list-style: none; margin: 0 auto 18px; padding: 16px 0 0; max-width: 420px; border-top: 1px solid var(--rule); display: grid; gap: 6px; text-align: left; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: "✦"; position: absolute; left: 4px; top: 1px; color: var(--gold-dark); font-size: 14px; }
.admission__note { margin: 0 0 22px; font-size: 16px; color: var(--ink-2); }
.code { display: inline-block; padding: 0 8px; font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .14em; font-weight: 600; color: var(--berry); border: 1px dashed rgba(168, 23, 44, .55); }

/* ---------- questions ---------- */

.faq { max-width: 760px; margin: 0 auto; }
.faq .section__head { margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-52%); font-family: var(--display); font-size: 34px; font-weight: 500; color: var(--berry); transition: transform .3s ease; }
.faq details[open] summary::after { transform: translateY(-52%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 20px; color: var(--ink-2); }
.faq a { color: var(--berry); }

/* ---------- footer ---------- */

/* the sleigh flies in from the right and crosses to the left as the footer scrolls into view (app.js) */
.footer { --sleigh-w: min(520px, 82vw); position: relative; overflow: hidden; padding: calc(var(--sleigh-w) * .6 + 50px) var(--gutter) calc(120px + env(safe-area-inset-bottom)); text-align: center; color: var(--cream-2); }
.footer__sleigh { position: absolute; left: 50%; top: 30px; width: var(--sleigh-w); max-width: none; margin-left: calc(var(--sleigh-w) / -2); opacity: .85; pointer-events: none; mix-blend-mode: screen; will-change: transform; }
.footer__logo { position: relative; width: 200px; height: auto; margin: 0 auto 6px; }
.footer__line { position: relative; margin: 0 0 18px; font-size: 32px; color: var(--gold-light); }
.footer__links { position: relative; color: var(--cream); }
.footer__links a { color: var(--cream); text-decoration: none; }
.footer__links span { color: var(--gold); margin: 0 .5em; }
.footer__links .linkbtn { font-style: normal; font-variant-caps: all-small-caps; letter-spacing: .16em; padding: 0; text-decoration: none; color: var(--gold-light); }
.footer__small { position: relative; font-size: 14px; color: var(--cream-3); margin: 10px auto 0; max-width: 44ch; }

/* ---------- sticky mobile CTA ---------- */

.stickybar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; color: var(--ink);
  max-width: 600px; margin: 0 auto;
  background: var(--grain), var(--parchment);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(155, 118, 54, .45);
  transform: translateY(170%); transition: transform .5s cubic-bezier(.2, .9, .3, 1.15);
}
.stickybar.is-visible { transform: none; }
.stickybar__seal { display: none; width: 46px; height: 46px; flex-shrink: 0; margin: -16px 0 -16px -34px; transform: rotate(-12deg); filter: drop-shadow(0 3px 4px rgba(40, 0, 10, .45)); }
.stickybar__txt { display: grid; line-height: 1.15; min-width: 0; }
.stickybar__txt strong { font-family: var(--display); font-weight: 600; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar__txt span { font-style: italic; font-size: 14px; color: var(--ink-3); }
.stickybar .btn { margin-left: auto; flex-shrink: 0; }

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 2147483647;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; max-width: calc(100% - 32px); text-align: center;
  background: var(--grain), var(--parchment-hi); color: var(--ink); font-style: italic; font-size: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(155, 118, 54, .5);
  transition: opacity .3s, transform .3s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- photo viewer ---------- */

.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--cream); overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: var(--pile), rgba(22, 4, 11, .9); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: dim .35s ease both; }
.lightbox__print {
  position: relative; margin: 0; padding: 14px 14px 0; cursor: pointer;
  background: var(--grain), var(--parchment-hi);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .4), 0 40px 90px -20px rgba(0, 0, 0, .95);
  rotate: var(--tilt, 0deg);
  -webkit-tap-highlight-color: transparent; touch-action: pan-y;
}
.lightbox__print img { display: block; width: auto; height: auto; max-width: min(1100px, calc(100vw - 200px)); max-height: calc(100dvh - 210px); filter: sepia(.06); user-select: none; -webkit-user-drag: none; }
.lightbox__print figcaption { padding: 8px 10px 12px; font-family: var(--script); font-size: 32px; line-height: 1.1; color: var(--ink); text-align: center; }
.lightbox__print figcaption[hidden] { display: block; visibility: hidden; height: 14px; padding: 0; }
.lightbox__close {
  position: absolute; top: -22px; right: -22px; width: 54px; height: 54px; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 36% 30%, #e0455c, #a5152b 52%, #650a18);
  box-shadow: inset 0 0 0 4px rgba(120, 10, 25, .55), inset 0 0 0 5px rgba(239, 107, 126, .35), 0 6px 14px rgba(20, 0, 6, .6);
  color: var(--gold-light); font-family: var(--display); font-size: 34px; line-height: 1; padding-bottom: 4px;
  transition: transform .2s ease;
}
.lightbox__close:hover { transform: rotate(90deg) scale(1.05); }
.lightbox__close:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.lightbox__nav {
  position: fixed; top: 50%; width: 58px; height: 58px; margin-top: -29px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(236, 213, 159, .55); background: rgba(28, 6, 16, .55); color: var(--gold-light);
  font-family: var(--display); font-size: 40px; line-height: 1; padding-bottom: 6px;
  transition: background .2s ease, transform .2s ease;
}
.lightbox__nav:hover { background: rgba(179, 21, 45, .7); }
.lightbox__nav--prev { left: 28px; }
.lightbox__nav--next { right: 28px; }
.lightbox__count { position: fixed; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; font-variant-caps: all-small-caps; letter-spacing: .16em; font-size: 17px; color: var(--gold-light); }
.lightbox__hint { color: var(--cream-3); font-style: italic; letter-spacing: .04em; font-variant-caps: normal; font-size: 15px; }
@media (max-width: 719px) {
  .lightbox__print { padding: 9px 9px 0; }
  .lightbox__print img { max-width: calc(100vw - 40px); max-height: calc(100dvh - 190px); }
  .lightbox__print figcaption { font-size: 26px; }
  .lightbox__close { top: -18px; right: -10px; width: 48px; height: 48px; }
  .lightbox__nav { top: auto; bottom: 14px; margin-top: 0; width: 50px; height: 50px; font-size: 34px; }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }
  .lightbox__count { bottom: 28px; }
  .lightbox__hint { display: none; }
}

/* gold dust burst */
.spark { position: fixed; z-index: 2147483647; pointer-events: none; width: 12px; height: 12px; margin: -6px; background: radial-gradient(circle, #fff7da 0 18%, rgba(236, 213, 159, .9) 32%, rgba(201, 163, 91, 0) 70%); animation: spark .9s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }

/* =========================================================
   Booking sheet — a parchment letter
   ========================================================= */

.sheet {
  position: fixed; inset: auto 0 0 0; margin: 0;
  width: 100%; max-width: 100%; height: calc(100dvh - 14px); max-height: none;
  padding: 0; border: 0; border-radius: 6px 6px 0 0; overflow: hidden;
  color: var(--ink); background: var(--grain), var(--parchment-art) center / 520px, var(--parchment);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .7), inset 0 0 60px rgba(128, 84, 36, .2);
}
/* opens like a parchment scroll: the roll travels up from the bottom and the paper unwinds beneath it */
.sheet[open] { animation: unroll 1s cubic-bezier(.3, .65, .2, 1) both; }
.sheet.is-closing { animation: reroll .5s cubic-bezier(.5, 0, .75, .4) both; }
.sheet::backdrop { background: rgba(20, 3, 10, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: dim .5s ease both; }
@keyframes unroll { from { clip-path: inset(calc(100% - 38px) 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes reroll { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(calc(100% - 38px) 0 0 0); } }
@keyframes dim { from { opacity: 0; } to { opacity: 1; } }

.sheet__inner { position: relative; display: flex; flex-direction: column; height: 100%; }

/* the rolled paper + gold finials */
.sheet__roll {
  position: absolute; left: 0; right: 0; top: 0; height: 36px; z-index: 6; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(120, 85, 40, 0) 0 22px, rgba(120, 85, 40, .07) 22px 23px),
    linear-gradient(180deg, #a5865a 0%, #d9c49b 16%, #f7eedb 40%, #fbf5e7 48%, #e6d4ae 68%, #b8986a 88%, #8f7046 100%);
  box-shadow: 0 7px 12px -5px rgba(60, 35, 15, .55);
  border-radius: 18px;
}
.sheet__roll::before, .sheet__roll::after {
  content: ""; position: absolute; top: -5px; width: 18px; height: 46px; border-radius: 9px;
  background: linear-gradient(90deg, #6e4f1f 0%, #c9a35b 30%, #f1dca2 48%, #b8893d 70%, #6e4f1f 100%);
  box-shadow: 0 2px 4px rgba(40, 20, 0, .5);
}
.sheet__roll::before { left: 4px; }
.sheet__roll::after { right: 4px; }
.sheet[open] .sheet__roll { animation: roll-up 1s cubic-bezier(.3, .65, .2, 1) both; }
.sheet.is-closing .sheet__roll { animation: roll-down .5s cubic-bezier(.5, 0, .75, .4) both; }
@keyframes roll-up { from { top: calc(100% - 37px); background-position: 0 0, 0 0; } to { top: 0; background-position: 260px 0, 0 0; } }
@keyframes roll-down { from { top: 0; } to { top: calc(100% - 37px); } }
.sheet__sprig { position: absolute; left: -14px; bottom: 74px; width: 84px; height: auto; transform: rotate(160deg); pointer-events: none; opacity: .9; z-index: 0; }
.sheet__head { display: flex; align-items: center; gap: 8px; padding: 42px 12px 4px; flex-shrink: 0; }
.sheet__titles { flex: 1; text-align: center; min-width: 0; }
.sheet__kicker { margin: 0; font-size: 15px; color: var(--ink-3); }
.sheet__titles h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.08; outline: none; }

.iconbtn { position: relative; z-index: 2; flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(59, 36, 22, .35); background: rgba(251, 245, 231, .6); cursor: pointer; }
.iconbtn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.progress { list-style: none; display: flex; justify-content: center; gap: 4px; margin: 6px 16px 0; padding: 0 0 10px; flex-shrink: 0; border-bottom: 1px solid var(--rule); }
.progress li { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 6px; font-variant-caps: all-small-caps; letter-spacing: .12em; font-size: 16px; color: var(--ink-3); position: relative; }
.progress__n { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: 0; }
.progress li.is-done { color: var(--ink-2); }
.progress li.is-current { color: var(--berry); }
.progress li.is-current::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -11px; height: 2px; background: var(--berry); }

.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px var(--gutter) 30px; -webkit-overflow-scrolling: touch; }
.sheet__body > * { animation: step-in .45s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.sheet__foot {
  flex-shrink: 0; display: flex; align-items: center; gap: 14px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--grain), var(--parchment-lo); box-shadow: 0 -1px 0 rgba(155, 118, 54, .45), 0 -10px 20px -14px rgba(60, 35, 15, .6);
}
.sheet__foot[hidden] { display: none; }
.foot__total { display: grid; line-height: 1.1; min-width: 0; }
.foot__total small { font-style: italic; color: var(--ink-3); font-size: 14px; }
.foot__total strong { font-family: var(--display); font-weight: 600; font-size: 32px; color: var(--ink); font-variant-numeric: lining-nums; }
.sheet__foot .btn { margin-left: auto; flex: 1; max-width: 300px; padding: 0 24px; }

.step-intro { margin: 0 0 18px; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.step-intro strong { color: var(--ink); font-weight: 600; }
.block-title { margin: 26px 0 10px; font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 17px; font-weight: 600; color: var(--berry); }

/* advent-door calendar */
.cal__month { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 24px; text-align: center; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; perspective: 600px; }
.cal__dow { text-align: center; font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 15px; color: var(--ink-3); }
.cal__day {
  position: relative; aspect-ratio: 1 / 1.12; display: grid; place-items: center; align-content: center; gap: 2px;
  border: 0; border-radius: 2px; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 23px; color: var(--ink); font-variant-numeric: lining-nums;
  background: var(--grain), linear-gradient(160deg, #fbf5e7, #efe1c2);
  box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .6), inset 0 0 0 3px #fbf5e7, inset 0 0 0 4px rgba(155, 118, 54, .3), 0 2px 4px -2px rgba(60, 35, 15, .5);
  transform-origin: 0 50%; transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), background .2s;
  -webkit-tap-highlight-color: transparent;
}
.cal__day::after { /* little door knob */ content: ""; position: absolute; right: 6px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--gold-dark); opacity: .7; }
.cal__day:hover:not([disabled]) { transform: rotateY(-16deg); }
.cal__day:active:not([disabled]) { transform: rotateY(-28deg); }
.cal__day[disabled] { cursor: default; }
.cal__day.is-off { background: none; box-shadow: none; color: rgba(59, 36, 22, .25); font-weight: 500; }
.cal__day.is-off::after, .cal__day.is-soldout::after { display: none; }
.cal__day.is-soldout { background: none; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--berry); }
.cal__day.is-selected { background: var(--ribbon); color: var(--gold-light); box-shadow: inset 0 0 0 3px var(--ribbon), inset 0 0 0 4px rgba(236, 213, 159, .55); }
.cal__day .star { position: absolute; top: 3px; left: 5px; font-size: 10px; color: var(--gold-dark); }
.cal__day .dot { position: absolute; bottom: 6px; left: 50%; margin-left: -3.5px; }
.cal__day.is-loading { color: rgba(59, 36, 22, .4); }

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; font-style: italic; color: var(--ink-3); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend s { text-decoration-color: var(--berry); font-style: normal; font-family: var(--display); font-weight: 600; }

.callout { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 14px 16px; background: rgba(251, 245, 231, .65); box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .45); font-size: 16px; color: var(--ink-2); }
.callout img { width: 56px; flex-shrink: 0; }
.callout strong { color: var(--ink); }

/* mode tabs */
.seg { display: flex; justify-content: center; gap: 26px; margin: 0 0 18px; }
.seg button { position: relative; padding: 6px 2px; border: 0; background: none; cursor: pointer; font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 18px; color: var(--ink-3); }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--berry); }

/* show times as ticket stubs */
.slots { display: grid; gap: 12px; }
.slot {
  position: relative; display: grid; grid-template-columns: 98px 1fr; grid-template-areas: "time info" "time pill";
  align-items: center; gap: 0 16px; width: 100%; min-height: 88px; padding: 12px 16px 12px 0; text-align: left; border: 0; cursor: pointer; color: var(--ink);
  background:
    radial-gradient(circle 8px at 98px 0, var(--parchment) 98%, transparent) no-repeat,
    radial-gradient(circle 8px at 98px 100%, var(--parchment) 98%, transparent) no-repeat,
    var(--grain), linear-gradient(170deg, #fbf5e7, #f1e4c6);
  box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .5), 0 3px 8px -4px rgba(60, 35, 15, .45);
  transition: transform .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.slot::before { content: ""; position: absolute; left: 98px; top: 12px; bottom: 12px; border-left: 1.5px dashed rgba(59, 36, 22, .35); }
.slot:hover:not([disabled]) { transform: translateY(-2px) rotate(-.4deg); box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .7), 0 10px 18px -8px rgba(60, 35, 15, .55); }
.slot:active:not([disabled]) { transform: scale(.985); }
.slot[disabled] { cursor: not-allowed; color: var(--ink-3); }
.slot[disabled] > * { opacity: .5; }
.slot[disabled]::after {
  content: attr(data-stamp); position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(-9deg);
  padding: 2px 10px; border: 2px solid rgba(168, 23, 44, .75); color: rgba(168, 23, 44, .85);
  font-variant-caps: all-small-caps; letter-spacing: .16em; font-weight: 600; font-size: 16px;
}
.slot.is-selected { box-shadow: inset 0 0 0 2px var(--berry), 0 10px 18px -8px rgba(60, 35, 15, .55); }
.slot__time { grid-area: time; text-align: center; font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1; font-variant-numeric: lining-nums; }
.slot__info { grid-area: info; display: grid; gap: 1px; min-width: 0; }
.slot__info span { font-size: 16px; color: var(--ink-2); line-height: 1.3; }
.slot__info .slot__santa { color: var(--ink); font-style: italic; }
.pill { grid-area: pill; justify-self: start; font-style: italic; font-size: 15px; color: var(--ink-3); }
.pill--limited { color: var(--berry); }
.pill--soldout { display: none; }

/* grotto times as little luggage labels */
.chipgroup { margin-bottom: 16px; }
.chipgroup h4 { margin: 0 0 8px; font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 16px; font-weight: 500; color: var(--ink-3); }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.chip {
  min-height: 48px; border: 0; cursor: pointer; color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 19px; font-variant-numeric: lining-nums;
  background: var(--grain), #fbf5e7; box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .55);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  transition: transform .2s ease; -webkit-tap-highlight-color: transparent;
}
.chip:hover:not([disabled]) { transform: translateY(-2px); }
.chip[disabled] { opacity: .32; text-decoration: line-through; cursor: not-allowed; }
.chip.is-selected { background: var(--ribbon); color: var(--gold-light); }

/* recommendations as gift tags */
.recs { display: grid; gap: 14px; }
.rec {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  width: 100%; padding: 16px 16px 16px 46px; text-align: left; cursor: pointer; border: 0; color: var(--ink);
  background: var(--grain), linear-gradient(170deg, #e2c697, #cfa975);
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 26px 100%, 0 50%);
  transition: transform .25s ease, filter .25s ease; -webkit-tap-highlight-color: transparent;
}
.rec::before { content: ""; position: absolute; left: 16px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--parchment); box-shadow: 0 0 0 3px #f1dfb9, 0 0 0 4px rgba(90, 60, 30, .4); }
.rec:not(.is-selected) { filter: saturate(.65) brightness(1.06); }
.rec.is-selected { background: var(--grain), linear-gradient(170deg, #e8cb98, #d1a86f); transform: rotate(-.6deg); }
.rec.is-selected::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--berry); clip-path: inherit; pointer-events: none; }
.rec__radio { display: none; }
.rec__label { display: block; font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 15px; color: var(--ink-2); }
.rec__time { display: block; font-family: var(--display); font-weight: 600; font-size: 36px; line-height: 1.05; font-variant-numeric: lining-nums; }
.rec__meta { display: block; font-style: italic; font-size: 16px; color: var(--ink-2); line-height: 1.3; }
.rec__best { position: absolute; right: 14px; top: 8px; font-family: var(--script); font-size: 26px; line-height: 1; color: var(--berry); }
.rec__span { justify-self: end; align-self: end; text-align: right; font-size: 13px; font-style: italic; color: var(--ink-2); line-height: 1.2; }
.rec__span strong { display: block; font-family: var(--display); font-style: normal; font-size: 20px; color: var(--ink); }

.more { margin-top: 12px; }
.more summary { cursor: pointer; list-style: none; padding: 10px 0; font-style: italic; color: var(--ink); text-decoration: underline; text-decoration-color: var(--berry); text-underline-offset: 4px; }
.more summary::-webkit-details-marker { display: none; }

/* the plan, on ruled letter paper */
.plan {
  margin-top: 24px; padding: 20px 16px 18px 20px;
  background:
    linear-gradient(90deg, transparent 38px, rgba(168, 23, 44, .35) 38px 39px, transparent 39px),
    repeating-linear-gradient(transparent 0 33px, rgba(70, 90, 130, .16) 33px 34px),
    #fbf6e9;
  box-shadow: 0 1px 1px rgba(60, 35, 15, .2), 0 12px 22px -14px rgba(60, 35, 15, .55);
  transform: rotate(.3deg);
}
.plan h3 { margin: 0 0 14px 30px; font-family: var(--script); font-weight: 400; font-size: 36px; line-height: 1; color: var(--berry); }

/* party */
.party { display: grid; gap: 10px; }
.stepper { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(251, 245, 231, .7); box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .45); }
.stepper__label { flex: 1; display: grid; line-height: 1.25; }
.stepper__label strong { font-family: var(--display); font-weight: 600; font-size: 22px; }
.stepper__label span { font-style: italic; font-size: 15px; color: var(--ink-3); }
.stepper__ctrl { display: flex; align-items: center; gap: 6px; }
.stepper__ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 3px double rgba(59, 36, 22, .45); background: transparent; font-family: var(--display); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.stepper__ctrl button[disabled] { opacity: .3; cursor: not-allowed; }
.stepper__ctrl output { min-width: 30px; text-align: center; font-family: var(--display); font-weight: 600; font-size: 26px; font-variant-numeric: lining-nums; }
.fineprint { margin: 10px 0 0; font-size: 14px; font-style: italic; color: var(--ink-3); }
.warn { margin: 12px 0 0; padding: 12px 14px; background: rgba(168, 23, 44, .08); box-shadow: inset 0 0 0 1px rgba(168, 23, 44, .4); color: var(--ribbon-dark); font-size: 16px; }

.empty { text-align: center; padding: 30px 10px; color: var(--ink-2); font-style: italic; }
.empty strong { display: block; font-family: var(--display); font-style: normal; font-size: 26px; color: var(--ink); margin-bottom: 6px; }
.skeleton { height: 88px; margin-bottom: 12px; background: rgba(251, 245, 231, .6); box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .3); animation: shimmer 1.2s ease-in-out infinite alternate; }

/* done: a sealed letter */
.done { text-align: center; padding-top: 4px; }
.done__seal { width: 84px; height: 84px; margin: 0 auto 4px; }
.done h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1.1; }
.done h3.block-title { margin: 26px 0 10px; font-family: var(--serif); font-size: 17px; text-align: left; }
.done .plan { text-align: left; }
.summary { list-style: none; margin: 18px 0 0; padding: 0; text-align: left; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.summary li span { font-style: italic; color: var(--ink-3); }
.summary li strong { text-align: right; font-weight: 600; }
.checklist { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 8px; text-align: left; }
.checklist li { counter-increment: c; position: relative; padding: 10px 12px 10px 48px; background: rgba(251, 245, 231, .7); box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .4); }
.checklist li::before { content: counter(c, upper-roman); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 26px; text-align: center; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--berry); }
.checklist small { font-style: italic; color: var(--ink-3); }
/* ---------- book just one experience ---------- */
.only-options { margin: 16px 0 0; font-style: italic; font-size: 16px; color: var(--ink-3); }
.only-options .linkbtn { padding: 4px 2px; font-size: 16px; color: var(--ink-2); text-decoration-color: var(--berry); }
.only-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 16px; padding: 12px 14px; background: rgba(168, 23, 44, .06); box-shadow: inset 0 0 0 1px rgba(168, 23, 44, .3); }
.only-note p { margin: 0; font-size: 16px; color: var(--ink-2); }
.only-note strong { color: var(--berry); }
.only-note .linkbtn { padding: 2px 0; font-size: 16px; color: var(--ink); font-style: normal; text-decoration-color: var(--berry); }

/* crossed off in red ink, drawn by hand */
.tl__item.is-crossed > span:not(.tl__time):not(.tl__dot) { opacity: .5; }
.tl__item.is-crossed .tl__time { color: var(--ink-3) !important; opacity: .6; }
.tl__item.is-crossed .tl__dot { background: var(--parchment) !important; border: 1.5px solid var(--ink-3) !important; width: 11px !important; height: 11px !important; }
.scribble {
  position: absolute; left: 2px; right: -6px; top: 50%; height: 26px; transform: translateY(-50%) rotate(-1.2deg);
  overflow: visible; pointer-events: none; fill: none; stroke: #c3122d; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 .5px 0 rgba(120, 0, 20, .35));
}
.scribble path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ink-strike .55s cubic-bezier(.55, .1, .4, 1) .1s forwards; }
.scribble path + path { stroke-width: 2; opacity: .85; animation-delay: .45s; animation-duration: .45s; }
@keyframes ink-strike { to { stroke-dashoffset: 0; } }

/* the reminder before paying */
.reminder { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 18px; padding: 14px 16px; background: rgba(168, 23, 44, .07); box-shadow: inset 0 0 0 1px rgba(168, 23, 44, .4); font-size: 16px; color: var(--ink-2); text-align: left; }
.reminder img { width: 46px; height: 46px; flex-shrink: 0; margin-top: 2px; }
.reminder strong { display: block; color: var(--ribbon-dark); margin-bottom: 2px; }
.reminder .linkbtn { padding: 4px 0 0; font-size: 16px; color: var(--ink); text-decoration-color: var(--berry); font-style: normal; }

/* "are you sure?" */
.confirm { max-width: min(440px, calc(100% - 32px)); padding: 0; border: 0; background: transparent; overflow: visible; }
.confirm::backdrop { background: rgba(20, 3, 10, .6); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.confirm[open] { animation: confirm-in .35s cubic-bezier(.2, .9, .25, 1.1) both; }
@keyframes confirm-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.confirm__card { position: relative; padding: 46px 26px 20px; text-align: center; color: var(--ink); background: var(--grain), var(--parchment-art) center / 520px, var(--parchment); box-shadow: 0 30px 70px -10px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(155, 118, 54, .5); }
.confirm__seal { position: absolute; left: 50%; top: -34px; width: 70px; height: 70px; margin-left: -35px; transform: rotate(-10deg); }
.confirm h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 29px; line-height: 1.1; }
.confirm p { margin: 0 0 20px; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.confirm .linkbtn { display: block; margin: 10px auto 0; color: var(--ink-2); text-decoration-color: var(--ink-3); }

/* after paying */
.keepsake { display: grid; justify-items: center; gap: 4px; margin: 20px 0 6px; }
.keepsake .linkbtn { color: var(--ink); text-decoration-color: var(--berry); }
.day-notes { margin: 0; text-align: left; }
.day-notes dt { margin-top: 14px; font-variant-caps: all-small-caps; letter-spacing: .14em; font-weight: 600; color: var(--berry); }
.day-notes dd { margin: 2px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.venue { margin-top: 24px; padding: 18px 16px; text-align: center; background: rgba(251, 245, 231, .7); box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .45); }
.venue .smallcaps { margin: 0 0 6px; color: var(--berry); }
.venue p { margin: 0 0 6px; color: var(--ink-2); }
.venue strong { font-family: var(--display); font-size: 22px; color: var(--ink); }
.venue a { color: var(--ink); text-decoration-color: var(--berry); text-underline-offset: 3px; }

/* details + payment */
.planline { margin: 0 0 18px; padding: 10px 14px; font-style: italic; font-size: 16px; color: var(--ink-2); background: rgba(251, 245, 231, .7); box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .4); }
.form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 4px; }
.field span { font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 16px; color: var(--ink-2); }
.field input {
  width: 100%; min-height: 52px; padding: 10px 12px; border: 0; border-radius: 0;
  font-family: var(--serif); font-size: 19px; color: var(--ink);
  background: var(--grain), rgba(251, 245, 231, .92); box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .6), inset 0 -2px 0 rgba(59, 36, 22, .25);
  -webkit-appearance: none; appearance: none;
}
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--berry); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--berry); background-color: rgba(168, 23, 44, .06); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ribbon); flex-shrink: 0; }
.form-error { margin: 4px 0 0; padding: 10px 14px; font-size: 16px; color: var(--ribbon-dark); background: rgba(168, 23, 44, .07); box-shadow: inset 0 0 0 1px rgba(168, 23, 44, .35); }
.form-error .linkbtn { padding: 0 0 0 4px; font-size: 16px; color: var(--ribbon-dark); }
.hold { margin: 0 0 14px; text-align: center; font-style: italic; color: var(--ink-2); }
.hold strong { font-family: var(--display); font-style: normal; font-size: 22px; color: var(--berry); font-variant-numeric: tabular-nums lining-nums; }
.summary__total span { font-style: normal !important; font-variant-caps: all-small-caps; letter-spacing: .14em; color: var(--ink) !important; }
.summary__total strong { font-family: var(--display); font-size: 28px; }
.paybox { margin-top: 20px; padding: 18px 16px; background: rgba(251, 245, 231, .85); box-shadow: inset 0 0 0 1px rgba(155, 118, 54, .55); }
.paybox--test { border: 1px dashed rgba(168, 23, 44, .5); box-shadow: none; text-align: center; }
.paybox--test .smallcaps { color: var(--berry); margin-bottom: 4px; }
.paybox--test p { margin: 0 0 14px; font-size: 16px; color: var(--ink-2); }
.demo-note { margin: 18px 0 0; padding: 12px 14px; font-size: 14px; font-style: italic; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule); text-align: left; }

/* =========================================================
   Larger screens
   ========================================================= */

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .acts { grid-template-columns: 1fr 1fr; gap: 56px; }
  .act--flip { margin-top: 80px; }
  /* centred opening: heading, paragraph and flourish share one axis; the robin perches on the garland */
  .letter__greeting { text-align: center; padding-right: 0; margin: 26px 0 30px; }
  .letter__lede { max-width: 29em; margin: 0 auto; text-align: center; text-wrap: balance; font-size: 22px; }
  .letter__lede::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0; color: inherit; font-family: inherit; }
  .letter__robin { width: 128px; right: -72px; top: -112px; }
  .taglist { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .postcard-wrap { flex-basis: 420px; }
  .hang { flex-basis: 340px; }
  .admission__frame { padding: 40px 46px 34px; }
}

@media (min-width: 960px) {
  :root { --topbar-h: 76px; }
  .topbar__brand { opacity: 1; transform: none; pointer-events: auto; }
  .topbar__brand img { height: 50px; }
  .topbar__nav { display: flex; gap: 30px; margin-left: auto; }
  .topbar__nav a { color: var(--cream); text-decoration: none; font-variant-caps: all-small-caps; letter-spacing: .16em; font-size: 18px; opacity: .85; }
  .topbar__nav a:hover { opacity: 1; color: var(--gold-light); }
  .topbar .btn { margin-left: 10px; }

  /* full-bleed velvet; the two columns stay within a centred 1260px measure */
  .hero {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 64px;
    min-height: 100vh; overflow: visible;
    padding: calc(var(--topbar-h) + 30px) max(44px, calc((100% - 1260px) / 2 + 44px)) 70px;
  }
  /* all the dates on show as two tidy rows of stamps, rather than a strip that runs off the card */
  .invite .datestrip { flex-wrap: wrap; justify-content: center; gap: 14px 10px; max-width: 400px; margin: 10px auto 0; padding: 8px 0 18px; overflow: visible; -webkit-mask: none; mask: none; }
  .hero__content { position: relative; z-index: 1; grid-column: 1; grid-row: 1; padding-top: 0; margin: 0; text-align: center; max-width: 560px; justify-self: center; }
  /* no frame: Santa fills the right of the screen, full height, and melts into the velvet behind the text */
  .hero__media {
    position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 62%; height: auto; z-index: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 16%, #000 42%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 16%, #000 42%);
  }
  .hero__media picture { display: block; height: 100%; }
  .hero__media img { object-position: 50% 26%; }
  .hero__media::after {
    background:
      var(--pile),
      linear-gradient(180deg, rgba(28, 6, 16, .7) 0%, rgba(28, 6, 16, 0) 16%, rgba(28, 6, 16, 0) 68%, var(--velvet-800) 100%),
      radial-gradient(90% 70% at 62% 38%, transparent 55%, rgba(20, 3, 10, .55));
  }

  .band { padding: 100px 44px 104px; }
  .section { padding: 110px 44px; }
  .stickybar { left: auto; right: 28px; margin: 0; bottom: calc(24px + env(safe-area-inset-bottom)); padding: 10px 10px 10px 30px; }
  .stickybar__seal { display: block; }
  .stickybar .btn { --h: 48px; padding: 0 34px; }

  .sheet {
    inset: 0; margin: auto; width: min(580px, calc(100% - 40px)); height: min(880px, calc(100dvh - 48px));
    border-radius: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .logo-shine::after { display: none; }
  .js .reveal, .js .seal--press { opacity: 1; transform: rotate(var(--r, 0deg)); }
  .js .script-write { clip-path: none; }
  .js .ink-draw { stroke-dashoffset: 0; }
}
