:root {
  --bg-0: #0c0e14;
  --bg-1: #141821;
  --bg-2: #1c2230;
  --ink: #f4efe6;
  --muted: #a8b0c0;
  --saffron: #e8a54b;
  --cardamom: #3d8f6e;
  --ember: #c45c26;
  --line: rgba(244, 239, 230, 0.12);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: Manrope, system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-0);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--saffron);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--saffron);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(to bottom, rgba(12, 14, 20, 0.92), transparent);
  transition: background 0.35s var(--ease);
}

.nav.is-solid {
  background: rgba(12, 14, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.88rem;
}

.nav__links a {
  color: var(--muted);
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .nav__links a:not(:last-child) {
    display: none;
  }
}

/* Type */
.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
}

.display--md {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
}

.lede,
.body {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
}

.body--wide {
  max-width: 36rem;
}

.tag {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(232, 165, 75, 0.45);
  border-radius: 999px;
  color: var(--saffron);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--saffron);
  color: #1a1208;
}

.btn--primary:hover {
  background: #f0b65e;
  color: #1a1208;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Chapters */
.chapter {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6rem clamp(1rem, 4vw, 2.5rem) 4rem;
  overflow: hidden;
}

.chapter__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.chapter__stage {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
}

.chapter__stage--split {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem 3rem;
}

@media (max-width: 860px) {
  .chapter__stage--split {
    grid-template-columns: 1fr;
  }
}

.chapter__copy--center {
  text-align: center;
  margin-inline: auto;
}

.chapter__copy--center .body {
  margin-inline: auto;
}

/* Hero */
.chapter--hero {
  background:
    radial-gradient(ellipse 70% 55% at 20% 20%, rgba(61, 143, 110, 0.28), transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 10%, rgba(232, 165, 75, 0.22), transparent 55%),
    linear-gradient(180deg, #0a0c12 0%, #12161f 55%, #1a1510 100%);
  justify-content: center;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  inset: 20% 10% auto;
  height: 40%;
  background: radial-gradient(circle, rgba(232, 165, 75, 0.15), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-hint__line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--saffron), transparent);
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Morning / grains / household backgrounds */
.chapter--pin[data-chapter="morning"],
.chapter--scene[data-chapter="morning"] {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(232, 165, 75, 0.12), transparent 50%),
    var(--bg-1);
}

.chapter--pin[data-chapter="grains"] {
  background:
    radial-gradient(ellipse at 30% 60%, rgba(196, 92, 38, 0.14), transparent 55%),
    var(--bg-0);
}

.chapter--pin[data-chapter="household"] {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(61, 143, 110, 0.14), transparent 50%),
    var(--bg-1);
}

.chapter--scene[data-chapter="dal"] {
  background: linear-gradient(160deg, #10141c 0%, #1a140e 100%);
}

.chapter--scene[data-chapter="spices"] {
  background: linear-gradient(200deg, #140e0c 0%, #1c1218 55%, #0e1016 100%);
}

.chapter--scene[data-chapter="wrap"] {
  background: linear-gradient(180deg, #12161f 0%, #0c1018 100%);
}

.chapter--scene[data-chapter="delivery"] {
  background:
    radial-gradient(ellipse at 20% 70%, rgba(61, 143, 110, 0.18), transparent 45%),
    linear-gradient(180deg, #0c1018 0%, #15120e 100%);
}

.chapter--promise {
  background: var(--bg-2);
  text-align: center;
  justify-content: center;
}

.chapter--promise .body {
  margin-inline: auto;
}

.chapter--cta {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 165, 75, 0.2), transparent 55%),
    var(--bg-0);
  text-align: center;
  justify-content: center;
}

.chapter--cta .body {
  margin-inline: auto;
}

.chapter--cta .cta-row {
  justify-content: center;
}

/* Product cards + spin (label OUTSIDE spin so text never reverses) */
.product-orbit,
.product-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-start;
  perspective: 1000px;
}

.product-row--center {
  justify-content: center;
}

.product-card {
  margin: 0;
  width: min(160px, 40vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.product-card--sm {
  width: min(120px, 28vw);
}

.product-card--wide {
  width: min(180px, 42vw);
}

.product-card__spin {
  width: 100%;
  aspect-ratio: 1;
  perspective: 900px;
}

.product-card__media {
  width: 100%;
  height: 100%;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  will-change: transform;
}

.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  text-align: center;
  line-height: 1.25;
}

/* Keep old face class names as media backgrounds */
.product-card__face {
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  will-change: transform;
}

.product-card__face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__face span {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 0.92rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.product-card__face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 14, 0.75), transparent 55%);
  pointer-events: none;
}

/* Placeholder textures when images missing */
.product-card__face--almond {
  background: radial-gradient(circle at 40% 35%, #f0d2a8, #a56b35 70%);
}
.product-card__face--cashew {
  background: radial-gradient(circle at 45% 40%, #f5ead6, #c4a574 70%);
}
.product-card__face--pumpkin {
  background: radial-gradient(circle at 55% 40%, #f0c56e, #8a5a18 70%);
}
.product-card__face--sunflower {
  background: radial-gradient(circle at 50% 40%, #f2e6d0, #b8a078 70%);
}
.product-card__face--walnut {
  background: radial-gradient(circle at 45% 40%, #d4a574, #6b3e22 72%);
}
.product-card__face--rice {
  background: radial-gradient(circle at 50% 40%, #f5f0e4, #c4b89a 70%);
}
.product-card__face--wheat {
  background: radial-gradient(circle at 40% 35%, #e8c878, #9a6b28 70%);
}
.product-card__face--grain {
  background: radial-gradient(circle at 60% 40%, #e0b86a, #7a4e1c 70%);
}
.product-card__face--dal {
  background: radial-gradient(circle at 45% 40%, #f0c45c, #b8731a 70%);
}
.product-card__face--spice {
  background: radial-gradient(circle at 50% 35%, #e07040, #8b1e1e 65%, #c9a227 100%);
}
.product-card__face--cardamom {
  background: radial-gradient(circle at 50% 40%, #c5d9a8, #5a7a3a 70%);
}
.product-card__face--cloves {
  background: radial-gradient(circle at 50% 40%, #8b5a3c, #3a2218 70%);
}
.product-card__face--anise {
  background: radial-gradient(circle at 50% 40%, #c4844a, #6b3a1e 70%);
}
.product-card__face--pepper {
  background: radial-gradient(circle at 50% 40%, #4a4a4a, #1a1a1a 70%);
}
.product-card__face--sugar {
  background: radial-gradient(circle at 50% 40%, #ffffff, #d8d2c8 70%);
  color: #222;
}
.product-card__face--sugar span {
  text-shadow: none;
  color: #222;
}
.product-card__face--pantry {
  background: radial-gradient(circle at 40% 40%, #c8e0d4, #3d6b55 70%);
}
.product-card__face--home {
  background: radial-gradient(circle at 55% 40%, #d8c4a8, #5c4a38 70%);
}

.cooker-scene--solo {
  margin-top: 1rem;
}

.product-float {
  position: absolute;
  right: 8%;
  top: 12%;
  width: 120px;
  aspect-ratio: 1;
  perspective: 800px;
}

.product-float .product-card__face {
  width: 100%;
  height: 100%;
}

/* Morning enjoy scene */
.enjoy-scene {
  position: relative;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  min-height: 420px;
  width: 100%;
}

.enjoy-scene__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  z-index: 2;
}

.person-eat {
  position: relative;
  z-index: 1;
  text-align: center;
}

.person-eat__art {
  width: min(260px, 70vw);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.4));
}

.person-eat__caption {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Flow chips (product photos flying) */
.flow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}

.flow-chip {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  left: 0;
  top: 0;
  will-change: transform, opacity;
}

/* Cook flow + pressure cooker */
.cook-flow {
  position: relative;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  min-height: 480px;
  width: 100%;
}

.cook-flow__sources {
  display: flex;
  justify-content: center;
  z-index: 2;
}

.cook-flow__sources--row {
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pc-wrap {
  position: relative;
  z-index: 1;
  width: min(320px, 88vw);
}

.pressure-cooker {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.5));
}

.pc-lid {
  transform-box: fill-box;
  transform-origin: center;
}

/* Legacy cooker */
.cooker-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.cooker {
  width: min(320px, 85vw);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.fall-dot {
  fill: #e8b86d;
}

.fall-dot.is-spice {
  fill: #e07040;
}

/* Wrap scene */
.wrap-scene {
  display: grid;
  place-items: center;
  min-height: 320px;
}

.wrap-bag {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 0.85;
}

.wrap-bag__body {
  position: absolute;
  inset: 18% 8% 8%;
  border-radius: 1.25rem 1.25rem 1.5rem 1.5rem;
  background: linear-gradient(160deg, #2a3344, #171c26);
  border: 1px solid var(--line);
  display: grid;
  place-items: end center;
  padding: 1.25rem;
  overflow: hidden;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.4);
}

.wrap-bag__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.wrap-bag__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.wrap-bag__items {
  position: absolute;
  inset: 0 12% 55%;
  z-index: 2;
}

.wrap-chip {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.wrap-chip--img:nth-child(1) {
  left: 8%;
  top: 20%;
}
.wrap-chip--img:nth-child(2) {
  left: 38%;
  top: 0%;
}
.wrap-chip--img:nth-child(3) {
  right: 18%;
  top: 18%;
}
.wrap-chip--img:nth-child(4) {
  left: 48%;
  top: 36%;
}

.wrap-chip--1 {
  left: 8%;
  top: 20%;
  background: radial-gradient(circle, #f0d2a8, #a56b35);
}
.wrap-chip--2 {
  left: 38%;
  top: 0%;
  background: radial-gradient(circle, #f0c45c, #b8731a);
}
.wrap-chip--3 {
  right: 18%;
  top: 18%;
  background: radial-gradient(circle, #e07040, #8b1e1e);
}
.wrap-chip--4 {
  left: 48%;
  top: 36%;
  background: radial-gradient(circle, #c8e0d4, #3d6b55);
}

/* Door / delivery */
.door-scene {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.door {
  width: min(220px, 55vw);
  height: 300px;
  position: relative;
}

.door__panel {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem 0.5rem 0 0;
  background: linear-gradient(90deg, #3a2a1c, #5a4030 40%, #2e2218);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 10px rgba(0, 0, 0, 0.15), 0 30px 50px rgba(0, 0, 0, 0.35);
}

.door__handle {
  position: absolute;
  right: 18%;
  top: 48%;
  width: 12px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(#d4b56a, #8a6a30);
}

.parcel {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.parcel__media {
  width: 100%;
  aspect-ratio: 1.1;
  border-radius: 1rem;
  background: linear-gradient(160deg, #2a3344, #171c26);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  position: relative;
}

.parcel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parcel__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  background: #090b10;
}

.site-footer__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin: 0;
}

.site-footer__links a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--saffron);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-hint__line {
    animation: none;
  }

  .product-card__media,
  .product-card__face,
  .parcel__media,
  .wrap-chip,
  .flow-chip {
    transform: none !important;
  }

  .flow-chip {
    opacity: 0 !important;
  }
}
