/* ==========================================================================
   Golden Touch — Massa Foods, Cairo
   Design taken from the physical packaging: black panel, gold foil, torn edge,
   heavy white wordmark, one colour per flavour.
   Tokens documented in design-system/golden-touch/MASTER.md
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Pack black + surfaces */
  --ink:        #0D0D0D;
  --surface:    #141414;
  --surface-2:  #1C1B19;
  --line:       #2A2825;

  /* Foil gold */
  --gold:       #D4A32B;
  --gold-hi:    #F2D07A;
  --gold-lo:    #8A6A16;
  --foil: linear-gradient(100deg, #8A6A16 0%, #D4A32B 18%, #F7E3A6 34%, #D4A32B 52%, #A67F1E 68%, #EFC661 84%, #B98F22 100%);

  /* Type on dark */
  --fg:         #FFFFFF;
  --fg-soft:    #C9C2B6;
  --fg-mute:    #8B8377;

  /* Light sections */
  --paper:      #F4F1EA;
  --paper-2:    #E7E2D6;
  /* Sampled from the product photography's studio backdrop. Matching containers
     to it makes the photo edge disappear instead of reading as a pasted-on box. */
  --shot-bg:    #DCDCDC;
  --on-paper:   #14120E;
  --on-paper-soft: #4A443A;

  /* Flavour colours sampled from the packs. The `-t` variants are the text-safe
     versions, tuned to clear 4.5:1 against the CARD surface (#141414) — not
     against --ink, which is darker and would leave headings short on the cards. */
  --thyme:        #4E7840;  --thyme-t:        #658958;
  --cheese:       #C3742E;  --cheese-t:       #C3742E;
  --tomatoes:     #A94142;  --tomatoes-t:     #BB6869;
  --peanuts:      #8F7A47;  --peanuts-t:      #927D4C;
  --pizza:        #772E5D;  --pizza-t:        #A27090;
  --whitecheese:  #005FA7;  --whitecheese-t:  #3D85BC;

  --font-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --font-body:    "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-2xs: 8px;  --space-xs: 16px;  --space-sm: 24px;
  --space-md: 40px;  --space-lg: 64px;  --space-xl: 96px;  --space-2xl: 136px;

  --radius: 6px;
  --radius-lg: 18px;
  --measure: 60ch;

  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur:      300ms;
  --dur-slow: 600ms;

  --shadow-md: 0 10px 28px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Author `display` rules beat the UA's [hidden] { display:none }, which would
   leave hidden panels rendered and keyboard-focusable. Restore the intent. */
[hidden] { display: none !important; }

body {
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto so a width/height attribute can never fight a CSS width and
   stretch the image; the attributes still reserve space and prevent CLS. */
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

/* --- Typography --------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: .98; letter-spacing: -0.03em; text-transform: uppercase; }
h1 { font-size: clamp(3.4rem, 13vw, 10rem); }
h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); letter-spacing: -0.02em; }
p { max-width: var(--measure); }

.eyebrow {
  display: flex; align-items: center; gap: var(--space-2xs);
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fg-soft); }
.gold { color: var(--gold); }

/* Foil text, with a flat gold fallback where background-clip isn't supported */
.foil {
  background: var(--foil);
  -webkit-background-clip: text; background-clip: text;
  color: var(--gold);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .foil { color: transparent; }
}

/* --- Layout ------------------------------------------------------------- */
.wrap { width: min(1280px, 100% - clamp(2rem, 7vw, 7rem)); margin-inline: auto; }
section { position: relative; padding-block: var(--space-2xl); }
.section-head { display: grid; gap: var(--space-sm); max-width: 780px; margin-bottom: var(--space-xl); }

.on-paper { background: var(--paper); color: var(--on-paper); }
.on-paper h2, .on-paper h3 { color: var(--on-paper); }
.on-paper .lede { color: var(--on-paper-soft); }
.on-paper .eyebrow { color: #7A5D0F; }

/* --- Torn edge (the pack's signature) ----------------------------------- */
.torn { position: absolute; top: 0; bottom: 0; width: 34px; pointer-events: none; z-index: 2; }
.torn svg { width: 100%; height: 100%; display: block; }

/* --- Foil rule ---------------------------------------------------------- */
.foil-bar { height: 8px; background: var(--foil); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.05em 1.9em;
  background: var(--gold); color: #17130A;
  border: 1px solid var(--gold); border-radius: 100px;
  font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-hi);
  transform: translateY(101%);
  transition: transform var(--dur) var(--ease);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--fg); border-color: #4A453C; }
.btn--ghost::after { background: var(--fg); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--fg); }
.on-paper .btn--ghost { color: var(--on-paper); border-color: #C3BCAB; }
.on-paper .btn--ghost::after { background: var(--ink); }
.on-paper .btn--ghost:hover { color: var(--paper); border-color: var(--ink); }

.btn--lg { padding: 1.15em 2em; }
.btn--block { width: 100%; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--radius);
}

.skip-link {
  position: absolute; left: var(--space-xs); top: -100px; z-index: 300;
  background: var(--gold); color: #17130A; padding: .8em 1.4em;
  border-radius: 0 0 var(--radius) var(--radius); text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }

/* --- Vegan badge -------------------------------------------------------- */
.vlabel {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .45em .9em .45em .55em;
  background: #F5E400; color: #14120E;
  border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.vlabel__v {
  width: 22px; height: 22px; border-radius: 50%;
  background: #0A7038; color: #F5E400;  /* darkened from #0C7C3E for 4.72:1 */
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: .8rem; line-height: 1;
}

/* --- Nav ---------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: var(--space-sm); transition: padding var(--dur) var(--ease); }
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(13,13,13,.92);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
@supports (backdrop-filter: blur(1px)) {
  /* Static blur only — never animated, so it can't cost a frame mid-scroll */
  .nav--stuck::before { backdrop-filter: blur(12px); }
}
.nav--stuck { padding-block: var(--space-xs); }
.nav--stuck::before { opacity: 1; }

.nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }

.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.brand__mark { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -.04em; text-transform: uppercase; line-height: 1; }
.brand__touch { font-family: var(--font-body); font-style: italic; font-weight: 600; font-size: .95rem; color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: var(--space-md); }
.nav__list { display: flex; gap: var(--space-sm); list-style: none; padding: 0; }
.nav__list a { text-decoration: none; font-size: .9rem; color: var(--fg-soft); position: relative; padding-block: 4px; transition: color var(--dur-fast) var(--ease); }
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav__list a:hover, .nav__list a:focus-visible { color: var(--fg); }
.nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: var(--space-2xs); flex: none; }
.nav__cta { padding: .7em 1.3em; font-size: .86rem; }
.nav__toggle {
  display: none; align-items: center; gap: .5em;
  background: none; border: 1px solid #4A453C; border-radius: 100px;
  padding: .6em 1em; font-size: .86rem; cursor: pointer; color: var(--fg);
}

/* Subpages have no hero behind the nav, so it is opaque from the start. */
.nav--solid::before { opacity: 1; }

/* --- Page head (about / contact) ---------------------------------------- */
.page-head {
  position: relative;
  padding-block: calc(var(--space-2xl) + 40px) var(--space-xl);
  background: var(--surface);
  overflow: hidden;
}
.page-title { margin-block: .1em .3em; font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
.page-head__lede { max-width: 52ch; }

.crumbs { display: flex; gap: .6em; align-items: center; margin-bottom: var(--space-sm); font-size: .82rem; color: var(--fg-mute); }
.crumbs a { color: var(--fg-mute); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--gold); }

.nav__list a[aria-current="page"] { color: var(--fg); }
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

/* --- Split (image + copy) ----------------------------------------------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-xl); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__body { display: grid; gap: var(--space-sm); align-content: start; }
.split__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--shot-bg); box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.split__cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-xs);
  padding: .85em 1.1em; background: var(--ink); border-top: 3px solid var(--gold);
}
.split__cap span:first-child { font-family: var(--font-display); font-size: .95rem; text-transform: uppercase; }
.split__cap span:last-child { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); }

/* --- Prose -------------------------------------------------------------- */
.prose { display: grid; gap: var(--space-sm); max-width: 68ch; }
.prose p { max-width: none; }
.on-paper .prose p { color: var(--on-paper-soft); }
.on-paper .prose .lede { color: var(--on-paper); }
.on-paper .prose strong { color: var(--on-paper); }

/* --- Journey ------------------------------------------------------------ */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-md); list-style: none; padding: 0; margin: 0; counter-reset: journey; }
.journey__step { display: grid; gap: var(--space-xs); padding-top: var(--space-sm); border-top: 1px solid var(--line); position: relative; }
.journey__step::after {
  content: ""; position: absolute; top: -1px; left: 0; height: 3px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 900ms var(--ease);
}
.is-visible .journey__step::after { transform: scaleX(1); }
.journey__step:nth-child(2)::after { transition-delay: 140ms; }
.journey__step:nth-child(3)::after { transition-delay: 280ms; }
.journey__no { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.journey__step p { color: var(--fg-soft); font-size: .95rem; }

/* --- Social ------------------------------------------------------------- */
.social { display: flex; flex-wrap: wrap; gap: var(--space-2xs); list-style: none; padding: 0; margin: 0; }
.social a {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .55em 1em .55em .7em;
  border: 1px solid var(--line); border-radius: 100px;
  font-size: .84rem; text-decoration: none; color: var(--fg-soft);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.social a:hover, .social a:focus-visible { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.social svg { flex: none; }
@media (pointer: coarse) { .social a { padding-block: .8em; } }

/* --- Stats -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-md); margin: 0; }
.stat { display: grid; gap: 4px; padding-top: var(--space-sm); border-top: 3px solid #7A5D0F; }
.stat dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #6E6656; }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-md); padding: var(--space-lg) var(--space-md);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }

/* --- Contact ------------------------------------------------------------ */
.contact__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-lg); align-items: start; }
.contact__side { display: grid; gap: var(--space-sm); }

.channels { display: grid; gap: var(--space-sm); padding: var(--space-sm); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.channels__title { font-size: 1.2rem; }
.channel { display: grid; gap: 3px; padding-bottom: var(--space-sm); border-bottom: 1px solid var(--line); }
.channel:last-child { padding-bottom: 0; border-bottom: none; }
.channel__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); }
.channel__value { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; }
/* Email/phone rendered as real links */
a.channel__value {
  color: var(--fg); text-decoration: none; justify-self: start;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
a.channel__value:hover, a.channel__value:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }
/* Addresses keep their real casing and must wrap rather than overflow the panel */
.channel__value--plain {
  font-family: var(--font-body); text-transform: none;
  font-size: .98rem; font-weight: 500;
  overflow-wrap: anywhere;
}
/* Marks a field that must be filled in before launch — deliberately conspicuous. */
.channel__value--todo { color: var(--cheese-t); text-transform: none; font-family: var(--font-body); font-style: italic; font-weight: 600; }
.channel__note { font-size: .8rem; color: var(--fg-mute); }

.side-cta { display: grid; gap: var(--space-xs); justify-items: start; padding: var(--space-sm); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.side-cta h3 { font-size: 1.05rem; }
.side-cta p { font-size: .9rem; color: var(--fg-soft); }

/* --- FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: 0; border-top: 1px solid #CFC7B4; max-width: 78ch; }
.faq__item { border-bottom: 1px solid #CFC7B4; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  padding-block: var(--space-sm); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: -.01em;
  transition: color var(--dur-fast) var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: #7A5D0F;
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: #7A5D0F; }
.faq__item p { padding-bottom: var(--space-sm); color: var(--on-paper-soft); font-size: .95rem; }

/* --- Hero --------------------------------------------------------------- */
.hero { min-height: 100svh; display: grid; align-items: center; padding: 0; overflow: hidden; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }

.hero__left {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-sm);
  padding: calc(var(--space-2xl) + 20px) var(--space-lg) var(--space-xl) clamp(2rem, 7vw, 7rem);
  background: var(--ink);
}
.hero__left .torn { right: -33px; color: var(--ink); }

.hero__right { position: relative; display: grid; place-items: center; padding: var(--space-lg); overflow: hidden; }
.hero__right::before { content: ""; position: absolute; inset: 0; background: var(--flavour, var(--thyme)); transition: background-color 700ms var(--ease); }
.hero__right::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 42%, rgba(255,255,255,.22), transparent 70%); }

/* The photo's own backdrop becomes the card — rounded and shadowed so it reads
   as a deliberate framed product shot rather than a cut-out on a colour field. */
.hero__pack { position: relative; z-index: 2; width: min(78%, 380px); border-radius: 16px; overflow: hidden; background: var(--shot-bg); box-shadow: 0 30px 60px rgba(0,0,0,.42), 0 4px 14px rgba(0,0,0,.3); }
.hero__pack img { width: 100%; }
.hero__cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-xs);
  padding: .85em 1.1em;
  background: var(--ink); border-top: 3px solid var(--flavour, var(--gold));
  transition: border-color 700ms var(--ease);
}
.hero__cap-name { font-family: var(--font-display); font-size: .95rem; text-transform: uppercase; color: var(--fg); }
.hero__cap-fmt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); }

.hero h1 { margin-block: .06em .04em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }
.hero__touch { font-family: var(--font-body); font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 3.4vw, 2.6rem); letter-spacing: 0; text-transform: none; }

.hero__lede { max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-2xs); }
.hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); margin-top: var(--space-sm); }
.hero__size {
  font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em;
  padding: .5em 1em; border-radius: 100px; background: var(--foil); color: #17130A;
}

/* Flavour switcher */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-sm); padding: 0; list-style: none; }
.swatch {
  width: 34px; height: 34px; padding: 0;
  border-radius: 50%; border: 2px solid transparent;
  background: var(--c); cursor: pointer;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { border-color: var(--gold); transform: scale(1.12); }

/* --- Marquee ------------------------------------------------------------ */
.marquee { padding-block: var(--space-sm); background: var(--foil); color: #17130A; overflow: hidden; display: flex; gap: var(--space-md); user-select: none; }
.marquee__track { display: flex; gap: var(--space-md); flex: none; min-width: 100%; animation: slide 34s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-100% - var(--space-md))); } }
.marquee__item { display: flex; align-items: center; gap: var(--space-md); font-family: var(--font-display); font-size: clamp(.95rem, 1.7vw, 1.3rem); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee__dot { width: 7px; height: 7px; border-radius: 50%; background: #17130A; flex: none; }

/* --- Range -------------------------------------------------------------- */
.range-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: var(--space-sm); }

.flavour {
  --c: var(--gold);
  position: relative; display: flex; flex-direction: column; gap: var(--space-xs);
  padding: var(--space-sm);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.flavour::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-slow) var(--ease);
}
.flavour:hover, .flavour:focus-within { transform: translateY(-6px); border-color: var(--c); box-shadow: var(--shadow-lg); }
.flavour:hover::before, .flavour:focus-within::before { transform: scaleX(1); }

.flavour__shot { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--shot-bg); }
/* The source photos are exactly 750×1000, so a 3:4 box means no crop AND no
   letterbox bars — the photo's own backdrop fills the frame edge to edge. */
.flavour__shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.flavour:hover .flavour__shot img { transform: scale(1.05); }

.flavour__format { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-mute); }
.flavour h3 { color: var(--ct, var(--c)); }
.flavour p { font-size: .93rem; color: var(--fg-soft); }
.flavour__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); margin-top: auto; padding-top: var(--space-xs); border-top: 1px solid var(--line); }

/* --- Formats ------------------------------------------------------------ */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-md); }
.format { display: grid; gap: var(--space-xs); padding-top: var(--space-sm); border-top: 1px solid #CFC7B4; position: relative; }
.format::after {
  content: ""; position: absolute; top: -1px; left: 0; height: 3px; width: 100%;
  background: #7A5D0F; transform: scaleX(0); transform-origin: left;
  transition: transform 900ms var(--ease);
}
.is-visible .format::after { transform: scaleX(1); }
.format:nth-child(2)::after { transition-delay: 130ms; }
.format:nth-child(3)::after { transition-delay: 260ms; }
.format__no { font-family: var(--font-display); font-size: 2.4rem; color: #7A5D0F; line-height: 1; }
.format p { color: var(--on-paper-soft); font-size: .95rem; }

/* --- Shop --------------------------------------------------------------- */
.shop__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--space-lg); align-items: start; }
.price { font-family: var(--font-display); font-size: 1.4rem; white-space: nowrap; }
.price--sm { font-size: 1.05rem; }

.product--feature {
  position: relative; display: grid; gap: var(--space-sm);
  padding: var(--space-md) var(--space-sm) var(--space-sm);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.product__badge {
  position: absolute; top: var(--space-sm); right: var(--space-sm); z-index: 2;
  background: var(--foil); color: #17130A;
  font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .45em .9em; border-radius: 100px;
}
.product__bags { display: flex; justify-content: center; align-items: flex-end; }
.product__bags img { width: 58px; margin-inline: -7px; border-radius: 4px; background: var(--shot-bg); box-shadow: 0 10px 20px rgba(0,0,0,.5); transition: transform var(--dur-slow) var(--ease); }
.product__bags img:nth-child(1) { transform: rotate(-10deg); }
.product__bags img:nth-child(2) { transform: rotate(-6deg); }
.product__bags img:nth-child(5) { transform: rotate(6deg); }
.product__bags img:nth-child(6) { transform: rotate(10deg); }
.product--feature:hover .product__bags img { transform: translateY(-8px) rotate(0deg); }
.product__body { display: grid; gap: var(--space-2xs); }
.product__meta { font-size: .74rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute) !important; }
.product p { color: var(--fg-soft); font-size: .93rem; }
.product .price { color: var(--gold); }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-xs); }

.product-list { border-top: 1px solid var(--line); }
.product-list__head {
  display: flex; justify-content: space-between; gap: var(--space-sm); max-width: none;
  padding-block: var(--space-xs); border-bottom: 1px solid var(--line);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute);
}
.product-list__note { padding-top: var(--space-xs); font-size: .82rem; color: var(--fg-mute); }

.product-row {
  --c: var(--gold);
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: var(--space-sm);
  padding-block: var(--space-xs); border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease), padding-inline var(--dur) var(--ease);
}
.product-row:hover { background: var(--surface); padding-inline: var(--space-xs); }
.product-row__thumb { width: 44px; border-radius: 4px; background: var(--shot-bg); }
.product-row__name { font-family: var(--font-display); font-size: 1rem; text-transform: uppercase; letter-spacing: -.02em; display: block; }
.product-row__fmt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); }

/* Stepper */
.stepper { display: inline-flex; align-items: center; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.stepper__btn {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: none; border: none; border-radius: 50%; color: var(--fg);
  font-size: 1.1rem; line-height: 1; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.stepper__btn:hover:not(:disabled) { background: var(--gold); color: #17130A; }
.stepper__btn:disabled { opacity: .3; cursor: not-allowed; }
.stepper__val { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .95rem; }

/* Full 44px targets on touch, on every purchase control */
@media (pointer: coarse) {
  .stepper__btn { width: 44px; height: 44px; font-size: 1.25rem; }
  .drawer__close { width: 44px; height: 44px; }
  .cart-line__remove { padding-block: 8px; }
  .nav__toggle { padding: .8em 1.1em; }
  .swatch { width: 44px; height: 44px; }
}

/* --- Cart badge --------------------------------------------------------- */
.cart-count {
  display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding-inline: 5px;
  background: #17130A; color: var(--gold-hi); border-radius: 100px;
  font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: transform var(--dur) var(--ease);
}
.cart-count[data-empty] { background: rgba(0,0,0,.25); color: #4A3F1E; }
.cart-count.is-bumped { animation: bump 420ms var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } 60% { transform: scale(.94); } 100% { transform: scale(1); } }

/* --- Cart drawer -------------------------------------------------------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.66); opacity: 0; transition: opacity var(--dur) var(--ease); }
.drawer-scrim.is-open { opacity: 1; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--surface); border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0,0,0,.6);
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm); border-bottom: 1px solid var(--line); flex: none; }
.drawer__head h2 { font-size: 1.4rem; }
.drawer__close {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: 50%; color: var(--fg); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.drawer__close:hover { background: var(--surface-2); transform: rotate(90deg); }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--space-sm); }
.drawer__empty { display: grid; gap: var(--space-2xs); color: var(--fg-mute); }
.drawer__empty a { color: var(--gold); }

.cart-lines { list-style: none; padding: 0; display: grid; gap: var(--space-sm); }
.cart-line { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-xs); align-items: start; padding-bottom: var(--space-sm); border-bottom: 1px solid var(--line); }
.cart-line__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--gold)); margin-top: 7px; }
/* Both are inline by default, so the name and meta ran together as one string. */
.cart-line__name { display: block; font-family: var(--font-display); font-size: .95rem; text-transform: uppercase; line-height: 1.25; }
.cart-line__meta { display: block; margin-top: 3px; font-size: .8rem; color: var(--fg-mute); }
.cart-line__right { display: grid; justify-items: end; gap: 6px; }
.cart-line__price { font-variant-numeric: tabular-nums; font-size: .93rem; }
.cart-line__remove { background: none; border: none; padding: 0; font-size: .78rem; color: var(--fg-mute); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cart-line__remove:hover { color: var(--tomatoes-t); }

.drawer__foot { flex: none; padding: var(--space-sm); border-top: 1px solid var(--line); background: var(--surface-2); display: grid; gap: var(--space-xs); }
.drawer__row { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__row strong { font-family: var(--font-display); font-size: 1.3rem; }
.drawer__ship { font-size: .82rem; color: var(--fg-mute); }

/* --- Checkout ----------------------------------------------------------- */
.checkout__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: var(--space-lg); align-items: start; }
.form { display: grid; gap: var(--space-sm); }
.fieldset { border: none; padding: 0; margin: 0; display: grid; gap: var(--space-sm); }
.fieldset legend { padding: 0 0 var(--space-xs); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); }
.field { display: grid; gap: 6px; }
.field label { font-size: .84rem; font-weight: 500; color: var(--fg-soft); }
.field__opt { color: var(--fg-mute); font-weight: 400; }
.field input, .field textarea, .field select {
  padding: .95em 1.05em; background: var(--surface); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: #4A453C; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,163,43,.22); }
.field textarea { resize: vertical; min-height: 118px; }
.field__hint { font-size: .8rem; color: var(--fg-mute); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

.radio-set { display: grid; gap: var(--space-2xs); }
.radio {
  display: flex; align-items: flex-start; gap: var(--space-xs); padding: var(--space-xs);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.radio:hover { border-color: #4A453C; }
.radio:has(input:checked) { border-color: var(--gold); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--gold); }
.radio input { margin-top: 4px; accent-color: var(--gold); flex: none; }
.radio__body { display: grid; gap: 2px; }
.radio__title { font-weight: 600; }
.radio__note { font-size: .85rem; color: var(--fg-mute); }

/* Honeypot. Off-screen rather than display:none — some bots skip hidden fields,
   and this stays out of the tab order and the accessibility tree either way. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.notice {
  padding: var(--space-xs); border-radius: var(--radius); max-width: none;
  font-size: .88rem; line-height: 1.55;
  border-left: 3px solid var(--gold); background: var(--surface-2); color: var(--fg-soft);
}
.notice code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92em; background: rgba(255,255,255,.07); padding: .1em .4em; border-radius: 3px; }
.notice--warn { border-left-color: var(--cheese); }
.notice--err  { border-left-color: var(--tomatoes-t); color: var(--tomatoes-t); }

.summary { position: sticky; top: 108px; display: grid; gap: var(--space-sm); padding: var(--space-sm); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.summary h3 { font-size: 1.2rem; }
.summary__lines { display: grid; gap: var(--space-xs); }
.summary__empty { font-size: .9rem; color: var(--fg-mute); }
.summary__line { display: flex; justify-content: space-between; gap: var(--space-xs); font-size: .9rem; }
.summary__line span:first-child { color: var(--fg-soft); }
.summary__line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__totals { display: grid; gap: var(--space-2xs); margin: 0; padding-top: var(--space-sm); border-top: 1px solid var(--line); }
.summary__totals > div { display: flex; justify-content: space-between; gap: var(--space-xs); }
.summary__totals dt { color: var(--fg-soft); font-size: .9rem; }
.summary__totals dd { margin: 0; font-variant-numeric: tabular-nums; font-size: .9rem; }
.summary__grand { padding-top: var(--space-2xs); border-top: 1px solid var(--line); align-items: baseline; }
.summary__grand dt { font-weight: 600; color: var(--fg) !important; font-size: 1rem !important; }
.summary__grand dd { font-family: var(--font-display); font-size: 1.5rem !important; color: var(--gold); }
.summary__ship-note { font-size: .82rem; color: var(--fg-mute); }

/* --- Trade -------------------------------------------------------------- */
.trade__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl) var(--space-lg); align-items: start; }
.trade__facts { display: grid; gap: var(--space-sm); }
.fact { display: grid; gap: 4px; padding-bottom: var(--space-sm); border-bottom: 1px solid #CFC7B4; }
.fact dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #6E6656; }
.fact dd { margin: 0; font-family: var(--font-display); font-size: 1.3rem; }
.on-paper .field input, .on-paper .field textarea, .on-paper .field select { background: #FFF; color: var(--on-paper); border-color: #CFC7B4; }
.on-paper .field label { color: var(--on-paper-soft); }
.on-paper .fieldset legend, .on-paper .field__hint { color: #6E6656; }
.on-paper .notice { background: #FFF; color: var(--on-paper-soft); }
.on-paper .form__note { font-size: .84rem; color: #6E6656; }

/* --- Footer ------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--fg-mute); padding-block: var(--space-xl) var(--space-md); border-top: 1px solid var(--line); }
.footer a { color: var(--fg-mute); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.footer a:hover, .footer a:focus-visible { color: var(--gold); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-lg); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--line); }
.footer__brand { display: grid; gap: var(--space-xs); }
.footer__brand .brand__mark { color: var(--fg); font-size: 1.7rem; }
.footer__col h3 { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); margin-bottom: var(--space-xs); }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: .6em; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: space-between; padding-top: var(--space-md); font-size: .82rem; }

/* --- Scroll reveal ------------------------------------------------------ */
/* Scoped to .js so a failed main.js can never leave the page blank. */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }

.hero h1 .line > span, .hero [data-hero] { opacity: 0; transform: translateY(100%); animation: rise 850ms var(--ease) forwards; }
.hero [data-hero] { transform: translateY(16px); }
.hero h1 .line:nth-child(1) > span { animation-delay: 100ms; }
.hero h1 .line:nth-child(2) > span { animation-delay: 200ms; }
.hero [data-hero="1"] { animation-delay: 340ms; }
.hero [data-hero="2"] { animation-delay: 430ms; }
.hero [data-hero="3"] { animation-delay: 520ms; }
.hero [data-hero="4"] { animation-delay: 610ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__pack { animation: packIn 1000ms var(--ease) 220ms both; }
@keyframes packIn { from { opacity: 0; transform: scale(.94) translateY(20px); } to { opacity: 1; transform: none; } }

.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__right { order: -1; min-height: 52svh; }
  .hero__left { padding: var(--space-xl) clamp(2rem, 7vw, 7rem) var(--space-xl); }
  .hero__left .torn { display: none; }
  .shop__grid, .checkout__grid, .trade__grid,
  .split, .contact__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 460px; }
  .summary { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --space-2xl: 88px; --space-xl: 60px; }
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links--open {
    display: flex; position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--space-sm);
    padding: var(--space-sm); background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  }
  .nav__links--open .nav__list { flex-direction: column; gap: var(--space-xs); }
  .nav__cta-label { display: none; }
  .brand__touch { display: none; }
  .field-pair { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: auto 1fr; row-gap: var(--space-xs); }
  .product-row .price { grid-column: 1 / -1; }
  .product-row .stepper { grid-column: 1 / -1; justify-self: start; }
  .product__foot { flex-wrap: wrap; }
  .drawer { width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* --- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-stagger] > *,
  .hero h1 .line > span, .hero [data-hero], .hero__pack {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .marquee__track { animation: none; }
}

@media print {
  .nav, .marquee, .drawer, .drawer-scrim { display: none; }
  body { background: #fff; color: #000; }
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}
