/* ============================================================
   La Pochette — THE NIGHT WINDOW  (the Christmas edition)

   Loaded on every page, but every visible rule hangs off
   html[data-season="christmas"]. Admin → Content → Season → None
   and the shop is exactly its usual cream self again.

   The idea: the boutique after dark, seen from the street.
   Midnight spruce, candlelight, champagne gold, snow on the glass.
   Her photographs are bright and warm, so on this ground they glow.
   ============================================================ */

/* ---- seasonal furniture is hidden unless the season is on ---- */
.garland, .lightcord, .stars, .nw-cursor { display: none; }
.snow { position: fixed; inset: 0; z-index: 3; pointer-events: none; }

:root[data-season="christmas"] {
  color-scheme: dark;                 /* native selects, scrollbars, autofill go dark too */

  --bg: #0E1813;
  --surface: #14221B;
  --surface-2: #1B2C23;
  --border: rgba(214, 180, 112, 0.18);
  --ink: #F3E9D2;
  --ink-soft: rgba(243, 233, 210, 0.76);
  --ink-subtle: rgba(243, 233, 210, 0.6);
  --hairline: rgba(214, 180, 112, 0.32);

  --gold: #D6B470;
  --gold-hi: #F6E4B4;
  --gold-lo: #A0772F;
  --gilt: linear-gradient(100deg, #A0772F 0%, #E3C47E 22%, #FFF3CC 34%, #D6B470 48%, #A0772F 72%, #E3C47E 100%);
  --cranberry: #7A1D2B;
  --wine: #4E111B;

  /* Every existing accent rule reads --rose. On the dark ground the accent is
     gold, so rebinding it turns the whole shop over in one move. */
  --rose: #D6B470;
  --rose-deep: #E3C47E;
  --rose-soft: rgba(214, 180, 112, 0.14);
  --cocoa: #F0DDB3;

  --shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.85);
  --glow: 0 0 0 1px rgba(214, 180, 112, 0.22), 0 40px 120px -40px rgba(233, 184, 106, 0.35);
  --dark-ink: #1A140A;               /* text on gold */
}

[data-season="christmas"] body { background: var(--bg); }
[data-season="christmas"] ::selection { background: rgba(214, 180, 112, 0.38); color: #fff; }

/* ---------- atmosphere: grain, frost on the glass, vignette ---------- */
/* Grain is what separates "night" from "dark mode". */
[data-season="christmas"] body::before {
  content: '';
  position: fixed; inset: -60%; z-index: 4; pointer-events: none;
  opacity: 0.055;
  background-image: 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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(5) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}
[data-season="christmas"] body::after {
  content: '';
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(36% 30% at -4% -6%, rgba(220, 235, 240, 0.14), transparent 70%),
    radial-gradient(36% 30% at 104% -6%, rgba(220, 235, 240, 0.12), transparent 70%),
    radial-gradient(80% 22% at 50% 108%, rgba(220, 235, 240, 0.08), transparent 70%),
    radial-gradient(130% 95% at 50% 42%, transparent 58%, rgba(0, 0, 0, 0.38));
}

/* ---------- gold that moves ---------- */
@keyframes gilt { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
[data-season="christmas"] .header__brand,
[data-season="christmas"] .footer__brand,
[data-season="christmas"] .drawer__head h3,
[data-season="christmas"] .nw-count__n,
.nw-hero__title em .w > span,
.nw-title em .w > span,
.nw-gift__title em .w > span {
  background: var(--gilt);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: gilt 9s ease-in-out infinite;
}

/* ---------- loader: the shutters open ---------- */
[data-season="christmas"] .loader {
  background: radial-gradient(60% 60% at 50% 50%, #17271F, #0A120E);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.25s cubic-bezier(0.77, 0, 0.18, 1);
}
[data-season="christmas"] .loader.is-done { transform: none; clip-path: inset(50% 0 50% 0); }
[data-season="christmas"] .loader__word { color: var(--gold); text-shadow: 0 0 34px rgba(233, 184, 106, 0.5); }
[data-season="christmas"] .loader__sub { color: var(--ink-soft); text-align: center; }
[data-season="christmas"] .loader__sub::after {
  content: ''; display: block; height: 1px; width: 0; margin: 18px auto 0;
  background: var(--gilt);
  animation: loadLine 1.1s var(--ease) 0.5s forwards;
}
@keyframes loadLine { to { width: 150px; } }

/* ---------- announcement + header ---------- */
[data-season="christmas"] .announce {
  background: linear-gradient(90deg, var(--wine), var(--cranberry) 50%, var(--wine));
  color: var(--gold-hi);
  border-bottom: 1px solid rgba(214, 180, 112, 0.35);
  letter-spacing: 0.2em;
}
[data-season="christmas"] .header {
  background: rgba(14, 24, 19, 0.74);
  border-bottom-color: rgba(214, 180, 112, 0.2);
}
[data-season="christmas"].is-scrolled .header {
  background: rgba(11, 19, 15, 0.92);
  box-shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.9);
}
[data-season="christmas"] .header__nav a { color: var(--ink-subtle); }
[data-season="christmas"] .header__nav a:hover,
[data-season="christmas"] .header__nav a.is-active { color: var(--gold-hi); }
[data-season="christmas"] .header__count {
  background: var(--cranberry); color: var(--gold-hi);
  box-shadow: 0 0 0 1px rgba(214, 180, 112, 0.5);
}
[data-season="christmas"] .progress span { background: var(--gilt); }
[data-season="christmas"] .mobilemenu { background: radial-gradient(80% 60% at 50% 30%, #18291F, var(--bg)); }
[data-season="christmas"] .mobilemenu a { color: var(--ink); }
[data-season="christmas"] .mobilemenu__foot { color: var(--gold); }

/* ---------- the garland: real lights, now that it is dark ---------- */
.garland { position: absolute; left: 0; right: 0; top: 100%; height: 56px; pointer-events: none; }
[data-season="christmas"] .garland { display: block; }
.garland svg { width: 100%; height: 100%; display: block; overflow: visible; }
.garland .wire { fill: none; stroke: #345443; stroke-width: 2; }
.garland .wire-snow {
  fill: none; stroke: #F4F6F2; stroke-width: 4.2;
  stroke-linecap: round; stroke-dasharray: 15 27 6 35 21 19;
  opacity: 0.88;
}
.garland .bulb { animation: bulb 3.6s ease-in-out infinite; }
.garland .bulb-cap { fill: #B08A45; }
@keyframes bulb { 0%, 100% { opacity: 0.42; } 50% { opacity: 1; } }

/* ---------- the pull cord ---------- */
.lightcord {
  position: absolute; right: 18px; top: 100%;
  width: 28px; height: 70px;
  background: none; border: none; padding: 0; z-index: 3;
}
[data-season="christmas"] .lightcord { display: block; }
.lightcord__line {
  position: absolute; left: 50%; top: 0;
  width: 1.5px; height: 40px; transform: translateX(-50%);
  background: var(--gold);
  transition: height 0.3s var(--ease);
}
.lightcord__knot {
  position: absolute; left: 50%; top: 38px;
  width: 9px; height: 13px; margin-left: -4.5px;
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(150deg, var(--gold-hi), var(--gold-lo));
  box-shadow: 0 0 10px rgba(246, 228, 180, 0.5);
  transition: top 0.3s var(--ease);
}
.lightcord:hover .lightcord__line, .lightcord:focus-visible .lightcord__line { height: 48px; }
.lightcord:hover .lightcord__knot, .lightcord:focus-visible .lightcord__knot { top: 46px; }
.lightcord.is-tug .lightcord__knot { animation: tug 0.55s var(--ease); }
@keyframes tug { 35% { transform: translateY(14px); } }

/* lights off: the street goes quiet */
html.lights-off .garland .bulb { animation: none; opacity: 0.22; }
html.lights-off .garland .bulb circle { fill: #4D5A52; }
html.lights-off .nw-bokeh { opacity: 0.25; }
html.lights-off .nw-arch::after { opacity: 0.15; animation: none; }
html.lights-off .nw-cursor__glow { background: radial-gradient(closest-side, rgba(255, 206, 128, 0.14), transparent); }

/* ---------- buttons ---------- */
[data-season="christmas"] .btn--primary {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #E8CB88, #C29A4E);
  color: var(--dark-ink);
  box-shadow: 0 12px 30px -14px rgba(214, 180, 112, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
[data-season="christmas"] .btn--primary::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s var(--ease);
}
[data-season="christmas"] .btn--primary:hover { background: linear-gradient(180deg, #F2D89A, #CDA65A); }
[data-season="christmas"] .btn--primary:hover::after { left: 125%; }
[data-season="christmas"] .btn--ghost { border-color: rgba(214, 180, 112, 0.55); color: var(--gold-hi); }
[data-season="christmas"] .btn--ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--dark-ink); }
[data-season="christmas"] .btn--rose { background: var(--cranberry); color: var(--gold-hi); }
[data-season="christmas"] .btn--rose:hover { background: #8E2535; }
[data-season="christmas"] .btn:focus-visible { outline-color: var(--gold-hi); }

/* ============================================================
   THE HOME PAGE, AFTER DARK
   ============================================================ */
.nw-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
}
.nw-eyebrow i { font-style: normal; color: var(--gold-hi); text-shadow: 0 0 12px rgba(246, 228, 180, 0.8); }
.nw-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  line-height: 1.02; letter-spacing: -0.015em;
  margin-top: 16px; color: var(--ink);
}
.nw-title em { font-style: italic; color: var(--gold); }
.nw-sub { color: var(--ink-soft); font-weight: 300; max-width: 52ch; margin-top: 16px; }
.nw-link {
  background: none; border: none; padding: 0 0 3px;
  font-family: var(--font-display); font-style: italic; font-size: 1.25rem;
  color: var(--gold-hi);
  border-bottom: 1px solid rgba(214, 180, 112, 0.4);
  transition: border-color 0.3s, color 0.3s;
}
.nw-link:hover { border-color: var(--gold-hi); color: #fff; }

/* ---------- hero ---------- */
.nw-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--header-h) - 34px);
  display: grid; align-items: center;
  padding-block: 104px 132px;
  background:
    radial-gradient(55% 70% at 74% 44%, rgba(233, 184, 106, 0.15), transparent 70%),
    radial-gradient(50% 60% at 6% 104%, rgba(122, 29, 43, 0.32), transparent 70%),
    var(--bg);
}
.nw-bokeh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; transition: opacity 1.2s ease; }
.nw-hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.nw-hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.3rem, 7.4vw, 7.6rem);
  line-height: 0.95; letter-spacing: -0.025em;
  margin: 30px 0;
  color: var(--ink);
}
.nw-hero__title em { font-style: italic; }
.nw-hero__sub { font-size: 1.12rem; font-weight: 300; color: var(--ink-soft); max-width: 42ch; margin-bottom: 40px; }
.nw-hero__cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.nw-count {
  display: flex; align-items: center; gap: 18px;
  width: max-content; margin-top: 60px; padding-top: 26px;
  border-top: 1px solid var(--border);
}
.nw-count__n { font-family: var(--font-display); font-size: 4.4rem; line-height: 0.8; font-weight: 400; }
.nw-count__l { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-subtle); line-height: 1.8; }

/* the stage drifts against the cursor; the baubles drift with it — depth */
.nw-hero__stage {
  position: relative; justify-self: center;
  width: min(460px, 100%);
  transform: translate3d(calc(var(--hx, 0) * -14px), calc(var(--hy, 0) * -10px), 0);
}
.nw-arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; }
.nw-arch::before {
  content: '';
  position: absolute; inset: -16px;
  border-radius: 999px 999px 38px 38px;
  border: 1px solid rgba(214, 180, 112, 0.5);
  pointer-events: none;
}
.nw-arch::after {
  content: '';
  position: absolute; inset: -22%; z-index: -1;
  background: radial-gradient(closest-side, rgba(233, 184, 106, 0.34), transparent);
  filter: blur(24px);
  animation: candle 6s ease-in-out infinite;
  transition: opacity 1s ease;
}
@keyframes candle { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.nw-arch__clip {
  position: absolute; inset: 0;
  border-radius: inherit; overflow: hidden;
  box-shadow: var(--glow);
  background: var(--surface);
}
.nw-arch__clip img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; }
.nw-hero .hero__badge { top: -44px; right: -48px; width: 126px; height: 126px; z-index: 2; }
.nw-hero .hero__badge text { fill: var(--gold-hi); }

/* baubles: long threads from the top of the window */
.baubles { position: absolute; pointer-events: none; }
.nw-hero .baubles--wide {
  top: 0; left: 46%; right: 0; height: 100%; z-index: 1;
  transform: translate3d(calc(var(--hx, 0) * 22px), calc(var(--hy, 0) * 8px), 0);
}
.nw-hero .baubles--small { display: none; }
.bauble { position: absolute; top: 0; transform: translateX(-50%); }
.bauble__swing {
  transform-origin: 50% 0;
  animation: swing var(--dur, 5s) ease-in-out infinite alternate;
  animation-delay: var(--lag, 0s);
}
.bauble svg { display: block; overflow: visible; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.5)); }
@keyframes swing {
  from { transform: rotate(calc(var(--a, 4deg) * -1)); }
  to   { transform: rotate(var(--a, 4deg)); }
}

/* scroll cue: a drop of light running down a gold thread */
.nw-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: none; border: none;
  font-size: 0.62rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--ink-subtle);
}
.nw-cue i { position: relative; width: 1px; height: 54px; overflow: hidden; background: linear-gradient(var(--gold), transparent); }
.nw-cue i::after {
  content: '';
  position: absolute; left: -1px; top: -14px;
  width: 3px; height: 14px; border-radius: 2px;
  background: var(--gold-hi); box-shadow: 0 0 8px var(--gold-hi);
  animation: cue 2.2s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}
@keyframes cue { to { transform: translateY(70px); } }

/* ---------- marquee: big italic, outline and gilt in turn ---------- */
.nw-marquee {
  overflow: hidden;
  padding-block: 30px;
  border-block: 1px solid var(--border);
  background: linear-gradient(var(--bg), #0B140F);
  transform: skewX(var(--sk, 0deg));
  transition: transform 0.6s var(--ease);
}
.nw-marquee__track {
  display: flex; align-items: center; gap: 44px; width: max-content;
  animation: marquee 52s linear infinite;
}
.nw-marquee span {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.1;
  white-space: nowrap; color: var(--ink);
}
.nw-marquee span.o { color: transparent; -webkit-text-stroke: 1px rgba(214, 180, 112, 0.75); }
.nw-marquee i { font-style: normal; font-size: 1.4rem; color: var(--gold); text-shadow: 0 0 14px rgba(246, 228, 180, 0.7); }

/* ---------- the gift edit: a pinned gallery that scrolls sideways ---------- */
.nw-edit { position: relative; }
.nw-edit__sticky { padding-block: 112px 56px; }
.nw-edit.is-pinned .nw-edit__sticky {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h));
  padding-block: 76px 34px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.nw-edit__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.nw-edit__count {
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--ink-subtle); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.nw-edit__count span { color: var(--gold-hi); font-size: 2.4rem; }
.nw-edit__viewport { overflow: hidden; }
.nw-edit:not(.is-pinned) .nw-edit__viewport {
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.nw-edit:not(.is-pinned) .nw-edit__viewport::-webkit-scrollbar { display: none; }
.nw-edit__track {
  display: flex; gap: clamp(20px, 2.6vw, 44px);
  width: max-content;
  padding-inline: max(24px, calc((100vw - 1200px) / 2));
  will-change: transform;
}
.gcard {
  --h: clamp(300px, 50vh, 520px);
  position: relative; flex: none;
  width: calc(var(--h) * 0.8);
  scroll-snap-align: center;
}
.gcard__media {
  position: relative; display: block; overflow: hidden;
  height: var(--h); border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border);
}
/* translate (parallax, every frame) and scale (hover, eased) are separate
   properties so the hover easing never drags the parallax behind the scroll */
.gcard__media img {
  position: absolute; top: 0; left: -9%;
  width: 118%; max-width: none; height: 100%; object-fit: cover;   /* the global img max-width would leave a gap */
  translate: calc(var(--p, 0) * -7%) 0;
  scale: var(--z, 1.02);
  transition: scale 1s var(--ease), filter 0.6s ease;
  filter: brightness(0.94);
}
.gcard:hover { --z: 1.08; }
.gcard:hover .gcard__media img { filter: none; }
.gcard__media::after {
  content: '';
  position: absolute; inset: 10px; border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.5s ease, inset 0.5s var(--ease);
  pointer-events: none;
}
.gcard:hover .gcard__media::after { border-color: rgba(246, 228, 180, 0.6); inset: 15px; }
.gcard__num {
  position: absolute; left: 20px; bottom: 14px; z-index: 1;
  font-family: var(--font-display); font-style: italic; font-size: 2.8rem; line-height: 1;
  color: rgba(255, 248, 232, 0.94);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}
.gcard__tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-hi);
  background: rgba(14, 24, 19, 0.72); border: 1px solid rgba(214, 180, 112, 0.4);
  backdrop-filter: blur(6px);
}
.gcard__body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; }
.gcard__name { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.gcard__name a { transition: color 0.3s; }
.gcard__name a:hover { color: var(--gold-hi); }
.gcard__cat { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-subtle); margin-top: 6px; }
.gcard__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); white-space: nowrap; }
.gcard__add {
  margin-top: 14px; width: 100%; height: 44px;
  border-radius: 999px; border: 1px solid rgba(214, 180, 112, 0.45);
  background: transparent; color: var(--gold-hi);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.gcard__add:hover, .gcard__add:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--dark-ink); }
/* Pinned (desktop): the panel is exactly one screen tall, so the cards size
   themselves from the screen height and the Add button sits on the photo
   instead of below it — otherwise it falls off the bottom of the panel. */
.nw-edit.is-pinned .gcard { --h: clamp(250px, calc(100vh - 500px), 540px); }
/* flex children of a fixed-height panel shrink by default — the card row
   would be squeezed and its bottom line clipped */
.nw-edit.is-pinned .nw-edit__sticky > * { flex-shrink: 0; }
.gcard__add { display: flex; align-items: center; justify-content: center; }
.gcard__plus { display: none; font-size: 1.35rem; font-weight: 300; line-height: 1; }
.nw-edit.is-pinned .gcard__add {
  position: absolute; z-index: 2;
  right: 16px; top: calc(var(--h) - 60px);
  width: auto; height: 44px; margin: 0; padding: 0 13px;
  background: rgba(14, 24, 19, 0.72);
  backdrop-filter: blur(8px);
  border-color: rgba(214, 180, 112, 0.55);
}
/* a gold + that opens into words when you reach for the piece */
.nw-edit.is-pinned .gcard__plus { display: block; width: 16px; text-align: center; }
.nw-edit.is-pinned .gcard__lbl {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  transition: max-width 0.45s var(--ease), opacity 0.3s ease, margin 0.45s var(--ease);
}
.nw-edit.is-pinned .gcard:hover .gcard__lbl,
.nw-edit.is-pinned .gcard__add:focus-visible .gcard__lbl { max-width: 120px; opacity: 1; margin-left: 8px; }
.nw-edit.is-pinned .gcard__add:hover,
.nw-edit.is-pinned .gcard__add:focus-visible { background: var(--gold); color: var(--dark-ink); }
.gcard--end {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  height: var(--h); border-radius: 16px;
  border: 1px solid rgba(214, 180, 112, 0.35);
  background: radial-gradient(circle at 50% 40%, rgba(214, 180, 112, 0.12), transparent 70%);
  font-family: var(--font-display); font-style: italic; font-size: 1.9rem;
  color: var(--gold-hi); text-align: center;
}
.gcard--end i {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(214, 180, 112, 0.5);
  font-style: normal; font-size: 1.3rem;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.gcard--end:hover i { transform: translateX(8px); background: var(--gold); color: var(--dark-ink); }
.nw-edit__foot { display: flex; align-items: center; gap: 36px; margin-top: 30px; }
.nw-edit__bar { position: relative; flex: 1; height: 1px; overflow: hidden; background: var(--border); }
.nw-edit__bar span { position: absolute; inset: 0; background: var(--gilt); transform: scaleX(0); transform-origin: left; }
.nw-edit__sub { max-width: 46ch; font-size: 0.92rem; font-weight: 300; color: var(--ink-subtle); }

/* ---------- story: the words light up as you read down ---------- */
.nw-story { padding-block: clamp(96px, 12vw, 160px); }
.nw-story__grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 7vw, 112px); align-items: center;
}
.nw-story__frame {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px;
  box-shadow: var(--glow);
  background: var(--surface);
}
.nw-story__frame img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; }
.nw-lit {
  --k: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.45;
  color: var(--ink);
  margin: 30px 0 42px;
}
.nw-lit span { opacity: clamp(0.16, calc(var(--k) - var(--i)), 1); transition: opacity 0.25s linear; }

/* ---------- the wrapped gift: untie the bow, the paper opens ---------- */
.nw-unwrap { padding-block: clamp(32px, 5vw, 64px) clamp(96px, 12vw, 150px); }
.nw-gift {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(440px, 44vw, 540px);
  border-radius: 22px;
  perspective: 1600px;
  background: radial-gradient(70% 80% at 50% 45%, #22382C, #0C1511 75%);
  box-shadow: 0 0 0 1px var(--border), var(--shadow);
}
/* light pouring out once it is open */
.nw-gift::after {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(246, 228, 180, 0.32), transparent 58%);
  opacity: 0;
}
.nw-gift.is-open::after { animation: bloom 1.8s ease-out 0.35s forwards; }
@keyframes bloom { 30% { opacity: 1; } 100% { opacity: 0.3; } }
.nw-gift__inside {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 40px 24px; text-align: center;
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.9s ease 0.45s, transform 1.2s var(--ease) 0.45s;
}
.nw-gift.is-open .nw-gift__inside { opacity: 1; transform: none; }
.nw-gift__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.04;
  max-width: 18ch;
}
.nw-gift__msg { max-width: 50ch; color: var(--ink-soft); font-weight: 300; margin-bottom: 8px; }
.nw-gift__door {
  position: absolute; top: 0; bottom: 0; width: 50%; z-index: 3;
  background:
    radial-gradient(circle, rgba(246, 228, 180, 0.55) 0 1.1px, transparent 1.7px) 0 0 / 26px 26px,
    radial-gradient(circle, rgba(246, 228, 180, 0.26) 0 0.8px, transparent 1.3px) 13px 13px / 26px 26px,
    linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 38%, rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(#7A1D2B, #57121D);
  transition: transform 1.3s cubic-bezier(0.65, 0, 0.25, 1);
}
.nw-gift__door--l { left: 0; transform-origin: left center; box-shadow: inset -22px 0 30px -22px rgba(0, 0, 0, 0.7); }
.nw-gift__door--r { right: 0; transform-origin: right center; box-shadow: inset 22px 0 30px -22px rgba(0, 0, 0, 0.7); }
.nw-gift.is-open .nw-gift__door--l { transform: rotateY(-108deg); }
.nw-gift.is-open .nw-gift__door--r { transform: rotateY(108deg); }
.nw-gift.is-open .nw-gift__door { pointer-events: none; }
/* each door carries its own half of the ribbon, so the ribbon parts with it */
.nw-gift__door::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 50%; height: 38px; margin-top: -19px;
  background: linear-gradient(180deg, #8E6526 0%, #D9B66C 18%, #FFF0C2 40%, #E2C17A 58%, #A67C34 82%, #7C5620 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}
.nw-gift__door::after { content: ''; position: absolute; top: 0; bottom: 0; width: 21px; box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); }
.nw-gift__door--l::after { right: 0; background: linear-gradient(90deg, #8E6526, #D9B66C 45%, #FFF0C2); }
.nw-gift__door--r::after { left: 0; background: linear-gradient(90deg, #FFF0C2, #E2C17A 55%, #7C5620); }

.nw-gift__bow {
  position: absolute; left: 50%; top: 50%; z-index: 4;
  width: 220px; height: 160px; margin: -77px 0 0 -110px;   /* knot centred on the ribbon cross */
  background: none; border: none; padding: 0;
  transition: opacity 0.4s ease 0.35s, visibility 0s linear 0.8s;
}
.nw-gift__bow svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5)); animation: breathe 3.2s ease-in-out infinite; }
.nw-gift__bow:hover svg, .nw-gift__bow:focus-visible svg { animation-duration: 1.3s; }
@keyframes breathe { 50% { transform: scale(1.045); } }
/* the hint is a little gift tag lying by the knot — legible on any ribbon */
.nw-gift__hint {
  position: absolute; left: 60%; top: 72%;
  transform: rotate(-9deg); transform-origin: 0 50%;
  padding: 8px 15px 8px 24px;
  background: linear-gradient(#FBF2DF, #EFE1C3);
  border-radius: 3px 9px 9px 3px;
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1;
  color: var(--cranberry); white-space: nowrap;
  box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.65);
}
.nw-gift__hint::before {
  content: '';
  position: absolute; left: 9px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: #4E111B;
}
.nw-gift.is-untying .nw-gift__bow { opacity: 0; visibility: hidden; pointer-events: none; }
.bow-l, .bow-r, .bow-tl, .bow-tr, .bow-k { transform-box: fill-box; transition: transform 0.6s var(--ease), opacity 0.5s ease; }
.bow-l { transform-origin: 100% 60%; }
.bow-r { transform-origin: 0% 60%; }
.bow-tl, .bow-tr { transform-origin: 50% 0%; }
.bow-k { transform-origin: 50% 50%; }
.nw-gift.is-untying .bow-l  { transform: rotate(-52deg) scale(0.15); opacity: 0; }
.nw-gift.is-untying .bow-r  { transform: rotate(52deg) scale(0.15); opacity: 0; }
.nw-gift.is-untying .bow-tl { transform: translate(-14px, 44px) rotate(18deg); opacity: 0; }
.nw-gift.is-untying .bow-tr { transform: translate(14px, 44px) rotate(-18deg); opacity: 0; }
.nw-gift.is-untying .bow-k  { transform: scale(0); opacity: 0; }

.spark {
  position: fixed; z-index: 150; pointer-events: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle, #FFF6DF 0%, #D6B470 55%, rgba(214, 180, 112, 0) 72%);
}

/* ---------- lookbook: three columns at three depths ---------- */
.nw-look { padding-block: clamp(80px, 10vw, 130px) 120px; }
.nw-look__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 64px; }
.nw-look__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.nw-look__col { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 28px); }
.nw-look__col:nth-child(2) { margin-top: 96px; }
.nw-look__item {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 14px;
  box-shadow: 0 0 0 1px var(--border);
}
.nw-look__col:nth-child(odd) .nw-look__item:nth-child(2) { aspect-ratio: 3 / 4; }
.nw-look__item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) brightness(0.9);
  transition: transform 1.1s var(--ease), filter 0.6s ease;
}
.nw-look__item:hover img { transform: scale(1.06); filter: none; }
.nw-look__item::after {
  content: attr(data-cap);
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 18px 16px;
  background: linear-gradient(transparent, rgba(8, 14, 11, 0.78));
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem;
  color: var(--gold-hi);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease);
}
.nw-look__item:hover::after { opacity: 1; transform: none; }

/* ---------- closing note ---------- */
.nw-note { padding-block: 24px 150px; }
.nw-note__inner {
  max-width: 780px; margin-inline: auto;
  padding-block: 64px; text-align: center;
  border-block: 1px solid var(--border);
}
.nw-note__star { color: var(--gold-hi); font-size: 1.2rem; text-shadow: 0 0 18px var(--gold-hi); }
.nw-note p { max-width: 58ch; margin: 20px auto 0; color: var(--ink-soft); font-weight: 300; }

/* ============================================================
   THE REST OF THE SHOP, AFTER DARK
   ============================================================ */
[data-season="christmas"] .card__media { box-shadow: 0 0 0 1px var(--border); }
[data-season="christmas"] .card:hover .card__media { box-shadow: 0 0 0 1px rgba(214, 180, 112, 0.5), var(--shadow); }
[data-season="christmas"] .card__name { font-weight: 400; }
[data-season="christmas"] .card__price { color: var(--gold); font-family: var(--font-display); font-size: 1.2rem; }
[data-season="christmas"] .card__add {
  background: rgba(14, 24, 19, 0.8); color: var(--gold-hi);
  border: 1px solid rgba(214, 180, 112, 0.4);
}
[data-season="christmas"] .card__add:hover { background: var(--gold); color: var(--dark-ink); }
[data-season="christmas"] .card__tag { background: rgba(14, 24, 19, 0.75); color: var(--gold-hi); border: 1px solid rgba(214, 180, 112, 0.35); }
[data-season="christmas"] .card__tag--soldout { background: var(--cranberry); }

[data-season="christmas"] .chip { border-color: var(--border); color: var(--ink-soft); }
[data-season="christmas"] .chip:hover { border-color: var(--gold); color: var(--gold-hi); }
[data-season="christmas"] .chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--dark-ink); }

[data-season="christmas"] .shop__title,
[data-season="christmas"] .pinfo__name,
[data-season="christmas"] .checkout h1,
[data-season="christmas"] .section__title { font-weight: 400; }
[data-season="christmas"] .shop__title { font-size: clamp(2.8rem, 6vw, 5rem); }
[data-season="christmas"] .shop__title em,
[data-season="christmas"] .checkout h1 em,
[data-season="christmas"] .section__title em,
[data-season="christmas"] .note h2 em { color: var(--gold); }

[data-season="christmas"] .shop select,
[data-season="christmas"] .field input,
[data-season="christmas"] .field textarea {
  background: var(--surface); color: var(--ink); border-color: var(--border);
}
[data-season="christmas"] .field input:focus,
[data-season="christmas"] .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 180, 112, 0.18);
}
[data-season="christmas"] .field input::placeholder,
[data-season="christmas"] .field textarea::placeholder { color: rgba(243, 233, 210, 0.38); }
[data-season="christmas"] .field .err { color: #EE9AA5; }
[data-season="christmas"] .field input[aria-invalid="true"] { border-color: #EE9AA5; }

[data-season="christmas"] .gallery__main { box-shadow: 0 0 0 1px var(--border), var(--glow); }
[data-season="christmas"] .gallery__thumbs button.is-active { border-color: var(--gold); }
[data-season="christmas"] .pinfo__price { color: var(--gold); font-family: var(--font-display); font-size: 2.1rem; font-weight: 400; }
[data-season="christmas"] .pinfo__status { background: rgba(214, 180, 112, 0.12); color: var(--gold-hi); border: 1px solid rgba(214, 180, 112, 0.3); }
[data-season="christmas"] .colorchip.is-active { border-color: var(--gold); }
[data-season="christmas"] .pinfo__details { border-top-color: var(--border); }

[data-season="christmas"] .summary { box-shadow: 0 0 0 1px var(--border); }
[data-season="christmas"] .value { box-shadow: 0 0 0 1px var(--border); }
[data-season="christmas"] .value svg { stroke: var(--gold); }
[data-season="christmas"] .story__img { box-shadow: var(--glow); }
[data-season="christmas"] .note { background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
[data-season="christmas"] .success__mark { background: rgba(214, 180, 112, 0.14); box-shadow: 0 0 40px rgba(214, 180, 112, 0.25); }
[data-season="christmas"] .drawer { box-shadow: -24px 0 70px -20px rgba(0, 0, 0, 0.8); border-left: 1px solid var(--border); }
[data-season="christmas"] .drawer-veil { background: rgba(4, 8, 6, 0.6); backdrop-filter: blur(3px); }
[data-season="christmas"] .citem__price { color: var(--gold); }

/* ---------- footer: snow lying on the ledge, stars above ---------- */
[data-season="christmas"] .footer { position: relative; margin-top: 0; background: #08110C; }
[data-season="christmas"] .footer__inner { position: relative; z-index: 1; }
[data-season="christmas"] .footer::before {
  content: '';
  position: absolute; left: -2px; right: -2px; top: -46px; height: 84px;
  pointer-events: none; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 72' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='0.55' stop-color='%23EEF2F0'/%3E%3Cstop offset='1' stop-color='%23B9C7C8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23s)' d='M0 40 C 60 12 120 20 180 30 C 250 42 300 8 380 16 C 460 24 500 44 570 36 C 650 26 700 4 790 14 C 870 22 920 40 1000 26 L1000 58 C 920 64 850 54 770 60 C 680 66 600 56 520 62 C 430 68 340 56 250 62 C 160 68 80 58 0 64 Z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}
[data-season="christmas"] .footer ul a:hover { color: var(--gold-hi); }
.stars { position: absolute; left: 0; right: 0; top: 54px; height: 200px; pointer-events: none; }
[data-season="christmas"] .stars { display: block; }
.stars i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 8px 1px rgba(246, 228, 180, 0.6);
  animation: twinkle 3.6s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.12; transform: scale(0.6); }
  50%      { opacity: 1;    transform: scale(1); }
}

/* ---------- cursor: a candle you carry, and a gold ring ---------- */
.nw-cursor { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
[data-season="christmas"] .nw-cursor { display: block; }
.nw-cursor__glow {
  position: absolute; left: 0; top: 0;
  width: 640px; height: 640px; margin: -320px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 206, 128, 0.085), transparent);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity 0.6s ease;
}
.nw-cursor__ring {
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(246, 228, 180, 0.7);
  opacity: 0;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease),
              background 0.35s ease, border-color 0.35s ease, opacity 0.3s ease, scale 0.2s ease;
}
.nw-cursor.is-on .nw-cursor__ring, .nw-cursor.is-on .nw-cursor__glow { opacity: 1; }
.nw-cursor.is-link .nw-cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(214, 180, 112, 0.1); }
.nw-cursor.is-view .nw-cursor__ring {
  width: 88px; height: 88px; margin: -44px 0 0 -44px;
  background: rgba(246, 228, 180, 0.93); border-color: transparent;
}
.nw-cursor__ring span {
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem;
  color: var(--dark-ink); opacity: 0; transition: opacity 0.25s ease;
}
.nw-cursor.is-view .nw-cursor__ring span { opacity: 1; }
.nw-cursor.is-down .nw-cursor__ring { scale: 0.85; }

/* ============================================================
   SMALL SCREENS
   ============================================================ */
@media (max-width: 940px) {
  .nw-hero { min-height: auto; padding-block: 64px 120px; }
  .nw-hero__grid { grid-template-columns: 1fr; gap: 72px; }
  .nw-hero__stage { width: min(400px, 86%); }
  .nw-hero .baubles--wide { display: none; }
  .nw-hero .baubles--small { display: block; top: -54px; left: 0; right: 0; height: 120px; z-index: 3; }
  .nw-hero .hero__badge { top: -30px; right: -26px; width: 100px; height: 100px; }
  .nw-count { margin-top: 44px; }
  .nw-story__grid { grid-template-columns: 1fr; }
  .nw-story__frame { max-width: 420px; }
}
@media (max-width: 899px) {
  .gcard { width: 74vw; --h: 92vw; }
  .nw-edit__head { align-items: flex-start; flex-direction: column; }
  .nw-edit__count { display: none; }
  .nw-edit__foot { flex-direction: column; align-items: stretch; gap: 18px; padding-inline: 0; }
}
@media (max-width: 720px) {
  .nw-look__cols { grid-template-columns: 1fr 1fr; }
  .nw-look__col { display: contents; }
  .nw-gift { height: 480px; }
  .nw-gift__bow { scale: 0.82; }
  .nw-marquee { padding-block: 22px; }
}

/* ============================================================
   REDUCED MOTION — a still night, but a complete one
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  [data-season="christmas"] body::before { animation: none; }
  [data-season="christmas"] .loader { transition: opacity 0.4s ease; }
  [data-season="christmas"] .loader.is-done { clip-path: none; opacity: 0; }
  .garland .bulb { animation: none; opacity: 0.9; }
  .nw-arch::after, .bauble__swing, .stars i, .nw-cue i::after, .nw-gift__bow svg { animation: none; }
  .nw-hero__stage, .nw-hero .baubles--wide { transform: none; }
  .nw-marquee { transform: none; }
  .nw-marquee__track { animation-duration: 160s; }
  .nw-lit span { opacity: 1; }
  .nw-gift__door, .nw-gift__inside, .bow-l, .bow-r, .bow-tl, .bow-tr, .bow-k { transition: none; }
  .gcard__media img { translate: none; transition: none; }
  [data-season="christmas"] .header__brand,
  [data-season="christmas"] .footer__brand,
  .nw-hero__title em .w > span, .nw-title em .w > span { animation: none; }
}
