/* Design B, "Paper & Pine": warm ivory paper, deep pine type, DM Serif Display headlines with an
   italic accent and Plus Jakarta Sans for the interface, rounded white cards with soft shadows and a
   hand-drawn pine sprig. Cranberry is only for the primary action (plus tiny accents: the star in the
   wordmark, the sprig's berries, tonight's dot). Mobile first. */
:root {
  --paper: #FBF8F2;
  --paper-2: #F3EEE4;
  --card: #FFFFFF;
  --pine: #1F4D3A;
  --pine-deep: #15382A;
  --pine-soft: #E6EEE8;
  --ink: #1C2621;
  --ink-2: #34423A;
  --muted: #56645C;
  --line: rgba(246, 238, 221, .12);
  --line-2: rgba(246, 238, 221, .22);
  --cran: #B4233A;
  --cran-deep: #951B2F;
  --gold: #C8963A;
  --gold-ink: #7A5A1F;
  --good: #2E6B4C;
  --bad: #9B2335;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 28px;
  --r-md: 22px;
  --r-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(28, 38, 33, .06), 0 2px 8px rgba(28, 38, 33, .05);
  --shadow: 0 2px 6px rgba(28, 38, 33, .05), 0 18px 40px -12px rgba(28, 38, 33, .18);
  --shadow-lg: 0 4px 10px rgba(28, 38, 33, .06), 0 40px 80px -24px rgba(21, 56, 42, .32);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --gutter: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 12px; }
.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; }
[hidden] { display: none !important; }
.tnum { font-variant-numeric: tabular-nums; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 80; background: var(--n-fir); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 8px; }

/* Typography */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--pine-deep); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: 38px; line-height: 1.04; letter-spacing: -.02em; }
h2 { font-size: 28px; line-height: 1.1; letter-spacing: -.015em; }
h3 { font-size: 21px; line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--pine); }
p { margin: 0 0 1em; }
.lead { font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font: 700 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pine); margin: 0 0 10px; }
a:not(.btn) { text-underline-offset: 3px; text-decoration-color: rgba(246, 238, 221, .35); }
a:not(.btn):hover { text-decoration-color: currentColor; }
.lead a, .muted a, p a:not(.btn) { color: var(--pine); font-weight: 600; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 660px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 400 21px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; color: var(--pine); text-decoration: none; }
.brand .star { flex: none; color: var(--gold); }

/* Top bar */
.site-header .wrap, .top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-top: var(--safe-t); }
.site-nav, .nav { display: flex; align-items: center; gap: 2px; }
.site-nav a, .nav a { display: none; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 600 14.5px/1 var(--sans); color: var(--muted); text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .nav a:hover { color: var(--pine); background: var(--pine-soft); }
.site-nav a.nav-home, .nav a.nav-keep { display: inline-flex; }
@media (min-width: 760px) { .site-nav a { display: inline-flex; } }
/* Phones: every page is one tap away in the Menu (Sam 10-28: content was hard to find) */
.nav-menu { position: relative; }
.nav-menu summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 600 14.5px/1 var(--sans); color: var(--pine); cursor: pointer; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { background: var(--pine-soft); }
.nav-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; display: grid; min-width: 250px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.site-nav .nav-pop a, .nav .nav-pop a { display: flex; min-height: 46px; padding: 0 14px; border-radius: 12px; color: var(--ink); font-weight: 600; }
.nav-pop a:hover { background: var(--pine-soft); }
.nav-pop a.is-family { border: 0; color: var(--pine); }
@media (min-width: 760px) { .nav-menu { display: none; } }
.fl-short { display: none; }
.nav-pop .fl-short { display: none !important; }
.nav-pop .fl-long { display: inline !important; }
@media (max-width: 430px) {
  .nav-menu summary span, .site-nav .fl-long, .nav .fl-long { display: none; }
  .site-nav .fl-short, .nav .fl-short { display: inline; }
  .nav-menu summary { padding: 0 10px; }
  .site-header .brand, .top .brand { font-size: 19px; gap: 6px; }
  .site-nav a.is-family, .nav a.is-family { padding: 0 12px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font: 700 16px/1.1 var(--sans); letter-spacing: .005em; text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s ease, background .2s, box-shadow .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.99); }
.btn svg { flex: none; }
.btn-primary { background: var(--cran); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -8px rgba(180, 35, 58, .55); }
.btn-primary:hover { background: var(--cran-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--card); border-color: var(--line-2); color: var(--pine); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--pine); background: var(--card); color: var(--pine-deep); }
.btn-link { background: none; color: var(--pine); font-weight: 600; padding: 0 8px; min-height: 48px; border: 0; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.danger { border-color: rgba(155, 35, 53, .45); color: var(--bad); }
.linklike { background: none; border: 0; color: var(--pine); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(246, 238, 221, .4); padding: 0; min-height: 32px; }

/* Cards */
.glass, .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.card { padding: 20px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font: 700 12px/1 var(--sans); letter-spacing: .02em; color: var(--pine); background: var(--pine-soft); white-space: nowrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 20px; }
.chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); font: 600 14px/1 var(--sans); color: var(--pine); text-decoration: none; }
.chip:hover { border-color: var(--pine); background: var(--pine-soft); }
.chip .muted { color: var(--muted); }

/* ---------- HOME: first visit ---------- */
#home-returning { display: none; }
html[data-view="returning"] #home-returning { display: block; }
html[data-view="returning"] #marketing { display: none; }
html[data-view="loading"] #marketing, html[data-view="loading"] #home-returning { visibility: hidden; }

@media (max-width: 759px) { .top #your-home:not([hidden]) ~ [data-family-link] { display: none; } }

section { scroll-margin-top: 24px; }
.meta { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.meta b { color: var(--ink); font-weight: 700; }

/* Video messages: headline + carousel of examples + waitlist */
.msgs { padding: 4px 0 40px; }
.msgs h1 { font-size: clamp(31px, 8.6vw, 60px); line-height: 1.06; text-align: center; margin: 0 auto 8px; max-width: 17ch; }
.msgs h1 em { white-space: nowrap; }
.msgs-sub { text-align: center; color: var(--muted); font-size: 16px; margin: 0 0 18px; }

/* The carousel bleeds edge to edge; the centred card is full size, its neighbours peek in. */
.car { --card-w: min(64vw, 270px); position: relative; }
.car-track { list-style: none; margin: 0; display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 14px calc(50% - var(--card-w) / 2) 18px; margin: -6px 0 -8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.msg { flex: none; width: var(--card-w); scroll-snap-align: center; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.msg:not(.on) { opacity: .72; transform: scale(.94); }
.msg-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: #20160f; box-shadow: 0 2px 6px rgba(28, 38, 33, .06), 0 12px 20px -10px rgba(28, 38, 33, .25); outline: 5px solid var(--line-2); }
.msg.on .msg-frame { box-shadow: 0 4px 10px rgba(28, 38, 33, .08), 0 16px 28px -12px rgba(21, 56, 42, .4); }
.msg-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.msg-btn { position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; padding: 0; margin: 0; background: none; cursor: pointer; border-radius: inherit; }
.msg-btn:focus-visible { outline-offset: -5px; }
/* Play / pause / sound badge, bottom left */
.msg-ico { position: absolute; left: 12px; bottom: 12px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 16px rgba(28, 38, 33, .28); display: grid; place-items: center; transition: transform .2s var(--ease), opacity .3s; }
.msg-btn:hover .msg-ico { transform: scale(1.06); }
.msg-ico::before { content: ""; width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--cran); }
[data-state="sound"] .msg-ico { opacity: 0; }
[data-state="sound"] .msg-btn:hover .msg-ico, [data-state="sound"] .msg-btn:focus-visible .msg-ico { opacity: 1; }
[data-state="sound"] .msg-ico::before { margin: 0; width: 14px; height: 16px; border: 0; border-left: 5px solid var(--ink); border-right: 5px solid var(--ink); }
/* Silent preview: the badge says "tap for sound" */
[data-state="preview"] .msg-ico { width: auto; padding: 0 14px 0 12px; border-radius: 999px; height: 40px; display: flex; gap: 6px; font: 600 13px/1 var(--sans); color: var(--ink); }
[data-state="preview"] .msg-ico::before { margin: 0; border-width: 6px 0 6px 10px; }
[data-state="preview"] .msg-ico::after { content: "Tap for sound"; }
.msg-cap { margin: 12px 0 0; text-align: center; font-size: 14.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-cap b { color: var(--pine-deep); font-weight: 700; }

.car.fits .car-nav { display: none; }
.car-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
.car-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card); color: var(--pine); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .2s, opacity .2s; }
.car-arrow:hover:not(:disabled) { border-color: var(--pine); }
.car-arrow:disabled { opacity: .35; cursor: default; }
.car-dots { display: flex; }
.car-dot { width: 28px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.car-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); transition: width .3s var(--ease), background .3s; }
.car-dot[aria-current="true"]::before { width: 22px; background: var(--n-fir); }

.msgs-cta { display: flex; flex-direction: column; align-items: center; margin-top: 14px; }
.msgs-cta > .btn { width: 100%; max-width: 360px; }
.msg-prices { list-style: none; margin: 0 0 12px; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; font-size: 15px; color: var(--muted); }
.msg-prices li { white-space: nowrap; }
.msg-prices li + li::before { content: "\00b7"; margin: 0 10px; color: var(--muted); }
.msg-prices b { color: var(--ink); font-weight: 700; }
.wl { width: 100%; max-width: 360px; text-align: center; }
.js .wl:not(.open) { display: none; }
.wl-h { margin: 4px 0 12px; font: 400 22px/1.2 var(--serif); color: var(--pine-deep); }
.wl-fields { display: grid; gap: 10px; }
.wl input { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); font: 500 16px var(--sans); color: var(--ink); }
.wl .btn { width: 100%; }
.wl-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); }
.wl.done .wl-fields { display: none; }
.wl.done .wl-msg { font-weight: 600; color: var(--good); }

/* Christmas Eve: the sample film + the order button */
.eve-sec { padding: 40px 0 44px; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eve-grid { display: grid; gap: 22px; justify-items: center; }
.eve-film { width: min(60vw, 260px); }
.eve-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eve-copy .eyebrow { justify-content: center; }
.eve-copy h2 { font-size: clamp(27px, 7.4vw, 44px); line-height: 1.1; max-width: 20ch; margin: 0 0 10px; }
.eve-line { color: var(--muted); margin: 0 0 18px; }
.eve-copy .btn { width: 100%; max-width: 360px; }

/* More from the North Pole: two small links */
.more { padding: 36px 0 40px; }
.more h2 { font-size: 22px; text-align: center; margin: 0 0 14px; }
.more-row { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.more-card { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 10px 16px 10px 10px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: border-color .2s; }
.more-card:hover { border-color: var(--line-2); }
.more-card img { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.more-card b { display: block; font: 600 15.5px/1.3 var(--sans); color: var(--pine-deep); }
.more-card small { display: block; font-size: 13.5px; color: var(--muted); }
.follow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 14px; margin: 18px 0 0; }
.follow img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.follow a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--pine); text-decoration: none; }
.follow a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: calc(var(--safe-b) + 40px); color: var(--muted); font-size: 14px; text-align: center; }
.foot-row { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.site-footer .brand { font-size: 19px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--pine); text-decoration: underline; }
.site-footer small { display: block; margin: 12px auto 0; max-width: 62ch; font-size: 12.5px; line-height: 1.55; }
#marketing .site-footer { margin-top: 0; }
body.has-tabbar .site-footer { padding-bottom: calc(var(--safe-b) + 120px); }

/* ---------- HOME: returning family ---------- */
.home-top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-top: var(--safe-t); }
.home-top .right { display: flex; align-items: center; gap: 6px; }
.explore { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 600 14.5px/1 var(--sans); color: var(--muted); background: none; border: 0; cursor: pointer; }
.explore:hover { color: var(--pine); background: var(--pine-soft); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--sans); background: var(--n-fir); color: #fff; text-decoration: none; }
.greet { padding: 14px 0 22px; }
.greet .hi { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.greet .hi svg { color: var(--gold); flex: none; }
.greet h1 { font-size: clamp(34px, 9vw, 56px); margin: 0; }
.preview-tag { display: inline-flex; margin-top: 12px; height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; border: 1px dashed var(--gold); color: var(--gold-ink); background: rgba(200, 150, 58, .08); font: 600 12px/1 var(--sans); }
.home-grid { display: grid; gap: 16px; }
.home-grid > * { min-width: 0; }

/* The one dark element: tonight's card */
.now { position: relative; overflow: hidden; background: var(--n-fir); color: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-lg); }
.now::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 70%); pointer-events: none; }
.now > * { position: relative; }
.now h2 { color: #fff; font-size: clamp(27px, 7vw, 36px); line-height: 1.08; margin: 0 0 10px; }
.now .by { margin: 0; color: rgba(255, 255, 255, .82); font-size: 14.5px; }
.now-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.now .tag { background: rgba(255, 255, 255, .14); color: #fff; }
.live { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #FF6B7F; box-shadow: 0 0 0 4px rgba(255, 107, 127, .25); animation: pulse 1.8s ease-in-out infinite; }
.live.calm i { background: #9FD9B8; box-shadow: 0 0 0 4px rgba(159, 217, 184, .2); animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 107, 127, .05); } }
.now-main { display: flex; gap: 16px; align-items: center; }
.pip { flex: none; width: 88px; height: 110px; border-radius: 20px; overflow: hidden; background: var(--n-fir-deep); outline: 3px solid rgba(255, 255, 255, .9); display: grid; place-items: center; font-size: 28px; color: var(--gold); }
.pip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.clock { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font: 700 24px/1.1 var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock small { font: 500 13px/1 var(--sans); color: rgba(255, 255, 255, .78); letter-spacing: 0; }
.now-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.now-actions .btn { width: 100%; }
.now-actions .btn-primary { box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); }
.now .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; box-shadow: none; }
.now .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.now .chip { width: 100%; justify-content: center; min-height: 48px; background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.now .chip:hover { background: rgba(255, 255, 255, .1); }
.nights { margin-top: 20px; }
.nights-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .82); margin-bottom: 8px; }
.nights-row b { color: #fff; }
.dots { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; }
.dots i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.dots i.done { background: rgba(255, 255, 255, .75); }
.dots i.tonight { background: #FF8A9A; box-shadow: 0 0 0 2px rgba(255, 138, 154, .3); }

/* White Santa card */
.eve { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 20px; display: flex; gap: 16px; align-items: center; }
.eve .th { flex: none; width: 76px; height: 96px; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.eve .th img { width: 100%; height: 100%; object-fit: cover; }
.eve .k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pine); }
.eve h3 { font-size: 22px; margin: 4px 0 6px; }
.eve .cd { font: 700 18px/1.2 var(--sans); color: var(--ink); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.eve a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--pine); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.eve a:hover { text-decoration: underline; text-underline-offset: 3px; }

.row-head { display: flex; align-items: baseline; justify-content: space-between; margin: 34px 0 14px; scroll-margin-top: 16px; }
.row-head h2 { font-size: 26px; margin: 0; }
.row-head a { font-size: 14px; font-weight: 600; color: var(--pine); min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.vid { flex: none; width: 148px; scroll-snap-align: start; color: inherit; text-decoration: none; }
.vid .th { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); background: var(--n-fir-deep); display: grid; place-items: center; }
.vid .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vid:hover .th img { transform: scale(1.04); }
.vid .play { position: absolute; left: 10px; bottom: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); }
.vid .play svg { width: 16px; height: 16px; }
.vid .len { position: absolute; right: 10px; bottom: 16px; z-index: 1; font: 700 11.5px/1 var(--sans); color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.vid.pending .th { background: var(--paper-2); border: 1.5px dashed rgba(246, 238, 221, .3); box-shadow: none; text-align: center; color: var(--pine); padding: 12px; }
.vid .state { font-size: 13px; font-weight: 600; line-height: 1.35; }
.vid b { display: block; margin-top: 9px; font: 600 14px/1.3 var(--sans); }
.vid .sub { display: block; font-size: 12.5px; color: var(--muted); }
.card-pc { flex: none; width: 168px; scroll-snap-align: start; color: inherit; text-decoration: none; }
.card-pc .th { aspect-ratio: 1; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); background: var(--card); padding: 5px; }
.card-pc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 11px; }
.card-pc span { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 600; }
.empty-row { padding: 16px 18px; color: var(--muted); font-size: 14.5px; }
.empty-row p { margin: 0 0 10px; }
.home-foot { margin-top: 40px; border-top: 1px solid var(--line); padding: 24px 0 calc(var(--safe-b) + 120px); font-size: 12.5px; color: var(--muted); text-align: center; }
.home-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; margin-bottom: 6px; }
.home-foot nav a, .home-foot .linklike { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 500; font-size: 13.5px; }
.home-foot nav a:hover, .home-foot .linklike:hover { color: var(--pine); text-decoration: underline; }

/* Phone tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 6px 12px calc(var(--safe-b) + 8px); background: rgba(20, 17, 15, .94); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; font: 600 11.5px/1 var(--sans); color: var(--muted); border-radius: 16px; text-decoration: none; }
.tabbar a svg { padding: 3px 14px; box-sizing: content-box; border-radius: 999px; transition: background .2s, color .2s; }
.tabbar a:hover { color: var(--pine); }
.tabbar a[aria-current="page"] { color: var(--pine-deep); }
.tabbar a[aria-current="page"] svg { background: var(--pine-soft); color: var(--pine); }

/* ---------- Forms (order flows) ---------- */
.form-shell { padding-top: 8px; padding-bottom: 40px; }
.progress { height: 6px; background: var(--pine-soft); border-radius: 999px; overflow: hidden; margin: 8px 0; }
.progress > span { display: block; height: 100%; width: 0; background: var(--n-fir); border-radius: 999px; transition: width .4s var(--ease); }
.step-count { font-size: 13px; font-weight: 600; color: var(--muted); }
.step { display: none; }
.step.active { display: block; animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step h1, .form-shell > h1 { font-size: 34px; margin-top: 18px; }
.field { margin: 0 0 18px; }
label, .label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.hint { display: block; font-size: 13.5px; color: var(--muted); margin: -2px 0 8px; font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; background: var(--card); color: var(--ink); border: 1.5px solid var(--line-2); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pine) 50%), linear-gradient(135deg, var(--pine) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #7D8982; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px rgba(246, 238, 221, .12); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-list { display: grid; gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; font-weight: 400; margin: 0; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .card { display: flex; justify-content: space-between; gap: 12px; align-items: center; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice:hover .card { border-color: var(--line-2); }
.choice input:checked + .card { border-color: var(--pine); box-shadow: 0 0 0 1.5px var(--pine), var(--shadow); }
.choice input:focus-visible + .card { outline: 3px solid var(--gold); outline-offset: 3px; }
.choice .price { font: 400 28px/1 var(--serif); color: var(--pine-deep); white-space: nowrap; }
.choice .tag { margin-left: 6px; height: 24px; vertical-align: middle; }
.choice.disabled { opacity: .55; cursor: not-allowed; }
.choice .price .per { font: 500 13px var(--sans); color: var(--muted); }
.soldout { color: var(--bad); font-size: 14px; }
.kid-block { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; margin: 0 0 14px; background: var(--card); box-shadow: var(--shadow-sm); min-width: 0; }
.kid-block legend { font: 400 18px var(--serif); padding: 0 6px; color: var(--pine-deep); }
.form-nav { display: flex; gap: 12px; margin-top: 26px; }
.form-nav .btn-primary { flex: 1; }
.form-nav .btn-ghost { flex: none; }
.errors { display: none; border: 1px solid rgba(155, 35, 53, .35); background: rgba(179, 38, 30, .18); color: #FFB4A9; border-radius: 16px; padding: 12px 16px; margin: 14px 0; }
.errors.show { display: block; }
.errors ul { margin: 0; padding-left: 1.1em; }
.notice { border-radius: 16px; padding: 14px 16px; background: var(--pine-soft); border: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.demo-banner { background: rgba(200, 150, 58, .1); border: 1px dashed var(--gold); border-radius: 16px; padding: 10px 14px; font-weight: 600; color: var(--gold-ink); font-size: 14px; margin: 12px 0; }
.dropzone { display: grid; place-items: center; gap: 6px; text-align: center; padding: 26px 16px; border: 1.5px dashed rgba(246, 238, 221, .35); border-radius: var(--r-md); background: var(--paper-2); color: var(--pine-deep); cursor: pointer; font-weight: 400; }
.dropzone:hover, .dropzone.drag { border-color: var(--pine); background: var(--pine-soft); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.thumb { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); border: 4px solid var(--line-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.thumb button { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(28, 38, 33, .78); color: #fff; cursor: pointer; font-size: 1rem; }
.thumbs .thumb:only-child { max-width: 160px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--pine); flex: none; }
.review dl, dl.kv { display: grid; grid-template-columns: 1fr; gap: 2px 14px; margin: 0; }
.review dt, dl.kv dt { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 12px; }
.review dt:first-child, dl.kv dt:first-child { margin-top: 0; }
.review dd { margin: 0; overflow-wrap: anywhere; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 400 28px var(--serif); color: var(--pine-deep); margin: 18px 0 6px; }
.script-box textarea { font-size: 17px; min-height: 150px; line-height: 1.55; }
.word-count { font-size: 13px; color: var(--muted); text-align: right; margin-top: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.actions .btn-primary { flex: 1 1 200px; }
.spinner { width: 48px; height: 48px; margin: 10px auto 16px; border-radius: 50%; border: 3px solid var(--pine-soft); border-top-color: var(--pine); animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.player { width: min(100%, 380px); margin: 0 auto; }
.player video { width: 100%; aspect-ratio: 9 / 16; border-radius: 24px; background: #20160f; outline: 6px solid var(--line-2); box-shadow: var(--shadow-lg); }
.toast { position: fixed; left: 50%; bottom: calc(var(--safe-b) + 90px); transform: translateX(-50%); background: var(--n-fir-deep); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-lg); z-index: 90; max-width: calc(100% - 32px); text-align: center; }

/* Name rows: how Santa says each child's name */
.row-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.row-title { font: 400 19px var(--serif); color: var(--pine-deep); margin: 0; }
.remove-kid { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.remove-kid:hover { color: var(--pine); border-color: var(--pine); }
.say { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 16px; }
.hear { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid transparent; background: var(--pine-soft); color: var(--pine); font: 700 14px/1 var(--sans); cursor: pointer; }
.hear:hover { border-color: var(--pine); }
.hear[disabled] { opacity: .45; cursor: not-allowed; }
.hear.playing svg { animation: blink 1s infinite; }
/* a script being written: fading busy button + shimmering placeholder lines */
.is-writing { animation: write-fade 1.6s ease-in-out infinite; }
@keyframes write-fade { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.script-wait { display: grid; gap: 12px; padding: 6px 0; }
.sw-line { display: block; height: 12px; border-radius: 8px; background: linear-gradient(90deg, var(--line) 0%, var(--line) 35%, rgba(246, 238, 221, .3) 50%, var(--line) 65%, var(--line) 100%); background-size: 300% 100%; animation: sw-shimmer 1.6s linear infinite; }
.sw-head { height: 14px; margin-top: 6px; }
.sw-head:first-child { margin-top: 0; }
@keyframes sw-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .is-writing, .sw-line { animation: none; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.say .ok, .say .notq { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink-2); font: 600 14px/1 var(--sans); cursor: pointer; }
.say .ok:hover, .say .notq:hover { color: var(--pine); border-color: var(--pine); }
.say .ok[aria-pressed="true"] { background: var(--n-fir); border-color: var(--pine); color: #fff; }
.say .notq[aria-pressed="true"] { background: var(--pine-soft); border-color: var(--pine); color: var(--pine-deep); }
.say-state { font-size: 13px; color: var(--muted); flex-basis: 100%; margin: 0; }
.say-state.good { color: var(--good); font-weight: 600; }
.fix { border-top: 1px solid var(--line); margin-top: 2px; padding-top: 14px; }
.rec { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.rec-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink-2); font: 600 14px/1 var(--sans); cursor: pointer; }
.rec-btn:hover { border-color: var(--pine); color: var(--pine); }
.rec-btn .rdot { width: 10px; height: 10px; border-radius: 50%; background: var(--cran); flex: none; }
.rec-btn.recording { border-color: rgba(180, 35, 58, .5); background: rgba(179, 38, 30, .18); color: #FFB4A9; }
.rec-btn.recording .rdot { animation: blink .8s infinite; }
.rec audio { height: 40px; max-width: 100%; }
.rec-note { flex-basis: 100%; font-size: 13px; color: var(--muted); margin: 0; }
.group-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.group-note svg { flex: none; color: var(--gold); margin-top: 2px; }
.safety { display: grid; gap: 8px; margin-top: 10px; }
.safety label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; margin: 0; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--card); }
.safety label:has(input:checked) { border-color: var(--pine); background: var(--pine-soft); }
.safety input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--pine); flex: none; }
.safety-card { margin-top: 14px; }
.safety-card h3 { font-size: 19px; margin-bottom: 4px; }

/* Order page: listen + approve */
.listen { position: relative; overflow: hidden; padding: 20px; }
.big-play { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px; border-radius: 22px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; }
.big-play:hover { background: var(--pine-soft); }
.big-play .pb { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--n-fir); color: #fff; box-shadow: 0 8px 18px -8px rgba(21, 56, 42, .6); }
.big-play b { display: block; font: 700 17px/1.2 var(--sans); color: var(--pine-deep); }
.big-play span span { font-size: 13.5px; color: var(--muted); }
.bar { height: 6px; border-radius: 999px; background: var(--pine-soft); margin-top: 12px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--n-fir); border-radius: 999px; }
.quote { font: italic 400 21px/1.45 var(--serif); margin: 18px 0 6px; color: var(--pine-deep); text-wrap: pretty; }
.approved-badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--pine-soft); color: var(--pine); font: 700 13px/1 var(--sans); }
.edit-box { margin-top: 16px; }

/* Order status + family pages */
.checklist { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: "\2713"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--pine-soft); color: var(--pine); font-size: .8rem; font-weight: 700; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.checks li { display: flex; gap: 8px; font-size: 15px; }
.checks li span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.checks li.good span { background: var(--pine-soft); color: var(--good); }
.checks li.warn span { background: rgba(200, 150, 58, .18); color: var(--gold-ink); }
.checks li.bad span { background: rgba(179, 38, 30, .18); color: var(--bad); }
.countdown-card { text-align: center; margin: 14px 0 20px; }
.countdown-card .eyebrow { margin-bottom: .4em; justify-content: center; }
.countdown { font: 400 34px/1.1 var(--serif); color: var(--pine-deep); margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.h3 { font-size: 22px; margin-top: 26px; }
.fsec { padding: 26px 0 8px; scroll-margin-top: 16px; }
.fsec h2 { font-size: 26px; }
.credits { font-size: 16px; }
.credits strong { font: 400 30px var(--serif); color: var(--pine-deep); }
.mischief-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .mischief-grid { grid-template-columns: 1fr 1fr; } }
.mischief { position: relative; cursor: pointer; display: block; font-weight: 400; margin: 0; }
.mischief input { position: absolute; opacity: 0; pointer-events: none; }
.mischief > span { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding: 12px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); height: 100%; }
.mischief .emoji { grid-row: span 2; font-size: 1.5rem; line-height: 1.2; }
.mischief strong { font-size: 15px; }
.mischief input:checked + span { border-color: var(--pine); box-shadow: 0 0 0 1px var(--pine); background: var(--pine-soft); }
.mischief input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.video-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.video-item { padding: 10px; }
.video-item a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); }
.video-item img, .video-item .ph { width: 54px; height: 96px; object-fit: cover; border-radius: 12px; flex: none; background: var(--paper-2); display: grid; place-items: center; color: var(--muted); }
.video-item a > span:last-child { display: grid; gap: 2px; }
.album { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.album img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; border: 4px solid var(--line-2); box-shadow: var(--shadow-sm); }
.album li span { display: block; margin-top: 4px; color: var(--muted); }
.row-inline { display: flex; gap: 8px; }
.row-inline input { flex: 1; min-width: 0; }
.inline-form { margin: 10px 0; }
details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--pine-deep); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 34px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; font-size: 1.4rem; color: var(--pine); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Legal + content */
.legal { padding-top: 10px; padding-bottom: 40px; }
.legal h1 { font-size: 38px; margin-top: 12px; }
.legal h2 { font-size: 24px; margin-top: 1.6em; }
.legal li { margin: 6px 0; color: var(--ink-2); }
.legal p { color: var(--ink-2); }
.legal .lead { color: var(--muted); }
.draft { background: rgba(179, 38, 30, .18); border: 1px solid rgba(155, 35, 53, .35); border-radius: 14px; padding: 12px 14px; font-weight: 600; color: #FFB4A9 !important; }
.ideas-page { padding-top: 10px; padding-bottom: 40px; }
.ideas-page section { padding: 30px 0; }
.ideas-page h1 { font-size: 38px; margin-top: 10px; }
.section-head { max-width: 640px; margin-bottom: 20px; }
.idea-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .idea-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .idea-grid { grid-template-columns: repeat(3, 1fr); } }
.idea-card { padding: 18px; transition: transform .2s ease, box-shadow .25s ease; }
.idea-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.idea-card h3 { font-size: 20px; margin-bottom: .3em; }
.idea-card h3 a { color: var(--pine-deep); text-decoration: none; }
.idea-card h3 a:hover { text-decoration: underline; }
.idea-card p { margin: 0 0 6px; }
.plan-locked { opacity: .55; pointer-events: none; }
.idea-pic { display: block; margin: -18px -18px 14px; }
.idea-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md) var(--r-md) 0 0; }
.idea-hero { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); margin: 6px 0 18px; box-shadow: var(--shadow-sm); }
.idea-meta { display: flex; gap: 10px; color: var(--muted); font-weight: 600; }
.crumbs { margin: 6px 0 14px; color: var(--muted); }
.crumbs a { color: var(--pine); font-weight: 600; }
.idea { max-width: 760px; }
.idea-cols { display: grid; gap: 12px; margin: 18px 0; }
@media (min-width: 760px) { .idea-cols { grid-template-columns: 1fr 1fr; } }
.idea-cols h2 { font-size: 21px; }
.idea-cols ul, .idea-cols ol { margin: 0; padding-left: 1.2em; color: var(--ink-2); }
.idea-cta { margin: 26px 0; max-width: 760px; background: var(--paper-2); border-color: transparent; box-shadow: none; padding: 24px; }
.idea-cta h2 { font-size: 26px; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  h1 { font-size: 52px; }
  .step h1, .form-shell > h1 { font-size: 44px; }
  .site-header .wrap, .top .wrap { min-height: 84px; }
  .brand { font-size: 24px; }
  .top .nav a { display: inline-flex; }
  .top .nav .nav-cta { background: var(--n-fir); color: #fff; padding: 0 20px; margin-left: 8px; }
  .top .nav .nav-cta:hover { background: var(--n-fir-deep); color: #fff; }
  .msgs { padding: 12px 0 64px; }
  .msgs-sub { font-size: 18px; margin-bottom: 28px; }
  .car { --card-w: 240px; }
  .car-track { padding-left: max(var(--gutter), calc(50% - 507px)); padding-right: max(var(--gutter), calc(50% - 507px)); gap: 18px; }
  .msg:not(.on) { opacity: 1; transform: none; }
  .msgs-cta { margin-top: 22px; }
  .eve-sec { padding: 72px 0; }
  .eve-grid { grid-template-columns: auto minmax(0, 520px); justify-content: center; align-items: center; gap: 64px; }
  .eve-film { width: 300px; }
  .eve-copy { text-align: left; align-items: flex-start; }
  .eve-copy .eyebrow { justify-content: flex-start; }
  .eve-copy .btn { width: auto; padding: 0 32px; }
  .more { padding: 56px 0; }
  .more-row { grid-template-columns: 1fr 1fr; }
  .tabbar { display: none !important; }
  .site-footer { text-align: left; padding-bottom: 48px; }
  .foot-row { flex-direction: row; justify-content: space-between; }
  .site-footer small { margin-left: 0; }
  body.has-tabbar .site-footer { padding-bottom: 48px; }
  .home-foot { padding-bottom: 64px; }
  .greet { padding: 24px 0 32px; }
  .home-grid { grid-template-columns: 1.55fr 1fr; align-items: stretch; gap: 20px; }
  .home-grid:has(> #eve[hidden]) { grid-template-columns: 1fr; }
  .now { padding: 32px; }
  .now-main { gap: 24px; }
  .pip { width: 120px; height: 150px; }
  .clock { font-size: 30px; }
  .now-actions { flex-direction: row; align-items: center; }
  .now-actions .btn { width: auto; padding: 0 30px; }
  .now .chip { width: auto; }
  .eve { flex-direction: column; align-items: flex-start; padding: 28px; }
  .eve .th { width: 100%; height: 160px; }
  .eve h3 { font-size: 26px; }
  .vid { width: 180px; }
  .card-pc { width: 200px; }
  .scroller { margin: 0; padding-left: 0; padding-right: 0; }
  .toast { bottom: 32px; }
}

/* Order page: the status at the top (headline = the h1) + done / now / next timeline */
.status { margin: 4px 0 22px; padding: 20px 18px 16px; }
.status-next { font-size: 16.5px; line-height: 1.5; color: var(--ink-2); margin: 0 0 16px; text-wrap: pretty; }
.timeline { list-style: none; margin: 0; padding: 0; }
.tl { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
.tl:last-child { padding-bottom: 2px; }
.tl::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--line-2); }
.tl:last-child::before { display: none; }
.tl.done::before { background: var(--n-fir); opacity: .35; }
.tl-dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--sans); background: var(--card); border: 2px solid var(--line-2); color: var(--pine); }
.tl.done .tl-dot { background: var(--n-fir); border-color: var(--pine); color: #fff; }
.tl.doing .tl-dot { border-color: var(--pine); }
.tl.doing .tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--n-fir); animation: tl-pulse 1.4s ease-in-out infinite; }
.tl.action .tl-dot { border-color: var(--cran); }
.tl.action .tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cran); }
.tl.warn .tl-dot { background: rgba(179, 38, 30, .18); border-color: rgba(155, 35, 53, .45); color: var(--bad); }
.tl.skip .tl-dot { border-style: dashed; }
@keyframes tl-pulse { 0%, 100% { transform: scale(.7); opacity: .55; } 50% { transform: scale(1); opacity: 1; } }
.tl-body { min-width: 0; padding-top: 3px; }
.tl-title { margin: 0; font: 700 15.5px/1.35 var(--sans); color: var(--pine-deep); overflow-wrap: anywhere; }
.tl.todo .tl-title, .tl.skip .tl-title { color: var(--ink-2); font-weight: 600; }
.tl-sub { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.tl-btn { margin-top: 10px; }
.tl.action .tl-btn.btn-primary { width: 100%; min-height: 50px; }
.status-foot { display: flex; gap: 8px; align-items: baseline; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* "About 4:12 left": the render countdown */
.eta { margin-top: 10px; padding: 14px 14px 12px; border-radius: 16px; background: var(--pine-soft); }
.eta-big { margin: 0 0 10px; font: 400 26px/1.15 var(--serif); color: var(--pine-deep); }
.eta-bar { height: 8px; border-radius: 999px; background: rgba(246, 238, 221, .14); overflow: hidden; }
.eta-bar > i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--n-fir); transition: width 1s linear; }
.eta-step { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.now .eta { background: rgba(255, 255, 255, .1); margin: 12px 0 4px; }
.now .eta-big { color: #fff; }
.now .eta-bar { background: rgba(255, 255, 255, .2); }
.now .eta-bar > i { background: var(--card); }
.now .eta-step { color: rgba(255, 255, 255, .82); }

/* Done things fold away: "Change practice photo", "Santa's message" */
.fold { margin-top: 16px; padding: 0; }
.fold > summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; cursor: pointer; list-style: none; border-radius: var(--r-md); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; margin-left: auto; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.fold[open] > summary::after { transform: rotate(-135deg); }
.fold > summary > span:not(.fold-tick) { display: grid; gap: 2px; min-width: 0; }
.fold-tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pine-soft); color: var(--pine); font-weight: 700; font-size: 13px; }
.fold-body { padding: 0 16px 16px; }
.fold-body .card { box-shadow: none; padding: 0; border: 0; margin-top: 12px; }
.fold-body .quote { font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.form-shell > .notice { margin: 8px 0 14px; }

/* "+ New video": a small menu by the videos heading (home + family page), also opened from the tab bar */
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-row h2 { margin: 0; }
.row-head-links { display: flex; align-items: center; gap: 8px; }
.newmenu { position: relative; }
.newmenu > summary { list-style: none; white-space: nowrap; }
.newmenu > summary::-webkit-details-marker { display: none; }
.newmenu[open] > summary { border-color: var(--pine); background: var(--pine-soft); }
.newmenu-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 25; width: 236px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); display: grid; }
.newmenu-pop a { display: grid; gap: 1px; min-height: 48px; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.row-head .newmenu-pop a { display: grid; min-height: 48px; }
.newmenu-pop a:hover, .newmenu-pop a:focus-visible { background: var(--pine-soft); }
.newmenu-pop b { font: 600 15px/1.25 var(--sans); color: var(--pine-deep); }
.newmenu-pop span { font-size: 12.5px; color: var(--muted); }
.row-head { align-items: center; }
.vid-new .state { display: grid; justify-items: center; gap: 6px; }
.vid-new .plus { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--gold); font: 600 26px/1 var(--sans); box-shadow: var(--shadow-sm); }
.video-item .item-link { display: inline-flex; align-items: center; min-height: 40px; margin: 4px 0 0 66px; font-size: 14px; font-weight: 600; color: var(--pine); }

/* Bixby, our elf: a compact helper line (order page, family page) */
.bixby-line { display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin-top: 16px; }
.bixby-line img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: var(--paper-2); }
.bixby-line p { margin: 0; font-weight: 600; color: var(--pine-deep); }
.bixby-line.tall img { width: 64px; height: 80px; border-radius: 14px; object-position: 50% 20%; }

/* Video message: the script (who says what) and the wrapping-paper chips */
.script-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.script-lines .sl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: baseline; }
.script-lines .who { font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--pine); padding: 2px 8px; border-radius: 999px; background: var(--pine-soft); }
.script-lines .sl.santa .who { color: var(--gold); background: #F8E6E8; }
.script-lines p { margin: 0; color: var(--ink); line-height: 1.5; }
.script-lines .act { grid-column: 2; font-size: .8rem; color: var(--muted); font-style: italic; }
.script-edit textarea { min-height: 64px; }
.chip[aria-checked="true"] { background: var(--n-fir); color: #fff; border-color: var(--pine); }
dl.kv { margin-bottom: 14px; }
dl.kv dd { margin: 0; overflow-wrap: anywhere; }

/* ---- Bixby's order chat (/order/message) ---------------------------------------------------------- */
.bx-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bx-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.bx-head h1 { margin: 0; font: 800 18px/1.2 var(--sans); }
.bx-head > div { flex: 1; min-width: 0; }
.bx-pill { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); font: 700 13px/1 var(--sans); color: var(--ink-2); white-space: nowrap; }
.bx-log { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; min-height: 200px; }
.bx-b { max-width: 84%; padding: 10px 14px; border-radius: 20px; font-size: 16px; line-height: 1.4; animation: bx-in .25s var(--ease); }
.bx-b.bot { align-self: flex-start; background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 6px; }
.bx-b.me { align-self: flex-end; background: var(--n-fir); color: #fff; border-bottom-right-radius: 6px; font-weight: 600; }
.bx-b.note { background: #FFF4D6; color: #4A3608; display: flex; gap: 10px; }
.bx-b.note svg { flex: none; margin-top: 2px; }
.bx-b.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.bx-b.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bx-dot 1s infinite; }
.bx-b.typing i:nth-child(2) { animation-delay: .15s; } .bx-b.typing i:nth-child(3) { animation-delay: .3s; }
.bx-hint { align-self: flex-start; max-width: 84%; padding: 0 6px; font-size: 13px; color: var(--muted); }
.bx-acts { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.bx-acts.right { align-self: flex-end; justify-content: flex-end; }
.bx-acts .hear, .bx-acts .chip { margin: 0; }
.bx-fix { align-self: stretch; display: flex; gap: 8px; }
.bx-fix input { flex: 1; min-width: 0; }
.bx-input { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 10px 0 calc(10px + var(--safe-b)); background: var(--paper); }
.bx-input input { flex: 1; min-width: 0; min-height: 48px; border-radius: 999px; padding: 0 18px; }
.bx-go { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--n-fir); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.bx-go[disabled] { opacity: .45; cursor: default; }
.bx-send { padding: 6px 0 4px; }
.form-shell.bx-chatting .form-nav #next-btn { display: none; }
.form-shell.bx-ready .form-nav #next-btn { display: inline-flex; }
@keyframes bx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes bx-dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bx-b { animation: none; } .bx-b.typing i { animation: none; } }

/* ---- Home: "Who sends you the message?" picker (design C) -------------------------------------------- */
.msgs h1 { max-width: 15ch; }
@media (min-width: 900px) { .msgs h1 { max-width: 26ch; } }
.pick-h { align-self: stretch; margin: 6px 0 12px; font: 800 22px/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink); text-align: left; }
.pick { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pick-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.pick-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 18px; background: var(--paper-2); }
.pick-card.best img { outline: 3px solid var(--cran); outline-offset: -3px; }
.pick-card b { font-size: 15px; margin-top: 4px; }
.pick-card span { font-size: 15px; color: var(--ink-2); margin-top: -2px; }
.pick-card:hover img { filter: brightness(1.05); }
.msgs-cta .msg-note { align-self: stretch; margin: 10px 0 0; }
.facts { align-self: stretch; list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; font-size: 13px; color: var(--muted); }
.facts b { display: block; font-size: 17px; color: var(--ink); }
.msgs-go { align-self: stretch; display: flex; justify-content: center; margin-top: 18px; }
/* On phones the button stays on screen while the visitor scrolls (design C). */
@media (max-width: 759px) {
  .msgs-go { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 12px var(--gutter) calc(12px + var(--safe-b)); background: var(--paper); border-top: 1px solid var(--line); }
  #marketing { padding-bottom: 84px; }
  .msgs-go:has(#wl-open[hidden]) { display: none; }
}
.msgs-go .btn { width: 100%; max-width: 420px; background: var(--cran); border-color: var(--cran); }
.msgs-go .btn:hover { background: var(--cran-deep); border-color: var(--cran-deep); }
@media (min-width: 760px) { .pick-h { text-align: center; } .pick { max-width: 640px; margin: 0 auto; } .msgs-cta .msg-note, .facts { max-width: 640px; margin-left: auto; margin-right: auto; } }

/* "Santa is writing your message…" under the message box while a suggestion is on its way */
.writing { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; }
.writing .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; flex: none; }
@media (prefers-reduced-motion: reduce) { .writing .spin { animation: none; border-right-color: currentColor; opacity: .5; } }
.bx-restart { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--pine); font: 700 13px/1 var(--sans); cursor: pointer; }
.bx-restart:hover { border-color: var(--pine); }
@media (max-width: 480px) { .bx-restart { width: 40px; padding: 0; justify-content: center; } .bx-restart span { display: none; } }

/* "We just updated the app" banner (common.js) */
.update-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.update-in { pointer-events: auto; max-width: 560px; margin: 0 auto; padding: 14px 16px; border-radius: 16px; background: var(--n-fir); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: 14px; line-height: 1.45; }
.update-in ul { margin: 8px 0 0; padding-left: 18px; max-height: 30vh; overflow-y: auto; }
.update-in li + li { margin-top: 4px; }
.update-acts { display: flex; gap: 8px; margin-top: 10px; }
.update-in .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Bixby busy in the workshop while a video message is made (message-status.js) */
.making-loop { display: block; width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 24px; object-fit: cover; background: var(--paper-2); }

/* The family page, easy to find (Sam 10-28): a full-width button on order pages and an outlined pill in the menu */
.family-cta { margin-top: 26px; gap: 8px; border: 1.5px solid var(--pine); color: var(--pine); font-weight: 700; }
.site-nav a.is-family, .nav a.is-family { color: var(--pine); }
/* the page you are on (bar and phone menu) */
.site-nav a[aria-current="page"], .nav a[aria-current="page"] { color: var(--pine-deep); background: var(--pine-soft); }
.site-nav > a[aria-current="page"], .nav > a[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--pine); }
.paid-notice { margin: 0 0 18px; }

/* ---- Family page, design A: the family's North Pole wall (f.html, family.js) ------------------------------- */
.fwall-top { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.fwall-top > div { flex: 1; min-width: 0; }
.fwall-top h1 { margin: 2px 0 0; font-size: clamp(26px, 7vw, 40px); line-height: 1.08; text-wrap: balance; }
.fwall-top .eyebrow { color: var(--gold); }
.crest { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 400 24px/1 var(--serif); color: var(--pine-deep); background: radial-gradient(circle at 35% 30%, #FFF7E0, #E9B949); border: 3px solid var(--card); box-shadow: var(--shadow-sm); }
.grown-btn { flex: none; align-self: flex-start; }
.fwall { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.wall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wtile { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 0; padding: 0; background: #000; cursor: pointer; text-align: left; }
.wtile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s var(--ease); }
.wtile:hover img { transform: scale(1.04); }
.wtile b { position: absolute; left: 8px; right: 8px; bottom: 8px; font: 800 12px/1.2 var(--sans); color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.wplay { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--gold); display: grid; place-items: center; font-size: 10px; }
.wtile.making { background: linear-gradient(160deg, #21364F, #0F1C2E); display: grid; place-items: center; cursor: default; }
.wstar { font-size: 26px; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .wstar { animation: none; } .wtile img { transition: none; } }
.wall-empty { grid-column: 1 / -1; text-align: center; }
.news-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.news-row::-webkit-scrollbar { display: none; }
.story { flex: 0 0 min(74%, 280px); scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.story-img { position: relative; height: 104px; display: grid; place-items: center; font-size: 34px; background: linear-gradient(135deg, #21364F, #0F1C2E); }
.story-tag { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 999px; background: #E9B949; color: #1C2621; font: 800 10px/1.4 var(--sans); letter-spacing: 1px; text-transform: uppercase; }
.story-tx { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.story-tx b { font-size: 14.5px; line-height: 1.3; }
.story-tx span { font-size: 13px; color: var(--muted); line-height: 1.4; }
a.story { color: inherit; text-decoration: none; display: block; }
a.story:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.story-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-img { height: auto; aspect-ratio: 3 / 2; }
.story-tag { z-index: 1; }
.story-more { flex: 0 0 auto; align-self: center; padding: 0 6px; font: 700 14px/1.3 var(--sans); color: var(--pine); text-decoration: none; white-space: nowrap; }
/* North Pole News pages: the state above the headline, the photo caption, the grown-ups' box */
.news-kicker { margin: 0 0 2px; font: 800 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.news-fig { margin: 6px 0 18px; }
.news-fig .idea-hero { margin: 0 0 6px; }
.try-home { margin-top: 22px; }
.try-home h2 { margin: 4px 0 6px; }
.try-home .idea-cols { margin-top: 12px; }
.ideas-page .try-home { padding: 20px 20px 22px; } /* '.ideas-page section' zeroes the sides */
.ideas-page .try-home section { padding: 0; }
.try-home h3 { font-size: 19px; margin: 0 0 8px; }
.nice-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); background: linear-gradient(160deg, #FFF7E0, #F6E3B0); border: 1px solid #EAD39A; color: #1C2621; }
.nice-card b { display: block; font: 400 20px/1.15 var(--serif); color: var(--pine-deep); }
.nice-card span { font-size: 13px; color: #5B4A1E; }
.seal { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--cran); color: #fff; display: grid; place-items: center; font-size: 20px; }
.player { width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 22px; background: #000; overflow: hidden; }
.player::backdrop { background: rgba(10, 16, 14, .78); }
.player video { display: block; width: 100%; max-height: calc(100vh - 90px); background: #000; }
.player-cap { margin: 0; padding: 10px 14px 14px; color: #fff; font-weight: 700; }
.player-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 16px; cursor: pointer; }
.zoom { width: min(960px, calc(100vw - 24px)); background: #1b1410; }
.zoom img { display: block; width: 100%; max-height: calc(100vh - 90px); object-fit: contain; }
label.crest { position: relative; cursor: pointer; background-size: cover; background-position: center; }
.crest.has-photo { background-color: var(--paper-2); }
.crest-add { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--n-fir); color: #fff; display: grid; place-items: center; font: 700 15px/1 var(--sans); border: 2px solid var(--card); }
.crest.has-photo .crest-add { display: none; }
.crest:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.crest.busy { opacity: .6; }
@media (max-width: 560px) { .grown-btn { display: none; } }
/* the family page is for kids too: no "Elf ideas" tips in its menu or footer */

/* "Confirm your email" (accounts: common.js ensureAccount) */
.acct { width: min(420px, calc(100vw - 24px)); border: 0; border-radius: var(--r-lg); padding: 0; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); }
.acct::backdrop { background: rgba(10, 16, 14, .55); }
.acct-in { position: relative; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.acct-in h2 { margin: 0; font-size: 24px; }
.acct-sub { margin: -4px 0 0; }
.acct-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--ink); font-size: 15px; cursor: pointer; }
.acct-step { display: flex; flex-direction: column; gap: 10px; }
.acct-step[hidden] { display: none; }
#acct-code { font: 700 24px/1 var(--sans); letter-spacing: .3em; text-align: center; }
.acct-or { text-align: center; margin: 4px 0 0; }
.acct-sso { display: flex; flex-direction: column; gap: 8px; }
.linkish { border: 0; background: none; padding: 0; color: var(--pine); font: inherit; text-decoration: underline; cursor: pointer; }

/* "Watch an example" on the Christmas Eve order page; sample postcards on the family page */
.sample-vid { margin: 0 0 16px; padding: 12px 16px; }
.sample-vid summary { display: flex; flex-direction: column; gap: 2px; cursor: pointer; list-style: none; }
.sample-vid summary::-webkit-details-marker { display: none; }
.sample-vid video { display: block; width: 100%; max-width: 320px; margin: 12px auto 0; border-radius: var(--r-sm); background: #000; aspect-ratio: 9 / 16; }
.album.samples img { opacity: .92; }

/* elf idea page: room inside "What you need" / "How to set it up" (Joane's note) */
.ideas-page .idea-cols section.card { padding: 18px 20px; } /* '.ideas-page section' zeroed the sides */
.idea-cols .card h2 { margin: 0 0 10px; font-size: 20px; }
.idea-cols .card ul, .idea-cols .card ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* North Pole News: a 2-up grid on phones, no sideways swipe needed (Angie: couldn't swipe to the others) */
@media (max-width: 699px) {
  .news-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .story { flex: none; }
  .story-more { grid-column: 1 / -1; justify-self: end; padding: 4px 0; }
  .story-img { height: 72px; font-size: 26px; }
  .story-tx b { font-size: 13.5px; }
  .story-tx span { font-size: 12px; }
}

/* elf ideas: the group chips work as tabs, sticky while scrolling */
.idea-tabs { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--paper); padding: 10px 0; margin: 0 0 6px; }
@media (max-width: 759px) { .idea-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } .idea-tabs::-webkit-scrollbar { display: none; } }
.idea-tabs a[aria-current="true"] { background: var(--n-fir); color: #fff; border-color: var(--pine); }

/* Examples of what you are buying (Sam 10-28: "they should all have examples"): a swipeable strip of phone-shaped
   videos that play silently while in view; "Sound on" plays one with sound. */
.ex-reel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 18px calc(-1 * var(--gutter)) 6px; padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); }
.ex-reel::-webkit-scrollbar { display: none; }
.ex { flex: 0 0 min(62%, 230px); margin: 0; scroll-snap-align: start; }
.ex-v { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #1b1410; box-shadow: var(--shadow); }
.ex-v video, .ex-v img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-snd { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font: 700 13px/1 var(--sans); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ex-snd[aria-pressed="true"] { background: var(--cran); }
.ex figcaption { margin: 8px 2px 0; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.ex figcaption b { color: var(--ink); }
.ex-what { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.ex-what li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.45; }
.ex-what li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--gold); }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 6px; }
.ex-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; border: 4px solid var(--line-2); box-shadow: var(--shadow-sm); display: block; }
@media (min-width: 760px) { .ex { flex-basis: 220px; } }

/* "More magic" on the family page: every product with its example, price and one button */
.shop { margin-top: 34px; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 760px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }
.shop-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .25s ease; }
.shop-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.shop-card .pic { position: relative; aspect-ratio: 4 / 5; background: #1b1410; }
.shop-card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-card .price { position: absolute; top: 8px; right: 8px; padding: 4px 10px; border-radius: 999px; background: #E9B949; color: #1C2621; font: 800 12px/1.4 var(--sans); }
.shop-card .tx { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.shop-card b { font-size: 15px; line-height: 1.25; }
.shop-card span.sub { font-size: 13px; color: var(--muted); line-height: 1.35; flex: 1; }
.shop-card .go { margin-top: 8px; font: 700 13.5px/1 var(--sans); color: var(--gold); }

/* Christmas Eve visit: the two tiers, the photo slots, the booking page steps */
.tiers { display: grid; gap: 12px; margin: 18px 0 8px; }
.tier .card { display: block; }
.tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.tier .price { font: 400 28px/1 var(--serif); color: var(--pine-deep); white-space: nowrap; }
.tier-list { margin: 12px 0 0; }
.tier-list li { font-size: 14px; }
.photo-slot { padding: 14px 0; border-top: 1px solid var(--line); }
.photo-slot:first-child { border-top: 0; padding-top: 4px; }
.photo-slot .thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.photo-slot .thumbs:empty { display: none; }
.add-photo { cursor: pointer; }
.vsteps { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 8px; }
.vsteps li { position: relative; padding-left: 30px; font-size: 15px; color: var(--muted); }
.vsteps li::before { content: ""; position: absolute; left: 4px; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--card); }
.vsteps li.done { color: var(--ink); }
.vsteps li.done::before { background: var(--n-fir); border-color: var(--pine); }
.vsteps li.now { color: var(--pine-deep); font-weight: 700; }
.vsteps li.now::before { border-color: var(--cran); box-shadow: 0 0 0 4px rgba(180, 35, 58, .15); }
.vpreview video { display: block; width: 100%; max-width: 360px; margin: 8px auto 0; border-radius: 18px; background: #000; aspect-ratio: 9 / 16; }
.vchange { margin-top: 14px; }

/* the elf's 12-stop year on the family page */
.itin { margin: 12px 0; }
.itin summary { cursor: pointer; }
.itin-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.itin-list li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; }
.itin-m { font-weight: 700; font-size: 14px; }
.itin-list select { min-height: 40px; width: 100%; }

/* ---- Grown-ups panel (Sam 10-29: too many buttons, too long to scroll): its own sheet, one tab at a time ---- */
.gsheet { padding: 0; border: 0; margin: auto; width: min(720px, calc(100% - 32px)); height: min(860px, calc(100dvh - 48px)); max-width: none; max-height: none; border-radius: 22px; background: var(--paper, #fbf8f2); color: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.gsheet[open] { display: flex; flex-direction: column; }
.gsheet::backdrop { background: rgba(20, 32, 26, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
body:has(.gsheet[open]) { overflow: hidden; }
@media (max-width: 559px) { .gsheet { width: 100%; height: 100dvh; border-radius: 0; } }
.gs-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; padding-top: max(14px, env(safe-area-inset-top)); }
.gs-head h2 { margin: 0; font-size: 24px; flex: 1; }
.gs-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 18px; cursor: pointer; flex: none; }
.gs-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 0 16px; padding: 4px; border-radius: 999px; background: var(--paper-2, #efe8da); }
.gs-tabs button { min-height: 40px; border: 0; border-radius: 999px; background: none; font: 600 14.5px/1 var(--sans); color: var(--muted); cursor: pointer; }
.gs-tabs button[aria-selected="true"] { background: var(--card); color: var(--pine-deep); box-shadow: var(--shadow-sm); }
.gs-n:empty { display: none; }
.gs-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--pine-soft); color: var(--pine); font-size: 12px; }
.gs-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 16px calc(24px + var(--safe-b, 0px)); }
.gs-body > section { display: grid; gap: 12px; align-content: start; }
.gs-body > section[hidden] { display: none; }
.gs-block h3 { font-size: 17px; margin: 0 0 8px; }
.gs-card { padding: 14px 16px; margin: 0; }
.gs-card > :last-child { margin-bottom: 0; }
.gs-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
.gs-line .credits { margin: 0; }
.gs-foot { margin: 0; }
.gs-suggest { margin-top: 10px; }
.gs-suggest input { min-height: 40px; }
.gs-samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 12px; }
.gs-samples img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: 10px; border: 3px solid var(--line-2); box-shadow: var(--shadow-sm); display: block; }
.gsheet .album { margin: 0; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gsheet .itin { margin: 10px 0 0; }
.gsheet .itin summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; list-style: none; min-height: 40px; align-content: center; }
.gsheet .itin summary::-webkit-details-marker { display: none; }
.itin-peek { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.itin-edit { color: var(--pine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.itin[open] .itin-peek, .itin[open] .itin-edit { display: none; }
.gsheet .itin-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 14px; }
.gsheet .itin-list li { grid-template-columns: 40px 1fr; gap: 8px; }
.gsheet .itin-list select { min-height: 38px; font-size: 14px; }
.gsheet .video-item { padding: 8px 10px; }
.gsheet .video-item img, .gsheet .video-item .ph { width: 44px; height: 78px; border-radius: 10px; }
.gsheet .video-item .item-link { margin-left: 56px; }
.gsheet .bixby-line { margin: 0; padding: 12px 14px; }
.gsheet .bixby-line img { width: 56px; height: 56px; }
dl.kv2 { grid-template-columns: max-content 1fr; gap: 8px 16px; }
dl.kv2 dt, dl.kv2 dt:first-child { margin: 0; }
.gs-elf-row { display: flex; gap: 12px; align-items: center; }
.gs-elf-row .thumbs { display: flex; gap: 6px; margin: 0; flex: none; }
.gs-elf-row .thumb { width: 52px; height: 52px; }
.gs-elf-row .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.gs-elf details { margin-top: 8px; }
.gs-account { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 2px 0; }
.nav-signout { white-space: nowrap; font-size: 14px; color: var(--muted); padding: 0 12px; min-height: 44px; border-radius: 999px; text-decoration: none; transition: background .2s, color .2s; }
.nav-signout:hover, .nav-signout:focus-visible { color: var(--pine); background: var(--pine-soft); }
.nav-pop [data-signout]:hover { background: var(--pine-soft); color: var(--pine); }
@media (max-width: 759px) { .site-nav > .nav-signout, .nav > .nav-signout { display: none; } }
.nav-pop [data-signout] { text-align: left; padding: 12px 14px; min-height: 44px; text-decoration: none; color: var(--muted); }
.gs-elf-row .thumb { aspect-ratio: auto; border-width: 2px; border-radius: 10px; }
.gs-body { overflow-x: hidden; }
.gs-body > section > * { min-width: 0; }
.gs-suggest { display: flex; gap: 8px; }
.gs-suggest input { flex: 1; min-width: 0; width: auto; }
.gs-suggest .btn { flex: none; }
@media (min-width: 560px) { .gsheet { height: fit-content; min-height: 420px; max-height: min(860px, calc(100dvh - 48px)); } }
.gs-body { min-height: 0; }

/* Signed in: the order email is the account's (common.js lockEmail) */
input.is-locked { background: var(--pine-soft); color: var(--pine-deep); cursor: default; }
.email-locked { margin: 8px 0 0; }
.kid-row .row-top { margin-bottom: 6px; }
.kid-row .row-top label { margin: 0; }
.kid-block .row-top legend { font: 400 18px var(--serif); padding: 0; color: var(--pine-deep); float: none; }
.pet-box { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.pet-box summary { cursor: pointer; font-weight: 600; color: var(--pine); }
.pet-box[open] summary { margin-bottom: 8px; }
.how-nights { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.how-nights b { color: var(--ink); }
/* "Your elf's year" shows that it opens and closes (Joane 10-29: found it by accident) */
.itin summary { position: relative; padding-right: 26px; }
.itin summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.itin[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.itin-sent .itin-done { min-height: 38px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; background: var(--pine-soft); color: var(--pine-deep); font-size: 14px; font-weight: 600; }
.help-box { margin-top: 16px; padding: 14px 18px; }
.help-box summary { cursor: pointer; font-weight: 600; color: var(--pine); }

/* name sample volume (names.js) */
.name-vol { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; max-width: 260px; }
.name-vol input { flex: 1; accent-color: var(--pine); }

/* ---- Christmas Eve visit, first step: a dark, cinematic stage with two big films (Sam 11-03) ---------------- */
.form-shell:has(.vh.active) { max-width: 1120px; }
.form-shell:has(.vh.active) > .step-count, .form-shell:has(.vh.active) > .progress { display: none; }
.vh-stage { position: relative; margin: 0 calc(-1 * var(--gutter)) 22px; padding: 22px var(--gutter) 26px; background: radial-gradient(120% 80% at 30% 0%, #3a2414 0%, #160f0b 55%, #0d0907 100%); color: #f6eee2; border-radius: 0 0 28px 28px; overflow: hidden; }
.vh-films.ex-reel { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; gap: 12px; }
.vh-films .ex { flex: 0 0 78%; }
.vh-films .vh-side { flex-basis: 62%; }
.vh-films .ex-v { border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 220, 170, .08); }
.vh-copy { padding: 22px 2px 0; }
.vh-copy .eyebrow { color: #e7b86a; }
.vh .vh-copy h1 { margin: 6px 0 10px; font-size: 40px; line-height: 1.02; color: #fff8ee; }
.vh-lead { margin: 0; font: 400 20px/1.35 var(--serif); color: #f3e6d2; }
.vh-sub { margin: 8px 0 0; font-size: 14px; color: rgba(246, 238, 226, .62); }
.tier-more { margin-top: 8px; }
.tier-more summary { cursor: pointer; color: var(--pine); font-weight: 600; }
@media (min-width: 900px) {
  .vh-stage { margin: 8px 0 26px; padding: 40px 44px; border-radius: 32px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .vh-films.ex-reel { margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 16px; }
  .vh-films .ex, .vh-films .vh-side { flex: none; }
  .vh-films .vh-side { transform: translateY(-28px); }
  .vh-copy { padding: 0; }
  .vh .vh-copy h1 { font-size: 64px; }
  .vh-lead { font-size: 26px; }
  .vh ~ .tiers, .vh .tiers { grid-template-columns: 1fr 1fr; }
  .vh .tiers { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Elf postcards while they are "coming soon" (Sam 11-03) */
.soon-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--pine-soft); color: var(--pine); font: 700 11px/1.3 var(--sans); letter-spacing: .04em; vertical-align: 1px; }
.pc-soon h1 { margin-top: 0; }
.pc-soon form.card { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 14px; }
.pc-soon form.card .btn { align-self: flex-start; }
.elf-soon-vid { display: block; width: min(320px, 100%); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: #000; margin: 14px 0 4px; }
.first-write { margin: 14px 0; }

/* earlier versions of a reshot video message */
.versions { margin-top: 20px; }
.vers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.vers-grid figure { margin: 0; }
.vers-grid video { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; background: #000; display: block; }
.vers-grid figcaption { margin-top: 6px; }

/* night palette */
:root {
  --paper: #14110F; --paper-2: #1A1612; --card: #1E1915;
  --n-fir: #1F3A30; --n-fir-deep: #18302A;
  --pine: #E3B263; --pine-deep: #F6EEDD; --pine-soft: rgba(31, 58, 48, .75);
  --ink: #F6EEDD; --ink-2: #D9CDB6; --muted: #CDBFA6;
  --line: rgba(246, 238, 221, .14); --line-2: rgba(246, 238, 221, .28);
  --cran: #B3261E; --cran-deep: #8A1C16;
  --gold: #E3B263; --gold-ink: #F1CC8B; --good: #9FD9B8; --bad: #FFB4A9;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .25);
  --shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 18px 40px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, .3), 0 40px 80px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* Hand fixes for the dark copy of site.css (appended by src/lib/night-css.js; never loaded on its own). */
h1, h2, h3, .brand { font-weight: 600; }
.brand { color: var(--ink); }
.brand .star { color: var(--gold); }
.btn-ghost, .btn-ghost:hover { color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); }
/* dark ink for anything that sits on a light disc or on the gold Nice List card */
.vid .play, .msg-ico, .wplay, .crest { color: #2A211A !important; }
[data-state="sound"] .msg-ico::before { border-left-color: #2A211A; border-right-color: #2A211A; }
.script-lines .sl.santa .who { background: rgba(179, 38, 30, .32); color: var(--ink); }
.nice-card, .nice-card h3, .nice-card p, .nice-card b, .nice-card span, .nice-card a { color: #2A211A !important; }
.nice-card .seal, .nice-card .seal * { color: #fff !important; }
.now .eta-bar > i { background: var(--gold); }
