/* ==========================================================================
   Ujwala Foods: "the label"
   Palette and band taken from the pouch label: charcoal disc, turmeric band.
   ========================================================================== */

:root {
  /* colour */
  --ink: #1C2220;          /* kalonji charcoal, from the logo */
  --ink-raised: #262E2B;
  --ink-deep: #131715;
  --turmeric: #F4B223;     /* the label band */
  --turmeric-deep: #DB961A;
  --chilli: #B5231B;
  --chilli-deep: #8E1A13;
  --rice: #F7F5F0;
  --rice-shade: #ECE8DE;
  --on-dark: #F3EFE6;
  --on-dark-muted: #BDB8AC;
  --on-light: #1C2220;
  --on-light-muted: #555A55;
  --leaf: #3C8A2A;         /* veg mark only */
  --maroon: #7E2D12;       /* non-veg mark only */

  /* type */
  --font: "Anek Telugu", "Noto Sans Telugu", system-ui, sans-serif;
  --fs-hero: clamp(3rem, 1.2rem + 5.6vw, 6rem);
  --fs-h2: clamp(2.35rem, 1.5rem + 3.2vw, 4.25rem);
  --fs-h3: clamp(1.55rem, 1.25rem + 1vw, 2rem);
  --fs-lede: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  /* space */
  --gutter: clamp(1rem, 0.5rem + 2.4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --wrap: 75rem;
  --radius-photo: 14px;
  --radius-btn: 999px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--on-dark);
  background: var(--ink);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--turmeric); color: var(--ink); padding: .6rem 1rem; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; border-radius: 4px; }
.section-light :focus-visible, .section-turmeric :focus-visible { outline-color: var(--chilli); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- headings: condensed and heavy, like a food label ---------- */
h1, h2, h3 {
  font-stretch: 75%;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 750; line-height: 1; }
[lang="te"] { font-stretch: 100%; letter-spacing: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 3.25rem; padding: .7rem 1.5rem .62rem;
  border-radius: var(--radius-btn); border: 2px solid transparent;
  font-weight: 650; font-size: 1.0625rem; line-height: 1; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { margin-top: -.12em; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 2.75rem; padding: .55rem 1.15rem .48rem; font-size: 1rem; }
.btn-turmeric { background: var(--turmeric); color: var(--ink); }
.btn-turmeric:hover { background: #FFC43D; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(244, 178, 35, .55); }
.btn-turmeric .icon { transition: transform .3s var(--ease-out); }
.btn-turmeric:hover .icon { transform: rotate(-12deg) scale(1.1); }
.btn-ghost { border-color: rgba(243, 239, 230, .4); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(243, 239, 230, .06); }
.btn-ink { background: var(--ink); color: var(--rice); }
.btn-ink:hover { background: #000; }

.text-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 650; color: var(--turmeric); text-decoration: none;
  padding-block: .35rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .25s var(--ease-out);
}
.text-link:hover { background-size: 100% 2px; }
.text-link .icon { margin-top: -.15em; }

/* ---------- veg / non-veg marks (the Indian food-label symbols) ---------- */
.mark {
  display: inline-grid; place-items: center; flex: none;
  width: .62em; height: .62em; min-width: 15px; min-height: 15px;
  border: 2px solid; border-radius: 2px; margin-right: .4em;
  vertical-align: .02em; background: #fff;
}
.mark::after { content: ""; width: 55%; height: 55%; background: currentColor; }
.mark.veg { color: var(--leaf); }
.mark.veg::after { border-radius: 50%; }
.mark.nonveg { color: var(--maroon); }
.mark.nonveg::after { clip-path: polygon(50% 8%, 100% 92%, 0 92%); width: 64%; height: 64%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 34, 32, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(243, 239, 230, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.brand img { width: 84px; height: auto; margin-block: .35rem; transition: width .35s var(--ease-out); }
.site-header.is-scrolled .brand img { width: 62px; }
.header-inner { transition: min-height .35s var(--ease-out); }
.site-header.is-scrolled .header-inner { min-height: 4rem; }

.site-nav { display: flex; align-items: center; gap: 2.25rem; }
.site-nav ul { display: flex; gap: 1.85rem; list-style: none; padding: 0; }
.site-nav ul a {
  text-decoration: none; font-weight: 550; color: var(--on-dark-muted);
  padding-block: .5rem; transition: color .2s;
}
.site-nav ul a:hover, .site-nav ul a.is-active { color: var(--on-dark); }
@media (min-width: 861px) {
  .site-nav ul a { position: relative; }
  .site-nav ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px; border-radius: 2px;
    background: var(--turmeric); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-out);
  }
  .site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); transform-origin: left; }
}

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .brand img { width: 68px; }
  .header-inner { min-height: 4.25rem; }
  .nav-toggle {
    display: grid; place-items: center; width: 3rem; height: 3rem;
    background: none; border: 0; color: var(--on-dark); cursor: pointer; border-radius: 10px;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .25s var(--ease-out), opacity .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: .75rem var(--gutter) 1.5rem;
    background: var(--ink); border-bottom: 1px solid rgba(243, 239, 230, .1);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    display: block; padding-block: .85rem; font-size: 1.35rem; font-stretch: 75%; font-weight: 750;
    color: var(--on-dark); border-bottom: 1px solid rgba(243, 239, 230, .08);
  }
  .site-nav .btn { min-height: 3.25rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(2rem, 1rem + 4vw, 4.5rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center;
  position: relative; z-index: 2;
}
.hero-title {
  font-size: var(--fs-hero); line-height: .88; letter-spacing: -0.012em;
  color: var(--rice); hyphens: manual;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; }
.hero-lede {
  margin-top: 1.6rem; max-width: 34ch;
  font-size: var(--fs-lede); line-height: 1.5; color: var(--on-dark-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--on-dark-muted); }
.hero-note a { color: var(--on-dark); text-underline-offset: .2em; text-decoration-color: var(--turmeric); }

.hero-photo {
  position: relative; margin: 0 0 0 auto;
  width: min(100%, max(24rem, calc(100svh - 12.5rem)));
}
.hero-photo-frame {
  position: relative; overflow: hidden; width: 100%;
  aspect-ratio: 1; border-radius: var(--radius-photo);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85);
}
.hero-photo-frame img { width: 100%; height: 108%; object-fit: cover; will-change: transform; }

/* The seal: the pouch's round label, turning slowly */
.seal {
  position: absolute; left: -3.75rem; bottom: 3.75rem;
  width: 9.5rem; aspect-ratio: 1; z-index: 3;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--ink);
  box-shadow: 0 0 0 3px var(--turmeric), 0 20px 40px -12px rgba(0, 0, 0, .6);
}
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-ring text {
  fill: var(--turmeric); font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: .06em;
}
.seal-core {
  position: relative; width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); border: 2px solid rgba(244, 178, 35, .5);
  display: grid; place-items: center; overflow: hidden;
}
.seal-band {
  width: 120%; text-align: center; background: var(--turmeric); color: var(--ink);
  font-size: 1.2rem; font-weight: 700; line-height: 1; padding: .42rem 0 .3rem;
}

/* The turmeric band: a slow ticker running behind the photo,
   the way the band crosses the label on every pouch. */
.band {
  position: relative; z-index: 1; margin-top: 2.75rem; overflow: hidden;
  background: var(--turmeric); color: var(--ink);
}
.band-track { display: flex; width: max-content; }
.band-group {
  display: flex; align-items: center; gap: 1.6rem; padding: 1.05rem 1.6rem .85rem 0; white-space: nowrap;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem); font-stretch: 75%; font-weight: 800; line-height: 1;
}
.band-group .te { font-weight: 700; font-size: .9em; opacity: .7; }
.band-group .dot { width: .32em; height: .32em; border-radius: 50%; background: var(--chilli); flex: none; }

@media (min-width: 961px) {
  /* the photo dips into the band */
  .hero-photo { align-self: end; margin-bottom: -2.6rem; }
  .hero-copy { padding-bottom: 3.5rem; }
  .band { margin-top: 0; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; width: auto; margin-inline: calc(var(--gutter) * -1); }
  .hero-photo-frame { --radius-photo: 0px; aspect-ratio: 4 / 3; border-radius: 0; }
  .hero-photo-frame img { object-position: 50% 45%; }
  .seal { left: auto; right: var(--gutter); bottom: -3rem; width: 7rem; }
  .seal-ring text { font-size: 15.5px; }
  .seal-band { font-size: .95rem; }
  .hero-lede { max-width: 38ch; }
  .hero-title { padding-right: 6.5rem; }
}
@media (max-width: 420px) {
  .hero-title { padding-right: 0; }
  .hero-copy { padding-top: 2.5rem; }
}

/* the load sequence */
@media (prefers-reduced-motion: no-preference) {
  .band-track { animation: marquee 48s linear infinite; }
  .band:hover .band-track { animation-play-state: paused; }
  .seal-ring { animation: spin 26s linear infinite; }

  .js .hero-title .line > span { transform: translateY(105%); animation: rise 1s var(--ease-out) .1s forwards; }
  .js .hero-title .line:nth-child(2) > span { animation-delay: .22s; }
  .js .hero-lede { opacity: 0; transform: translateY(14px); animation: settle .8s var(--ease-out) .5s forwards; }
  .js .hero-actions { opacity: 0; transform: translateY(14px); animation: settle .8s var(--ease-out) .62s forwards; }
  .js .hero-note { opacity: 0; transform: translateY(14px); animation: settle .8s var(--ease-out) .74s forwards; }
  .js .hero-photo-frame { clip-path: inset(100% 0 0 0 round var(--radius-photo)); animation: unveil 1.2s cubic-bezier(.7, 0, .2, 1) .15s forwards; }
  .js .hero-photo-frame img { transform: scale(1.18); animation: zoomout 1.8s var(--ease-out) .15s forwards; }
  .js .seal { opacity: 0; transform: scale(.4) rotate(-90deg); animation: stamp .7s cubic-bezier(.3, 1.5, .5, 1) 1.15s forwards; }
  .js .band { clip-path: inset(0 100% 0 0); animation: wipe 1s cubic-bezier(.7, 0, .2, 1) .7s forwards; }
}
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes settle { to { opacity: 1; transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round var(--radius-photo)); } }
@keyframes zoomout { to { transform: scale(1); } }
@keyframes stamp { to { opacity: 1; transform: none; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-light { background: var(--rice); color: var(--on-light); }
.section-turmeric { background: var(--turmeric); color: var(--ink); }
.section-chilli { background: var(--chilli); color: #fff; }

.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.te-sub {
  margin-top: .65rem;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 600; line-height: 1.3;
  color: var(--turmeric);
}
.section-light .te-sub { color: var(--chilli); }
.section-intro { margin-top: 1.1rem; font-size: var(--fs-lede); line-height: 1.5; max-width: 36ch; }
.section-dark .section-intro { color: var(--on-dark-muted); }
.section-light .section-intro { color: var(--on-light-muted); }

/* ---------- non-veg ---------- */
.nonveg-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 1rem + 2.5vw, 3rem);
}
.nv-photo { border-radius: var(--radius-photo); overflow: hidden; background: var(--ink-raised); }
.nv-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease-out); }
.nv-item { position: relative; }
.nv-item .text-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-photo); }
.nv-photo { position: relative; }
.nv-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(28, 34, 32, .55), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.nv-item:hover .nv-photo img { transform: scale(1.06) rotate(-1deg); }
.nv-item:hover .nv-photo::after { opacity: 1; }
.nv-item:hover .text-link { background-size: 100% 2px; }
.nv-body { padding-top: 1.5rem; }
.nv-body h3 { display: flex; align-items: center; color: var(--rice); }
.te-name { margin-top: .35rem; font-size: 1.2rem; font-weight: 600; color: var(--turmeric); line-height: 1.4; }
.nv-body > p:not(.te-name) { margin-top: .8rem; color: var(--on-dark-muted); max-width: 34ch; }
.nv-body .text-link { margin-top: 1rem; }

@media (max-width: 860px) {
  .nonveg-grid { grid-template-columns: 1fr; max-width: 30rem; }
}
@media (min-width: 600px) and (max-width: 860px) {
  .nonveg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}

/* ---------- veg list: a menu board ---------- */
.veg-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.veg-layout .section-head { position: sticky; top: 7rem; margin-bottom: 0; }
.veg-list { border-top: 2px solid var(--ink); }
.veg-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(1rem, .5rem + 1.5vw, 1.75rem);
  padding-block: 1.4rem; border-bottom: 1px solid rgba(28, 34, 32, .16);
}
.veg-item:hover .veg-thumb { transform: rotate(14deg) scale(1.05); box-shadow: 0 0 0 4px var(--rice), 0 0 0 6px var(--chilli); }
.veg-thumb {
  transition: transform .6s var(--ease-out), box-shadow .3s;
  width: clamp(5rem, 3.5rem + 5vw, 7.5rem); aspect-ratio: 1; object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--rice), 0 0 0 6px var(--turmeric);
}
.veg-text h3 { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .6rem; row-gap: .2rem; color: var(--ink); }
.veg-text h3 .mark { align-self: center; margin-right: 0; }
.te-inline { font-size: .62em; font-weight: 600; color: var(--chilli); line-height: 1.3; }
.veg-text p { margin-top: .4rem; color: var(--on-light-muted); }
.veg-ask {
  display: inline-grid; place-items: center; min-width: 5.5rem; min-height: 2.75rem; padding: .5rem 1.1rem .4rem;
  border: 2px solid var(--ink); border-radius: var(--radius-btn);
  font-weight: 650; text-decoration: none; color: var(--ink);
  transition: background-color .2s, color .2s;
}
.veg-ask:hover { background: var(--ink); color: var(--rice); }
.veg-more { grid-template-columns: minmax(0, 1fr) auto; border-bottom: 0; padding-top: 2rem; }
.veg-more h3 { color: var(--ink); }

@media (max-width: 860px) {
  .veg-layout { grid-template-columns: 1fr; }
  .veg-layout .section-head { position: static; margin-bottom: 2rem; }
}
@media (max-width: 520px) {
  .veg-item { grid-template-columns: auto minmax(0, 1fr); align-items: start; padding-block: 1.25rem; }
  .veg-thumb { width: 4.75rem; }
  .veg-ask {
    grid-column: 2; justify-self: start; margin-top: -.35rem;
    min-width: 0; min-height: 2.75rem; padding: .5rem 0 .4rem; border: 0; border-radius: 0;
    color: var(--chilli); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 2px;
  }
  .veg-ask:hover { background: none; color: var(--chilli-deep); }
  .veg-more { grid-template-columns: 1fr; }
  .veg-more .btn { justify-self: start; }
}

/* ---------- how to order ---------- */
.order-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.order-layout h2 { max-width: 9ch; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, .5rem + 2vw, 2.5rem); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 1.1rem; }
.steps li::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink);
  transform-origin: left; transition: transform 1s var(--ease-out) calc(var(--d, 0) * .15s + .2s);
}
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 1.25rem;
  font-size: clamp(3rem, 2rem + 3vw, 4.5rem); font-stretch: 75%; font-weight: 800; line-height: .8;
}
.steps h3 { font-size: 1.6rem; }
.steps p { margin-top: .6rem; color: #3A3426; }
.steps a { font-weight: 700; text-underline-offset: .18em; }

@media (max-width: 860px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-layout h2 { max-width: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1rem; }
  .steps li::before { grid-row: span 2; margin: 0; font-size: 3.25rem; }
}

/* ---------- story ---------- */
.story-title {
  color: var(--ink); max-width: 20ch;
  font-size: clamp(2.6rem, 1.5rem + 3.8vw, 5rem);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.story-layout {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center;
}
.story-media { position: relative; padding: 0 clamp(2.5rem, 1rem + 4vw, 5rem) clamp(2.5rem, 1rem + 3vw, 4rem) 0; }
.story-photo { overflow: hidden; border-radius: 18px; box-shadow: 0 40px 70px -40px rgba(90, 40, 10, .5); }
.story-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-bowl {
  position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 1;
  padding: 7px; border-radius: 50%; background: var(--rice);
  box-shadow: 0 0 0 3px var(--turmeric), 0 30px 50px -20px rgba(60, 25, 5, .55);
}
.story-bowl img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; will-change: transform; }

.story-copy p { max-width: 52ch; color: var(--on-light-muted); line-height: 1.7; }
.story-copy p + p { margin-top: 1rem; }
.story-copy .story-lead { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink); }
.story-copy .story-sign {
  margin-top: 2rem; padding-top: 1.25rem; border-top: 2px solid var(--turmeric);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem;
  font-size: var(--fs-small); font-weight: 500;
}
.story-sign [lang="te"] { font-size: 1.6rem; font-weight: 700; color: var(--chilli); }

ul.story-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 1rem + 2.5vw, 3.5rem);
  margin-top: clamp(4rem, 2.5rem + 4vw, 6.5rem);
  padding-top: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  border-top: 1px solid rgba(28, 34, 32, .14);
}
.story-facts li { position: relative; padding-left: 1.25rem; }
.story-facts li::before {
  content: ""; position: absolute; left: 0; top: .15rem; bottom: .2rem; width: 4px; border-radius: 4px;
  background: var(--chilli); transform-origin: top; transition: transform .9s var(--ease-out) calc(var(--d, 0) * .12s + .25s);
}
.story-facts h3 { display: flex; align-items: center; gap: .3rem; color: var(--ink); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); }
.story-facts h3 .mark { margin-right: 0; font-size: .75em; }
.story-facts h3 .mark + .mark { margin-right: .3rem; }
.story-facts p { margin-top: .55rem; color: var(--on-light-muted); max-width: 30ch; }

@media (max-width: 860px) {
  .story-layout { grid-template-columns: 1fr; }
  .story-media { max-width: 36rem; }
  ul.story-facts { grid-template-columns: 1fr; }
}

/* ---------- delivery ---------- */
.delivery-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.delivery-copy h2 { color: var(--rice); max-width: 10ch; }
.areas {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 2rem;
}
.area {
  display: inline-flex; align-items: center; min-height: 2.6rem;
  padding: .5rem 1rem .4rem; border-radius: var(--radius-btn);
  border: 1px solid rgba(243, 239, 230, .22); font-weight: 550; font-size: 1rem; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out);
}
.area:hover, .area:focus-visible, .area.is-lit { background: var(--turmeric); border-color: var(--turmeric); color: var(--ink); transform: translateY(-2px); }
.areas li:first-child .area { border-color: var(--turmeric); color: var(--turmeric); }
.areas li:first-child .area:hover, .areas li:first-child .area:focus-visible, .areas li:first-child .area.is-lit { color: var(--ink); }
.delivery-note { margin-top: 1.25rem; color: var(--on-dark-muted); font-size: var(--fs-small); }
.delivery-copy .btn { margin-top: 1.75rem; }

.delivery-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.delivery-map figcaption { margin-top: .75rem; font-size: .875rem; color: var(--on-dark-muted); text-align: center; }
.stop .route { stroke: var(--turmeric); stroke-width: 2; stroke-dasharray: .012 .03; stroke-linecap: round; fill: none; opacity: .55; transition: opacity .3s, stroke-width .3s; }
.stop .dot { fill: var(--ink); stroke: var(--on-dark); stroke-width: 3; transition: fill .3s, stroke .3s; transform-box: fill-box; transform-origin: center; }
.stop text { fill: var(--on-dark); font-family: var(--font); font-size: 21px; font-weight: 600; transition: fill .3s; }
.stop .rider { fill: var(--turmeric); }
.stop.is-lit .route { opacity: 1; stroke-width: 3.5; }
.stop.is-lit .dot { fill: var(--turmeric); stroke: var(--turmeric); }
.stop.is-lit text { fill: var(--turmeric); }
.map-home circle { fill: var(--turmeric); }
.map-home .pulse { fill: none; stroke: var(--turmeric); stroke-width: 2; opacity: .5; }
.map-home text { fill: var(--turmeric); font-family: var(--font); font-size: 25px; font-weight: 800; font-stretch: 75%; }
.map-home text.sub { fill: var(--on-dark-muted); font-size: 19px; font-weight: 500; font-stretch: 100%; }

@media (prefers-reduced-motion: no-preference) {
  .map-home .pulse { transform-origin: 300px 300px; animation: pulse 2.6s ease-out infinite; }
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }

@media (max-width: 860px) {
  .delivery-copy h2, .contact-copy h2 { max-width: 16ch; }
  .stop text { font-size: 28px; }
  .map-home text { font-size: 32px; }
  .map-home text.sub { font-size: 25px; }
  .delivery-layout { grid-template-columns: 1fr; }
  .delivery-map { max-width: 32rem; margin-inline: auto; width: 100%; }
}

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact-watermark {
  position: absolute; z-index: -1; right: -.04em; bottom: -.28em; margin: 0;
  font-size: clamp(9rem, 3rem + 24vw, 26rem); font-weight: 800; line-height: 1;
  color: rgba(70, 8, 4, .22); white-space: nowrap; pointer-events: none; user-select: none;
}
.contact-layout {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center;
}
.contact-copy h2 { max-width: 13ch; font-size: clamp(2.6rem, 1.5rem + 3.8vw, 5rem); }
.contact-lede { margin-top: 1.25rem; font-size: var(--fs-lede); color: rgba(255, 255, 255, .88); max-width: 34ch; }
.contact-phone-label { margin-top: 2.25rem; font-size: var(--fs-small); font-weight: 600; color: rgba(255, 255, 255, .72); }
.contact-phone {
  display: inline-block; margin-top: .2rem;
  font-size: clamp(3rem, 1.6rem + 5.4vw, 6rem); font-stretch: 75%; font-weight: 800; line-height: .9;
  color: var(--turmeric); text-decoration: none; letter-spacing: .005em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 4px no-repeat;
  padding-bottom: .1em; transition: background-size .3s var(--ease-out);
}
.contact-phone:hover { background-size: 100% 4px; }
.contact-copy .hero-actions { margin-top: 1.75rem; }
.section-chilli .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.section-chilli .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.section-chilli :focus-visible { outline-color: #fff; }

/* the card is a pouch label: charcoal, turmeric band, scan-and-order code */
.contact-card {
  position: relative; background: var(--ink); color: var(--on-dark);
  border-radius: 22px; overflow: hidden; rotate: -2deg;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 50px 90px -40px rgba(40, 0, 0, .8);
  transition: rotate .6s var(--ease-out), opacity .8s ease-out, transform .9s var(--ease-out);
}
.contact-card:hover, .contact-card:focus-within { rotate: 0deg; }
.card-band {
  margin: 1.75rem 0 0; padding: .6rem 1.5rem .45rem; text-align: center;
  background: var(--turmeric); color: var(--ink);
  font-size: 1.6rem; font-stretch: 75%; font-weight: 800; line-height: 1;
}
.card-qr {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center;
  padding: 1.5rem 1.75rem;
}
.card-qr img { width: 8.5rem; height: auto; border-radius: 12px; background: #fff; padding: .35rem; }
.card-qr p { font-size: var(--fs-small); color: var(--on-dark-muted); line-height: 1.5; }
.card-list { padding: 0 1.75rem 1rem; }
.card-list > div { padding-block: 1rem; border-top: 1px solid rgba(243, 239, 230, .12); }
.card-list dt { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--turmeric); }
.card-list dt .icon { margin-top: -.15em; }
.card-list dd { margin-top: .25rem; font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.card-list a { text-decoration: none; }
.card-list a:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--turmeric); }
.card-email { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.copy-btn {
  min-height: 2.25rem; padding: .3rem .95rem .2rem; border-radius: var(--radius-btn);
  border: 1px solid rgba(244, 178, 35, .6); background: transparent; color: var(--turmeric);
  font-size: .875rem; font-weight: 650; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.copy-btn:hover { background: var(--turmeric); color: var(--ink); border-color: var(--turmeric); }
.copy-btn.is-done { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.contact-card :focus-visible { outline-color: var(--turmeric); }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-card { rotate: 0deg; max-width: 30rem; }
}
/* a QR code is no use on the phone you'd scan it with */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .card-qr { display: none; }
  .card-list { padding-top: .5rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2.5rem; }
.footer-brand img { width: 120px; }
.footer-brand p { margin-top: 1.25rem; max-width: 36ch; }
.footer-h { font-size: 1.25rem; color: var(--on-dark); margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--turmeric); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: 3.5rem; padding-block: 1.5rem; border-top: 1px solid rgba(243, 239, 230, .1);
  font-size: .875rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Mobile order bar
   ========================================================================== */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; inset: auto 0 0 0; z-index: 40;
    display: flex; gap: .5rem;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(19, 23, 21, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(243, 239, 230, .1);
    transform: translateY(110%); transition: transform .35s var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn-turmeric { flex: 1; }
  .btn-call { width: 3.25rem; padding: 0; background: var(--ink-raised); color: var(--on-dark); }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 4.75rem; }
}

/* ==========================================================================
   Scroll reveals (only when JS runs and motion is welcome)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .8s ease-out, transform .9s var(--ease-out);
    transition-delay: calc(var(--d, 0) * .12s);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .steps li[data-reveal]:not(.is-in)::after { transform: scaleX(0); }
  .js .story-facts li[data-reveal]:not(.is-in)::before { transform: scaleY(0); }
  .js .contact-card[data-reveal]:not(.is-in) { rotate: 5deg; transform: translateY(40px); }
  .js .story-bowl[data-reveal]:not(.is-in) { transform: translateY(28px) scale(.6); }

  /* the clip sits on the image, not the observed element: Chrome treats a fully clipped target as invisible */
  .js [data-reveal="wipe"] { opacity: 1; transform: none; }
  .js [data-reveal="wipe"] img {
    clip-path: inset(0 0 100% 0); transform: scale(1.15);
    transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1), transform 1.6s var(--ease-out);
  }
  .js [data-reveal="wipe"].is-in img { clip-path: inset(0 0 0 0); transform: none; }

  /* map: stops pop in one by one, routes start marching outward */
  .js .delivery-map .stop .dot { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i, 0) * .12s + .5s), fill .3s, stroke .3s; }
  .js .delivery-map .stop text { opacity: 0; transition: opacity .6s ease-out calc(var(--i, 0) * .12s + .7s), fill .3s; }
  .js .delivery-map.is-in .stop .dot { transform: none; }
  .js .delivery-map.is-in .stop text { opacity: 1; }
  .delivery-map .stop .route { animation: march 1.4s linear infinite; }
}
@keyframes march { to { stroke-dashoffset: -.042; } }

@media (prefers-reduced-motion: reduce) {
  .stop .rider { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* card band wording: phones see no QR code, so they get "Get in touch" */
.band-touch { display: none; }
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .band-scan { display: none; }
  .band-touch { display: inline; }
}
