/* ============================================================
  THE BAKER TREATS - main stylesheet
  Luxury chocolate brand. Warm, premium, minimal-but-rich.
  ============================================================ */

:root {
  --cocoa-900: #1a0e05;
  --cocoa-800: #2a1608;
  --cocoa-700: #3F1E03;       /* primary dark brown */
  --cocoa-600: #5a2e10;
  --caramel:   #7a4a24;
  --gold:      #C18F59;       /* gold accent */
  --gold-soft: #d6ae84;
  --cream:     #EFB884;       /* light cream bg */
  --paper:     #f5e9d8;
  --paper-2:   #ecdcc1;
  --ivory:     #fbf5ea;
  --line:      rgba(63, 30, 3, 0.18);
  --line-soft: rgba(63, 30, 3, 0.08);

  --serif:   "Philosopher", "Cormorant Garamond", Georgia, serif;
  --display: "Philosopher", "Cormorant Garamond", Georgia, serif;
  --sans:    "Inter Tight", "Inter", system-ui, sans-serif;
  --mono:    "Poppins", "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);

  /* Hero headline sizing (keeps hero titles proportional across pages) */
  --hero-min: 36px;
  --hero-vw: 6.2vw;
  --hero-max: 80px;
  --hero-mobile-min: 32px;
  --hero-mobile-vw: 9.5vw;
  --hero-mobile-max: 64px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--cocoa-900);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clipped; }

body {
  overflow-x: hidden;
}
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
}
@media (max-width: 960px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .btn, .product-card, .tasting__cell, .field input, .field textarea, .field select, .filterbar button { cursor: pointer; }
}

/* Grain overlay - adds quiet warmth */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.06 0 0 0 0 0.02 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--cocoa-700); color: var(--cream); }

/* --------- Typography --------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cocoa-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px; background: var(--cocoa-700);
  display: inline-block;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.005em; }
h1 { font-size: clamp(40px, 6.2vw, 92px); line-height: 1.04; }
h2 { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.08; }
h3 { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; }
h1 em, h2 em, h3 em { font-family: var(--display); font-weight: 400; font-style: italic; color: var(--caramel); }
.serif-italic { font-style: italic; color: var(--caramel); }

p { max-width: 56ch; }
.lead { font-size: clamp(16px, 1.2vw, 19px); color: var(--cocoa-800); }

/* Reveal helpers (used by GSAP) */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: inline-block; will-change: transform; }
.fade-up { opacity: 0; transform: translateY(28px); will-change: transform, opacity; }

/* --------- Layout --------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { position: relative; }

/* --------- Cursor --------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  /* difference blend inverts against the background, so the cursor
     stays visible on both light and dark sections */
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #F5E9D8;
  border-radius: 50%;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid #F5E9D8;
  border-radius: 50%;
  transition: width .25s var(--ease-out), height .25s var(--ease-out), background .25s var(--ease-out), opacity .25s var(--ease-out);
}
.cursor-ring.is-hover { width: 64px; height: 64px; background: rgba(193, 143, 89, 0.18); }
@media (max-width: 820px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* --------- Navbar --------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 18px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  transition: background .4s var(--ease-out), padding .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(245, 233, 216, 0.92);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  padding-top: 10px; padding-bottom: 10px;
  border-bottom-color: var(--line-soft);
}
.nav__brand {
  display: inline-flex; align-items: center;
  height: 44px;
}
.nav__logo {
  height: 44px; width: auto; display: block;
  transition: height .4s var(--ease-out);
}
.nav.is-stuck .nav__logo { height: 36px; }
.nav__logo--light { display: none; }
.nav__menu {
  display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 36px);
  font-family: var(--sans);
  font-size: 13.5px; letter-spacing: 0.04em;
}
.nav__menu a {
  position: relative;
  padding: 6px 2px;
  color: var(--cocoa-800);
  white-space: nowrap;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--cocoa-700);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav__menu a:hover::after, .nav__menu a.is-active::after {
  transform: scaleX(1); transform-origin: left;
}
.nav__cta { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }

.nav__hamburger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer; padding: 0;
  transition: background .3s var(--ease-out);
}
.nav__hamburger span {
  width: 18px; height: 1.5px; background: var(--cocoa-700); display: block;
  transition: transform .35s var(--ease-out), opacity .25s var(--ease-out);
}
.nav__hamburger.is-active { background: var(--cocoa-700); border-color: var(--cocoa-700); }
.nav__hamburger.is-active span { background: var(--paper); }
.nav__hamburger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__menu { display: none; }
  .nav__hamburger { display: inline-flex; }
}
@media (max-width: 520px) {
  .nav__logo { height: 38px; }
  .nav.is-stuck .nav__logo { height: 32px; }
}

/* --------- Drawer (mobile menu) --------- */
html.no-scroll, html.no-scroll body { overflow: hidden; }
.drawer {
  position: fixed; inset: 0;
  z-index: 9500;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(26,14,5,0.55);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform .5s var(--ease-out);
  box-shadow: -30px 0 60px -20px rgba(26,14,5,0.35);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer__brand img { height: 38px; width: auto; display: block; }
.drawer__close {
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cocoa-700);
}
.drawer__nav {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 12px 0;
  overflow-y: auto;
}
.drawer__nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 18px 28px;
  font-family: var(--display);
  font-size: 32px;
  color: var(--cocoa-900);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease-out), padding .3s var(--ease-out);
}
.drawer__nav a .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--gold); min-width: 24px;
}
.drawer__nav a:hover { background: var(--paper-2); padding-left: 36px; }
.drawer__nav a.is-active { color: var(--caramel); font-style: italic; }
.drawer__foot {
  padding: 22px 28px;
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cocoa-700);
  border-top: 1px solid var(--line-soft);
}

/* --------- Buttons --------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--cocoa-700);
  background: var(--cocoa-700); color: var(--cream);
  cursor: none;
  position: relative; overflow: hidden;
  transition: color .4s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
  z-index: 0;
}
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--cocoa-900); }
.btn .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.btn:hover .dot { background: var(--cocoa-900); }

.btn--ghost { background: transparent; color: var(--cocoa-700); }
.btn--ghost::before { background: var(--cocoa-700); }
.btn--ghost:hover { color: var(--cream); }
.btn--ghost .dot { background: var(--cocoa-700); }
.btn--ghost:hover .dot { background: var(--cream); }

.magnetic { display: inline-block; will-change: transform; }

/* --------- HERO --------- */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(239,184,132,0.5), transparent 60%),
    radial-gradient(80% 100% at 0% 100%, rgba(193,143,89,0.35), transparent 50%),
    var(--paper);
  overflow: hidden;
}
.hero__title {
  font-size: clamp(var(--hero-min), var(--hero-vw), var(--hero-max));
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 48ch;
}

@media (max-width: 560px) {
  .hero__title {
    font-size: clamp(var(--hero-mobile-min), var(--hero-mobile-vw), var(--hero-mobile-max));
    line-height: 1.06;
  }
}
.hero__title em { font-style: italic; color: var(--caramel); }
.hero__title .swirl {
  display: inline-block;
  width: clamp(44px, 6vw, 84px); height: clamp(44px, 6vw, 84px);
  vertical-align: middle;
  background: var(--cocoa-700);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 10c22 0 40 18 40 40S72 90 50 90 10 72 10 50c0-15 9-26 22-26s20 9 20 19-7 16-15 16' fill='none' stroke='black' stroke-width='6' stroke-linecap='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 10c22 0 40 18 40 40S72 90 50 90 10 72 10 50c0-15 9-26 22-26s20 9 20 19-7 16-15 16' fill='none' stroke='black' stroke-width='6' stroke-linecap='round'/></svg>") center / contain no-repeat;
}
.hero__meta {
  display: flex; gap: 28px; margin-top: 28px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cocoa-700);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .pip { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; display: inline-block; }
.hero__cta { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero__art {
  position: relative;
  align-self: stretch;
  min-height: 60vh;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 12px;
}
.hero__plate {
  position: relative;
  border-radius: 999px;
  overflow: hidden;
  background: var(--cocoa-700);
  grid-column: 1 / span 4;
  grid-row: 1 / span 5;
}
.hero__plate .layer { position: absolute; inset: 0; }
.product-card__media .product-card__img { position: absolute; inset: 0; }
.exp-stage__bg { position: absolute; inset: 0; }
.hero__plate-2 {
  grid-column: 4 / span 3;
  grid-row: 3 / span 4;
  background: var(--gold);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(122,74,36,0.55);
  display: grid;
  place-items: center;
}
.hero__plate-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
.hero__chip {
  grid-column: 5 / span 2;
  grid-row: 1 / span 2;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cocoa-700);
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero__chip strong { font-family: var(--serif); font-size: 38px; letter-spacing: -0.01em; text-transform: none; color: var(--cocoa-900); font-weight: 500; }
.hero__marquee {
  position: absolute; left: 0; right: 0; bottom: 24px;
  white-space: nowrap; overflow: hidden;
  display: flex; gap: 32px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  color: var(--cocoa-700);
  opacity: 0.85;
}
.hero__marquee .track { display: flex; gap: 32px; padding-right: 32px; will-change: transform; }
.hero__marquee .track span::after {
  content: "✦"; color: var(--gold); margin-left: 32px; font-size: 0.6em; vertical-align: middle;
}

/* Make page hero titles use the central hero sizing variables so
   headlines remain proportional to the homepage hero across pages. */
.page-hero h1,
.hero__title {
  font-size: clamp(var(--hero-min), var(--hero-vw), var(--hero-max));
  line-height: 1.04;
}
@media (max-width: 520px) {
  .page-hero h1,
  .hero__title {
    font-size: clamp(var(--hero-mobile-min), var(--hero-mobile-vw), var(--hero-mobile-max));
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }
  /* drop the 6x6 grid: it stretched the plates into tall pills.
     Lay the two plates side-by-side so the art stays compact. */
  .hero__art {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    min-height: 0;
    margin-top: 24px;
    padding-bottom: 24px;
  }
  .hero__plate {
    width: 58%;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    flex: 0 0 auto;
  }
  .hero__plate-2 {
    width: 38%;
    aspect-ratio: 1 / 1;
    margin: 0 0 0 -12%;   /* slight overlap onto the big plate */
    align-self: flex-end;
    flex: 0 0 auto;
    transform: none;
  }
}

@media (max-width: 520px) {
  .hero__art { padding-bottom: 12px; }
  .hero__plate  { width: 60%; }
  .hero__plate-2 { width: 40%; margin-left: -14%; }
}

/* --------- Story / 2-col --------- */
.story {
  padding: clamp(80px, 12vw, 160px) 0;
  background:
    linear-gradient(to bottom, var(--paper), var(--ivory));
}
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cocoa-700);
  box-shadow: 0 60px 80px -40px rgba(26,14,5,0.4);
}
.story__visual .layer { position: absolute; inset: 0; }
.story__caption {
  position: absolute; left: 24px; bottom: 24px;
  background: var(--paper); color: var(--cocoa-900);
  padding: 14px 18px; border-radius: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex; gap: 14px; align-items: center;
}
.story__caption .num { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--cocoa-700); text-transform: none; letter-spacing: 0; }
.story h2 .ital { font-style: italic; color: var(--caramel); }
.story__copy { padding-right: 20px; }
.story__copy p + p { margin-top: 18px; }
.story__signature {
  margin-top: 40px;
  display: flex; align-items: center; gap: 18px;
}
.story__signature svg { color: var(--cocoa-700); }
.story__signature .who {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cocoa-700);
}
@media (max-width: 900px) { .story__grid { grid-template-columns: 1fr; gap: 48px; } }

/* --------- Section heading row --------- */
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 40px; margin-bottom: 56px;
}
.section-head h2 { max-width: 14ch; }
.section-head p { color: var(--cocoa-700); }

/* --------- Products grid --------- */
.products {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--paper);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}
.product-card {
  display: block; cursor: none;
  position: relative;
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cocoa-700);
  transition: transform .7s var(--ease-out);
}
.product-card:hover .product-card__media { transform: translateY(-6px); }
.product-card__img { position: absolute; inset: 0; transition: transform 1s var(--ease-out); }
.product-card:hover .product-card__img { transform: scale(1.06); }
.product-card__badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--paper); color: var(--cocoa-700);
  padding: 6px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
}
.product-card__price {
  position: absolute; right: 16px; bottom: 16px;
  background: var(--cocoa-700); color: var(--cream);
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
}
.product-card__meta {
  margin-top: 18px;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}
.product-card__title {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.product-card__title .ital { font-style: italic; font-weight: 400; color: var(--caramel); font-size: 0.85em; }
.product-card__origin {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cocoa-700); white-space: nowrap;
}
.product-card__notes {
  margin-top: 8px; font-size: 14px; color: var(--cocoa-800);
}
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* --------- Process preview (timeline) --------- */
.process {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--cocoa-900);
  color: var(--paper);
  position: relative; overflow: hidden;
}
.process::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(193,143,89,0.18), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(239,184,132,0.12), transparent 60%);
  pointer-events: none;
}
.process .container { position: relative; }
.process h2 { color: var(--paper); }
.process .eyebrow { color: var(--gold); }
.process .eyebrow::before { background: var(--gold); }
.process__steps {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,233,216,0.18);
  border-bottom: 1px solid rgba(245,233,216,0.18);
}
.process__step {
  padding: 36px 28px 36px 0;
  border-right: 1px solid rgba(245,233,216,0.12);
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
}
.process__step:last-child { border-right: 0; }
.process__step .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--gold);
}
.process__step h3 { color: var(--paper); font-family: var(--serif); font-weight: 500; }
.process__step p { color: rgba(245,233,216,0.72); font-size: 14.5px; }
.process__step .icon {
  width: 56px; height: 56px;
  border: 1px solid rgba(245,233,216,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
@media (max-width: 900px) { .process__steps { grid-template-columns: 1fr 1fr; } .process__step:nth-child(2) { border-right: 0; } .process__step { border-bottom: 1px solid rgba(245,233,216,0.12); } }
@media (max-width: 560px) { .process__steps { grid-template-columns: 1fr; } .process__step { border-right: 0; } }

/* --------- Mascot section: BEKO --------- */
.mascot {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--cream);
  position: relative; overflow: hidden;
}
.mascot__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.mascot__visual {
  position: relative;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.mascot__ring {
  position: absolute; inset: 6%;
  border: 1px dashed var(--cocoa-700);
  border-radius: 50%;
  animation: rotate 60s linear infinite;
}
.mascot__ring--inner { inset: 18%; border-color: var(--gold); animation-duration: 80s; animation-direction: reverse; }
@keyframes rotate { to { transform: rotate(360deg); } }
.mascot__beko {
  width: 56%; aspect-ratio: 1;
  position: relative;
  filter: drop-shadow(0 30px 40px rgba(63,30,3,0.25));
}
.mascot__copy h2 { max-width: 14ch; }
.mascot__quote {
  margin-top: 24px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4;
  color: var(--cocoa-800);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  max-width: 38ch;
}
.mascot__chips {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.chip {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--cocoa-700); color: var(--cocoa-700);
}
.chip--solid { background: var(--cocoa-700); color: var(--cream); }
@media (max-width: 900px) { .mascot__inner { grid-template-columns: 1fr; } }

/* --------- Experience CTA strip --------- */
.experience-strip {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--cocoa-700);
  color: var(--paper);
  position: relative; overflow: hidden;
}
.experience-strip__inner {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 48px; align-items: end;
}
.experience-strip h2 {
  color: var(--paper);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
}
.experience-strip h2 em { color: var(--gold); font-style: italic; }
.experience-strip .eyebrow { color: var(--gold); }
.experience-strip .eyebrow::before { background: var(--gold); }
.experience-strip__cta {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.experience-strip .btn { background: var(--gold); border-color: var(--gold); color: var(--cocoa-900); }
.experience-strip .btn::before { background: var(--paper); }
.experience-strip .btn .dot { background: var(--cocoa-900); }
.experience-strip .btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.experience-strip .btn--ghost::before { background: var(--paper); }
.experience-strip .btn--ghost:hover { color: var(--cocoa-700); }
.experience-strip .btn--ghost .dot { background: var(--paper); }
@media (max-width: 800px) { .experience-strip__inner { grid-template-columns: 1fr; } }

/* --------- Footer --------- */
.footer {
  background: var(--cocoa-900);
  color: var(--paper);
  padding: 80px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,233,216,0.16);
}
.footer__brand p { max-width: 38ch; color: rgba(245,233,216,0.7); }
.footer__col h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 500;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(245,233,216,0.78); transition: color .3s; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  margin-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,233,216,0.55);
}
.footer__bottom a { color: inherit; transition: color 0.3s var(--ease-out); }
.footer__bottom a:hover { color: var(--gold); }
.footer__social { display: inline-flex; gap: 16px; align-items: center; }
.footer__social a { display: inline-flex; opacity: 0.75; transition: opacity 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.footer__social a:hover { opacity: 1; color: var(--gold); }
.footer__giant { display: none; }
.footer__brand .footer__logo img { height: 56px; width: auto; display: block; }
.footer__brand p { margin-top: 18px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; } }

/* --------- Reusable: page hero (interior pages) --------- */
.page-hero {
  padding: 180px var(--pad) 80px;
  padding-top: 100px;
  padding-bottom: 24px;
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(239,184,132,0.55), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(var(--hero-min), var(--hero-vw), var(--hero-max));
  line-height: 1.04;
}
.page-hero h1 em { font-style: italic; color: var(--caramel); }
.page-hero__meta {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: 10px; gap: 24px;
  flex-direction: row-reverse;
}
.page-hero__breadcrumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cocoa-700);
}

/* --------- About / process / contact / experience specifics --------- */
.kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 60px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.kpi { display: flex; flex-direction: column; gap: 6px; }
.kpi__num { font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); line-height: 1; color: var(--cocoa-700); }
.kpi__num em { font-style: italic; color: var(--caramel); }
.kpi__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cocoa-800); }
@media (max-width: 800px) { .kpi-row { grid-template-columns: 1fr 1fr; } }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  padding: clamp(24px, 4vw, 48px) 0;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__media { aspect-ratio: 4/5; background: var(--cocoa-700); border-radius: 4px; overflow: hidden; position: relative; }
.split__copy h2 { margin-bottom: 20px; }
.split__copy p { color: var(--cocoa-800); }
.split__copy p + p { margin-top: 16px; }
@media (max-width: 900px) { .split, .split--reverse { grid-template-columns: 1fr; gap: 40px; } }

/* Process page: deep timeline */
.timeline {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--paper);
}
.timeline__row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.timeline__row:last-child { border-bottom: 1px solid var(--line-soft); }
.timeline__num {
  font-family: var(--serif); font-size: 56px; color: var(--gold); line-height: 1;
}
.timeline__title { font-family: var(--serif); font-size: 32px; font-weight: 500; }
.timeline__title em { font-style: italic; color: var(--caramel); }
.timeline__meta {
  margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cocoa-700);
}
.timeline__meta span { display: inline-flex; align-items: center; gap: 8px; }
.timeline__meta .pip { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; display: inline-block; }
.timeline__visual {
  aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: var(--cocoa-700);
}
@media (max-width: 800px) {
  .timeline__row { grid-template-columns: 60px 1fr; }
  .timeline__visual { grid-column: 1 / -1; }
}

/* Contact page */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px;
  padding: clamp(60px, 10vw, 120px) 0;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; position: relative; }
.field label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cocoa-700);
}
.field input, .field textarea, .field select {
  font-family: var(--serif);
  font-size: 19px;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--cocoa-900);
  outline: none;
  transition: border-color .3s var(--ease-out);
  cursor: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--cocoa-700); }
.field--error input, .field--error textarea { border-bottom-color: #b03a1a; }
.field__hint { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #b03a1a; min-height: 14px; }
.field__hint.is-hidden { visibility: hidden; }
.contact-aside {
  background: var(--cocoa-900); color: var(--paper);
  padding: 48px; border-radius: 4px;
  display: flex; flex-direction: column; gap: 28px;
}
.contact-aside h3 { color: var(--paper); }
.contact-aside .row { display: flex; flex-direction: column; gap: 6px; }
.contact-aside .row span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.contact-aside .row strong { font-family: var(--serif); font-weight: 500; font-size: 22px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Experience page */
.exp-stage {
  height: 100vh;
  position: sticky; top: 0;
  display: grid; place-items: center;
  background: var(--cocoa-900); color: var(--paper);
  overflow: hidden;
}
.exp-stage__bg { position: absolute; inset: 0; opacity: 0.5; }
.exp-stage__bean {
  position: relative;
  width: clamp(180px, 24vw, 360px);
  aspect-ratio: 1 / 1.4;
  background: linear-gradient(135deg, #4d2a10, #1a0e05);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: inset -20px -30px 60px rgba(0,0,0,0.5), inset 30px 20px 50px rgba(193,143,89,0.18), 0 60px 80px -30px rgba(0,0,0,0.6);
}
.exp-stage__bean::before {
  content: ""; position: absolute; left: 50%; top: 8%; bottom: 8%;
  width: 1.5px; background: rgba(0,0,0,0.6); transform: translateX(-50%);
}
.exp-stage__caption {
  position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%);
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 30px);
  text-align: center; max-width: 22ch; color: var(--paper);
}
.exp-stage__step-label {
  position: absolute; top: 14%; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold);
}
.exp-spacer { height: 300vh; }

.tasting {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--paper);
}
.tasting__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
}
.tasting__cell {
  background: var(--paper);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  cursor: none;
  transition: background .4s var(--ease-out);
}
.tasting__cell:hover { background: var(--paper-2); }
.tasting__cell .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--caramel); }
.tasting__cell h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.tasting__cell h3 em { font-style: italic; color: var(--caramel); }
.tasting__cell p { font-size: 14px; color: var(--cocoa-800); }
.tasting__cell .swatch {
  width: 100%; aspect-ratio: 16/9; border-radius: 2px; margin-top: 6px;
  background: linear-gradient(135deg, var(--cocoa-700), var(--cocoa-900));
}
.tasting__cell:nth-child(2) .swatch { background: linear-gradient(135deg, #5a2e10, #7a4a24); }
.tasting__cell:nth-child(3) .swatch { background: linear-gradient(135deg, #7a4a24, #C18F59); }
.tasting__cell:nth-child(4) .swatch { background: linear-gradient(135deg, #C18F59, #d6ae84); }
.tasting__cell:nth-child(5) .swatch { background: linear-gradient(135deg, #d6ae84, #f5e9d8); }
@media (max-width: 900px) { .tasting__grid { grid-template-columns: 1fr 1fr; } }

/* --------- Filter bar (Products) --------- */
.filterbar {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-soft);
}
.filterbar button {
  background: transparent; border: 1px solid var(--cocoa-700);
  color: var(--cocoa-700);
  padding: 10px 18px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: none; transition: all .3s var(--ease-out);
}
.filterbar button.is-active, .filterbar button:hover { background: var(--cocoa-700); color: var(--cream); }

/* --------- Misc --------- */
.divider {
  height: 1px; background: var(--line-soft); margin: 0 var(--pad);
}
.spinner { animation: rotate 8s linear infinite; }

/* --------- Toast (contact form success) --------- */
.toast {
  position: fixed; right: 24px; bottom: 24px;
  background: var(--cocoa-900); color: var(--paper);
  padding: 16px 20px; border-radius: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  border-left: 3px solid var(--gold);
  transform: translateY(20px); opacity: 0;
  transition: all .4s var(--ease-out);
  z-index: 9500; pointer-events: none;
}
.toast.is-show { transform: translateY(0); opacity: 1; }

/* --------- REEL (scroll-scrubbed video + scroll-synced step text) ---------
   Dark hero-like band. Two-col on desktop: text left, video right with a
   small overlap. Radial mask softens the section corners into the page.    */
.reel {
  position: relative;
  background: #0a0502;
  color: var(--paper);
  isolation: isolate;
  /* NO overflow:hidden - would break position:sticky on the pin below. */
}

/* Particle canvas - gold dust drifting upward, over video AND bg */
.reel__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;            /* sit above text + video, screen-blend keeps text readable */
  mix-blend-mode: screen;
  opacity: 0.9;
}

/* Track defines scroll length; pin holds the hero at viewport center */
.reel__track {
  position: relative;
  height: 360vh;
  z-index: 2;
}
.reel__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #0a0502;
}

/* Full-bleed background video */
.reel .reel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  background: #0a0502;
}

/* Desktop-only flat dark overlay - masks upscale blur from 720p portrait video.
   Hidden on mobile where source resolution matches viewport size.            */
.reel__darken {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(8, 4, 1, 0.50);
}
@media (min-width: 769px) {
  .reel__darken { display: block; }
}

/* Vignette: darkens edges so overlaid text is readable */
.reel__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,5,2,0.78) 0%, rgba(10,5,2,0.55) 28%, rgba(10,5,2,0.18) 55%, rgba(10,5,2,0.0) 80%),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(10,5,2,0.55) 100%),
    linear-gradient(180deg, rgba(10,5,2,0.4) 0%, transparent 22%, transparent 75%, rgba(10,5,2,0.55) 100%);
}

/* Foreground text overlay - desktop: left half; mobile: full */
.reel__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vh, 90px) var(--pad);
  pointer-events: none;
}
.reel__inner {
  position: relative;
  width: 100%;
  max-width: 560px;
  pointer-events: auto;
}
.eyebrow--light { color: var(--gold); }
.eyebrow--light::before { background: var(--gold); }

.reel__title {
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.05;
  font-weight: 700;
  color: var(--paper);
  margin-top: 22px;
  letter-spacing: -0.005em;
}
.reel__title em { font-style: italic; color: var(--gold-soft); font-weight: 400; }

/* Step stack - all stacked in same spot, only active visible */
.reel__steps {
  position: relative;
  margin-top: clamp(28px, 4vw, 50px);
  min-height: 200px;
  list-style: none;
}
.reel__step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.7s var(--ease-out),
    filter 0.55s var(--ease-out);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}
.reel__step.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}
.reel__step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
}
.reel__step-num::before {
  content: "";
  width: 28px; height: 1px; background: var(--gold);
  display: inline-block;
}
.reel__step-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--paper);
  margin-top: 4px;
}
.reel__step-title em { font-style: italic; color: var(--gold); font-weight: 400; }
.reel__step-copy {
  font-size: clamp(14px, 1vw, 16px);
  color: rgba(245,233,216,0.72);
  line-height: 1.6;
  max-width: 42ch;
  margin-top: 4px;
}

/* Progress rail under steps */
.reel__progress {
  position: relative;
  height: 1.5px;
  background: rgba(245,233,216,0.14);
  margin-top: clamp(30px, 4vw, 48px);
  width: 100%;
  max-width: 280px;
  overflow: hidden;
  border-radius: 2px;
}
.reel__progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.12s linear;
}

.reel__hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,233,216,0.55);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.reel__hint-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: reel-hint-pulse 1.8s ease-in-out infinite;
}
@keyframes reel-hint-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.45; }
}

/* Tablet */
@media (max-width: 1024px) {
  .reel__inner { max-width: 480px; }
}

/* Mobile - text takes full width, vignette stronger for contrast */
@media (max-width: 768px) {
  .reel__overlay {
    align-items: flex-end;
    padding-bottom: 60px;
  }
  .reel__inner { max-width: 100%; }
  .reel__vignette {
    background:
      linear-gradient(180deg, rgba(10,5,2,0.45) 0%, transparent 25%, transparent 55%, rgba(10,5,2,0.85) 100%),
      radial-gradient(ellipse 100% 100% at 50% 50%, transparent 30%, rgba(10,5,2,0.5) 100%);
  }
  .reel__track { height: 300vh; }
}
@media (max-width: 480px) {
  .reel__track { height: 260vh; }
  .reel__overlay { padding: 40px 24px 50px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
