/* =========================================================
   SHRI JI FOODS — styles
   forest #173F35 · gold #C39144 · terracotta #A74E32 · ivory #F4F0E7 · charcoal #1B1B19
   ========================================================= */

:root {
  --forest: #173f35;
  --forest-deep: #0f2a23;
  --forest-ink: #0b1f19;
  --gold: #c39144;
  --gold-light: #ddb878; /* small text on dark */
  --gold-dark: #85601f; /* small text on light */
  --terracotta: #a74e32;
  --terracotta-dark: #8c3f27;
  --ivory: #f4f0e7;
  --ivory-warm: #efe5d3;
  --charcoal: #1b1b19;

  --serif: 'Cormorant Garamond', 'Tiro Devanagari Hindi', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --deva: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', serif;

  --header-h: 76px;
  --r: clamp(1.25rem, 3vw, 2.5rem);
  --gutter: clamp(16px, 4.5vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--forest-ink);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 3px; }

.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100; padding: 0.7rem 1.1rem;
  background: var(--ivory); color: var(--charcoal); font-size: 0.85rem; border-radius: 6px;
  transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* ---------- Shared type ---------- */

.eyebrow {
  display: inline-flex; flex-direction: column; gap: 0.9rem;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::after { content: ''; width: 44px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--gold-light); }

.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -0.012em;
}
.lede { max-width: 46ch; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.75; color: rgb(27 27 25 / 0.78); }

.item__index {
  display: flex; gap: 0.8rem; align-items: baseline;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--terracotta);
}
.item__index span { color: rgb(27 27 25 / 0.55); }
.item__name { margin-top: 0.7rem; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.02; }
.item__name--xl { font-size: clamp(2.4rem, 4.2vw, 3.8rem); }
.item__local { display: block; margin-top: 0.45rem; font-family: var(--deva); font-weight: 400; font-size: 1.05rem; line-height: 1.4; color: var(--terracotta); }
.item__desc { margin-top: 1.1rem; max-width: 36ch; font-size: 1.05rem; line-height: 1.7; color: rgb(27 27 25 / 0.78); }
.item__uses {
  margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid rgb(27 27 25 / 0.14); max-width: 26rem;
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: rgb(27 27 25 / 0.8);
}
.item__sizes { margin-top: 0.6rem; font-size: 0.85rem; }

.concept-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  padding: 0.3rem 0.65rem; border-radius: 4px;
  background: rgb(27 27 25 / 0.55); color: rgb(244 240 231 / 0.9);
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.concept-tag--corner { left: auto; right: var(--gutter); bottom: 18px; }

/* ---------- Lockups ---------- */

.lockup { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; --mark-a: var(--forest); }
.lockup__mark { width: 40px; height: 40px; flex: none; }
.lockup__text { display: flex; flex-direction: column; line-height: 1; }
.lockup__name { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: 0.04em; }
.lockup__sub { margin-top: 0.22rem; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold); }

.brandmark__word { font-family: var(--serif); font-weight: 700; line-height: 0.88; }
.brandmark__sub { display: block; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.48em; text-transform: uppercase; }
.brandmark--shriji { display: inline-grid; justify-items: start; margin-bottom: 1.8rem; }
.brandmark--shriji .brandmark__word { font-size: clamp(3.6rem, 7vw, 6rem); color: var(--terracotta); }
.brandmark__swoosh { width: 92%; height: clamp(10px, 1.3vw, 16px); margin: 0.1rem 0 0.9rem 4%; }
.brandmark--shriji .brandmark__sub { color: rgb(27 27 25 / 0.72); padding-left: 0.3rem; }
.brandmark--ranisati { display: inline-flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; }
.brandmark__emblem { width: clamp(56px, 6vw, 84px); height: clamp(56px, 6vw, 84px); flex: none; }
.brandmark__stack { display: grid; gap: 0.55rem; }
.brandmark--ranisati .brandmark__word { font-size: clamp(2.8rem, 5.6vw, 4.8rem); font-weight: 600; letter-spacing: 0.02em; color: var(--ivory); }
.brandmark--ranisati .brandmark__sub { color: var(--gold-light); letter-spacing: 0.56em; }

/* ---------- Header ---------- */

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ivory); transition: background-color 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s; }
.site-header[data-theme='dark'] .lockup { --mark-a: #e9dfc9; }
.site-header[data-theme='light'] { color: var(--charcoal); }
.site-header.is-scrolled { -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.site-header.is-scrolled[data-theme='dark'] { background: rgb(13 30 25 / 0.78); box-shadow: 0 1px 0 rgb(221 184 120 / 0.14); }
.site-header.is-scrolled[data-theme='light'] { background: rgb(244 240 231 / 0.88); box-shadow: 0 1px 0 rgb(27 27 25 / 0.08); }

.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__links { display: flex; gap: clamp(1.5rem, 3.4vw, 3.25rem); }
.nav__links a {
  position: relative; display: inline-block; padding-block: 0.5rem;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0.28em; bottom: 0.15rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; align-items: center; gap: 0.65rem; padding: 0.6rem 0.2rem; border: 0; background: none; color: inherit;
  font: 500 0.72rem/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle__bars { width: 22px; height: 10px; border-block: 1.5px solid currentColor; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem; background: var(--forest-deep); color: var(--ivory); box-shadow: 0 30px 40px rgb(0 0 0 / 0.25);
  }
  .site-header.is-open .nav__links { display: flex; }
  .site-header.is-open { background: var(--forest-deep); color: var(--ivory); }
  .site-header.is-open .lockup { --mark-a: #e9dfc9; }
  .nav__links a { display: block; padding-block: 1rem; font-size: 0.82rem; border-bottom: 1px solid rgb(244 240 231 / 0.1); }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current] { color: var(--gold-light); }
}

/* =========================================================
   1 · HERO
   ========================================================= */

.hero {
  position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden; color: var(--ivory); background: #10140f; isolation: isolate;
}
.hero.is-covered { visibility: hidden; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 18% 50%; }
.motion .hero__bg img {
  transform: scale(calc(1.03 + var(--hero-exit, 0) * 0.1)) translateY(calc(var(--hero-exit, 0) * 4%));
  transform-origin: 70% 60%;
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__bg { z-index: 2; }
html:not(.has-depth) .hero__back { display: none; }

/* Layered depth (desktop, motion allowed): background plate → WebGL dust → masked photo.
   The plate matches the photo's own background, so the soft mask edge is invisible. */
.has-depth .hero__back { display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #10140f; }
.has-depth .hero__back img {
  position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: 18% 50%;
  transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -6px + var(--hero-exit, 0) * -3%), 0) scale(calc(1 + var(--hero-exit, 0) * 0.04));
}
.has-depth .hero__bg {
  -webkit-mask-image: radial-gradient(ellipse 82% 112% at 80% 72%, #000 58%, transparent 84%);
  mask-image: radial-gradient(ellipse 82% 112% at 80% 72%, #000 58%, transparent 84%);
}
.has-depth .hero__bg img {
  transform: translate3d(calc(6vw + var(--px, 0) * -26px), calc(var(--py, 0) * -14px + var(--hero-exit, 0) * 5%), 0) scale(calc(1.03 + var(--hero-exit, 0) * 0.1));
  transform-origin: 70% 70%;
}
.hero__progress {
  position: absolute; left: 0; bottom: 0; z-index: 5; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold), rgb(195 145 68 / 0.2));
  transform: scaleX(var(--hero-exit, 0)); transform-origin: left;
}
.hero__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(10 18 14 / 0.78) 0%, rgb(10 18 14 / 0.42) 34%, transparent 56%),
    linear-gradient(0deg, rgb(10 14 12 / 0.55) 0%, transparent 28%),
    rgb(8 12 10 / calc(var(--hero-exit, 0) * 0.7));
}
.hero__content {
  position: relative; z-index: 4; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-top: var(--header-h);
}
.hero__content > * { flex-shrink: 0; }
.hero__mark { width: 56px; height: 56px; margin-bottom: 1.5rem; --mark-a: #e9dfc9; }
.hero__title {
  margin-top: 1.4rem; max-width: 8.2em;
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, min(6vw, 9.5vh), 5.6rem);
  line-height: 0.96; text-transform: uppercase; text-shadow: 0 2px 30px rgb(0 0 0 / 0.35);
}
.hero__title span {
  font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; color: #ecd3a0;
}
.hero__line { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.9vw, 1.6rem); color: rgb(244 240 231 / 0.9); }
.scroll-cue {
  margin-top: clamp(2.2rem, 6vh, 4rem); display: inline-flex; align-items: center; gap: 1.1rem;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; text-decoration: none; color: rgb(244 240 231 / 0.88);
}
.scroll-cue__ring { display: grid; place-items: center; width: 38px; height: 60px; border: 1px solid rgb(244 240 231 / 0.5); border-radius: 999px; transition: border-color 0.3s, background-color 0.3s; }
.scroll-cue__ring svg { width: 18px; height: 18px; transform: rotate(90deg); }
.scroll-cue:hover .scroll-cue__ring { border-color: var(--gold); background: rgb(195 145 68 / 0.12); }
.motion .scroll-cue__ring svg { animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: rotate(90deg) translateX(-5px); opacity: 0.4; } 50% { transform: rotate(90deg) translateX(6px); opacity: 1; } }
.motion .hero__content { opacity: calc(1 - var(--hero-exit, 0) * 1.6); transform: translate3d(0, calc(var(--hero-exit, 0) * -60px), 0); }

@media (max-width: 760px) {
  .hero__bg img { object-position: 50% 100%; }
  .hero__content { justify-content: flex-start; padding-top: calc(var(--header-h) + 2.5vh); }
  .hero__mark { display: none; }
  .hero__title { margin-top: 0.9rem; font-size: clamp(2.2rem, 9.8vw, 3rem); }
  .hero__line { margin-top: 0.9rem; }
  .scroll-cue { margin-top: 1.4rem; }
  .scroll-cue__ring { width: 32px; height: 50px; }
  .hero__shade { background: linear-gradient(180deg, rgb(10 18 14 / 0.75) 0%, rgb(10 18 14 / 0.5) 42%, transparent 58%), rgb(8 12 10 / calc(var(--hero-exit, 0) * 0.7)); }
}
@media (max-height: 700px) and (min-width: 761px) { .hero__mark { display: none; } }

/* =========================================================
   Layers & reveals
   ========================================================= */

.layer { position: relative; z-index: 2; border-radius: var(--r) var(--r) 0 0; }
.motion [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.motion [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   Scroll scenes (journey + oils). Base = readable flow list;
   .motion = sticky stage whose steps crossfade with scroll.
   ========================================================= */

.scene__step {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center;
  gap: clamp(2rem, 6vw, 6rem); padding: 2rem var(--gutter); max-width: 1320px; margin-inline: auto;
}
.scene__media { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 5; background: #2b2016; order: 2; }
.scene__media img { width: 100%; height: 100%; object-fit: cover; }
.scene__text { max-width: 30rem; }
.scene__title { margin-top: 0.8rem; font-family: var(--serif); font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1.04; }
.scene--journey .scene__text > p:last-child { margin-top: 1.1rem; font-size: 1.08rem; color: rgb(27 27 25 / 0.76); max-width: 36ch; }
.scene__rail { display: none; }

.motion .scene { position: relative; height: calc(var(--steps) * 85vh + 100vh); }
.motion .scene__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.motion .scene__steps { position: absolute; inset: 0; }
.motion .scene__step {
  position: absolute; inset: 0; padding-top: calc(var(--header-h) + 2vh); padding-bottom: 6vh;
  opacity: var(--o, 0); pointer-events: none;
}
.motion .scene__step.is-current { pointer-events: auto; }
.motion .scene__media { height: min(78svh, 820px); width: auto; justify-self: center; }
.motion .scene__media img { transform: scale(calc(1.08 - var(--o, 0) * 0.08)); transform-origin: 50% 60%; }
.motion .scene__text { opacity: var(--to, 0); transform: translate3d(0, calc(var(--d, 0) * -24px), 0); }
.motion .scene__step { opacity: 1; }
.motion .scene__media { opacity: var(--o, 0); }

.motion .scene__rail {
  position: absolute; left: var(--gutter); bottom: 4vh; z-index: 2; display: flex; gap: 1.6rem;
}
@media (min-width: 1320px) { .motion .scene__rail { left: calc((100vw - 1320px) / 2 + var(--gutter)); } }
.scene__rail a {
  position: relative; padding-top: 0.9rem; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; opacity: 0.55; transition: opacity 0.3s;
}
.scene__rail a::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: currentColor; opacity: 0.25; }
.scene__rail a[aria-current]::before { background: var(--gold); opacity: 1; }
.scene__rail a[aria-current], .scene__rail a:hover { opacity: 1; }

@media (max-width: 760px) {
  .scene__step { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 1.5rem 2.5rem; }
  .scene__media { order: 0; }
  .motion .scene { height: calc(var(--steps) * 80vh + 100vh); }
  .motion .scene__step { grid-template-rows: auto 1fr; align-content: start; gap: 1.2rem; padding-top: calc(var(--header-h) + 1.5vh); }
  .motion .scene__media { height: 46svh; aspect-ratio: 4 / 5; }
  .motion .scene__text { text-align: center; justify-self: center; }
  .motion .scene__text .item__index { justify-content: center; }
  .scene__title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .scene--journey .scene__text > p:last-child { font-size: 1rem; margin-inline: auto; }
  .motion .scene__rail { display: none; }
}

/* =========================================================
   2 · STORY
   ========================================================= */

.story { background: var(--ivory); padding-top: clamp(5rem, 10vw, 8.5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.story__head { display: grid; gap: 1.4rem; margin-bottom: clamp(1rem, 4vw, 3rem); }
.story__head .lede { max-width: 54ch; }
.scene--journey .scene__media { box-shadow: 0 40px 80px -40px rgb(70 40 14 / 0.6); }

.roots {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem;
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: 2.4rem; border-top: 1px solid rgb(27 27 25 / 0.14);
}
.roots li { display: grid; gap: 0.4rem; }
.roots__label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-dark); }
.roots__value { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
@media (max-width: 760px) { .roots { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Story bands: full-bleed chapter images with one line of copy in the image's negative space */
.band { position: relative; height: min(86svh, 60vw); min-height: 420px; margin: clamp(2rem, 5vw, 4rem) 0; overflow: hidden; }
.band__bg, .band__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.band__bg img { object-fit: cover; }
.motion .band__bg img { transform: translate3d(0, calc((var(--p, 0.5) - 0.5) * -7%), 0) scale(1.1); }
.band::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 70% at 12% 22%, rgb(244 236 220 / 0.55), transparent 70%);
}
.band__line {
  position: absolute; z-index: 2; left: var(--gutter); top: clamp(2.5rem, 9vw, 7rem); max-width: 14ch;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.04; color: var(--charcoal);
}
@media (min-width: 1320px) { .band__line { left: calc((100vw - 1320px) / 2 + var(--gutter)); } }
/* The unit photo has no clean negative space, so its line sits below the image as a caption */
.band--unit { height: auto; min-height: 0; overflow: visible; }
.band--unit::before { display: none; }
.band--unit .band__bg { position: relative; display: block; aspect-ratio: 16 / 9; max-height: 86svh; width: 100%; overflow: hidden; }
.band--unit .band__line { position: static; display: block; max-width: none; padding: 1.4rem var(--gutter) 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
@media (min-width: 1320px) { .band--unit .band__line { padding-left: calc((100vw - 1320px) / 2 + var(--gutter)); } }
.band--unit .concept-tag--corner { bottom: auto; top: 18px; }
.concept-tag--real { background: rgb(23 63 53 / 0.82); }
@media (max-width: 760px) {
  .band { height: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .band--unit .band__bg { aspect-ratio: 1 / 1; }
  .band__line { top: 1.6rem; font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .motion .band__bg img { transform: none; }
}

/* =========================================================
   Brand intros (full-bleed photography + live text)
   ========================================================= */

.world { position: relative; z-index: 2; }
.intro { position: relative; height: min(100svh, 58vw); min-height: 600px; overflow: hidden; }
.intro__bg, .intro__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__bg img { object-fit: cover; object-position: 80% 50%; }
.motion .intro__bg img { transform: translate3d(0, calc((var(--p, 0.5) - 0.5) * -6%), 0) scale(1.08); }
.intro::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.intro__content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.intro__copy { max-width: min(28rem, 29vw); display: grid; justify-items: start; gap: 1.2rem; }
.intro .section-title { font-size: clamp(2.3rem, 3.9vw, 3.8rem); }
.intro .brandmark--shriji .brandmark__word { font-size: clamp(3.2rem, 5.6vw, 5.2rem); }
.intro .brandmark--ranisati .brandmark__word { font-size: clamp(2.4rem, 4.2vw, 4rem); }
.intro__copy .brandmark { margin-bottom: 0.4rem; }
.intro--shriji::before { background: linear-gradient(90deg, rgb(244 236 220 / 0.85) 0%, rgb(244 236 220 / 0.5) 32%, transparent 52%); }
.intro--ranisati::before { background: linear-gradient(90deg, rgb(13 36 29 / 0.9) 0%, rgb(13 36 29 / 0.6) 30%, transparent 46%); }
.intro--ranisati .section-title { color: var(--ivory); }
.intro--ranisati .lede { color: rgb(244 240 231 / 0.82); }

@media (max-width: 760px) {
  .intro { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .intro::before { display: none; }
  .intro__content { height: auto; padding-block: clamp(4.5rem, 16vw, 6rem) 2rem; }
  .intro__copy { max-width: none; }
  .intro__bg { position: relative; order: 1; aspect-ratio: 1 / 0.92; }
  .intro--ranisati .intro__bg { aspect-ratio: 1 / 0.97; }
  .motion .intro__bg img { transform: none; }
  .concept-tag--corner { right: 14px; bottom: 14px; }
}

/* =========================================================
   3 · SHRIJI
   ========================================================= */

.world--shriji { background: linear-gradient(180deg, #f3eadb 0%, #ecdfc8 100%); border-radius: var(--r) var(--r) 0 0; overflow: clip; }

/* Garam masala spotlight (3D on capable desktops, photo otherwise) */
.spotlight { position: relative; padding-block: clamp(4rem, 8vw, 7rem); }
.spotlight__stage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.spotlight__visual {
  position: relative; aspect-ratio: 4 / 5; width: 100%; justify-self: center; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, transparent 0 36.6%, rgb(195 145 68 / 0.55) 36.8% 37.1%, transparent 37.3%),
    radial-gradient(circle at 50% 44%, rgb(255 214 150 / 0.16) 0 30%, transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 0 28 14 14 28 0 14Z' fill='none' stroke='%23C39144' stroke-opacity='.16' stroke-width='.8'/%3E%3C/svg%3E") 0 0 / 28px 28px,
    radial-gradient(120% 90% at 30% 10%, #6a3b26, #3a1d12);
  box-shadow: inset 0 0 0 1px rgb(195 145 68 / 0.25), 0 40px 80px -40px rgb(60 25 10 / 0.6);
}
.spotlight__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.8s var(--ease); }
.spotlight__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s var(--ease); }
.spotlight.is-3d .spotlight__photo { opacity: 0; }
.spotlight.is-3d .spotlight__gl { opacity: 1; }
@media (min-width: 761px) {
  .motion .spotlight { height: 210vh; padding: 0; }
  .motion .spotlight__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: var(--header-h); }
  .motion .spotlight__visual { height: min(76svh, 760px); width: auto; }
}

.whole-spices { position: relative; margin-top: 2rem; max-width: 30rem; aspect-ratio: 1200 / 348; border-radius: 12px; overflow: hidden; }
.whole-spices img { width: 100%; height: 100%; object-fit: cover; }
.whole-spices figcaption { margin-top: 0.7rem; font-size: 0.85rem; color: rgb(27 27 25 / 0.65); }

/* Range headings + SHRIJI sub-navigation */
.range__head { display: grid; gap: 1.1rem; padding-block: clamp(4.5rem, 9vw, 7rem) clamp(2.5rem, 5vw, 4rem); }
.range__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 4.4vw, 3.8rem); line-height: 1.02; }
.subnav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.subnav a {
  padding: 0.55rem 1rem; border: 1px solid rgb(167 78 50 / 0.35); border-radius: 999px; background: rgb(255 250 240 / 0.6);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--terracotta-dark);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.subnav a:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--ivory); }

/* Single spices: one confident colour world each, with a restrained jaali lattice */
.spices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.spice {
  --tone: #b3261e; --tone-deep: #7e1a14; --ink: var(--ivory); --accent: #f2c9a0;
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; color: var(--ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 0 28 14 14 28 0 14Z' fill='none' stroke='%23C39144' stroke-opacity='.22' stroke-width='.8'/%3E%3Ccircle cx='14' cy='14' r='1.4' fill='%23C39144' fill-opacity='.3'/%3E%3C/svg%3E") 0 0 / 28px 28px,
    linear-gradient(165deg, var(--tone) 0%, var(--tone-deep) 100%);
  box-shadow: 0 40px 70px -40px rgb(60 20 10 / 0.6);
}
.spice--haldi { --tone: #e2a51e; --tone-deep: #b67a0c; --ink: #2a1d08; --accent: #6b3f05; }
.spice--dhaniya { --tone: #557530; --tone-deep: #33491b; --accent: #d9e3a4; }
.spice__media { position: relative; margin: 14px 14px 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.spice__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.spice:hover .spice__media img { transform: scale(1.03); }
.spice__text { padding: 1.5rem clamp(1.2rem, 2vw, 1.8rem) 1.9rem; border-top: 1px solid transparent; }
.spice .item__index { color: var(--accent); }
.spice .item__index span { color: var(--ink); opacity: 0.8; }
.spice .item__local { color: var(--accent); }
.spice .item__desc { color: var(--ink); opacity: 0.88; }
.spice .item__uses { color: var(--ink); border-top-color: color-mix(in srgb, var(--ink) 25%, transparent); }
@media (max-width: 1080px) { .spices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .spices { grid-template-columns: 1fr; } }

/* Flours: alternating editorial rows */
.flours { display: grid; gap: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(6rem, 12vw, 10rem); }
.flour { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.flour:nth-child(even) .flour__media { order: 2; }
.flour__media { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 5; max-height: 82vh; justify-self: center; box-shadow: 0 40px 80px -40px rgb(90 50 20 / 0.5); }
.flour__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.flour:hover .flour__media img { transform: scale(1.03); }
@media (max-width: 760px) {
  .spotlight__stage, .flour { grid-template-columns: 1fr; gap: 1.6rem; }
  .flour:nth-child(even) .flour__media { order: 0; }
}

/* =========================================================
   4 · HANDOFF  flour → seed → oil
   ========================================================= */

.handoff { position: relative; z-index: 2; background: #0c1512; }
.handoff__stage { position: relative; height: 80vh; min-height: 460px; overflow: hidden; display: grid; place-items: center; }
.handoff__bg, .handoff__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.handoff__bg img { object-fit: cover; }
.handoff__veil { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.handoff__veil--ivory { background: #ecdfc8; }
.handoff__veil--forest { background: var(--forest); }
.handoff__line {
  position: relative; z-index: 2; grid-area: 1 / 1; padding-inline: var(--gutter); text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.1; color: var(--ivory);
  text-shadow: 0 4px 40px rgb(0 0 0 / 0.6);
}
.handoff__line[data-line='0'] { transform: translateY(-0.7em); }
.handoff__line[data-line='1'] { transform: translateY(0.7em); }
.motion .handoff { height: 240vh; }
.motion .handoff__stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.motion .handoff__bg img { transform: translate3d(calc((0.5 - var(--p, 0)) * 24%), 0, 0) scale(1.3); }
.motion .handoff__veil--ivory { opacity: clamp(0, calc(1 - var(--p, 0) * 5), 1); }
.motion .handoff__veil--forest { opacity: clamp(0, calc((var(--p, 0) - 0.84) * 6.5), 1); }
.motion .handoff__line { transform: none; opacity: 0; }

/* =========================================================
   5 · RANISATI
   ========================================================= */

.world--ranisati { background: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%); color: var(--ivory); padding-bottom: calc(var(--r) + clamp(2rem, 5vw, 4rem)); }
.scene--oils .scene__step { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.scene--oils .scene__media { order: 0; background: #0e241d; box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(221 184 120 / 0.18); }
.scene--oils .item__index { color: var(--gold-light); }
.scene--oils .item__index span { color: rgb(244 240 231 / 0.55); }
.scene--oils .item__index .oil__cue { margin-left: auto; padding-left: 1rem; color: var(--gold-light); letter-spacing: 0.24em; }
.scene--oils .item__local { color: var(--gold-light); }
.scene--oils .item__desc { color: rgb(244 240 231 / 0.8); }
.scene--oils .item__uses { color: rgb(244 240 231 / 0.85); border-top-color: rgb(221 184 120 / 0.25); }
.motion .scene--oils .scene__rail { left: auto; right: var(--gutter); color: var(--ivory); }
@media (min-width: 1320px) { .motion .scene--oils .scene__rail { right: calc((100vw - 1320px) / 2 + var(--gutter)); } }
@media (max-width: 760px) {
  .scene--oils .scene__step { grid-template-columns: 1fr; }
  .scene--oils .item__index .oil__cue { display: none; }
}

/* =========================================================
   6 · FAMILY / CLOSE
   ========================================================= */

.family { background: var(--ivory); margin-top: calc(var(--r) * -1); padding-top: clamp(5rem, 10vw, 8rem); }
.family__head { display: grid; justify-items: center; text-align: center; gap: 1.3rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.family__head .eyebrow { align-items: center; }
.family__head .lede { max-width: 52ch; }
.family__image { position: relative; }
.family__image img { width: 100%; height: auto; }
.family__mobile { display: none; }
@media (max-width: 760px) {
  .family__image { display: none; }
  .family__mobile { display: grid; gap: 4px; }
  .family__mobile img { width: 100%; height: auto; }
}

.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 9vw, 7rem); }
.path {
  position: relative; display: grid; gap: 0.4rem; padding: 1.8rem 3rem 1.8rem 0; margin-right: 2rem;
  border-top: 1px solid rgb(27 27 25 / 0.2); text-decoration: none; transition: border-color 0.3s;
}
.path__label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dark); }
.path__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; }
.path--shriji .path__title { color: var(--terracotta); }
.path--ranisati .path__title { color: var(--forest); }
.path svg { position: absolute; right: 0; bottom: 2rem; width: 26px; height: 26px; transition: transform 0.4s var(--ease); }
.path:hover { border-top-color: var(--gold); }
.path:hover svg { transform: translateX(6px); }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } .path { margin-right: 0; } }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  position: relative; z-index: 2; background: linear-gradient(180deg, #0d241e, var(--forest-ink)); color: rgb(244 240 231 / 0.86);
  padding-block: clamp(4rem, 8vw, 6rem) 2rem;
}
.site-footer .lockup { --mark-a: #e9dfc9; color: var(--ivory); }
.lockup--footer .lockup__mark { width: 56px; height: 56px; }
.lockup--footer .lockup__name { font-size: 2rem; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgb(221 184 120 / 0.2); }
.footer__title, .footer__col h3 { margin-bottom: 1rem; font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); }
.footer__contact ul { display: grid; gap: 0.4rem; font-family: var(--serif); font-size: 1.4rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 3rem; }
.footer__col h3 a { text-decoration: none; color: var(--ivory); }
.footer__col h3 span { display: block; margin-top: 0.35rem; color: rgb(244 240 231 / 0.55); letter-spacing: 0.2em; font-size: 0.6rem; }
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a { text-decoration: none; color: rgb(244 240 231 / 0.84); transition: color 0.25s; }
.footer__col a:hover, .footer__contact a:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid rgb(244 240 231 / 0.1); font-size: 0.8rem; color: rgb(244 240 231 / 0.6); }
@media (max-width: 760px) { .footer__cols { grid-template-columns: 1fr; } }

/* =========================================================
   Image placeholders (blurred preview, then fade in)
   ========================================================= */
.has-ph { overflow: hidden; isolation: isolate; background-color: #a88a66; }
picture.has-ph { display: block; } /* only <picture> needs it; never override display:none on other wrappers */
.has-ph:not(.hero__bg, .hero__back, .intro__bg, .handoff__bg, .band__bg) { position: relative; }
.has-ph::before {
  /* blurred preview of the real image; removed once it has loaded */
  content: ''; position: absolute; inset: -24px; z-index: -1; pointer-events: none;
  background: var(--ph, linear-gradient(135deg, #c9a77c, #7d5b3c)) center / cover no-repeat;
  filter: blur(22px) saturate(0.85); transform: scale(1.06);
}
.has-ph.is-done::before { display: none; }
.js .has-ph img { opacity: 0; transition: opacity 0.7s var(--ease); }
.js .has-ph img.is-loaded { opacity: 1; }

/* SHRIJI 03 direction: dot above the first I (temporary until approved vector) */
.dot-i { position: relative; }
.dot-i::before {
  content: ''; position: absolute; left: 50%; top: -0.08em; width: 0.13em; height: 0.13em; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%);
}


/* =========================================================
   Reduced motion: everything still, nothing hidden
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
