/* ============================================================
   Bundtly — minimal luxury bakery site
   ============================================================ */

:root {
  --cream: #f6efe3;
  --vanilla: #fefdf8;
  --butter: #f2d99c;
  --pistachio: #a8b88a;
  --cinnamon: #d9c2a6;
  --choc: #4b2e20;
  --ink: #3a241a;
  --muted: #7c6755;
  --line: rgba(75, 46, 32, .14);
  --line-soft: rgba(75, 46, 32, .08);

  --accent: #a8b88a;           /* shifts with flavour */
  --accent-soft: #e8ecdc;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(.2, .85, .25, 1);
  --shadow: 0 40px 90px -40px rgba(75, 46, 32, .45);
}

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

html {
  scroll-behavior: smooth; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* lock scroll container at the root */
  max-width: 100vw;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* subtle paper grain + warm light */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(242, 217, 156, .35), transparent 55%),
    radial-gradient(100% 80% at -10% 110%, rgba(168, 184, 138, .28), transparent 55%),
    var(--cream);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--choc); color: var(--vanilla); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 1.8rem); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: clamp(.68rem, 1vw, .76rem);
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color .8s var(--ease);
}
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.01em;
}
.section-title em { font-style: italic; }

.section { padding: clamp(5rem, 11vw, 10rem) 0; position: relative; }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head.wide { max-width: 760px; }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--cream);
  transition: opacity 1s var(--ease), visibility 1s;
  overflow: hidden;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

/* warm ambient glow behind the logo */
.preloader-glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 600px; max-height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,217,156,.55) 0%, rgba(217,194,166,.25) 40%, transparent 70%);
  filter: blur(40px);
  animation: preloaderPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes preloaderPulse {
  0%,100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.12); opacity: 1; }
}

.preloader-inner {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0;
  animation: preloaderRise 1s var(--ease) both;
}
@keyframes preloaderRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.preloader-logo {
  height: clamp(64px, 16vw, 120px); width: auto; object-fit: contain;
}

.preloader-tagline {
  margin-top: 1rem;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(.9rem, 2vw, 1.1rem); color: var(--muted); letter-spacing: .01em;
  animation: preloaderRise 1s .25s var(--ease) both;
}

.preloader-bar {
  margin-top: 2rem; width: clamp(100px, 28vw, 200px); height: 1px;
  background: var(--line); overflow: hidden; border-radius: 1px;
  animation: preloaderRise 1s .4s var(--ease) both;
}
.preloader-bar i { display: block; height: 100%; width: 0; background: var(--choc); transition: width .18s linear; }

.preloader-foot {
  position: absolute; bottom: clamp(1.5rem, 4vw, 2.5rem);
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  animation: preloaderRise 1s .55s var(--ease) both;
}

/* hide Stockists in desktop top bar, show only in mobile overlay */
.nav-mobile-only { display: none; }

/* ============================================================
   Scroll progress + cursor
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--choc), var(--accent));
  z-index: 120; transition: width .1s linear;
}

.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; mix-blend-mode: multiply; }
.cursor-dot, .cursor-ring {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--choc); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid var(--choc);
  transition: width .3s var(--ease), height .3s var(--ease), opacity .3s, background .3s;
  opacity: .5;
}
.cursor.hover .cursor-ring { width: 64px; height: 64px; opacity: .9; background: rgba(75,46,32,.06); }
.cursor.hover .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 100;
}
.header-inner {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
  min-height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 58px; width: auto; object-fit: contain; }
.logo-img-footer { height: 64px; filter: brightness(0) invert(1); opacity: .92; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a[data-link] {
  font-size: .9rem; font-weight: 400; color: var(--ink); position: relative; padding: .3rem 0;
}
.nav-links a[data-link]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--choc); transition: width .35s var(--ease);
}
.nav-links a[data-link]:hover::after,
.nav-links a[data-link].active::after { width: 100%; }

.nav-cta {
  padding: .65rem 1.3rem; border: 1px solid var(--choc); border-radius: 100px;
  font-size: .85rem; transition: background .35s var(--ease), color .35s var(--ease);
}
.nav-cta:hover { background: var(--choc); color: var(--vanilla); }

.menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.menu-toggle span { width: 22px; height: 1.5px; background: var(--choc); transition: transform .35s var(--ease), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.7rem; border-radius: 100px;
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn.full { width: 100%; }
.btn-solid { background: var(--choc); color: var(--vanilla); }
.btn-solid:hover { box-shadow: 0 20px 40px -16px rgba(75,46,32,.6); }
.btn-line { border: 1px solid var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--choc); background: rgba(75,46,32,.04); }
.btn-cream { background: var(--cream); color: var(--choc); margin-top: 2rem; }
.btn-cream:hover { box-shadow: 0 20px 40px -16px rgba(0,0,0,.4); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 0 3rem;
  overflow: clip;
}
/* no separate glow div — ambient light lives on hero-stage */
.hero-grid {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 1.8rem);
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(1rem, 4vw, 4rem);
}
.hero-copy { max-width: 620px; padding-top: 5rem; }
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.3rem, 9vw, 7.4rem); line-height: .92; letter-spacing: -.02em;
  margin: 1.4rem 0 1.6rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title em { font-style: italic; font-weight: 400; color: var(--choc); }
.hero-lede {
  max-width: 480px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

.hero-stage {
  position: relative; display: grid; place-items: center;
}
/* faint warm glow — bleeds vertically only, contained horizontally */
.hero-stage::before {
  content: "";
  position: absolute;
  top: -50%; bottom: -50%; left: -10%; right: -10%;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(242,217,156,.3), transparent 72%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .6rem;
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--choc); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ============================================================
   Real cake images
   ============================================================ */
.cake-stage {
  position: relative; display: grid; place-items: center; width: 100%;
}
.cake-img {
  position: relative; z-index: 1;
  width: 100%; max-width: 520px; height: auto;
  filter: drop-shadow(0 32px 48px rgba(75,46,32,.28));
  transition: opacity .35s ease, transform .35s ease;
}
.cake-float { animation: bundtBob 6s ease-in-out infinite; }

@keyframes bundtBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.bundt-caption {
  position: absolute; left: 50%; bottom: -.5rem; transform: translateX(-50%);
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
  transition: opacity .4s var(--ease);
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line); overflow: hidden; padding: 1.3rem 0;
  background: rgba(255,253,248,.4);
}
.marquee-track {
  display: flex; align-items: center; gap: 2.2rem; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-style: italic; font-weight: 300; color: var(--choc);
}
.marquee-track b { color: var(--accent); font-style: normal; transition: color .8s var(--ease); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Manifesto
   ============================================================ */
.manifesto { text-align: center; }
.manifesto .container { max-width: 1000px; }
.manifesto-text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.22; letter-spacing: -.01em;
  margin: 1.6rem auto 0; max-width: 16ch;
  max-width: min(900px, 92%);
}
.manifesto-text .word { display: inline-block; opacity: .14; transition: opacity .5s var(--ease); }
.manifesto-text .word.lit { opacity: 1; }

.signal-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(3rem, 7vw, 5.5rem); border: 1px solid var(--line); background: var(--line);
}
.signal { background: var(--cream); padding: clamp(1.4rem, 3vw, 2.2rem) 1rem; }
.signal strong {
  display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; color: var(--choc);
}
.signal span { display: block; margin-top: .5rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   Flavours
   ============================================================ */
.flavours { transition: background .8s var(--ease); }
.flavour-stage {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
}
.flavour-visual {
  position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 42%, var(--accent-soft), transparent 70%);
  transition: background .8s var(--ease);
}

.flavour-detail { max-width: 480px; }
.flavour-index { font-size: .82rem; letter-spacing: .2em; color: var(--muted); }
.flavour-index b { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--choc); }
.flavour-name {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1; letter-spacing: -.01em; margin: .8rem 0 1.8rem; min-height: 1.1em;
}
.flavour-desc { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); line-height: 1.75; min-height: 5.2em; }
.flavour-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 2.4rem; }
.flavour-tags li {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 100px;
}

.flavour-picker { display: grid; gap: .5rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.picker {
  display: flex; align-items: center; gap: .85rem; text-align: left;
  padding: .85rem 1rem; border-radius: 14px; font-size: 1rem; color: var(--muted);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.picker .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 4px rgba(255,253,248,.7); transition: transform .35s var(--ease); }
.picker:hover { color: var(--ink); transform: translateX(6px); }
.picker.active { background: var(--vanilla); color: var(--choc); box-shadow: var(--shadow); }
.picker.active .dot { transform: scale(1.25); }

/* ============================================================
   Craft
   ============================================================ */
.craft-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.craft-step { background: var(--cream); padding: clamp(1.8rem, 3vw, 2.6rem); display: grid; gap: .7rem; align-content: start; }
.craft-num { font-family: var(--serif); font-size: 1rem; color: var(--accent); transition: color .8s var(--ease); }
.craft-step h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.craft-step p { font-size: .96rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   Stockists (dark)
   ============================================================ */
.stockists { background: var(--choc); color: var(--cream); border-radius: 36px 36px 0 0; }
.stockists .eyebrow { color: var(--butter); }
.stockists .section-title { color: var(--vanilla); }
.stockist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.stockist-copy .section-title { margin: 1.1rem 0 1.6rem; }
.stockist-lede { color: rgba(254,253,248,.72); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.75; max-width: 460px; }
.stockist-list { display: grid; gap: 0; }
.stockist-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
  padding: 1.8rem 0; border-top: 1px solid rgba(254,253,248,.18);
}
.stockist-item:last-child { border-bottom: 1px solid rgba(254,253,248,.18); }
.stockist-item span { font-family: var(--serif); color: var(--butter); font-size: 1.1rem; }
.stockist-item h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2.2vw, 1.9rem); margin-bottom: .35rem; color: var(--vanilla); }
.stockist-item p { color: rgba(254,253,248,.66); font-size: .98rem; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 1.1rem;
}
.g-item {
  position: relative; overflow: hidden; border-radius: 18px; background: var(--vanilla);
  box-shadow: 0 30px 60px -40px rgba(75,46,32,.5);
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.g-item:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--vanilla); background: rgba(75,46,32,.55); backdrop-filter: blur(6px);
  padding: .5rem .85rem; border-radius: 100px;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.g-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* ============================================================
   Forms (waitlist + wholesale)
   ============================================================ */
.waitlist { background: rgba(255,253,248,.5); border-block: 1px solid var(--line); }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.action-copy .section-title { margin: 1.1rem 0 1.4rem; }
.action-lede { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.75; max-width: 420px; }

.form-card {
  display: grid; gap: 1rem; padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--vanilla); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-wrap { display: grid; gap: .45rem; }
.field-wrap span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink);
  outline: none; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  font-family: var(--sans);
}
textarea.field { min-height: 120px; resize: vertical; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c6755' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field:focus { border-color: var(--choc); background: var(--vanilla); box-shadow: 0 0 0 4px rgba(75,46,32,.08); }
.form-note { display: none; font-size: .9rem; color: var(--accent); line-height: 1.5; }
.form-note.show { display: block; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--choc); color: var(--cream); padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(254,253,248,.16); }
.footer-brand .logo-word { color: var(--vanilla); font-size: clamp(2.4rem, 6vw, 3.6rem); }
.footer-brand p { color: rgba(254,253,248,.6); max-width: 380px; margin-top: .8rem; }
.footer-contact { display: flex; flex-direction: column; gap: .35rem; margin-top: 1.2rem; }
.footer-contact a { color: rgba(254,253,248,.78); font-size: .92rem; transition: color .3s; width: max-content; }
.footer-contact a:hover { color: var(--butter); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 2rem; align-content: start; }
.footer-nav a { color: rgba(254,253,248,.78); font-size: .95rem; transition: color .3s; width: max-content; }
.footer-nav a:hover { color: var(--butter); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; font-size: .82rem; color: rgba(254,253,248,.5); letter-spacing: .04em; }

/* ============================================================
   Mobile flavour tab strip (hidden on desktop)
   ============================================================ */
.flavour-tab-strip {
  display: none;
  gap: .55rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: .25rem;
  margin-bottom: 2rem;
}
.flavour-tab-strip::-webkit-scrollbar { display: none; }

.ftab {
  display: inline-flex; align-items: center; gap: .5rem; flex: none;
  white-space: nowrap; padding: .55rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 100px;
  font-size: .88rem; color: var(--muted); background: transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.ftab.active { background: var(--choc); color: var(--vanilla); border-color: var(--choc); }
.fdot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.ftab.active .fdot { display: none; }

/* ============================================================
   Reveal animations
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-line] { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
[data-reveal-line].in { transform: none; }

/* ============================================================
   Responsive
   ============================================================ */

/* --- Tablet (≤ 980px) --- */
@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 5rem; padding-bottom: 2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-stage { order: -1; margin-inline: auto; width: 80%; max-width: 420px; }
  .hero-stage::before { top: -40%; bottom: -40%; left: 0; right: 0; }
  .hero-copy { max-width: 100%; text-align: center; }
  .hero-lede { max-width: 100%; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .scroll-cue { display: none; }

  .flavour-stage { grid-template-columns: 1fr; gap: 2rem; }
  .flavour-visual { max-width: 340px; margin-inline: auto; width: 100%; order: -1; }
  .flavour-detail { max-width: 100%; }
  .flavour-desc { min-height: 0; }
  .flavour-name { font-size: clamp(2.2rem, 6vw, 3rem); }

  .stockist-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .action-grid { grid-template-columns: 1fr; gap: 2rem; }
  .craft-steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(3, max-content); gap: .8rem 2rem; }
}

/* --- Mobile (≤ 760px) --- */
@media (max-width: 760px) {
  /* full-screen overlay menu */
  .nav-links {
    position: fixed; inset: 0; z-index: 90;
    flex-direction: column; justify-content: center; align-items: center; gap: 1.4rem;
    background: var(--cream); transform: translateY(-100%); transition: transform .55s var(--ease);
    padding: 2rem;
  }
  .nav-links.open { transform: none; }
  .nav-links a[data-link] { font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .nav-cta { margin-top: .6rem; padding: .85rem 2rem; font-size: 1rem; }
  .menu-toggle { display: flex; z-index: 100; }
  .nav-cta { display: none; }
  .scroll-progress { display: none; }
  .nav-mobile-only { display: block; }   /* show Stockists in mobile overlay only */

  /* flavour tabs — show compact strip, hide verbose picker */
  .flavour-tab-strip { display: flex; }
  .flavour-picker { display: none; }

  /* hero */
  .hero { padding-top: 4rem; }
  .hero-stage { width: 86%; max-width: 340px; }
  .hero-stage::before { top: -30%; bottom: -30%; left: 0; right: 0; }
  .hero-title { margin-block: 1rem 1.2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; }

  /* manifesto */
  .manifesto-text { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .signal-row { grid-template-columns: 1fr 1fr; }
  .signal { padding: 1.2rem .8rem; }
  .signal strong { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .signal span { font-size: .7rem; }

  /* flavours */
  .flavour-visual { max-width: 260px; }
  .flavour-name { font-size: clamp(2rem, 7vw, 2.6rem); }
  .flavour-picker { gap: .4rem; }
  .picker { font-size: .9rem; padding: .7rem .85rem; }

  /* craft */
  .craft-steps { grid-template-columns: 1fr; }
  .craft-step { padding: 1.4rem; }

  /* stockists */
  .stockists { border-radius: 24px 24px 0 0; }
  .stockist-item h4 { font-size: clamp(1.15rem, 4vw, 1.45rem); }
  .stockist-item p { font-size: .92rem; }

  /* forms */
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.4rem; border-radius: 16px; }
  .field { min-height: 48px; padding: .75rem .9rem; }

  /* footer */
  .footer-contact { flex-direction: column; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; gap: .5rem; }
}

/* --- Small phones (≤ 420px) --- */
@media (max-width: 420px) {
  .logo-img { height: 46px; }
  .hero-stage { width: 90%; }
  .hero-lede { font-size: .98rem; }
  .section-title { font-size: clamp(1.9rem, 9.5vw, 2.8rem); }
  .signal strong { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .picker { font-size: .85rem; padding: .65rem .8rem; }
  .footer-inner { gap: 1.4rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-line] { opacity: 1 !important; transform: none !important; }
  .manifesto-text .word { opacity: 1 !important; }
  .cursor { display: none; }
}
