/* ==========================================================================
   Hungry Tiger — Design System
   Turmeric-bright graffiti on a tandoor wall.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@400;500;700&family=Inter:wght@400;500;700&display=swap');

:root {
  /* Colors */
  --color-tiger-gold: #faae33;
  --color-ember-rust: #823513;
  --color-saffron-glow: #9f531b;
  --color-dark-spice: #402011;
  --color-charred-clove: #281006;
  --color-cardamom-brown: #6b2e12;
  --color-chili-red: #d1255c;

  /* Fonts — Salmond/Graphikx are not open-licensed; Antonio + Inter are the
     closest freely-hostable stand-ins named in the brand's own fallback stack. */
  --font-display: 'Antonio', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale */
  --text-caption: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-subheading: 18px;
  --text-heading-sm: 29px;
  --text-heading-md: 42px;
  --text-heading: 65px;
  --text-heading-lg: 101px;
  --text-heading-xl: 144px;
  --text-display: clamp(58px, 15vw, 195px);
  --text-display-lg: clamp(64px, 17vw, 213px);

  /* Spacing */
  --sp-4: 4px;
  --sp-6: 6px;
  --sp-8: 8px;
  --sp-9: 9px;
  --sp-10: 10px;
  --sp-12: 12px;
  --sp-14: 14px;
  --sp-16: 16px;
  --sp-17: 17px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-26: 26px;
  --sp-28: 28px;
  --sp-32: 32px;
  --sp-42: 42px;
  --sp-80: 80px;
  --sp-120: 120px;
  --sp-192: 192px;

  /* Radius */
  --radius-md: 6px;
  --radius-full: 9999px;

  /* Surfaces */
  --surface-canvas: var(--color-ember-rust);
  --surface-card: var(--color-dark-spice);
  --surface-deep: var(--color-charred-clove);

  --page-max-width: 1440px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--surface-canvas);
  color: var(--color-dark-spice);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
input, textarea { font-family: inherit; }

::selection { background: var(--color-tiger-gold); color: var(--color-charred-clove); }

/* ---------- Botanical watermark ---------- */
.watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url('../assets/photos/texture-headline.png');
  background-repeat: repeat;
  background-size: 900px;
  opacity: 0.1;
  mix-blend-mode: overlay;
}

/* ---------- Layout shells ---------- */
.page {
  position: relative;
  background: var(--surface-canvas);
  min-height: 100vh;
}

.shell {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--sp-32);
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: var(--sp-80) 0;
}

.section--tight { padding: var(--sp-42) 0; }

/* ---------- Dotted divider ---------- */
.divider {
  width: 100%;
  border: none;
  border-top: 2px dotted var(--color-tiger-gold);
  margin: 0;
  opacity: 0.85;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-tiger-gold);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-display);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--color-tiger-gold);
  text-transform: uppercase;
  margin: 0;
}

.heading-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 9.5vw, 150px);
  line-height: 0.87;
  letter-spacing: -0.018em;
  color: var(--color-tiger-gold);
  text-transform: uppercase;
}

.heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.012em;
  color: var(--color-tiger-gold);
  text-transform: uppercase;
}

.heading-sm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-heading-sm);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--color-tiger-gold);
  text-transform: uppercase;
}

.subheading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-subheading);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--color-saffron-glow);
  text-transform: uppercase;
}

.body-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-tiger-gold);
  max-width: 46ch;
}

.body-text--lg {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.4;
  max-width: 40ch;
}

.body-text--dark {
  color: var(--color-dark-spice);
}

.caption {
  font-family: var(--font-display);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-saffron-glow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  padding: var(--sp-8) var(--sp-17);
  background: transparent;
  color: var(--color-tiger-gold);
  border: 1px solid var(--color-tiger-gold);
}
.btn--ghost:hover {
  background: rgba(250, 174, 51, 0.1);
}

.btn--primary {
  padding: var(--sp-10) var(--sp-20);
  background: var(--color-tiger-gold);
  color: var(--color-charred-clove);
  border: 1px solid var(--color-tiger-gold);
}
.btn--primary:hover {
  background: #ffc366;
  border-color: #ffc366;
}

.btn--link {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--color-tiger-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn--block { width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: var(--sp-4) var(--sp-16);
}

.badge--primary { background: var(--color-tiger-gold); color: var(--color-charred-clove); }
.badge--secondary { background: var(--color-dark-spice); color: var(--color-tiger-gold); }
.badge--heat { background: var(--color-chili-red); color: #fff; padding: var(--sp-4) var(--sp-12); }

/* ---------- Inputs ---------- */
.input {
  width: 100%;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-cardamom-brown);
  background: transparent;
  color: var(--color-tiger-gold);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--sp-12) var(--sp-20);
  outline: none;
}
.input::placeholder { color: rgba(250, 174, 51, 0.55); }
.input:focus { border-color: var(--color-tiger-gold); }

textarea.input { border-radius: var(--radius-md); resize: vertical; min-height: 140px; }

/* ---------- Card ---------- */
.card {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  padding: var(--sp-16);
}

.card--deep { background: var(--surface-deep); }

/* ---------- Icon buttons ---------- */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-tiger-gold);
  background: transparent;
  color: var(--color-tiger-gold);
}
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; }

/* ---------- Nav ---------- */
.nav {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--sp-24) 0;
  gap: var(--sp-16);
}

.nav__group {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
}
.nav__group:first-child { justify-self: start; }
.nav__group:last-child { justify-self: end; }

.nav .btn--ghost, .nav .btn--primary {
  min-height: 40px;
}

.nav__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  text-align: center;
}

.nav__brand img { width: 34px; height: 34px; }

.nav__brand-logo {
  width: 46px;
  height: auto;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.nav__brand:hover .nav__brand-logo { transform: rotate(-8deg) scale(1.06); }

.nav__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--color-tiger-gold);
  text-transform: uppercase;
}

.nav__brand-tag {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--color-saffron-glow);
  text-transform: uppercase;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-tiger-gold);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-tiger-gold);
}

/* ---------- Floating dock ---------- */
.dock {
  position: fixed;
  right: var(--sp-24);
  bottom: var(--sp-24);
  display: flex;
  gap: var(--sp-10);
  z-index: 50;
}
.dock .icon-btn { background: var(--color-charred-clove); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-42);
  text-align: center;
}

.hero__eyebrow {
  margin-bottom: var(--sp-16);
}

.hero__display {
  margin: 0;
}

.hero__sub {
  margin-top: var(--sp-16);
  font-size: clamp(28px, 5vw, var(--text-heading-md));
}

.hero__jar {
  max-width: 320px;
  margin: var(--sp-42) auto 0;
}

.hero__caption-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-16);
  margin-top: var(--sp-42);
  flex-wrap: wrap;
}

.hero__caption-row .body-text { text-align: left; }

/* ---------- Two column composition ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-32);
  align-items: center;
}
.split--reverse { grid-template-columns: 0.9fr 1.1fr; }
.split--reverse .split__media { order: -1; }

.split__media { display: flex; justify-content: center; }

/* ---------- Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}

/* ---------- Recipe card ---------- */
.recipe-card {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.recipe-card__media {
  aspect-ratio: 4/3;
  background: var(--surface-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.recipe-card__body { padding: var(--sp-16); display: flex; flex-direction: column; gap: var(--sp-8); }
.recipe-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-tiger-gold);
  text-transform: uppercase;
  line-height: 1.05;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: var(--sp-80) 0 var(--sp-42);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: var(--sp-32);
  padding-bottom: var(--sp-42);
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-caption);
  letter-spacing: 0.14em;
  color: var(--color-saffron-glow);
  text-transform: uppercase;
  margin-bottom: var(--sp-14);
}
.footer__links { display: flex; flex-direction: column; gap: var(--sp-10); }
.footer__links a { font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-tiger-gold); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-24);
  flex-wrap: wrap;
  gap: var(--sp-16);
}
.footer__bottom .caption { color: var(--color-saffron-glow); }
.newsletter-form { display: flex; gap: var(--sp-10); max-width: 360px; }
.newsletter-form .input { flex: 1; }

/* ---------- Heat meter (game) ---------- */
.heat-meter {
  width: 100%;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--surface-deep);
  overflow: hidden;
  border: 1px solid var(--color-cardamom-brown);
}
.heat-meter__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-tiger-gold), var(--color-chili-red));
  transition: width 0.2s ease;
}

.wheel-wrap {
  position: relative;
  width: min(340px, 80vw);
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 4s cubic-bezier(0.15, 0.85, 0.2, 1);
}
.wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 22px solid var(--color-tiger-gold);
  z-index: 2;
}
.wheel {
  position: relative;
  border: 3px solid var(--color-tiger-gold);
}
.wheel__label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 0;
  transform-origin: 0 0;
  transform: rotate(calc(var(--i) * 45deg + 22.5deg));
}
.wheel__label span {
  position: absolute;
  left: 92px;
  top: -6px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-charred-clove);
  white-space: nowrap;
}
.wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-charred-clove);
  border: 3px solid var(--color-tiger-gold);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wheel-hub img { width: 26px; height: 26px; }

.game-panel {
  max-width: 520px;
  margin: var(--sp-42) auto 0;
  text-align: center;
}
.game-panel__result {
  margin-top: var(--sp-24);
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  color: var(--color-tiger-gold);
  min-height: 36px;
}

.heat-panel {
  max-width: 480px;
  margin: var(--sp-42) auto 0;
}
.heat-panel__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--sp-10);
}
.heat-slider {
  width: 100%;
  margin-top: var(--sp-16);
  accent-color: var(--color-tiger-gold);
}

/* ---------- Contact form ---------- */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-16); max-width: 520px; }
.form-row { display: flex; gap: var(--sp-16); }
.form-row .input { flex: 1; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-8 { margin-top: var(--sp-8); }
.mt-16 { margin-top: var(--sp-16); }
.mt-24 { margin-top: var(--sp-24); }
.mt-32 { margin-top: var(--sp-32); }
.mt-42 { margin-top: var(--sp-42); }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: var(--sp-8); }
.gap-16 { gap: var(--sp-16); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .shell { padding: 0 var(--sp-20); }
  .nav__links, .nav__contact-link { display: none; }
  .nav__toggle { display: inline-flex; }
  /* The 3-col grid assumes balanced side content; with the left nav links
     hidden it collapses unevenly, so mobile gets a simple left/right row. */
  .nav { display: flex; justify-content: space-between; align-items: center; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  /* Text always reads before its image on mobile, regardless of desktop
     order or which side .split--reverse puts the media on. */
  .split > *:not(.split__media) { order: -1; }
  .split__media { order: 2; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .form-row { flex-direction: column; }
  .hide-mobile { display: none; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__caption-row { flex-direction: column; align-items: flex-start; }
  .nav__brand-tag { display: none; }
}

/* ==========================================================================
   Motion
   ========================================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes drawLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Scroll reveal — toggled by IntersectionObserver in main.js */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.34s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.42s; }

/* Hero entrance (above the fold — plays on load, not scroll) */
.hero__eyebrow { animation: fadeUp 0.7s cubic-bezier(.16,.84,.44,1) both; }
.hero__display { animation: fadeUp 0.9s 0.08s cubic-bezier(.16,.84,.44,1) both; }
.hero__sub { animation: fadeUp 0.8s 0.2s cubic-bezier(.16,.84,.44,1) both; }
.hero__jar { animation: fadeUp 0.9s 0.32s cubic-bezier(.16,.84,.44,1) both; }
.hero__caption-row { animation: fadeIn 1s 0.5s cubic-bezier(.16,.84,.44,1) both; }

.divider--animated {
  transform-origin: left center;
  animation: drawLine 1.1s cubic-bezier(.16,.84,.44,1) both;
}

/* Marquee ticker */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px dotted var(--color-tiger-gold);
  border-bottom: 2px dotted var(--color-tiger-gold);
  padding: var(--sp-14) 0;
}
.marquee__track {
  display: inline-flex;
  width: max-content;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-tiger-gold);
  padding: 0 var(--sp-24);
}
.marquee__item::after {
  content: '\2731';
  margin-left: var(--sp-24);
  font-size: 0.6em;
  color: var(--color-saffron-glow);
}

/* Floating jar micro-motion */
.float-y { animation: floatY 5s ease-in-out infinite; }

/* Photo cutouts — real photography sitting raw on the canvas, never a card */
.cutout {
  position: relative;
  display: block;
  overflow: hidden;
  transform: rotate(var(--rot, -3deg));
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.cutout img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cutout:hover { transform: rotate(0deg) scale(1.02); }
.cutout:hover img { transform: scale(1.06); }

.cutout--blob-a { clip-path: polygon(9% 2%, 88% 0%, 100% 30%, 96% 88%, 70% 100%, 12% 96%, 0% 62%); }
.cutout--blob-b { clip-path: polygon(4% 12%, 82% 0%, 100% 78%, 92% 100%, 14% 94%, 0% 34%); }
.cutout--blob-c { clip-path: polygon(12% 0%, 100% 10%, 96% 92%, 60% 100%, 6% 84%, 0% 22%); }
.cutout--circle { clip-path: circle(48% at 50% 50%); }

/* ---------- Textured headline (gold text filled with the brand's leaf texture) ---------- */
.heading--textured {
  background-image: url('../assets/photos/texture-headline.png');
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: rgba(250, 174, 51, 0.25);
}

/* ---------- Full-bleed CTA ---------- */
.fullbleed-cta {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.fullbleed-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.fullbleed-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fullbleed-cta__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(40, 16, 6, 0.35) 0%, rgba(40, 16, 6, 0.65) 100%);
}
.fullbleed-cta__content {
  position: relative;
  z-index: 2;
}

/* ---------- Gallery strip ---------- */
.gallery-strip {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--sp-24);
  flex-wrap: wrap;
}
.gallery-strip__item {
  width: min(26vw, 300px);
  aspect-ratio: 3/4;
}
.gallery-strip__item--lg {
  width: min(36vw, 420px);
  aspect-ratio: 4/3;
}
@media (max-width: 760px) {
  .gallery-strip__item, .gallery-strip__item--lg { width: min(70vw, 340px); aspect-ratio: 4/3; }
}

/* Buttons / interactive lift */
.btn { transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.icon-btn { transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background-color 0.2s ease, border-color 0.2s ease; }
.icon-btn:hover { transform: translateY(-3px) rotate(-6deg); border-color: #ffc366; }
.recipe-card, .card { transition: transform 0.3s cubic-bezier(.2,.8,.2,1); }
.recipe-card:hover, .card:hover { transform: translateY(-6px); }

.dock .icon-btn { animation: fadeUp 0.6s 0.3s cubic-bezier(.16,.84,.44,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Custom cursor
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  html { cursor: none; }
  a, button, input, textarea, summary, .cutout { cursor: none; }

  .cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: var(--color-tiger-gold);
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transition: opacity 0.2s ease;
  }
  .cursor__ring {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    border: 1px solid var(--color-tiger-gold);
    pointer-events: none;
    z-index: 9998;
    will-change: transform;
    transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, opacity 0.2s ease, border-color 0.25s ease;
  }
  .cursor--hover.cursor__ring, .cursor__ring.is-hover {
    width: 72px; height: 72px;
    margin: -36px 0 0 -36px;
    background: rgba(250, 174, 51, 0.1);
  }
  body:not(.cursor-ready) .cursor,
  body:not(.cursor-ready) .cursor__ring { opacity: 0; }
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor__ring { display: none; }
}

/* ==========================================================================
   Story — pinned scroll sequence (hero jar rides through the intro)
   ========================================================================== */
.story {
  position: relative;
}

/* The jar is the only pinned/animated element — fixed to the screen, overlaid
   on top of the text blocks (which start right at the very top, under it)
   while they scroll past it normally, like any other content. */
.story__jar-pin {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 5;
}
.story__jar-wrap {
  position: absolute;
  top: 62%;
  left: 50%;
  width: min(42vw, 600px);
  aspect-ratio: 1300 / 1350;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, left, top;
}
.story__jar {
  width: 100%;
  height: 100%;
}
.story__jar canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Ordinary, unanimated content — it scrolls exactly like the rest of the page. */
.story__block {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 6vh var(--sp-32);
  padding-right: min(38vw, 540px);
}
.story__block > * { max-width: 620px; }
.story__block:last-child { min-height: 78vh; }

/* First screen: centered headline, jar settles in below it (not beside it). */
.story__block--hero {
  align-items: center;
  text-align: center;
  padding-right: var(--sp-32);
  padding-bottom: 26vh;
}
.story__block--hero > * { max-width: 900px; }

@media (max-width: 900px) {
  .story__jar-wrap { top: 60%; left: 50%; width: min(84vw, 480px); }
  .story__block {
    align-items: center;
    text-align: center;
    padding-right: var(--sp-20);
    padding-top: 6vh;
    justify-content: flex-start;
  }
  .story__block--hero { padding-bottom: 2vh; }
}

.story--fallback .story__jar-pin { position: static; height: auto; padding: 6vh 0; }
.story--fallback .story__jar-wrap { position: relative; top: auto; left: auto; transform: none; margin: 0 auto; }

.story__eyebrow { margin-bottom: var(--sp-16); }
.story__scroll-cue {
  position: absolute;
  bottom: var(--sp-32);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  color: var(--color-tiger-gold);
}
.story__scroll-cue span {
  font-family: var(--font-display);
  font-size: var(--text-caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.story__scroll-cue .line {
  width: 1px;
  height: 32px;
  background: var(--color-tiger-gold);
  overflow: hidden;
}
.story__scroll-cue .line::after {
  content: '';
  display: block;
  width: 100%;
  height: 50%;
  background: var(--color-charred-clove);
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ---------- Mobile nav drawer ---------- */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--surface-deep);
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-24);
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--color-tiger-gold);
  text-transform: uppercase;
}
.nav-drawer__close {
  position: absolute;
  top: var(--sp-24);
  right: var(--sp-24);
}
