/* =====================================================================
   BAAYN — LANDING PAGE
   Static layout first (works without JS / with reduced motion).
   `.motion` (added by landing.js) switches on the pinned, scroll-driven
   versions of each chapter.
   ===================================================================== */

/* ---------- Preloader ---------- */
.preloader { display: none; }
.is-loading .preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--space-5);
  background: var(--paper-50);
}
.is-loading body { overflow: hidden; }
.preloader__logo { width: min(340px, 64vw); }
.preloader__line { width: 180px; height: 1px; background: var(--walnut-800); transform-origin: left; transform: scaleX(0); }
.preloader__tag { font-size: var(--fs-micro); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-ink-soft); }
.logo-part { transform-box: fill-box; transform-origin: 50% 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: clamp(96px, 12vh, 140px);
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 78% 40%, var(--saffron-100) 0%, transparent 70%),
    var(--color-bg);
}
.hero__mountains {
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: min(1600px, 140vw);
  translate: -50% 0;
  opacity: .13;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__mountains img { width: 100%; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}
.hero__copy { display: grid; gap: var(--space-5); justify-items: start; }
.hero__title { max-width: 12ch; }

/* "remembers": a hand-sewn running stitch that draws itself beneath the word,
   and a saffron light that sweeps through the letters on hover. */
.hero__remember { position: relative; cursor: default; display: block; width: fit-content; }
.hero__remember .split-word > span {
  background: linear-gradient(100deg, var(--color-accent) 40%, var(--saffron-500) 50%, var(--color-accent) 60%) 100% 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: background-position 1.1s var(--ease-out);
}
.hero__title:hover .hero__remember .split-word > span { background-position: 0 0; }
.hero__stitch {
  position: absolute;
  left: 2%; right: 0; bottom: -.06em;
  width: 98%; height: .12em;
  overflow: visible;
  pointer-events: none;
}
.hero__stitch path {
  fill: none;
  stroke: var(--saffron-500);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 9 9;
  vector-effect: non-scaling-stroke;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }

.hero__scene {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1.08;
  justify-self: center;
}
.hero__halo {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--chinar-100) 90%, transparent) 0%, transparent 66%);
}
.hero__arch {
  position: absolute;
  inset: 4% 15% 3% 15%;
}
.hero__arch img { padding: 0; object-position: center bottom; }
.hero__float {
  position: absolute;
  filter: drop-shadow(0 18px 24px rgb(43 24 16 / .18));
  will-change: transform;
}
.hero__float--chinar  { left: -6%;  top: 2%;    width: 30%; }
.hero__float--crocus  { right: -7%; top: 38%;   width: 23%; }
.hero__float--tee     { left: -10%; bottom: 6%; width: 28%; }
.hero__float--duo    { right: -8%; bottom: 2%; width: 30%; }
.hero__seal {
  position: absolute;
  right: -3%;
  top: 0;
  width: 25%;
  color: var(--walnut-800);
  fill: currentColor;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: .2em;
  animation: spin 28s linear infinite;
}
.hero__seal circle { fill: var(--color-accent); }
@keyframes spin { to { rotate: 360deg; } }

.hero__marquee {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--color-line);
  overflow: hidden;
  padding-block: var(--space-4);
  background: color-mix(in srgb, var(--paper-50) 70%, transparent);
}
.hero__marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: max-content;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 1rem + 1vw, 2rem);
  white-space: nowrap;
  animation: marquee 48s linear infinite;
}
.hero__marquee-track i { font-style: normal; font-size: .6em; color: var(--color-accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: calc(var(--space-9) + 8px);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue i {
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--walnut-800) 50%, transparent 50%) 0 0 / 1px 200%;
  animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-5); padding-top: var(--space-4); }
  .hero__scene { max-width: 420px; order: -1; width: 82%; }
  .hero__title { max-width: 12ch; }
  .scroll-cue { display: none; }
  /* phones: the scene sits on top, so the mountains go behind it */
  .hero__mountains { top: 7%; bottom: auto; width: 220vw; }
}

/* ---------- Home hero: "the look" ----------
   One big lookbook picture on a Kashmiri-red arch, with tappable spots on
   each piece that lead to its shelf, and a strip of every category below. */
.hero--look {
  grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr);   /* the scrolling category strip must not widen the page */
  padding-top: clamp(84px, 10vh, 120px);
  background:
    radial-gradient(50% 60% at 78% 42%, var(--saffron-100) 0%, transparent 72%),
    var(--color-bg);
}
.look__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: var(--space-7);
  padding-block: var(--space-4) var(--space-6);
}
.look__copy { display: grid; gap: var(--space-5); justify-items: start; min-width: 0; }
.look__facts {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5);
  font-size: var(--fs-micro); letter-spacing: var(--tracking-mid); text-transform: uppercase; color: var(--color-ink-soft);
}
.look__facts li { display: inline-flex; align-items: center; gap: .6em; }
.look__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron-500); }
.look__facts a { color: inherit; text-decoration: underline; text-decoration-color: var(--saffron-500); text-underline-offset: .3em; }

.look__figure {
  position: relative; margin: 0; justify-self: center;
  height: min(66vh, 600px); aspect-ratio: 916 / 1460;
}
.look__backdrop {
  position: absolute; inset: 7% -17% -3% 16%;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background:
    radial-gradient(circle at 1px 1px, rgb(255 255 255 / .12) 1.2px, transparent 1.6px) 0 0 / 14px 14px,
    radial-gradient(120% 70% at 30% 0%, color-mix(in srgb, var(--chinar-500) 70%, transparent), transparent 70%),
    var(--chinar-600);
  box-shadow: var(--shadow-2);
}
.look__tag {
  position: absolute; right: .85rem; top: 50%; translate: 0 -50%;
  writing-mode: vertical-rl; white-space: nowrap;
  font: 500 .64rem/1 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--paper-50); opacity: .85;
}
.look__stage { position: absolute; inset: 0; }
.look__frame { position: absolute; inset: 0; filter: drop-shadow(0 26px 40px rgb(43 24 16 / .3)); }
.look__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* the spots: a pulsing "+" on each piece, its name slides out beside it */
.look__spot {
  position: absolute; z-index: 2; left: var(--x); top: var(--y);
  height: 28px; margin: -14px 0 0 -14px;          /* the dot's centre sits on (x, y); no translate: GSAP animates this element */
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--paper-50);
}
.look__spot--left { flex-direction: row-reverse; left: auto; right: calc(100% - var(--x)); margin: -14px -14px 0 0; }
.look__spot i {
  position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-0); box-shadow: 0 0 0 2px var(--chinar-600), 0 6px 14px rgb(28 15 9 / .35);
  transition: transform .35s var(--ease-spring);
}
.look__spot i::before { content: "+"; font: 400 1.15rem/1 var(--font-sans); color: var(--chinar-600); transition: rotate .35s var(--ease-out); }
.look__spot i::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid var(--paper-0); animation: look-pulse 2.4s var(--ease-out) infinite;
}
@keyframes look-pulse { from { transform: scale(.6); opacity: .95; } to { transform: scale(1.5); opacity: 0; } }
.look__spot span {
  background: var(--walnut-900); padding: .5rem .85rem; border-radius: var(--radius-pill);
  font: 500 .66rem/1.2 var(--font-sans); letter-spacing: var(--tracking-mid); text-transform: uppercase; white-space: nowrap;
  box-shadow: var(--shadow-2);
  opacity: 0; translate: -8px 0; transition: opacity .25s var(--ease-out), translate .35s var(--ease-out);
  pointer-events: none;
}
.look__spot--left span { translate: 8px 0; }
.look__spot:hover i, .look__spot:focus-visible i { transform: scale(1.12); }
.look__spot:hover i::before, .look__spot:focus-visible i::before { rotate: 90deg; }
.look__spot:hover span, .look__spot:focus-visible span { opacity: 1; translate: 0 0; }
@media (hover: none) { .look__spot span { opacity: 1; translate: 0 0; } }

/* every shelf, one tap away */
.look__cats {
  position: relative; z-index: 1;
  border-top: 1px solid var(--color-line);
  background: color-mix(in srgb, var(--paper-50) 80%, transparent);
}
.look__cats ul {
  list-style: none; margin: 0 auto; padding: var(--space-3) var(--gutter);
  max-width: var(--max-width);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-2);
}
.look__cats li { min-width: 0; }
.look__cats a {
  display: flex; align-items: center; gap: var(--space-3); min-width: 0;
  padding: .45rem .6rem; border-radius: var(--radius-md);
  color: var(--color-ink); text-decoration: none;
  transition: background var(--dur-2), box-shadow var(--dur-2);
}
.look__cats a:hover, .look__cats a:focus-visible { background: var(--paper-0); box-shadow: var(--shadow-1); }
.look__cats img { flex: none; width: 46px; height: 46px; object-fit: contain; transition: transform .45s var(--ease-spring); }
.look__cats a:hover img { transform: rotate(-7deg) scale(1.1); }
.look__cats span { min-width: 0; font: 500 .7rem/1.25 var(--font-sans); letter-spacing: var(--tracking-mid); text-transform: uppercase; }

@media (max-width: 900px) {
  .hero--look { min-height: auto; padding-top: 84px; }
  .look__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); padding-block: var(--space-3) var(--space-6); }
  .look__figure { order: -1; height: min(54svh, 470px); }
  .look__backdrop { inset: 8% -15% -3% 14%; }
  .look__spot i { width: 24px; height: 24px; }
  .look__spot { height: 24px; margin: -12px 0 0 -12px; }
  .look__spot--left { flex-direction: row; left: var(--x); right: auto; margin: -12px 0 0 -12px; }   /* labels to the right: on a phone the left ones ran off the screen */
  .look__spot span { font-size: .58rem; padding: .4rem .65rem; }
  .look__cats ul {
    display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    gap: var(--space-2); padding-block: var(--space-3);
  }
  .look__cats ul::-webkit-scrollbar { display: none; }
  .look__cats li { flex: none; scroll-snap-align: start; }
  .look__cats a { background: var(--paper-0); border: 1px solid var(--color-line); border-radius: var(--radius-pill); padding: .3rem .9rem .3rem .4rem; }
  .look__cats img { width: 36px; height: 36px; }
  .look__cats span { white-space: nowrap; }
}

/* ---------- Chapter III — Made for every season ----------
   Four coloured panels; the open one widens to show its outfit and shelves.
   Phones: a swipeable row of open cards. */
.seasons__head { display: grid; gap: var(--space-4) var(--space-8); justify-items: start; align-items: end; margin-bottom: var(--space-7);
  grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); grid-template-areas: 'eye eye' 'title lede'; }
.seasons__head .eyebrow { grid-area: eye; }
.seasons__head h2 { grid-area: title; }
.seasons__head .t-lede { grid-area: lede; }
.seasons__head h2, .seasons__head p { margin: 0; }
.seasons__head .t-lede { color: var(--color-ink-soft); }
.seasons__row { display: flex; gap: var(--space-3); height: clamp(480px, 68vh, 580px); }
.season {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; margin: 0;
  border-radius: var(--radius-lg); background: var(--s-bg); color: var(--s-ink);
  box-shadow: var(--shadow-1); cursor: pointer; isolation: isolate;
  transition: flex-grow .75s var(--ease-out), box-shadow var(--dur-3);
}
.season::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(110% 70% at 85% 0%, rgb(255 255 255 / .2), transparent 62%),
              repeating-linear-gradient(45deg, rgb(255 255 255 / .045) 0 2px, transparent 2px 10px);
}
.season:hover { box-shadow: var(--shadow-2); }
.season:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.season.is-open { flex-grow: 3.3; cursor: default; box-shadow: var(--shadow-3); }
.season--winter { --s-bg: var(--lake-700); --s-ink: var(--paper-50); --s-accent: var(--lake-200); }
.season--spring { --s-bg: var(--moss-600); --s-ink: var(--paper-50); --s-accent: var(--saffron-300); }
.season--summer { --s-bg: var(--saffron-500); --s-ink: var(--walnut-900); --s-accent: var(--walnut-800); }
.season--autumn { --s-bg: var(--chinar-600); --s-ink: var(--paper-50); --s-accent: var(--saffron-300); }

/* closed: the season's name runs up the panel */
.season__tab {
  position: absolute; left: 50%; bottom: var(--space-6); margin: 0;
  translate: -50% 0; writing-mode: vertical-rl; rotate: 180deg;
  display: flex; align-items: center; gap: var(--space-4); white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1vw, 2.3rem); line-height: 1;
  transition: opacity .3s var(--ease-out);
}
.season__tab small { font: 500 .64rem/1 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; opacity: .8; }
.season.is-open .season__tab { opacity: 0; }
.season__place {
  position: absolute; top: 7%; left: 50%; translate: -50% 0;
  width: min(74%, 150px); height: auto;
  filter: drop-shadow(0 12px 18px rgb(28 15 9 / .28));
  transition: left .75s var(--ease-out), translate .75s var(--ease-out), width .75s var(--ease-out), top .75s var(--ease-out);
}
.season.is-open .season__place { left: 97%; translate: -100% 0; top: 6%; width: min(36%, 230px); }
.season__wear {
  position: absolute; height: auto; opacity: 0; scale: .7;
  filter: drop-shadow(0 16px 22px rgb(28 15 9 / .32));
  transition: opacity .4s var(--ease-out), scale .6s var(--ease-spring);
}
.season__wear--a { right: 21%; bottom: 7%; width: min(25%, 170px); rotate: -6deg; }
.season__wear--b { right: 3%; bottom: 13%; width: min(22%, 150px); rotate: 7deg; }
.season.is-open .season__wear { opacity: 1; scale: 1; transition-delay: .25s, .25s; }
.season.is-open .season__wear--b { transition-delay: .35s, .35s; }
.season__body {
  position: absolute; left: 0; bottom: 0; width: min(54%, 26rem);
  padding: var(--space-6); display: grid; gap: var(--space-3);
  opacity: 0; translate: 0 24px; pointer-events: none;
  transition: opacity .35s var(--ease-out), translate .6s var(--ease-out);
}
.season.is-open .season__body { opacity: 1; translate: 0 0; pointer-events: auto; transition-delay: .2s; }
.season__body > * { margin: 0; }
.season__when { font: 500 .66rem/1.3 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--s-accent); }
.season__name { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4.2rem); line-height: .95; }
.season__line { font-size: var(--fs-body); line-height: var(--lh-body); opacity: .92; }
.season__links { display: flex; flex-wrap: wrap; gap: var(--space-2); padding-top: var(--space-2); }
.season__links a {
  display: inline-flex; align-items: center; gap: .45em; padding: .55rem 1rem; border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--s-ink) 45%, transparent); color: var(--s-ink); text-decoration: none;
  font: 500 .68rem/1 var(--font-sans); letter-spacing: var(--tracking-mid); text-transform: uppercase;
  transition: background var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.season__links a:hover, .season__links a:focus-visible { background: var(--s-ink); color: var(--s-bg); border-color: var(--s-ink); }

@media (max-width: 860px) {
  .seasons__head { margin-bottom: var(--space-6); grid-template-columns: 1fr; grid-template-areas: 'eye' 'title' 'lede'; }
  .seasons__row {
    height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: var(--space-2) var(--gutter) var(--space-4);
    scroll-padding-inline: var(--gutter);
  }
  .seasons__row::-webkit-scrollbar { display: none; }
  /* phone: a fixed picture strip on top, the text below it in normal flow, so stickers never cover words */
  .season { flex: 0 0 min(84%, 340px); height: auto; padding-top: 236px; display: flex; flex-direction: column; justify-content: flex-end; scroll-snap-align: start; cursor: default; }
  .season .season__tab { display: none; }
  .season .season__place { left: auto; right: 5%; translate: none; top: 16px; width: 34%; }
  .season .season__wear { opacity: 1; scale: 1; bottom: auto; width: auto; height: 132px; max-width: 42%; object-fit: contain; }
  .season__wear--a { left: 8%; right: auto; top: 62px; }
  .season__wear--b { left: 42%; right: auto; top: 92px; }
  .season .season__body { position: relative; opacity: 1; translate: 0 0; pointer-events: auto; width: 100%; padding: 0 var(--space-5) var(--space-5); }
  .season__name { font-size: 2.6rem; }
}

/* ---------- Manifesto ---------- */
.manifesto__eyebrow { margin-bottom: var(--space-6); }
.manifesto__text { max-width: 22em; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.18; }

/* ---------- Chapter I — Valley (scroll-driven map) ----------
   Without motion: a heading and a plain grid of the ten places.
   With motion (landing.js valley()): the section pins and an illustrated
   map of the valley flies from place to place as you scroll; each stop's
   sticker and text fade up beside it. */
.valley { position: relative; background: var(--paper-100); }
.valley__pin { position: relative; padding-block: var(--space-section); }
.valley__head { max-width: var(--max-width); margin: 0 auto var(--space-7); padding-inline: var(--gutter); }
.valley__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--space-7) var(--space-6);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.pano-card { display: grid; gap: var(--space-4); align-content: start; }
.pano-card__art { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.pano-card__art img { width: 100%; height: 100%; object-fit: contain; }
.pano-card__body { display: grid; gap: var(--space-2); max-width: 27rem; }
.pano-card__num { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--color-accent); }
.pano-card__body p { color: var(--color-ink-soft); }
.kmap, .valley__progress { display: none; }

.motion .valley__pin { height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.motion .kmap { display: block; position: absolute; inset: 0; }
.kmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the picture map lives in world units (1600 x 1000) and is moved with one GPU transform */
.kmap__terrain { position: absolute; inset: 0; pointer-events: none; }
.kmap__terrain img { position: absolute; left: 0; top: 0; max-width: none; display: block; transform-origin: 0 0; will-change: transform; }
.kmap__foothill { fill: #eadcc6; }
.kmap__floor { fill: #eceed6; stroke: #d9d2b4; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.kmap__river { fill: none; stroke: #6f9aa6; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kmap__river--minor { stroke-width: 1.1; stroke-opacity: .8; }
.kmap__lake { fill: #8fb4bd; stroke: #5f8a96; stroke-width: 1; vector-effect: non-scaling-stroke; }
/* highways from OpenStreetMap, drawn like a game map: a dark casing under a pale road */
.kmap__road { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kmap__road--trunk-case { stroke: #7a5a40; stroke-opacity: .55; stroke-width: 3.6; }
.kmap__road--trunk { stroke: #f7efdc; stroke-width: 1.8; }
.kmap__road--primary-case { stroke: #7a5a40; stroke-opacity: .4; stroke-width: 2.6; }
.kmap__road--primary { stroke: #f3ead6; stroke-width: 1.1; }
.kmap__labels text {
  font-family: var(--font-display); font-style: italic; font-size: 26px;
  letter-spacing: .28em; text-transform: uppercase; fill: var(--walnut-600); opacity: .55;
}
.kmap__labels .kmap__label--water { fill: var(--lake-600); font-size: 12px; letter-spacing: .22em; }
.kmap__labels .kmap__label--lake { font-size: 4px; }
.kmap__river--trib { stroke-width: 2; }
/* towns: --k = 1 / zoom (set by landing.js), so names and dots keep one screen size */
.kmap__towns circle { fill: var(--walnut-700); r: calc(var(--k, 1) * 2.5px); }
.kmap__towns circle.kmap__city { r: calc(var(--k, 1) * 4px); }
.kmap__towns text {
  font: 400 calc(var(--k, 1) * 11px) var(--font-sans); letter-spacing: .04em;
  fill: var(--walnut-900); paint-order: stroke; stroke: #fbf6ea; stroke-width: calc(var(--k, 1) * 3px); stroke-linejoin: round;
}
.kmap__towns .kmap__city { font-size: calc(var(--k, 1) * 14px); font-weight: 500; }
.kmap__towns .kmap__peak { fill: var(--lake-600); letter-spacing: .1em; stroke: none; }
/* route widths are set from JS (--sw / --d1 / --d2) so a stroke stays the same
   on screen at any zoom while its dash offset still follows the path length */
.kmap__route-base { fill: none; stroke: var(--walnut-600); stroke-opacity: .4; stroke-width: var(--sw, 2); stroke-dasharray: var(--d1, 3px) var(--d2, 8px); stroke-linecap: round; }
/* the journey follows real roads: a plain road (casing + surface), filled in as you travel */
.kmap__route-case { fill: none; stroke: var(--walnut-800); stroke-width: calc(var(--sw, 2) * 3.4); stroke-linecap: round; stroke-linejoin: round; }
.kmap__route-base--road { stroke: #fbf6ea; stroke-opacity: 1; stroke-width: calc(var(--sw, 2) * 2); stroke-dasharray: none; stroke-linejoin: round; }
.kmap__route-base--trail { stroke: var(--walnut-800); stroke-opacity: .7; stroke-width: calc(var(--sw, 2) * 1.2); }
.kmap__route-done { fill: none; stroke: var(--chinar-600); stroke-width: calc(var(--sw, 2) * 1.3); stroke-linecap: round; stroke-linejoin: round; }
.kmap__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--paper-100) 0%, color-mix(in srgb, var(--paper-100) 88%, transparent) 26%, transparent 52%);
}
.kmap__pins { position: absolute; inset: 0; pointer-events: none; }
.kpin {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  will-change: transform;
}
.kpin i {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font: italic 600 .95rem/1 var(--font-display);
  background: var(--paper-0); color: var(--chinar-600);
  box-shadow: 0 0 0 1.5px var(--chinar-600), var(--shadow-1);
  transition: transform .5s var(--ease-spring), background .3s, color .3s, box-shadow .3s;
}
.kpin b {
  position: absolute; left: 24px; top: 0; translate: 0 -50%;
  white-space: nowrap; padding: .35rem .8rem; border-radius: var(--radius-pill);
  background: var(--walnut-900); color: var(--paper-50);
  font: 500 .72rem/1 var(--font-sans); letter-spacing: var(--tracking-mid); text-transform: uppercase;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.kpin.is-active i { transform: scale(1.45); background: var(--chinar-600); color: var(--paper-0); box-shadow: 0 0 0 5px color-mix(in srgb, var(--chinar-600) 25%, transparent), var(--shadow-2); }
.kpin.is-active b { opacity: 1; transform: none; }
.kpin.is-visited i { background: var(--saffron-100); box-shadow: 0 0 0 1.5px var(--saffron-600), var(--shadow-1); color: var(--saffron-600); }
.kmap__note {
  position: absolute; right: var(--gutter); bottom: calc(6vh + 14px);
  font-size: var(--fs-micro); letter-spacing: var(--tracking-mid); text-transform: uppercase; color: var(--color-ink-mute);
}

.motion .valley__head,
.motion .valley__cards {
  position: absolute; z-index: 3; left: var(--gutter); top: 50%; translate: 0 -50%;
  width: min(29rem, 38vw); margin: 0; padding: 0; display: grid; gap: 0;
}
.motion .pano-card { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.motion .pano-card__art { aspect-ratio: 4 / 3; max-height: 34vh; justify-items: start; }
.motion .pano-card__art img { object-position: left center; }
.motion .valley__progress {
  display: block; position: absolute; z-index: 3;
  left: var(--gutter); right: var(--gutter); bottom: 6vh; height: 1px;
  background: var(--color-line);
}
.valley__progress span { position: absolute; inset: 0; background: var(--color-accent); transform-origin: left; transform: scaleX(0); }

/* phones: the map takes the top of the screen, the text the bottom */
@media (max-width: 860px) {
  .kmap__veil { background: linear-gradient(0deg, var(--paper-100) 0%, var(--paper-100) 36%, color-mix(in srgb, var(--paper-100) 85%, transparent) 50%, transparent 64%); }
  .motion .valley__head, .motion .valley__cards {
    left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 9vh; translate: none;
  }
  .motion .pano-card { gap: var(--space-3); }
  .motion .pano-card__art { aspect-ratio: 16 / 9; max-height: 17vh; }
  .motion .pano-card__body p { font-size: .95rem; line-height: 1.5; }
  .kmap__note { display: none; }
  .kpin i { width: 24px; height: 24px; font-size: .85rem; }
}

/* ---------- Valley journey extras ----------
   By default the section rests on the whole-valley map and the wrap-up
   ("Ten places. One valley."). "Stories from Kashmir" or a place sticker opens
   the journey full screen (.valley.is-open), stepped with scroll, swipe, keys or
   Back / Next. Pins that overlap when zoomed out merge into one "2–6" pin; a
   chip names each leg. */

/* merged pins */
.kpin { transition: opacity .25s var(--ease-out); }
.kpin.is-merged, .kpin.is-off { opacity: 0; }
.kpin i { white-space: nowrap; }
.kpin.is-group i { width: auto; min-width: 28px; padding: 0 .5em; border-radius: var(--radius-pill); }


/* the leg chip */
.kmap__leg {
  position: absolute; z-index: 3; left: 64%; top: 6.5rem; translate: -50% 0; margin: 0;
  padding: .55rem 1.05rem; border-radius: var(--radius-pill);
  background: var(--walnut-900); color: var(--paper-50); box-shadow: var(--shadow-2);
  font: 500 .72rem/1.25 var(--font-sans); letter-spacing: var(--tracking-mid); text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out);
  pointer-events: none;
}
.kmap__leg em { font-style: normal; color: var(--saffron-300); }
.kmap__leg.is-on { opacity: 1; transform: none; }


/* the wrap-up */
.valley__outro { display: none; }
.motion .valley__outro {
  display: grid; gap: var(--space-4); position: absolute; z-index: 3;
  left: var(--gutter); top: 0; bottom: 0; height: max-content; margin-block: auto; width: min(31rem, 40vw);
}
.valley__outro h3 { margin: 0; }
.valley__outro > p { margin: 0; color: var(--color-ink-soft); }
.valley__outro-stops {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem .5rem;
}
.valley__outro-stops li { min-width: 0; }
.valley__outro-stops button {
  width: 100%; min-width: 0; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; justify-items: center; gap: .3rem; color: var(--color-ink-soft);
}
.valley__outro-stops img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .4s var(--ease-spring); }
.valley__outro-stops button:hover img, .valley__outro-stops button:focus-visible img { transform: translateY(-4px) rotate(-4deg) scale(1.06); }
.valley__outro-stops button:hover { color: var(--chinar-600); }
.valley__outro-stops span {
  font: 500 .6rem/1.2 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; text-align: center;
  overflow-wrap: break-word; hyphens: manual;
}
.valley__outro-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }

@media (max-width: 860px) {
  /* the veil's top edge is moved by landing.js to just above whatever text is showing */
  .kmap__veil {
    inset: 0 0 auto 0; height: 200%; transform: translate3d(0, 48vh, 0);
    background: linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--paper-100) 80%, transparent) 80px, var(--paper-100) 150px);
    transition: transform .7s var(--ease-out);
  }
  .kpin.is-group i { min-width: 24px; }
  .kmap__leg {
    left: 50%; top: 5.4rem; font-size: .62rem; padding: .45rem .85rem;
    white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 2 * var(--gutter));
  }
  .motion .valley__outro { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 9vh; margin-block: 0; gap: var(--space-3); }
  .valley__outro .t-h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .valley__outro > p { font-size: .92rem; }
  .valley__outro-stops { gap: .5rem .35rem; }
  .valley__outro-stops img { max-height: 9vh; }
}

/* default: no intro heading or progress line, the wrap-up is the section */
.motion .valley__head, .motion .valley__progress { display: none; }
.motion .valley__pin { min-height: 640px; }
.valley__pin { transition: opacity .25s var(--ease-out); }
.valley__pin.is-fading { opacity: 0; }
html.valley-open, html.valley-open body { overflow: hidden; }
.valley.is-open .valley__pin {
  position: fixed; inset: 0; z-index: calc(var(--z-preloader) + 5);
  height: 100vh; height: 100svh; min-height: 0; background: var(--paper-100);
  touch-action: none; overscroll-behavior: contain;
}
.valley__nav, .valley__close { display: none; }
.valley.is-open .valley__nav {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 4vh;
}
.valley__step {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; cursor: pointer;
  border: 1px solid var(--color-line-strong); border-radius: var(--radius-pill); background: var(--paper-0);
  font: 500 .72rem/1 var(--font-sans); letter-spacing: var(--tracking-mid); text-transform: uppercase; color: var(--color-ink);
  transition: background .25s, color .25s, border-color .25s, opacity .25s;
}
.valley__step:hover { border-color: var(--chinar-600); color: var(--chinar-600); }
.valley__step--next { background: var(--walnut-900); border-color: var(--walnut-900); color: var(--paper-50); }
.valley__step--next:hover { background: var(--chinar-600); border-color: var(--chinar-600); color: var(--paper-0); }
.valley__step:disabled { opacity: .35; pointer-events: none; }
.valley__count {
  font: italic 500 1.05rem/1 var(--font-display); color: var(--color-ink-soft);
  background: var(--paper-0); border: 1px solid var(--color-line); border-radius: var(--radius-pill);
  padding: .5rem .95rem; box-shadow: var(--shadow-1);
}
.valley__count:empty { visibility: hidden; }
.valley.is-open .valley__close {
  display: grid; place-items: center; position: absolute; z-index: 5; top: 1rem; right: var(--gutter);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-line-strong); cursor: pointer;
  background: var(--paper-0); color: var(--color-ink); font: 300 1.7rem/1 var(--font-sans); box-shadow: var(--shadow-1);
}
.valley__close:hover { background: var(--walnut-900); color: var(--paper-50); }
.valley.is-open .kmap__leg { top: 1.6rem; }
.valley.is-open .kmap__note { bottom: calc(4vh + 60px); }
@media (max-width: 860px) {
  .valley.is-open .valley__cards { bottom: calc(4vh + 64px); }
  .valley.is-open .kmap__leg { top: 4.6rem; }
  .valley__step { padding: .65rem .95rem; font-size: .66rem; }
}

/* ---------- Chapter II — Fibre (process rail) ----------
   Eight die-cut stickers on one thread. Without motion: a simple grid.
   With motion the section pins, the thread fills and each step scales up
   in turn (landing.js stage()). On narrow screens the rail is wider than
   the screen and slides sideways so the active step stays centred. */
.fibre { position: relative; overflow: hidden; }
/* black, with a faint warm glow behind the stickers */
.fibre.inverse {
  background: radial-gradient(ellipse 80% 70% at 50% 45%, #1c1714 0%, #0e0b0a 60%, #070606 100%);
  --color-ink-soft: color-mix(in srgb, var(--paper-50) 82%, transparent);
  --color-ink-mute: color-mix(in srgb, var(--paper-50) 70%, transparent);
}
.fibre .fibre__head em { color: var(--saffron-300); }
.fibre__pin { padding: var(--space-section) var(--gutter); max-width: min(100%, 1600px); margin-inline: auto; }
.fibre__head { display: flex; align-items: flex-end; gap: var(--space-5); margin-bottom: var(--space-8); }
.fibre__counter { margin-left: auto; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--color-ink-soft); display: none; }
.fibre__counter span { color: var(--saffron-300); font-size: 2.4rem; }

.fibre__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-7) var(--space-4);
  --dot: clamp(72px, 18vw, 140px);
}
.fibre__rail-line { display: none; }
.fibre__rail li { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--space-3); }
.fibre__rail img { width: var(--dot); height: var(--dot); object-fit: contain; filter: drop-shadow(0 16px 22px rgb(0 0 0 / .35)); transition: filter var(--dur-2); }
.fibre__rail b { font-weight: var(--fw-regular); font-size: var(--fs-micro); letter-spacing: var(--tracking-mid); text-transform: uppercase; white-space: nowrap; }
.fibre__cta { display: table; margin: var(--space-8) auto 0; color: var(--saffron-300); }

/* ---- motion: pinned rail (all screen sizes) ---- */
@media (min-width: 861px) { .fibre__rail { --dot: clamp(96px, 11.5vw, 200px); } }
.motion .fibre__pin {
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);   /* a wide rail must not stretch the header */
  padding: clamp(84px, 11vh, 120px) var(--gutter) clamp(28px, 6vh, 60px);
}
.motion .fibre__head { margin-bottom: 0; }
.motion .fibre__counter { display: none; }
.motion .fibre__rail {
  display: flex;
  justify-content: space-between;
  align-items: start;
  align-self: center;
  width: 100%;
}
.motion .fibre__cta { margin-top: 0; }
.motion .fibre__rail-line {
  display: none;
  position: absolute;
  left: calc(var(--dot) / 2);
  right: calc(var(--dot) / 2);
  top: calc(var(--dot) / 2);
  height: 1px;
  background: var(--color-line);
}
.fibre__rail-line span { position: absolute; inset: 0; background: var(--saffron-300); transform-origin: left; transform: scaleX(0); }
.motion .fibre__rail li {
  opacity: .42;
  transform: scale(.78);
  transform-origin: 50% 40%;
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-spring);
}
.motion .fibre__rail li.is-done { opacity: .8; transform: scale(.86); }
.motion .fibre__rail li.is-active { opacity: 1; transform: scale(1.3) translateY(-8px); }
.motion .fibre__rail li.is-active img { filter: drop-shadow(0 0 2px var(--saffron-300)) drop-shadow(0 18px 26px rgb(0 0 0 / .45)); }
.motion .fibre__rail li.is-active b { color: var(--saffron-300); }
/* desktop: eight equal columns; only the sticker scales, from its base,
   so every label stays on one line and the row stays evenly spaced */
@media (min-width: 861px) {
  .motion .fibre__rail { justify-content: center; }
  .motion .fibre__rail li { flex: 1 1 0; min-width: 0; transform: none; }
  .motion .fibre__rail li img {
    transform: scale(.9);
    transform-origin: 50% 100%;
    transition: transform var(--dur-3) var(--ease-spring), filter var(--dur-2);
  }
  .motion .fibre__rail li.is-done,
  .motion .fibre__rail li.is-active { transform: none; }
  .motion .fibre__rail li.is-done img { transform: scale(.95); }
  .motion .fibre__rail li.is-active img { transform: scale(1.15); }
  .motion .fibre__rail b { font-size: .8rem; }
}

@media (max-width: 860px) {
  .fibre__head { gap: var(--space-3); }
  .fibre__head h2 { font-size: 1.7rem; }
  .fibre__counter { font-size: 1rem; white-space: nowrap; }
  .fibre__counter span { font-size: 1.5rem; }
  /* phones: the steps sit in one horizontal row you swipe through, the next one peeking in */
  .motion .fibre__pin { height: auto; display: block; padding: var(--space-section) var(--gutter); }
  .motion .fibre__head { margin-bottom: var(--space-7); }
  .motion .fibre__counter { display: none; }
  .motion .fibre__rail {
    --dot: min(40vw, 170px);
    flex-direction: row;
    align-items: start;
    gap: var(--space-4);
    width: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding: var(--space-3) var(--gutter) var(--space-4);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .motion .fibre__rail::-webkit-scrollbar { display: none; }
  .motion .fibre__rail-line { display: none; }
  .motion .fibre__rail li {
    flex: 0 0 58%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-3);
    border-radius: var(--radius-lg, 18px);
    background: rgb(255 255 255 / .04);
    border: 1px solid rgb(255 255 255 / .08);
    opacity: 1;
    transform: none;
    transition: none;
  }
  .motion .fibre__rail img { flex: none; }
  .motion .fibre__rail b { font-size: .85rem; }
  .motion .fibre__cta { margin-top: var(--space-6); }
}
@media (max-width: 420px) {
  .fibre__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); --dot: 120px; }
}
/* phones only: bigger process stickers */
@media (max-width: 600px) {
  .motion .fibre__rail { --dot: min(40vw, 170px); }
}
/* ---------- Chapter III — Saffron ---------- */
.saffron {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, var(--paper-50) 0%, var(--saffron-100) 45%, var(--paper-50) 100%);
}
.saffron__strands { position: absolute; inset: 0; pointer-events: none; }
.strand {
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--chinar-500), var(--chinar-700));
  opacity: .55;
}
.saffron__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-7);
}
.saffron__visual {
  position: sticky;
  top: 12vh;
  height: 76vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--space-5);
}
.saffron__arch {
  width: min(400px, 100%);
  aspect-ratio: 3 / 4;
}
.saffron__img {
  position: absolute;
  inset: 14% 10%;
  width: 80%;
  height: 72%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.8) rotate(-6deg);
  filter: blur(8px);
  transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out), filter var(--dur-4) var(--ease-out);
}
.saffron__img.is-active { opacity: 1; transform: none; filter: none; }
.saffron__stat { display: flex; align-items: baseline; gap: var(--space-3); }
.saffron__stat span { display: inline-block; font-family: var(--font-display); font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 1; color: var(--color-accent); }
.saffron__stat small { font-size: var(--fs-micro); letter-spacing: var(--tracking-mid); text-transform: uppercase; color: var(--color-ink-soft); max-width: 12rem; }
.saffron-step { min-height: 88vh; display: grid; align-content: center; justify-items: start; gap: var(--space-4); }
.saffron-step .t-lede { max-width: 30rem; }
.saffron-step__art { display: none; }

@media (max-width: 860px) {
  .saffron__grid { grid-template-columns: 1fr; }
  .saffron__visual { display: none; }
  .saffron-step { min-height: auto; padding-block: var(--space-7); }
  .saffron-step__art { display: block; width: 62%; max-width: 280px; }
}

/* ---------- Chapter IV — Crafts ---------- */
.crafts { background: var(--paper-50); }
.crafts__head { margin-bottom: var(--space-9); }
.crafts__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3.5rem);
  align-items: start;
}
.crafts__col { display: grid; gap: clamp(2rem, 4vw, 4.5rem); }
.crafts__col:nth-child(2) { margin-top: var(--space-9); }
.crafts__col:nth-child(3) { margin-top: var(--space-6); }
.craft-card { display: grid; gap: var(--space-3); }
.craft-card__art {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 8%;
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-3), filter var(--dur-3);
}
.craft-card__art img { transition: transform var(--dur-4) var(--ease-out); }
.craft-card:hover .craft-card__art img { transform: scale(1.08) rotate(2deg); }
.craft-card__name { font-family: var(--font-display); font-weight: var(--fw-regular); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.9rem); line-height: 1.1; }
.craft-card__text { font-size: var(--fs-small); color: var(--color-ink-soft); max-width: 24rem; transition: opacity var(--dur-3); }

.motion .craft-card:not(.is-focus):not(:hover) .craft-card__art { opacity: .55; filter: saturate(.45); transform: scale(.95); }
.motion .craft-card:not(.is-focus):not(:hover) .craft-card__text { opacity: .35; }

@media (max-width: 1000px) {
  .crafts__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crafts__col:nth-child(3) { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
}
@media (max-width: 600px) {
  .crafts__cols, .crafts__col:nth-child(3) { grid-template-columns: 1fr; }
  .crafts__col:nth-child(2) { margin-top: 0; }
}

/* ---------- Chapter V — Collections ---------- */
.collections { background: var(--paper-100); overflow: hidden; }
.collections__head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: var(--space-7); }
.collections__intro { display: grid; justify-items: start; gap: var(--space-5); }
.collections__rows { display: grid; gap: var(--space-7); margin-top: var(--space-9); }
.collections__row { overflow-x: auto; scrollbar-width: none; }
.collections__row::-webkit-scrollbar { display: none; }
.collections__track { display: flex; gap: var(--space-6); width: max-content; padding-inline: var(--gutter); }
.motion .collections__row { overflow: hidden; }
.motion .collections__track { will-change: transform; }
@media (max-width: 760px) { .collections__head { grid-template-columns: 1fr; } }

/* ---------- Hands interlude ---------- */
.hands { overflow: hidden; }
.hands__grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.hands__img { aspect-ratio: 3 / 4; display: grid; place-items: center; }
.hands__img img { padding: 4%; }
.hands__img--a { margin-top: calc(var(--space-9) * -1); }
.hands__img--b { margin-top: var(--space-9); }
.hands__copy { display: grid; justify-items: center; gap: var(--space-6); text-align: center; }
.hands__quote { font-style: italic; line-height: 1.2; }
@media (max-width: 860px) {
  .hands__grid { grid-template-columns: 1fr 1fr; }
  .hands__copy { grid-column: 1 / -1; order: -1; }
  .hands__img--a, .hands__img--b { margin-top: 0; }
}

/* ---------- Promises ---------- */
.promises__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-8);
  border-bottom: var(--border-hair);
}
.promise + .promise { border-left: var(--border-hair); }
.promise:nth-child(4n + 1) { border-left: 0; }
@media (max-width: 900px) {
  .promises__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise:nth-child(odd) { border-left: 0; }
  .promise:nth-child(even) { border-left: var(--border-hair); }
}

/* ---------- Finale ---------- */
.finale {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  background: radial-gradient(70% 60% at 50% 100%, var(--walnut-700) 0%, var(--walnut-900) 70%);
}
.finale__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: var(--space-6); padding-top: var(--space-section); }
.finale__title { color: var(--paper-50); }
.finale__title em { color: var(--saffron-300); }
/* The sticker sits in the flow under the copy, so it can never ride up into the title */
.finale__house {
  position: relative;
  z-index: 1;
  order: 2;
  width: min(640px, 86vw);
  margin-top: clamp(4rem, 9vh, 7rem);
  margin-bottom: -3%;
  filter: drop-shadow(0 -20px 60px rgb(0 0 0 / .35));
}
.finale__inner { order: 1; }
.finale__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 94vw;
  translate: -50% -50%;
  opacity: .07;
}

.site-footer.inverse { background: var(--walnut-950); }

/* ---------- The 15% promise (homepage chapter vi) ---------- */
.give {
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 80% 50%, var(--chinar-100) 0%, transparent 70%),
    var(--paper-50);
}
.give__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}
.give__copy { max-width: 34rem; }
.give__figure,
.chapter-head p.give__figure {
  max-width: none;
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  font-size: clamp(6rem, 4rem + 9vw, 13rem);
  line-height: .82;
  color: var(--color-accent);
  letter-spacing: -.03em;
}
.give__figure span:last-child { font-size: .45em; margin-top: .12em; margin-left: .04em; font-style: italic; }
.give__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }

/* taller board so the stickers have room to breathe instead of stacking on each other */
.give__board { position: relative; width: 100%; max-width: 660px; aspect-ratio: 5 / 6; justify-self: center; }
.give__sticker { position: absolute; display: block; will-change: transform; }
.give__sticker img { width: 100%; filter: drop-shadow(0 14px 22px rgb(43 24 16 / .2)); }
.give__sticker--main  { left: 14%;  top: 25%;  width: 64%; }
.give__sticker--badge { right: -2%; top: 0;    width: 40%; }
.give__sticker--cap   { left: 2%;   top: 3%;   width: 22%; }
.give__sticker--girl  { left: -4%;  bottom: 3%; width: 38%; }
.give__sticker--walk  { right: -2%; bottom: 12%; width: 42%; }
.give__sticker--books { left: 40%;  bottom: -2%; width: 20%; }
@media (max-width: 900px) {
  .give__grid { grid-template-columns: 1fr; }
  .give__board { max-width: 480px; margin-top: var(--space-6); }
}

/* ---------- Sticker wall (education page) ---------- */
.share { overflow: clip; }
.sticker-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: var(--space-8);
}
.sticker-wall__item { display: grid; justify-items: center; gap: var(--space-3); cursor: default; }
.sticker-wall__item img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 14px 20px rgb(43 24 16 / .18)); }
.sticker-wall__item figcaption { opacity: .7; transition: opacity var(--dur-2); }
.sticker-wall__item:hover figcaption { opacity: 1; }

/* ---------- Education hero ---------- */
.edu-hero { background: radial-gradient(60% 50% at 78% 45%, var(--chinar-100) 0%, transparent 70%), var(--color-bg); }
.edu-hero .hero__scene { aspect-ratio: 1; }
.edu-hero__main { position: absolute; left: 4%; right: 4%; top: 24%; }
.edu-hero__main img { width: 100%; filter: drop-shadow(0 24px 36px rgb(43 24 16 / .22)); }
.edu-hero .hero__float--badge { right: -6%; top: 0;    width: 44%; }
.edu-hero .hero__float--cap   { left: -2%;  top: 4%;   width: 26%; }
.edu-hero .hero__float--board { left: -8%;  bottom: 0; width: 36%; }
.edu-hero .hero__float--books { right: 2%;  bottom: 2%; width: 30%; }
.edu-hero .hero__title { max-width: 11ch; }

/* ---------- Education: how it works (static steps, no pin) ---------- */
.edu-how {
  background: radial-gradient(ellipse 80% 70% at 50% 40%, #1c1714 0%, #0e0b0a 60%, #070606 100%);
  --color-ink-soft: color-mix(in srgb, var(--paper-50) 82%, transparent);
}
.edu-how em { color: var(--saffron-300); }
.edu-how__head { margin-bottom: var(--space-8); }
.edu-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  counter-reset: none;
}
.edu-step { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--space-4); min-width: 0; }
/* a fixed square box: the sticker is scaled down inside it, so it can never spill into the next step */
.edu-step__art { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; aspect-ratio: 1; min-width: 0; min-height: 0; width: 100%; max-width: 13rem; }
.edu-step__art img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; filter: drop-shadow(0 16px 26px rgb(0 0 0 / .45)); }
.edu-step__copy { display: grid; gap: var(--space-2); }
.edu-step__num { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--saffron-300); }
.edu-step__copy p { color: var(--color-ink-soft); }
.edu-how__cta { margin-top: var(--space-8); }
@media (max-width: 1100px) { .edu-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .edu-steps { grid-template-columns: 1fr; gap: var(--space-6); }
  .edu-step { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; gap: var(--space-5); }
}

/* ---------- Education: the road to school (plain grid, no pin) ---------- */
.edu-road { padding-block: var(--space-section); }
.edu-road__inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--space-8) var(--space-6);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.edu-road__head { grid-column: 1 / -1; }
.edu-road-wrap { background: var(--paper-100); }
/* the homepage map hides pano cards until it scrolls to them; here they are always shown */
.motion .edu-road .pano-card { grid-area: auto; opacity: 1; visibility: visible; }
.motion .edu-road .pano-card__art { max-height: none; justify-items: center; }
.motion .edu-road .pano-card__art img { object-position: center; }
.edu-road .pano-card { grid-template-columns: minmax(0, 1fr); }
.edu-road .pano-card__art { aspect-ratio: 4 / 3; min-width: 0; }
@media (max-width: 640px) {
  .edu-road .pano-card__art { aspect-ratio: 16 / 10; }
}

/* sticker wall: two across on phones */
@media (max-width: 640px) {
  .sticker-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__seal, .hero__marquee-track, .scroll-cue i { animation: none; }
  .saffron__img { transition: none; }
}

/* ---------- Hero: the clothes rail (24 Nov 2026) ----------
   A big centred line over a wooden rail; each shelf hangs on it as a garment
   sticker on a hanger, swaying gently, and links to its category page. */
.hero--rail {
  grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr);
  padding-top: clamp(92px, 12vh, 132px);
  background:
    radial-gradient(60% 45% at 50% 24%, var(--saffron-100) 0%, transparent 72%),
    linear-gradient(to bottom, transparent 64%, color-mix(in srgb, var(--paper-200) 55%, transparent) 64%, var(--paper-100) 100%),
    var(--color-bg);
}
.rail-hero__ghost {
  position: absolute; left: 50%; top: 58%; translate: -50% -50%; z-index: 0; margin: 0;
  font: italic 400 clamp(7rem, 23vw, 21rem)/.8 var(--font-display); letter-spacing: -.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.2px color-mix(in srgb, var(--chinar-600) 30%, transparent);
  pointer-events: none; user-select: none;
}
/* hero copy (24 Nov 2026): editorial split — the claim big on the left, the detail and buttons on the right */
.rail-hero__copy {
  position: relative; z-index: 1; display: grid; text-align: left;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "word word" "title side";
  align-items: end; gap: var(--space-5) clamp(2rem, 5vw, 6rem);
}
.rail-hero__kicker {
  grid-area: kicker; justify-self: start; margin: 0; display: inline-flex; align-items: center; gap: .7rem;
  padding: .35rem .9rem .35rem .35rem; border-radius: var(--radius-pill);
  background: var(--paper-0); border: 1px solid var(--color-line);
  font: 500 var(--fs-micro)/1 var(--font-sans); letter-spacing: var(--tracking-mid); text-transform: uppercase; color: var(--color-ink-soft);
  white-space: nowrap;
}
.rail-hero__new { padding: .35rem .6rem; border-radius: var(--radius-pill); background: var(--chinar-600); color: var(--paper-50); letter-spacing: .1em; }
.rail-hero__title {
  grid-area: title; margin: 0; max-width: 14ch;
  font: 300 clamp(2.7rem, 1.4rem + 4.6vw, 6.6rem)/.98 var(--font-display); letter-spacing: -.02em; color: var(--color-ink);
}
.rail-hero__title .hero__remember { display: inline; color: var(--color-accent); }
/* the reveal mask (overflow: hidden on each word) must not shave the italic overhang, e.g. the "?" */
.rail-hero__title .split-word { padding: .06em .14em .1em 0; margin: -.06em -.14em -.1em 0; }
/* the red/saffron fill is painted only inside each word's own box, so widen it too, or the "?" loses its edge */
.rail-hero__title .hero__remember .split-word > span { padding: .06em .14em .1em 0; margin: -.06em -.14em -.1em 0; }
.rail-hero__title .hero__stitch { display: none; }    /* the stitch needs a one-line word; this phrase wraps */
/* "Shawlwear" in outlined italic, the brand word, set at the top of the hero (was a faint ghost behind the rail) */
.rail-hero__word {
  grid-area: word; margin: 0 0 clamp(.75rem, 2vw, 1.75rem); justify-self: start; padding-top: .08em;
  font: italic 400 clamp(4.2rem, 1.5rem + 10vw, 11.5rem)/.8 var(--font-display); letter-spacing: -.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.4px color-mix(in srgb, var(--chinar-600) 75%, transparent);
  background: linear-gradient(100deg, transparent 40%, color-mix(in srgb, var(--saffron-300) 60%, transparent) 50%, transparent 60%) 120% 0 / 250% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: background-position 1.4s var(--ease-out);
  user-select: none;
}
.rail-hero__word:hover { background-position: -20% 0; }   /* a light sweeps through the letters */
.rail-hero__side { grid-area: side; display: grid; gap: var(--space-5); padding-bottom: .6rem; }
.rail-hero__lede { margin: 0; max-width: 34ch; font-size: var(--fs-lede); line-height: 1.55; color: var(--color-ink-soft); }
.rail-hero__actions { margin: 0; }
.rail-hero__lede strong { font-weight: 500; color: var(--color-ink); }
@media (max-width: 900px) {
  .rail-hero__copy { grid-template-columns: minmax(0, 1fr); grid-template-areas: "word" "title" "side"; gap: var(--space-4); }
  .rail-hero__side { padding-bottom: 0; }
}

.rail { position: relative; z-index: 1; align-self: end; margin-top: var(--space-6); min-width: 0; }
.rail__rod {
  position: absolute; left: max(2%, calc(50% - 640px)); right: max(2%, calc(50% - 640px)); top: 3px; z-index: 0; height: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(to bottom, #8a5a3a 0%, var(--walnut-700) 45%, var(--walnut-900) 100%);
  box-shadow: 0 6px 10px rgb(43 24 16 / .28), inset 0 1px 0 rgb(255 255 255 / .25);
  transform-origin: 50% 50%;
}
.rail__rod::before, .rail__rod::after {      /* wall brackets */
  content: ""; position: absolute; top: -8px; width: 10px; height: 28px; border-radius: 3px;
  background: var(--walnut-900); box-shadow: 0 4px 8px rgb(43 24 16 / .3);
}
.rail__rod::before { left: 14px; } .rail__rod::after { right: 14px; }
.rail__items {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter);
  max-width: 1280px; position: relative; z-index: 1;   /* the hooks pass in front of the rod */
  display: flex; justify-content: center; align-items: flex-start; gap: clamp(.25rem, 1.6vw, 1.75rem);
}
.rail__item { flex: 0 1 clamp(108px, 12vw, 168px); min-width: 0; }
.rail__item a { display: block; color: var(--color-ink); text-decoration: none; outline-offset: 6px; border-radius: var(--radius-md); }
.rail__swing {
  display: grid; justify-items: center;
  transform-origin: 50% 8px;                 /* swings from the hook, which sits on the rod's centre line (8px) */
  animation: rail-sway var(--sway, 4s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes rail-sway { from { rotate: -2.4deg; } to { rotate: 2.4deg; } }
/* Hook only: 32px = 0.8 of the 40-unit drawing, so the hook's centre (y 10) lands 8px down, on the rod.
   Its neck runs down into the collar and disappears behind the garment (no bar showing above the shoulders). */
.rail__hanger {
  display: block; width: 32px; height: auto; overflow: visible; margin-bottom: 0;
  fill: none; stroke: #6b4a33; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round;
  position: relative; z-index: 0;
}
/* the kurta sticker has its own hook drawn in (centre at 4.7% of its height): lift it onto the rod */
.rail__item--own-hook img { translate: 0 calc(8px - 4.7%); }
/* Layering, front to back: hook front > rod > hook back, and garment front > neck > garment back.
   The hanger sits above the picture; a slice of rod (.rail__rodbit) covers the back of the hook,
   and the neck stops at the collar's front edge (--collar, % of the picture's height), so it looks tucked in. */
.rail__hanger { z-index: 2; }
.rail__rodbit { stroke: none; y: 3.75px; height: 12.5px; }
.rail__fig { position: relative; z-index: 1; display: block; transition: transform .5s var(--ease-spring); }
.rail__neck {
  position: absolute; left: 50%; top: -1px; z-index: 2; width: 3.6px; height: calc(var(--collar, 3%) + 1px); translate: -50% 0;
  background: #6b4a33; pointer-events: none;
}
/* the couple hoodies' tallest hood sits right of centre: move it under the hook */
.rail__item--offset img { translate: -10% 0; }
.rail__item img {
  position: relative; z-index: 1;            /* the garment hangs over the hanger's bar */
  display: block; width: auto; max-width: 100%; height: auto; max-height: clamp(140px, 16vw, 220px);
  filter: drop-shadow(0 16px 18px rgb(43 24 16 / .22));
  transition: transform .5s var(--ease-spring), filter .5s var(--ease-out);
}
.rail__item--long img { max-height: clamp(165px, 19vw, 260px); }
.rail__tag {
  margin-top: -.4rem; padding: .38rem .75rem; rotate: -3deg;
  background: var(--paper-0); border: 1px solid var(--color-line); border-radius: 4px;
  box-shadow: 0 4px 10px rgb(43 24 16 / .12);
  font: 500 .64rem/1.2 var(--font-sans); letter-spacing: var(--tracking-mid); text-transform: uppercase; white-space: nowrap;
  transition: background var(--dur-2), color var(--dur-2), rotate .4s var(--ease-spring);
}
.rail__item a:hover img, .rail__item a:focus-visible img { filter: drop-shadow(0 24px 22px rgb(43 24 16 / .28)); }
.rail__item a:hover .rail__fig, .rail__item a:focus-visible .rail__fig { transform: translateY(3px); }   /* tugs down on the hook, not off it */
.rail__item a:hover .rail__tag, .rail__item a:focus-visible .rail__tag { background: var(--color-accent); color: var(--paper-50); border-color: transparent; rotate: 3deg; }

.rail-hero__facts {
  position: relative; z-index: 1; list-style: none; margin: 0 auto; padding-block: var(--space-5) var(--space-6);
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6);
  font-size: var(--fs-micro); letter-spacing: var(--tracking-mid); text-transform: uppercase; color: var(--color-ink-soft);
}
.rail-hero__facts li { display: inline-flex; align-items: center; gap: .6em; }
.rail-hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron-500); }
.rail-hero__facts a { color: inherit; text-decoration: underline; text-decoration-color: var(--saffron-500); text-underline-offset: .3em; }

@media (max-width: 900px) {
  .hero--rail { min-height: auto; padding-top: 96px; }
  .rail-hero__ghost { top: 66%; font-size: 36vw; }
  .rail { margin-top: var(--space-7); }
  .rail__rod { display: none; }               /* the list draws its own rod, so it scrolls with the clothes */
  .rail__items {
    justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scrollbar-width: none; scroll-padding-inline: var(--gutter);
    padding-bottom: var(--space-3);
    background:
      linear-gradient(to bottom, #8a5a3a, var(--walnut-700) 45%, var(--walnut-900)) 0 2px / 100% 10px no-repeat local;
  }
  .rail__items::-webkit-scrollbar { display: none; }
  .rail__item { flex: 0 0 124px; scroll-snap-align: start; }
  .rail__hanger { width: 28px; margin-bottom: 0; }    /* 0.7 scale: hook centre 7px, on the 2-12px rod */
  .rail__rodbit { y: 2.86px; height: 14.28px; }
  .rail__neck { width: 3.15px; }
  .rail__item--own-hook img { translate: 0 calc(7px - 4.7%); }
  .rail__swing { transform-origin: 50% 7px; }
  .rail__item img { max-height: 150px; }
  .rail__item--long img { max-height: 172px; }
  .rail-hero__facts { gap: var(--space-2) var(--space-4); padding-block: var(--space-4) var(--space-5); }
}
@media (prefers-reduced-motion: reduce) { .rail__swing { animation: none; } }

/* Seasons, open panel (desktop): place sticker top-left, the outfit large in the
   centre-right, the words bottom-left, so no corner is left empty (24 Nov 2026) */
@media (min-width: 861px) {
  .season.is-open .season__place { left: 7%; translate: 0 0; top: 7%; width: min(30%, 190px); }
  .season.is-open .season__wear--a { right: 30%; bottom: auto; top: 20%; width: min(34%, 230px); }
  .season.is-open .season__wear--b { right: 4%; bottom: auto; top: 32%; width: min(31%, 210px); }
  .season.is-open .season__body { width: min(60%, 28rem); }
  .season__name { font-size: clamp(3rem, 2rem + 2.8vw, 5rem); }
}

/* ---------- New in (24 Nov 2026): real pieces straight after the hero ---------- */
.newin { padding-block: var(--space-8) var(--space-9); }
.newin__head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.newin__head .t-h2 { margin: var(--space-2) 0 0; }
.newin__head .eyebrow, .newin__head .link-arrow { white-space: nowrap; }
.newin__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
.new-card { display: grid; gap: var(--space-2); min-width: 0; color: var(--color-ink); text-decoration: none; }
.new-card__art {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; min-width: 0; overflow: hidden;
  border-radius: var(--radius-lg, 18px); background: var(--paper-100); padding: 12%;
}
.new-card:nth-child(3n+2) .new-card__art { background: var(--chinar-100); }
.new-card__art img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease-out), opacity .4s; }
.new-card__art--photo { padding: 0; background: var(--paper-200); }
.new-card__art--photo img { object-fit: cover; }
.new-card__alt { position: absolute; inset: 0; opacity: 0; }
.new-card:hover .new-card__art img { transform: scale(1.04); }
.new-card:hover .new-card__alt { opacity: 1; }
.new-card__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.new-card:hover .new-card__name { color: var(--color-accent); }
.new-card__meta { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--fs-small); color: var(--color-ink-soft); }
.new-card__sizes { color: var(--color-ink-mute); font-size: var(--fs-micro); letter-spacing: var(--tracking-mid); }
.newin__empty {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-6);
  padding: var(--space-6) var(--space-7); border-radius: var(--radius-lg, 18px); background: var(--paper-100);
}
.newin__empty[hidden], .newin__grid[hidden] { display: none; }
.newin__empty img { width: clamp(80px, 9vw, 120px); height: auto; }
.newin__empty .t-h3 { margin: 0 0 var(--space-2); }
.newin__empty p { margin: 0; color: var(--color-ink-soft); max-width: 52ch; }
.newin__empty-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4) !important; }
@media (max-width: 900px) {
  .newin__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .newin__grid {                       /* phones: swipe through the pieces */
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .newin__grid::-webkit-scrollbar { display: none; }
  .new-card { scroll-snap-align: start; }
  .newin__empty { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: var(--space-5); }
}
