/* ==========================================================================
   LeckerRezept.shop — Culinary Atelier & Gourmet Pantry Stylesheet
   Editorial Obsidian + Saffron Gold + Hearth Terracotta + Warm Parchment
   ========================================================================== */

:root {
  --bg-obsidian: #0b0908;
  --bg-iron: #14110f;
  --bg-elevated: #1c1815;
  --bg-glass: rgba(20, 17, 15, 0.72);
  --bg-parchment: #f3ebde;
  --bg-cream: #faf6ef;

  --text-ivory: #fbf6ee;
  --text-stone: #a99f93;
  --text-ink: #1b1714;
  --text-ink-muted: #62584f;

  --gold: #e7a93b;
  --gold-bright: #f7cd6d;
  --gold-dim: rgba(231, 169, 59, 0.16);
  --terracotta: #d9522f;
  --terracotta-glow: rgba(217, 82, 47, 0.25);
  --sage: #679473;

  --border-dark: rgba(251, 246, 238, 0.11);
  --border-gold: rgba(231, 169, 59, 0.34);
  --border-light: rgba(27, 23, 20, 0.12);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  background: var(--bg-obsidian);
  color: var(--text-ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font-family: inherit;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--terracotta));
  border-radius: 99px;
}

/* ==========================================================================
   Preloader Curtain
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-obsidian);
  display: grid;
  place-items: center;
  transition: transform 0.9s var(--ease-expo), opacity 0.7s ease, visibility 0.9s;
}

.preloader.is-done {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.preloader__emblem {
  width: 84px;
  height: 84px;
  animation: spinSlow 8s linear infinite;
}

.preloader__brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: 0.04em;
  color: var(--text-ivory);
}

.preloader__brand span {
  color: var(--gold);
  font-style: italic;
}

.preloader__bar {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.preloader__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--gold-bright));
  transition: width 0.25s ease;
}

.preloader__pct {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

/* ==========================================================================
   Custom Kinetic Cursor & Top Progress Bar
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 900;
  background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--gold-bright));
  box-shadow: 0 0 14px rgba(231, 169, 59, 0.7);
  pointer-events: none;
}

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9900;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease, width 0.25s var(--ease-expo), height 0.25s var(--ease-expo),
    background-color 0.25s ease, border-color 0.25s ease;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(231, 169, 59, 0.65);
  backdrop-filter: invert(0.04);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold);
}

body.has-pointer .cursor-ring.is-visible,
body.has-pointer .cursor-dot.is-visible {
  opacity: 1;
}

.cursor-ring.is-hovering {
  width: 60px;
  height: 60px;
  border-color: var(--gold-bright);
  background: rgba(231, 169, 59, 0.11);
}

/* ==========================================================================
   Floating Chapter Rail Navigation
   ========================================================================== */
.chapter-rail {
  position: fixed;
  right: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.7rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(14, 12, 10, 0.58);
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(12px);
}

.chapter-rail__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(251, 246, 238, 0.25);
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
}

.chapter-rail__dot:hover,
.chapter-rail__dot.is-active {
  background: var(--gold-bright);
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(247, 205, 109, 0.8);
}

.chapter-rail__dot::before {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chapter-rail__dot:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 600;
  padding: 1.15rem 2.4rem;
  transition: padding 0.4s var(--ease-expo), background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 0.78rem 2.4rem;
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border-dark);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark__icon {
  width: 36px;
  height: 36px;
  animation: spinSlow 16s linear infinite;
}

.brand-mark span {
  color: var(--gold);
  font-style: italic;
}

.brand-mark small {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--text-stone);
  border: 1px solid var(--border-dark);
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-stone);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-expo);
}

.nav-links a:hover {
  color: var(--text-ivory);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.live-kitchen-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-stone);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #53d769;
  box-shadow: 0 0 0 0 rgba(83, 215, 105, 0.7);
  animation: livePulse 1.8s infinite;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--gold), #cf8c22);
  color: #16110c;
  border: none;
  padding: 0.58rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(231, 169, 59, 0.28);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}

.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(231, 169, 59, 0.45);
}

.cart-btn__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 99px;
  background: #16110c;
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-ivory);
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
}

/* ==========================================================================
   Shared Layout & Typography Utilities
   ========================================================================== */
.container {
  width: min(1340px, 92vw);
  margin: 0 auto;
}

.section-pad {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.section-lead {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: var(--text-stone);
  max-width: 60ch;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #140f0a;
  box-shadow: 0 12px 34px rgba(231, 169, 59, 0.34);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.45) 50%, transparent 75%);
  transform: translateX(-120%);
  animation: shimmerSweep 4s ease-in-out infinite;
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(231, 169, 59, 0.5);
}

.btn--outline {
  border-color: var(--border-gold);
  background: rgba(231, 169, 59, 0.06);
  color: var(--text-ivory);
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  background: rgba(231, 169, 59, 0.16);
  transform: translateY(-3px);
}

/* Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo);
}

[data-reveal="scale"] {
  transform: scale(0.93) translateY(24px);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ==========================================================================
   Section 1: Full-Bleed Animated Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 7.5rem 0 4.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 72% 40%, rgba(217, 82, 47, 0.16), transparent 52%),
    radial-gradient(circle at 20% 75%, rgba(231, 169, 59, 0.12), transparent 50%),
    var(--bg-obsidian);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero__ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero__ambient-orb--1 {
  width: 480px;
  height: 480px;
  background: rgba(231, 169, 59, 0.16);
  top: -120px;
  right: 8%;
  animation: floatDrift 12s ease-in-out infinite;
}

.hero__ambient-orb--2 {
  width: 360px;
  height: 360px;
  background: rgba(217, 82, 47, 0.18);
  bottom: -90px;
  left: -60px;
  animation: floatReverse 15s ease-in-out infinite;
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1rem 0.45rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  background: rgba(231, 169, 59, 0.08);
  margin-bottom: 1.65rem;
  animation: floatDrift 6s ease-in-out infinite;
}

.hero__badge-pill {
  background: var(--gold);
  color: #140f0a;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.hero__badge-text {
  font-size: 0.82rem;
  color: var(--gold-bright);
  letter-spacing: 0.03em;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.4vw, 5.75rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero__title .word-line {
  display: block;
  overflow: hidden;
}

.hero__title .word-inner {
  display: inline-block;
  animation: slideUpWord 1.05s var(--ease-expo) backwards;
}

.hero__title .word-line:nth-child(2) .word-inner {
  animation-delay: 0.12s;
}

.hero__title .word-line:nth-child(3) .word-inner {
  animation-delay: 0.24s;
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  position: relative;
}

.hero__title-underline {
  display: block;
  width: 240px;
  height: 16px;
  margin-top: 0.35rem;
}

.hero__title-underline path {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: drawLine 2s var(--ease-expo) 0.6s forwards, glowPulse 3s ease-in-out infinite 2.5s;
}

.hero__subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--text-stone);
  max-width: 52ch;
}

.hero__cta-row {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__telemetry {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.telemetry-item__val {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.1;
}

.telemetry-item__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-stone);
  margin-top: 0.25rem;
}

/* Hero Visual Stage */
.hero__visual-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.hero__orbit-ring {
  position: absolute;
  width: 108%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(231, 169, 59, 0.25);
  animation: spinSlow 42s linear infinite;
  pointer-events: none;
}

.hero__orbit-ring::before,
.hero__orbit-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 14px var(--gold);
}

.hero__orbit-ring::before {
  top: -5px;
  left: 50%;
}

.hero__orbit-ring::after {
  bottom: -5px;
  left: 50%;
  background: var(--terracotta);
}

.hero__image-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.72), 0 0 80px rgba(231, 169, 59, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.hero__image-frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

.hero__image-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 9, 8, 0.85) 100%);
  pointer-events: none;
}

.hero__image-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 2;
}

.hero__dish-tag {
  background: rgba(12, 10, 9, 0.78);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  padding: 0.65rem 1rem;
  border-radius: 14px;
}

.hero__dish-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-ivory);
}

.hero__dish-tag span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.hero__stamp {
  position: absolute;
  top: -28px;
  right: -24px;
  width: 122px;
  height: 122px;
  z-index: 5;
  animation: spinSlow 20s linear infinite;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.hero__floating-card {
  position: absolute;
  left: -28px;
  bottom: 24%;
  z-index: 5;
  background: rgba(20, 16, 13, 0.86);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(16px);
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
  animation: floatReverse 7s ease-in-out infinite;
}

.hero__floating-card svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.hero__floating-card strong {
  display: block;
  font-size: 0.86rem;
  color: var(--text-ivory);
}

.hero__floating-card small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold);
}

.hero__scroll-cue {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--text-stone);
}

.hero__scroll-mouse {
  width: 22px;
  height: 36px;
  border-radius: 99px;
  border: 1.5px solid var(--border-gold);
  position: relative;
}

.hero__scroll-mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 99px;
  background: var(--gold-bright);
  animation: scrollWheel 1.6s ease-in-out infinite;
}

/* ==========================================================================
   Section 2: Dual-Track Continuous Kinetic Marquee
   ========================================================================== */
.marquee-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  background: linear-gradient(180deg, #120f0d, #17120f);
  padding: 1.35rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.2rem;
  animation: marqueeLeft 34s linear infinite;
}

.marquee-track--reverse {
  margin-top: 0.9rem;
  animation: marqueeRight 40s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: var(--text-ivory);
}

.marquee-item--mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.marquee-rosette {
  width: 18px;
  height: 18px;
  color: var(--terracotta);
  animation: spinSlow 10s linear infinite;
}

/* ==========================================================================
   Section 3: Living Kitchen Process (Animated SVG Culinary Diagram)
   ========================================================================== */
.craft-section {
  background: var(--bg-parchment);
  color: var(--text-ink);
  overflow: hidden;
}

.craft-section .section-lead {
  color: var(--text-ink-muted);
}

.craft-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}

.kitchen-diagram-card {
  position: relative;
  background: #171310;
  color: var(--text-ivory);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(231, 169, 59, 0.25);
  box-shadow: 0 30px 70px rgba(27, 23, 20, 0.22);
  overflow: hidden;
}

.kitchen-diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.kitchen-svg {
  width: 100%;
  height: auto;
}

/* Continuous Running SVG Animations inside Kitchen Diagram */
.svg-steam {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: steamFlow 3.4s ease-in-out infinite;
}
.svg-steam--2 {
  animation-delay: 1.1s;
}
.svg-steam--3 {
  animation-delay: 2.2s;
}

.svg-flame {
  transform-origin: center bottom;
  animation: flameDance 1.1s ease-in-out infinite alternate;
}
.svg-flame--2 {
  animation-delay: 0.35s;
}

.svg-bubble {
  animation: bubbleRise 2.4s ease-in infinite;
}
.svg-bubble--2 {
  animation-delay: 0.8s;
}
.svg-bubble--3 {
  animation-delay: 1.5s;
}

.svg-dash-flow {
  stroke-dasharray: 8 8;
  animation: dashRun 1.8s linear infinite;
}

.kitchen-telemetry-bar {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.kt-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--gold-bright);
}

.kt-stat span {
  font-size: 0.75rem;
  color: var(--text-stone);
}

/* Interactive 4-Step Rhythm Timeline */
.craft-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.craft-step {
  position: relative;
  padding: 1.35rem 1.5rem 1.35rem 4.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: transform 0.35s var(--ease-expo), background 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.craft-step:hover,
.craft-step.is-active {
  background: #ffffff;
  border-color: var(--terracotta);
  transform: translateX(8px);
  box-shadow: 0 18px 40px rgba(27, 23, 20, 0.08);
}

.craft-step__num {
  position: absolute;
  left: 1.3rem;
  top: 1.35rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-parchment);
  border: 1.5px solid var(--border-light);
  color: var(--text-ink);
  transition: background 0.3s ease, color 0.3s ease;
}

.craft-step.is-active .craft-step__num {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

.craft-step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.craft-step p {
  font-size: 0.93rem;
  color: var(--text-ink-muted);
}

.craft-step__meta {
  margin-top: 0.65rem;
  display: inline-flex;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--terracotta);
}

/* ==========================================================================
   Section 4: Signature Recipes — 3D Kinetic Bento & Tilt Cards
   ========================================================================== */
.recipes-section {
  background: linear-gradient(180deg, var(--bg-obsidian), var(--bg-iron));
}

.recipes-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
}

.filter-tab {
  border: none;
  background: transparent;
  color: var(--text-stone);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease;
}

.filter-tab:hover {
  color: var(--text-ivory);
}

.filter-tab.is-active {
  background: var(--gold);
  color: #15100b;
}

.recipes-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.recipe-card {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, border-color 0.35s ease, box-shadow 0.35s ease,
    opacity 0.4s ease;
}

.recipe-card.is-hidden {
  display: none;
}

.recipe-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(247, 205, 109, 0.16),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.recipe-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.recipe-card:hover::before {
  opacity: 1;
}

.recipe-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.recipe-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-expo);
}

.recipe-card:hover .recipe-card__media img {
  transform: scale(1.09);
}

.recipe-card__badges {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  right: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.recipe-pill {
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(12, 10, 9, 0.76);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.recipe-card__body {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 3;
}

.recipe-card__cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.recipe-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0.4rem 0 0.6rem;
}

.recipe-card__desc {
  font-size: 0.9rem;
  color: var(--text-stone);
  flex: 1;
}

.recipe-card__tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.recipe-card__tags span {
  font-size: 0.72rem;
  padding: 0.22rem 0.58rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-stone);
  border: 1px solid var(--border-dark);
}

.recipe-card__footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recipe-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  padding: 0.35rem 0;
  transition: gap 0.25s var(--ease-spring);
}

.recipe-open-btn:hover {
  gap: 0.75rem;
}

.recipe-rating {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-stone);
}

/* ==========================================================================
   Section 5: Interactive Pantry Shop & Running Horizontal Conveyor
   ========================================================================== */
.pantry-section {
  background: radial-gradient(circle at 18% 20%, rgba(231, 169, 59, 0.11), transparent 48%),
    #110e0c;
  overflow: hidden;
}

.pantry-feature {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pantry-feature__img {
  position: relative;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}

.pantry-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 22s ease-in-out infinite alternate;
}

.pantry-feature__info {
  padding: clamp(1.75rem, 3.5vw, 3rem);
}

.pantry-feature__info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.12;
  margin-bottom: 0.85rem;
}

.pantry-feature__info p {
  color: var(--text-stone);
  margin-bottom: 1.5rem;
}

.conveyor-header {
  margin-top: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.conveyor-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(231, 169, 59, 0.08);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), background 0.25s ease;
}

.icon-circle-btn:hover {
  transform: scale(1.08);
  background: var(--gold);
  color: #140f0a;
}

.conveyor-viewport {
  margin-top: 1.75rem;
  overflow: hidden;
  padding: 1rem 0 2rem;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.conveyor-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeLeft 42s linear infinite;
}

.conveyor-viewport:hover .conveyor-track,
.conveyor-track.is-paused {
  animation-play-state: paused;
}

.shop-card {
  width: 300px;
  flex-shrink: 0;
  background: linear-gradient(165deg, #1f1a16, #14110f);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease;
}

.shop-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
}

.shop-card__art {
  height: 150px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 45%, rgba(231, 169, 59, 0.2), rgba(11, 9, 8, 0.9));
  border: 1px solid rgba(231, 169, 59, 0.16);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.shop-card__art svg {
  width: 82px;
  height: 82px;
  animation: floatDrift 5.5s ease-in-out infinite;
}

.shop-card__origin {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.shop-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.shop-card p {
  font-size: 0.84rem;
  color: var(--text-stone);
  flex: 1;
}

.shop-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-dark);
}

.shop-price {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.add-cart-btn {
  background: rgba(231, 169, 59, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s var(--ease-spring);
}

.add-cart-btn:hover {
  background: var(--gold);
  color: #140f0a;
  transform: scale(1.05);
}

/* ==========================================================================
   Section 6: Anatomy of Flavor (Morphing SVG Radar + Orbital Visualizer)
   ========================================================================== */
.anatomy-section {
  background: var(--bg-obsidian);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.anatomy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.flavor-buttons {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.flavor-pill {
  padding: 0.62rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: var(--bg-elevated);
  color: var(--text-stone);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.28s var(--ease-expo);
}

.flavor-pill.is-active,
.flavor-pill:hover {
  border-color: var(--gold);
  color: #140f0a;
  background: var(--gold-bright);
}

.flavor-detail-box {
  margin-top: 1.65rem;
  padding: 1.45rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
}

.flavor-detail-box h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-bright);
  margin-bottom: 0.45rem;
}

.flavor-detail-box p {
  font-size: 0.93rem;
  color: var(--text-stone);
}

.radar-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(231, 169, 59, 0.11), rgba(18, 14, 12, 0.96) 70%);
  border: 1px solid var(--border-gold);
}

.radar-ring-orbit {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(231, 169, 59, 0.22);
  animation: spinSlow 36s linear infinite reverse;
  pointer-events: none;
}

.flavor-radar-svg {
  width: min(440px, 100%);
  height: auto;
  overflow: visible;
}

#radarPolygon {
  transition: all 0.65s var(--ease-expo);
}

/* ==========================================================================
   Section 7: Seasonal Harvest Scrollytelling (Sticky Split Layout)
   ========================================================================== */
.seasons-section {
  background: var(--bg-cream);
  color: var(--text-ink);
  position: relative;
}

.seasons-parallax-word {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 800;
  color: rgba(27, 23, 20, 0.05);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  transform: translateX(calc(var(--scroll-shift, 0px)));
  transition: transform 0.1s linear;
}

.seasons-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.seasons-sticky-stage {
  position: sticky;
  top: 6.2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #14110f;
  border: 1px solid rgba(27, 23, 20, 0.18);
  box-shadow: 0 32px 70px rgba(27, 23, 20, 0.2);
}

.seasons-sticky-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.seasons-sticky-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.65s ease, transform 0.9s var(--ease-expo);
}

.seasons-sticky-img img.is-active {
  opacity: 1;
  transform: scale(1);
}

.seasons-sticky-meta {
  padding: 1.35rem 1.65rem;
  color: var(--text-ivory);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.seasons-sticky-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-bright);
}

.seasons-sticky-meta span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-stone);
}

.seasons-dial {
  width: 52px;
  height: 52px;
  animation: spinSlow 18s linear infinite;
}

.seasons-chapters {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.season-chapter {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: transform 0.35s var(--ease-expo), background 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.season-chapter.is-active,
.season-chapter:hover {
  background: #ffffff;
  border-color: var(--terracotta);
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(27, 23, 20, 0.08);
}

.season-chapter__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  text-transform: uppercase;
}

.season-chapter h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0.4rem 0 0.7rem;
}

.season-chapter p {
  color: var(--text-ink-muted);
}

.season-chapter ul {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.season-chapter li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--bg-parchment);
  color: var(--text-ink);
}

/* ==========================================================================
   Section 8: Kinetic Filmstrip Motion Gallery
   ========================================================================== */
.gallery-section {
  background: var(--bg-obsidian);
  overflow: hidden;
}

.filmstrip-wrapper {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.filmstrip-row {
  display: flex;
  gap: 1.35rem;
  width: max-content;
  animation: marqueeLeft 46s linear infinite;
}

.filmstrip-row--reverse {
  animation: marqueeRight 50s linear infinite;
}

.filmstrip-wrapper:hover .filmstrip-row {
  animation-play-state: paused;
}

.filmstrip-tile {
  position: relative;
  width: clamp(260px, 26vw, 370px);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  flex-shrink: 0;
  cursor: pointer;
}

.filmstrip-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-expo);
}

.filmstrip-tile:hover img {
  transform: scale(1.1);
}

.filmstrip-tile__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(11, 9, 8, 0.88));
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-ivory);
}

/* ==========================================================================
   Section 9: Animated Numbers, Live Culinary Pulse & Chef Notes
   ========================================================================== */
.numbers-section {
  background: linear-gradient(180deg, #14110f, #0b0908);
  border-top: 1px solid var(--border-dark);
}

.stats-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.stat-card {
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-expo);
}

.stat-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}

.stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1;
}

.stat-card__label {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: var(--text-stone);
}

.waveform-panel {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.waveform-svg {
  width: 100%;
  height: 92px;
}

.waveform-line {
  stroke-dasharray: 220 90;
  animation: waveTravel 3.2s linear infinite;
}

.testimonials-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.quote-card {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.quote-card p {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--text-ivory);
}

.quote-card__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
}

/* ==========================================================================
   Section 10: Interactive Mood Compass & Newsletter + Architectural Footer
   ========================================================================== */
.discover-section {
  background: radial-gradient(circle at 50% 0%, rgba(217, 82, 47, 0.16), transparent 55%),
    var(--bg-iron);
}

.compass-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  align-items: center;
}

.mood-pills {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mood-btn {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-ivory);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.mood-btn span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.mood-btn:hover,
.mood-btn.is-active {
  border-color: var(--gold-bright);
  background: rgba(231, 169, 59, 0.15);
  transform: translateY(-2px);
}

.compass-result {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-obsidian);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compass-result__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-expo), opacity 0.3s ease;
}

.compass-result.is-spinning .compass-result__img {
  transform: scale(0.95);
  opacity: 0.45;
}

.newsletter-strip {
  margin-top: 4rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, rgba(231, 169, 59, 0.15), rgba(217, 82, 47, 0.16));
  border: 1px solid var(--border-gold);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex: 1 1 340px;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1 1 200px;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  background: rgba(11, 9, 8, 0.72);
  color: var(--text-ivory);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--gold-bright);
}

.newsletter-msg {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gold-bright);
  min-height: 1.2em;
}

/* Footer */
.site-footer {
  background: var(--bg-obsidian);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.9rem;
  color: var(--text-stone);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-giant-word {
  margin-top: 4rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 11.5vw, 10.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-align: center;
  background: linear-gradient(90deg, rgba(231, 169, 59, 0.2), rgba(251, 246, 238, 0.8), rgba(217, 82, 47, 0.35));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textGradientRun 8s linear infinite;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-stone);
}

.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 450;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(16, 13, 11, 0.86);
  color: var(--gold-bright);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring), background 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold);
  color: #140f0a;
}

/* ==========================================================================
   Slide-Over Interactive Recipe Modal & Cart Drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 3, 0.76);
  backdrop-filter: blur(8px);
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.slide-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100vw);
  z-index: 850;
  background: #14110f;
  border-left: 1px solid var(--border-gold);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-expo);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.slide-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-ivory);
  font-size: 1.25rem;
  cursor: pointer;
}

.drawer-body {
  padding: 1.6rem 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.recipe-modal-hero {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.servings-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  margin: 1rem 0;
}

.servings-btns {
  display: flex;
  gap: 0.4rem;
}

.serving-btn {
  padding: 0.32rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-stone);
  font-family: var(--font-mono);
  cursor: pointer;
}

.serving-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #140f0a;
  font-weight: 700;
}

.ingredient-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.ingredient-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.9rem;
}

.ingredient-list strong {
  font-family: var(--font-mono);
  color: var(--gold-bright);
}

.timer-widget {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--border-gold);
  background: rgba(231, 169, 59, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.timer-display {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.steps-list {
  display: grid;
  gap: 0.85rem;
}

.step-row {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  font-size: 0.9rem;
}

.step-row span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 0.25rem;
}

/* Cart Items */
.cart-shipping {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  font-size: 0.84rem;
}

.shipping-bar {
  margin-top: 0.55rem;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.shipping-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--gold-bright));
  transition: width 0.4s var(--ease-expo);
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-ivory);
  cursor: pointer;
}

.drawer-foot {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-dark);
  background: rgba(11, 9, 8, 0.85);
}

/* Lightbox Modal for Gallery */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(8, 7, 6, 0.92);
  backdrop-filter: blur(14px);
  display: none;
  place-items: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox figure {
  max-width: min(920px, 94vw);
  text-align: center;
}

.lightbox img {
  max-height: 76vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

.lightbox figcaption {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-bright);
}

/* Floating Toast Notification */
.atelier-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 980;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-pill);
  background: rgba(20, 17, 15, 0.94);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-spring);
}

.atelier-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Keyframe Library (Running Animations)
   ========================================================================== */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(12px) translateX(-8px); }
}

@keyframes slideUpWord {
  from {
    opacity: 0;
    transform: translateY(105%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(231, 169, 59, 0.35)); }
  50% { filter: drop-shadow(0 0 12px rgba(247, 205, 109, 0.85)); }
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.09) translate(-1.5%, -1%); }
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(13px); }
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes shimmerSweep {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(130%); }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(83, 215, 105, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(83, 215, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(83, 215, 105, 0); }
}

@keyframes steamFlow {
  0% { stroke-dashoffset: 90; opacity: 0; transform: translateY(6px); }
  35% { opacity: 0.9; }
  100% { stroke-dashoffset: -90; opacity: 0; transform: translateY(-14px); }
}

@keyframes flameDance {
  0% { transform: scaleY(0.92) scaleX(1.02); opacity: 0.88; }
  100% { transform: scaleY(1.12) scaleX(0.95); opacity: 1; }
}

@keyframes bubbleRise {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  30% { opacity: 0.85; }
  100% { transform: translateY(-34px) scale(1.2); opacity: 0; }
}

@keyframes dashRun {
  from { stroke-dashoffset: 32; }
  to { stroke-dashoffset: 0; }
}

@keyframes waveTravel {
  from { stroke-dashoffset: 310; }
  to { stroke-dashoffset: 0; }
}

@keyframes textGradientRun {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__grid,
  .craft-grid,
  .pantry-feature,
  .anatomy-grid,
  .seasons-split,
  .waveform-panel,
  .compass-box {
    grid-template-columns: 1fr;
  }

  .recipes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seasons-sticky-stage {
    position: relative;
    top: 0;
  }

  .chapter-rail {
    display: none;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 0.9rem 1.2rem;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 1rem;
    right: 1rem;
    background: rgba(16, 13, 11, 0.96);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .live-kitchen-pill {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .recipes-grid,
  .testimonials-grid,
  .mood-pills,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__floating-card,
  .hero__stamp {
    display: none;
  }
}

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