:root {
  --cream: #FBF4E8;
  --paper: #FFFCF5;
  --ink: #1C140E;
  --honey: #FDCE1C;
  --honey-soft: #FFE9A8;
  --orange: #D87431;
  --rust: #C3561C;
  --green: #2F6B47;
  --leaf: #62B75B;
  --mint: #DDEFD9;
  --blush: #F8DCD4;
  --sand: #F3E4CB;
  --sky: #DFE6F6;
  --head: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 92px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.025em; line-height: 1; }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
.eyebrow { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.8vw, 24px); margin-bottom: 8px; }
.small { font-size: 13px; opacity: .7; line-height: 1.6; }

.logo {
  display: inline-block; width: 64px; aspect-ratio: 933/811;
  background: currentColor;
  -webkit-mask: url(assets/logo.svg) center / contain no-repeat;
  mask: url(assets/logo.svg) center / contain no-repeat;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--cream);
  border: 0; border-radius: 999px; padding: 16px 28px;
  font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; transition: transform .35s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); background: #000; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.btn.wide { width: 100%; }

/* ---------- loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 100; background: var(--honey);
  display: grid; place-content: center; gap: 26px; justify-items: center;
  color: var(--ink); transition: opacity .8s var(--ease), visibility .8s;
}
#loader .logo { width: 132px; animation: bob 1.4s ease-in-out infinite; }
#loader .bar { width: 150px; height: 4px; background: rgba(0,0,0,.12); border-radius: 4px; overflow: hidden; }
#loader .bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .3s; }
body.ready #loader { opacity: 0; visibility: hidden; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }

/* ---------- header: the wooden shop sign ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; height: 0; z-index: 50; pointer-events: none; }
.plank { position: absolute; left: 0; top: 0; width: 340px; height: 100px; pointer-events: auto; will-change: transform; cursor: pointer; }
.plank-board {
  display: block; position: relative; width: 100%; height: 100%; box-sizing: border-box;
  border-style: solid; border-width: 0 58px;
  border-image: url(assets/ui/plank.webp) 0 220 fill / 1 stretch;
  filter: drop-shadow(0 6px 10px rgba(50, 20, 0, .28));
  transform-origin: 50% 0;
}
.plank.swing .plank-board { animation: swing 1s cubic-bezier(.3, .7, .4, 1); }
@keyframes swing {
  0% { rotate: 0deg; } 15% { rotate: -4deg; } 35% { rotate: 3deg; } 55% { rotate: -1.6deg; } 75% { rotate: .8deg; } 100% { rotate: 0deg; }
}
.flake {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  border-radius: 48% 52% 45% 55% / 52% 46% 54% 48%;
  background-image: url(assets/ui/plank.webp); background-repeat: no-repeat;
  box-shadow: 0 1px 3px rgba(80, 40, 10, .34), 0 0 0 .5px rgba(120, 70, 20, .12);
}
.plank-logo {
  position: absolute; left: 50%; top: 55%; height: 62%; aspect-ratio: 933/811; transform: translate(-50%, -50%);
  background: #4A2A12; opacity: .92;
  -webkit-mask: url(assets/logo.svg) center / contain no-repeat;
  mask: url(assets/logo.svg) center / contain no-repeat;
}

/* =====================================================
   INTRO
   ===================================================== */
#intro { position: relative; height: 690vh; }
/* lvh = the screen with the browser bars hidden: when the phone's address bar slides away while scrolling,
   the scene is already that tall, so no empty band opens underneath */
.intro-sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: #E9A46A; }
.backdrop, .stage { position: absolute; inset: 0; overflow: hidden; }
.backdrop img { position: absolute; inset: -5%; width: 110%; height: 110%; object-fit: cover; filter: blur(22px) saturate(1.1) brightness(.85); opacity: 0; will-change: opacity; }
.backdrop .bd-facade { opacity: 1; }
.shot { position: absolute; left: 0; top: 0; width: 1536px; height: 1024px; max-width: none; transform-origin: 0 0; will-change: transform, opacity; }
#shot-open, #shot-gap { opacity: 0; }
.facade-wrap img { width: 100%; height: 100%; max-width: none; }
.intro-info {
  position: absolute; left: clamp(18px, 4vw, 44px); bottom: clamp(18px, 4vh, 40px); max-width: 300px;
  font-size: 14px; line-height: 1.5; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 12px 16px;
  box-shadow: 4px 4px 0 var(--ink);
}
.intro-info b { font-family: var(--head); font-size: 16px; }
@media (max-width: 760px) { .intro-info { display: none; } }
/* scroll cue: tracked cream caps over a soft dark fade, a thin line with a honey dot travelling down it */
.scroll-hint {
  --hb: clamp(18px, 3.4vh, 36px);
  position: absolute; left: 50%; transform: translateX(-50%); bottom: var(--hb);
  display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none;
  font-family: var(--sans); font-weight: 600; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
  color: #FFF4E2; text-shadow: 0 1px 2px rgba(28, 14, 6, .5), 0 2px 14px rgba(28, 14, 6, .6);
}
.scroll-hint::before { /* the fade sits behind the cue only, full width of the screen, and fades with it */
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: calc(-1 * var(--hb)); width: 100vw; margin-left: -50vw;
  height: clamp(170px, 26vh, 240px); background: linear-gradient(to top, rgba(28, 14, 6, .62), rgba(28, 14, 6, .3) 45%, transparent);
}
.scroll-hint span { padding-left: .24em; }   /* balances the tracking after the last letter */
.scroll-hint i { position: relative; width: 1.5px; height: clamp(40px, 6vh, 56px); background: rgba(255, 244, 226, .55); overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: -2.25px; top: 0; width: 6px; height: 16px; border-radius: 3px; background: #FDCE1C;
  box-shadow: 0 0 8px rgba(253, 206, 28, .8); animation: hint-run 1.9s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes hint-run { 0% { transform: translateY(-16px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(var(--run, 56px)); opacity: 0; } }
@media (max-width: 760px) { .scroll-hint { font-size: 12px; } }
/* the scene runs under the phone's address bar; lift the cue by the bar's height so it is never hidden */
@supports (height: 100lvh) { .scroll-hint { --hb: calc(clamp(18px, 3.4vh, 36px) + 100lvh - 100svh); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint i::after { animation: none; top: 40%; } }

.santa { position: absolute; inset: 0; overflow: hidden; opacity: 0; pointer-events: none; background: #8A3A16; }
.santa img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform, opacity; }
.hand { position: absolute; left: 0; top: 0; width: 1536px; height: 1024px; max-width: none; opacity: 0; pointer-events: none; transform-origin: 280px 355px; will-change: transform, opacity; filter: drop-shadow(0 14px 14px rgba(60, 10, 14, .3)); }
.sleigh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sleigh img { position: absolute; left: 0; top: 0; max-width: none; opacity: 0; will-change: transform, opacity; transform-origin: 50% 50%; }
.sleigh img[data-t="0"] { filter: drop-shadow(0 22px 22px rgba(74, 14, 28, .28)); }
.sleigh img[data-t="1"] { filter: blur(7px); }
.sleigh img[data-t="2"] { filter: blur(15px); }
.wash {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; overflow: hidden; background: #E3C5A3;
}
.wash img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; }

.glow {
  position: absolute; left: 0; top: 0; width: 200px; height: 200px; border-radius: 50%;
  opacity: 0; pointer-events: none; transform-origin: 50% 50%; will-change: transform, opacity;
  background: radial-gradient(circle closest-side, #FFF3CC 0%, #FFE9A6 28%, rgba(255, 220, 120, .92) 46%, rgba(253, 206, 60, .55) 66%, rgba(253, 206, 28, 0) 100%);
}
.fly { position: absolute; inset: 0; pointer-events: none; }
.fly img[data-k="0"] { z-index: 2; }
.fly img { position: absolute; left: 0; top: 0; width: 400px; height: 400px; max-width: none; opacity: 0; will-change: transform, opacity; transform-origin: 50% 50%; backface-visibility: hidden;
  filter: drop-shadow(7px 10px 8px rgba(60, 10, 14, .38)); }

.feature { position: absolute; inset: 0; pointer-events: none; }
.feature .stack { position: absolute; left: 6vw; top: calc(var(--nav-h) + 3vh); width: min(520px, 40vw); text-align: left; }
.feature .f-top, .feature .f-bottom { opacity: 0; }
.ed-eyebrow { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: #8A2438; margin-bottom: 22px; }
.ed-title { font-family: var(--serif); font-weight: 300; letter-spacing: -.02em; line-height: 1.04; font-size: clamp(40px, 5.2vw, 84px); color: #4A0E1C; font-variation-settings: "opsz" 144; }
.ed-title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ed-title .ln > * { display: block; will-change: transform; }
.ed-title em { font-style: italic; font-weight: 300; color: #9B2A40; }
.feature .f-bottom p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.6; color: #6B3A36; margin: 26px 0 28px; max-width: 21em; text-wrap: balance; }
.feature .f-bottom .btn { background: #5A0A1B; color: #FBEFD9; padding: 15px 28px; border-radius: 999px; font-size: 14px; letter-spacing: .04em; font-weight: 600; gap: 12px; box-shadow: 0 10px 24px rgba(74, 14, 28, .22); }
.feature .f-bottom .btn:hover { background: #3B0714; transform: translateY(-2px); }
.feature.on { pointer-events: auto; }
@media (max-aspect-ratio: 9/10) {
  .feature .stack { left: 7vw; width: 86vw; top: calc(var(--nav-h) + 4vh); }
  .ed-eyebrow { margin-bottom: 14px; }
  .ed-title { font-size: clamp(38px, 11.5vw, 56px); }
  .feature .f-bottom p { margin: 16px 0 20px; font-size: 14.5px; }
  .feature .f-bottom .btn { padding: 13px 24px; }
}
}

/* =====================================================
   SHOP (showcase)
   ===================================================== */
.shop { position: relative; z-index: 2; background: var(--cream); padding-top: 48px; }
section { position: relative; scroll-margin-top: calc(var(--nav-h, 96px) + 16px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
/* menu title: an editorial lockup — a large light italic "Christmas" over a spaced-out "Menu" between hairlines */
.menu-head { flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 0; margin-bottom: clamp(40px, 5.5vw, 72px); }
.mh-kicker { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: #8A2438; margin: 0 0 clamp(6px, 1vw, 14px); padding-left: .32em; }
.mh-title { display: flex; flex-direction: column; align-items: center; font-size: inherit; line-height: 1; }
.mh-script { font-family: var(--serif); font-style: italic; font-weight: 300; font-variation-settings: "opsz" 144;
  font-size: clamp(66px, 10.5vw, 160px); line-height: .92; letter-spacing: -.04em; color: #7A1626; padding: 0 .1em .04em; }
.mh-sub { display: flex; align-items: center; gap: 1.1em; margin-top: clamp(4px, .8vw, 12px);
  font-family: var(--head); font-weight: 600; font-size: clamp(12px, 1.05vw, 15px); letter-spacing: .55em; text-transform: uppercase; color: #3A0B16; }
.mh-sub::before, .mh-sub::after { content: ""; width: clamp(36px, 5vw, 72px); height: 1px; background: currentColor; opacity: .35; }
.mh-sub::after { margin-left: -.55em; }   /* the tracking after the last letter */
.menu-head .link-arrow { margin-top: clamp(20px, 2.6vw, 34px); }
.link-arrow { font-family: var(--head); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 2px solid; border-radius: 50%; transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* gift letter: a letter writes itself (left), then the shop's gift bags scroll past (right) */
.gift-letter { position: relative; height: 600vh; --warm: #F2DCBC;
  background: linear-gradient(180deg, var(--cream) 0, var(--warm) 22vh, var(--warm) calc(100% - 22vh), var(--cream) 100%); }
.gl-sky { /* GPT winter sky + falling GPT snow; fades into the warm room as the letter is written */
  position: sticky; top: 0; height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh;
  overflow: hidden; pointer-events: none; opacity: calc(1 - var(--w, 0) * var(--w, 0)); }
.gl-sky img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.1 - .1 * var(--w, 0)));
  /* the cold dusk warms up as it fades, so the blend never turns grey */
  filter: sepia(calc(var(--w, 0) * .85)) saturate(calc(1 + var(--w, 0) * .9)) hue-rotate(calc(var(--w, 0) * -8deg)) brightness(calc(1 + var(--w, 0) * .1)); }
.gl-snow { position: absolute; inset: 0; mix-blend-mode: screen; background: url(assets/scene/snow-flakes.webp?v=1) 0 0 / var(--tile) var(--tile) repeat;
  animation: gl-fall var(--t) linear infinite; }
.gl-snow.far { --tile: 420px; --t: 34s; opacity: .55; }
.gl-snow.near { --tile: 820px; --t: 19s; opacity: .85; filter: blur(.6px); }
@keyframes gl-fall { to { background-position: 60px var(--tile); } }
.gl-sticky { z-index: 1; }
.gl-sticky::before { /* soft lamp light pooled behind the letter */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--w, 1);
  background: radial-gradient(60% 70% at 30% 52%, rgba(255, 226, 170, .55), rgba(255, 226, 170, 0) 70%),
              radial-gradient(50% 60% at 78% 40%, rgba(214, 140, 90, .10), rgba(214, 140, 90, 0) 70%);
}
.gl-sticky > * { position: relative; }
.gl-sticky {
  position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 72px);
  padding: calc(var(--nav-h) + 8px) clamp(18px, 4vw, 56px) 24px;
}
.gl-letter { position: relative; justify-self: end; height: min(100%, 860px); aspect-ratio: 1122 / 1402; max-width: 100%; will-change: transform, clip-path; }
.gl-paper { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(74, 14, 28, .16)); }
.gl-ink { position: absolute; inset: 0; width: 100%; height: 100%; } /* GPT ink, written by the pen on scroll */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gl-bags { position: relative; height: 100%; width: 100%; max-width: 560px; justify-self: start; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.gl-hint { /* waits under the letter's last line, leaves once the list arrives */
  position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; opacity: 0; pointer-events: none;
  font-family: var(--serif); font-weight: 300; font-size: 19px; color: #6A3B35;
}
.gl-hint i { font-style: italic; color: #7A1626; }
.gl-hint span { display: block; margin-top: 10px; font-family: var(--sans); font-size: 15px; animation: gl-nudge 2.2s ease-in-out infinite; }
@keyframes gl-nudge { 50% { transform: translateY(6px); } }
.gl-track { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.gl-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(74, 14, 28, .16);
  font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #8A5A4E; }
.gl-head i { font-family: var(--serif); font-size: 15px; letter-spacing: 0; text-transform: none; }
.gl-item { /* one GPT object per step, no frames; the step passing the middle is in focus (--f) */
  --f: 1; display: grid; justify-items: center; text-align: center; padding: clamp(18px, 3.6vh, 40px) 0; color: #3A0B16;
  opacity: var(--o, 1); }
.gl-item img { display: block; width: min(100%, clamp(240px, 26vw, 400px)); height: auto; aspect-ratio: 669 / 555;
  transform: rotate(calc(var(--r) * (1 - var(--f)))) scale(calc(.8 + .2 * var(--f)));
  filter: blur(calc(1.6px - 1.6px * var(--f))) drop-shadow(0 18px 22px rgba(74, 14, 28, calc(.05 + .1 * var(--f)))); }
.gl-item > div { margin-top: clamp(4px, 1vh, 12px); transform: translateY(calc(10px - 10px * var(--f))); }
.gl-item small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .26em; color: #9B6A5E; }
.gl-item h3 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.15; letter-spacing: -.015em; color: #3A0B16; }
.gl-item p { max-width: 31ch; margin: 12px auto 0; font-family: var(--sans); font-size: 15px; line-height: 1.65; color: #7A5248; text-wrap: balance; }
.gl-track { text-align: center; }
/* the one step: an empty glass box from the menu, a + where the cookie would float */
.gl-pick { --step: 530; overflow-x: clip; /* the waiting cookies further down the line never widen the page; the line fades at the edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.gl-pick .gl-glass { width: min(100%, clamp(230px, 23vw, 350px)); transform: scale(calc(.86 + .14 * var(--f))); transition: none; }
.gl-pick .gl-glass .gb-case { width: 100%; aspect-ratio: auto; transform: none; filter: none; } /* glass-box-warm = the menu's GPT case, re-lit to the room's warm beige */
.gl-slide { /* one cookie of the line; --s = its place: 0 in the box, ±1 beside it */
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  transform: translateX(calc(var(--s, 0) * var(--step) * var(--u))); transition: transform 1.3s var(--ease), opacity .9s var(--ease); }
.gl-slide.c { opacity: 1; }
.gl-slide.side { opacity: .92; }
.gl-c { position: absolute; left: 0; right: 0; top: calc(195 * var(--u)); height: calc(450 * var(--u)); display: flex; justify-content: center;
  transform: scale(.62); transition: transform 1.3s var(--ease); }
.gl-slide.c .gl-c { transform: none; }
.gl-pick .gl-cookie { display: block; height: 100%; width: auto; max-width: none; aspect-ratio: auto;
  filter: drop-shadow(0 calc(14 * var(--u)) calc(16 * var(--u)) rgba(90, 45, 10, .22)); animation: gl-bob 5s ease-in-out infinite; }
@keyframes gl-bob { 50% { transform: translateY(calc(-12 * var(--u))); } }
.gl-pick .gl-shade { /* the cookie's own silhouette squashed onto the floor of the box, only while it is inside */
  position: absolute; left: 0; right: 0; margin: 0 auto; top: calc(433 * var(--u)); height: calc(470 * var(--u)); width: auto; max-width: none; aspect-ratio: auto;
  transform: scale(.9, .1); filter: brightness(0) blur(calc(9 * var(--u))); opacity: 0; transition: opacity .8s var(--ease); }
.gl-slide.c .gl-shade { opacity: .18; }
.gl-track .gl-head { text-align: left; }
.gl-more { display: inline-flex; gap: 10px; align-items: center; margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 18px;
  color: #7A1626; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.gl-more span { font-family: var(--sans); font-style: normal; transition: transform .3s var(--ease); }
.gl-more:hover span { transform: translateX(4px); }
@media (max-width: 820px) {
  .gift-letter { height: auto; }
  .gl-sticky { position: relative; height: auto; overflow: visible; display: block; padding: 0 18px 40px; }
  .gl-letter { position: sticky; top: calc(var(--nav-h) + 6px); height: auto; width: min(100%, 520px); margin: 0 auto; }
  .gl-bags { height: auto; max-width: none; overflow: visible; -webkit-mask-image: none; mask-image: none; margin-top: 110vh; z-index: 2;
    background: var(--warm); border-radius: 28px 28px 0 0; padding: 30px 20px 10px; box-shadow: 0 -30px 40px -30px rgba(74, 14, 28, .25); }
  .gl-hint { display: none; }
  .gl-head { letter-spacing: .16em; font-size: 11px; white-space: nowrap; gap: 10px; }
  .gl-head i { font-size: 13px; }
  .gl-track { position: relative; }
  .gl-item { padding: 14px 0 22px; opacity: 1; }
  .gl-item img { width: min(78%, 320px); transform: none; filter: drop-shadow(0 14px 18px rgba(74, 14, 28, .12)); }
  .gl-item > div { transform: none; }
  .gl-item h3 { font-size: 24px; }
  .gl-item p { font-size: 14px; }
  .gl-pick { --step: 470; }
}

/* marquee */
.marquee { background: #4A0E1C; color: #FBEBD6; overflow: hidden; padding: 18px 0; }
.mq-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: mq 36s linear infinite; }
.mq-track span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(18px, 1.8vw, 24px); white-space: nowrap; }
.mq-track i { font-style: normal; color: var(--honey); font-size: 14px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* menu: one GPT glass box per cookie (1 --u = 1 px of the 876 × 1040 box image) */
.menu { padding: clamp(56px, 8vw, 110px) clamp(18px, 4vw, 44px); }
.gb-grid { --gap: clamp(14px, 1.6vw, 26px); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(30px, 4vw, 56px) var(--gap); max-width: 1440px; margin: 0 auto; }
.gb { flex: 0 0 calc((100% - 4 * var(--gap)) / 5); text-align: center; }
@media (max-width: 1180px) { .gb { flex-basis: calc((100% - 3 * var(--gap)) / 4); } }
@media (max-width: 900px) { .gb { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
@media (max-width: 640px) { .gb { flex-basis: calc((100% - var(--gap)) / 2); } }
.gb-box { position: relative; display: block; container-type: inline-size; --u: calc(100cqw / 876); color: inherit; text-decoration: none; }
.gb-case { display: block; width: 100%; height: auto; /* feather the photo's edges into the page */
  --fade: linear-gradient(180deg, transparent, #000 9%, #000 96%, transparent), linear-gradient(90deg, transparent, #000 3.6%, #000 96.4%, transparent);
  -webkit-mask-image: var(--fade); mask-image: var(--fade); -webkit-mask-composite: source-in; mask-composite: intersect; }
.gb-float { /* the cookie hangs in the middle of the glass, bobbing */
  position: absolute; left: 0; right: 0; top: calc(185 * var(--u)); height: calc(470 * var(--u));   /* centred at y 420 without `translate` */
  display: flex; justify-content: center; perspective: calc(1400 * var(--u));
  animation: gb-bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
.gb-tilt { transform: translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transform-style: preserve-3d; transition: transform .6s var(--ease); }
.gb-cookie { display: block; height: calc(470 * var(--u)); width: auto; max-width: none;
  filter: drop-shadow(0 calc(14 * var(--u)) calc(16 * var(--u)) rgba(90, 45, 10, .22));
  animation: gb-turn 9s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
.gb-shadow { /* the cookie's own silhouette, squashed onto the floor of the box */
  position: absolute; left: 0; right: 0; margin: 0 auto; top: calc(433 * var(--u)); height: calc(470 * var(--u)); width: auto; max-width: none;
  transform: scale(.9, .1); filter: brightness(0) blur(calc(9 * var(--u))); opacity: .2; pointer-events: none;
  animation: gb-shade 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
@keyframes gb-bob { 50% { transform: translateY(calc(-16 * var(--u))); } }
@keyframes gb-shade { 50% { transform: scale(.78, .085); opacity: .13; } }
@keyframes gb-turn { 0%, 100% { transform: rotateY(-12deg); } 50% { transform: rotateY(12deg); } }
.gb-box:hover { --ty: calc(-14 * var(--u)); --s: 1.05; }
.gb-x2 { /* a little GPT paper tent card standing on the glass floor, bottom-right, "x2" printed on it */
  position: absolute; top: calc(606 * var(--u)); right: calc(118 * var(--u)); width: calc(204 * var(--u)); aspect-ratio: 360 / 219;
  mix-blend-mode: multiply; pointer-events: none; }   /* multiply: the glass's own light lies over it, so it reads as inside */
.gb-x2 img { display: block; width: 100%; height: 100%; }
.gb-x2 b { position: absolute; left: 15%; right: 7%; top: 4%; bottom: 8%; display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: max(11px, calc(60 * var(--u))); line-height: 1; color: #7A1626;
  letter-spacing: .01em; transform: skewY(-1deg); }
.gb-plinth { /* price written on the front of the ivory plinth */
  position: absolute; left: calc(38 * var(--u)); right: calc(36 * var(--u)); top: calc(760 * var(--u)); height: calc(251 * var(--u));
  display: grid; place-content: center; gap: calc(10 * var(--u)); color: #5C3A28; text-shadow: 0 1px 0 rgba(255, 255, 255, .55); }
.gb-plinth b { font-family: var(--serif); font-weight: 400; font-size: max(15px, calc(66 * var(--u))); letter-spacing: -.01em; line-height: 1; }
.gb-plinth span { font-family: var(--sans); font-weight: 500; font-size: max(10px, calc(34 * var(--u))); letter-spacing: .2em; color: #8A2A2E; }
.gb-tag { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 15px; color: #6A3B35; }
.gb-tag em { color: #8A2A2E; }
.gb.reveal { transition-delay: calc(var(--c) * 80ms); }
@media (max-width: 640px) { .gb-tag { font-size: 13px; margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { .gb-float, .gb-cookie, .gb-shadow, .gl-snow, .gl-cookie { animation: none !important; } }

/* order: the v1 idea (honey ground, three tiers, a paper card), quieter — thin ink lines, no hard shadows, more air */
.order { padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 44px); background: var(--honey); color: var(--ink); }
/* heading on its own row; below it the tiers and the Instagram block start on the same hairline */
.order-wrap { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: 'head .' 'tiers ig'; column-gap: clamp(36px, 6vw, 104px);
  align-items: start; max-width: 1180px; margin: 0 auto; }
.order-head { grid-area: head; }
.order-left { grid-area: tiers; }
.order-card { grid-area: ig; }
.order-head .eyebrow { margin-bottom: 14px; }
.order-head h2 { text-wrap: balance; margin: 0 0 clamp(32px, 4vw, 48px); font-size: clamp(34px, 4.2vw, 58px); line-height: 1.04; }
.tiers { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(28, 20, 14, .35); border-bottom: 1px solid rgba(28, 20, 14, .35); }
.tier { padding: 20px 0 18px 20px; }
.tier:first-child { padding-left: 0; }
.tier + .tier { border-left: 1px solid rgba(28, 20, 14, .2); }
.tier b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.03em; line-height: 1; }
.tier span { display: block; margin-top: 8px; font-size: 14px; color: rgba(28, 20, 14, .72); }
.hint { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(28, 20, 14, .72); max-width: 44ch; }
/* Instagram: no box — a hairline, a live dot, the handle as the link with a round ink button, and a GPT gingerbread man waving hi */
.order-card { position: relative; padding-top: 24px; border-top: 1px solid rgba(28, 20, 14, .35); }
.od-gingy { position: absolute; right: 0; top: clamp(-118px, -9vw, -92px); width: clamp(104px, 9vw, 132px); height: auto;
  transform-origin: 50% 90%; animation: od-wave 3.2s var(--ease) infinite; filter: drop-shadow(0 10px 12px rgba(28, 20, 14, .18)); }
@keyframes od-wave { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
.od-live { display: flex; align-items: center; gap: 10px; margin: 0 0 13px; font-family: var(--head); font-weight: 700; font-size: 11.5px; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(28, 20, 14, .78); }
.od-live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #2F7A3E; }
.od-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2F7A3E; animation: od-ping 2s ease-out infinite; }
@keyframes od-ping { to { transform: scale(3); opacity: 0; } }
.order-card .ig-handle { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink); text-decoration: none; }
.order-card .ig-handle b { font-family: var(--head); font-weight: 800; font-size: clamp(34px, 3.8vw, 52px); letter-spacing: -.035em; line-height: 1.05;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 4px; transition: background-size .5s var(--ease); }
/* the icon: bright Christmas red on the honey, cream arrow, a soft red ring breathing out of it every few seconds */
.od-go { position: relative; flex: none; display: grid; place-items: center; width: clamp(54px, 4.6vw, 64px); aspect-ratio: 1; border-radius: 50%;
  background: #D8262E; color: #FFF6E6; font-family: var(--sans); font-size: 22px; box-shadow: 0 10px 20px -10px rgba(150, 20, 28, .7);
  transition: transform .45s var(--ease), background .3s; }
.od-go::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #D8262E; animation: od-ring 2.6s ease-out infinite; pointer-events: none; }
@keyframes od-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.order-card .ig-handle:hover b { background-size: 100% 2px; }
.order-card .ig-handle:hover .od-go { transform: rotate(45deg) scale(1.06); background: #B01822; }
.od-text { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: rgba(28, 20, 14, .72); max-width: 34ch; }
@media (prefers-reduced-motion: reduce) { .od-gingy, .od-live i::after, .od-go::after { animation: none; } }
@media (max-width: 860px) {
  .order-wrap { grid-template-columns: 1fr; grid-template-areas: 'head' 'tiers' 'ig'; }
  .order-card { margin-top: 112px; }
  .od-gingy { width: 92px; top: -84px; right: 4px; }
  .tier { padding-left: 14px; }
  .tier span { font-size: 12.5px; }
}

/* footer: a quiet signature — Hunny + mascot side by side, one line, then the phone number set huge across the page */
.ft { background: var(--ink); color: #F3E6D2; text-align: center; display: grid; justify-items: center; overflow: hidden;
  padding: clamp(72px, 9vw, 128px) clamp(16px, 3vw, 40px) clamp(28px, 3vw, 40px); }
.ft-mark { display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.ft-logo { width: clamp(124px, 11.2vw, 166px); color: #FBF4E8; }
.ft-mascot { width: clamp(92px, 8.4vw, 124px); height: auto; margin: 0 0 -2px clamp(-24px, -1.5vw, -14px); }
.ft-line { margin: clamp(34px, 4.4vw, 60px) 0 0; font-family: var(--sans); font-size: clamp(14px, 1.2vw, 17px); letter-spacing: .01em;
  color: rgba(243, 230, 210, .62); }
.ft-phone { display: block; margin-top: clamp(18px, 2.6vw, 40px); font-family: var(--head); font-weight: 800; white-space: nowrap;
  font-size: min(14vw, 224px); line-height: .9; letter-spacing: -.02em; color: rgba(243, 230, 210, .58); text-decoration: none;
  font-variant-numeric: tabular-nums; transition: color .5s var(--ease); }
.ft-phone:hover { color: #FDCE1C; }
.ft-copy { margin: clamp(48px, 6vw, 84px) 0 0; font-family: var(--sans); font-size: 12px; letter-spacing: .04em; color: rgba(243, 230, 210, .38); }
.ft-copy a { color: inherit; text-decoration: none; transition: color .3s; }
.ft-copy a:hover { color: #FDCE1C; }

/* reveal on scroll */
.reveal { opacity: 0; translate: 0 36px; transition: opacity 1s var(--ease), translate 1s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .mq-track, .sticker, #loader .logo { animation: none; }
  .reveal { opacity: 1; translate: none; }
}
