/* Santa Calls · Us: the storybook Christmas layout. Written from scratch for this site: no framework, no kit.
   Sections alternate midnight blue, evergreen, deep red and warm hearth with cream parchment; textures are CSS
   gradients (plaid, knit, candy-cane stripes, gold foil, snowflakes) and Blender renders on transparent film. */

/* ---------------------------------------------------------------- tokens */
:root {
  --night: #0b1a33; --night-deep: #061024; --night-soft: #14264a;
  --evergreen: #0f3d2e; --evergreen-deep: #0a2b20; --evergreen-soft: #175a44;
  --red: #a4121c; --red-bright: #c8232f; --red-deep: #7d0b13; --red-ink: #8f0e17;
  --gold: #e2b34f; --gold-deep: #b8862b; --gold-light: #f4d98a; --gold-pale: #fbefc9;
  --parchment: #f6ead2; --parchment-dark: #e9d6b1; --parchment-deep: #d9c08f; --cream: #fbf3e3;
  --ink: #2b1a14; --ink-soft: #5a4538; --hearth: #2a1710; --hearth-deep: #1b0e09;
  --snow: #ffffff;
  --font-display: "Berkshire Swash", "Georgia", serif;
  --font-text: "Lora", "Georgia", serif;
  --wrap: 1180px; --gut: 24px;
  --radius: 18px; --radius-sm: 10px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-h1: clamp(2.6rem, 6.2vw, 5.2rem);
  --t-h2: clamp(2rem, 4vw, 3.3rem);
  --t-h3: clamp(1.35rem, 2.2vw, 1.75rem);
  --t-lead: clamp(1.05rem, 1.4vw, 1.25rem);
  --t-body: 1.05rem;
  --t-small: 0.92rem;
}
@media (max-width: 639px) { :root { --gut: 18px; --nav-h: 64px; --t-body: 1rem; } }

/* ---------------------------------------------------------------- base */
*, *::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; background: var(--parchment); color: var(--ink); font: 400 var(--t-body)/1.6 var(--font-text); overflow-x: hidden; }
img, picture, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: 0.005em; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p { margin: 0; }
p + p { margin-top: 0.9em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--gold); color: var(--ink); border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.eyebrow { font: italic 500 1rem/1.3 var(--font-text); letter-spacing: 0.04em; color: var(--red-ink); margin-bottom: 0.6rem; }
/* the hero eyebrow sits on a dark painting: red-ink disappears; gold-light is readable on A and B, every size */
.hero .eyebrow { color: var(--gold-light); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7), 0 0 16px rgba(226, 179, 79, 0.28); }
.eyebrow--gold { color: var(--gold); }
.section__lead { font-size: var(--t-lead); max-width: 60ch; margin-top: 0.8rem; }
.link { text-decoration: underline; text-decoration-color: var(--gold-deep); text-underline-offset: 3px; font-weight: 500; }
.link:hover { text-decoration-color: currentColor; }
.link--cream { color: var(--cream); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 50px; padding: 0.7rem 1.5rem; border-radius: 999px; border: 0;
  font: 600 1rem/1.1 var(--font-text); text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease); }
.btn--red { background: linear-gradient(180deg, var(--red-bright), var(--red)); color: #fff; box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px rgba(0, 0, 0, 0.25), 0 10px 26px rgba(0, 0, 0, 0.35); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); }
.btn--red:hover { background: linear-gradient(180deg, #d42a37, var(--red-bright)); transform: translateY(-2px); box-shadow: 0 0 0 2px var(--gold-light), 0 0 0 4px rgba(0, 0, 0, 0.25), 0 14px 32px rgba(0, 0, 0, 0.4); }
.btn--red:active { transform: translateY(0); }
.btn--big { min-height: 60px; padding: 0.9rem 2.2rem; font-size: 1.15rem; }
.btn--small { min-height: 42px; padding: 0.45rem 1.1rem; font-size: 0.95rem; }
.btn--ghost { background: rgba(6, 16, 36, 0.45); color: var(--cream); border: 2px solid rgba(251, 243, 227, 0.75); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(6, 16, 36, 0.7); border-color: var(--gold-light); }
.btn--gold { background: linear-gradient(135deg, var(--gold-deep), var(--gold-light) 50%, var(--gold-deep)); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.btn--gold:hover { transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--outline:hover { background: rgba(43, 26, 20, 0.08); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------- nav with the string of bulbs */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.nav.is-solid, .nav--solid { background: rgba(6, 16, 36, 0.92); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); backdrop-filter: blur(10px); }
.nav__bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--nav-h); padding-top: 14px; }
.brand { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--cream); text-decoration: none; font: 400 1.45rem/1 var(--font-display); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.brand__hat { width: 34px; height: 29px; margin-top: -14px; margin-right: -14px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); }
.brand__dot { color: var(--gold); margin: 0 -0.04em; }  /* gold period on the baseline; negative margin keeps tight even space */
.nav__links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__links > a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: 1rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); padding: 0.3rem 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav__links > a:hover { border-color: var(--gold); }
.nav__cta-mobile { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: rgba(6, 16, 36, 0.55); border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 20px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.bulbs { position: absolute; left: 0; right: 0; top: 0; height: 30px; display: flex; justify-content: space-around; align-items: flex-start; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cpath d='M0 2 Q30 14 60 2 T120 2' fill='none' stroke='%23131313' stroke-width='1.5' opacity='.9'/%3E%3C/svg%3E") repeat-x top center / 120px 30px; }
.bulbs i { position: relative; width: 10px; height: 16px; margin-top: 7px; border-radius: 50% 50% 55% 55%; background: var(--c, #e2b34f); box-shadow: 0 0 10px 2px var(--c, #e2b34f), 0 0 22px 6px color-mix(in srgb, var(--c, #e2b34f) 45%, transparent);
  animation: twinkle 2.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.bulbs i::before { content: ""; position: absolute; left: 2px; top: -5px; width: 6px; height: 6px; background: #2a2a2a; border-radius: 2px 2px 0 0; }
.bulbs i:nth-child(odd) { margin-top: 12px; }
.bulbs i:nth-child(4n + 1) { --c: #ff4b4b; --d: 0s; }
.bulbs i:nth-child(4n + 2) { --c: #ffd36a; --d: .7s; }
.bulbs i:nth-child(4n + 3) { --c: #4ade80; --d: 1.3s; }
.bulbs i:nth-child(4n + 4) { --c: #7cc4ff; --d: 1.9s; }
.bulbs i:nth-child(7n) { --d: .4s; }
.bulbs i:nth-child(11n) { --d: 1.6s; }
@keyframes twinkle { 0%, 100% { opacity: 1; filter: brightness(1.15); } 50% { opacity: 0.55; filter: brightness(0.85); } }
@media (prefers-reduced-motion: reduce) { .bulbs i { animation: none; } }

@media (max-width: 899px) {
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 0.5rem var(--gut) 1.2rem; background: rgba(6, 16, 36, 0.97); border-bottom: 2px solid var(--gold); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s var(--ease), opacity .25s, visibility .25s; }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links > a { padding: 0.8rem 0; border-bottom: 1px solid rgba(251, 243, 227, 0.15); font-size: 1.1rem; }
  .nav__links > a:hover { border-color: rgba(251, 243, 227, 0.15); }
  .nav__cta-mobile { display: inline-flex; margin-top: 1rem; border-bottom: 0 !important; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav .bulbs i { width: 8px; height: 13px; }
  .nav .bulbs i:nth-child(n + 19) { display: none; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: var(--night-deep); color: var(--cream); isolation: isolate; }
.hero__pic { position: absolute; inset: 0; z-index: 0; }
.hero__pic img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(4, 10, 26, 0.72) 0%, rgba(4, 10, 26, 0.45) 40%, rgba(4, 10, 26, 0.05) 70%),
  linear-gradient(180deg, rgba(4, 10, 26, 0.55) 0%, rgba(4, 10, 26, 0) 30%, rgba(4, 10, 26, 0) 70%, rgba(4, 10, 26, 0.5) 100%); }
/* hero B (?hero=b): Santa on the telephone sits in the right third; a stronger scrim on the left keeps the words readable */
.hero-b .hero__pic img { object-position: 70% 50%; }
.hero-b .hero::before { background:
  linear-gradient(90deg, rgba(14, 8, 6, 0.74) 0%, rgba(14, 8, 6, 0.48) 34%, rgba(14, 8, 6, 0.08) 56%, rgba(14, 8, 6, 0) 66%),
  linear-gradient(180deg, rgba(14, 8, 6, 0.5) 0%, rgba(14, 8, 6, 0) 30%, rgba(14, 8, 6, 0) 75%, rgba(14, 8, 6, 0.45) 100%); }
.hero-b .hero h1 { text-shadow: 0 0 22px rgba(255, 190, 110, 0.5), 0 2px 0 rgba(0, 0, 0, 0.35), 0 6px 24px rgba(0, 0, 0, 0.7); }
.hero__snow { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.hero__content { position: relative; z-index: 3; padding: calc(var(--nav-h) + 3rem) 0 8rem; max-width: 640px; margin-left: max(var(--gut), calc((100% - var(--wrap)) / 2)); }
.hero h1 { color: var(--cream); text-shadow: 0 0 22px rgba(255, 220, 140, 0.55), 0 2px 0 rgba(0, 0, 0, 0.3), 0 6px 24px rgba(0, 0, 0, 0.6); }
.hero__lead { margin-top: 1.2rem; font-size: var(--t-lead); max-width: 48ch; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__actions .btn { max-width: 100%; text-align: center; white-space: normal; }
.hero__fine { margin: 0.85rem 0 0; max-width: 46ch; font-size: 0.85rem; line-height: 1.4; color: var(--parchment); }
.close .hero__actions { width: min(100%, 36rem); justify-content: center; margin-top: 0; }
.close .hero__fine { margin-inline: auto; text-align: center; }
@media (min-width: 900px) {
  .nav__bar { gap: 1rem; }
  .nav__links { gap: 1.05rem; }
  .nav__cta, .nav__links > a[href="/make/recording"], .nav__links > a[href="/recorded-message"] { white-space: nowrap; }
  /* The desktop bar is already full at the 1180px wrap. These links stay in the phone menu, the footer, and the product cards. */
  .nav__extra { display: none; }
}
@media (max-width: 1180px) and (min-width: 900px) {
  .nav__bar { gap: 0.65rem; }
  .nav__links { gap: 0.7rem; }
  .nav__links > a { font-size: 0.9rem; }
  .brand { font-size: 1.2rem; }
  .nav__cta.btn--small { padding-inline: 0.7rem; font-size: 0.88rem; }
}
.snow-pause { position: absolute; z-index: 4; right: max(var(--gut), calc((100% - var(--wrap)) / 2)); bottom: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(251, 243, 227, 0.5); background: rgba(6, 16, 36, 0.65); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.snow-pause svg { width: 16px; height: 16px; }
.snow-pause .ico-play { display: none; }
.snow-pause[aria-pressed="true"] .ico-pause { display: none; }
.snow-pause[aria-pressed="true"] .ico-play { display: block; }

/* the gift tag: parchment, a punched hole, a string */
.tag { position: relative; display: inline-grid; gap: 0.2rem; padding: 0.9rem 1.2rem 0.9rem 2.2rem; background: linear-gradient(180deg, var(--cream), var(--parchment)); color: var(--ink); border-radius: 8px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); text-decoration: none; }
.tag__hole { position: absolute; left: 13px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--night-deep); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--gold-deep); }
.tag--countdown { position: absolute; z-index: 4; right: max(var(--gut), calc((100% - var(--wrap)) / 2)); top: calc(var(--nav-h) + 18px); margin: 0; transform: rotate(5deg); font: 500 1rem/1.2 var(--font-text); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); }
.tag--countdown::after { content: ""; position: absolute; right: 0; top: 0; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(164, 18, 28, 0.12) 18px 22px); pointer-events: none; }

/* snow drifts on section edges */
.drift { position: absolute; left: 0; right: 0; height: 70px; z-index: 5; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='70' viewBox='0 0 600 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70 L0 44 C60 20 120 52 180 36 C240 20 300 46 360 30 C420 14 470 50 530 34 C560 26 580 36 600 40 L600 70 Z' fill='%23ffffff'/%3E%3C/svg%3E") repeat-x bottom center / 600px 70px; }
.drift--hero { bottom: -1px; height: 90px; background-size: 700px 90px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='90' viewBox='0 0 700 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90 L0 60 C80 30 140 70 220 50 C300 30 360 64 440 44 C520 24 580 66 640 48 C670 40 690 50 700 54 L700 90 Z' fill='%230b1a33'/%3E%3C/svg%3E"); }
.drift--bottom { bottom: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='70' viewBox='0 0 600 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70 L0 44 C60 20 120 52 180 36 C240 20 300 46 360 30 C420 14 470 50 530 34 C560 26 580 36 600 40 L600 70 Z' fill='%230f3d2e'/%3E%3C/svg%3E"); }
.drift--cream { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='70' viewBox='0 0 600 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70 L0 44 C60 20 120 52 180 36 C240 20 300 46 360 30 C420 14 470 50 530 34 C560 26 580 36 600 40 L600 70 Z' fill='%23f6ead2'/%3E%3C/svg%3E"); }
.drift--footer { bottom: -1px; height: 60px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='70' viewBox='0 0 600 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70 L0 44 C60 20 120 52 180 36 C240 20 300 46 360 30 C420 14 470 50 530 34 C560 26 580 36 600 40 L600 70 Z' fill='%23ffffff'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: 6rem 0 7rem; }
.section__head { max-width: 720px; margin-bottom: 3rem; }
.section--night { background: var(--night) radial-gradient(ellipse at 50% 0%, rgba(40, 70, 130, 0.5), transparent 60%); color: var(--cream); }
.section--night::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round'%3E%3Cg transform='translate(40 50)'%3E%3Cpath d='M0-14V14M-12-7L12 7M-12 7L12-7M0-14l-4-4M0-14l4-4M0 14l-4 4M0 14l4 4'/%3E%3C/g%3E%3Cg transform='translate(160 140) scale(.7)'%3E%3Cpath d='M0-14V14M-12-7L12 7M-12 7L12-7M0-14l-4-4M0-14l4-4M0 14l-4 4M0 14l4 4'/%3E%3C/g%3E%3Ccircle cx='120' cy='30' r='1.4' fill='%23fff'/%3E%3Ccircle cx='200' cy='80' r='1' fill='%23fff'/%3E%3Ccircle cx='70' cy='180' r='1.2' fill='%23fff'/%3E%3Ccircle cx='20' cy='120' r='.9' fill='%23fff'/%3E%3C/svg%3E"); }
.section--night .wrap { position: relative; }
.section--evergreen { background: var(--evergreen) radial-gradient(ellipse at 50% 100%, rgba(226, 179, 79, 0.16), transparent 55%); color: var(--cream); padding-top: 7rem; }
.section--parchment { background: var(--parchment); color: var(--ink); }
.section--parchment::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55; background: radial-gradient(ellipse at 20% 10%, rgba(217, 192, 143, 0.6), transparent 50%), radial-gradient(ellipse at 90% 90%, rgba(217, 192, 143, 0.5), transparent 45%); }
.section--parchment > .wrap { position: relative; }
.section--red { background: var(--red-deep); color: var(--cream); }
.section--red::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(0, 0, 0, 0.12) 6px 7px), repeating-linear-gradient(-45deg, transparent 0 6px, rgba(0, 0, 0, 0.12) 6px 7px); }
.section--red > .wrap { position: relative; }
.section--hearth { background: var(--hearth) radial-gradient(ellipse at 30% 60%, rgba(255, 140, 50, 0.22), transparent 55%); color: var(--cream); }
.section--plaid { color: var(--cream); background-color: #7d0b13;
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0 2px, transparent 2px 36px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0 2px, transparent 2px 36px),
    repeating-linear-gradient(0deg, rgba(15, 61, 46, 0.55) 0 12px, transparent 12px 36px), repeating-linear-gradient(90deg, rgba(15, 61, 46, 0.55) 0 12px, transparent 12px 36px),
    repeating-linear-gradient(0deg, rgba(226, 179, 79, 0.25) 16px 18px, transparent 18px 36px), repeating-linear-gradient(90deg, rgba(226, 179, 79, 0.25) 16px 18px, transparent 18px 36px); }

/* the garland strip hung across a section's top */
.garland { position: absolute; left: 0; right: 0; top: -22px; height: 110px; z-index: 6; pointer-events: none; background: url("img/garland-strip-1600.webp") repeat-x top center / 1100px 186px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)); }
@media (max-width: 639px) { .garland { height: 80px; background-size: 760px 128px; top: -14px; } }

/* ---------------------------------------------------------------- how it works: the storybook */
.storybook { margin: 0 0 3.5rem; padding: 10px; background: linear-gradient(135deg, var(--gold-deep), var(--gold-light) 40%, var(--gold-deep) 70%, var(--gold-light)); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.storybook img { width: 100%; aspect-ratio: 2.4; object-fit: cover; border-radius: calc(var(--radius) - 8px); }
.storybook figcaption { padding: 0.7rem 0.4rem 0.1rem; text-align: center; font: italic 500 1rem/1.3 var(--font-text); color: var(--ink); }
.pages { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1.2rem; align-items: start; }
.page { position: relative; padding: 2.4rem 1.6rem 1.8rem; background: var(--parchment); color: var(--ink); border-radius: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(184, 134, 43, 0.35);
  background-image: radial-gradient(ellipse at 100% 0%, rgba(217, 192, 143, 0.55), transparent 55%), repeating-linear-gradient(0deg, transparent 0 31px, rgba(184, 134, 43, 0.12) 31px 32px); transform: rotate(var(--tilt, 0deg)); }
.page:nth-child(1) { --tilt: -1.4deg; }
.page:nth-child(3) { --tilt: 1deg; margin-top: 1.2rem; }
.page:nth-child(5) { --tilt: -0.8deg; }
.page::before { content: ""; position: absolute; left: 16px; right: 16px; top: 10px; height: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 10px, var(--cream) 10px 20px); border-radius: 2px; opacity: 0.85; }
.page h3 { margin-top: 1rem; }
.page p { margin-top: 0.6rem; }
.page__pic { border: 4px solid var(--gold-light); outline: 1px solid var(--gold-deep); border-radius: 8px; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
.page__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.seal { position: absolute; top: -18px; left: 50%; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #d8343f, var(--red-deep) 70%); color: var(--cream); font: 400 1.5rem/1 var(--font-display); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45), inset 0 0 0 4px rgba(255, 255, 255, 0.12), inset 0 0 0 6px rgba(125, 11, 19, 0.9); }
.divider { align-self: center; width: 46px; display: grid; place-items: center; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.divider img { width: 46px; }
@media (max-width: 1023px) {
  .pages { grid-template-columns: 1fr 1fr; }
  .divider { display: none; }
  .page:nth-child(5) { grid-column: 1 / -1; max-width: 520px; justify-self: center; }
}
@media (max-width: 639px) {
  .pages { grid-template-columns: 1fr; gap: 2.2rem; }
  .page:nth-child(3) { margin-top: 0; }
  .page:nth-child(5) { max-width: none; }
  .storybook img { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------------- prices: wrapped presents and gift tags */
.gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: end; }
.gift { display: grid; justify-items: center; gap: 0; }
.gift__box { width: min(100%, 330px); margin-bottom: -1.6rem; position: relative; z-index: 1; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35)); transition: transform .3s var(--ease); }
.gift:hover .gift__box { transform: translateY(-8px) rotate(-2deg); }
.tag--gift { position: relative; z-index: 2; width: 100%; padding: 2.6rem 1.4rem 1.4rem 2.4rem; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); border: 1px solid rgba(184, 134, 43, 0.5); }
.tag--gift .tag__hole { left: 50%; top: 12px; margin: 0 0 0 -4.5px; }
.tag--gift .tag__hole::after { content: ""; position: absolute; left: 50%; top: 9px; width: 2px; height: 14px; margin-left: -1px; background: var(--gold-deep); }
.tag--gift .tag__name { font: 400 1.5rem/1.2 var(--font-display); color: var(--ink); }
.tag--gift .tag__line { font-size: var(--t-small); line-height: 1.5; color: var(--ink-soft); margin-top: 0.4rem; }
.tag--gift .tag__price { margin-top: 0.8rem; font: 400 2rem/1 var(--font-display); color: var(--red); }
.tag--gift:hover .tag__name { color: var(--red-ink); }
.gift--red .tag--gift::before, .gift--green .tag--gift::before, .gift--gold .tag--gift::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; }
.gift--red .tag--gift::before { background: repeating-linear-gradient(135deg, var(--red) 0 10px, var(--cream) 10px 20px); }
.gift--green .tag--gift::before { background: repeating-linear-gradient(135deg, var(--evergreen-soft) 0 10px, var(--gold) 10px 20px); }
.gift--gold .tag--gift::before { background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep)); }

.bundles { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: center; margin-top: 5rem; padding: 2.4rem; border-radius: var(--radius); background: rgba(6, 30, 22, 0.55); box-shadow: inset 0 0 0 1px rgba(226, 179, 79, 0.35); }
.bundles__pic img { width: 100%; filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.5)); }
.bundles__text h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.bundles__text > p { margin-top: 0.6rem; }
.bundles__text .btn { margin-top: 1.6rem; }
.list--prices { margin-top: 1.4rem; display: grid; }
.list--prices li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "note price"; gap: 0 1.2rem; padding: 0.9rem 0; border-top: 1px solid rgba(226, 179, 79, 0.35); }
.list__name { grid-area: name; font-weight: 600; }
.list__note { grid-area: note; font-size: var(--t-small); opacity: 0.9; }
.list__price { grid-area: price; align-self: center; font: 400 1.7rem/1 var(--font-display); color: var(--gold); }

/* the golden ticket */
.ticket { display: grid; grid-template-columns: 150px 1fr; margin-top: 3rem; border-radius: 14px; overflow: hidden; color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  background: linear-gradient(135deg, #c9962b 0%, #f4d98a 22%, #d9ad48 45%, #fbefc9 62%, #c9962b 85%, #e8c468 100%); }
.ticket__stub { position: relative; display: grid; place-items: center; text-align: center; font: 400 1.5rem/1.05 var(--font-display); color: var(--red-deep); text-transform: uppercase; letter-spacing: 0.04em; border-right: 3px dashed rgba(125, 11, 19, 0.5); }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; right: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--evergreen); }
.ticket__stub::before { top: -13px; }
.ticket__stub::after { bottom: -13px; }
.ticket__body { padding: 1.8rem 2rem; }
.ticket__body .eyebrow { color: var(--red-deep); }
.ticket__body h3 { color: var(--ink); }
.ticket__body p { max-width: 64ch; margin-top: 0.6rem; }
.ticket__bird { padding-top: 0.8rem; margin-top: 0.8rem !important; border-top: 1px solid rgba(43, 26, 20, 0.3); }
.ticket__bird strong { color: var(--red-deep); }
@media (max-width: 1023px) {
  .gifts { gap: 1.4rem; }
  .bundles { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.6rem; }
  .bundles__pic { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 639px) {
  .gifts { grid-template-columns: 1fr; gap: 3rem; }
  .gift__box { width: min(70%, 280px); }
  .ticket { grid-template-columns: 1fr; }
  .ticket__stub { padding: 1rem; border-right: 0; border-bottom: 3px dashed rgba(125, 11, 19, 0.5); }
  .ticket__stub::before, .ticket__stub::after { right: auto; bottom: -13px; top: auto; }
  .ticket__stub::before { left: -13px; }
  .ticket__stub::after { right: -13px; }
  .ticket__body { padding: 1.4rem 1.2rem; }
}

/* ---------------------------------------------------------------- hear Santa: the radio and the dial */
.radio-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.radio-pic { margin: 0; padding: 10px; border-radius: var(--radius); background: linear-gradient(135deg, var(--gold-deep), var(--gold-light) 45%, var(--gold-deep)); box-shadow: 0 20px 48px rgba(43, 26, 20, 0.35); transform: rotate(-1.5deg); }
.radio-pic img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: calc(var(--radius) - 8px); }
.dial { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.4rem; align-items: center; margin-top: 1.6rem; padding: 1.2rem 1.4rem; border-radius: 16px; color: var(--cream);
  background: linear-gradient(180deg, #6a3a1d, #3f2110); box-shadow: inset 0 0 0 2px rgba(226, 179, 79, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 14px 30px rgba(43, 26, 20, 0.35); }
.dial__knob { width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer; color: var(--hearth-deep); display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fbefc9, var(--gold) 45%, var(--gold-deep) 75%, #7a5416); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5), inset 0 -4px 10px rgba(0, 0, 0, 0.3), 0 0 0 4px #2a1710, 0 0 0 6px var(--gold-deep); transition: transform .2s var(--ease); }
.dial__knob:hover { transform: scale(1.04); }
.dial__knob svg { width: 30px; height: 30px; }
.dial__knob .ico-pause { display: none; }
.dial__knob[aria-pressed="true"] .ico-play { display: none; }
.dial__knob[aria-pressed="true"] .ico-pause { display: block; }
.dial__face { display: grid; gap: 0.4rem; padding: 0.7rem 0.9rem; border-radius: 10px; background: radial-gradient(ellipse at 50% 0%, #ffe3a3, #e8b95a 60%, #c9962b); color: var(--hearth-deep); box-shadow: inset 0 0 0 2px rgba(43, 26, 20, 0.5), inset 0 0 20px rgba(255, 230, 170, 0.6); }
.dial__label { font: italic 500 0.85rem/1.2 var(--font-text); letter-spacing: 0.03em; }
.dial__scale { display: block; }
.dial__scale input { width: 100%; margin: 0; accent-color: var(--red); cursor: pointer; height: 20px; }
.dial__time { font: 600 0.9rem/1 var(--font-text); font-variant-numeric: tabular-nums; }
.dial__download { grid-column: 1 / -1; font-size: var(--t-small); color: var(--gold-light); text-decoration-color: rgba(244, 217, 138, 0.6); }
.script { margin-top: 1.4rem; font-style: italic; color: var(--ink-soft); max-width: 56ch; }
@media (max-width: 1023px) { .radio-split { grid-template-columns: 1fr; gap: 2.5rem; } .radio-pic { max-width: 720px; } }
@media (max-width: 639px) { .dial { grid-template-columns: 1fr; justify-items: start; } .dial__face { width: 100%; } }

/* ---------------------------------------------------------------- what you tell Santa: the Nice List unrolls */
.scroll-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.scroll-text .section__lead { color: var(--cream); }
.scroll-art { width: min(100%, 380px); margin-top: 2rem; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)); transform: rotate(-4deg); }
.nice-list { position: relative; margin-top: 1rem; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)); }
.nice-list__roll { height: 34px; border-radius: 17px; background: linear-gradient(180deg, #f3e4c3 0%, #d9c08f 45%, #b8995f 100%); box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.25); position: relative; z-index: 2; margin: 0 -12px; }
.nice-list__roll::before, .nice-list__roll::after { content: ""; position: absolute; top: 4px; width: 22px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #e9d6b1, #9c7d48 70%); }
.nice-list__roll::before { left: -6px; }
.nice-list__roll::after { right: -6px; }
.nice-list__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 1.4s var(--ease); background: linear-gradient(90deg, #d9c08f, var(--parchment) 8%, var(--cream) 50%, var(--parchment) 92%, #d9c08f); color: var(--ink); }
.nice-list.is-open .nice-list__body { grid-template-rows: 1fr; }
.nice-list__inner { overflow: hidden; min-height: 0; }
.nice-list__inner > * { margin-inline: 2.2rem; }
.nice-list__title { padding-top: 1.6rem; font: 400 2.2rem/1 var(--font-display); color: var(--red); text-align: center; }
.nice-list__title::after { content: ""; display: block; width: 120px; height: 2px; margin: 0.6rem auto 0; background: var(--gold-deep); }
.checks { display: grid; gap: 0.9rem; padding: 1.4rem 0 1.8rem; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 0.1rem 0.8rem; align-items: start; }
.checks li::before { content: ""; grid-row: 1 / 3; width: 22px; height: 22px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5132' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L20 6'/%3E%3C/svg%3E") no-repeat center / contain; }
.checks strong { font-weight: 600; }
.checks span { font-size: var(--t-small); color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .nice-list__body { transition: none; grid-template-rows: 1fr; } }
@media (max-width: 1023px) { .scroll-split { grid-template-columns: 1fr; } .scroll-art { width: min(60%, 320px); margin-top: 1.2rem; } }
@media (max-width: 639px) { .nice-list__inner > * { margin-inline: 1.2rem; } .scroll-art { width: 74%; margin-inline: auto; } }

/* ---------------------------------------------------------------- for parents: the fireside */
.fireside { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.fireside__pic { margin: 0; padding: 12px; border-radius: 8px; background: linear-gradient(135deg, #5a3618, #a56a2e 30%, #5a3618 60%, #8d5a27); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 2px var(--gold-deep); }
.fireside__pic img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 4px; }
.holly-list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.holly-list li { padding-left: 2.2rem; position: relative; }
.holly-list li::before { content: ""; position: absolute; left: 0; top: 0.2rem; width: 24px; height: 24px; background: url("img/holly-400.webp") no-repeat center / contain; }
.fireside__text .link { display: inline-block; margin-top: 1.4rem; }
@media (max-width: 1023px) { .fireside { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ---------------------------------------------------------------- questions: advent doors */
.section__head--light h2 { color: var(--cream); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: start; }
.door { border-radius: 10px; overflow: hidden; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4); background: var(--parchment); color: var(--ink); }
.door summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr; gap: 0.6rem; min-height: 170px; padding: 1.1rem 1.1rem 1.2rem; color: var(--cream); position: relative;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.12), inset 0 0 0 7px rgba(0, 0, 0, 0.18); transition: transform .25s var(--ease); }
.door summary::-webkit-details-marker { display: none; }
.door summary::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3); }
.door summary:hover { transform: translateY(-3px); }
.door--red summary { background: var(--red) repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.07) 14px 28px); }
.door--green summary { background: var(--evergreen) repeating-linear-gradient(45deg, transparent 0 6px, rgba(0, 0, 0, 0.12) 6px 7px), var(--evergreen) repeating-linear-gradient(-45deg, transparent 0 6px, rgba(0, 0, 0, 0.12) 6px 7px); background-color: var(--evergreen); }
.door--gold summary { background: linear-gradient(135deg, #b8862b, #e2b34f 40%, #c9962b 70%, #f4d98a); color: var(--ink); }
.door__num { font: 400 2.4rem/1 var(--font-display); opacity: 0.95; }
.door__q { font: 600 1.05rem/1.35 var(--font-text); }
.door__a { padding: 1rem 1.1rem 1.2rem; font-size: var(--t-small); line-height: 1.55; border-top: 3px solid var(--gold-deep); }
.door[open] summary::after { background: var(--evergreen-soft); }
.faq__more { margin-top: 2.4rem; text-align: center; }
@media (max-width: 1023px) { .doors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .doors { grid-template-columns: 1fr 1fr; gap: 0.8rem; } .door summary { min-height: 150px; padding: 0.9rem; } .door__num { font-size: 2rem; } .door__q { font-size: 0.95rem; } }

/* ---------------------------------------------------------------- the close and the footer */
.close { position: relative; min-height: 88svh; display: grid; place-items: center; overflow: hidden; background: var(--night-deep); color: var(--cream); text-align: center; isolation: isolate; }
.close__pic { position: absolute; inset: 0; z-index: 0; }
.close__pic img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; }
.close::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4, 10, 26, 0.35), rgba(4, 10, 26, 0.15) 40%, rgba(4, 10, 26, 0.6)); }
.close__content { position: relative; z-index: 2; padding: 7rem 0 8rem; max-width: 720px; display: grid; justify-items: center; }
.close h2 { color: var(--cream); text-shadow: 0 0 22px rgba(255, 220, 140, 0.5), 0 6px 24px rgba(0, 0, 0, 0.6); }
.close .hero__lead { margin-bottom: 2rem; }

.footer { position: relative; background: var(--red-deep); color: var(--cream); padding: 3.5rem 0 2.5rem; }
.footer__stripe { position: absolute; left: 0; right: 0; top: 0; height: 14px; background: repeating-linear-gradient(135deg, var(--red-bright) 0 14px, var(--cream) 14px 28px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35); }
.footer::before { content: ""; position: absolute; inset: 14px 0 0; pointer-events: none; opacity: 0.35; background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(0, 0, 0, 0.16) 6px 7px), repeating-linear-gradient(-45deg, transparent 0 6px, rgba(0, 0, 0, 0.16) 6px 7px); }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer__brand p { margin-top: 0.8rem; max-width: 30ch; }
.brand--footer { font-size: 1.7rem; }
.footer__col h3 { font: 600 0.85rem/1.3 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.footer__col li { margin-top: 0.45rem; }
.footer__col a { color: var(--cream); text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.footer__legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(251, 243, 227, 0.25); font-size: var(--t-small); }
@media (max-width: 1023px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 639px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; } }

/* ---------------------------------------------------------------- phone */
@media (max-width: 639px) {
  /* the phone render keeps its sky in the upper half and the cabin below: the words sit over the sky */
  .hero { min-height: 100svh; align-items: start; }
  .hero__pic img { object-position: 50% 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(4, 10, 26, 0.7) 0%, rgba(4, 10, 26, 0.55) 40%, rgba(4, 10, 26, 0.1) 62%, rgba(4, 10, 26, 0) 80%, rgba(4, 10, 26, 0.35) 100%); }
  .hero-b .hero__pic img { object-position: 50% 100%; }
  .hero-b .hero::before { background: linear-gradient(180deg, rgba(14, 8, 6, 0.8) 0%, rgba(14, 8, 6, 0.62) 42%, rgba(14, 8, 6, 0.12) 62%, rgba(14, 8, 6, 0) 80%, rgba(14, 8, 6, 0.3) 100%); }
  .hero__content { padding: calc(var(--nav-h) + 5.5rem) 0 5rem; margin-left: var(--gut); margin-right: var(--gut); }
  .hero h1 { font-size: 2.5rem; }
  .hero__lead { font-size: 1.02rem; }
  .hero__actions .btn { width: 100%; }
  .tag--countdown { right: var(--gut); top: calc(var(--nav-h) + 14px); font-size: 0.9rem; padding: 0.6rem 0.9rem 0.6rem 1.8rem; }
  .snow-pause { bottom: 14px; right: var(--gut); }
  .section { padding: 4.5rem 0 5rem; }
  .section__head { margin-bottom: 2rem; }
  .footer { padding-top: 3rem; }
}

/* ---------------------------------------------------------------- hero B on phones: Santa on top, words below, face clear */
@media (max-width: 639px) {
  html.hero-b .hero {
    --hero-b-pic-h: 56svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100svh;
    height: auto;
    overflow-x: hidden;
    background: linear-gradient(180deg, #1a0e0a 0%, #140b09 42%, var(--night-deep) 78%, var(--night) 100%);
  }
  html.hero-b .hero__pic {
    position: relative;
    inset: auto;
    width: 100%;
    height: var(--hero-b-pic-h);
    min-height: 280px;
    flex: 0 0 var(--hero-b-pic-h);
    z-index: 0;
    overflow: hidden;
  }
  html.hero-b .hero__pic img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    /* frame the laugh, glasses and the red phone; hat clears the fixed nav */
    object-position: 50% 36%;
  }
  /* a soft fade from the portrait into the dark copy — no scrim over the face, no hard seam */
  html.hero-b .hero::before {
    inset: auto;
    left: 0;
    right: 0;
    top: calc(var(--hero-b-pic-h) - 5rem);
    height: 5rem;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(26, 14, 10, 0) 0%, rgba(26, 14, 10, 0.45) 48%, rgba(26, 14, 10, 0.97) 100%);
  }
  html.hero-b .hero__snow {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  html.hero-b .hero__pic { order: 1; }
  html.hero-b .tag--countdown {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    order: 2;
    align-self: flex-start;
    margin: -0.35rem var(--gut) 0.85rem;
    transform: rotate(-3deg);
    z-index: 4;
    max-width: calc(100% - 2 * var(--gut));
  }
  html.hero-b .hero__content {
    position: relative;
    z-index: 3;
    order: 3;
    padding: 0.15rem 0 6rem;
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    width: min(var(--wrap), 100% - 2 * var(--gut));
  }
  html.hero-b .hero__actions { margin-top: 1.35rem; }
  html.hero-b .snow-pause { bottom: 14px; right: var(--gut); z-index: 6; }
  html.hero-b .drift--hero { z-index: 5; }
}

/* ---------------------------------------------------------------- the order page */
.order-page { background: var(--parchment); }
.order-page .nav { background: rgba(6, 16, 36, 0.95); }
.order-main { padding: calc(var(--nav-h) + 3rem) 0 5rem; position: relative; }
.order-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2.5rem; align-items: start; }
/* the plaid band behind the head runs the viewport's width and grows with the head's content; snow drifts along its foot */
.order-head { grid-column: 1 / -1; position: relative; isolation: isolate; color: var(--cream); display: grid; gap: 0.6rem; max-width: 760px; padding-bottom: 4rem; margin-bottom: 0.5rem; }
.order-head::before { content: ""; position: absolute; z-index: -1; top: calc(-1 * (var(--nav-h) + 3rem)); bottom: 0; left: calc(-1 * max(var(--gut), (100vw - var(--wrap)) / 2)); width: 100vw; background-color: #7d0b13;
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0 2px, transparent 2px 36px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0 2px, transparent 2px 36px),
    repeating-linear-gradient(0deg, rgba(15, 61, 46, 0.55) 0 12px, transparent 12px 36px), repeating-linear-gradient(90deg, rgba(15, 61, 46, 0.55) 0 12px, transparent 12px 36px); }
.order-head::after { content: ""; position: absolute; z-index: -1; bottom: -1px; left: calc(-1 * max(var(--gut), (100vw - var(--wrap)) / 2)); width: 100vw; height: 50px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='70' viewBox='0 0 600 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70 L0 44 C60 20 120 52 180 36 C240 20 300 46 360 30 C420 14 470 50 530 34 C560 26 580 36 600 40 L600 70 Z' fill='%23f6ead2'/%3E%3C/svg%3E") repeat-x bottom center / 600px 50px; }
.order-head > * { max-width: calc(100vw - 2 * var(--gut)); }
.order-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); }
.order-head .lead { font-size: var(--t-lead); max-width: 60ch; }
.order-head .tag--countdown { position: static; transform: rotate(-2deg); width: max-content; margin-bottom: 0.4rem; }
.steps { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.2rem; counter-reset: step; font-size: var(--t-small); }
.steps > li { counter-increment: step; display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(251, 243, 227, 0.8); }
.steps > li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c9c9c9 60%, #8a8a8a); color: var(--ink); font: 400 1rem/1 var(--font-display); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.steps > li.is-on { color: var(--cream); font-weight: 600; }
.steps > li.is-on::before { background: radial-gradient(circle at 35% 30%, #ffd36a, var(--gold) 55%, var(--gold-deep)); }
.steps > li.is-done::before { background: radial-gradient(circle at 35% 30%, #4ade80, var(--evergreen-soft) 60%, var(--evergreen)); color: #fff; }

.order-form { display: grid; gap: 1.5rem; }
.step { border: 0; margin: 0; padding: 2rem 1.8rem; display: grid; gap: 1.3rem; background: var(--cream); border-radius: 10px; box-shadow: 0 16px 40px rgba(43, 26, 20, 0.2), inset 0 0 0 1px rgba(184, 134, 43, 0.4); position: relative; }
.step::before { content: ""; position: absolute; left: 14px; right: 14px; top: 8px; height: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 10px, var(--cream) 10px 20px); border-radius: 2px; }
.step__title { padding: 0; margin: 0 0 0.2rem; font: 400 var(--t-h3)/1.2 var(--font-display); color: var(--red-deep); }
.step__lead { max-width: 60ch; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field > label { font-weight: 600; font-size: var(--t-small); }
.field > label .muted { font-weight: 400; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.t-small { font-size: var(--t-small); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], select, textarea { width: 100%; min-height: 46px; padding: 0.6rem 0.8rem; border: 1px solid #b89e78; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--gold-deep); }
[aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 2px rgba(164, 18, 28, 0.2); }
.field__error { color: var(--red-ink); font-size: var(--t-small); font-weight: 500; }
.field--check { display: grid; gap: 0.6rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; cursor: pointer; line-height: 1.5; }
.check input { margin: 4px 0 0; width: 20px; height: 20px; accent-color: var(--red); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.choices--stack { grid-template-columns: 1fr; }
.choice { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; padding: 1rem; border: 1px solid #c8b08a; border-radius: 10px; background: var(--parchment); cursor: pointer; transition: box-shadow .2s, border-color .2s; }
.choice:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 2px var(--red), 0 10px 24px rgba(43, 26, 20, 0.15); background: #fff; }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice input { margin: 4px 0 0; width: 20px; height: 20px; accent-color: var(--red); }
.choice__body { display: grid; gap: 0.4rem; }
.choice__pic { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 3px solid var(--gold-light); margin-bottom: 0.2rem; }
.choice__head { display: flex; justify-content: space-between; gap: 0.6rem; align-items: baseline; }
.choice__name { font-weight: 600; }
.choice__price { font: 400 1.3rem/1 var(--font-display); color: var(--red); white-space: nowrap; }
.choice__line { font-size: var(--t-small); line-height: 1.5; color: var(--ink-soft); }
.choice--eve .choice__price { font-size: 1rem; font-family: var(--font-text); font-weight: 600; color: var(--evergreen); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }
.btn-row--split { justify-content: flex-start; }
.child { display: grid; gap: 1rem; padding: 1.4rem; margin-bottom: 1rem; border: 1px solid #d9c08f; border-radius: 10px; background: var(--parchment); }
.child__title { display: flex; justify-content: space-between; align-items: baseline; font: 400 1.4rem/1.2 var(--font-display); color: var(--evergreen); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: var(--t-small); color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.readback { margin-top: 0.3rem; font-size: var(--t-small); color: var(--ink-soft); line-height: 1.5; }
.readback__number { display: inline-block; min-width: 9ch; font: 400 1.35rem/1 var(--font-display); color: var(--ink-soft); }
.readback__number.is-set { color: var(--red-ink); }
.eve-note { position: relative; margin: 0; padding: 0.8rem 1rem 0.8rem calc(1rem + 10px); border-radius: 8px; overflow: hidden; font-size: var(--t-small); line-height: 1.5; max-width: 60ch;
  background: linear-gradient(135deg, #e8c468, #fbefc9 50%, #e2b34f); }
.eve-note::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: repeating-linear-gradient(135deg, var(--red) 0 8px, var(--cream) 8px 16px); }
.eve-note > strong { color: var(--red-deep); }
.eve-picker { display: grid; gap: 0.7rem; }
.windows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.window { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 0.7rem; border: 1px solid #c8b08a; border-radius: 8px; background: #fff; font-size: var(--t-small); cursor: pointer; }
.window input { width: 16px; height: 16px; accent-color: var(--red); margin: 0; }
.window:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.window:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.window.is-full { color: var(--ink-soft); cursor: not-allowed; background: var(--parchment-dark); }
.window.is-full > span { text-decoration: line-through; }
.window.is-full > em { font-style: normal; font-weight: 600; color: var(--red); }
.notice { padding: 1rem 1.2rem; border-radius: 8px; background: var(--parchment); border-left: 4px solid var(--evergreen); }
.notice p { max-width: 64ch; }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.2rem; margin: 0; }
.summary dt { color: var(--ink-soft); font-size: var(--t-small); padding-top: 2px; }
.summary dd { margin: 0; }
.stripe-slot { display: grid; gap: 1rem; padding: 1.4rem; border: 2px dashed var(--gold-deep); border-radius: 10px; background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(43, 26, 20, 0.04) 14px 16px); }
.stripe-slot .label { font-weight: 600; color: var(--red-deep); }
.form__status { color: var(--red-ink); font-weight: 600; }
.order-aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.basket { position: relative; display: grid; gap: 1rem; padding: 2.4rem 1.6rem 1.6rem; background: linear-gradient(180deg, var(--cream), var(--parchment)); border-radius: 12px; box-shadow: 0 16px 40px rgba(43, 26, 20, 0.25); border: 1px solid rgba(184, 134, 43, 0.5); }
.basket::before { content: ""; position: absolute; left: 50%; top: 12px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--night-deep); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--gold-deep); }
.basket__label { font: 400 1.6rem/1 var(--font-display); color: var(--red-deep); text-align: center; }
.basket .rows li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid rgba(184, 134, 43, 0.35); }
.basket .rows li:first-child { border-top: 0; }
.rows__value { font: 400 1.25rem/1 var(--font-display); color: var(--red); white-space: nowrap; }
.basket__total { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.15rem; padding-top: 0.8rem; border-top: 2px solid var(--gold-deep); }
.basket__total span:last-child { font: 400 1.7rem/1 var(--font-display); color: var(--red); }
.order-footer { position: relative; background: var(--red-deep); color: var(--cream); padding: 2.2rem 0 1.8rem; font-size: var(--t-small); }
.order-footer .footer__stripe { top: 0; }
.order-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.order-footer a { color: var(--cream); }
@media (max-width: 1023px) { .order-wrap { grid-template-columns: 1fr; } .order-aside { position: static; } .choices { grid-template-columns: 1fr; } .windows { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .grid-2 { grid-template-columns: 1fr; } .step { padding: 1.5rem 1.1rem; } .btn-row .btn { width: 100%; } .windows { grid-template-columns: 1fr 1fr; } .order-main { padding-top: calc(var(--nav-h) + 2rem); } }

/* ---------------------------------------------------------------- the legal pages */
.legal-main { padding: calc(var(--nav-h) + 3rem) 0 5rem; position: relative; }
.legal-main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; background: var(--evergreen) radial-gradient(ellipse at 50% 100%, rgba(226, 179, 79, 0.16), transparent 55%); }
.legal-main::after { content: ""; position: absolute; left: 0; right: 0; top: 130px; height: 50px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='70' viewBox='0 0 600 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70 L0 44 C60 20 120 52 180 36 C240 20 300 46 360 30 C420 14 470 50 530 34 C560 26 580 36 600 40 L600 70 Z' fill='%23f6ead2'/%3E%3C/svg%3E") repeat-x bottom center / 600px 50px; }
.legal-main .nav { background: rgba(6, 16, 36, 0.95); }
.legal { position: relative; z-index: 1; max-width: 780px; display: grid; gap: 1rem; padding: 2.4rem 2rem; background: var(--cream); border-radius: 10px; box-shadow: 0 16px 40px rgba(43, 26, 20, 0.2), inset 0 0 0 1px rgba(184, 134, 43, 0.4); }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--red-deep); }
.legal h2 { font: 600 1.2rem/1.3 var(--font-text); margin-top: 1.2rem; color: var(--evergreen); }
.legal p, .legal li { max-width: 68ch; }
.legal__list { display: grid; gap: 0.6rem; padding-left: 1.2em; list-style: disc; }
.draft-badge { display: inline-block; width: max-content; padding: 4px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.85rem; font-weight: 600; }
.placeholder-note { padding: 0.9rem 1rem; border-left: 4px solid var(--gold-deep); background: var(--parchment); border-radius: 0 8px 8px 0; }
.legal--numbered { counter-reset: sec; }
.legal--numbered h2 { counter-increment: sec; }
.legal--numbered h2::before { content: counter(sec) ". "; color: var(--gold-deep); }
@media (max-width: 639px) { .legal { padding: 1.6rem 1.1rem; } }
