/* ==========================================================================
   PHALAP — Authentic Singpho Bamboo-Smoked Tea
   "The Mezcal of Tea" — dark, cinematic, textured.
   ========================================================================== */

:root {
  --bg: #111111;
  --bg-soft: #161616;
  --bamboo: #1e2b22;
  --bamboo-deep: #16211a;
  --ember: #d35400;
  --ember-bright: #f07b2d;
  --ember-glow: rgba(211, 84, 0, 0.35);
  --ash: #f0ede6;
  --ash-dim: rgba(240, 237, 230, 0.62);
  --ash-faint: rgba(240, 237, 230, 0.38);
  --line: rgba(240, 237, 230, 0.12);
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ash);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ember); color: var(--ash); }

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

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

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.005em;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Film grain overlay — subtle, tactile, analog.
   -------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 1.5%); }
  50%  { transform: translate(1.5%, -2%); }
  75%  { transform: translate(-1%, -1%); }
  100% { transform: translate(0, 0); }
}

/* --------------------------------------------------------------------------
   Ambient smoke wisps drifting up the sides of the screen.
   -------------------------------------------------------------------------- */
.smoke-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.wisp {
  position: absolute;
  bottom: -30vh;
  width: 34vw;
  height: 90vh;
  border-radius: 50%;
  filter: blur(60px);
  background: radial-gradient(ellipse at center, rgba(240, 237, 230, 0.05) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 1.6s ease;
  will-change: transform;
}

body.scrolled .wisp { opacity: 1; }

.wisp--l { left: -14vw; animation: wisp-rise 26s linear infinite; }
.wisp--r { right: -14vw; animation: wisp-rise 34s linear infinite; animation-delay: -12s; }

@keyframes wisp-rise {
  0%   { transform: translateY(0) scaleX(1) rotate(0deg); }
  50%  { transform: translateY(-70vh) scaleX(1.35) rotate(6deg); }
  100% { transform: translateY(-150vh) scaleX(0.9) rotate(-4deg); }
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.solid {
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 14px 0;
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.32em;
  font-weight: 700;
}

.nav__logo span { color: var(--ember); }

.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
}

.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash-dim);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--ash);
  text-shadow: 0 0 18px var(--ember-glow);
}

.nav__links a.active { color: var(--ember-bright); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ash);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Buttons — they glow like a fire is behind them.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 18px 42px;
  border: 1px solid var(--ember);
  color: var(--ash);
  background: linear-gradient(180deg, rgba(211, 84, 0, 0.22), rgba(211, 84, 0, 0.08));
  box-shadow: 0 0 0 rgba(211, 84, 0, 0);
  transition: box-shadow 0.45s ease, background 0.45s ease, transform 0.45s ease;
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(180deg, rgba(211, 84, 0, 0.5), rgba(211, 84, 0, 0.18));
  box-shadow: 0 0 34px var(--ember-glow), 0 0 90px rgba(211, 84, 0, 0.18), inset 0 0 18px rgba(240, 123, 45, 0.25);
  transform: translateY(-2px);
}

.btn--solid {
  background: var(--ember);
  border-color: var(--ember);
  color: #180b02;
}

.btn--solid:hover {
  background: var(--ember-bright);
  color: #180b02;
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ember);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

/* When the real footage is ready, drop a <video autoplay muted loop playsinline>
   inside .hero__media and remove the canvas fallback. Keep it under ~2 MB. */
.hero__media video,
.hero__media canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(211, 84, 0, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.65) 0%, rgba(17, 17, 17, 0.25) 45%, rgba(17, 17, 17, 0.92) 100%);
}

.hero__content { padding: 120px 24px 80px; max-width: 900px; }

.hero__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ember-bright);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  margin-bottom: 26px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero h1 em {
  font-style: italic;
  color: var(--ember-bright);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--ash-dim);
  max-width: 620px;
  margin: 0 auto 44px;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash-faint);
  animation: cue-pulse 2.6s ease-in-out infinite;
}

@keyframes cue-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, 0); }
  50%      { opacity: 1;   transform: translate(-50%, 8px); }
}

/* Inner-page compact heroes */
.hero--page { min-height: 78vh; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 130px 0; position: relative; }
.section--bamboo { background: linear-gradient(180deg, var(--bamboo-deep), var(--bamboo) 40%, var(--bamboo-deep)); }
.section--tight { padding: 90px 0; }

.kicker {
  font-size: 0.74rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ember-bright);
  margin-bottom: 20px;
}

.section h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  margin-bottom: 26px;
  max-width: 720px;
}

.lede {
  color: var(--ash-dim);
  font-size: 1.12rem;
  max-width: 640px;
}

.center { text-align: center; }
.center .section-h2, .center h2, .center .lede { margin-left: auto; margin-right: auto; }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in { opacity: 1; transform: none; }

.reveal[data-delay="1"] { transition-delay: 0.15s; }
.reveal[data-delay="2"] { transition-delay: 0.3s; }
.reveal[data-delay="3"] { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   Parallax figure (large photography panels)
   -------------------------------------------------------------------------- */
.parallax {
  position: relative;
  height: 78vh;
  overflow: hidden;
}

.parallax__img {
  position: absolute;
  inset: -18% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  background: rgba(17, 17, 17, 0.45);
}

.parallax__caption h2 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 760px; }
.parallax__caption p { color: var(--ash-dim); margin-top: 16px; max-width: 560px; }

/* Placeholder art panels (until real photography is shot).
   Swap the background-image on .ph for final photos — layout won't change. */
.ph {
  background-color: var(--bg-soft);
}

.ph--log {
  background-image:
    radial-gradient(ellipse 70% 40% at 50% 55%, rgba(211, 84, 0, 0.28), transparent 70%),
    repeating-linear-gradient(94deg, #241a10 0 26px, #1a1209 26px 30px, #2a1e12 30px 58px),
    linear-gradient(180deg, #141414, #0d0d0d);
  background-blend-mode: screen, normal, normal;
}

.ph--fire {
  background-image:
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(240, 123, 45, 0.5), rgba(211, 84, 0, 0.18) 45%, transparent 75%),
    radial-gradient(ellipse 40% 30% at 30% 95%, rgba(255, 170, 60, 0.35), transparent 70%),
    linear-gradient(180deg, #0b0b0b, #161005);
}

.ph--jungle {
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(30, 43, 34, 0.9), transparent 80%),
    linear-gradient(160deg, #16211a 0%, #0e1511 50%, #101010 100%);
}

.ph--pour {
  background-image:
    radial-gradient(ellipse 40% 65% at 50% 50%, rgba(211, 84, 0, 0.4), rgba(120, 50, 8, 0.2) 55%, transparent 80%),
    linear-gradient(180deg, #131313, #0c0c0c);
}

.ph-note {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash-faint);
  z-index: 3;
}

/* --------------------------------------------------------------------------
   Flavor profile — three columns
   -------------------------------------------------------------------------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 70px;
}

.trio__item {
  padding: 48px 36px;
  border: 1px solid var(--line);
  background: rgba(240, 237, 230, 0.015);
  text-align: center;
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

.trio__item:hover {
  border-color: rgba(211, 84, 0, 0.55);
  box-shadow: 0 0 40px rgba(211, 84, 0, 0.12), inset 0 0 40px rgba(211, 84, 0, 0.05);
  transform: translateY(-4px);
}

.trio__glyph {
  width: 54px;
  height: 54px;
  margin: 0 auto 26px;
  color: var(--ember-bright);
}

.trio__glyph svg { width: 100%; height: 100%; }

.trio__item h3 {
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.trio__item p { color: var(--ash-dim); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   Quote block
   -------------------------------------------------------------------------- */
.quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.4;
  color: var(--ash);
}

.quote blockquote::before { content: "\201C"; color: var(--ember); }
.quote blockquote::after  { content: "\201D"; color: var(--ember); }

.quote cite {
  display: block;
  margin-top: 30px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ash-faint);
}

/* --------------------------------------------------------------------------
   Heritage timeline — a bamboo stalk that draws itself as you scroll.
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 90px auto 0;
  padding: 20px 0 60px;
}

.timeline__track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  background: rgba(240, 237, 230, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.timeline__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--ember-bright), var(--ember) 60%, #7a3200);
  box-shadow: 0 0 18px var(--ember-glow);
  /* bamboo nodes on the stalk */
  background-image:
    repeating-linear-gradient(180deg, transparent 0 78px, rgba(17, 17, 17, 0.8) 78px 84px),
    linear-gradient(180deg, var(--ember-bright), var(--ember) 60%, #7a3200);
}

.tl-item {
  position: relative;
  width: 50%;
  padding: 34px 60px 34px 0;
}

.tl-item:nth-child(even) {
  margin-left: 50%;
  padding: 34px 0 34px 60px;
  text-align: left;
}

.tl-item:nth-child(odd) { text-align: right; }

.tl-item__dot {
  position: absolute;
  top: 46px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ash-faint);
  transition: border-color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  z-index: 2;
}

.tl-item:nth-child(odd) .tl-item__dot { right: -9.5px; }
.tl-item:nth-child(even) .tl-item__dot { left: -9.5px; }

.tl-item.lit .tl-item__dot {
  background: var(--ember);
  border-color: var(--ember-bright);
  box-shadow: 0 0 20px var(--ember-glow), 0 0 46px rgba(211, 84, 0, 0.25);
}

.tl-item__date {
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember-bright);
  margin-bottom: 10px;
}

.tl-item h3 { font-size: 1.6rem; margin-bottom: 12px; }
.tl-item p { color: var(--ash-dim); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   Process grid
   -------------------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2px;
  margin-top: 70px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process__step {
  background: var(--bg);
  padding: 46px 32px 42px;
  transition: background 0.5s ease, box-shadow 0.5s ease;
  position: relative;
}

.section--bamboo .process__step { background: var(--bamboo-deep); }

.process__step:hover {
  background: #1a1310;
  box-shadow: inset 0 0 60px rgba(211, 84, 0, 0.08);
}

.process__num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: rgba(211, 84, 0, 0.55);
  line-height: 1;
  margin-bottom: 22px;
}

.process__step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.process__step p { color: var(--ash-dim); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Ritual — brewing steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 70px;
}

.step {
  text-align: center;
  padding: 0 8px;
}

.step__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember-bright);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.step:hover .step__icon {
  border-color: rgba(211, 84, 0, 0.6);
  box-shadow: 0 0 34px rgba(211, 84, 0, 0.18), inset 0 0 24px rgba(211, 84, 0, 0.08);
}

.step__icon svg { width: 52px; height: 52px; }

.step__label {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ember-bright);
  margin-bottom: 12px;
}

.step h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step p { color: var(--ash-dim); font-size: 0.96rem; }

.tip {
  margin: 70px auto 0;
  max-width: 660px;
  border: 1px solid rgba(211, 84, 0, 0.35);
  background: rgba(211, 84, 0, 0.06);
  padding: 26px 34px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ash-dim);
}

.tip strong { color: var(--ash); }

/* Recipe card */
.recipe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 70px;
}

.recipe__media {
  position: relative;
  min-height: 480px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.recipe__card {
  border: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.5);
  padding: 52px;
}

.recipe__card h3 { font-size: 1.9rem; margin-bottom: 8px; }

.recipe__card .sub {
  color: var(--ember-bright);
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.recipe__card ol {
  list-style: none;
  counter-reset: r;
}

.recipe__card ol li {
  counter-increment: r;
  position: relative;
  padding: 14px 0 14px 56px;
  border-bottom: 1px solid var(--line);
  color: var(--ash-dim);
  font-size: 0.96rem;
}

.recipe__card ol li:last-child { border-bottom: 0; }

.recipe__card ol li::before {
  content: counter(r, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ember);
}

.recipe__card ol li strong { color: var(--ash); }

/* --------------------------------------------------------------------------
   Shop
   -------------------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 80px;
}

.product {
  border: 1px solid var(--line);
  background: rgba(240, 237, 230, 0.015);
  display: flex;
  flex-direction: column;
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

.product:hover {
  border-color: rgba(211, 84, 0, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 46px rgba(211, 84, 0, 0.12);
  transform: translateY(-6px);
}

.product--hero { border-color: rgba(211, 84, 0, 0.4); }

.product__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--ember);
  color: #180b02;
  font-weight: 700;
  padding: 7px 14px;
}

.product__media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
}

.product__media .art {
  position: absolute;
  inset: 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product:hover .product__media .art { transform: scale(1.05); }

.product__body {
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.product__type {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember-bright);
  margin-bottom: 12px;
}

.product__body h3 { font-size: 1.7rem; margin-bottom: 14px; }

.product__body p {
  color: var(--ash-dim);
  font-size: 0.94rem;
  margin-bottom: 26px;
  flex: 1;
}

.product__price {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 22px;
}

.product__price small {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash-faint);
  display: block;
  margin-top: 6px;
}

/* Product placeholder art */
.art { background-color: #151515; }

.art--masterlog {
  background-image:
    radial-gradient(ellipse 30% 60% at 50% 50%, rgba(211, 84, 0, 0.25), transparent 75%),
    repeating-linear-gradient(180deg, #2b1f12 0 34px, #1c140a 34px 40px, #332414 40px 76px),
    linear-gradient(90deg, #0d0d0d 0%, transparent 30%, transparent 70%, #0d0d0d 100%),
    #111;
  background-blend-mode: screen, normal, multiply;
  background-size: 100%, 44% 100%, 100%, 100%;
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}

.art--coins {
  background-image:
    radial-gradient(circle 90px at 38% 58%, #2e2113 0 96%, transparent 100%),
    radial-gradient(circle 90px at 62% 42%, #241a0e 0 96%, transparent 100%),
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(211, 84, 0, 0.16), transparent 75%),
    linear-gradient(180deg, #141414, #0d0d0d);
}

.art--kit {
  background-image:
    radial-gradient(ellipse 60% 40% at 50% 65%, rgba(240, 123, 45, 0.2), transparent 75%),
    linear-gradient(24deg, transparent 46%, #6e5426 47%, #8a6c33 50%, #6e5426 53%, transparent 54%),
    repeating-linear-gradient(180deg, #241a10 0 22px, #180f08 22px 26px),
    linear-gradient(180deg, #131313, #0c0c0c);
  background-blend-mode: screen, normal, normal, normal;
  background-size: 100%, 100%, 40% 60%, 100%;
  background-position: center, center, 30% 70%, center;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   Waitlist / email capture
   -------------------------------------------------------------------------- */
.capture {
  max-width: 560px;
  margin: 50px auto 0;
  display: flex;
  gap: 0;
}

.capture input {
  flex: 1;
  background: rgba(240, 237, 230, 0.05);
  border: 1px solid var(--line);
  border-right: 0;
  color: var(--ash);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 18px 22px;
  outline: none;
  transition: border-color 0.3s ease;
}

.capture input:focus { border-color: rgba(211, 84, 0, 0.6); }
.capture input::placeholder { color: var(--ash-faint); }

.capture .btn { padding: 18px 32px; white-space: nowrap; }

.capture-msg {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--ember-bright);
  min-height: 1.4em;
}

/* --------------------------------------------------------------------------
   Big CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 150px 0;
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 115%, rgba(211, 84, 0, 0.28), transparent 65%);
  pointer-events: none;
}

.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.cta-band p { color: var(--ash-dim); max-width: 540px; margin: 0 auto 42px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 46px;
  background: #0d0d0d;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__brand .nav__logo { font-size: 1.3rem; }

.footer__brand p {
  color: var(--ash-faint);
  font-size: 0.88rem;
  margin-top: 18px;
  max-width: 320px;
}

.footer h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash-faint);
  margin-bottom: 20px;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 12px; }

.footer ul a {
  color: var(--ash-dim);
  font-size: 0.92rem;
  transition: color 0.3s ease;
}

.footer ul a:hover { color: var(--ember-bright); }

.footer__legal {
  border-top: 1px solid var(--line);
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--ash-faint);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .trio, .steps, .products { grid-template-columns: 1fr; gap: 28px; }
  .recipe { grid-template-columns: 1fr; gap: 40px; }
  .recipe__media { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 90px 0; }

  /* Timeline collapses to a left rail */
  .timeline__track { left: 10px; transform: none; }
  .tl-item,
  .tl-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 28px 0 28px 48px;
    text-align: left;
  }
  .tl-item:nth-child(odd) .tl-item__dot,
  .tl-item:nth-child(even) .tl-item__dot { left: 3px; right: auto; }
}

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--line);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 0.95rem; }
  .capture { flex-direction: column; }
  .capture input { border-right: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
