/* ==========================================================================
   Santulan Senses — landing page
   Tokens come straight from the Panchendriya packaging system.
   ========================================================================== */

:root {
  /* Neutrals */
  --ground: #F6F1E8;      /* page */
  --ground-2: #efe5d6;    /* tone step */
  --ground-3: #dccdb8;
  --stone: #bdaf9e;
  --earth: #5a4338;       /* secondary text */
  --ink: #2f2a28;         /* running text */

  /* Brand */
  --olive: #5e5502;       /* Santulan brand olive — the action colour */
  --olive-deep: #464002;

  /* The five senses */
  --sight: #bc7415;       /* Drishti — warm ochre gold   — Sunayan */
  --smell: #917d09;       /* Gandh   — botanical olive   — Nasyasan Ghruta */
  --touch: #dd5e5e;       /* Sparsh  — dusty coral       — Brahmaleen Oil */
  --taste: #b21d2f;       /* Rasa    — muted crimson     — Sumukh */
  --hearing: #6b0c0c;     /* Shravan — deep burgundy     — Shruti */

  /* Type */
  --serif: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --deva: "Noto Serif Devanagari", "Kohinoor Devanagari", serif;

  --step-body: clamp(1rem, 0.94rem + 0.25vw, 1.125rem);       /* 16 → 18 */
  --step-lead: clamp(1.375rem, 1.15rem + 0.9vw, 2.25rem);      /* 22 → 36 */
  --step-tag: clamp(1.75rem, 1.2rem + 1.9vw, 3rem);           /* 28 → 48 */
  --step-display: clamp(1.75rem, 0.9rem + 4.2vw, 4.75rem);    /* 28 → 76 */

  /* Frame */
  --margin: clamp(20px, 3.2vw, 48px);
  --bar-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 900ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--olive); color: var(--ground); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: var(--margin); top: -60px; z-index: 10;
  background: var(--ink); color: var(--ground); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px;
  background: var(--olive); color: var(--ground);
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color 220ms ease, transform 160ms var(--ease-out);
}
.btn:hover { background: var(--olive-deep); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }

/* ---------- Bar ---------- */
.bar {
  height: var(--bar-h);
  display: flex; align-items: center; gap: 40px;
  padding: 0 var(--margin);
  background: var(--ground);
}
.bar__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.bar__brand img { height: 38px; width: auto; }
.bar__brand span { font-family: var(--serif); font-size: 1.3125rem; font-weight: 500; letter-spacing: -0.005em; color: var(--ink); }
.bar__nav { display: flex; gap: 32px; margin-left: auto; }
.bar__nav a {
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--ink);
  text-decoration: underline 1.5px transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color 220ms ease, color 220ms ease;
}
.bar__nav a:hover, .bar__nav a:focus-visible { text-decoration-color: var(--olive); color: var(--olive); }

/* ==========================================================================
   SECTION 01 — HERO
   Desktop: copy left (5/12), kit photograph bleeding to the right edge (7/12),
   the five gateways as a full-width band at the foot of the first screen.
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: calc(100svh - var(--bar-h));
}

.hero__copy {
  grid-column: 1; grid-row: 1;
  align-self: center;
  padding: clamp(16px, 2vh, 40px) clamp(24px, 3.5vw, 64px) clamp(20px, 3vh, 48px) var(--margin);
}

.hero__logo { margin: 0; }
.hero__logo img { width: clamp(240px, min(24vw, 40vh), 440px); }

.hero__tagline {
  margin-top: clamp(16px, 2.6vh, 28px);
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--step-tag);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--olive);
}
.hero__tagline span { display: block; }

.hero__lineage {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--earth);
}

.hero__body {
  margin-top: clamp(20px, 3vh, 32px);
  max-width: 48ch;
  display: grid; gap: 12px;
}

.hero__action { margin-top: clamp(24px, 3.4vh, 36px); }

.hero__media {
  grid-column: 2; grid-row: 1;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--ground-3);
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transform-origin: 55% 50%;
  will-change: transform;
}

/* ---------- The five gateways ---------- */
.gateways {
  grid-column: 1 / -1; grid-row: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: var(--ground-2);
  padding: 0 var(--margin);
}
.gateway {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
}
.gateway__mark {
  flex: none;
  width: 46px; height: 46px;
  background-color: var(--c);
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
  transition: transform 500ms var(--ease-out);
}
.gateway:hover .gateway__mark { transform: translateY(-3px) scale(1.08); }
.gateway__text { display: flex; flex-direction: column; line-height: 1.15; }
.gateway__en { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; color: var(--ink); }
.gateway__hi { font-family: var(--deva); font-size: 0.9375rem; color: var(--earth); margin-top: 2px; }

.gateway--sight   { --c: var(--sight);   --m: url("../assets/senses/sight.png"); }
.gateway--smell   { --c: var(--smell);   --m: url("../assets/senses/smell.png"); }
.gateway--touch   { --c: var(--touch);   --m: url("../assets/senses/touch.png"); }
.gateway--taste   { --c: var(--taste);   --m: url("../assets/senses/taste.png"); }
.gateway--hearing { --c: var(--hearing); --m: url("../assets/senses/hearing.png"); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .bar__nav { gap: 24px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gateway { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- Phone: its own composition ----------
   Name and promise first, then the kit, then the story and the action. */
@media (max-width: 860px) {
  :root { --bar-h: 64px; }
  .bar__nav { display: none; }
  .bar { justify-content: space-between; }
  .bar__brand img { height: 32px; }
  .bar__brand span { font-size: 1.125rem; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 0;
  }
  .hero__copy { display: contents; }
  .hero__logo, .hero__tagline, .hero__lineage, .hero__body, .hero__action {
    padding-left: var(--margin); padding-right: var(--margin);
  }
  .hero__logo { order: 1; padding-top: 20px; }
  .hero__logo img { width: min(78vw, 400px); }
  .hero__tagline { order: 2; margin-top: 18px; }
  .hero__lineage { order: 3; }
  .hero__media {
    order: 4; grid-column: 1; grid-row: auto;
    margin-top: 28px;
    aspect-ratio: 4 / 3;
  }
  .hero__body { order: 5; margin-top: 28px; max-width: none; }
  .hero__action { order: 6; margin-top: 28px; padding-bottom: 40px; }
  .hero__action .btn { width: 100%; }

  .gateways { order: 7; grid-column: 1; grid-row: auto; gap: 8px; padding: 0 calc(var(--margin) - 4px); }
  .gateway { align-items: center; text-align: center; gap: 10px; padding: 20px 0 18px; }
  .gateway__mark { width: 36px; height: 36px; }
  .gateway__text { align-items: center; }
  .gateway__en { font-size: 1.0625rem; }
  .gateway__hi { font-size: 0.8125rem; }
}

/* ==========================================================================
   Motion — enabled only when JS runs; content is visible without it.
   ========================================================================== */
.js .reveal,
.js .gateway {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms + 120ms);
}
.js .is-in .reveal,
.js .is-in .gateway,
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero__img { transform: scale(1.12); transition: transform 2400ms var(--ease-out); }
.js .is-in .hero__img { transform: scale(1.04) translateY(var(--parallax, 0px)); }
.js .is-in .hero__img.is-settled { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .gateway { transform: none; transition: opacity 400ms linear; transition-delay: 0ms; }
  .js .hero__img, .js .is-in .hero__img { transform: none; transition: none; }
  .gateway:hover .gateway__mark { transform: none; }
}

/* ==========================================================================
   SECTION 02 — THE EMOTIONAL HOOK
   A dark field after the bright hero: the question, four everyday moments
   held on screen while the page scrolls, then the light returns with the answer.
   ========================================================================== */
.hook { background: var(--ink); color: var(--ground); }

/* A. The question */
.hook__intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 5vw, 96px);
  row-gap: clamp(40px, 6vh, 72px);
  padding: clamp(96px, 14vh, 180px) var(--margin) clamp(80px, 12vh, 160px);
}
.hook__title { grid-column: 1 / -1; }
.hook__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--step-display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.hook__lede {
  grid-column: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px);
  color: #e9dfd0;
}

/* B. The four moments: photograph left, the line on the dark field right.
   Default (no script / reduced motion): the four frames simply stack. */
.moments__list { display: grid; }
.moment {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: 82svh;
}
.moment__media { margin: 0; position: relative; overflow: hidden; background: #3a3431; }
.moment__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.9);
}
.moment__line {
  align-self: center;
  display: grid; gap: 14px;
  padding: 48px var(--margin) 48px clamp(32px, 5vw, 88px);
}
.moment__mark {
  width: 56px; height: 56px; margin-bottom: 14px;
  background-color: var(--c);
  -webkit-mask: var(--m) left center / contain no-repeat;
          mask: var(--m) left center / contain no-repeat;
}
.moment.gateway--hearing .moment__mark { background-color: #b9505a; } /* burgundy lifted for the dark field */
.moment.gateway--taste .moment__mark { background-color: #d23a4b; }
.moment__a {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem);
  line-height: 1; letter-spacing: -0.03em;
}
.moment__b {
  font-family: var(--serif);
  font-size: var(--step-lead);
  line-height: 1.22; max-width: 22ch;
  color: #e9dfd0;
}
.moments__progress { display: none; }

/* Pinned version: only with script and full motion */
.can-pin .moments { height: calc(4 * 95svh + 100svh); }
.can-pin .moments__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.can-pin .moments__list { position: absolute; inset: 0; display: block; }
.can-pin .moment {
  position: absolute; inset: 0; min-height: 0;
  opacity: 0; visibility: hidden; z-index: 0;
  transition: opacity 800ms var(--ease-out), visibility 0s linear 800ms;
}
.can-pin .moment.is-active {
  opacity: 1; visibility: visible; z-index: 1;
  transition: opacity 800ms var(--ease-out), visibility 0s linear 0s;
}
.can-pin .moment__media img { transform: scale(var(--zoom, 1.12)); will-change: transform; }
.can-pin .moment__mark,
.can-pin .moment__a,
.can-pin .moment__b {
  opacity: 0; transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out);
}
.can-pin .moment.is-a .moment__mark { opacity: 1; transform: none; }
.can-pin .moment.is-a .moment__a { opacity: 1; transform: none; transition-delay: 90ms; }
.can-pin .moment.is-b .moment__b { opacity: 1; transform: none; }

.can-pin .moments__progress {
  position: absolute; z-index: 2;
  left: calc(58.333% + clamp(32px, 5vw, 88px)); bottom: clamp(40px, 8vh, 96px);
  display: flex; gap: 10px;
}
.moments__progress span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ground); opacity: 0.3;
  transition: opacity 400ms ease, transform 400ms var(--ease-out);
}
.moments__progress span.is-on { opacity: 1; transform: scale(1.3); }

/* C. The answer — light returns */
.hook__close {
  background: var(--ground);
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  padding: clamp(96px, 14vh, 180px) var(--margin);
}
.hook__close-media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ground-3); }
.hook__close-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hook__close-title {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: var(--step-tag);
  line-height: 1.06; letter-spacing: -0.02em;
}
.hook__moments {
  margin-top: clamp(32px, 5vh, 56px);
  display: grid; gap: 10px;
  font-family: var(--serif);
  font-size: var(--step-lead);
  line-height: 1.2;
  color: var(--olive);
}

/* ---------- Credits (temporary footer) ---------- */
.credits { padding: 40px var(--margin) 48px; background: var(--ground-2); color: var(--earth); font-size: 0.8125rem; line-height: 1.5; }
.credits p { max-width: 64ch; }

@media (max-width: 860px) {
  .hook__intro { grid-template-columns: minmax(0, 1fr); row-gap: 28px; padding-top: 88px; padding-bottom: 72px; }
  .hook__lede { grid-column: 1; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .moment { grid-template-columns: minmax(0, 1fr); grid-template-rows: 52svh auto; min-height: 0; }
  .can-pin .moment { grid-template-rows: 58% 42%; }
  .moment__line { align-self: start; padding: 32px var(--margin) 40px; gap: 10px; }
  .moment__mark { width: 40px; height: 40px; margin-bottom: 4px; }
  .can-pin .moments__progress { left: var(--margin); bottom: 28px; }
  .hook__close { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 72px; padding-bottom: 88px; }
  .hook__close-media { aspect-ratio: 4 / 3; }
}

/* Hero gateways link into Section 03 */
.gateway__link { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.gateway__link:hover .gateway__en { color: var(--olive); }
@media (max-width: 1100px) { .gateway__link { flex-direction: column; align-items: flex-start; gap: 12px; } }
@media (max-width: 860px)  { .gateway__link { align-items: center; text-align: center; gap: 10px; } }

/* ==========================================================================
   SECTION 03 — UNDERSTANDING THE FIVE SENSES
   One explorer: the five gateways listed on the left; the chosen one fills
   the right with its own colour field. Without script every panel shows.
   ========================================================================== */
.senses { --g: clamp(32px, 5vw, 96px); padding: clamp(112px, 16vh, 200px) var(--margin) clamp(112px, 16vh, 200px); }

.senses__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 5vw, 96px);
  row-gap: 28px;
  align-items: end;
  margin-bottom: clamp(56px, 8vh, 96px);
}
.senses__title {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: var(--step-display);
  line-height: 1.02; letter-spacing: -0.025em;
  max-width: 20ch;
}
.senses__intro { grid-column: 2; max-width: 52ch; font-size: var(--step-body); }

.senses__explorer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

/* The list of gateways (tabs) — hidden without script, where all panels show */
.senses__tabs { display: none; }
.js .senses__tabs { display: grid; gap: 4px; }
.sense-tab {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center; gap: 20px;
  width: 100%;
  padding: 18px 20px;
  background: transparent; border: 0; border-radius: 0;
  color: var(--earth); text-align: left; cursor: pointer;
  font: inherit;
  transition: background-color 300ms ease, color 300ms ease, padding 400ms var(--ease-out);
}
.sense-tab__mark {
  width: 44px; height: 44px;
  background-color: var(--stone);
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
  transition: background-color 300ms ease, transform 500ms var(--ease-out);
}
.sense-tab__name { font-family: var(--serif); font-weight: 500; font-size: var(--step-tag); line-height: 1.05; letter-spacing: -0.02em; }
.sense-tab__hi { font-family: var(--deva); font-size: 0.9375rem; color: var(--earth); }
.sense-tab:hover { color: var(--ink); }
.sense-tab:hover .sense-tab__mark { background-color: var(--c); }
.sense-tab[aria-selected="true"] { background: var(--ground-2); color: var(--ink); padding-left: 28px; }
.sense-tab[aria-selected="true"] .sense-tab__mark { background-color: var(--c); transform: scale(1.08); }

/* Panels */
.senses__panels { display: grid; gap: 56px; }
.js .senses__panels { display: block; }
.sense-panel[hidden] { display: none; }
.sense-panel__field {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--c);
  overflow: hidden;
  display: grid; align-content: end;
  padding: clamp(24px, 3vw, 48px);
}
.sense-panel__mark {
  position: absolute;
  right: 6%; top: 50%;
  width: 46%; aspect-ratio: 1;
  transform: translateY(-50%);
  background-color: var(--ground);
  opacity: 0.92;
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}
.sense-panel__title {
  position: relative;
  margin: 0;
  display: grid; gap: 4px;
  font-family: var(--serif); font-weight: 500;
  font-size: var(--step-tag);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ground);
  max-width: 52%;
  text-wrap: balance;
}
.sense-panel__name {
  position: relative;
  margin-bottom: 8px;
  font-family: var(--sans); font-weight: 600;
  font-size: 1rem; letter-spacing: 0.01em;
  color: var(--ground);
}
.sense-panel__text {
  margin-top: 24px;
  max-width: 46ch;
  font-family: var(--serif);
  font-size: var(--step-lead);
  line-height: 1.3;
}

/* Changing gateway: the new field rises in, its mark settles */
.js .sense-panel.is-entering .sense-panel__field { animation: field-in 700ms var(--ease-out) both; }
.js .sense-panel.is-entering .sense-panel__mark { animation: mark-in 900ms var(--ease-out) both; }
.js .sense-panel.is-entering .sense-panel__name,
.js .sense-panel.is-entering .sense-panel__title,
.js .sense-panel.is-entering .sense-panel__text { animation: text-in 700ms var(--ease-out) 120ms both; }
@keyframes field-in { from { opacity: 0.4; } to { opacity: 1; } }
@keyframes mark-in { from { opacity: 0; transform: translateY(-50%) scale(0.86) rotate(-6deg); } to { opacity: 0.92; transform: translateY(-50%) scale(1) rotate(0); } }
@keyframes text-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.senses__close {
  margin: clamp(72px, 10vh, 120px) 0 0 calc((100% - var(--g)) * 5 / 12 + var(--g));
  max-width: 34ch;
  font-family: var(--serif);
  font-size: var(--step-lead);
  line-height: 1.3;
  color: var(--olive);
}

@media (max-width: 860px) {
  .senses { padding-top: 88px; padding-bottom: 96px; }
  .senses__head { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; }
  .senses__intro { grid-column: 1; }
  .senses__explorer { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .js .senses__tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .sense-tab { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px; padding: 14px 2px 12px; text-align: center; }
  .sense-tab[aria-selected="true"] { padding-left: 2px; }
  .sense-tab__mark { width: 34px; height: 34px; }
  .sense-tab__name { font-size: 1rem; letter-spacing: 0; }
  .sense-tab__hi { font-size: 0.75rem; }
  .sense-panel__field { aspect-ratio: 4 / 3.4; }
  .sense-panel__mark { width: 52%; top: 40%; }
  .senses__close { margin-left: 0; margin-top: 56px; }
  .sense-panel__title { max-width: 60%; }
}

@media (prefers-reduced-motion: reduce) {
  .js .sense-panel.is-entering * , .js .sense-panel.is-entering .sense-panel__field { animation: none !important; }
}

/* ==========================================================================
   SECTION 04 — THE PHILOSOPHY BEHIND THE KIT
   Quiet and editorial: paper tone, the statement stepping inward in three
   beats (senses → mind → self), the reasoning beside the Karla stupa.
   ========================================================================== */
.thought {
  --g: clamp(32px, 5vw, 96px);
  background: var(--ground-2);
  padding: clamp(120px, 17vh, 220px) 0 0;
}
.thought__title {
  margin: 0 var(--margin) clamp(80px, 12vh, 160px);
  font-family: var(--serif); font-weight: 400;
  font-size: var(--step-display);
  line-height: 1.04; letter-spacing: -0.03em;
  display: grid;
}
.thought__beat { display: block; }
.thought__beat:nth-child(2) { padding-left: 16.66%; }
.thought__beat:nth-child(3) { padding-left: 33.33%; color: var(--olive); }

.thought__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--g);
  align-items: start;
  padding: 0 var(--margin);
}
.thought__figure { margin: 0; position: sticky; top: 32px; }
.thought__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 50%; }
.thought__figure figcaption { margin-top: 14px; font-size: 0.9375rem; color: var(--earth); max-width: 44ch; }

.thought__text { display: grid; gap: clamp(36px, 5vh, 56px); max-width: 48rem; padding-top: 8px; }
.thought__lead { font-family: var(--serif); font-size: var(--step-lead); line-height: 1.3; }
.thought__chain { margin: 0; display: grid; gap: 22px; }
.thought__chain div {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr);
  align-items: baseline; gap: 24px;
  padding: 22px 0 22px 24px;
  background: var(--ground);
}
.thought__chain dt { font-family: var(--deva); font-size: 1.75rem; line-height: 1.2; color: var(--olive); }
.thought__chain dd { margin: 0; font-size: var(--step-body); }
.thought__turn { font-family: var(--serif); font-size: var(--step-lead); line-height: 1.3; color: var(--olive); }
.thought__lineage { max-width: 52ch; }

.thought__band { margin: clamp(120px, 16vh, 200px) 0 0; height: min(78svh, 720px); overflow: hidden; }
.thought__band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(var(--band-zoom, 1.06)); will-change: transform; }
.thought__close {
  margin: 0 0 0 calc(var(--margin) + (100% - 2 * var(--margin) - var(--g)) * 5 / 12 + var(--g));
  padding: clamp(56px, 8vh, 96px) var(--margin) clamp(120px, 16vh, 200px) 0;
  max-width: 34ch;
  font-family: var(--serif); font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); line-height: 1.25;
}

/* The beats arrive one after another */
.js .thought__beat.reveal { transition-delay: 0ms; }
.js .thought__beat.reveal:nth-child(2) { transition-delay: 160ms; }
.js .thought__beat.reveal:nth-child(3) { transition-delay: 320ms; }

@media (max-width: 860px) {
  .thought { padding-top: 96px; }
  .thought__title { margin-bottom: 56px; font-size: clamp(1.5rem, 6.9vw, 3.25rem); }
  .thought__beat:nth-child(2) { padding-left: 5%; }
  .thought__beat:nth-child(3) { padding-left: 10%; }
  .thought__body { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .thought__figure { position: static; }
  .thought__figure img { aspect-ratio: 4 / 3.4; }
  .thought__chain div { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 16px; padding: 18px 0 18px 18px; }
  .thought__chain dt { font-size: 1.375rem; }
  .thought__band { margin-top: 88px; height: 56svh; }
  .thought__close { margin-left: var(--margin); padding-top: 40px; padding-bottom: 96px; }
}

/* ==========================================================================
   SECTION 05 — INTRODUCING SANTULAN SENSES
   The kit's own olive field. Five mono-cartons (after the deck's Layout
   Exploration 01) rise onto a ledge, each with its preparation in front.
   Cartons and vessels are drawn in code: stand-ins for product photography.
   ========================================================================== */
.kit {
  --g: clamp(32px, 5vw, 96px);
  background: var(--olive);
  color: var(--ground);
  padding: clamp(120px, 17vh, 220px) var(--margin) clamp(120px, 17vh, 200px);
}
.kit__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: var(--g); row-gap: 32px;
  align-items: end;
  margin-bottom: clamp(72px, 11vh, 140px);
}
.kit__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: var(--step-display); line-height: 1.02; letter-spacing: -0.025em; }
.kit__sub { margin-top: 18px; font-family: var(--serif); font-size: var(--step-lead); line-height: 1.25; color: #e8e39a; max-width: 24ch; }
.kit__intro { display: grid; gap: 16px; max-width: 46ch; }

/* The shelf */
.shelf { --pad: clamp(8px, 1.4vw, 24px); --ledge: 26px; }
.shelf__label { font-family: var(--serif); font-size: var(--step-lead); margin-bottom: clamp(24px, 4vh, 40px); }
.shelf__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.product { padding: 0 var(--pad); }
.product__caption { margin-top: calc(var(--ledge) + 18px); display: grid; gap: 2px; }
.product__name { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.15; }
.product__care { font-size: 0.9375rem; color: #e9dfd0; }

/* Carton: front face plus a darker side face for depth */
.carton {
  container-type: inline-size;
  position: absolute; left: 0; bottom: 0;
  width: 70%; aspect-ratio: 0.6;
  background: var(--c);
  color: #fbeedd;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 7% 4% 6%;   /* % of the stage width; children size in cqw of the carton */
  transform-origin: 50% 100%;
  transition: transform 700ms var(--ease-out), opacity 800ms var(--ease-out);
}
.carton::after {
  content: ""; position: absolute; top: 0; right: -9cqw; width: 9cqw; height: 100%;
  background: var(--c); filter: brightness(0.72);
  transform: skewY(-24deg); transform-origin: 0 0;
}
.carton::before {
  content: ""; position: absolute; left: 0; right: 0; top: -4cqw; height: 4cqw;
  background: var(--c); filter: brightness(1.12);
  transform: skewX(-66deg); transform-origin: 0 100%;
}
.carton__brand { font-family: var(--serif); font-size: 7.5cqw; line-height: 1; opacity: 0.92; }
.carton__mark {
  width: 46cqw; aspect-ratio: 1; margin: auto 0 9cqw;
  background-color: #fbeedd;
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}
.carton__name { font-family: var(--serif); font-weight: 500; font-size: 10.5cqw; line-height: 1.02; letter-spacing: 0.04em; text-transform: uppercase; }
.carton__care { font-size: 7cqw; margin-top: 2cqw; }
.carton__size { font-size: 6cqw; margin-top: 7cqw; }

/* Vessels: amber glass, cream label with the sense mark */
.vessel {
  container-type: inline-size;
  position: absolute; right: 0; bottom: 0;
  width: 32%;
  display: flex; flex-direction: column; align-items: center;
  transition: transform 700ms var(--ease-out), opacity 800ms var(--ease-out);
}
.vessel__cap { display: block; width: 36%; aspect-ratio: 1 / 1.25; background: #f4ece0; border-radius: 50% 50% 18% 18%; }
.vessel__collar { display: block; width: 58%; aspect-ratio: 1 / 0.42; background: #c09163; border-radius: 6% 6% 0 0; }
.vessel__body {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 1 / 1.32;
  background: #6f3812;
  border-radius: 18% 18% 9% 9% / 12% 12% 6% 6%;
}
.vessel__label {
  width: 78%; height: 60%;
  background: #f6efe3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5cqw;
}
.vessel__mark {
  width: 34cqw; aspect-ratio: 1;
  background-color: var(--c);
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}
.vessel__name { font-family: var(--serif); font-weight: 500; font-size: 9.5cqw; letter-spacing: 0.03em; text-transform: uppercase; color: var(--c); line-height: 1; }
/* Ghruta: a squat jar with a wooden lid */
.vessel--jar { width: 36%; }
.vessel--jar .vessel__cap { display: none; }
.vessel--jar .vessel__collar { width: 92%; aspect-ratio: 1 / 0.26; border-radius: 8% 8% 2% 2%; }
.vessel--jar .vessel__body { aspect-ratio: 1 / 0.82; border-radius: 10% 10% 12% 12%; }
.vessel--jar .vessel__label { height: 62%; }
/* Oil: a wooden cap on a slim neck */
.vessel--oil .vessel__cap { width: 34%; aspect-ratio: 1 / 0.8; background: #c09163; border-radius: 10% 10% 4% 4%; }
.vessel--oil .vessel__collar { width: 30%; aspect-ratio: 1 / 0.7; background: #6f3812; border-radius: 0; }
.vessel--oil .vessel__body { aspect-ratio: 1 / 1.5; border-radius: 30% 30% 9% 9% / 18% 18% 6% 6%; }

/* Close and action */
.kit__foot {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--g); row-gap: 40px;
  align-items: end;
  margin-top: clamp(96px, 14vh, 160px);
}
.kit__roots { max-width: 44ch; }
.kit__promise { font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.25rem); line-height: 1.2; max-width: 26ch; }
.kit__action { margin-top: 28px; }
.btn--light { background: var(--ground); color: var(--olive); }
.btn--light:hover { background: #fffaf0; }

@media (max-width: 860px) {
  .kit { padding-top: 96px; padding-bottom: 104px; }
  .kit__head { grid-template-columns: minmax(0, 1fr); margin-bottom: 56px; }
  .shelf { margin: 0 calc(-1 * var(--margin)); }
  .shelf__label { padding: 0 var(--margin); }
  .shelf__row {
    grid-template-columns: none;
    grid-auto-flow: column; grid-auto-columns: 64vw;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--margin);
    padding: 0 var(--margin) 8px;
    scrollbar-width: none;
  }
  .shelf__row::-webkit-scrollbar { display: none; }
  .product { scroll-snap-align: start; }
  .shelf__row { gap: 8px; }
  .product { padding: 0; }
  .product .product__stage { padding: 28px 10px 30%; }
  .product .product__carton, .product .product__vessel { width: 100%; }
  .product .product__vessel { left: 10px; top: 28px; width: calc(100% - 20px); }
  .product .product__carton { width: 100%; }
  .product__caption { padding: 16px 2px 0; }
  .kit__foot { grid-template-columns: minmax(0, 1fr); margin-top: 72px; }
  .kit__action .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .shelf .product__carton, .js .shelf .product__vessel, .js .shelf .product__caption { transition: opacity 300ms linear; transform: none; transition-delay: 0ms; }
  .js .shelf.is-in .product:hover .product__carton, .js .shelf.is-in .product.is-lifted .product__carton,
  .js .shelf.is-in .product:hover .product__vessel, .js .shelf.is-in .product.is-lifted .product__vessel { transform: none; }
}

/* ==========================================================================
   SECTIONS 06–10 — THE FIVE PREPARATIONS (one template)
   A field in the product's soft tint holds the product and its sense symbol,
   turning slowly; the copy sits on cream beside it. Sides alternate.
   ========================================================================== */
/* Deep variants of each sense colour for text on cream (all ≥ 4.5:1) */
.gateway--sight   { --c-deep: #8a5208; }
.gateway--smell   { --c-deep: #5e5502; }
.gateway--touch   { --c-deep: #a8393a; }
.gateway--taste   { --c-deep: #b21d2f; }
.gateway--hearing { --c-deep: #6b0c0c; }

.products { position: relative; background: var(--ground); }

/* The rail: which preparation you are reading */
.pd-rail {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px var(--margin);
  background: var(--ground);
}
.pd-rail__link {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--earth);
  font-family: var(--serif); font-size: 1.125rem; font-weight: 500;
  transition: color 300ms ease;
}
.pd-rail__mark {
  width: 24px; height: 24px; flex: none;
  background-color: var(--stone);
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
  transition: background-color 300ms ease, transform 400ms var(--ease-out);
}
.pd-rail__link:hover, .pd-rail__link[aria-current="true"] { color: var(--ink); }
.pd-rail__link:hover .pd-rail__mark, .pd-rail__link[aria-current="true"] .pd-rail__mark { background-color: var(--c); }
.pd-rail__link[aria-current="true"] .pd-rail__mark { transform: scale(1.15); }

/* The template */
.pd {
  --g: clamp(32px, 5vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  min-height: calc(100svh - 52px);
  scroll-margin-top: 52px;
}
.pd + .pd { margin-top: clamp(16px, 2vw, 24px); }
.pd__media {
  position: relative; margin: 0; overflow: hidden;
  background: color-mix(in srgb, var(--c) 17%, var(--ground));
  display: grid; place-items: center;
  min-height: 78svh;
}
.pd__motif {
  position: absolute; right: -16%; top: -14%;
  width: 82%; aspect-ratio: 1;
  background-color: var(--c); opacity: 0.1;
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
  animation: motif-turn 90s linear infinite;
}
.pd--flip .pd__motif { right: auto; left: -16%; animation-direction: reverse; }
@keyframes motif-turn { to { transform: rotate(360deg); } }
.pd__drawn { position: relative; width: min(64%, 460px); }
.pd__drawn .product__stage { width: 100%; }
.pd__drawn .carton, .pd__drawn .vessel { transition: transform 1100ms var(--ease-out), opacity 900ms var(--ease-out); }
.pd__ingredients {
  position: absolute; left: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vw, 40px);
  font-family: var(--serif); font-size: 1.25rem; color: var(--c-deep);
}
.pd__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 62%; }
.js .pd .pd__photo { opacity: 0; transform: scale(1.04); transition: opacity 1000ms var(--ease-out), transform 1600ms var(--ease-out); }
.js .pd.is-in .pd__photo { opacity: 1; transform: none; }
.pd__media.has-photo .pd__drawn, .pd__media.has-photo .pd__motif, .pd__media.has-photo .pd__ingredients { display: none; }

.pd__copy {
  align-self: center;
  padding: clamp(80px, 11vh, 140px) var(--margin) clamp(80px, 11vh, 140px) var(--g);
  max-width: 44rem;
}
.pd--flip .pd__media { order: 2; }
.pd--flip .pd__copy { padding: clamp(80px, 11vh, 140px) var(--g) clamp(80px, 11vh, 140px) var(--margin); justify-self: end; }
.pd__name {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: var(--step-display);
  line-height: 1; letter-spacing: 0.01em; text-transform: uppercase;
  text-wrap: balance;
}
.pd__gateway { margin-top: 12px; font-family: var(--serif); font-size: var(--step-lead); color: var(--c-deep); }
.pd__tagline { margin-top: clamp(28px, 4vh, 44px); font-family: var(--serif); font-size: var(--step-lead); line-height: 1.2; max-width: 22ch; text-wrap: balance; }
.pd__desc { margin-top: 16px; max-width: 48ch; }
.pd__look { margin: clamp(36px, 5vh, 56px) 0 12px; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.pd__list { display: grid; gap: 6px; max-width: 50ch; }
.pd__list li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 14px 18px;
  background: color-mix(in srgb, var(--c) 8%, var(--ground));
}
.pd__list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px;
  background-color: var(--c-deep);
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}

/* Entrance: the product rises into its field */
.js .pd .pd__drawn .carton { opacity: 0; transform: translateY(18%); }
.js .pd .pd__drawn .vessel { opacity: 0; transform: translateX(-20%); transition-delay: 350ms; }
.js .pd.is-in .pd__drawn .carton, .js .pd.is-in .pd__drawn .vessel { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .pd-rail { gap: 6px; padding: 10px var(--margin); overflow-x: auto; scrollbar-width: none; }
  .pd-rail::-webkit-scrollbar { display: none; }
  .pd-rail__link { gap: 6px; font-size: 0.9375rem; }
  .pd-rail__link .pd-rail__name { display: none; }
  .pd-rail__link[aria-current="true"] .pd-rail__name { display: inline; }
  .pd { grid-template-columns: minmax(0, 1fr); min-height: 0; scroll-margin-top: 44px; }
  .pd--flip .pd__media { order: 0; }
  .pd__media { min-height: 0; display: flex; flex-direction: column; align-items: center; padding: 44px 0 22px; }
  .pd__drawn { width: 66%; }
  .pd__ingredients { position: relative; left: auto; bottom: auto; align-self: stretch; margin-top: 22px; padding: 0 var(--margin); }
  .pd__media.has-photo { display: block; padding: 0; aspect-ratio: 15 / 15; }
  .pd__copy, .pd--flip .pd__copy { padding: 48px var(--margin) 72px; justify-self: stretch; }
  .pd__ingredients { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pd__motif { animation: none; }
  .js .pd .pd__drawn .carton, .js .pd .pd__drawn .vessel { transform: none; transition: opacity 300ms linear; }
}

/* Shelf names link to their preparation */
a.product__name { color: inherit; text-decoration: underline 1.5px transparent; text-underline-offset: 5px; transition: text-decoration-color 220ms ease; }
a.product__name:hover, a.product__name:focus-visible { text-decoration-color: currentColor; }


/* Section 05 shelf, studio version: rendered cut-outs (mockups/studio.html)
   standing on the studio table; the carton lifts, the bottle steps aside. */
.shelf { --cap: 84px; }
.shelf__row { position: relative; }
.product { position: relative; padding-top: clamp(32px, 4vw, 64px); }
.product__stage { position: relative; padding-bottom: 30%; }
.product__carton, .product__vessel { display: block; width: 100%; height: auto; transform-origin: 40% 100%; }
.product__vessel { position: absolute; left: 0; top: 0; }
.product__stage::before {   /* contact shadow on the table */
  content: ""; position: absolute; left: 6%; right: 8%; bottom: calc(30% - 3%); height: 6%;
  background: radial-gradient(closest-side, rgba(20, 18, 0, 0.55), rgba(20, 18, 0, 0));
  transition: transform 700ms var(--ease-out), opacity 700ms ease;
}
.product__caption { height: var(--cap); margin-top: 0; padding-top: 18px; }
.product__carton, .product__vessel { transition: transform 700ms var(--ease-out), opacity 800ms var(--ease-out); }
.product:hover .product__carton, .product.is-lifted .product__carton { transform: translateY(-8%) rotate(-1.5deg); }
.product:hover .product__vessel, .product.is-lifted .product__vessel { transform: translateX(5%); }
.product:hover .product__stage::before, .product.is-lifted .product__stage::before { transform: scaleX(0.8); opacity: 0.6; }

/* The reveal: cartons rise in turn, then the bottles step in */
.js .shelf .product__carton { opacity: 0; transform: translateY(14%); transition-delay: calc(var(--i, 0) * 110ms); }
.js .shelf .product__vessel { opacity: 0; transform: translateX(-14%); transition-delay: calc(var(--i, 0) * 110ms + 450ms); }
.js .shelf .product__caption { opacity: 0; transition: opacity 700ms ease calc(var(--i, 0) * 110ms + 600ms); }
.js .shelf.is-in .product__carton, .js .shelf.is-in .product__vessel { opacity: 1; transform: none; }
.js .shelf.is-in .product__caption { opacity: 1; }
.js .shelf.is-settled .product__carton, .js .shelf.is-settled .product__vessel { transition-delay: 0ms; }
.js .shelf.is-in .product:hover .product__carton, .js .shelf.is-in .product.is-lifted .product__carton { transform: translateY(-8%) rotate(-1.5deg); }
.js .shelf.is-in .product:hover .product__vessel, .js .shelf.is-in .product.is-lifted .product__vessel { transform: translateX(5%); }
@media (max-width: 860px) {
  .shelf .product { padding-top: 0; }
  .shelf .product__caption { height: auto; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   SECTION 11 — BRINGING THE FIVE TOGETHER
   Dark field. The five stand in a row, each in one eye of a braided line
   (the weave from the kit box), drawn in as the section arrives.
   ========================================================================== */
.together {
  --g: clamp(32px, 5vw, 96px);
  --gold: #c9a55f;
  background: var(--ink);
  color: var(--ground);
  padding: clamp(120px, 17vh, 220px) var(--margin) clamp(120px, 16vh, 200px);
}
.together__head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: var(--g); row-gap: 28px; align-items: end;
}
.together__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: var(--step-display); line-height: 1.02; letter-spacing: -0.025em; max-width: 18ch; }
.together__intro { max-width: 46ch; color: #e9dfd0; }

.together__stage { position: relative; margin: clamp(64px, 10vh, 120px) 0 clamp(64px, 10vh, 112px); }
.together__weave {
  position: absolute; left: calc(-1 * var(--margin)); width: calc(100% + 2 * var(--margin));
  top: 18%; height: 64%;
  overflow: visible;
}
.together__weave path { fill: none; stroke: var(--gold); stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: 0.85; }
.together__set { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.together__item { position: relative; padding: 0 9%; transition: opacity 500ms ease, transform 700ms var(--ease-out); }
.together__carton, .together__vessel { display: block; width: 100%; height: auto; }
.together__vessel { position: absolute; left: 9%; top: 0; width: 82%; }
.together__item::after { /* contact shadow */
  content: ""; position: absolute; left: 14%; right: 18%; bottom: -2%; height: 5%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}
.together__stage[data-focus] .together__item { opacity: 0.32; }
.together__stage[data-focus] .together__item.is-focus { opacity: 1; transform: translateY(-5%) scale(1.04); }

/* drawn in */
.js .together__weave path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2600ms var(--ease-out); }
.js .together__weave path:nth-child(2) { transition-delay: 250ms; }
.js .together__stage.is-in .together__weave path { stroke-dashoffset: 0; }
.js .together__item { opacity: 0; transform: translateY(10%); transition-delay: calc(var(--i, 0) * 120ms + 300ms); }
.js .together__stage.is-in .together__item { opacity: 1; transform: none; }
.js .together__stage.is-settled .together__item { transition-delay: 0ms; }
.js .together__stage.is-in[data-focus] .together__item { opacity: 0.32; }
.js .together__stage.is-in[data-focus] .together__item.is-focus { opacity: 1; transform: translateY(-5%) scale(1.04); }

/* the table */
.together__foot {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: var(--g); row-gap: 56px; align-items: start;
}
.focus-table { width: 100%; border-collapse: collapse; }
.focus-table th, .focus-table td { text-align: left; padding: 0; }
.focus-table thead th { font-size: 0.9375rem; font-weight: 500; color: #cbbfae; padding: 0 0 14px; }
.focus-table thead th + th, .focus-table td { padding-left: 24px; }
.focus-table tbody tr { border-top: 1px solid rgba(246, 241, 232, 0.16); transition: background-color 300ms ease; }
.focus-table tbody tr:last-child { border-bottom: 1px solid rgba(246, 241, 232, 0.16); }
.focus-table td { color: #e9dfd0; vertical-align: middle; white-space: nowrap; }
.focus-table__btn {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 16px 0; background: none; border: 0; color: var(--ground); cursor: pointer; text-align: left;
  font-family: var(--serif); font-weight: 500; font-size: 1.375rem; line-height: 1.15;
}
.focus-table__mark {
  width: 30px; height: 30px; flex: none;
  background-color: var(--c);
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
  transition: transform 400ms var(--ease-out);
}
.focus-table tr.gateway--hearing .focus-table__mark { background-color: #c0525a; }
.focus-table tbody tr:hover, .focus-table tbody tr.is-focus { background: rgba(246, 241, 232, 0.07); }
.focus-table tbody tr:hover .focus-table__mark, .focus-table tbody tr.is-focus .focus-table__mark { transform: scale(1.15); }
.together__close { display: grid; gap: 32px; padding-top: 34px; }
.together__close p:first-child { color: #e9dfd0; max-width: 44ch; }
.together__statement { font-family: var(--serif); font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); line-height: 1.22; color: #e8e39a; max-width: 24ch; }

@media (max-width: 860px) {
  .together { padding-top: 96px; padding-bottom: 104px; }
  .together__head, .together__foot { grid-template-columns: minmax(0, 1fr); }
  .together__stage { margin: 56px calc(-1 * var(--margin)) 56px; padding: 0 4px; }
  .together__weave { left: 0; width: 100%; }
  .together__item { padding: 0 2%; }
  .together__vessel { left: 2%; width: 96%; }
  .together__close { padding-top: 0; }
}

/* ==========================================================================
   SECTION 12 — MAKE IT YOUR OWN RITUAL
   One day, morning to evening: four steps, each in the light of its hour.
   ========================================================================== */
.ritual {
  --g: clamp(32px, 5vw, 96px);
  background: var(--ground);
  padding: clamp(120px, 17vh, 220px) var(--margin) clamp(120px, 16vh, 200px);
}
.ritual__head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: var(--g); row-gap: 28px; align-items: end;
  margin-bottom: clamp(72px, 11vh, 128px);
}
.ritual__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: var(--step-display); line-height: 1.02; letter-spacing: -0.025em; max-width: 22ch; }
.ritual__intro { max-width: 46ch; }
.ritual__lead { font-family: var(--serif); font-size: var(--step-lead); margin-bottom: clamp(24px, 4vh, 40px); }

.day { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 calc(-1 * var(--margin)); padding: 0; list-style: none; }
.day__step { --tone: #f7eccf; padding: clamp(20px, 2vw, 32px) clamp(16px, 1.6vw, 28px) clamp(32px, 4vh, 48px); background: var(--tone); color: var(--ink); }
.day__step--pause     { --tone: #f8eed4; }   /* first light */
.day__step--notice    { --tone: #f1dfbd; }   /* full day */
.day__step--care      { --tone: #e4c19c; }   /* late afternoon */
.day__step--reconnect { --tone: #3b2c2a; color: var(--ground); }   /* dusk */
.day__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: rgba(0, 0, 0, 0.06); }
.day__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1600ms var(--ease-out); }
.day__step--notice .day__photo img { object-position: 40% 50%; }
.day__step:hover .day__photo img { transform: scale(1.05); }
.day__word { margin: 26px 0 8px; font-family: var(--serif); font-weight: 500; font-size: var(--step-tag); line-height: 1; letter-spacing: -0.02em; }
.day__line { max-width: 30ch; }

.ritual__foot {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--g); row-gap: 48px; align-items: end;
  margin-top: clamp(80px, 12vh, 140px);
}
.ritual__note { max-width: 46ch; color: var(--earth); font-size: 0.9375rem; }
.ritual__close { display: grid; gap: 4px; font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.25rem); line-height: 1.2; color: var(--olive); }
.js .ritual__close .reveal:nth-child(2) { transition-delay: 220ms; }
.js .ritual__close .reveal:nth-child(3) { transition-delay: 440ms; }

/* Each step rises as the day moves on */
.js .day__step { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
.js .day.is-in .day__step { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ritual { padding-top: 96px; padding-bottom: 104px; }
  .ritual__head, .ritual__foot { grid-template-columns: minmax(0, 1fr); }
  .day { grid-template-columns: minmax(0, 1fr); }
  .day__step { display: grid; grid-template-columns: 38% minmax(0, 1fr); column-gap: 18px; align-items: center; padding: 18px var(--margin); }
  .day__photo { grid-row: span 2; aspect-ratio: 4 / 5; }
  .day__word { margin: 0 0 6px; align-self: end; }
  .day__line { align-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .js .together__weave path { stroke-dashoffset: 0; transition: none; }
  .js .together__item, .js .day__step { transform: none; transition: opacity 300ms linear; }
  .day__step:hover .day__photo img { transform: none; }
}

/* ==========================================================================
   SECTION 13 — INSPIRED BY A THOUGHT TRADITION
   Paper tone, an arched portrait frame (the kit window's arch), quiet type.
   ========================================================================== */
.legacy {
  --g: clamp(32px, 5vw, 96px);
  background: var(--ground-2);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--g);
  align-items: center;
  padding: clamp(120px, 17vh, 220px) var(--margin);
}
.legacy__portrait {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--olive) 14%, var(--ground-2));
  display: grid; place-items: center;
}
.legacy__leaf {
  width: 46%; aspect-ratio: 208 / 240;
  background-color: var(--olive); opacity: 0.55;
  -webkit-mask: url("../assets/santulan-leaf.png") center / contain no-repeat;
          mask: url("../assets/santulan-leaf.png") center / contain no-repeat;
}
.legacy__portrait.has-photo .legacy__leaf { display: none; }
.legacy__portrait .pd__photo { object-position: 50% 30%; }
.js .legacy__portrait .pd__photo { opacity: 0; transition: opacity 1200ms var(--ease-out); }
.js .legacy__portrait.is-in .pd__photo { opacity: 1; }
.legacy__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: var(--step-display); line-height: 1.02; letter-spacing: -0.025em; max-width: 16ch; }
.legacy__by { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: var(--step-lead); color: var(--olive); }
.legacy__text { display: grid; gap: 16px; margin-top: clamp(32px, 5vh, 48px); max-width: 52ch; }
.legacy__close { margin-top: clamp(32px, 5vh, 48px); font-family: var(--serif); font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); line-height: 1.22; max-width: 26ch; }

/* ==========================================================================
   SECTION 14 — FREQUENTLY ASKED QUESTIONS
   Native <details>: works without script, keyboard-ready, opens smoothly.
   ========================================================================== */
.faq {
  --g: clamp(32px, 5vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--g); row-gap: 40px;
  padding: clamp(120px, 17vh, 220px) var(--margin);
  background: var(--ground);
}
.faq__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: var(--step-tag); line-height: 1.06; letter-spacing: -0.02em; max-width: 16ch; position: sticky; top: 32px; }
.faq__items { display: grid; gap: 8px; }
.faq__item { background: var(--ground-2); interpolate-size: allow-keywords; }
.faq__item::details-content { height: 0; overflow: clip; transition: height 450ms var(--ease-out), content-visibility 450ms allow-discrete; }
.faq__item[open]::details-content { height: auto; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.25;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--olive); }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform 350ms var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 24px 26px; max-width: 64ch; display: grid; gap: 12px; }
.faq__a a { color: var(--olive); text-underline-offset: 4px; }
.faq__list { display: grid; gap: 8px; }
.faq__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.faq__list li::before {
  content: ""; width: 20px; height: 20px; margin-top: 3px;
  background-color: var(--c-deep);
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}

/* ==========================================================================
   SECTION 15 — THE CLOSING INVITATION
   The full kit again, mirrored from the hero; one prominent button.
   ========================================================================== */
.invite {
  --g: clamp(32px, 5vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: 100svh;
  background: var(--ground);
}
.invite__media { position: relative; margin: 0; overflow: hidden; background: var(--ground-3); }
.invite__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.invite__copy { align-self: center; padding: clamp(72px, 10vh, 120px) var(--margin) clamp(72px, 10vh, 120px) var(--g); max-width: 40rem; }
.invite__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: var(--step-display); line-height: 1; letter-spacing: -0.03em; }
.invite__lead { margin-top: clamp(28px, 4vh, 40px); font-family: var(--serif); font-size: var(--step-lead); line-height: 1.3; }
.invite__ask { margin-top: 12px; font-family: var(--serif); font-size: var(--step-lead); line-height: 1.3; color: var(--olive); }
.invite__body { margin-top: 20px; max-width: 46ch; }
.invite__promise { margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--earth); }
.invite__action { margin-top: clamp(32px, 5vh, 48px); }
.btn--large { min-height: 68px; padding: 0 44px; font-size: 1.125rem; }

@media (max-width: 860px) {
  .legacy, .faq { grid-template-columns: minmax(0, 1fr); row-gap: 48px; padding-top: 96px; padding-bottom: 104px; }
  .legacy__portrait { width: min(78%, 360px); }
  .faq__title { position: static; max-width: none; }
  .faq__q { padding: 18px 18px; }
  .faq__a { padding: 0 18px 22px; }
  .invite { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .invite__media { aspect-ratio: 4 / 3; }
  .invite__copy { padding: 48px var(--margin) 96px; }
  .invite__action .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__item::details-content { transition: none; }
}

/* ---------- Review fixes ---------- */
h2, h3, .pd__tagline, .together__statement, .legacy__close, .invite__lead { text-wrap: balance; }

/* ==========================================================================
   STICKY BUY BAR — a plain olive strip along the bottom of the screen.
   ========================================================================== */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px var(--margin);
  background: var(--olive); color: var(--ground);
  transform: translateY(105%);
  transition: transform 500ms var(--ease-out);
}
.buybar.is-shown { transform: none; }
.buybar__name { display: flex; align-items: center; gap: 16px; min-width: 0; }
.buybar__name strong { font-family: var(--serif); font-weight: 500; font-size: 1.375rem; }
.buybar__sub { color: #e8e39a; font-size: 0.9375rem; margin-left: 10px; }
.buybar__marks { display: flex; gap: 6px; flex: none; }
.buybar__marks span {
  width: 22px; height: 22px;
  background-color: #fbeedd;
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}
.buybar__btn { min-height: 48px; padding: 0 26px; flex: none; }
@media (max-width: 860px) {
  .buybar { padding: 10px var(--margin); gap: 12px; }
  .buybar__marks, .buybar__sub { display: none; }
  .buybar__name strong { font-size: 1.125rem; }
  .buybar__btn { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
}
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }

/* ==========================================================================
   FOOTER — the name returns at full width; links back to santulan.in.
   ========================================================================== */
.site-foot { background: var(--ink); color: var(--ground); padding: clamp(96px, 14vh, 160px) var(--margin) 40px; }
.site-foot__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.33fr));
  column-gap: clamp(32px, 4vw, 72px); row-gap: 48px;
}
.site-foot__line { font-family: var(--serif); font-size: var(--step-lead); line-height: 1.25; max-width: 22ch; margin-bottom: 28px; }
.site-foot__h { margin: 0 0 16px; font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; color: #cbbfae; }
.site-foot__col ul { display: grid; gap: 10px; }
.site-foot__col a { color: var(--ground); text-decoration: underline 1.5px transparent; text-underline-offset: 5px; transition: text-decoration-color 220ms ease, color 220ms ease; }
.site-foot__col a:hover, .site-foot__col a:focus-visible { color: #e8e39a; text-decoration-color: currentColor; }
.site-foot__mark { margin: clamp(80px, 12vh, 140px) 0 clamp(40px, 6vh, 64px); }
.site-foot__mark img {
  width: 100%; height: auto;
  /* the logo, set in cream for the dark ground */
  filter: brightness(0) invert(94%) sepia(9%) saturate(300%) hue-rotate(350deg);
}
.site-foot__base { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4vw, 72px); row-gap: 16px; font-size: 0.8125rem; color: #b9ad9c; line-height: 1.55; }
.site-foot__credits { max-width: 90ch; }
@media (max-width: 860px) {
  .site-foot { padding-top: 80px; padding-bottom: 96px; }
  .site-foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-foot__about { grid-column: 1 / -1; }
  .site-foot__base { grid-template-columns: minmax(0, 1fr); }
}
