/* ═══════════════════════════════════════════════════════════════
   neesh bakes ✺ "type that proofs"
   plum & ivory editorial, brand palette (plum/rose/saffron/
   marigold/lilac) — Fraunces (SOFT/WONK) + Fragment Mono
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* brand palette — neesh bakes */
  --paper:     #FDF9F2;
  --ivory:     #F8F2EA;
  --plum:      #5A2E66;   /* brand / ink */
  --plum-deep: #371B40;   /* dark sections */
  --rose:      #D96F9B;
  --saffron:   #D95B2B;   /* CTA */
  --marigold:  #D39C33;
  --lilac:     #B394C4;

  --font-display: "Fraunces", "Georgia", serif;
  --font-mono: "Fragment Mono", "Courier New", monospace;

  --fvs-rest: "SOFT" 60, "WONK" 1;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --nav-h: 76px;
  --gutter: clamp(1.25rem, 6vw, 6rem);
}

/* ── reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

html { overflow-x: clip; }
body {
  background: var(--ivory);
  color: var(--plum);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 440;
  font-size: 1.04rem;
  line-height: 1.62;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--saffron); color: var(--paper); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--plum) 38%, var(--ivory)); border-radius: 99px; border: 2px solid var(--ivory); }

:focus-visible { outline: 2px dashed var(--saffron); outline-offset: 4px; border-radius: 4px; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }
img, svg, canvas { display: block; max-width: 100%; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-rest), "opsz" 144;
  font-weight: 480;
  line-height: .94;
  letter-spacing: -0.015em;
}

.ic { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.1em; flex: none; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--saffron);
  margin-bottom: 1.4rem;
}

/* ── grain ─────────────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%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");
  background-size: 220px 220px;
}

/* ── cursor ────────────────────────────────────────────────── */
.cursor { display: none; }
.has-cursor * { cursor: none !important; }
.has-cursor .cursor {
  display: block;
  position: fixed; top: 0; left: 0;
  z-index: 130;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor__dot {
  position: absolute; top: -5px; left: -5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--paper);
}
.cursor__ring {
  position: absolute; top: -22px; left: -22px;
  width: 44px; height: 44px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .4s var(--ease-out), background-color .3s;
}
.cursor__label {
  font-family: var(--font-mono);
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transition: opacity .25s;
  transform: scale(1);
}
.cursor--active .cursor__ring { transform: scale(1.9); background: rgba(253, 249, 242, .08); }
.cursor--active .cursor__label { opacity: 1; transform: scale(.55); }

/* sprinkle trail (sits just under the cursor) */
.sprinkle-layer { position: fixed; inset: 0; z-index: 129; pointer-events: none; overflow: hidden; }
.sprinkle {
  position: absolute;
  width: 9px; height: 4px;
  margin: -2px 0 0 -4.5px;
  border-radius: 2px;
  will-change: transform, opacity;
}

/* ── preloader ─────────────────────────────────────────────── */
.preloader { display: none; }
.js .preloader {
  display: block;
  position: fixed; inset: 0;
  z-index: 120;
}
.preloader__shutter {
  position: absolute; left: 0; width: 100%; height: 50.5%;
  background: var(--plum-deep);
}
.preloader__shutter--top { top: 0; }
.preloader__shutter--btm { bottom: 0; }
.preloader__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.4rem;
  color: var(--paper);
}
.preloader__label { font-size: .68rem; letter-spacing: .3em; color: var(--marigold); }
.preloader__temp {
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-rest), "opsz" 144;
  font-style: italic;
  font-weight: 420;
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 1;
}
.preloader__deg { color: var(--saffron); }
.preloader__bar {
  width: min(220px, 40vw); height: 2px;
  background: rgba(253, 249, 242, .18);
  border-radius: 99px;
  overflow: hidden;
}
.preloader__bar-fill {
  display: block; width: 100%; height: 100%;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none !important; }
}

/* ── nav ───────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 96;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 3.5vw, 3rem);
  transition: background-color .4s, backdrop-filter .4s, height .4s, box-shadow .4s;
}
.nav--scrolled {
  height: 60px;
  background: color-mix(in srgb, var(--ivory) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--plum) 10%, transparent);
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo-img {
  height: 50px; width: auto;
  transition: height .4s, filter .3s, transform .45s var(--ease-spring);
}
.nav__logo:hover .nav__logo-img { transform: rotate(-2.5deg) scale(1.05); }
.nav--scrolled .nav__logo-img { height: 40px; }
.menu-open .nav__logo-img { filter: brightness(0) invert(1); }
.nav__links { display: flex; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.nav__link {
  font-size: .7rem;
  letter-spacing: .16em;
  padding: .5em 0;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta-wrap { display: flex; align-items: center; gap: .9rem; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 7px;
  background: none; border: none;
  position: relative; z-index: 112;
}
.nav__burger span {
  display: block; width: 26px; height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), background-color .35s;
}
.menu-open .nav__burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); background: var(--paper); }
.menu-open .nav__burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); background: var(--paper); }
.menu-open .nav__logo, .menu-open .nav__cta { color: var(--paper); }

/* ── mobile menu ───────────────────────────────────────────── */
.menu {
  position: fixed; inset: 0;
  z-index: 95;
  background: var(--plum-deep);
  color: var(--paper);
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 8vh) 8vw 5vh;
  visibility: hidden;
  pointer-events: none;
}
.menu--open { visibility: visible; pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: .4rem; }
.menu__link {
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-rest), "opsz" 144;
  font-weight: 460;
  font-size: clamp(2.7rem, 10vw, 4.2rem);
  line-height: 1.18;
  width: fit-content;
}
.menu__link em { color: var(--saffron); }
.menu__link--accent { color: var(--marigold); }
.menu__foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
  font-size: .62rem;
  color: color-mix(in srgb, var(--paper) 65%, transparent);
}
.menu__foot a { color: var(--marigold); }

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55em;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 1.05em 1.9em;
  border-radius: 999px;
  border: 1.5px solid var(--plum);
  white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn--solid { background: var(--saffron); border-color: var(--saffron); color: var(--paper); }
.btn--solid:hover { background: var(--plum); border-color: var(--plum); box-shadow: 4px 5px 0 color-mix(in srgb, var(--plum) 22%, transparent); }
.btn--ghost { background: transparent; color: var(--plum); }
.btn--ghost:hover { background: color-mix(in srgb, var(--plum) 7%, transparent); }
.btn--sm { padding: .8em 1.5em; font-size: .68rem; }
.btn--lg { padding: 1.25em 2.6em; font-size: .9rem; }

/* ── hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: clip;
  padding: calc(var(--nav-h) + 2vh) 0 10vh;
}
.hero__canvas-wrap {
  position: absolute;
  top: 50%; right: -7vw;
  transform: translateY(-50%);
  width: min(60vw, 900px);
  aspect-ratio: 1;
  z-index: 1;
}
.hero__canvas-wrap canvas { width: 100% !important; height: 100% !important; }
/* webgl-less fallback: a soft cream blob */
.no-webgl .hero__canvas-wrap::before {
  content: "";
  position: absolute; inset: 8%;
  border-radius: 48% 52% 55% 45% / 52% 46% 54% 48%;
  background:
    radial-gradient(circle at 36% 30%, #FBF3DF 0%, #F2E2C4 48%, #E3CBA0 100%);
  box-shadow: inset -24px -30px 60px rgba(120, 84, 40, .18);
}

.hero__inner {
  position: relative; z-index: 2;
  padding-inline: var(--gutter);
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .68rem;
  letter-spacing: .22em;
  color: var(--saffron);
  margin-bottom: 2.2rem;
}
.hero__title {
  font-size: clamp(4.6rem, 15.5vw, 14.5rem);
  user-select: none;
}
.hero__line { display: block; width: fit-content; }
.hero__line--2 {
  margin-left: clamp(2.5rem, 13vw, 13rem);
  color: var(--lilac);
}
.hero__line--2 em { font-style: italic; font-weight: 440; }
.hero__title .char { will-change: transform; }
.hero__sub {
  max-width: 38ch;
  margin-top: 2.4rem;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}
.hero__sub em { color: var(--saffron); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

.hero__badge {
  position: absolute; z-index: 3;
  font-size: .62rem;
  letter-spacing: .14em;
  background: var(--paper);
  border: 1.5px solid var(--plum);
  border-radius: 999px;
  padding: .6em 1.1em;
  box-shadow: 3px 3px 0 var(--plum);
  rotate: var(--badge-rot, -4deg);
  animation: badge-float var(--badge-dur, 5s) ease-in-out infinite alternate;
}
.hero__badge--1 { --badge-rot: -7deg; --badge-dur: 4.6s; top: 21%; right: 11%; }
.hero__badge--3 { --badge-rot: -4deg; --badge-dur: 5.2s; bottom: 17%; right: 14%; }
@keyframes badge-float {
  from { translate: 0 -7px; }
  to   { translate: 0 7px; }
}

.hero__stamp {
  position: absolute; z-index: 3;
  right: clamp(1.5rem, 4vw, 4rem); bottom: clamp(4.5rem, 9vh, 6.5rem);
  width: 118px; height: 118px;
  display: grid; place-items: center;
}
.hero__stamp-text {
  position: absolute; inset: 0;
  animation: spin 16s linear infinite;
  fill: var(--plum);
}
.hero__stamp-text text {
  font-family: var(--font-mono);
  font-size: 9.2px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}
.hero__stamp-arrow { width: 22px; height: 22px; color: var(--saffron); }
.hero__stamp:hover .hero__stamp-arrow { animation: nudge-dn 1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge-dn { 50% { transform: translateY(5px); } }

/* ── marquee ───────────────────────────────────────────────── */
.marquee-clip {
  position: relative;
  z-index: 4;
  overflow: clip;
  padding: 2rem 0;
  margin: -3.4rem 0 -1.6rem;
}
.marquee {
  background: var(--saffron);
  color: var(--paper);
  rotate: -1.4deg;
  width: 104vw;
  margin-left: -2vw;
  border-block: 2px solid var(--plum);
  overflow: hidden;
}
.marquee__track { display: flex; width: max-content; }
.marquee__row {
  display: flex; align-items: center;
  gap: 2.2rem;
  padding: .85rem 1.1rem;
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-rest);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  white-space: nowrap;
}
.marquee__row .ic { width: .85em; height: .85em; opacity: .9; }

/* ── story ─────────────────────────────────────────────────── */
.story {
  display: grid;
  grid-template-columns: minmax(170px, 21%) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(7rem, 17vh, 12rem) var(--gutter) clamp(5rem, 12vh, 9rem);
}
.story__aside { position: relative; }
.story__aside .eyebrow { position: sticky; top: calc(var(--nav-h) + 2rem); }
.story__squiggle {
  position: sticky; top: calc(var(--nav-h) + 4.4rem);
  width: 96px; height: 12px;
  color: var(--saffron);
  margin-top: 1rem;
}
.story__manifesto {
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-rest), "opsz" 60;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: -.006em;
  max-width: 34em;
}
.story__manifesto .word { opacity: 1; }
.story__manifesto .word--accent { color: var(--saffron); font-style: italic; }
.story__text {
  max-width: 40em;
  margin-top: clamp(2rem, 5vh, 3.4rem);
  display: grid;
  gap: 1.1em;
}
.story__text p {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: -.006em;
  max-width: 34em;
}
.story__signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 540;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--rose);
}
.story__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  margin-top: clamp(3rem, 8vh, 5.5rem);
}
.stat { border-top: 2px solid var(--plum); padding-top: 1.1rem; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-rest), "opsz" 144;
  font-style: italic;
  font-weight: 540;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1;
  color: var(--saffron);
}
.stat__label { display: block; margin-top: .6rem; font-size: .62rem; letter-spacing: .14em; opacity: .8; }
.stat:nth-child(1) .stat__num { color: var(--marigold); }
.stat:nth-child(2) .stat__num { color: var(--rose); }
.stat:nth-child(3) .stat__num { color: var(--saffron); }
.stat:nth-child(4) .stat__num { color: var(--lilac); }

/* ── goods ─────────────────────────────────────────────────── */
/* opaque bg so the pinned panel never lets the preceding section
   bleed through during the Lenis smooth-scroll pin handoff */
.goods { position: relative; background: var(--ivory); }
.goods__pin {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(1.4rem, 3.5vh, 3rem);
  padding: calc(var(--nav-h) + .25rem) 0 1.25rem;
  overflow: clip;
}
.goods__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem;
  padding-inline: var(--gutter);
}
.goods__title {
  font-size: clamp(2.7rem, 7vw, 6.6rem);
}
.goods__title em { color: var(--saffron); }

.goods__viewport { width: 100%; }
.goods__track {
  display: flex;
  gap: clamp(1.1rem, 2vw, 2rem);
  width: max-content;
  padding-inline: var(--gutter);
  align-items: stretch;
}

.card {
  position: relative;
  width: clamp(280px, 23.5vw, 345px);
  aspect-ratio: .73;
  max-height: min(60svh, 500px);
  background: var(--card-bg, var(--paper));
  border: 2px solid var(--plum);
  border-radius: 24px;
  padding: 1.3rem 1.4rem 1.6rem;
  display: flex; flex-direction: column;
  rotate: var(--card-rot, 0deg);
  transition: rotate .45s var(--ease-spring), translate .45s var(--ease-spring), box-shadow .45s var(--ease-spring);
  flex: none;
}
.card:hover {
  rotate: 0deg;
  translate: 0 -10px;
  box-shadow: 7px 9px 0 var(--plum);
}
.card__top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .64rem;
  letter-spacing: .12em;
}
.card__price {
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: .45em .85em;
}
.card__art { flex: 1; display: grid; place-items: center; min-height: 0; }
.card__art svg {
  width: 80%;
  max-height: 92%;
  transition: transform .5s var(--ease-spring);
}
.card:hover .card__art svg { transform: rotate(-5deg) scale(1.07); }
.card__name {
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-rest), "opsz" 60;
  font-weight: 560;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.card__desc {
  font-style: italic;
  font-size: .95rem;
  line-height: 1.42;
  margin-top: .45rem;
  opacity: .78;
}
.card--dark { color: var(--paper); }
.card--dark .card__top, .card--dark .card__price { color: var(--marigold); }

.card--cta { background: transparent; border-style: dashed; }
.card--cta a {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.4rem;
  padding: 1.5rem;
  text-align: center;
  border-radius: 22px;
}
.card__cta-spark {
  width: 2.6rem; height: 2.6rem;
  color: var(--saffron);
  animation: spin 14s linear infinite;
}
.card__cta-text {
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-rest), "opsz" 144;
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.12;
}
.card__cta-text em { color: var(--saffron); }
.card__cta-handle { display: inline-flex; align-items: center; gap: .5em; font-size: .68rem; letter-spacing: .14em; color: var(--saffron); }

/* ── ritual ────────────────────────────────────────────────── */
/* ── oven dial (lives in the order section) ────────────────── */
.ritual__dial-wrap {
  width: clamp(150px, 19vw, 240px);
  text-align: center;
  color: color-mix(in srgb, var(--paper) 85%, transparent);
}
.ritual__dial { width: 100%; }
.ritual__needle { transform-box: view-box; color: var(--saffron); }
.ritual__ticks line { stroke: currentColor; stroke-width: 3; stroke-linecap: round; opacity: .55; }
.ritual__dial-read { margin-top: 1rem; font-size: .78rem; letter-spacing: .2em; color: var(--marigold); }

/* ── order ─────────────────────────────────────────────────── */
.order {
  padding: clamp(8rem, 22vh, 14rem) var(--gutter);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.order__kicker {
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.05;
  margin-top: .9rem;
  color: var(--plum);
}
.order__kicker em { color: var(--saffron); font-style: italic; }
.order__dial {
  /* dark-section dial recoloured for the light order background */
  width: clamp(150px, 16vw, 210px);
  margin: clamp(1.6rem, 4vh, 3rem) auto clamp(.6rem, 2vh, 1.6rem);
  color: var(--plum);
}
.order__title {
  font-size: clamp(4rem, 13vw, 12rem);
}
.order__title em { color: var(--saffron); }
.order__sub {
  max-width: 44ch;
  margin-top: 2rem;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.6;
}
.order__cta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem;
  margin-top: 2.8rem;
}
/* ── footer ────────────────────────────────────────────────── */
.footer {
  background: var(--plum-deep);
  color: var(--paper);
  padding: clamp(4rem, 9vh, 7rem) var(--gutter) 2rem;
  overflow: clip;
}
.footer__mark {
  font-size: clamp(3.6rem, 12.5vw, 12rem);
  line-height: .9;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--paper) 88%, transparent);
  user-select: none;
  white-space: nowrap;
  transition: color .6s var(--ease-out);
}
.footer__mark:hover { color: var(--saffron); -webkit-text-stroke-color: var(--saffron); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(3.5rem, 9vh, 6rem);
  padding-top: 3rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
}
.footer__col { display: flex; flex-direction: column; gap: .8rem; font-size: .68rem; letter-spacing: .12em; }
.footer__col a { width: fit-content; opacity: .85; transition: opacity .25s, color .25s; }
.footer__col a:hover { opacity: 1; color: var(--marigold); }
.footer__col span:not(.footer__col-title) { opacity: .65; }
.footer__col-title { color: var(--saffron); margin-bottom: .4rem; }
.footer__bar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: clamp(3rem, 7vh, 5rem);
  padding-top: 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 12%, transparent);
  font-size: .58rem;
  letter-spacing: .14em;
  opacity: .72;
}
.footer__bar-mid { display: inline-flex; align-items: center; gap: .7em; }
.footer__spin { color: var(--saffron); animation: spin 9s linear infinite; }

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero__badge--1 { right: 18%; }
}

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }

  /* goods: native horizontal scroll instead of pin */
  .goods__pin { min-height: 0; padding: clamp(5rem, 12vh, 8rem) 0 4rem; justify-content: flex-start; }
  .goods__head { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .goods__viewport {
    overflow-x: auto;
    /* overflow-x:auto silently forces overflow-y to auto, which shaves the
       tilted cards' top/bottom corners. Give the scroller vertical room. */
    padding-block: 1.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .goods__viewport::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: center; width: min(76vw, 340px); }

  .order__dial { width: 168px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .hero { padding-bottom: 14vh; }
  .hero__canvas-wrap {
    top: 34%; right: auto; left: 50%;
    transform: translate(-50%, -50%);
    width: 118vmin;
  }
  .hero__eyebrow { font-size: .58rem; margin-bottom: 1.6rem; }
  .hero__title { font-size: clamp(4.4rem, 21vw, 7rem); }
  .hero__line--2 { margin-left: 14vw; }
  .hero__sub { margin-top: 1.8rem; max-width: 34ch; }
  .hero__cta { margin-top: 2rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__badge { display: none; }
  .hero__stamp { display: none; }

  /* cake icons: scale to fit the art box in BOTH dimensions so they're
     never clipped top/bottom when the card's description wraps */
  .card__art { padding: .3rem 0; }
  .card__art svg { width: 100%; height: 100%; max-height: 100%; }

  .story { grid-template-columns: 1fr; gap: 2.2rem; }
  .story__aside .eyebrow, .story__squiggle { position: static; }
  .story__squiggle { margin-top: .2rem; }
  .story__stats { grid-template-columns: repeat(2, 1fr); }

  .footer__mark { font-size: 13vw; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bar { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .order__cta { flex-direction: column; width: 100%; }
  .order__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── logo motifs: script, ghost outline, piping bags ───────── */
/* offset double-line lettering, straight from the logo's NEESH */
.hero__title { position: relative; }
.hero__ghost {
  position: absolute;
  top: .05em; left: .045em;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--plum) 38%, transparent);
  pointer-events: none;
  user-select: none;
}

.hero__sprinkles {
  position: absolute;
  top: 57%;
  left: calc(var(--gutter) + .5rem);
  width: clamp(34px, 3.4vw, 50px);
  height: auto;
  z-index: 3;
  rotate: -8deg;
}

.story__pipe {
  position: sticky;
  top: calc(var(--nav-h) + 7rem);
  width: clamp(64px, 6vw, 92px);
  height: auto;
  margin-top: 2.2rem;
  rotate: 9deg;
  animation: pipe-bob 6s ease-in-out infinite alternate;
}
@keyframes pipe-bob {
  from { translate: 0 -6px; }
  to   { translate: 0 8px; }
}

/* order section: the logo's scattered piping-bag pattern */
.order { position: relative; overflow: clip; }
.order > * { position: relative; }
.order__bg { position: absolute !important; inset: 0; pointer-events: none; opacity: .38; }
.order__bg .ob { position: absolute; height: auto; }
.ob--1 { width: clamp(64px, 7vw, 104px); top: 9%;  left: 5%;  rotate: -16deg; }
.ob--2 { width: clamp(58px, 6.4vw, 96px); top: 13%; right: 6%; rotate: 14deg; }
.ob--3 { width: clamp(48px, 5.2vw, 78px); bottom: 12%; left: 9%; rotate: 12deg; }
.ob--4 { width: clamp(54px, 6vw, 88px);  bottom: 9%;  right: 9%; rotate: -10deg; }
.ob--s1 { width: clamp(30px, 3vw, 44px); top: 38%; left: 13%; rotate: 10deg; }
.ob--s2 { width: clamp(30px, 3vw, 44px); top: 34%; right: 14%; rotate: -14deg; }
.ob--s3 { width: clamp(26px, 2.6vw, 38px); bottom: 30%; left: 24%; rotate: -6deg; }
.ob--s4 { width: clamp(26px, 2.6vw, 38px); bottom: 26%; right: 23%; rotate: 8deg; }

@media (max-width: 768px) {
  .hero__sprinkles { display: none; }
  .story__pipe { position: static; margin-top: 1.2rem; }
  .ob--s3, .ob--3 { display: none; }
  .order__bg { opacity: .28; }
}

/* ── enquiry form ──────────────────────────────────────────── */
.orderform {
  position: fixed; inset: 0;
  z-index: 110;
  background: var(--plum-deep);
  color: var(--paper);
  color-scheme: dark;
  display: flex; flex-direction: column;
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(4.5rem, 10vh, 7rem) var(--gutter) 3rem;
  visibility: hidden;
  pointer-events: none;
}
.orderform--open { visibility: visible; pointer-events: auto; }
.form-open body,
.menu-open body { overflow: hidden; } /* CSS lock too — lenis is null under reduced motion */

.orderform__close {
  position: fixed;
  top: clamp(1rem, 3vh, 2rem); right: clamp(1.25rem, 3.5vw, 3rem);
  width: 48px; height: 48px;
  background: none; border: 1.5px solid color-mix(in srgb, var(--paper) 35%, transparent);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color .3s, rotate .45s var(--ease-spring);
}
.orderform__close:hover { border-color: var(--saffron); rotate: 90deg; }
.orderform__close span {
  position: absolute; width: 18px; height: 2px;
  background: var(--paper); border-radius: 2px;
}
.orderform__close span:first-child { transform: rotate(45deg); }
.orderform__close span:last-child { transform: rotate(-45deg); }

.orderform__form { width: min(860px, 100%); margin-block: auto; }
.orderform__eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .68rem; letter-spacing: .26em;
  color: var(--marigold);
  margin-bottom: clamp(1.6rem, 4vh, 3rem);
}
.orderform__fields { display: flex; flex-direction: column; gap: clamp(1rem, 2.6vh, 1.7rem); }
.orderform__line {
  font-family: var(--font-display);
  font-variation-settings: var(--fvs-rest), "opsz" 40;
  font-weight: 460;
  font-size: clamp(1.35rem, 2.9vw, 2.35rem);
  line-height: 1.45;
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .35em .45em;
}

.of-input {
  font: inherit;
  font-style: italic;
  color: var(--paper);
  caret-color: var(--saffron);
  background: none;
  border: none;
  border-bottom: 2px dashed color-mix(in srgb, var(--paper) 40%, transparent);
  border-radius: 0;
  padding: 0 .12em .06em;
  min-width: 7ch;
  field-sizing: content;
  max-width: 100%;
  transition: border-color .3s;
}
.of-input::placeholder { color: color-mix(in srgb, var(--paper) 38%, transparent); }
.of-input:focus { outline: none; border-bottom-color: var(--saffron); border-bottom-style: solid; }
.of-input.of-invalid { border-bottom-color: var(--rose); border-bottom-style: solid; }
.of-input--dream { flex: 1 1 100%; min-width: 0; }
textarea.of-input {
  width: 100%;
  line-height: 1.4;
  resize: vertical;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.of-input--date { font-variant-numeric: tabular-nums; }

/* conditional lines — only shown once a category is picked.
   higher specificity than .orderform__line's display:flex */
.of-cond[hidden] { display: none; }

/* select dropdowns, styled to match the dashed-underline inputs */
.of-select {
  font: inherit;
  font-style: italic;
  color: var(--paper);
  background: none;
  border: none;
  border-bottom: 2px dashed color-mix(in srgb, var(--paper) 40%, transparent);
  border-radius: 0;
  padding: 0 1.5em .06em .12em;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9 L12 15 L18 9' fill='none' stroke='%23FDF9F2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .05em center;
  background-size: .8em;
  transition: border-color .3s;
}
.of-select:focus { outline: none; border-bottom-color: var(--saffron); border-bottom-style: solid; }
.of-select.of-invalid { border-bottom-color: var(--rose); border-bottom-style: solid; }
.of-select option { color: var(--paper); background: var(--plum-deep); font-style: normal; }

.orderform__note {
  font-size: .66rem;
  letter-spacing: .06em;
  line-height: 1.7;
  text-transform: none;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
  max-width: 48ch;
  margin-top: .2rem;
}
.of-input--date::-webkit-calendar-picker-indicator { opacity: .65; cursor: pointer; }

.orderform__chips { gap: .6rem .7rem; }
.chip input {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.chip span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .75em 1.3em;
  border: 1.5px solid color-mix(in srgb, var(--paper) 38%, transparent);
  border-radius: 999px;
  transition: background-color .25s, border-color .25s, rotate .3s var(--ease-spring), color .25s;
  cursor: pointer;
}
.chip:hover span { border-color: var(--paper); rotate: -2deg; }
.chip input:checked + span { background: var(--saffron); border-color: var(--saffron); color: var(--paper); rotate: -2deg; }
.chip input:focus-visible + span { outline: 2px dashed var(--saffron); outline-offset: 3px; }

.of-honey { position: absolute; left: -5000px; opacity: 0; height: 0; width: 0; }

.orderform__actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: clamp(1.8rem, 4.5vh, 3rem);
}
.orderform__submit { border-color: var(--saffron); }
.orderform__submit[disabled] { opacity: .6; pointer-events: none; }
.orderform__hint { font-size: .6rem; letter-spacing: .16em; color: color-mix(in srgb, var(--paper) 55%, transparent); max-width: 34ch; line-height: 1.8; }
.orderform__status { min-height: 1.2em; margin-top: 1.1rem; font-size: .66rem; letter-spacing: .14em; color: var(--marigold); }

.orderform__done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; margin-block: auto; }
.orderform__done[hidden] { display: none; }
.orderform__done-pipe { width: clamp(70px, 9vh, 100px); height: auto; }
.orderform__done-title { font-size: clamp(2.4rem, 6.5vw, 4.6rem); }
.orderform__done-title em { color: var(--saffron); }
.orderform__done-sub { color: color-mix(in srgb, var(--paper) 75%, transparent); max-width: 38ch; }

@media (max-width: 600px) {
  .orderform { padding-top: 6.5rem; }
  .orderform__line { font-size: clamp(1.2rem, 5.6vw, 1.5rem); }
  .orderform__hint { max-width: 100%; }
}

/* ── reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__badge { animation: none; }
}
/* ── hero variant: buttercream ─────────────────────────────── */
/* The shader fills the whole hero; text (z-index 2) floats above it. */
.hero__canvas-wrap {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transform: none;
  z-index: 1;
}
/* webgl-less fallback: static pastel buttercream wash, same idea */
.no-webgl .hero__canvas-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(180deg, var(--ivory) 0%, rgba(248, 242, 234, 0) 16%, rgba(248, 242, 234, 0) 84%, var(--ivory) 100%),
    linear-gradient(90deg, var(--ivory) 0%, rgba(248, 242, 234, 0) 36%),
    radial-gradient(52% 58% at 74% 32%, rgba(217, 111, 155, 0.34) 0%, rgba(217, 111, 155, 0) 100%),
    radial-gradient(46% 52% at 92% 68%, rgba(179, 148, 196, 0.38) 0%, rgba(179, 148, 196, 0) 100%),
    radial-gradient(40% 44% at 66% 86%, rgba(211, 156, 51, 0.26) 0%, rgba(211, 156, 51, 0) 100%),
    radial-gradient(28% 32% at 86% 12%, rgba(217, 91, 43, 0.16) 0%, rgba(217, 91, 43, 0) 100%),
    var(--ivory);
}
@media (max-width: 768px) {
  .no-webgl .hero__canvas-wrap::before {
    background:
      linear-gradient(180deg, var(--ivory) 0%, rgba(248, 242, 234, 0) 14%, rgba(248, 242, 234, 0) 86%, var(--ivory) 100%),
      radial-gradient(60% 44% at 92% 78%, rgba(217, 111, 155, 0.36) 0%, rgba(217, 111, 155, 0) 100%),
      radial-gradient(54% 40% at 4% 16%, rgba(179, 148, 196, 0.38) 0%, rgba(179, 148, 196, 0) 100%),
      radial-gradient(40% 30% at 70% 96%, rgba(211, 156, 51, 0.26) 0%, rgba(211, 156, 51, 0) 100%),
      var(--ivory);
  }
}
