/* ==========================================================================
   KARTA - brand system
   Palette is lifted from Karta's own identity (terracotta, paper, turmeric).
   Shape rule: buttons are pills; photographs sit in brand shapes
   (Manduva arch, scalloped frame) or 24px frames. Nothing else.
   ========================================================================== */

:root {
  --rust: #963f21;
  --rust-deep: #5c2413;
  --rust-line: #7c3118;
  --paper: #f3ecdc;
  --paper-2: #ebdfc8;
  --cream: #eedcb5;
  --turmeric: #e49e3a;
  --turmeric-light: #f2c47e;
  --ink: #2b1a12;
  --ink-soft: #5e4a3b;
  --night: #1d120c;

  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;

  --gutter: clamp(16px, 4.5vw, 72px);
  --section-y: clamp(96px, 12vw, 168px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-frame: 24px;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* paper grain, fixed so it never repaints on scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .2  0 0 0 0 .1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--turmeric); outline-offset: 4px; border-radius: 4px; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--cream); color: var(--rust-deep);
  padding: 10px 16px; border-radius: 999px; transform: translateY(-150%);
}
.skip:focus { transform: none; }

/* ---------- brand marks (raster masks lifted from the identity, recoloured in CSS) ---------- */
.wordmark {
  display: inline-block;
  aspect-ratio: 685 / 204;
  background: currentColor;
  -webkit-mask: url("../assets/img/wordmark.png") center / contain no-repeat;
          mask: url("../assets/img/wordmark.png") center / contain no-repeat;
}
.icon {
  display: block;
  width: 52px;
  aspect-ratio: 1;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}
.icon--pot { --m: url("../assets/img/ico-pot.png"); }
.icon--mortar { --m: url("../assets/img/ico-mortar.png"); }
.icon--grinder { --m: url("../assets/img/ico-grinder.png"); }
.icon--fire { --m: url("../assets/img/ico-fire.png"); }

.kolam svg { width: 100%; height: auto; overflow: visible; }
.kolam path { fill: none; stroke: currentColor; stroke-width: var(--kw, 2.4); stroke-linecap: round; stroke-linejoin: round; }
.kolam circle { fill: currentColor; }

.scallop { clip-path: url(#scallop); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  --bg: transparent;
  --fg: currentColor;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 1.15em 1.7em 0.95em; /* Josefin sits high on its baseline */
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.25s var(--ease), border-color 0.4s var(--ease);
}
.btn svg { width: 1.25em; height: 1.25em; margin-top: -0.2em; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--cream { --bg: var(--cream); --fg: var(--rust-deep); }
.btn--cream:hover { --bg: var(--turmeric-light); }
.btn--rust { --bg: var(--rust); --fg: var(--cream); }
.btn--rust:hover { --bg: var(--rust-deep); }
.btn--ghost { border: 1px solid color-mix(in srgb, currentColor 45%, transparent); }
.btn--ghost:hover { border-color: currentColor; }

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader { display: none; }
.js .loader {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--rust);
  color: var(--cream);
}
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.kolam--loader { width: 150px; --kw: 1.9; }
.loader__mark { width: 168px; }
.js.is-loading body { overflow: hidden; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 72px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  color: var(--cream);
  transition: transform 0.6s var(--ease), color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in srgb, var(--rust) 86%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
  transition: opacity 0.4s var(--ease), background-color 0.4s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav[data-theme="dark"] { color: var(--rust); }
.nav[data-theme="dark"]::before {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom-color: color-mix(in srgb, var(--rust) 14%, transparent);
}
.nav__brand { display: flex; }
.nav__brand .wordmark { height: 30px; }
.nav__links { display: flex; justify-content: center; gap: clamp(20px, 2.6vw, 40px); }
.nav__links a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0 2px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.btn--nav { --bg: var(--cream); --fg: var(--rust-deep); padding: 0.95em 1.4em 0.78em; }
.nav[data-theme="dark"] .btn--nav { --bg: var(--rust); --fg: var(--cream); }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--rust);
  color: var(--cream);
  padding: 120px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.drawer[hidden] { display: none; }
.drawer nav { display: flex; flex-direction: column; gap: 6px; }
.drawer nav a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.2rem); text-decoration: none; line-height: 1.2; }
.drawer__foot { display: flex; flex-direction: column; gap: 8px; font-size: 1rem; }
.drawer__foot a { text-decoration: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 5vw;
  padding: 104px var(--gutter) 120px;
  background: var(--rust);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__eyebrow { color: var(--turmeric-light); margin-bottom: 28px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 5.4vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 15ch;
}
.hero__title em { color: var(--turmeric-light); padding-right: 0.06em; }
.hero__sub {
  margin-top: 28px;
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  color: color-mix(in srgb, var(--cream) 88%, transparent);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---------- the crest: base drawing, a lit layer seen through a moving lamp, and the lamp's warm glow ---------- */
.hero__media { position: relative; justify-self: end; width: min(100%, 560px, 70vh); }
.crest {
  --lx: 30%;
  --ly: 22%;
  --lr: 21%;
  position: relative;
  margin: 0;
  aspect-ratio: 1508 / 1541;
}
.crest__base,
.crest__lit,
.crest__glow { position: absolute; inset: 0; pointer-events: none; }
.crest__base {
  background: var(--cream);
  opacity: 0.2;
  -webkit-mask: url("../assets/img/crest-hd.webp") center / contain no-repeat;
          mask: url("../assets/img/crest-hd.webp") center / contain no-repeat;
}
.crest__lit {
  background: var(--cream);
  -webkit-mask:
    url("../assets/img/crest-hd.webp") center / contain no-repeat,
    radial-gradient(ellipse var(--lr) var(--lr) at var(--lx) var(--ly), #000 30%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask:
    url("../assets/img/crest-hd.webp") center / contain no-repeat,
    radial-gradient(ellipse var(--lr) var(--lr) at var(--lx) var(--ly), #000 30%, transparent 100%);
          mask-composite: intersect;
}
/* glow box is 1.5x the crest, so lamp coordinates are remapped into it and the light never meets an edge */
.crest__glow {
  inset: -25%;
  background: radial-gradient(ellipse calc(var(--lr) * 0.95) calc(var(--lr) * 0.95) at calc(var(--lx) / 1.5 + 16.667%) calc(var(--ly) / 1.5 + 16.667%), rgba(242, 196, 126, 0.32), rgba(242, 196, 126, 0.12) 45%, rgba(242, 196, 126, 0) 100%);
  mix-blend-mode: screen;
}
.crest__spots { position: absolute; inset: 0; }
.crest__spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 18%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
}
.crest__spot:focus-visible { outline: 1.5px solid var(--turmeric-light); outline-offset: 0; }
.crest__caption {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 22px);
  display: grid;
  gap: 6px;
  min-height: 64px;
}
.crest__who { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.2; }
.crest__where { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--turmeric-light); }

/* ---------- Manduva arch (used for the doers film) ---------- */
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--rust-deep);
  box-shadow: 0 40px 80px -36px rgba(92, 36, 19, 0.55);
}
.arch__video { width: 100%; height: 100%; object-fit: cover; }
.arch__line {
  position: absolute;
  inset: 0;
  translate: 18px -18px;
  border: 1px solid color-mix(in srgb, var(--rust) 45%, transparent);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
  z-index: -1;
}

/* split-text helpers */
.line-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line-mask > span { display: inline-block; will-change: transform; }

/* ==========================================================================
   STORY - the four doers
   ========================================================================== */
.story { background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.story__track {
  display: flex;
  align-items: center;
  gap: clamp(64px, 8vw, 140px);
  padding: 0 var(--gutter) 0 calc(var(--gutter) + 2vw);
  height: 100dvh;
  width: max-content;
}
.story__intro {
  flex: none;
  width: min(66vw, 980px);
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.story__media { position: relative; isolation: isolate; }
.story__word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(5rem, 11vw, 10.5rem);
  line-height: 0.9;
  color: var(--rust);
  letter-spacing: -0.02em;
}
.story__phon { font-family: var(--serif); font-size: 1.25rem; color: var(--ink-soft); margin-top: 18px; }
.story__def { font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.25; margin-top: 18px; max-width: 18ch; }
.story__lede { margin-top: 28px; max-width: 40ch; color: var(--ink-soft); }

.doer { flex: none; width: clamp(280px, 26vw, 430px); }
.doer--low { margin-top: 14vh; }
.doer:not(.doer--low) { margin-bottom: 12vh; }
.doer__img { clip-path: url(#scallop); aspect-ratio: 1; overflow: hidden; }
.doer__img img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; }
.doer__text { margin-top: 26px; padding-left: 8%; }
.doer__text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2vw, 2rem); color: var(--rust); line-height: 1.15; }
.doer__text p { margin-top: 10px; max-width: 34ch; color: var(--ink-soft); }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto {
  position: relative;
  overflow: hidden;
  background: var(--rust);
  color: var(--cream);
  padding: var(--section-y) var(--gutter);
  min-height: 100dvh;
  display: grid;
  align-items: center;
  isolation: isolate;
}
/* embossed wordmark, as on the brand's poster: parent carries the light, child carries the mask */
.manifesto__emboss {
  position: absolute;
  z-index: -1;
  right: -32vw;
  top: 50%;
  width: 105vw;
  aspect-ratio: 685 / 204;
  translate: 0 -50%;
  rotate: -90deg;
  filter: drop-shadow(-2px -2px 1px rgba(255, 214, 170, 0.16)) drop-shadow(3px 3px 2px rgba(50, 12, 0, 0.32));
}
.manifesto__emboss::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--rust);
  -webkit-mask: url("../assets/img/wordmark.png") center / contain no-repeat;
          mask: url("../assets/img/wordmark.png") center / contain no-repeat;
}
.manifesto__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(48px, 8vw, 140px);
  align-items: center;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}
.lantern {
  position: relative;
  width: 190px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: var(--turmeric-light);
}
.lantern .icon { width: 50px; }
.lantern__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lantern__frame path { fill: none; stroke: var(--cream); stroke-width: 2.2; }
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.manifesto__text .w { display: inline; }

/* ==========================================================================
   KITCHEN - sticky practices
   ========================================================================== */
.kitchen {
  background: var(--paper-2);
  color: var(--ink);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6vw;
  padding: 0 var(--gutter);
}
.kitchen__sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kitchen__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  line-height: 0.98;
  color: var(--rust);
  letter-spacing: -0.02em;
  max-width: 8ch;
}
.kitchen__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
/* a window onto the crest that pans to the vignette for each practice */
.lens {
  position: relative;
  flex: none;
  width: clamp(140px, 13vw, 190px);
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rust) 25%, transparent);
}
.lens__art {
  position: absolute;
  left: 0;
  top: 0;
  width: 330%;
  aspect-ratio: 1508 / 1541;
  background: var(--rust);
  will-change: transform;
  -webkit-mask: url("../assets/img/crest-hd.webp") center / contain no-repeat;
          mask: url("../assets/img/crest-hd.webp") center / contain no-repeat;
}
.kitchen__states { position: relative; height: 200px; margin-top: 44px; }
.practice {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.practice.is-active { opacity: 1; transform: none; pointer-events: auto; }
.practice h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.practice p { margin-top: 10px; max-width: 36ch; color: var(--ink-soft); }
.kitchen__frames { display: grid; gap: 20vh; padding: 22vh 0 12vh; }
.kframe { position: relative; }
.kframe img {
  width: 100%;
  border-radius: var(--radius-frame);
  box-shadow: 0 30px 60px -36px rgba(92, 36, 19, 0.45);
}
.kframe:nth-child(2) { width: 88%; justify-self: end; }
.kframe figcaption { display: none; }

/* ==========================================================================
   SOURCED - map
   ========================================================================== */
.sourced { background: var(--paper); color: var(--ink); padding: var(--section-y) var(--gutter); }
.sourced__head { max-width: 1320px; margin: 0 auto; }
.sourced__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rust);
  max-width: 15ch;
  padding-bottom: 0.08em;
}
.sourced__lede { margin-top: 18px; font-size: 1.15rem; color: var(--ink-soft); }

.sourced__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 500px) 1fr;
  gap: clamp(24px, 3vw, 56px);
  max-width: 1320px;
  margin: clamp(32px, 4vw, 64px) auto 0;
}
.sourced__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.sourced__lines path {
  fill: none;
  stroke: var(--rust);
  stroke-width: 1;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease), stroke-width 0.5s var(--ease);
}
.sourced__lines path.is-active { opacity: 1; stroke-width: 1.5; }
.sourced__col { position: relative; }
.map { position: relative; width: 100%; }
.map__img { width: 100%; height: auto; }

/* labels, set like the brand poster: dot, spaced Didone caps, plain list */
.tag {
  position: absolute;
  top: var(--t);
  display: grid;
  gap: 10px;
  max-width: 300px;
  text-align: left;
  opacity: 0.55;
  transition: opacity 0.5s var(--ease);
}
.sourced__col--left .tag { right: 0; text-align: right; justify-items: end; }
.sourced__col--right .tag { left: 0; }
.tag:hover, .tag.is-active { opacity: 1; }
.tag__dot {
  position: absolute;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--rust) 16%, transparent);
}
.sourced__col--left .tag__dot { right: -22px; }
.sourced__col--right .tag__dot { left: -22px; }
.state__name {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--rust);
}
.state__goods { font-size: 0.98rem; line-height: 1.75; color: var(--ink-soft); }

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 20px;
  height: 20px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--turmeric);
  border: 3px solid var(--paper);
  box-shadow: 0 6px 16px -4px rgba(92, 36, 19, 0.5);
  transition: scale 0.5s var(--ease), background-color 0.4s var(--ease);
}
.pin::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1.5px solid var(--turmeric);
  opacity: 0;
}
.pin.is-active { scale: 1.3; background: var(--rust); }
.pin.is-active::after { border-color: var(--rust); animation: ripple 2.2s var(--ease) infinite; }
@keyframes ripple { 0% { opacity: 0.9; scale: 0.6; } 100% { opacity: 0; scale: 1.7; } }


/* ==========================================================================
   MENU
   ========================================================================== */
.menu {
  background: var(--rust);
  color: var(--cream);
  padding: var(--section-y) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(56px, 7vw, 120px);
  align-items: start;
}
.menu__media { position: sticky; top: 110px; padding-bottom: 60px; }
.menu__hero { aspect-ratio: 1; overflow: hidden; }
.menu__hero img { width: 100%; height: 100%; object-fit: cover; scale: 1.1; }
.menu__side {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 42%;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  border: 6px solid var(--rust);
}
.menu__side img { width: 100%; height: 100%; object-fit: cover; }
.menu__caption {
  margin-top: 28px;
  max-width: 28ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--cream) 85%, transparent);
}
.menu__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 11ch;
}
.menu__lede { margin-top: 20px; max-width: 44ch; color: color-mix(in srgb, var(--cream) 85%, transparent); }
.menu__total {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--cream) 30%, transparent);
  font-family: var(--serif);
  font-size: 1.25rem;
}
.menu__total b { font-weight: 500; color: var(--turmeric-light); }
.course { margin-top: 40px; }
.course__name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--turmeric-light);
  margin-bottom: 8px;
}
.dish {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0 16px;
}
.dish + .dish { border-top: 1px solid color-mix(in srgb, var(--cream) 14%, transparent); }
.dish b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.32rem; line-height: 1.25; }
.dish small { display: block; margin-top: 4px; font-size: 0.95rem; color: color-mix(in srgb, var(--cream) 74%, transparent); }
.price { font-family: var(--serif); font-size: 1.2rem; }
.price::before { content: "₹"; margin-right: 2px; opacity: 0.7; }
/* Indian food marks: veg = dot in square, non-veg = triangle in square */
.diet { position: relative; width: 14px; height: 14px; border: 1.5px solid var(--cream); border-radius: 2px; translate: 0 1px; }
.diet::after { content: ""; position: absolute; inset: 2.5px; }
.diet--v::after { border-radius: 50%; background: #9cc77f; }
.diet--nv::after { inset: 2px 1.5px 2.5px; background: var(--turmeric-light); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.menu__list .btn { margin-top: 32px; }

/* ==========================================================================
   MANDUVA - the space
   ========================================================================== */
.manduva { background: var(--rust); padding: 0; }
.manduva__frame {
  position: relative;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  background: var(--night);
}
.manduva__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateZ(0); }
.manduva__door {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--rust);
  transform-origin: 50% 100%;
  pointer-events: none;
  will-change: transform;
}
.manduva__door path { stroke: none; }
.no-door .manduva__door { display: none; }
.manduva__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(29, 18, 12, 0.88) 0%, rgba(29, 18, 12, 0.35) 45%, rgba(29, 18, 12, 0) 70%),
    linear-gradient(to right, rgba(29, 18, 12, 0.5), rgba(29, 18, 12, 0) 60%);
}
.manduva__copy {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(48px, 10vh, 110px);
  max-width: 640px;
  color: var(--cream);
}
.manduva__copy .eyebrow { color: var(--turmeric-light); }
.manduva__copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.4vw, 4.2rem);
  line-height: 1.05;
  margin-top: 18px;
  letter-spacing: -0.01em;
}
.manduva__copy p:last-child { margin-top: 18px; max-width: 46ch; color: color-mix(in srgb, var(--cream) 88%, transparent); }

/* ==========================================================================
   VISIT
   ========================================================================== */
.visit {
  background: var(--paper);
  color: var(--ink);
  padding: var(--section-y) var(--gutter);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 6vw, 110px);
  align-items: center;
}
.visit__door { overflow: hidden; border-radius: var(--radius-frame); box-shadow: 0 50px 90px -50px rgba(92, 36, 19, 0.7); }
.visit__door img { width: 100%; }
.visit__body .eyebrow { color: var(--rust); }
.visit__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--rust);
  margin-top: 18px;
}
.visit__lede { margin-top: 20px; max-width: 46ch; font-size: 1.12rem; color: var(--ink-soft); }
.visit__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 44px;
  margin-top: 40px;
}
.visit__facts dt { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); }
.visit__facts dd { margin-top: 8px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; }
.visit__facts a { text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--rust) 40%, transparent); }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.visit .btn--ghost { color: var(--rust); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--rust-deep);
  color: var(--cream);
  padding: clamp(80px, 9vw, 130px) var(--gutter) 28px;
  overflow: hidden;
}
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; }
.footer__line { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.12; }
.footer__line em { color: var(--turmeric-light); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__cols h4 { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--turmeric-light); margin-bottom: 10px; }
.footer__cols p { font-size: 0.98rem; line-height: 1.7; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__mark { color: #6f2d18; margin-top: 72px; }
.footer__mark .wordmark { width: 100%; }
.footer__legal { margin-top: 24px; font-size: 0.82rem; opacity: 0.6; text-align: center; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav .btn--nav { justify-self: end; }
  .nav__toggle { display: block; }
}

@media (max-width: 1100px) {
  .sourced__stage { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .sourced__lines { display: none; }
  .map { grid-column: 1 / -1; grid-row: 1; max-width: 460px; justify-self: center; }
  .sourced__col { display: grid; gap: 32px; align-content: start; }
  .sourced__col .tag { position: relative; top: auto; left: auto; right: auto; text-align: left; justify-items: start; opacity: 0.7; padding-left: 22px; }
  .sourced__col .tag__dot { left: 0; right: auto; }
  .sourced__col .tag.is-active { opacity: 1; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 104px; gap: 56px; }
  .hero { padding-bottom: 140px; }
  .hero__media { justify-self: center; width: min(86vw, 420px); }

  .story__track { flex-direction: column; align-items: stretch; height: auto; width: auto; padding: var(--section-y) var(--gutter); gap: 72px; }
  .story__intro { width: auto; grid-template-columns: 1fr; }
  .story__media { width: min(72vw, 340px); }
  .doer { width: min(100%, 520px); }
  .doer--low, .doer:not(.doer--low) { margin: 0; }
  .doer:nth-child(odd) { align-self: flex-end; }

  .manifesto__inner { grid-template-columns: 1fr; justify-items: start; }
  .lantern { width: 100%; max-width: 360px; height: 140px; flex-direction: row; gap: 28px; }
  .lantern .icon { width: 40px; }
  .lantern__frame { display: none; }
  .manifesto__emboss { right: -70vw; width: 170vw; }

  .kitchen { grid-template-columns: 1fr; padding-top: var(--section-y); padding-bottom: var(--section-y); }
  .kitchen__sticky { position: static; height: auto; }
  .kitchen__states { display: none; }
  .lens { display: none; }
  .kitchen__frames { gap: 64px; padding: 48px 0 0; }
  .kframe:nth-child(2) { width: 100%; }
  .kframe figcaption { display: block; margin-top: 20px; }
  .kframe figcaption h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
  .kframe figcaption p { margin-top: 6px; color: var(--ink-soft); }


  .menu { grid-template-columns: 1fr; }
  .menu__media { position: relative; top: 0; }

  .visit { grid-template-columns: 1fr; }
  .visit__door { max-width: 520px; }

  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .btn--nav { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .visit__facts { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .dish b { font-size: 1.18rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pin.is-active::after { animation: none; opacity: 0.6; }
  .practice { transition: none; }
}
