/* ==========================================================================
   Tzar storefront
   The scroll pages are a dark film. This is the shop: light, quiet, and
   product-forward. Same brand, different job, so it gets its own ground
   rather than a recoloured version of the film.
   ========================================================================== */

:root {
  --st-paper:    #FCFAF6;   /* warm paper, a step toward the film's cream */
  --st-mist:     #F4EFE7;
  --st-ink:      #14100D;
  --st-ink-soft: #6B635B;
  --st-line:     #E6DFD4;
  --st-gold:     #A8761C;   /* darkened from the film's #C8912B: 4.6:1 on white */
  --st-green:    #1E7A3C;

  --st-font-display: "Fraunces", Georgia, serif;
  --st-font-text:    "Archivo", system-ui, -apple-system, sans-serif;

  --st-gutter: clamp(1.25rem, 5vw, 5.5rem);
  --st-round:  980px;

  /* Spacing scale. These were being referenced before they existed, so every
     margin using one was resolving to nothing. */
  --st-2: 0.5rem;
  --st-3: 0.9rem;
  --st-4: 1.25rem;
  --st-5: 1.9rem;
  --st-6: 2.6rem;

  --st-wash:        #F4EFE7;   /* alias of --st-mist, for panels */
  --st-ink-faint:   #6F675F;   /* 5.5:1 on white; small uppercase labels */
  --st-accent-deep: #8E6316;   /* 5.3:1 on white; gold that is safe for links */
  --st-gold-text:   var(--st-accent-deep);  /* gold used as small text; dark pages override */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--st-paper);
  color: var(--st-ink);
  font: 400 1rem/1.6 var(--st-font-text);
  -webkit-font-smoothing: antialiased;
}

/* height:auto is not optional here. Every image carries width/height
   attributes for layout stability, and without this max-width clamps the
   width while the attribute height stands, stretching the image vertically. */
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:where(a, button, input, select):focus-visible {
  outline: 2px solid var(--st-gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: min(100%, 78rem); margin-inline: auto; padding-inline: var(--st-gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- nav: ours, not anyone else's ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgb(252 250 246 / 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--st-line);
}
.nav__in {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  height: 52px;
}
.nav__mark { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.2rem); }
.nav__mark img { height: 30px; width: auto; }
.nav__mark b {
  font: 600 0.82rem/1 var(--st-font-text);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.nav a.nav__link {
  /* Padded to a 44px touch target rather than sized as bare inline text. */
  display: inline-flex; align-items: center; min-height: 44px;
  font: 400 0.78rem/1 var(--st-font-text);
  color: var(--st-ink); text-decoration: none; opacity: 0.86;
  white-space: nowrap;
}
.nav a.nav__link:hover { opacity: 1; }
.nav a[aria-current] { opacity: 1; font-weight: 500; }

/* Five links plus the wordmark do not fit a 390px bar. Below that, the mark
   takes its own row and the links get a scrollable strip rather than being
   crushed or hidden behind a hamburger nobody opens. */
@media (max-width: 760px) {
  .nav__in { flex-wrap: wrap; height: auto; padding-block: 0.35rem; row-gap: 0; }
  .nav__mark { margin-right: 0; width: 100%; height: 44px; }
  .nav__links {
    /* Spread across the row so all five fit at 375px and up. On narrower
       phones the strip scrolls, and the edge fade says there is more. */
    width: calc(100% + 2 * var(--st-gutter)); gap: 0.9rem;
    justify-content: space-between;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* Bleed to the viewport edges so the strip reads as scrollable. */
    margin-inline: calc(-1 * var(--st-gutter));
    padding-inline: var(--st-gutter);
    scroll-padding-inline: var(--st-gutter);
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav a.nav__link { min-height: 40px; }
}
@media (max-width: 374px) {
  .nav__links { mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--st-mist) 0%, #ECE8E3 100%);
  overflow: hidden;
}
.hero__in {
  display: grid; align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: min(78vh, 640px);
  padding-block: clamp(2.5rem, 7vh, 5rem);
}
.hero__copy { max-width: 30rem; }
.kicker {
  display: block; margin-bottom: var(--st-3, 0.9rem);
  font: 500 0.75rem/1 var(--st-font-text);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--st-gold-text);
}
.hero h1 {
  margin: 0 0 0.5rem;
  font: 300 clamp(2.4rem, 5.6vw, 4.1rem)/1.05 var(--st-font-display);
  letter-spacing: -0.015em;
}
.hero__sub {
  margin: 0 0 1.2rem;
  font: 300 clamp(1.2rem, 2.4vw, 1.7rem)/1.3 var(--st-font-display);
  color: var(--st-ink-soft);
}
.hero p.lede { margin: 0 0 1.8rem; max-width: 26rem; color: var(--st-ink-soft); }
.hero__shot { justify-self: center; }
.hero__shot img {
  max-height: clamp(300px, 46vh, 520px); height: auto; width: auto;
  filter: drop-shadow(0 34px 42px rgb(20 16 13 / 0.22));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;                     /* touch target floor */
  padding: 0.82rem 1.7rem; border: 0; border-radius: var(--st-round);
  background: #C8912B; color: #0A0806;   /* the one primary style: gold pill, dark text (8:1) */
  font: 600 0.95rem/1 var(--st-font-text);
  text-decoration: none; cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}
.btn:hover { background: #DCA33A; transform: translateY(-1px); }
.btn--gold { background: #C8912B; color: #0A0806; }   /* kept as an alias */
.btn--gold:hover { background: #DCA33A; }
/* Secondary: outlined, same shape. */
.btn--ghost { background: transparent; color: var(--st-ink); box-shadow: inset 0 0 0 1.5px var(--st-ink); }
.btn--ghost:hover { background: var(--st-ink); color: var(--st-paper); }
.btn--wide { width: 100%; padding-block: 1rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.linkish {
  display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 44px;                     /* tap target, not just the text */
  margin-left: 1.1rem; color: var(--st-gold-text);
  font: 400 0.95rem/1 var(--st-font-text); text-decoration: none;
}
.linkish:hover { text-decoration: underline; }

/* ---------- feature strip ---------- */
.strip { border-top: 1px solid var(--st-line); background: var(--st-paper); }
.strip__in {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding-block: clamp(1.5rem, 4vh, 2.4rem);
}
.feat { display: flex; gap: 0.85rem; align-items: flex-start; }
.feat svg { flex: none; width: 26px; height: 26px; stroke: var(--st-gold); fill: none; stroke-width: 1.5; }
.feat b { display: block; font: 500 0.88rem/1.4 var(--st-font-text); }
.feat span { display: block; font-size: 0.82rem; color: var(--st-ink-soft); line-height: 1.45; }

/* ---------- product grid (shop index) ---------- */
.section { padding-block: clamp(3rem, 9vh, 6rem); }
.section__head { text-align: center; margin-bottom: clamp(2rem, 5vh, 3.4rem); }
.section__head h2 {
  margin: 0 0 0.6rem;
  font: 300 clamp(1.9rem, 4vw, 2.9rem)/1.15 var(--st-font-display);
}
.section__head p { margin: 0 auto; max-width: 34rem; color: var(--st-ink-soft); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.card {
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 20px; background: var(--st-mist);
  text-decoration: none; color: inherit;
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgb(20 16 13 / 0.13); }
.card__shot img { transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.card:hover .card__shot img { transform: translateY(-8px) scale(1.03); }
.card__shot { display: grid; place-items: center; min-height: 300px; margin-bottom: 1.4rem; }
.card__shot img { max-height: 280px; height: auto; width: auto; filter: drop-shadow(0 20px 26px rgb(20 16 13 / 0.20)); }
.card h3 { margin: 0 0 0.35rem; font: 400 1.45rem/1.2 var(--st-font-display); }
.card__note { margin: 0 0 1rem; font-size: 0.9rem; color: var(--st-ink-soft); }
.card__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.card__price { font: 500 1.1rem/1 var(--st-font-text); }
.card__price small { display: block; margin-top: 0.3rem; font-size: 0.82rem; color: var(--st-ink-soft); font-weight: 400; }
.card__go { font: 500 0.88rem/1 var(--st-font-text); color: var(--st-gold-text); }
.card--soon { opacity: 0.72; }
.tag {
  display: inline-block; margin-bottom: 0.8rem; padding: 0.24rem 0.6rem;
  border-radius: 4px; background: rgb(168 118 28 / 0.12); color: var(--st-gold-text);
  font: 500 0.75rem/1.4 var(--st-font-text); letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.pdp__media {
  position: sticky; top: 84px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--st-mist) 0%, #EEEAE5 100%);
  border-radius: 24px; padding: clamp(1.5rem, 4vw, 3rem); min-height: 60vh;
}
.pdp__media img { max-height: clamp(300px, 52vh, 560px); height: auto; width: auto; filter: drop-shadow(0 30px 38px rgb(20 16 13 / 0.22)); }
.pdp__panel { padding-top: clamp(1rem, 4vh, 2.5rem); }
/* One orchestrated load: kicker, title, lede, sizes, price, buy, rest. */
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pdp__panel > * { animation: panelIn 700ms cubic-bezier(.2,.7,.2,1) both; }
.pdp__panel > :nth-child(1) { animation-delay: 80ms; }
.pdp__panel > :nth-child(2) { animation-delay: 160ms; }
.pdp__panel > :nth-child(3) { animation-delay: 240ms; }
.pdp__panel > :nth-child(4) { animation-delay: 320ms; }
.pdp__panel > :nth-child(5) { animation-delay: 400ms; }
.pdp__panel > :nth-child(n+6) { animation-delay: 480ms; }
.pdp__media { animation: panelIn 900ms cubic-bezier(.2,.7,.2,1) both; }
.pdp h1 { margin: 0 0 0.6rem; font: 300 clamp(2rem, 4.4vw, 3.1rem)/1.1 var(--st-font-display); }
.pdp__lede { margin: 0 0 1.8rem; color: var(--st-ink-soft); }

.rows { margin: 0 0 2rem; padding: 0; list-style: none; border-top: 1px solid var(--st-line); }
.rows li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--st-line); }
.rows svg { flex: none; width: 30px; height: 30px; stroke: var(--st-gold); fill: none; stroke-width: 1.4; }
.rows b { display: block; font: 500 0.95rem/1.4 var(--st-font-text); }
.rows span { display: block; font-size: 0.86rem; color: var(--st-ink-soft); }

fieldset.sizes { margin: 0 0 1.6rem; padding: 0; border: 0; }
fieldset.sizes legend { padding: 0; margin-bottom: 0.6rem; font: 400 0.82rem/1 var(--st-font-text); color: var(--st-ink-soft); }
.sizes__opts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sizes input { position: absolute; opacity: 0; width: 0; height: 0; }
.sizes label {
  display: inline-flex; flex-direction: column; gap: 0.15rem;
  min-width: 7.2rem; padding: 0.6rem 1rem;
  border: 1px solid var(--st-line); border-radius: 12px;
  font: 500 0.92rem/1.3 var(--st-font-text); cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.sizes label small { font-weight: 400; font-size: 0.82rem; color: var(--st-ink-soft); }
.sizes label:hover { border-color: #C9C1B7; }
.sizes input:checked + label { border-color: var(--st-ink); background: #fff; box-shadow: inset 0 0 0 1px var(--st-ink); }
.sizes input:focus-visible + label { outline: 2px solid var(--st-gold); outline-offset: 2px; }

.price { margin: 0 0 0.2rem; font: 400 clamp(2.2rem, 4vw, 2.8rem)/1.05 var(--st-font-display); letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
.price__note { margin: 0 0 1.4rem; font-size: 0.82rem; color: var(--st-ink-soft); }

.buybar { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; }
.buybar .btn { flex: 1; }
.buybar .btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.buybar__alt { margin-left: 0; justify-content: center; font-size: 0.9rem; }

/* ---------- delivery details (sent with the Razorpay order) ---------- */
fieldset.ship {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
  margin: 0 0 1.4rem; padding: 0; border: 0;
}
fieldset.ship legend { padding: 0; margin-bottom: 0.6rem; font: 400 0.82rem/1 var(--st-font-text); color: var(--st-ink-soft); }
.ship label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.82rem; color: var(--st-ink-soft); }
.ship__wide { grid-column: 1 / -1; }
.ship input, .ship textarea {
  width: 100%; padding: 0.7rem 0.8rem;
  border: 1px solid var(--st-line); border-radius: 10px; background: #fff;
  font: 400 1rem/1.4 var(--st-font-text); color: var(--st-ink);
}
.ship textarea { resize: vertical; min-height: 3.2rem; }
.ship input:focus, .ship textarea:focus { outline: 2px solid var(--st-gold); outline-offset: 1px; border-color: transparent; }
@media (max-width: 480px) { fieldset.ship { grid-template-columns: 1fr; } }
fieldset.ship[hidden] { display: none; }

/* ---------- discount code, folded away until asked for ---------- */
details.coupon > summary {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none;
  font-size: 0.9rem; color: var(--st-gold-text); text-decoration: underline; text-underline-offset: 3px;
}
details.coupon > summary::-webkit-details-marker { display: none; }
details.coupon[open] > summary { margin-bottom: 0.4rem; }

/* ---------- sticky buy bar (phones only) ---------- */
.buysticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  padding: 0.7rem var(--st-gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgb(252 250 246 / 0.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--st-line); box-shadow: 0 -8px 24px rgb(20 16 13 / 0.08);
}
.buysticky[hidden] { display: none; }
.buysticky__price { font: 400 1.25rem/1.1 var(--st-font-display); color: var(--st-ink); }
.buysticky .btn { flex: 0 0 auto; padding-inline: 1.8rem; }
@media (min-width: 900px) { .buysticky { display: none !important; } }
/* Room under the footer so the bar never sits on top of the last content. */
@media (max-width: 899px) { body:has(.buysticky:not([hidden])) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }

.pay-note {
  margin-top: 0.9rem; padding: 0.75rem 0.9rem;
  border: 1px dashed var(--st-line); border-radius: 10px;
  font-size: 0.82rem; color: var(--st-ink-soft);
}
.pay-note:empty { display: none; }

/* ---------- discount code ---------- */
.coupon { margin: -0.8rem 0 1.2rem; }
.coupon label { display: block; margin-bottom: 0.35rem; font-size: 0.82rem; color: var(--st-ink-soft); }
.coupon__row { display: flex; gap: 0.5rem; }
.coupon__row input {
  flex: 1; min-width: 0; padding: 0.65rem 0.8rem;
  border: 1px solid var(--st-line); border-radius: 10px; background: #fff;
  font: 500 0.95rem/1.4 var(--st-font-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--st-ink);
}
.coupon__row input:focus { outline: 2px solid var(--st-gold); outline-offset: 1px; border-color: transparent; }
.coupon__btn {
  padding: 0 1.1rem; border: 1px solid var(--st-ink); border-radius: 10px; background: transparent;
  font: 500 0.9rem/1 var(--st-font-text); color: var(--st-ink); cursor: pointer;
}
.coupon__btn:hover { background: var(--st-ink); color: var(--st-paper); }
.coupon__btn:disabled { opacity: 0.6; cursor: progress; }
.coupon__msg { margin: 0.4rem 0 0; font-size: 0.82rem; }
.coupon__msg:empty { display: none; }
.coupon__msg[data-tone="ok"] { color: #1E5B30; }
.coupon__msg[data-tone="error"] { color: #8A2A1F; }
.price s { margin-right: 0.5rem; font-size: 0.6em; color: var(--st-ink-soft); }
.pay-note[data-tone="error"] { border-style: solid; border-color: #E2B4AE; background: #FBEFED; color: #8A2A1F; }
.pay-note[data-tone="ok"]    { border-style: solid; border-color: #B9D8C0; background: #EEF7F0; color: #1E5B30; }

.veg { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.6rem; font-size: 0.8rem; color: var(--st-ink-soft); }
.veg i { width: 15px; height: 15px; border: 2px solid var(--st-green); display: grid; place-items: center; border-radius: 2px; }
.veg i::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--st-green); }

details.spec { border-top: 1px solid var(--st-line); }
details.spec summary {
  padding: 1rem 0; cursor: pointer; list-style: none;
  font: 500 0.95rem/1 var(--st-font-text);
  display: flex; justify-content: space-between; align-items: center;
}
details.spec summary::-webkit-details-marker { display: none; }
details.spec summary::after { content: "+"; font-size: 1.2rem; color: var(--st-ink-soft); }
details.spec[open] summary::after { content: "\2212"; }
details.spec .spec__body { padding-bottom: 1.2rem; font-size: 0.88rem; color: var(--st-ink-soft); }
details.spec dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.2rem; margin: 0; }
details.spec dt { font-weight: 500; color: var(--st-ink); }
details.spec dd { margin: 0; }

/* ---------- story bridge back to the film ---------- */
.bridge { background: #0A0806; color: #F5EBDD; }
.bridge__in {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(2.5rem, 7vh, 4.5rem);
}
.bridge a {
  display: block; padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgb(200 145 43 / 0.28); border-radius: 16px;
  text-decoration: none; color: inherit;
  transition: border-color 220ms ease, background 220ms ease;
}
.bridge a:hover { border-color: rgb(200 145 43 / 0.7); background: rgb(200 145 43 / 0.06); }
.bridge b { display: block; font: 400 1.3rem/1.2 var(--st-font-display); margin-bottom: 0.4rem; }
.bridge span { font-size: 0.88rem; color: #A2968A; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--st-line); background: var(--st-mist); }
.foot__in { padding-block: clamp(2rem, 5vh, 3rem); font-size: 0.8rem; color: var(--st-ink-soft); }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.6rem; margin-bottom: 1.6rem; }
.foot b { display: block; color: var(--st-ink); font: 500 0.82rem/1.6 var(--st-font-text); margin-bottom: 0.3rem; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--st-ink-soft); }
.foot__legal { padding-top: 1.2rem; border-top: 1px solid var(--st-line); }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .hero__copy { max-width: none; margin-inline: auto; }
  .hero p.lede { margin-inline: auto; }
  .hero__shot { order: -1; }
  .hero__shot img { max-height: clamp(240px, 38vh, 340px); }
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { position: static; min-height: 0; }
  .pdp__media img { max-height: clamp(260px, 42vh, 380px); }
}

@media (prefers-reduced-motion: reduce) {
  .pdp__panel > *, .pdp__media { animation: none; }
  .card__shot img { transition: none; }
  * { transition: none !important; animation: none !important; }
  .card:hover, .btn:hover { transform: none; }
}

/* ================= page head (about, contact) ================= */
.page-head {
  background: linear-gradient(180deg, var(--st-wash) 0%, #fff 100%);
  padding: clamp(3rem, 9vh, 6rem) 0 clamp(2rem, 6vh, 3.5rem);
  border-bottom: 1px solid var(--st-line);
}
.page-head h1 {
  margin: 0.2rem 0 0;
  font: 300 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--st-font-display);
  letter-spacing: -0.015em;
}
.page-head__lede {
  margin: var(--st-4) 0 0; max-width: 40rem;
  font: 400 clamp(1rem, 1.35vw, 1.14rem)/1.6 var(--st-font-text);
  color: var(--st-ink-soft);
}

/* ================= prose (about) ================= */
.prose { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.prose__col h2 {
  margin: var(--st-6) 0 var(--st-3);
  font: 400 clamp(1.3rem,2.2vw,1.7rem)/1.2 var(--st-font-display);
}
.prose__col h2:first-child { margin-top: 0; }
.prose__col p { margin: 0 0 var(--st-4); font: 400 1rem/1.7 var(--st-font-text); color: var(--st-ink-soft); max-width: 38rem; }
.prose__col b { color: var(--st-ink); font-weight: 500; }
.prose__col a { color: var(--st-accent-deep); text-underline-offset: 3px; }
.prose__aside { position: sticky; top: 84px; background: var(--st-wash); border: 1px solid var(--st-line); border-radius: 18px; padding: clamp(1.4rem,3vw,2rem); }
.facts { margin: 0 0 var(--st-5); }
.facts dt { font: 500 0.75rem/1 var(--st-font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--st-ink-faint); margin-top: var(--st-4); }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0.4rem 0 0; font: 400 0.92rem/1.5 var(--st-font-text); color: var(--st-ink); }

/* ================= contact ================= */
.contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--st-4); }
.ccard { background: var(--st-wash); border: 1px solid var(--st-line); border-radius: 18px; padding: clamp(1.3rem,2.6vw,1.8rem); }
.ccard h2 { margin: 0 0 var(--st-2); font: 400 1.18rem/1.25 var(--st-font-display); }
.ccard p { margin: 0 0 var(--st-4); font: 400 0.92rem/1.6 var(--st-font-text); color: var(--st-ink-soft); }
.ccard__link { font: 500 0.95rem/1 var(--st-font-text); color: var(--st-accent-deep); text-underline-offset: 3px; }
.contact__addr { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.5rem,4vw,3rem); margin-top: clamp(2.5rem,6vh,4rem); padding-top: clamp(2rem,5vh,3rem); border-top: 1px solid var(--st-line); }
.contact__addr h3 { margin: 0 0 var(--st-3); font: 500 0.75rem/1 var(--st-font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--st-ink-faint); }
.contact__addr address { font: 400 0.95rem/1.65 var(--st-font-text); font-style: normal; color: var(--st-ink); }
.contact__where { margin: 0; font: 400 0.95rem/1.65 var(--st-font-text); color: var(--st-ink-soft); }

@media (max-width: 860px) {
  .prose { grid-template-columns: 1fr; }
  .prose__aside { position: static; }
}

/* ==========================================================================
   The film carries into the shop.
   The shop stays light for reading and buying, but its threshold is a frame
   from the masala film, and the way back out is through windows onto the
   journeys. Same world, quieter room.
   ========================================================================== */
.hero--film {
  background: #0A0806 url(assets/store/hero-cardamom.webp) 30% 50% / cover no-repeat;
  color: #F5EBDD;
  --st-gold-text: #DCA33A;
}
.hero--film::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(10 8 6 / 0.94) 0%, rgb(10 8 6 / 0.84) 36%, rgb(10 8 6 / 0.58) 68%, rgb(10 8 6 / 0.72) 100%),
    linear-gradient(0deg, rgb(10 8 6 / 0.85) 0%, rgb(10 8 6 / 0) 42%);
}
.hero--film .hero__in { position: relative; z-index: 1; }
.hero--film .hero__sub { color: #D9CDBD; }
.hero--film p.lede { color: #BDB1A3; }
.hero--film .btn { background: #C8912B; color: #0A0806; }
.hero--film .btn:hover { background: #DCA33A; }
.hero--film .hero__shot { position: relative; }
.hero--film .hero__shot::before {
  /* The pool of light the pack stands in at the end of the film. */
  content: ""; position: absolute; z-index: -1; inset: -18% -40%;
  background: radial-gradient(closest-side, rgb(220 163 58 / 0.30), rgb(220 163 58 / 0.08) 55%, transparent);
  pointer-events: none;
}
.hero--film .hero__shot img { filter: drop-shadow(0 34px 46px rgb(0 0 0 / 0.65)); }
@media (max-width: 760px) {
  .hero--film { background-position: 50% 30%; }
  .hero--film::before {
    background: linear-gradient(0deg, rgb(10 8 6 / 0.96) 0%, rgb(10 8 6 / 0.86) 48%, rgb(10 8 6 / 0.6) 100%);
  }
}

/* Bridge cards become windows onto the films. */
.bridge a {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(200px, 26vw, 280px);
}
.bridge a::before, .bridge a::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.bridge a::before {
  background: var(--bridge-img, none) center / cover no-repeat;
  opacity: 0.85;
  transition: transform 900ms cubic-bezier(.2,.7,.2,1), opacity 400ms ease;
}
.bridge a::after {
  background: linear-gradient(0deg, rgb(10 8 6 / 0.94) 0%, rgb(10 8 6 / 0.7) 45%, rgb(10 8 6 / 0.25) 100%);
}
.bridge a:hover::before, .bridge a:focus-visible::before { transform: scale(1.05); opacity: 1; }
.bridge a[href="index.html"]                         { --bridge-img: url(assets/store/bridge-assam.webp); }
.bridge a[href="masala.html"]                        { --bridge-img: url(assets/store/bridge-spice.webp); }
.bridge a[href="product-classic-chai.html"]          { --bridge-img: url(assets/store/bridge-classic.webp); }
.bridge a[href="product-royal-indian-masala.html"]   { --bridge-img: url(assets/store/bridge-cardamom.webp); }
.bridge span { color: #BDB1A3; }
@media (prefers-reduced-motion: reduce) {
  .bridge a::before { transition: none; }
  .bridge a:hover::before { transform: none; }
}

/* ---------- 3D pack viewer (src/pack-viewer.js) ---------- */
.pack3d { position: relative; aspect-ratio: 1 / 1.05; }
.pack3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 600ms ease; }
.pack3d.is-3d .pack3d__canvas { opacity: 1; }
.pack3d.is-3d > img { opacity: 0; }
.pack3d:active .pack3d__canvas { cursor: grabbing; }
.pack3d > img { width: 100%; height: 100%; object-fit: contain; transition: opacity 600ms ease; }
#buyBtn { transition: transform 260ms cubic-bezier(.2,.7,.2,1), background 180ms ease; position: relative; overflow: visible; }
.steam-burst { position: absolute; width: 0; height: 0; pointer-events: none; z-index: 2; }
.steam-burst i {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 244 226 / 0.95), rgb(255 230 190 / 0));
  animation: steamPuff 800ms cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes steamPuff {
  from { transform: translate(0, 0) scale(0.4); opacity: 0.9; }
  to { transform: translate(var(--dx), var(--dy)) scale(1.8); opacity: 0; }
}

/* ---------- about page (from the company brochure) ---------- */
.about { display: grid; gap: clamp(3rem, 8vh, 5.5rem); padding-block: clamp(3rem, 9vh, 6rem); max-width: 56rem; }
.about__block h2 { margin: 0 0 1rem; font: 300 clamp(1.8rem, 3.4vw, 2.6rem)/1.15 var(--st-font-display); }
.about__block p { margin: 0 0 1rem; color: var(--st-ink-soft); font-size: 1.02rem; line-height: 1.7; }
.about__block--classic, .about__block--blend { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; max-width: none; }
.about__block--classic img, .about__block--blend img { width: 100%; height: auto; border-radius: 16px; background: var(--st-mist); }
.origins { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }
.origins li { padding: 1.1rem 1.2rem; border-radius: 12px; background: var(--st-mist); }
.origins b { display: block; font: 500 0.78rem/1 var(--st-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--st-gold-text); margin-bottom: 0.5rem; }
.origins span { color: var(--st-ink); font-size: 0.98rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--st-line); }
.steps li { display: grid; grid-template-columns: 2.6rem 9rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--st-line); align-items: baseline; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 400 0.85rem/1 var(--st-font-text); color: var(--st-gold-text); }
.steps b { font: 400 1.4rem/1.2 var(--st-font-display); color: var(--st-ink); }
.steps span { color: var(--st-ink-soft); }
.about__block--contact { background: var(--st-mist); padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: 16px; }
.about__block--contact a { color: var(--st-ink); }
@media (max-width: 760px) {
  .about__block--classic, .about__block--blend { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 2.2rem 1fr; }
  .steps span { grid-column: 2; }
}

/* phone: tap to start the heavier 3D / video */
.chero__shot { position: relative; }
.chero__play, .pack3d__turn {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3;
  width: max-content; white-space: nowrap;
  min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 980px; cursor: pointer;
  background: #C8912B; color: #0A0806; font: 600 0.9rem/1 var(--st-font-text);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.35);
}
.chero__play:hover, .pack3d__turn:hover { background: #DCA33A; }
