/* TwinkleCam v2 "Night watch": the landing page. The page is the camera app on the night the elf turns up:
   the hero is last night's footage, the DVR bar scrubs tonight from 21:00 to 07:00 as you scroll, and it ends at breakfast. */

.home-main { display: block; }
.sec { position: relative; padding: clamp(96px, 13vh, 168px) 0; }
.sec-head { display: grid; gap: 18px; }
.sec-head h2 { font-size: clamp(40px, 5vw, 76px); font-weight: 340; }
.sec-head p:not(.kicker) { color: var(--ink-2); font-size: clamp(17px, 1.35vw, 19px); max-width: 52ch; }
/* the motion-detection box that follows the elf */
.mbox { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s;
  --c: var(--motion); border: 1px solid rgb(255 216 77 / .45);
  background:
    linear-gradient(var(--c) 0 0) 0 0 / 12px 2px, linear-gradient(var(--c) 0 0) 0 0 / 2px 12px,
    linear-gradient(var(--c) 0 0) 100% 0 / 12px 2px, linear-gradient(var(--c) 0 0) 100% 0 / 2px 12px,
    linear-gradient(var(--c) 0 0) 0 100% / 12px 2px, linear-gradient(var(--c) 0 0) 0 100% / 2px 12px,
    linear-gradient(var(--c) 0 0) 100% 100% / 12px 2px, linear-gradient(var(--c) 0 0) 100% 100% / 2px 12px;
  background-repeat: no-repeat; will-change: transform; }
.mbox.is-on { opacity: 1; }
.feed .mbox:not(.is-on) { transition-duration: .08s; } /* hero: get off the copy fast, fade back in slowly */
.mbox span { position: absolute; left: -1px; bottom: calc(100% + 4px); padding: 4px 6px; background: var(--motion); color: #1a1503; font: 600 10px/1 var(--f-mono); letter-spacing: .08em; white-space: nowrap; }

/* ---------- hero: last night's footage ---------- */
.feed { position: relative; min-height: max(680px, 100svh); display: grid; isolation: isolate; overflow: hidden; background: #000; }
.feed__screen { position: absolute; inset: 0; z-index: -1; }
.feed__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.feed__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgb(5 7 11 / .9) 0%, rgb(5 7 11 / .66) 30%, rgb(5 7 11 / .1) 56%, transparent 70%),
              linear-gradient(180deg, rgb(5 7 11 / .5) 0%, transparent 20%, transparent 74%, rgb(5 7 11 / .62) 100%); }
.feed .osd .o-cam { top: 92px; right: var(--gut); flex-direction: column; align-items: flex-end; gap: 10px; }
.feed .osd .o-cam > span { display: inline-flex; align-items: center; gap: 8px; }
.feed .osd .o-time { font-variant-numeric: tabular-nums; }
.feed .osd .alert { top: 182px; right: var(--gut); }
.feed__copy { align-self: start; padding: clamp(108px, 14vh, 168px) 0 180px; position: relative; z-index: 3; }
.feed__copy > div { max-width: 620px; }
.feed h1 { margin-top: 20px; font-size: clamp(48px, 5.8vw, 92px); font-weight: 330; letter-spacing: -.028em; line-height: .97; }
.feed .lead { margin-top: 26px; max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink); }
.feed .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.feed .note { margin-top: 18px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.camsel-row { position: absolute; z-index: 4; right: var(--gut); bottom: 34px; display: flex; align-items: flex-end; gap: 10px; }
.camsel { appearance: none; display: grid; gap: 7px; width: 132px; padding: 6px 6px 9px; border-radius: 12px; border: 1px solid var(--line-2); background: rgb(5 7 11 / .58); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-align: left; cursor: pointer; transition: border-color .2s, transform .25s var(--ease), background-color .2s; }
.camsel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; filter: saturate(.55) brightness(.75); transition: filter .25s; }
.camsel span { padding: 0 3px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.camsel b { padding: 0 3px; font: 500 13.5px/1.2 var(--f-text); color: var(--ink); }
.camsel:hover { border-color: rgb(255 255 255 / .5); transform: translateY(-2px); }
.camsel:hover img { filter: none; }
.camsel[aria-pressed="true"] { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 12px 30px -12px rgb(255 182 72 / .5); }
.camsel[aria-pressed="true"] img { filter: none; }
.camsel[aria-pressed="true"] span { color: var(--amber); }
.film-pause { appearance: none; position: absolute; z-index: 4; left: var(--gut); bottom: 34px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(5 7 11 / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 11px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s; }
.film-pause:hover { border-color: rgb(255 255 255 / .5); color: var(--ink); }
.film-pause svg { width: 12px; height: 12px; fill: currentColor; }
.static { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: 0; pointer-events: none; image-rendering: auto; transition: opacity .12s; }
.is-switching .static { opacity: 1; }
.is-switching .feed__video { filter: brightness(1.6) contrast(1.3); transform: translateX(-1.5%) skewX(-2deg); transition: none; }
.feed__video { transition: filter .3s, transform .3s; }

@media (max-width: 1099px) { .camsel { width: 120px; } .camsel b { font-size: 12.5px; } }
@media (max-width: 899px) {
  .feed__shade { background: linear-gradient(180deg, rgb(5 7 11 / .72) 0%, rgb(5 7 11 / .35) 34%, transparent 52%, transparent 70%, rgb(5 7 11 / .7) 100%); }
  .feed .osd .o-cam { top: auto; bottom: 150px; }
  .feed .osd .alert { top: auto; bottom: 112px; }
  .film-pause { bottom: auto; top: 76px; left: auto; right: var(--gut); }
}
@media (max-width: 699px) {
  .feed { display: block; min-height: 0; background: var(--night); }
  .feed__screen { position: relative; inset: auto; z-index: 0; height: 52svh; min-height: 320px; max-height: 520px; }
  .feed__shade { background: linear-gradient(180deg, rgb(5 7 11 / .55) 0%, transparent 18%, transparent 64%, rgb(5 7 11 / .55) 84%, var(--night) 100%); }
  .feed .osd { font-size: 10.5px; }
  .feed .osd .o-cam { top: 66px; left: var(--gut); right: auto; bottom: auto; align-items: flex-start; gap: 8px; }
  .feed .osd .alert { top: auto; bottom: 54px; left: var(--gut); right: auto; }
  .camsel-row { left: var(--gut); right: var(--gut); bottom: 14px; justify-content: space-between; gap: 6px; }
  .camsel { width: auto; flex: 1; min-height: 34px; padding: 0 6px; gap: 0; border-radius: 999px; align-items: center; justify-content: center; }
  .camsel img { display: none; }
  .camsel b { display: none; }
  .camsel span { font-size: 9.5px; }
  .film-pause { top: 102px; right: var(--gut); height: 32px; }
  .feed__copy { padding: 18px 0 56px; }
  .feed h1 { margin-top: 12px; font-size: clamp(34px, 9.4vw, 44px); line-height: 1; }
  .feed .lead { margin-top: 14px; font-size: 16px; line-height: 1.5; }
  .feed .btns { margin-top: 20px; flex-wrap: nowrap; gap: 8px; }
  .feed .btns .btn { flex: 1 1 auto; padding-inline: 14px; white-space: nowrap; }
}

/* ---------- the DVR bar: tonight, 21:00 to 07:00, scrubbed by the scroll ---------- */
.dvr { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; transform: translateY(105%); transition: transform .45s var(--ease); background: rgb(5 7 11 / .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-top: 1px solid var(--line); }
.dvr.is-on { transform: none; }
.dvr__in { display: flex; align-items: center; gap: 20px; height: 56px; width: min(100% - 2 * var(--gut), 1400px); margin-inline: auto; font: 500 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dvr__rec { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.dvr__clock { min-width: 96px; font: 500 19px/1 var(--f-mono); letter-spacing: .01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.dvr__track { position: relative; flex: 1; height: 32px; }
.dvr__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--line-2); border-radius: 2px; }
.dvr__fill { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgb(255 182 72 / .2), var(--amber)); border-radius: 2px; }
.dvr__tick { position: absolute; top: 50%; width: 1px; height: 7px; margin-top: -3.5px; background: var(--line-2); }
.dvr__hr { position: absolute; top: calc(50% + 9px); transform: translateX(-50%); font-size: 9.5px; color: var(--muted); letter-spacing: .04em; }
.dvr__mk { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; display: grid; place-items: center; text-decoration: none; }
.dvr__mk i { width: 10px; height: 10px; border-radius: 50%; background: var(--night); border: 2px solid var(--ink-2); transition: background-color .2s, border-color .2s, transform .2s; }
.dvr__mk--motion i { border-color: var(--rec); }
.dvr__mk.is-past i { background: var(--amber); border-color: var(--amber); }
.dvr__mk--motion.is-past i { background: var(--rec); border-color: var(--rec); }
.dvr__mk:hover i, .dvr__mk:focus-visible i { transform: scale(1.35); }
.dvr__mk span { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); padding: 6px 9px; border-radius: 7px; border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); font-size: 10.5px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.dvr__mk:hover span, .dvr__mk:focus-visible span { opacity: 1; transform: translateX(-50%); }
.dvr__head { position: absolute; top: 50%; left: 0; width: 2px; height: 20px; margin: -10px 0 0 -1px; background: var(--amber); box-shadow: 0 0 14px 2px rgb(255 182 72 / .7); border-radius: 2px; }
.dvr__date { color: var(--muted); white-space: nowrap; }
.dvr .btn { display: none; text-transform: none; letter-spacing: -.005em; }
@media (max-width: 899px) {
  .dvr__in { gap: 14px; height: 64px; }
  .dvr__date, .dvr__mk, .dvr__tick, .dvr__hr { display: none; }
  .dvr__track { position: absolute; left: 0; right: 0; top: -1px; height: 3px; flex: none; }
  .dvr__track::before { top: 0; margin: 0; height: 3px; border-radius: 0; }
  .dvr__fill { top: 0; margin: 0; height: 3px; border-radius: 0; }
  .dvr__head { top: 0; margin: -3px 0 0 -1px; height: 9px; }
  .dvr .btn { display: inline-flex; margin-left: auto; }
  .dvr__clock { font-size: 17px; min-width: 0; }
}
@media (max-width: 380px) { .dvr__rec { display: none; } }

/* ---------- setup: one photo becomes night footage, scrubbed by the scroll ---------- */
.setup__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 96px); }
.setup__head { grid-column: 1; grid-row: 1; padding-top: 6vh; }
.setup__stagewrap { grid-column: 2; grid-row: 1 / 3; }
.setup__steps { grid-column: 1; grid-row: 2; list-style: none; padding: 0; margin: 0; }
.stage { position: sticky; top: max(96px, calc(50svh - 330px)); width: 100%; max-height: calc(100svh - 190px); aspect-ratio: 822 / 768; margin-left: auto; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: 0 50px 120px -50px rgb(0 0 0 / .95), 0 0 0 1px var(--line); }
.stage > img, .stage__night > img, .stage__night > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__night { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 0 calc(100% - var(--wipe, 0%)) 0); }
.stage__night video { opacity: 0; transition: opacity .4s; }
.stage[data-phase="2"] .stage__night video.is-ready { opacity: 1; }
.stage__line { position: absolute; z-index: 2; left: 0; right: 0; top: var(--wipe, 0%); height: 2px; margin-top: -1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: linear-gradient(90deg, transparent, #bde6ff 18%, #fff 50%, #bde6ff 82%, transparent); box-shadow: 0 0 22px 5px rgb(140 210 255 / .55); }
.stage[data-phase="1"] .stage__line { opacity: 1; }
.stage .fx { z-index: 2; }
.stage .osd .o-tl { top: 26px; left: 28px; }
.stage .osd .o-tr { top: 22px; right: 24px; }
.stage .osd .o-bl { bottom: 26px; left: 28px; font-variant-numeric: tabular-nums; }
.stage .osd .alert { bottom: 22px; right: 24px; }
.stage .osd [data-ph] { opacity: 0; transition: opacity .3s; }
.stage[data-phase="0"] .osd [data-ph~="0"], .stage[data-phase="1"] .osd [data-ph~="1"], .stage[data-phase="2"] .osd [data-ph~="2"] { opacity: 1; }
.stage .osd .o-tl, .stage .osd .o-tr, .stage .osd .o-bl { display: grid; }
.stage .osd .o-tl > *, .stage .osd .o-tr > *, .stage .osd .o-bl > * { grid-area: 1 / 1; }
.stage .osd .photo { padding: 6px 9px; border-radius: 6px; background: rgb(250 247 240 / .9); color: #1b1712; text-shadow: none; }
.stage .osd .ir { color: #bde6ff; }
.step { min-height: 74svh; display: flex; flex-direction: column; justify-content: center; opacity: .78; transition: opacity .45s; }
.step:last-child { min-height: 84svh; }
.step.is-on { opacity: 1; }
.step__n { font: 500 12px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--amber); }
.step h3 { margin: 18px 0 14px; font-family: var(--f-display); font-size: clamp(30px, 2.8vw, 44px); font-weight: 360; line-height: 1.06; letter-spacing: -.016em; text-wrap: balance; }
.step p { color: var(--ink-2); max-width: 40ch; font-size: 18px; }
@media (max-width: 899px) {
  .setup__grid { display: block; }
  .setup__head { padding-top: 0; margin-bottom: 32px; }
  .setup__stagewrap { position: sticky; top: 12px; z-index: 2; }
  .stage { position: relative; top: auto; max-height: none; width: min(100%, 560px); margin: 0 auto; }
  .step { min-height: 62svh; justify-content: flex-start; padding-top: 34svh; }
  .step:first-child { padding-top: 40px; min-height: 46svh; }
  .step:last-child { min-height: 70svh; }
  .step h3 { font-size: 30px; }
  .step p { font-size: 17px; }
}
@media (max-width: 899px) and (min-width: 600px) { .step { padding-top: 46svh; } }

/* ---------- December: the season pass as a month of footage, and Santa on standby ---------- */
.december { background: linear-gradient(180deg, var(--night) 0%, #070a11 100%); }
.dec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.dec { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: stretch; }
.cal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.cal__bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 4px 4px 10px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.cal__bar b { color: var(--ink); font-weight: 500; }
.cal__legend { display: flex; gap: 14px; color: var(--muted); }
.cal__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.day { position: relative; aspect-ratio: 16 / 11; border-radius: 10px; overflow: hidden; background: var(--night-2); border: 1px solid var(--line); display: block; padding: 0; text-align: left; color: var(--muted); text-decoration: none; }
.day__n { position: absolute; z-index: 2; top: 8px; left: 9px; font: 500 12px/1 var(--f-mono); letter-spacing: .04em; }
.day__room { position: absolute; z-index: 2; left: 9px; right: 6px; bottom: 8px; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day--rec { cursor: pointer; border-color: rgb(255 182 72 / .35); color: #fff; appearance: none; }
.day--rec img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; filter: brightness(.82); }
.day--rec::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(0 0 0 / .45), transparent 40%, transparent 55%, rgb(0 0 0 / .7)); }
.day--rec .day__n, .day--rec .day__room { text-shadow: 0 1px 2px rgb(0 0 0 / .8); }
.day__play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; display: grid; place-items: center; border-radius: 50%; background: rgb(5 7 11 / .55); border: 1px solid rgb(255 255 255 / .5); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease); }
.day__play svg { width: 12px; height: 12px; fill: #fff; margin-left: 2px; }
.day--rec:hover img { transform: scale(1.08); filter: none; }
.day--rec:hover .day__play, .day--rec:focus-visible .day__play { opacity: 1; transform: none; }
.day--rec .rec-dot { position: absolute; z-index: 2; top: 9px; right: 9px; width: 7px; height: 7px; box-shadow: 0 0 0 3px rgb(255 74 61 / .25); }
.day--santa { border-color: var(--amber); border-style: dashed; background: radial-gradient(120% 120% at 50% 0%, rgb(255 182 72 / .28), transparent 70%), var(--night-2); color: var(--amber-hi); transition: background-color .2s, transform .25s var(--ease); }
.day--santa:hover { transform: translateY(-2px); }
.day--santa .day__n { color: var(--amber-hi); }
.santa { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; background: #0b0d12; border: 1px solid var(--line); display: grid; align-content: center; justify-items: center; text-align: center; padding: 64px 28px; isolation: isolate; }
.santa canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: .28; }
.santa::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 50% 50%, rgb(11 13 18 / .4), rgb(11 13 18 / .92)); }
.santa .osd .o-tl { top: 26px; left: 28px; }
.santa .osd .o-tr { top: 22px; right: 24px; }
.santa .osd .o-bl { bottom: 26px; left: 28px; color: var(--amber-hi); }
.santa__label { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.santa h3 { margin-top: 16px; font-family: var(--f-display); font-weight: 340; font-size: clamp(40px, 4vw, 60px); line-height: 1; letter-spacing: -.02em; }
.santa h3 em { font-style: italic; color: var(--amber-hi); }
.santa__plan { margin-top: 26px; list-style: none; padding: 0; display: grid; gap: 10px; width: min(100%, 360px); text-align: left; }
.santa__plan li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; padding: 10px 14px; border-radius: 10px; background: rgb(255 255 255 / .04); border: 1px solid var(--line); }
.santa__plan b { font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-hi); }
.santa__plan span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.santa .btn { margin-top: 22px; }
.santa p { margin-top: 24px; max-width: 34ch; color: var(--ink-2); }
@media (max-width: 1099px) { .dec, .dec__head { grid-template-columns: 1fr; } }
@media (max-width: 599px) {
  .cal { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px; }
  .day { aspect-ratio: 1 / 1; border-radius: 8px; }
  .day__room { display: none; }
  .day--santa .day__room { display: block; font-size: 9px; left: 6px; }
  .day__n { top: 6px; left: 7px; font-size: 11px; }
  .santa { min-height: 380px; padding: 72px 18px 64px; }
  .santa .osd .o-tr { display: none; }
  .santa__plan li { grid-template-columns: 64px 1fr; padding: 10px 12px; }
}

/* ---------- the morning: the email on a phone ---------- */
.inbox { background: linear-gradient(180deg, #070a11 0%, #0b1122 60%, #111735 100%); overflow: hidden; }
.inbox__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.facts { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.facts div { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.facts dt { font: 500 11.5px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--amber); }
.facts dd { color: var(--ink-2); }
.phone { position: relative; justify-self: center; width: min(360px, 86vw); aspect-ratio: 9 / 17; padding: 12px; border-radius: 54px; background: linear-gradient(145deg, #2a2f3a, #0f1218 40%, #1d222b); box-shadow: 0 0 0 1px rgb(255 255 255 / .1) inset, 0 60px 120px -40px rgb(0 0 0 / .9), 0 0 120px -20px rgb(255 160 90 / .25); }
.phone__screen { position: relative; height: 100%; border-radius: 43px; overflow: hidden; background: #f7f5f1; color: #191714; display: flex; flex-direction: column; font-size: 14px; }
.phone__notch { position: absolute; top: 10px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; z-index: 2; }
.phone__status { display: flex; justify-content: space-between; padding: 16px 26px 0 30px; height: 46px; font: 600 14px/1 var(--f-text); }
.phone__status span:last-child { letter-spacing: .1em; font-size: 11px; }
.mail { flex: 1; display: flex; flex-direction: column; padding: 8px 18px 0; overflow: hidden; }
.mail__top { display: flex; justify-content: space-between; color: #8a6a2c; font-size: 13px; padding: 6px 0 14px; }
.mail__subj { font: 600 21px/1.2 var(--f-text); letter-spacing: -.01em; }
.mail__from { display: flex; gap: 10px; align-items: center; margin: 14px 0 16px; }
.mail__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #0b0e14; color: #fff; font-weight: 600; font-size: 14px; position: relative; }
.mail__av::after { content: ""; position: absolute; top: 3px; right: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); }
.mail__from b { display: block; font-weight: 600; font-size: 14px; }
.mail__from > span:last-child > span { display: block; color: #6c6760; font-size: 12px; }
.mail__body { display: grid; gap: 14px; line-height: 1.5; }
.mail__clip { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.mail__clip img { width: 100%; height: 100%; object-fit: cover; }
.mail__clip .osd { font-size: 8.5px; }
.mail__clip .osd .o-tl { top: 9px; left: 10px; }
.mail__clip .osd .o-tr { top: 8px; right: 8px; padding: 3px 5px; }
.mail__clip .osd .o-bl { bottom: 9px; left: 10px; }
.mail__btn { justify-self: start; padding: 11px 18px; border-radius: 999px; background: #191714; color: #fff; font-weight: 600; font-size: 14px; }
.mail__fine { color: #5b564f; font-size: 12.5px; }
@media (max-width: 899px) { .inbox__grid { grid-template-columns: 1fr; gap: 56px; } }
@media (max-width: 599px) { .facts { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; } }

/* ---------- 07:00: breakfast, the dawn and the last call ---------- */
.dawn { position: relative; overflow: hidden; isolation: isolate; padding: 220px 0 120px;
  background: linear-gradient(180deg, #1a1d40 0%, #3a2c58 12%, #8a5468 24%, #e0957a 36%, #f7c79a 48%, #fbdcb6 60%, var(--cream) 100%); color: var(--day-ink); }
.dawn__sun { position: absolute; z-index: -1; left: 50%; bottom: -360px; width: 900px; height: 900px; margin-left: -450px; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 238 200 / .95) 0%, rgb(255 214 150 / .6) 26%, rgb(255 190 130 / .2) 48%, transparent 66%); }
.dawn__stars { position: absolute; inset: 0 0 60% 0; z-index: -1; opacity: .7;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 46% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 78% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 10%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 36% 34%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 40%, #fff 50%, transparent 51%); }
.dawn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 160px; background: linear-gradient(rgb(251 233 207 / 0), var(--cream)); }
.dawn__in { display: grid; justify-items: center; text-align: center; gap: 24px; padding-top: 18vh; }
.dawn .kicker { color: var(--day-ink); padding: 8px 14px; border-radius: 999px; background: rgb(251 233 207 / .8); }
.dawn .kicker .t { color: #6e2c0a; }
.dawn h2 { max-width: 16ch; font-size: clamp(48px, 7vw, 116px); font-weight: 320; letter-spacing: -.03em; line-height: .96; }
.dawn h2 em { color: #6a2608; }
.dawn p { max-width: 44ch; color: var(--day-ink); font-size: clamp(17px, 1.4vw, 20px); }
.dawn .btn { margin-top: 12px; }
.dawn :focus-visible { outline-color: var(--day-ink); }
body.home .site-foot__dawn { display: none; }
@media (max-width: 699px) { .dawn { padding: 140px 0 88px; } .dawn__in { padding-top: 10vh; } .dawn__sun { width: 640px; height: 640px; margin-left: -320px; bottom: -300px; } }
body.home .site-foot__in { padding-bottom: 110px; }

/* ---------- the lightbox for a recorded night ---------- */
.lb { width: min(1100px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #000; color: var(--ink); overflow: hidden; }
.lb::backdrop { background: rgb(2 3 6 / .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb__screen { position: relative; aspect-ratio: 1344 / 768; }
.lb__screen video { width: 100%; height: 100%; object-fit: cover; }
.lb .osd .o-tl { top: 18px; left: 20px; }
.lb .osd .o-tr { top: 16px; right: 64px; }
.lb .osd .o-bl { bottom: 18px; left: 20px; font-variant-numeric: tabular-nums; }
.lb__close { position: absolute; z-index: 5; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgb(5 7 11 / .6); cursor: pointer; }
.lb__close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; }
.lb__close:hover { background: rgb(255 255 255 / .12); }

/* motion on entry: a camera "signal" settle, once */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in, .reveal:focus-within { opacity: 1; transform: none; }
.feed__copy > div > * { animation: rise .9s var(--ease) both; }
.feed__copy > div > :nth-child(2) { animation-delay: .08s; }
.feed__copy > div > :nth-child(3) { animation-delay: .18s; }
.feed__copy > div > :nth-child(4) { animation-delay: .28s; }
.feed__copy > div > :nth-child(5) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.feed__video { animation: power .9s ease-out both; }
@keyframes power { 0% { filter: brightness(3) contrast(1.4); clip-path: inset(49.5% 0 49.5% 0); } 35% { filter: brightness(2); clip-path: inset(0 0 0 0); } 100% { filter: none; clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  .grain, .rec-dot, .osd .rec i, .osd .alert.is-on, .kicker .dot { animation: none; }
  .feed__copy > div > *, .feed__video { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .step { opacity: 1; }
  .stage .osd [data-ph], .step, .stage__night video { transition: none; }
  .pass:hover, .camsel:hover, .day--santa:hover { transform: none; }
}

/* pause for the setup clip (loops once it plays) */
.stage .film-pause { position: absolute; z-index: 4; top: 18px; left: auto; right: 18px; bottom: auto; height: 32px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.stage[data-phase="2"] .film-pause { opacity: 1; visibility: visible; transition: opacity .3s; }
@media (prefers-reduced-motion: reduce) { .stage .film-pause, .stage[data-phase="2"] .film-pause { transition: none; } }

/* scenes: only the arrival can be ordered; Santa is a pre-book; the rest are coming soon */
.scenes { margin-top: clamp(40px, 6vh, 64px); }
.scenes__h { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.scenes ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.scene { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 16px 16px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--night-2); color: var(--muted); }
.scene__n { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--muted); }
.scene__name { font-family: var(--f-display); font-weight: 380; font-size: 22px; line-height: 1.1; letter-spacing: -.01em; color: var(--ink-2); }
.scene__what { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.scene__st { justify-self: start; margin-top: 6px; padding: 7px 10px; border-radius: 999px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); }
a.scene__st { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
a.scene__st::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.scene--on { border-color: rgb(255 182 72 / .6); background: radial-gradient(120% 90% at 0% 0%, rgb(255 182 72 / .14), transparent 60%), var(--night-2); }
.scene--on .scene__name, .scene--book .scene__name { color: var(--ink); }
.scene--on .scene__what, .scene--book .scene__what { color: var(--ink-2); }
.scene--on .scene__st { background: var(--amber); border-color: var(--amber); color: #1a1205; }
.scene--book { border-style: dashed; border-color: rgb(255 182 72 / .5); }
.scene--book .scene__st { border-color: var(--amber); color: var(--amber-hi); }
.scene:has(a.scene__st):hover { transform: translateY(-2px); }
.scene { transition: transform .2s var(--ease); }
a.scene__st:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
@media (max-width: 1099px) { .scenes ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .scenes ul { grid-template-columns: 1fr; gap: 8px; }
  .scene { grid-template-columns: 30px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 4px; padding: 14px; align-items: center; }
  .scene__n { grid-row: 1 / 3; }
  .scene__name { font-size: 20px; }
  .scene__what { grid-column: 2; font-size: 13.5px; }
  .scene__st { grid-column: 3; grid-row: 1 / 3; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .scene, .scene:has(a.scene__st):hover { transform: none; transition: none; } }

/* the small print under the hero buttons sits on a chip where it can land over the picture (tablets) */
.feed .note { display: inline-block; padding: 6px 10px; margin-left: -10px; border-radius: 6px; background: rgb(5 7 11 / .62); }
@media (max-width: 699px) { .feed .note { background: none; padding: 0; margin-left: 0; } }
@media (max-width: 699px) { .feed .osd .o-cam > span { padding: 3px 6px; border-radius: 4px; background: rgb(5 7 11 / .5); } }
@media (max-width: 699px) { .stage .osd .alert { bottom: 52px; right: 16px; } }
@media (max-width: 699px) { .stage .film-pause { width: 34px; height: 34px; padding: 0; justify-content: center; top: 14px; right: 14px; } .stage .film-pause span { display: none; } }
