/* ==========================================================================
   efantasy.gr — MISSION: SECRET SANTA (Christmas 2026)
   Plain CSS, no build step. Sections follow the page top to bottom.

   The idea in one line: a classified Christmas airmail operation. Red is the
   field and the ink, white is paper, postal blue is the mission's support.
   Postal objects carry meaning: the envelope is the mission, a budget is a
   stamp's value, the steps are a routing slip, a gift is a parcel.

   Ambient motion only runs under html.fx-on (JS sets it unless the visitor
   prefers reduced motion; the Snow switch in the hero and the mixer toggle it).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Ubuntu, self-hosted (Ubuntu Font Licence 1.0, see assets/fonts/UFL.txt).
   Greek + Latin subsets; unicode-range fetches only what the text needs.
   -------------------------------------------------------------------------- */
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-400-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ubuntu-500-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ubuntu-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ubuntu-700-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ubuntu-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/ubuntu-500italic-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Ubuntu"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/ubuntu-500italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* --------------------------------------------------------------------------
   Tokens. Change the campaign's look here; components only use these.
   Every text pair below passes WCAG AA (ratios in README § Design system).
   -------------------------------------------------------------------------- */
:root {
  /* Red: the protagonist. The hero field, the CTAs, the ink of every stamp. */
  --red: #c8102e;            /* white on it 5.9:1 */
  --red-hot: #df1b3a;        /* hover */
  --red-deep: #970a21;       /* pressed edge, shadows */
  --wax: #a50d26;            /* the wax seal */

  /* White: paper. Clean surfaces, letters, labels. */
  --snow: #ffffff;
  --frost: #f2f5fb;          /* light sections */
  --airmail: #e8eff9;        /* airmail letter paper */
  --rule: #c7d4ec;           /* ruled lines, hairlines on paper */

  /* Blue: support, contrast, the "winter mission" note. */
  --navy: #0e2a6b;           /* postal blue: ink on paper (13:1 on white) */
  --navy-2: #1b3f8f;         /* hover on navy */
  --night: #081638;          /* deep sections */
  --night-2: #0d2152;        /* raised panels on night */
  --ice: #b4cffd;            /* text on night (10:1) */
  --sky: #5b8ce0;            /* decoration only, never text */

  --ink: #0c1a3d;            /* body text on paper */
  --ink-soft: #3d4b6c;       /* secondary text on paper (7:1 on --airmail) */

  /* Airmail stripes, the signature: red / white / blue / white */
  --stripes: repeating-linear-gradient(-45deg, var(--red) 0 16px, var(--snow) 16px 24px, var(--navy) 24px 40px, var(--snow) 40px 48px);

  --font: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale: major third on 17px, fluid at the top */
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --fs-xl: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  --fs-2xl: clamp(2.3rem, 1.1rem + 4.4vw, 4.75rem);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --section-y: clamp(72px, 9vw, 136px);
  --radius: 6px;             /* paper and labels */
  --radius-lg: 14px;         /* panels */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-paper: 0 1px 0 rgba(12, 26, 61, .06), 0 10px 26px -12px rgba(12, 26, 61, .45);
  --shadow-lift: 0 2px 0 rgba(12, 26, 61, .06), 0 22px 40px -18px rgba(12, 26, 61, .55);

  /* Ink texture for rubber stamps: speckled alpha from SVG noise */
  --ink-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 112px;            /* the pinned shop bar (96px) + air */
}
html.fx-on { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 var(--fs-base)/1.6 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 700; }
button, input { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--snow); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
main { overflow-x: clip; }   /* off-screen intro offsets must never widen the page */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--snow);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; outline-color: var(--navy); }

/* --------------------------------------------------------------------------
   Shared components
   -------------------------------------------------------------------------- */

/* Buttons: a postal label with a pressed edge. The edge is a box-shadow, so a
   press moves the label down onto it. */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--snow);
  --btn-edge: var(--red-deep);
  --btn-hover: var(--red-hot);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--btn-bg);
  box-shadow: 0 4px 0 var(--btn-edge);
  color: var(--btn-fg);
  font: 700 var(--fs-sm)/1.15 var(--font);
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, box-shadow .15s, transform .15s var(--ease-out), color .2s;
}
.btn:hover { background: var(--btn-hover); text-decoration: none; transform: translateY(-1px); box-shadow: 0 5px 0 var(--btn-edge); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-edge); }
.btn:focus-visible { outline-offset: 4px; }
.btn[hidden] { display: none; }
.btn__ico { width: 1.35em; height: 1.35em; flex: none; fill: currentColor; }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: var(--fs-xs); letter-spacing: .04em; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: var(--fs-base); }

.btn--navy { --btn-bg: var(--navy); --btn-edge: #061641; --btn-hover: var(--navy-2); }
.btn--snow { --btn-bg: var(--snow); --btn-fg: var(--red); --btn-edge: #d9dfeb; --btn-hover: #fff6f7; }
/* Outline buttons: no pressed edge, a ring instead */
.btn--ghost,
.btn--ghost-dark,
.btn--line-light {
  --btn-bg: transparent;
  --btn-hover: transparent;
  box-shadow: inset 0 0 0 2px var(--btn-ring);
  font-weight: 500;
  letter-spacing: .02em;
}
.btn--ghost:hover,
.btn--ghost-dark:hover,
.btn--line-light:hover { box-shadow: inset 0 0 0 2px var(--btn-ring-hover); transform: none; }
.btn--ghost:active,
.btn--ghost-dark:active,
.btn--line-light:active { transform: translateY(1px); box-shadow: inset 0 0 0 2px var(--btn-ring-hover); }
.btn--ghost { --btn-fg: var(--navy); --btn-ring: var(--rule); --btn-ring-hover: var(--navy); }           /* on white */
.btn--ghost-dark { --btn-fg: var(--navy); --btn-ring: #9fb3d8; --btn-ring-hover: var(--navy); }         /* on airmail paper */
.btn--line-light { --btn-fg: var(--snow); --btn-ring: rgba(255, 255, 255, .6); --btn-ring-hover: var(--snow); }   /* on red */

.link-btn {
  display: inline;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.link-btn:hover { text-decoration-thickness: 2px; }
.link-btn--light { color: var(--ice); }

/* A switch (role="switch"): label, then the track */
.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.switch__track {
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: #b3bdd1;
  transition: background-color .2s;
}
.switch__thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--snow);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  transition: transform .25s var(--ease-back);
}
.switch[aria-checked="true"] .switch__track { background: var(--red); }
.switch[aria-checked="true"] .switch__thumb { transform: translateX(20px); }

/* Rubber stamp: ink on paper, slightly crooked, speckled by --ink-mask */
.rubber {
  display: inline-block;
  padding: .12em .5em .08em;
  border: .14em solid currentColor;
  border-radius: .2em;
  color: var(--red);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-mask: var(--ink-mask);
          mask: var(--ink-mask);
  mix-blend-mode: multiply;
}

/* Section headings: the client's English line, the local line under it */
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-title { display: flex; flex-direction: column; gap: 14px; }
.section-title > span:first-child {
  color: var(--navy);
  font-size: var(--fs-2xl);
  line-height: .92;
  letter-spacing: -.03em;
}
.section-title__sub { font-size: var(--fs-md); font-weight: 500; line-height: 1.3; color: var(--ink-soft); }
.section-lede { max-width: 58ch; margin-top: 18px; color: var(--ink-soft); font-size: var(--fs-md); line-height: 1.55; }
.section-title--light > span:first-child { color: var(--snow); }
.section-title--light .section-title__sub { color: var(--ice); }
.section-lede--light { color: rgba(255, 255, 255, .9); }

/* Airmail band: the stripes as a section edge */
.airmail-band {
  height: 14px;
  background: var(--stripes);
}

/* --------------------------------------------------------------------------
   Shop header (eFantasy's own; shared with the Black Friday and Halloween pages)
   -------------------------------------------------------------------------- */
.site-header {
  --hdr-navy: #31407c;
  --hdr-ink: #404040;
  --hdr-muted: #666;
  --hdr-line: #e8e8e8;
  --hdr-pad: clamp(16px, 3.4vw, 64px);
  --util-h: 38px;
  position: sticky;
  top: calc(-1 * var(--util-h));
  z-index: 95;
  color: var(--hdr-ink);
}
.site-header { pointer-events: none; }
.site-header .util,
.site-header .mainbar { pointer-events: auto; }
.site-header a { text-decoration: none; }
.site-header svg { display: block; flex: none; }
.site-header :focus-visible { outline: 2px solid var(--hdr-navy); outline-offset: 3px; }

.util { height: var(--util-h); background: #fff; border-bottom: 2px solid #f5f5f5; }
.util__inner { display: flex; align-items: center; gap: 16px; height: 100%; padding: 0 var(--hdr-pad); }
.util__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.util__list li { display: flex; }
.util__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: .9375rem; color: var(--hdr-ink); }
.util__contact li + li { margin-left: 16px; padding-left: 17px; border-left: 1px solid var(--hdr-line); }
.util__contact svg { color: var(--hdr-navy); }
.util__right { display: flex; align-items: center; margin-left: auto; }
.util__social { gap: 10px; margin-right: 16px; }
.util__social a { display: grid; place-items: center; width: 34px; height: 36px; color: #1d1d1d; }
.util__social a:hover,
.util__contact a:hover { color: var(--hdr-navy); }
.util__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding-left: 20px;
  border-left: 1px solid var(--hdr-line);
  font-size: .9375rem;
  font-weight: 500;
  color: #5c5c5c;
}
.util__lang:hover { color: var(--hdr-navy); }

.mainbar { position: relative; background: #fff; border-radius: 0 0 32px 32px; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.mainbar__inner { display: flex; align-items: center; gap: 34px; min-height: 96px; padding: 0 max(16px, calc(var(--hdr-pad) - 8px)) 0 var(--hdr-pad); }
.mainbar__menu { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -6px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--hdr-navy); cursor: pointer; }
.mainbar__logo { flex: none; border-radius: 50%; }
.mainbar__logo img { width: 76px; height: 76px; }

.search {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 55px;
  padding: 0 20px 0 30px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #9d48f7, #31407c 42%, #31407c 60%, #4acfea) border-box;
  color: var(--hdr-navy);
}
.search:focus-within { box-shadow: 0 0 0 4px rgba(157, 72, 247, .18); }
.search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #222; font: 400 1.0625rem/1 var(--font); }
.search input::placeholder { color: #6f6f6f; opacity: 1; }
.search input::-webkit-search-cancel-button { cursor: pointer; }

.hnav { display: flex; align-items: center; margin-left: -8px; }
.hnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 96px;
  height: 64px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--hdr-navy);
  cursor: pointer;
}
.hnav__label { font-size: .8125rem; line-height: 1; color: var(--hdr-muted); white-space: nowrap; }
.hnav__item:hover .hnav__label { color: var(--hdr-navy); }
.hnav__divider { width: 1px; height: 62px; margin: 0 8px; background: var(--hdr-line); }

/* The Sound button: an equaliser that moves while sound plays */
.hnav__item--sound[hidden] { display: none; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 30px; padding-bottom: 1px; }
.eq i { display: block; width: 5px; height: 30%; border-radius: 2px; background: #9aa3bd; transition: height .3s var(--ease-out), background-color .3s; }
.sound-on .eq i { background: var(--red); }
.sound-on .eq i:nth-child(1) { height: 55%; }
.sound-on .eq i:nth-child(2) { height: 95%; }
.sound-on .eq i:nth-child(3) { height: 70%; }
.sound-on .eq i:nth-child(4) { height: 40%; }
.fx-on .is-playing .eq i { animation: eq .9s ease-in-out infinite alternate; }
.fx-on .is-playing .eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
.fx-on .is-playing .eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.6s; }
.fx-on .is-playing .eq i:nth-child(4) { animation-duration: .8s; animation-delay: -.15s; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }
.hnav__item--sound[aria-expanded="true"] .hnav__label { color: var(--red); }

.shop-menu { position: absolute; top: calc(100% + 10px); left: var(--hdr-pad); z-index: 30; min-width: 260px; padding: 10px 0; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, .35); }
.shop-menu[hidden] { display: none; }
.shop-menu ul { margin: 0; padding: 0; list-style: none; }
.shop-menu a { display: block; padding: 11px 24px; color: var(--hdr-navy); font-weight: 500; }
.shop-menu a:hover { background: #f2f3f9; }
.shop-menu__sep { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--hdr-line); }

/* The mixer: a card hanging under the Sound button */
.mixer {
  position: absolute;
  top: calc(100% + 10px);
  right: var(--hdr-pad);
  z-index: 31;
  width: min(340px, calc(100vw - 24px));
  padding: 18px 20px 14px;
  border-top: 4px solid var(--red);
  border-radius: 4px 4px 16px 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
  color: var(--ink);
}
.mixer[hidden] { display: none; }
.mixer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mixer__title { font-size: var(--fs-md); color: var(--navy); }
.mixer__close {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--navy);
  cursor: pointer;
}
.mixer__close::before {
  content: "";
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5 5 19' stroke='%23000' stroke-width='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5 5 19' stroke='%23000' stroke-width='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mixer__close:hover { background: var(--frost); }
.mixer .switch { color: var(--navy); }
.mixer__rows { display: grid; gap: 4px; margin: 6px 0 8px; padding: 8px 0; border-block: 1px solid var(--rule); }
.mixer__row { display: grid; grid-template-columns: 1fr 40px minmax(0, 130px) 30px; align-items: center; gap: 6px; }
.mixer__name { font-size: var(--fs-sm); font-weight: 500; }
.mixer__mute {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--navy);
  cursor: pointer;
}
.mixer__mute:hover { background: var(--frost); }
.mixer__mute::before {
  content: "";
  width: 22px; height: 22px;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
  --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18 6a8.5 8.5 0 0 1 0 12' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}
.mixer__mute[aria-pressed="true"] { color: var(--red); }
.mixer__mute[aria-pressed="true"]::before {
  --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 9l6 6M22 9l-6 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}
.mixer__range { width: 100%; accent-color: var(--red); cursor: pointer; }
.mixer__out { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-soft); text-align: right; font-variant-numeric: tabular-nums; }
.mixer__row.is-muted .mixer__range { opacity: .45; }
.mixer.is-off .mixer__rows { opacity: .6; }   /* all sound off: the levels wait, dimmed */

/* First-visit sound pop-up: non-modal, fixed under the Sound button */
.sound-intro {
  position: fixed;
  inset: var(--intro-top, 150px) 12px auto auto;
  z-index: 120;
  width: min(360px, calc(100vw - 24px));
  margin: 0;
  padding: 22px 22px 20px;
  border: 0;
  border-top: 4px solid var(--red);
  border-radius: 4px 4px 18px 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(4, 12, 34, .45);
  color: var(--ink);
}
.sound-intro:not([open]) { display: none; }
.sound-intro__arrow {
  position: absolute;
  top: -14px;
  right: calc(var(--arrow-x, 60px) - 10px);
  width: 20px; height: 10px;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
/* Scrolled past the Sound button: the pop-up waits under the shop bar, without its pointer */
.sound-intro.is-detached .sound-intro__arrow { display: none; }
.sound-intro__bells { display: flex; gap: 2px; margin-bottom: 10px; color: var(--red); }
.sound-intro__bells svg { width: 26px; height: 26px; }
.sound-intro__bells svg:last-child { transform: rotate(14deg) translateY(2px); color: var(--navy); }
.fx-on .sound-intro[open] .sound-intro__bells svg { animation: ring 1.6s ease-in-out infinite; transform-origin: 50% 0; }
.fx-on .sound-intro[open] .sound-intro__bells svg:last-child { animation-delay: -.8s; }
@keyframes ring { 0%, 40%, 100% { rotate: 0deg; } 10% { rotate: 14deg; } 20% { rotate: -12deg; } 30% { rotate: 6deg; } }
.sound-intro__title { margin-bottom: 6px; font-size: var(--fs-md); color: var(--navy); }
.sound-intro__text { font-size: var(--fs-sm); color: var(--ink-soft); }
.sound-intro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

@media (max-width: 1279px) {
  .mainbar__inner { gap: 24px; }
  .hnav__item { width: 80px; }
  .hnav__label { font-size: .75rem; }
}
@media (max-width: 1023px) {
  .hnav__item--extra { display: none; }
  .mainbar__logo img { width: 64px; height: 64px; }
}
@media (max-width: 719px) {
  html { scroll-padding-top: 152px; }
  .mainbar { border-radius: 0 0 24px 24px; }
  .mainbar__inner { flex-wrap: wrap; gap: 12px 10px; min-height: 0; padding-top: 10px; padding-bottom: 14px; }
  .mainbar__logo img { width: 52px; height: 52px; }
  .hnav { margin-left: auto; }
  .hnav__item { width: 44px; height: 44px; justify-content: center; }
  .hnav__item svg { height: 26px; width: auto; }
  .eq { height: 24px; }
  .hnav__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .search { order: 3; flex-basis: 100%; height: 48px; padding-left: 18px; border-radius: 12px; }
  .shop-menu { left: 12px; right: 12px; }
  .mixer { right: 12px; }

  .site-header { filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .28)); }
  .mainbar { box-shadow: none; clip-path: inset(0 0 0 0 round 0 0 24px 24px); transition: clip-path .28s var(--ease-out); }
  .site-header.is-compact .mainbar { clip-path: inset(0 0 60px 0 round 0 0 24px 24px); }
  .site-header.is-menu-open .mainbar { clip-path: none; }
  .search { transition: opacity .2s, visibility 0s; }
  .site-header.is-compact .search { opacity: 0; visibility: hidden; transition: opacity .15s, visibility 0s .28s; }
}
@media (max-width: 599px) {
  .util__contact li + li,
  .util__social { display: none; }
  .util__lang { border-left: 0; padding-left: 0; }
}
@media (max-width: 380px) {
  .hnav__item--fav { display: none; }   /* Favourites is also in the account menu */
}


/* --------------------------------------------------------------------------
   Hero: the mission envelope on a red field
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: max(720px, calc(100svh - 96px));
  margin-top: -40px;                   /* tuck under the header's rounded corners */
  padding-top: 40px;
  overflow: hidden;
  background: var(--red);
  color: var(--snow);
}
.hero__scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(255, 255, 255, .16), transparent 70%),
    radial-gradient(120% 90% at 50% 18%, #dc1a36 0%, var(--red) 46%, #8f0a20 100%);
}
.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__stage {
  position: relative;
  flex: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(20px, 3vw, 36px);
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(84px, 9vw, 120px);
}

/* The envelope. Layers, back to front: letter (z1), pocket (z2), flap (z3), seal (z4).
   When the flap opens past 90° the motion script drops it behind the letter. */
.envelope {
  --flap: 38%;                         /* the flap's depth; the seal sits on its tip */
  --seal: clamp(64px, 8.5vw, 104px);   /* the wax seal; the address starts below it */
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
  aspect-ratio: 1.5;
  perspective: 1800px;
}
.envelope__pocket {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfcfe, #eef2f9);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 40px 70px -30px rgba(60, 0, 10, .75), 0 18px 30px -18px rgba(60, 0, 10, .5);
  color: var(--ink);
}
/* The airmail border: the stripes, masked down to a frame */
.envelope__pocket::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: clamp(9px, 1.4vw, 14px);
  background: var(--stripes);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.envelope__folds { position: absolute; inset: 0; width: 100%; height: 100%; }

.envelope__flap {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: var(--flap);
  transform-origin: 50% 0;
  filter: drop-shadow(0 6px 6px rgba(14, 42, 107, .16));
}
.flap__face {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background:
    var(--stripes) top / 100% clamp(9px, 1.4vw, 14px) no-repeat,
    linear-gradient(180deg, #ffffff, #f2f5fb 90%);
}
/* Past 90° (the motion script sets .is-open) the inside of the flap shows: a lining */
.envelope__flap.is-open .flap__face {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .55) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(180deg, var(--navy), var(--night));
}
.envelope__flap.is-open .flap__from { opacity: 0; }
.flap__from {
  position: absolute;
  top: 17%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 46%;
  transform: translateX(-50%);
  color: var(--navy);
  font-size: clamp(.6875rem, .5rem + .45vw, .875rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}
.envelope__k {
  font-style: normal;
  font-weight: 700;
  font-size: .8em;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.envelope__letter {
  position: absolute;
  inset: 5% 7% 12%;
  z-index: 1;
  padding: 7% 8%;
  border-radius: 4px;
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, var(--rule) 27px 28px) 0 60px / 100% calc(100% - 60px) no-repeat,
    var(--airmail);
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .35);
  color: var(--navy);
}
.letter__stamp { display: inline-block; margin-bottom: 14px; padding: 2px 10px; border: 3px solid var(--red); border-radius: 4px; color: var(--red); font-weight: 700; letter-spacing: .14em; transform: rotate(-4deg); }
.letter__line { font-size: clamp(1.1rem, .7rem + 1.4vw, 2rem); font-weight: 700; letter-spacing: -.01em; }
.letter__rule { height: 8px; margin-top: 18px; border-radius: 4px; background: rgba(14, 42, 107, .14); }
.letter__rule--short { width: 60%; }

.seal {
  position: absolute;
  top: var(--flap);
  left: 50%;
  z-index: 4;
  width: var(--seal);
  aspect-ratio: 1;
  margin: calc(var(--seal) / -2) 0 0 calc(var(--seal) / -2);   /* centred without a transform: GSAP owns transforms */
  cursor: pointer;
  filter: drop-shadow(0 6px 8px rgba(80, 0, 14, .45));
}
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal__wax { fill: var(--wax); }
.seal__ring { fill: none; stroke: #7f0619; stroke-width: 3; }
.seal__ring--in { stroke: #ce2a44; stroke-width: 1.6; }
.seal__mark { color: #f0a6b1; }
.seal__crack { fill: none; stroke: #5d0414; stroke-width: 2; stroke-linejoin: round; opacity: 0; }
.seal:hover { filter: drop-shadow(0 8px 12px rgba(80, 0, 14, .55)) brightness(1.06); }

/* Postage: stamp + postmark in the top-right of the pocket */
.postage {
  position: absolute;
  top: 30%;
  right: 5%;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 25%;
}
.postage__stamp {
  position: relative;
  flex: none;
  width: 42%;
  padding: 5px;
  background: #fff;
  --r: 3.5px;
  -webkit-mask: radial-gradient(var(--r), #0000 97%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
          mask: radial-gradient(var(--r), #0000 97%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  transform: rotate(4deg);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25));
}
.postage__stamp text { fill: #fff; font: 700 11px var(--font); letter-spacing: .1em; }
.postage__mark { width: 78%; margin-left: -18%; color: rgba(14, 42, 107, .62); transform: rotate(-10deg); }
.postage__mark svg { overflow: visible; }
.postage__arc { fill: currentColor; font: 700 9.5px var(--font); letter-spacing: .18em; }
.postage__date { fill: currentColor; font: 700 10px var(--font); letter-spacing: .06em; }

.envelope__secret {
  position: absolute;
  top: 40%;
  left: 7%;
  z-index: 1;
  font-size: clamp(.875rem, .5rem + 1.1vw, 1.5rem);
  transform: rotate(-12deg);
  opacity: .9;
}

/* The address: who it's for, the mission name, the tagline, the CTA */
.envelope__address {
  position: absolute;
  inset: calc(var(--flap) + var(--seal) / 2 + 8px) 9% 7%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 12px);
  text-align: center;
}
.envelope__to { position: absolute; right: -4%; bottom: 0; max-width: 20%; color: var(--ink-soft); font-size: clamp(.75rem, .55rem + .4vw, .9375rem); font-style: italic; font-weight: 500; line-height: 1.35; text-align: right; }
.envelope__to .envelope__k { display: block; }
.envelope__title { display: flex; flex-direction: column; align-items: center; }
.envelope__t1 { color: var(--navy); font-size: clamp(1rem, .55rem + 1.5vw, 1.9rem); letter-spacing: .16em; line-height: 1; }
.envelope__t2 {
  color: var(--red);
  font-size: clamp(2.6rem, .9rem + 5.6vw, 6.2rem);
  line-height: .9;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.envelope__tagline { color: var(--navy); font-size: clamp(1rem, .8rem + .6vw, 1.375rem); font-style: italic; font-weight: 500; line-height: 1.3; }
.envelope__cta { margin-top: clamp(4px, 1vw, 12px); }

.airmail {
  position: absolute;
  bottom: 9%;
  left: 5%;
  z-index: 1;
  display: grid;
  padding: 6px 12px;
  border: 2px solid var(--navy);
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-size: clamp(.5625rem, .4rem + .35vw, .75rem);
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  transform: rotate(-3deg);
}
.airmail span:last-child { color: var(--ice); font-weight: 500; font-style: italic; letter-spacing: .08em; }

/* Gift sacks either side */
.sack {
  position: absolute;
  bottom: clamp(36px, 5vw, 64px);
  z-index: 1;
  width: clamp(130px, 19vw, 300px);
  height: auto;
  overflow: visible;
  pointer-events: auto;
  filter: drop-shadow(0 18px 18px rgba(60, 0, 10, .4));
}
.sack--left { left: max(var(--gutter), calc(50% - 440px - 15vw)); transform: rotate(-6deg); }
.sack--right { right: max(var(--gutter), calc(50% - 440px - 15vw)); transform: rotate(5deg); }
.sack__stencil { fill: #fff; font: 700 21px var(--font); letter-spacing: .16em; }
.sack__stencil--ink { fill: var(--navy); }
.gift-peek { transform-box: fill-box; transform-origin: 50% 100%; }

/* The delivery tag: countdown to Christmas, on rubber date-stamp bands */
.tag { position: relative; z-index: 3; }
.tag__string { display: none; }
.tag__card {
  position: relative;
  width: min(330px, 100%);
  padding: 18px 22px 18px 44px;
  border-radius: 6px 14px 14px 6px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 24px 40px -18px rgba(60, 0, 10, .7);
  color: var(--navy);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
}
.tag__hole {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 14px; height: 14px;
  border: 3px solid #d7deeb;
  border-radius: 50%;
  background: var(--red);
  translate: 0 -50%;
}
.tag__head { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 2px dashed var(--rule); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; }
.tag__head strong { color: var(--red); }
.tag__label { margin-top: 10px; color: var(--ink-soft); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; }
.dater { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.dater__unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
/* A band shows one digit pair. santa.js builds rolling digit strips inside it. */
.dater__bands {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 1.15em;
  overflow: hidden;
  padding: 0 2px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f1d3d8, #fff 35%, #fff 65%, #f1d3d8);
  box-shadow: inset 0 0 0 2px rgba(200, 16, 46, .25);
  color: var(--red);
  font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.dater__col { display: block; width: .62em; text-align: center; }
.dater__strip { display: flex; flex-direction: column; will-change: transform; }
.dater__strip span { display: block; height: 1.15em; }
.dater__name { color: var(--ink-soft); font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
.tag.is-final .dater__bands { background: var(--red); color: #fff; box-shadow: none; }
.tag.is-day .dater { display: none; }

.hero__lede {
  position: relative;
  z-index: 3;
  max-width: 54ch;
  color: #fff;
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 1px 2px rgba(80, 0, 14, .35);
}

/* The Snow switch: the WCAG 2.2.2 pause control for the ambient motion */
.fx-toggle {
  position: absolute;
  left: var(--gutter);
  top: 56px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px 0 10px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 20px;
  background: rgba(120, 6, 24, .35);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.fx-toggle svg { width: 20px; height: 20px; }
.fx-toggle:hover { background: rgba(120, 6, 24, .55); border-color: #fff; }
.fx-toggle[aria-pressed="false"] { opacity: .85; }
.fx-toggle[aria-pressed="false"] svg { opacity: .5; }
.hero > .airmail-band { position: absolute; inset: auto 0 0; }

/* Wide screens: the tag hangs off the envelope's right edge, string and all */
@media (min-width: 1280px) {
  .envelope { width: min(860px, 64vw); }
  .tag { position: absolute; top: clamp(60px, 9vh, 120px); left: min(calc(50% + min(430px, 32vw) - 70px), calc(100% - 330px - var(--gutter))); transform: rotate(7deg); transform-origin: 0 50%; }
  .tag__string { display: block; position: absolute; top: 6px; left: -116px; width: 130px; height: 70px; }
  .tag__card { width: 290px; }
  .sack--left { left: calc(50% - min(430px, 32vw) - 230px); }
  .sack--right { right: calc(50% - min(430px, 32vw) - 230px); bottom: 40px; }
}
@media (max-width: 1279px) {
  .hero__stage { padding-bottom: clamp(220px, 30vw, 300px); }
  .sack { bottom: 64px; width: clamp(120px, 22vw, 220px); }
  .sack--left { left: var(--gutter); }
  .sack--right { right: var(--gutter); }
  .tag { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 899px) {
  .envelope { --flap: 36%; aspect-ratio: .76; width: min(520px, 100%); }
  .envelope__letter { inset: 4% 6% 10%; }
  .envelope__address { inset: calc(var(--flap) + var(--seal) / 2 + 6px) 7% 6%; }
  .envelope__t2 { white-space: normal; font-size: clamp(3rem, 1rem + 10.5vw, 5.4rem); line-height: .86; }
  .envelope__secret { top: 26%; left: 5%; font-size: .75rem; }
  .airmail, .envelope__to { display: none; }
  .postage { top: 25%; width: 30%; right: 4%; }
  .flap__from { top: 13%; width: 62%; }
  .hero__stage { padding-bottom: 300px; }
  .sack { width: clamp(108px, 26vw, 170px); bottom: 110px; }
  .tag { bottom: 120px; }
  .tag__card { width: min(300px, calc(100vw - 2 * var(--gutter) - 120px)); padding: 14px 14px 14px 36px; }
  .dater { gap: 5px; }
}
@media (max-width: 599px) {
  .hero__stage { padding-bottom: 32px; gap: 24px; }
  .tag { position: relative; inset: auto; transform: none; }
  .tag__card { width: min(330px, calc(100vw - 2 * var(--gutter))); }
  .sack { position: relative; bottom: auto; width: 120px; }
  .hero__stage { grid-template-columns: 1fr 1fr; }
  .envelope, .tag, .hero__lede { grid-column: 1 / -1; }
  .sack--left { order: 3; left: auto; justify-self: end; }
  .sack--right { order: 4; right: auto; justify-self: start; }
  .tag { order: 1; }
  .hero__lede { order: 2; }
  .fx-toggle { top: auto; bottom: 26px; left: 0; right: 0; width: fit-content; margin-inline: auto; }
  .hero { padding-bottom: 72px; }
}
@media (max-width: 380px) {
  .envelope__secret { left: 3%; font-size: .625rem; }
  .envelope__tagline { font-size: .9375rem; }
  .btn--lg { padding: 0 18px; font-size: var(--fs-sm); }
}

/* Intro: hold the hero until GSAP has set its start states (released after 2.5 s) */
.boot .envelope,
.boot .tag,
.boot .sack { opacity: 0; }


/* --------------------------------------------------------------------------
   The mission: a classified dossier on a night-blue desk
   -------------------------------------------------------------------------- */
.mission {
  position: relative;
  padding-block: var(--section-y);
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(91, 140, 224, .22), transparent 70%),
    var(--night);
}
.dossier {
  position: relative;
  padding: clamp(28px, 4.5vw, 64px) clamp(18px, 4.5vw, 64px) clamp(36px, 5vw, 72px);
  border-radius: 6px;
  background:
    radial-gradient(120% 80% at 50% 0%, #f3f7fd, var(--airmail) 60%, #dde7f6);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.dossier__clip {
  position: absolute;
  top: -18px;
  left: clamp(28px, 6vw, 80px);
  width: 26px;
  height: 74px;
  border: 4px solid #8c9ab5;
  border-radius: 13px;
  transform: rotate(4deg);
}
.dossier__clip::after {
  content: "";
  position: absolute;
  inset: 8px 4px 16px;
  border: 3px solid #8c9ab5;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.dossier__stamp {
  position: absolute;
  top: clamp(20px, 3vw, 40px);
  right: clamp(16px, 4vw, 56px);
  font-size: clamp(.875rem, .6rem + .8vw, 1.25rem);
  transform: rotate(8deg);
  opacity: .75;
}

/* Routing slip: the three steps, numbered because they are a sequence */
.slip { margin-bottom: clamp(28px, 4vw, 48px); }
.slip__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; margin: 0; padding: 0; list-style: none; border: 2px solid var(--navy); border-radius: 4px; }
.slip__list li + li { border-left: 2px solid var(--navy); }
.slip__step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: background-color .2s;
}
.slip__n {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.slip__name { font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; }
.slip__value { font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slip__value:empty { display: none; }
.slip__step:hover:not([aria-disabled="true"]):not([aria-current]) { background: rgba(14, 42, 107, .07); }
.slip__step[aria-current="step"] { background: var(--navy); color: #fff; }
.slip__step[aria-current="step"] .slip__value { color: var(--ice); }
.slip__step[aria-disabled="true"] { color: #6a7a9c; cursor: not-allowed; }
.slip__step.is-done .slip__n { border-color: var(--red); background: var(--red); color: #fff; }

/* Steps: with JS, one at a time; without, all three in order */
.js .step:not(.is-active) { display: none; }
.step__head { margin-bottom: clamp(24px, 3.5vw, 40px); }
.step__title { display: flex; flex-direction: column; gap: 10px; outline: none; }
.step__title > span:first-child { color: var(--navy); font-size: var(--fs-xl); line-height: .98; letter-spacing: -.02em; }
.step__sub { color: var(--red); font-size: var(--fs-md); font-weight: 500; line-height: 1.3; }
.step__lede { max-width: 62ch; margin-top: 12px; color: var(--ink-soft); }
.step__target { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 14px; padding: 6px 12px; border-radius: 4px; background: rgba(14, 42, 107, .08); color: var(--ink-soft); font-size: var(--fs-sm); }
.step__target strong { color: var(--navy); }
.step__target[hidden] { display: none; }
.step__nav { margin-top: 28px; }
.no-js-step + .step { margin-top: 64px; }
.step__head--intel { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.intel__tools { display: flex; flex-wrap: wrap; gap: 10px; }

/* Persona files: index cards (a red head rule, blue lines: the brief's palette on paper) */
.files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); list-style: none; }
.files__item { display: flex; }
.file {
  --tilt: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  align-content: start;
  width: 100%;
  padding: 20px 20px 16px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow-paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transform: rotate(var(--tilt));
  transition: transform .3s var(--ease-back), box-shadow .3s var(--ease-out);
}
.files__item:nth-child(3n + 1) .file { --tilt: -.6deg; }
.files__item:nth-child(3n + 2) .file { --tilt: .5deg; }
.file:hover { transform: translateY(-4px) rotate(-1.2deg); box-shadow: var(--shadow-lift); }
.file__tab {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 2px 10px 4px;
  border-radius: 4px 4px 0 0;
  background: #fff;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 -2px 4px rgba(12, 26, 61, .08);
}
.file__ico {
  width: 52px; height: 52px;
  padding: 8px;
  border-radius: 50%;
  background: var(--frost);
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--rule);
  transition: background-color .25s, color .25s;
}
.file__name { align-self: center; color: var(--navy); font-size: var(--fs-md); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
/* Under the head: the index card's red rule, then its blue lines */
.file__who {
  grid-column: 1 / -1;
  min-height: 54px;
  margin-top: 14px;
  padding-top: 2px;
  border-top: 2px solid var(--red);
  background: repeating-linear-gradient(180deg, transparent 0 25px, var(--rule) 25px 26px) 0 2px;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  font-style: italic;
  font-weight: 500;
  line-height: 26px;
}
.file__stamp {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-size: var(--fs-sm);
  opacity: 0;
  transform: rotate(-9deg) scale(1.6);
  transition: opacity .2s, transform .25s cubic-bezier(.7, 0, .9, .4);
  pointer-events: none;
}
.file[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--navy), var(--shadow-lift); }
.file[aria-pressed="true"] .file__ico { background: var(--red); color: #fff; box-shadow: none; }
.file[aria-pressed="true"] .file__stamp { opacity: .9; transform: rotate(-9deg) scale(1); }

/* Budget stamps: perforated postage, the value is the budget */
.stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 30px); list-style: none; }
.stamps__item { display: flex; justify-content: center; }
.stamp {
  --tone: var(--red);
  --tone-ink: #fff;
  position: relative;
  width: 100%;
  max-width: 190px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  filter: drop-shadow(0 8px 10px rgba(12, 26, 61, .25));
  transition: transform .3s var(--ease-back), filter .3s;
}
.stamp--navy { --tone: var(--navy); }
.stamp--snow { --tone: #fff; --tone-ink: var(--red); }
.stamp { transform: rotate(var(--tilt, -1.5deg)); }
.stamps__item:nth-child(even) .stamp { --tilt: 1.2deg; }
.stamp:hover { transform: translateY(-6px) rotate(-2deg); filter: drop-shadow(0 16px 16px rgba(12, 26, 61, .3)); }
.stamp__paper {
  --r: 7px;
  display: block;
  padding: calc(2 * var(--r));
  background: #fff;
  -webkit-mask: radial-gradient(var(--r), #0000 97%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
          mask: radial-gradient(var(--r), #0000 97%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
}
.stamp__frame {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  aspect-ratio: 4 / 5;
  padding: 12px 8px;
  overflow: hidden;
  background: var(--tone);
  box-shadow: inset 0 0 0 3px var(--tone), inset 0 0 0 5px rgba(255, 255, 255, .55);
  color: var(--tone-ink);
}
.stamp--snow .stamp__frame { box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 6px #fff, inset 0 0 0 7px var(--red); }
.stamp__word { font-size: .75rem; font-weight: 700; letter-spacing: .16em; }
.stamp__word:empty { display: none; }
.stamp__value { font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.75rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.stamp__art { width: 34%; aspect-ratio: 1; margin-top: 4px; opacity: .9; fill: currentColor; color: inherit; }
.stamp__country { position: absolute; left: 0; right: 0; bottom: 8px; font-size: .5625rem; font-weight: 700; letter-spacing: .22em; opacity: .85; }
.stamp__cancel {
  position: absolute;
  top: 26%;
  left: -14%;
  width: 128%;
  fill: none;
  stroke: var(--navy);
  stroke-width: 3.2;
  stroke-linecap: round;
  opacity: 0;
  rotate: -14deg;
  pointer-events: none;
  mix-blend-mode: multiply;
  translate: 0 18%;
}
.stamp--navy .stamp__cancel, .stamp--red .stamp__cancel { stroke: #0b1d4a; mix-blend-mode: normal; }
.stamp[aria-pressed="true"] { transform: translateY(-4px) rotate(-3deg); }
.stamp[aria-pressed="true"] .stamp__cancel { opacity: .62; }
.stamp:focus-visible { outline-offset: 6px; }

/* Gift intel: parcels with a price stamp */
.intel__demo { margin-bottom: 18px; padding: 10px 14px; border-left: 4px solid var(--red); background: rgba(200, 16, 46, .07); color: var(--ink-soft); font-size: var(--fs-sm); }
.intel__demo[hidden] { display: none; }
.gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: clamp(14px, 2vw, 22px); list-style: none; }
.gift {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-paper);
  transition: transform .3s var(--ease-back), box-shadow .3s;
}
.gift:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow-lift); }
.gift__photo { position: relative; padding: 14px; border-bottom: 2px dashed var(--rule); }
.gift__img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.gift__price {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  rotate: 4deg;
  box-shadow: 0 3px 0 var(--red-deep);
}
.gift__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}
.gift__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 16px 16px; }
.gift__brand { color: var(--red); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; }
.gift__name { font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; }
.gift__link { color: var(--ink); text-decoration: none; }
.gift__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.gift__link:hover { text-decoration: underline; }
.gift__link:focus-visible { outline: none; }
.gift__link:focus-visible::after { outline: 3px solid var(--navy); outline-offset: 3px; }
.gift__note { margin-top: auto; padding-top: 8px; color: var(--ink-soft); font-size: .75rem; }

.intel__wrap { display: grid; gap: 24px; }
.intel__thin { padding: 14px 16px; border-radius: var(--radius); background: #fff; color: var(--ink-soft); }
.intel__thin[hidden], .intel__also[hidden], .gifts[hidden] { display: none; }
.intel__also { margin-top: 8px; color: var(--navy); font-size: var(--fs-lg); }
.intel__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.intel__ship { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: var(--fs-sm); }
.intel__ship[hidden] { display: none; }
.intel__ship-ico { flex: none; width: 22px; height: 22px; color: var(--red); }
.intel__static { display: grid; gap: 18px; }
.intel__static-lede { color: var(--ink-soft); }
.intel__static-lede strong { color: var(--navy); }
.intel__tier { margin-top: 10px; color: var(--navy); font-size: var(--fs-lg); }

@media (max-width: 1023px) {
  .files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stamps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .slip__step { grid-template-columns: 1fr; justify-items: center; min-height: 56px; padding: 8px 4px; text-align: center; }
  .slip__n { grid-row: auto; width: 26px; height: 26px; font-size: .8125rem; }
  .slip__value { display: none; }
  .slip__name { font-size: .75rem; }
  .files { gap: 12px; }
  .file { grid-template-columns: 1fr; padding: 16px 14px 12px; }
  .file__ico { width: 44px; height: 44px; }
  .file__name { font-size: var(--fs-base); margin-top: 10px; }
  .file__who { margin-top: 10px; min-height: 0; padding-top: 4px; background: none; font-size: var(--fs-xs); line-height: 1.4; }
  .file__stamp { font-size: .6875rem; right: 8px; bottom: 8px; }
  .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stamps__item:last-child { grid-column: 1 / -1; }
  .stamps__item:last-child .stamp { max-width: calc(50% - 8px); }
  .gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gift__body { padding: 12px; }
  .gift__price { font-size: var(--fs-xs); padding: 4px 7px; }
  .dossier__stamp { display: none; }
}
@media (max-width: 359px) {
  .files { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   Looking for something bigger: wrapped parcels
   -------------------------------------------------------------------------- */
.bigger { padding-block: var(--section-y); background: var(--frost); }
.parcels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
  gap: clamp(14px, 2vw, 24px);
  list-style: none;
}
.parcel { display: flex; }
.parcel--xl { grid-column: span 2; grid-row: span 2; }
.parcel--l { grid-column: span 2; }
.parcel:last-child.parcel--l { grid-column: span 3; }
.parcel__link {
  --paper: var(--red);
  --ribbon: #fff;
  --tag-tilt: -3deg;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 210px;
  padding: clamp(16px, 2.4vw, 28px);
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-paper);
  transition: transform .35s var(--ease-back), box-shadow .3s;
}
.parcel__link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); text-decoration: none; }
.parcel__link:focus-visible { outline-offset: 4px; }
/* Photo under the wrapping paper (assets/img/parcels/<id>.webp, prompts in assets/img/parcels/PROMPTS.md).
   The paper sits on top, slightly see-through, so the photo reads as a print inside the wrapping. */
.parcel__photo {
  position: absolute;
  inset: -6%;
  z-index: -3;
  background: var(--photo, none) center / cover no-repeat;
  filter: saturate(.9);
  transition: transform 1.2s var(--ease-out), filter .4s;
}
.parcel__link:hover .parcel__photo { transform: scale(1.08) translate(-1.5%, -1.5%) rotate(-.6deg); filter: saturate(1.15) brightness(1.05); }
.parcel__link:active .parcel__photo { transform: scale(1.02); filter: saturate(1.3) brightness(1.15); transition-duration: .15s; }
.parcel--big .parcel__photo { --photo: url("../img/parcels/big.webp?v=fb1126"); }
.parcel--collectors .parcel__photo { --photo: url("../img/parcels/collectors.webp?v=fb1126"); }
.parcel--gamers .parcel__photo { --photo: url("../img/parcels/gamers.webp?v=fb1126"); }
.parcel--boardgames .parcel__photo { --photo: url("../img/parcels/boardgames.webp?v=fb1126"); }
.parcel--kids .parcel__photo { --photo: url("../img/parcels/kids.webp?v=fb1126"); }
.parcel--bestsellers .parcel__photo { --photo: url("../img/parcels/bestsellers.webp?v=fb1126"); }
/* The paper is now only its pattern (stars, stripes, dots…) printed over the photo: no fill colour. */
.parcel__paper { position: absolute; inset: 0; z-index: -2; transition: background-position .8s var(--ease-out); }
.parcel__link .parcel__paper { background-color: transparent; }
.parcel__link:hover .parcel__paper { background-position: 24px 24px; }
.parcel__ribbon { position: absolute; z-index: -1; background: var(--ribbon); box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
.parcel__ribbon--v { top: 0; bottom: 0; left: 64%; width: clamp(16px, 2vw, 26px); }
.parcel__ribbon--h { left: 0; right: 0; top: 30%; height: clamp(16px, 2vw, 26px); }
.parcel__bow {
  position: absolute;
  z-index: 0;
  top: calc(30% - clamp(34px, 4vw, 52px));
  left: calc(64% - clamp(38px, 4.4vw, 58px));
  width: clamp(92px, 10vw, 140px);
  fill: var(--ribbon);
  stroke: var(--ribbon);
  overflow: visible;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .25));
  transition: transform .4s var(--ease-back);
  transform-origin: 50% 55%;
}
.parcel__link:hover .parcel__bow { transform: scale(1.08) rotate(-4deg); }
.parcel__tag {
  position: relative;
  display: grid;
  gap: 4px;
  max-width: min(330px, 78%);
  padding: 14px 18px 14px 30px;
  border-radius: 4px 10px 10px 4px;
  background: #fff;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55);
  transform: rotate(var(--tag-tilt));
  transform-origin: 0 50%;
  transition: transform .45s var(--ease-back);
}
.parcel__tag::before { content: ""; position: absolute; top: 50%; left: 10px; width: 9px; height: 9px; border: 2px solid var(--rule); border-radius: 50%; translate: 0 -50%; }
.parcel__link:hover .parcel__tag { transform: rotate(2deg); }
.parcel__name { color: var(--navy); font-size: var(--fs-md); font-weight: 700; line-height: 1.1; }
.parcel__text { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.4; }
.parcel--xl .parcel__name { font-size: var(--fs-xl); letter-spacing: -.02em; }
.parcel--xl .parcel__text { font-size: var(--fs-base); }

/* Wrapping papers, one per category. Red, white and blue only. */
.parcel--stars .parcel__link { --paper: var(--red); --ribbon: #fff; }
.parcel--stars .parcel__paper { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M16 6l2.6 5.6 6 .6-4.5 4 1.3 6-5.4-3.1-5.4 3.1 1.3-6-4.5-4 6-.6zM48 38l2 4.3 4.6.5-3.4 3.1 1 4.6-4.2-2.4-4.2 2.4 1-4.6-3.4-3.1 4.6-.5z' fill='%23fff' fill-opacity='.35'/%3E%3C/svg%3E"); }
.parcel--stripes .parcel__link { --paper: var(--navy); --ribbon: var(--red); }
.parcel--stripes .parcel__paper { background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 12px, transparent 12px 30px); }
.parcel--dots .parcel__link { --paper: #fff; --ribbon: var(--red); }
.parcel--dots .parcel__paper { background-image: radial-gradient(circle, rgba(14, 42, 107, .22) 3px, transparent 3.5px); }
.parcel--check .parcel__link { --paper: #fff; --ribbon: var(--navy); }
.parcel--check .parcel__paper { background-image: linear-gradient(90deg, rgba(200, 16, 46, .28) 50%, transparent 50%), linear-gradient(rgba(200, 16, 46, .28) 50%, transparent 50%); background-size: 28px 28px; }
.parcel--snow .parcel__link { --paper: var(--sky); --ribbon: #fff; }
.parcel--snow .parcel__paper { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg stroke='%23fff' stroke-opacity='.45' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M14 6v16M7 10l14 8M7 18l14-8M42 34v16M35 38l14 8M35 46l14-8'/%3E%3C/g%3E%3C/svg%3E"); }
.parcel--chevron .parcel__link { --paper: #fff; --ribbon: var(--red); }
.parcel--chevron .parcel__paper { background-image: repeating-linear-gradient(-45deg, rgba(200, 16, 46, .26) 0 16px, transparent 16px 24px, rgba(14, 42, 107, .26) 24px 40px, transparent 40px 48px); }

@media (max-width: 1023px) {
  .parcels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parcel--xl { grid-column: span 2; grid-row: span 1; }
  .parcel--xl .parcel__link { min-height: 300px; }
  .parcel--l, .parcel:last-child.parcel--l { grid-column: span 1; }
  .parcel:last-child { grid-column: span 2 !important; }
}
@media (max-width: 599px) {
  .parcels { grid-template-columns: 1fr; }
  .parcel--xl, .parcel:last-child { grid-column: auto !important; }
  .parcel__link { min-height: 190px; }
  .parcel--xl .parcel__link { min-height: 260px; }
}


/* --------------------------------------------------------------------------
   Can't decide? The gift machine
   -------------------------------------------------------------------------- */
.random {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 78% 50%, rgba(255, 255, 255, .14), transparent 70%),
    linear-gradient(160deg, #d3142f, var(--red) 40%, #9b0b22);
  color: #fff;
}
.random :focus-visible { outline-color: #fff; }
.random__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.random__title2 { margin-top: -4px; color: var(--snow) !important; font-size: var(--fs-xl); letter-spacing: -.02em; }
.random .section-title > span:first-child { color: #ffd9de; }
.random__budget { margin-top: 18px; display: inline-block; padding: 6px 12px; border-radius: 4px; background: rgba(0, 0, 0, .18); font-size: var(--fs-sm); font-weight: 500; }
.random__budget[hidden] { display: none; }
.random__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.random__note { margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: var(--fs-sm); }

.machine { display: grid; justify-items: center; gap: 26px; }
.machine__box {
  position: relative;
  width: min(380px, 80%);
  aspect-ratio: 1.15;
  margin-top: 40px;
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .5) 1.4px, transparent 1.8px) 0 0 / 20px 20px,
    linear-gradient(180deg, var(--navy-2), var(--navy));
  box-shadow: 0 40px 60px -28px rgba(40, 0, 8, .8);
}
.machine__lid {
  position: absolute;
  top: -12%;
  left: -6%;
  right: -6%;
  height: 24%;
  border-radius: 6px;
  background: linear-gradient(180deg, #24489c, var(--navy));
  box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .5);
  transform-origin: 8% 100%;
}
.machine__ribbon { position: absolute; inset: -12% calc(50% - 16px) 0; background: #fff; box-shadow: 0 0 0 3px rgba(0, 0, 0, .05); }
.machine__ribbon::before,
.machine__ribbon::after {
  content: "";
  position: absolute;
  top: -48px;
  width: 64px; height: 50px;
  border: 12px solid #fff;
  border-radius: 50% 50% 8px 50%;
}
.machine__ribbon::before { right: 10px; rotate: -18deg; }
.machine__ribbon::after { left: 10px; rotate: 18deg; scale: -1 1; }
.machine__q {
  position: absolute;
  top: 10%;
  left: 12%;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  rotate: -12deg;
}
.machine__window {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 12%;
  height: 72px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 6px 10px -4px rgba(0, 0, 0, .35), inset 0 -6px 10px -4px rgba(0, 0, 0, .35), 0 0 0 4px var(--red);
}
.reel { display: flex; flex-direction: column; will-change: transform; }
.reel__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 16px;
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.pick { width: min(440px, 100%); min-height: 120px; }
.pick__idle { padding: 18px; border: 2px dashed rgba(255, 255, 255, .5); border-radius: var(--radius); color: rgba(255, 255, 255, .9); text-align: center; }
.pick__card { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: 0 30px 50px -24px rgba(40, 0, 8, .8); }
.pick__img { width: 120px; height: 120px; object-fit: contain; }
.pick__body { display: grid; gap: 4px; justify-items: start; }
.pick__brand { color: var(--red); font-size: var(--fs-xs); font-weight: 700; }
.pick__name { color: var(--navy); font-weight: 700; line-height: 1.3; }
.pick__price { margin-bottom: 6px; font-weight: 700; color: var(--ink); }
.pick__card .btn { color: #fff; }

@media (max-width: 899px) {
  .random__grid { grid-template-columns: 1fr; }
  .machine { order: -1; }
}
@media (max-width: 479px) {
  .pick__card { grid-template-columns: 88px 1fr; }
  .pick__img { width: 88px; height: 88px; }
}


/* --------------------------------------------------------------------------
   Drawing names: the free Secret Santa draw
   -------------------------------------------------------------------------- */
.draw { padding-block: var(--section-y); background: var(--night); color: #fff; }
.draw :focus-visible { outline-color: #fff; }
.draw__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.draw__desk {
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--night-2);
  box-shadow: 0 0 0 1px rgba(180, 207, 253, .18) inset;
}
.draw__label { display: block; margin-bottom: 8px; color: var(--ice); font-size: var(--fs-sm); font-weight: 700; }
.draw__row { display: flex; gap: 10px; }
.draw__input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid rgba(180, 207, 253, .45);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.draw__input:focus { border-color: #fff; outline: 3px solid var(--sky); outline-offset: 1px; }
.draw__input::placeholder { color: #66728e; }
.draw__error { margin-top: 8px; color: #ffc2cb; font-size: var(--fs-sm); font-weight: 500; }
.draw__error[hidden] { display: none; }
.draw__count { margin-top: 18px; color: var(--ice); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; }
.draw__names { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; list-style: none; }
.draw__name {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 2px 2px 14px;
  border-radius: 20px;
  background: #fff;
  color: var(--navy);
  font-weight: 500;
}
.draw__remove {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--red);
  cursor: pointer;
}
.draw__remove::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5 5 19' stroke='%23000' stroke-width='3.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5 5 19' stroke='%23000' stroke-width='3.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.draw__remove:hover { background: #ffe8ec; }
.draw__remove:focus-visible { outline-color: var(--navy); outline-offset: 0; }
.draw__empty { margin-top: 10px; color: rgba(255, 255, 255, .75); font-size: var(--fs-sm); }
.draw__empty[hidden] { display: none; }
.draw__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.draw__result { margin-top: 30px; padding-top: 26px; border-top: 1px dashed rgba(180, 207, 253, .35); }
.draw__result[hidden] { display: none; }
.draw__pass { font-size: var(--fs-lg); outline: none; }
.draw__passtext { margin-top: 6px; color: rgba(255, 255, 255, .85); font-size: var(--fs-sm); }
.draw__envelopes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px; margin: 20px 0 24px; list-style: none; }
.mini {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 108px;
  padding: 14px 16px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform .3s var(--ease-back);
}
.mini::before { content: ""; position: absolute; inset: 0; padding: 6px; background: var(--stripes); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.mini::after { content: ""; position: absolute; top: 6px; left: 6px; right: 6px; height: 46%; background: linear-gradient(to bottom right, transparent 49.5%, var(--rule) 50%, transparent 51%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 49.5%, var(--rule) 50%, transparent 51%) right / 50% 100% no-repeat; }
.mini:hover { transform: translateY(-3px) rotate(-1deg); }
.mini__name { position: relative; z-index: 1; font-weight: 700; line-height: 1.2; }
.mini__hint { position: relative; z-index: 1; color: var(--ink-soft); font-size: .75rem; }
.mini[aria-expanded="true"] { background: var(--airmail); }
.mini__got { position: relative; z-index: 1; display: block; margin-top: 4px; color: var(--red); font-size: var(--fs-lg); font-weight: 700; line-height: 1.1; }
.mini__got[hidden] { display: none; }

@media (max-width: 899px) {
  .draw__grid { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { padding-block: var(--section-y); background: var(--frost); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 130px; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-paper); }
.qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 16px 20px;
  color: var(--navy);
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--red); }
.qa__ico { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--frost); transition: rotate .35s var(--ease-back), background-color .2s; }
.qa__ico::before,
.qa__ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2.4px; border-radius: 2px; background: currentColor; translate: -50% -50%; }
.qa__ico::after { rotate: 90deg; }
.qa[open] .qa__ico { rotate: 135deg; background: var(--red); color: #fff; }
.qa__a { padding: 0 20px 20px; color: var(--ink-soft); max-width: 70ch; }

@media (max-width: 899px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.credits { background: var(--night); color: rgba(255, 255, 255, .86); font-size: var(--fs-sm); }
.credits :focus-visible { outline-color: #fff; }
.credits a { color: #fff; }
.credits__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding-block: clamp(56px, 7vw, 96px); }
.credits__title { margin-bottom: 10px; color: #fff; font-size: var(--fs-lg); }
.credits__share .btn { margin-top: 18px; }
.credits__status { min-height: 1.5em; margin-top: 10px; color: var(--ice); }
.credits__sub { margin-bottom: 12px; color: var(--ice); font-size: var(--fs-sm); letter-spacing: .04em; }
.credits__stores { display: grid; gap: 16px; list-style: none; line-height: 1.55; }
.credits__stores strong { color: #fff; }
.credits__sub--holiday { margin-top: 28px; }
.credits__holiday { display: grid; gap: 4px; list-style: none; line-height: 1.55; }
.credits__holiday li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; max-width: 300px; }
.credits__holiday li span:last-child { color: #fff; font-variant-numeric: tabular-nums; }
.credits__pickup { margin-top: 14px; color: rgba(255, 255, 255, .72); font-size: var(--fs-xs); line-height: 1.55; }
.credits__legal { display: grid; gap: 12px; color: rgba(255, 255, 255, .72); font-size: var(--fs-xs); line-height: 1.55; }
@media (max-width: 899px) {
  .credits__grid { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   Stealth mode: a dull weather screen
   -------------------------------------------------------------------------- */
.stealth {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #e9edf2;
  color: #2c3442;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.stealth[hidden] { display: none; }
.stealth__card { width: min(420px, 100%); padding: 28px; border-radius: 18px; background: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .08); }
.stealth__city { color: #59647a; font-size: 1rem; }
.stealth__now { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 1.75rem; font-weight: 600; }
.stealth__now svg { width: 48px; height: 48px; }
.stealth__detail { margin-top: 4px; color: #59647a; font-size: .9375rem; }
.stealth__week { margin-top: 22px; color: #59647a; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.stealth__days { display: grid; gap: 2px; margin-top: 8px; list-style: none; }
.stealth__days li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #edf0f4; font-size: .9375rem; }
.stealth__back { margin-top: 18px; padding: 8px 0; border: 0; background: none; color: #59647a; font-size: .8125rem; text-decoration: underline; cursor: pointer; }
.stealth__back:focus-visible { outline: 2px solid #2c3442; }


/* --------------------------------------------------------------------------
   Motion preferences: with FX off, nothing moves by itself
   -------------------------------------------------------------------------- */
html:not(.fx-on) .file,
html:not(.fx-on) .stamp,
html:not(.fx-on) .gift,
html:not(.fx-on) .parcel__link,
html:not(.fx-on) .parcel__tag,
html:not(.fx-on) .parcel__bow { transition-duration: .01s; }
@media (prefers-reduced-motion: reduce) {
  html:not(.fx-on) *, html:not(.fx-on) *::before, html:not(.fx-on) *::after { animation: none !important; }
}

/* The countdown bands roll (santa.js sets each strip's transform) */
.fx-on .dater__strip { transition: transform .55s var(--ease-back); }
