/* ============================================================
   LOAM — 1970s earthy / warm minimalist
   Shared across index / shop / ritual / about.
   Typeface: Helvena throughout, loaded by assets/fonts.css.
   ============================================================ */

:root {
  /* ---- palette ---- */
  --cream:      #F2E7CE;
  --cream-lift: #F8F0DE;
  --wash:       #ECD6BB;   /* cream washed with burnt orange — section bands */
  --wash-deep:  #E4C6A5;   /* stronger wash for alternating cells */
  --orange:     #C15A2B;   /* accent: rules, shapes, pattern, large display */
  --orange-ink: #A8471F;   /* solid fills carrying cream text — 4.8:1 */
  --orange-dark:#8E3A18;   /* hover */
  --ochre:      #D69A2D;
  --avocado:    #6F7C3A;
  --terracotta: #BE6A45;
  --rust:       #9E4A2E;   /* accent TEXT on cream — 4.9:1 */
  --choco:      #4A2F1D;   /* body + headings — 10:1 */

  /* muted greys tuned to clear 4.5:1 on cream — hierarchy is size, not fade */
  --choco-70:   rgba(74, 47, 29, .78);
  --choco-45:   rgba(74, 47, 29, .72);
  --choco-15:   rgba(74, 47, 29, .15);
  --rule:       rgba(74, 47, 29, .20);   /* hairline grid dividers */
  --clay:       #CE9575;                 /* nav + intro band — 4.8:1 with chocolate */
  --clay-rule:  rgba(74, 47, 29, .30);

  /* ---- type ---- */
  --sans:    'Helvena', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: var(--sans);   /* one typeface across the whole site */

  /* ---- shape + motion ---- */
  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 28px;
  --arch: 999px 999px var(--r-lg) var(--r-lg);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 2px 6px rgba(74,47,29,.05), 0 18px 40px -18px rgba(74,47,29,.28);
  --shadow-lift: 0 4px 10px rgba(74,47,29,.06), 0 34px 60px -22px rgba(74,47,29,.34);

  /* ---- rhythm ---- */
  --gut: clamp(20px, 5vw, 56px);
  --sec: clamp(72px, 11vw, 152px);
  --max: 1240px;
  --max-wide: 1720px;   /* nav + intro band: full-width feel, like the reference */
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--choco);
  font-family: var(--sans);
  font-weight: 400;               /* the variable face defaults to 200 — always be explicit */
  font-size: clamp(16px, .55vw + 15px, 18px);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 4px; }

:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .cell--block :focus-visible, .roots__panel :focus-visible { outline-color: var(--ochre); }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--choco); color: var(--cream);
  padding: 14px 20px; border-radius: 999px; font-weight: 700;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- shared type ---------- */
.display {
  font-family: var(--sans); font-weight: 800;
  line-height: .88; letter-spacing: -.035em;
  text-transform: uppercase; margin: 0;
}
.eyebrow {
  font-size: clamp(11px, .3vw + 10px, 12.5px);
  font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rust); margin: 0 0 clamp(18px, 2.4vw, 28px);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: clamp(24px, 4vw, 46px); height: 2px;
  background: var(--orange); border-radius: 2px; flex: none;
}
.lede { font-size: clamp(17px, .6vw + 15.5px, 20px); color: var(--choco-70); max-width: 46ch; margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap--wide { max-width: var(--max-wide); }

/* ---------- 70s ornament ---------- */
.ribbon {
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='52' viewBox='0 0 104 52'%3E%3Cg fill='none' stroke-width='6'%3E%3Cpath d='M0 52 A52 52 0 0 1 104 52' stroke='%23C15A2B'/%3E%3Cpath d='M12 52 A40 40 0 0 1 92 52' stroke='%23D69A2D'/%3E%3Cpath d='M24 52 A28 28 0 0 1 80 52' stroke='%236F7C3A'/%3E%3Cpath d='M36 52 A16 16 0 0 1 68 52' stroke='%23BE6A45'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: auto 52px; background-position: center bottom;
  opacity: .5;
}
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ============================================================
   BUTTONS  (no magnetic pull — colour and shadow only)
   ============================================================ */
.btn {
  --btn-bg: var(--orange-ink);
  --btn-fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: .01em;
  border: none; border-radius: 999px; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(74,47,29,.7);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              transform .35s var(--ease), filter .2s var(--ease);
}
.btn:hover { --btn-bg: var(--orange-dark); box-shadow: 0 18px 34px -16px rgba(74,47,29,.8); transform: translateY(-2px); }
.btn:active { filter: brightness(.93); transform: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--choco); box-shadow: none; border: 1.5px solid var(--choco-15); }
.btn--ghost:hover { --btn-bg: rgba(193,90,43,.10); --btn-fg: var(--rust); box-shadow: none; border-color: rgba(158,74,46,.4); }
.btn--ochre { --btn-bg: var(--ochre); --btn-fg: var(--choco); }
.btn--ochre:hover { --btn-bg: #E8AC3C; }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: 15px; }
/* squared button, matching the catalog grid language */
.btn--block { border-radius: 8px; width: 100%; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }

.tlink {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; font-weight: 600; font-size: 16px; color: var(--rust); text-decoration: none;
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1.5px;
  background: currentColor; transform-origin: var(--org, left);
  transform: scaleX(1); transition: transform .5s var(--ease);
}
.tlink:hover::after { transform: scaleX(0); }
.tlink svg { transition: transform .5s var(--ease); }
.tlink:hover svg { transform: translateY(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--clay);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
/* paper tooth on the clay, as in the reference */
.nav::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23p)' opacity='.42'/%3E%3C/svg%3E");
}
.nav > * { position: relative; z-index: 1; }
.nav.is-stuck { border-bottom-color: var(--clay-rule); box-shadow: 0 12px 30px -22px rgba(74,47,29,.8); }
.nav__in {
  display: flex; align-items: center; gap: 16px; min-height: 68px;
  width: 100%; max-width: var(--max-wide); margin-inline: auto; padding-inline: var(--gut);
}
.wordmark {
  font-family: var(--sans); font-weight: 800; font-size: clamp(22px, 1.5vw, 26px);
  line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  color: var(--choco); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px; margin-right: auto;
}
.wordmark span { color: inherit; }          /* on clay the accent letter would drop below 4.5:1 */
.foot .wordmark span { color: var(--ochre); } /* on chocolate it is safe again */

/* cart / bag button */
.nav__cart {
  width: 46px; height: 46px; flex: none; margin-left: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--choco); text-decoration: none; border-radius: 10px;
}
.nav__cart svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
.nav__cart:hover { background: rgba(74,47,29,.10); }

.nav__links { display: none; gap: clamp(18px, 2vw, 34px); align-items: center; }
.nav__links a {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--choco); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 12px; width: 100%; height: 1.5px;
  background: var(--choco); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--choco); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { display: none; }

.burger {
  width: 46px; height: 46px; flex: none;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 1.5px solid var(--choco-15); border-radius: 999px; cursor: pointer;
}
.burger { border-color: var(--clay-rule); }
.burger i { display: block; width: 17px; height: 1.8px; background: var(--choco); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease); }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.sheet {
  display: grid; grid-template-rows: 0fr;
  background: var(--clay); border-top: 1px solid var(--clay-rule);
  transition: grid-template-rows .5s var(--ease);
}
.sheet[data-open="true"] { grid-template-rows: 1fr; }
.sheet__in { overflow: hidden; }
.sheet ul { list-style: none; margin: 0; padding: 8px var(--gut) 22px; display: grid; gap: 2px;
  width: 100%; max-width: var(--max-wide); margin-inline: auto; }
.sheet a {
  display: flex; align-items: center; min-height: 52px;
  font-size: 20px; font-weight: 500; color: var(--choco); text-decoration: none;
  border-bottom: 1px solid var(--clay-rule);
}
.sheet a[aria-current="page"] { font-weight: 800; }
.sheet .btn { margin-top: 14px; width: 100%; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger, .sheet { display: none; }
}

/* ============================================================
   PAGE HEADER (shop / ritual / about)
   ============================================================ */
.phead { background: var(--wash); border-bottom: 1px solid var(--rule); }
.phead__in { padding-block: clamp(44px, 6vw, 84px); }
.phead h1 { font-size: clamp(46px, 8.4vw, 104px); color: var(--choco); }
.phead p { margin: clamp(16px, 2vw, 24px) 0 0; max-width: 48ch; color: var(--choco-70);
  font-size: clamp(17px, .5vw + 16px, 20px); }

/* ============================================================
   HERO (home) — full-bleed photograph, oversized headline over it,
   nav and intro sitting in the clay band directly beneath.
   ============================================================ */
.shot { position: relative; overflow: hidden; background: var(--terracotta); }
.shot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
/* Scrim on the headline side so the photo stays a photograph. Strength is set
   by measuring the real backdrop pixels: cream display text needs 3:1, and the
   bright window in this shot sits right behind the type. */
.shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(258deg,
      rgba(52,30,15,.62) 0%, rgba(52,30,15,.44) 30%,
      rgba(52,30,15,.20) 60%, rgba(52,30,15,.05) 84%, transparent 100%);
}
/* On narrow screens the headline spans most of the frame, so the directional
   gradient cannot carry it alone — flatten and deepen it. */
@media (max-width: 999px) {
  .shot::after {
    background: linear-gradient(258deg,
        rgba(52,30,15,.70) 0%, rgba(52,30,15,.60) 34%,
        rgba(52,30,15,.50) 68%, rgba(52,30,15,.42) 100%);
  }
}
.shot__inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: center; justify-content: flex-end;
  padding: clamp(18px, 3vw, 44px) var(--gut);
}
.shot__title {
  margin: 0; color: var(--cream); text-align: right;
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  line-height: .82; letter-spacing: -.045em;
  max-width: 11ch;
  /* Four stacked lines have to fit inside the photograph, and the photo's
     aspect ratio changes per breakpoint — so the size is tuned per range
     rather than with one global vw. Verified by measuring the rendered box. */
  font-size: clamp(44px, 13vw, 92px);
}
@media (min-width: 620px)  { .shot__title { font-size: 10vw; } }
@media (min-width: 1000px) { .shot__title { font-size: min(8.8vw, 150px); } }
.shot__title .w { display: block; overflow: hidden; }
.shot__title .w > span { display: block; will-change: transform; }

/* the photograph is 3:1 — let it stay tall enough to read on a phone */
.hero__shot { aspect-ratio: 4 / 3; }
@media (min-width: 620px)  { .hero__shot { aspect-ratio: 2 / 1; } }
@media (min-width: 1000px) { .hero__shot { aspect-ratio: 2.6 / 1; } }

/* clay intro band under the nav */
.intro { background: var(--clay); position: relative; overflow: hidden; }
.intro::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23p2)' opacity='.42'/%3E%3C/svg%3E");
}
.intro__in {
  position: relative; z-index: 1;
  padding-block: clamp(24px, 3.4vw, 40px);
  display: grid; gap: clamp(22px, 3vw, 40px); align-items: center;
}
@media (min-width: 820px) { .intro__in { grid-template-columns: 1fr auto; gap: clamp(36px, 5vw, 80px); } }
.intro p {
  margin: 0; color: var(--choco);
  font-size: clamp(14px, .5vw + 12.5px, 16.5px); font-weight: 600;
  line-height: 1.5; letter-spacing: .045em; text-transform: uppercase;
  max-width: 46ch;
}
.intro p em { font-style: italic; font-weight: 500; }
.intro .btn {
  --btn-bg: var(--cream); --btn-fg: var(--choco);
  box-shadow: none; letter-spacing: .16em; text-transform: uppercase; font-size: 13px;
  padding-inline: 34px;
}
.intro .btn:hover { --btn-bg: var(--cream-lift); --btn-fg: var(--choco); transform: translateY(-2px); box-shadow: 0 14px 26px -18px rgba(74,47,29,.9); }

/* ============================================================
   RITUAL band
   ============================================================ */
.ritual { position: relative; color: var(--cream); isolation: isolate; overflow: hidden; }
.ritual__bg { position: absolute; inset: 0; z-index: -2; }
.ritual__bg img { width: 100%; height: 100%; object-fit: cover; }
.ritual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(74,47,29,.95) 0%, rgba(101,48,22,.85) 46%, rgba(74,47,29,.95) 100%),
    radial-gradient(ellipse 62% 52% at 24% 36%, rgba(193,90,43,.42), transparent 72%);
}
.ritual__in { padding-block: var(--sec); position: relative; }
.ritual .eyebrow { color: var(--ochre); }
.ritual .eyebrow::before { background: var(--ochre); }
.ritual h2 { font-size: clamp(40px, 7.4vw, 88px); color: var(--cream); max-width: 15ch; }
.ritual__lede { color: rgba(242,231,206,.84); margin: 22px 0 0; max-width: 42ch;
  font-size: clamp(17px, .5vw + 16px, 19px); }

.steps { list-style: none; margin: clamp(52px, 7vw, 76px) 0 0; padding: 0; display: grid; gap: clamp(34px, 5vw, 44px); }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 48px); } }
.step { position: relative; padding-top: 30px; border-top: 1px solid rgba(242,231,206,.26); }
.step__n { position: absolute; top: 30px; right: 0; font-weight: 800; font-size: 42px; line-height: 1;
  letter-spacing: -.04em; color: rgba(242,231,206,.20); }
.step__icon {
  width: 58px; height: 58px; border-radius: 999px 999px 14px 14px; display: grid; place-items: center;
  background: rgba(242,231,206,.10); border: 1px solid rgba(242,231,206,.24); margin-bottom: 22px;
}
.step__icon svg { width: 26px; height: 26px; stroke: var(--ochre); fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: clamp(23px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1;
  margin: 0 0 12px; color: var(--cream); }
.step p { margin: 0; color: rgba(242,231,206,.82); font-size: 16.5px; max-width: 30ch; }

/* ============================================================
   FEATURE (home) — on the warm wash band
   ============================================================ */
.feature { padding-block: var(--sec); background: var(--wash); border-block: 1px solid var(--rule); }
.feature__grid { display: grid; gap: clamp(42px, 6vw, 72px); align-items: center; }
@media (min-width: 940px) { .feature__grid { grid-template-columns: 1.16fr 1fr; gap: clamp(50px, 5.5vw, 88px); } }
.feature__media { position: relative; }
.feature__media::before {
  content: ""; position: absolute; z-index: 0;
  left: clamp(-14px, -2vw, -26px); bottom: clamp(-14px, -2vw, -26px);
  width: 62%; height: 72%; background: var(--orange); border-radius: var(--r-lg); opacity: .5;
}
.feature__media .frame {
  position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); aspect-ratio: 5 / 4; background: var(--avocado);
}
.feature__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.feature__inset {
  position: absolute; z-index: 2; right: clamp(-6px, -1vw, 0px); bottom: clamp(-30px, -3.5vw, -16px);
  width: clamp(112px, 17vw, 168px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 7px solid var(--wash); box-shadow: var(--shadow-soft);
}
.feature__inset img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(44px, 6.6vw, 82px); color: var(--choco); }
.feature__price { display: flex; align-items: baseline; gap: 14px; margin: 24px 0 0;
  font-weight: 800; letter-spacing: -.035em; font-size: clamp(28px, 2.8vw, 36px); color: var(--rust); }
.feature__price small { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--choco-45); }
.feature__desc { margin: 22px 0 0; font-size: clamp(17px, .5vw + 16px, 19.5px); color: var(--choco-70); max-width: 42ch; }
.feature__desc em { font-style: normal; font-weight: 600; color: var(--choco); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 17px 9px 14px;
  border: 1.5px solid rgba(111,124,58,.55); border-radius: 999px; background: rgba(111,124,58,.08);
  font-size: 14px; font-weight: 600; color: var(--choco);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--avocado); flex: none; }
.feature__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 34px; }
.feature__ship { font-size: 14px; color: var(--choco-45); }

/* ============================================================
   SECTION HEAD + SOFT CARD GRID (home)
   ============================================================ */
.collection { padding-block: var(--sec); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(38px, 5vw, 58px); }
@media (min-width: 820px) { .sec-head { grid-template-columns: 1fr auto; align-items: end; gap: 40px; } }
.sec-head h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(34px, 5vw, 62px);
  line-height: .92; letter-spacing: -.035em; text-transform: uppercase; margin: 0; color: var(--choco); }
.sec-head p { margin: 0; color: var(--choco-70); max-width: 34ch; font-size: 16.5px; }

.grid { display: grid; gap: clamp(20px, 2.6vw, 30px); grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column; background: var(--cream-lift);
  border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 1px 3px rgba(74,47,29,.05);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.card:hover, .card:focus-visible { transform: translateY(-7px); box-shadow: var(--shadow-lift); }
.card__media { position: relative; overflow: hidden; flex: 1 1 auto; min-height: 210px; background: var(--terracotta); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease); }
.card:hover .card__media img, .card:focus-visible .card__media img { transform: scale(1.055); }
.card__body { padding: 22px 24px 26px; display: flex; align-items: baseline; gap: 14px; }
.card__body h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 0; margin-right: auto; }
.card__body .price { font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--rust); white-space: nowrap; }
.card__tag {
  position: absolute; z-index: 1; left: 16px; top: 16px;
  background: rgba(242,231,206,.94); color: var(--choco);
  padding: 6px 13px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
@media (min-width: 620px) { .card { min-height: 400px; } .card--wide { grid-column: span 2; } }
@media (min-width: 980px) { .card { min-height: clamp(400px, 33vw, 470px); } }

/* ============================================================
   CATALOG — the hairline modular grid (shop page)
   Cells butt against each other and share 1px rules. No radius,
   no shadow: the grid itself is the structure.
   ============================================================ */
.catalog { border-top: 1px solid var(--rule); }
.cat {
  display: grid; grid-template-columns: 1fr;
  border-left: 1px solid var(--rule);
}
.cat > * { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-width: 0; }
/* one column on a phone: two would leave ~150px cells. Spans are neutralised
   here so a wide/tall cell cannot punch a hole in a single-column stack. */
.cat > .cell--wide, .cat > .cell--tall { grid-column: auto; grid-row: auto; }
@media (min-width: 560px) {
  .cat { grid-template-columns: repeat(2, 1fr); }
  .cat > .cell--wide { grid-column: span 2; }
  .cat > .cell--tall { grid-row: span 2; }
  /* label + 4 products = 6 slots, which divides evenly at 2 and 3 columns */
  .cat > .cell--label { grid-row: span 2; }
}
/* Tablet: the big feature cells go full width. Left at one column they sit
   beside a wide neighbour and leave a visibly empty cell in the grid. */
@media (min-width: 560px) and (max-width: 899px) {
  .cat > .cell--hero, .cat > .cell--mosaic,
  .cat > .cell--block, .cat > .cell--photo { grid-column: span 2; }
}
@media (min-width: 900px) { .cat { grid-template-columns: repeat(3, 1fr); } }

/* -- label cell -- */
.cell--label {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(22px, 3vw, 34px); gap: 30px; background: var(--cream);
}
.cell--label h2 { font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 4.2vw, 50px); line-height: .9; letter-spacing: -.035em; margin: 0; }
.cell--label .shopall {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px; gap: 8px;
  border-bottom: 1.5px solid currentColor; align-self: flex-start;
}
.cell--label .shopall:hover { color: var(--orange-dark); }

/* -- product cell -- */
.prod {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--cream-lift); transition: background-color .4s var(--ease);
}
.prod:hover, .prod:focus-visible { background: var(--wash); }
.prod--tint { background: var(--wash); }
.prod--tint:hover, .prod--tint:focus-visible { background: var(--wash-deep); }
/* tall enough that an `object-fit: contain` square product actually fills the
   cell — at 168px the image was sized by height and swam in white space */
.prod__media { display: block; position: relative; flex: 1 1 auto;
  min-height: clamp(210px, 26vw, 380px); overflow: hidden; }
.prod__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  padding: clamp(14px, 2.4vw, 30px);
  transition: transform .7s var(--ease);
}
.prod:hover .prod__media img, .prod:focus-visible .prod__media img { transform: scale(1.06); }
.prod__body {
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px clamp(14px, 2vw, 22px) clamp(16px, 2vw, 22px);
}
.prod__body .h3 { margin-right: auto; font-size: 14.5px; font-weight: 600; line-height: 1.3;
  letter-spacing: -.01em; }
.prod__body .price { font-size: 14.5px; font-weight: 700; color: var(--rust); white-space: nowrap; }
.prod__note { display: block; font-weight: 400; font-size: 12.5px; color: var(--choco-45); margin-top: 2px; }
.prod__flag { pointer-events: none; }
.prod__flag {
  position: absolute; z-index: 1; left: 12px; top: 12px;
  background: var(--orange-ink); color: var(--cream);
  padding: 5px 11px; border-radius: 4px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

/* -- spans --
   Only the label cell spans rows. A row-spanning PRODUCT forces auto-placement
   to open an extra row that nothing else fills, leaving visible empty cells. */
.cell--tall { grid-row: span 2; }
.cell--wide { grid-column: span 2; }

/* -- solid burnt-orange copy block -- */
.cell--block {
  background: var(--orange-ink); color: var(--cream);
  padding: clamp(26px, 3.4vw, 44px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  position: relative; overflow: hidden;
}
.cell--block::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 200px;
  background: repeating-conic-gradient(from 180deg at 50% 100%,
      rgba(242,231,206,.22) 0deg 2.2deg, transparent 2.2deg 10deg);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 100%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 100%, #000 10%, transparent 72%);
  pointer-events: none;
}
.cell--block > * { position: relative; z-index: 1; }
.cell--block h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.03em;
  line-height: 1.04; }
/* copy and CTA sit together at the foot of the cell, heading alone at the top */
.cell--block__foot { position: relative; z-index: 1; margin-top: auto; display: grid; gap: 24px; justify-items: start; }
.cell--block p { margin: 0; color: var(--cream); font-size: 15px; max-width: 42ch; }

/* -- photo mosaic cell -- */
.cell--mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 0; background: var(--wash); }
.cell--mosaic img { width: 100%; height: 100%; object-fit: cover; min-height: 120px; }

/* -- hero cell (top of shop) -- */
.cell--hero {
  background: var(--wash); padding: clamp(26px, 3.6vw, 48px);
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
}
/* h1 on the shop page (its top-level heading), h2 wherever the cell is reused */
.cell--hero h1, .cell--hero h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); font-weight: 700;
  letter-spacing: -.034em; line-height: 1.02; }
.cell--hero p { margin: 0; color: var(--choco-70); font-size: 16px; max-width: 34ch; }
.cell--photo { position: relative; min-height: 260px; background: var(--terracotta); }
.cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.proof { background: var(--cream-lift); border-block: 1px solid var(--rule); }
.proof__in { padding-block: var(--sec); }
.quotes { display: grid; gap: clamp(34px, 4.5vw, 48px); margin-top: clamp(40px, 5vw, 60px); }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 44px); } }
.quote { position: relative; padding-top: 8px; }
.quote::before { content: "“"; font-family: var(--sans); font-weight: 800; font-size: 84px; line-height: .62;
  color: var(--ochre); display: block; margin-bottom: 10px; }
.quote blockquote { margin: 0; font-size: clamp(19px, 1.4vw, 22px); font-weight: 400; line-height: 1.45;
  letter-spacing: -.015em; color: var(--choco); }
.quote figcaption { margin-top: 20px; font-size: 13px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--rust); }

/* ============================================================
   ROOTS — email capture (burnt orange)
   ============================================================ */
.roots { padding-block: var(--sec); }
.roots__panel {
  position: relative; overflow: hidden;
  background: var(--orange-ink); color: var(--cream);
  border-radius: clamp(var(--r-lg), 4vw, 44px);
  padding: clamp(44px, 6vw, 84px) clamp(26px, 5vw, 76px);
  box-shadow: var(--shadow-soft); text-align: center;
}
.roots__panel::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 260px;
  background: repeating-conic-gradient(from 180deg at 50% 100%,
      rgba(242,231,206,.24) 0deg 2.2deg, transparent 2.2deg 10deg);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 100%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 100%, #000 10%, transparent 72%);
  pointer-events: none;
}
.roots__panel > * { position: relative; }
.roots .eyebrow { color: var(--cream); justify-content: center; }
.roots .eyebrow::before { background: var(--ochre); }
.roots h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(36px, 5.8vw, 68px);
  line-height: .9; letter-spacing: -.035em; text-transform: uppercase; margin: 0; }
.roots p { margin: 20px auto 0; max-width: 40ch; color: var(--cream);
  font-size: clamp(16.5px, .4vw + 15.5px, 18.5px); }
.form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin: clamp(30px, 4vw, 40px) auto 0; max-width: 520px; }
.form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form input {
  flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 14px 22px;
  background: var(--cream); color: var(--choco);
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 16px; transition: border-color .3s var(--ease);
}
.form input::placeholder { color: var(--choco-45); }
.form input:focus { outline: none; border-color: var(--ochre); }
.form input:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.form .btn { flex: 0 0 auto; }
.form__note { margin-top: 18px !important; font-size: 14px !important; color: var(--cream) !important; }
.form__ok { margin-top: 20px !important; font-size: 19px !important; font-weight: 600; color: var(--cream) !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--choco); color: rgba(242,231,206,.80); }
.foot__in { padding-block: clamp(52px, 7vw, 84px) 34px; }
.foot__top { display: grid; gap: 34px; }
@media (min-width: 760px) { .foot__top { grid-template-columns: 1fr auto; align-items: start; gap: 60px; } }
.foot .wordmark { color: var(--cream); font-size: clamp(34px, 4.2vw, 50px); margin: 0; display: block; }
.foot .wordmark span { color: var(--ochre); }
.foot__tag { margin: 8px 0 0; font-size: 18px; color: rgba(242,231,206,.78); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.foot nav a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  font-size: 14px; letter-spacing: .07em; text-transform: uppercase; font-weight: 600;
  color: rgba(242,231,206,.84); text-decoration: none; transition: color .3s var(--ease);
}
.foot nav a:hover { color: var(--ochre); }
.foot__bar {
  margin-top: clamp(40px, 5vw, 60px); padding-top: 24px; border-top: 1px solid rgba(242,231,206,.16);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13px; color: rgba(242,231,206,.74);
}

/* ============================================================
   PROSE (ritual / about long-form)
   ============================================================ */
.prose { padding-block: var(--sec); }
.prose__grid { display: grid; gap: clamp(36px, 5vw, 60px); }
@media (min-width: 900px) { .prose__grid { grid-template-columns: 1fr 1.25fr; gap: clamp(48px, 6vw, 96px); } }
.prose h2 { font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 4.2vw, 52px); line-height: .9; letter-spacing: -.035em; margin: 0; }
.prose p { color: var(--choco-70); font-size: clamp(17px, .5vw + 16px, 19px); margin: 0 0 22px; max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }
.prose p strong { color: var(--choco); font-weight: 600; }
.prose figure { margin: 0; }
.prose figure img { border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.prose figcaption { margin-top: 14px; font-size: 14px; color: var(--choco-45); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0;
  border-top: 1px solid var(--rule); }
/* stacked by default: a long unbreakable value (an email) would otherwise
   force the whole column wider than a 320px screen */
.facts li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0;
  border-bottom: 1px solid var(--rule); }
.facts dt, .facts .k { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust); }
.facts .v { color: var(--choco-70); margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 560px) {
  .facts li { flex-direction: row; align-items: baseline; gap: 18px; }
  .facts dt, .facts .k { flex: 0 0 clamp(96px, 16vw, 150px); }
}

/* ============================================================
   SCROLL REVEAL
   Uses the independent `translate` property, NOT `transform`, so a
   component's own hover transform composes with the reveal instead of
   overriding it at equal specificity.
   ============================================================ */
[data-reveal] {
  opacity: 0; translate: 0 26px;
  transition: opacity .9s var(--ease), translate 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; translate: none !important; transition: none !important; }
  .shot__title .w > span { transform: none !important; opacity: 1 !important; transition: none !important; }
  .card, .card__media img, .btn, .prod, .prod__media img, .tlink::after, .tlink svg { transition: none !important; }
  .card:hover, .btn:hover { transform: none; }
  .grain { display: none; }
}

/* ============================================================
   PRODUCT DETAIL — native <dialog> so focus trap, Esc and
   inertness come from the browser rather than hand-rolled JS.
   ============================================================ */
.prod { text-align: left; font: inherit; border: 0; cursor: pointer; width: 100%; }

dialog.lamp {
  border: 0; padding: 0; background: transparent;
  width: min(1040px, 94vw); max-height: 92dvh; margin: auto;
  overflow: visible;
}
dialog.lamp::backdrop { background: rgba(45,26,13,.66); backdrop-filter: blur(3px); }
dialog.lamp[open] { animation: lampIn .42s cubic-bezier(.16,1,.3,1); }
@keyframes lampIn { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { dialog.lamp[open] { animation: none; } }

.sheetview {
  position: relative; display: grid;
  background: var(--cream-lift);
  border-radius: clamp(var(--r-md), 3vw, 30px);
  overflow: hidden; max-height: 92dvh;
  box-shadow: 0 40px 90px -30px rgba(45,26,13,.7);
}
@media (min-width: 860px) { .sheetview { grid-template-columns: 1.02fr 1fr; } }

.sheetview__media {
  background: var(--wash); position: relative;
  display: grid; place-items: center;
  padding: clamp(18px, 3vw, 40px);
  min-height: clamp(220px, 34vw, 420px);
}
.sheetview__media img { width: 100%; height: 100%; max-height: 380px; object-fit: contain; }
.sheetview__flag {
  position: absolute; left: 14px; top: 14px;
  background: var(--orange-ink); color: var(--cream);
  padding: 5px 11px; border-radius: 4px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.sheetview__body { padding: clamp(24px, 3.2vw, 44px); overflow-y: auto; }
.sheetview__body h2 {
  margin: 0; font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 4vw, 46px); line-height: .9; letter-spacing: -.035em;
}
.sheetview__price { margin: 14px 0 0; font-weight: 800; font-size: 26px;
  letter-spacing: -.03em; color: var(--rust); }
.sheetview__desc { margin: 18px 0 0; color: var(--choco-70); font-size: 16.5px; max-width: 46ch; }
.sheetview .facts { margin-top: 24px; }
.sheetview .facts li { padding: 13px 0; }
.sheetview__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.sheetview__buy span { font-size: 14px; color: var(--choco-45); }

.lamp__close {
  position: absolute; z-index: 3; top: 10px; right: 10px;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(242,231,206,.94); color: var(--choco);
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(74,47,29,.7);
  transition: background-color .3s var(--ease);
}
.lamp__close:hover { background: var(--cream); }
.lamp__close svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 2.1; fill: none; stroke-linecap: round; }

html.lamp-open { overflow: hidden; }

/* cut-out product on a tinted card, rather than a room photograph */
.card--product .card__media { background: var(--wash); }
.card--product .card__media img {
  object-fit: contain;
  padding: clamp(22px, 3.4vw, 44px);
}
.card--product:hover .card__media img,
.card--product:focus-visible .card__media img { transform: scale(1.04); }

/* ============================================================
   CART — bag button, count badge and slide-in drawer
   ============================================================ */
.nav__cart { position: relative; border: 0; background: transparent; cursor: pointer; }
.nav__cart-count {
  position: absolute; top: 1px; right: 0;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--orange-ink); color: var(--cream);
  border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1;
  box-shadow: 0 0 0 2px var(--clay);
}
.nav__cart-count[hidden] { display: none; }

dialog.cart {
  border: 0; padding: 0; background: transparent;
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh;
  width: min(440px, 94vw); max-width: 94vw;
}
dialog.cart::backdrop { background: rgba(45,26,13,.62); backdrop-filter: blur(3px); }
dialog.cart[open] { animation: cartIn .4s cubic-bezier(.16,1,.3,1); }
@keyframes cartIn { from { translate: 100% 0; } to { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { dialog.cart[open] { animation: none; } }

.cartpanel {
  display: flex; flex-direction: column; height: 100dvh;
  background: var(--cream-lift); box-shadow: -30px 0 70px -30px rgba(45,26,13,.7);
}
.cartpanel__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px clamp(16px, 4vw, 26px);
  background: var(--clay); border-bottom: 1px solid var(--clay-rule);
}
.cartpanel__head h2 {
  margin: 0; margin-right: auto; color: var(--choco);
  font-size: 19px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase;
}
.cartpanel__close {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 999px; cursor: pointer; color: var(--choco);
}
.cartpanel__close:hover { background: rgba(74,47,29,.12); }
.cartpanel__close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; }

.cartpanel__items { flex: 1 1 auto; overflow-y: auto; padding: 0 clamp(16px, 4vw, 26px); }
.cartpanel__empty { padding: 48px 0; text-align: center; color: var(--choco-70); }
.cartpanel__empty p { margin: 0 0 22px; }

.cartline {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 14px;
  align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.cartline__thumb { background: var(--wash); border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.cartline__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cartline__name { margin: 0; font-size: 15.5px; font-weight: 700; letter-spacing: -.015em; }
.cartline__price { margin: 2px 0 8px; font-size: 14px; color: var(--choco-45); }
.cartline__qty { display: inline-flex; align-items: center; border: 1.5px solid var(--choco-15); border-radius: 999px; }
.cartline__qty button {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer; color: var(--choco);
  font-size: 18px; font-weight: 700; line-height: 1; border-radius: 999px;
}
.cartline__qty button:hover { background: rgba(74,47,29,.10); }
.cartline__qty output { min-width: 26px; text-align: center; font-weight: 700; font-size: 15px; }
.cartline__remove {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer; color: var(--rust); border-radius: 999px;
}
.cartline__remove:hover { background: rgba(158,74,46,.12); }
.cartline__remove svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cartline__sum { align-self: start; padding-top: 2px; font-weight: 800; font-size: 15px; letter-spacing: -.02em; }

.cartpanel__foot {
  flex: none; padding: clamp(18px, 3vw, 24px) clamp(16px, 4vw, 26px);
  border-top: 1px solid var(--rule); background: var(--cream);
}
.cartpanel__row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.cartpanel__row span:first-child { margin-right: auto; font-size: 14px; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700; color: var(--choco-45); }
.cartpanel__total { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--rust); }
.cartpanel__note { margin: 4px 0 16px; font-size: 13px; color: var(--choco-45); }
.cartpanel__foot .btn { width: 100%; }

/* ============================================================
   SPLASH — black screen, a pull-cord, the light comes on.
   Home page only, once per session. `html.splashing` is set by an
   inline script in <head> BEFORE first paint, so repeat visitors
   never see a flash of black. The state classes are deliberately NOT
   called `splash` — that is the overlay div's class, and sharing the
   name made these full-screen rules apply to <html> as well.
   ============================================================ */
html.splashing, html.splashing body { overflow: hidden; }
html.splashing body > *:not(.splash) { opacity: 0; }
html.splashed body > *:not(.splash) { opacity: 1; transition: opacity .95s var(--ease) .1s; }

/* absent the class (repeat visit, reduced motion, no JS) the markup is inert */
html:not(.splashing) .splash { display: none; }

.splash {
  position: fixed; inset: 0; z-index: 200;
  background: #0B0705;
  opacity: 1; transition: opacity .8s var(--ease);
}
.splash.is-gone { opacity: 0; pointer-events: none; }

/* the warm bloom that arrives with the click of the switch */
.splash__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(ellipse 62% 48% at 50% -6%, rgba(255,214,140,.95), rgba(214,154,45,.55) 38%, rgba(193,90,43,.22) 62%, transparent 80%);
  transition: opacity .55s ease-out;
}
.splash.is-on .splash__glow { opacity: 1; }

.splash__in {
  position: relative; z-index: 1;
  height: 100dvh; display: flex; flex-direction: column; align-items: center;
  padding-bottom: clamp(40px, 10vh, 90px);
}

/* ---- the cord ---- */
.splash__pull {
  --cord: clamp(120px, 22vh, 230px);
  --pull: 0px;
  position: relative; flex: none; pointer-events: none;
  width: 64px;
  height: calc(var(--cord) + var(--pull) + 38px);
  display: flex; flex-direction: column; align-items: center;
}
.splash__cord {
  width: 2px; height: calc(var(--cord) + var(--pull));
  background: linear-gradient(180deg, #4a3a2c, #8a7358);
  border-radius: 0 0 2px 2px;
  /* snappy on the way down, softer on the way back */
  transition: height .22s cubic-bezier(.3,.9,.3,1);
}
.splash.is-back .splash__cord { transition: height .5s cubic-bezier(.34,1.4,.64,1); }
.splash__knob {
  width: 17px; height: 34px; flex: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #E0B25A, #A97C2E);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 6px 16px -6px rgba(0,0,0,.9);
}
.splash.is-on .splash__knob { box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 0 22px 4px rgba(255,206,128,.55); }

/* idle sway, so it reads as pullable */
.splash:not(.is-pulling):not(.is-on) .splash__pull { animation: sway 4.2s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes sway { 0%, 100% { rotate: -1.4deg; } 50% { rotate: 1.4deg; } }


.splash__mark {
  margin: auto 0; flex: none;
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 11vw, 128px); line-height: 1; letter-spacing: -.04em;
  color: rgba(242,231,206,.16);
  transition: color .7s ease-out, text-shadow .7s ease-out;
}
.splash.is-on .splash__mark { color: var(--cream); text-shadow: 0 0 60px rgba(255,206,128,.4); }


/* the splash never runs under reduced motion — the gate in <head> skips it */

/* ============================================================
   DEMO NOTICE — Loam is a fictional brand built as a portfolio
   demo. These clues have to survive the site being opened
   directly, outside the Spiral demo viewer.
   ============================================================ */
.demoflag {
  position: fixed; z-index: 90; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 18px 10px 14px;
  background: var(--choco); color: var(--cream);
  border-radius: 999px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.8);
  text-decoration: none;
  transition: background-color .3s var(--ease);
}
.demoflag:hover { background: #5D3C25; color: var(--cream); }
.demoflag::before {
  content: ""; width: 8px; height: 8px; flex: none;
  border-radius: 50%; background: var(--ochre);
}
.demoflag span { font-weight: 400; letter-spacing: .04em; text-transform: none; opacity: .8; }
@media (max-width: 520px) { .demoflag span { display: none; } }

/* footer disclosure — the one that gets read */
.foot__demo {
  margin: 22px 0 0; padding: 16px 18px;
  border: 1px solid rgba(242,231,206,.24); border-radius: var(--r-sm);
  font-size: 13.5px; line-height: 1.55; color: rgba(242,231,206,.84);
  max-width: 62ch;
}
.foot__demo strong { color: var(--cream); font-weight: 700; }
.foot__demo a { color: var(--ochre); }
