/* ══════════════════════════════════════════════════════════════
   MNR — Spirit Oracle Mandalas
   ══════════════════════════════════════════════════════════════ */

:root{
  /* one sans serif throughout — Cabin, as on mothernaturesremedy.com.
     --serif is kept as the display role so existing rules need no rename. */
  --sans: "Cabin", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: var(--sans);
  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --rule: 1px;
}

/* the Mother Nature's Remedy palette, sampled off mothernaturesremedy.com */
body[data-theme="mnr"]{
  --bg:#f4f2e9;  --bg-2:#ebe8da;
  --fg:#2c2528;  --fg-2:#5d5559;  --fg-3:#8f878b;
  --leaf:#89c21e; --leaf-deep:#5c8018; --moss:#5f7d2b;
  --line: rgba(44,37,40,.14);
  --panel:#ffffff;
  --fabric:#f2ede1;  --fabric-2:#e0d8c5;
  --grain-blend: multiply; --grain-opacity:.22;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--sans); color:var(--fg);
  background:var(--bg);
  font-size:16px; line-height:1.55; overflow-x:hidden;
  transition:color .9s var(--ease);
  -webkit-font-smoothing:antialiased;
}
img{ display:block; max-width:100%; }
h1,h2,h3,h4,p{ margin:0; }
a{ color:inherit; text-decoration:none; }
button,input{ font:inherit; color:inherit; }

/* ── background stack ─────────────────────────────────────── */
/* `isolation` keeps the multiply blending inside this box; without it the
   blended canvas washes out everything painted above it. */
#bg{ position:fixed; inset:0; z-index:0; isolation:isolate; pointer-events:none; }
#veil{
  position:absolute; inset:0; background:var(--bg);
  transition:background .9s var(--ease);
}
#flow{
  position:absolute; inset:0; width:100%; height:100%;
  opacity:0; transition:opacity 1.6s var(--ease);
  mix-blend-mode:multiply;   /* the field prints onto the page colour */
}
#flow.on{ opacity:1; }
#grain{
  position:absolute; inset:0;
  opacity:var(--grain-opacity); mix-blend-mode:var(--grain-blend);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='.5'/></svg>");
}
/* isolated as well, so a blend used inside the content (the printed
   mockups) can never reach back through to the field behind it */
main, .foot, #nav{ position:relative; z-index:3; isolation:isolate; }

/* ── cursor ───────────────────────────────────────────────── */
#cursor{
  position:fixed; top:0; left:0; z-index:90; pointer-events:none;
  width:34px; height:34px; margin:-17px 0 0 -17px; opacity:0;
  transition:opacity .3s;
}
#cursor span{
  display:block; width:100%; height:100%; border-radius:50%;
  border:1px solid var(--fg); transition:transform .35s var(--ease), background .35s;
}
#cursor.ready{ opacity:1; }
#cursor.hot span{ transform:scale(1.75); background:color-mix(in srgb, var(--fg) 12%, transparent); }
#cursor.drag span{ transform:scale(2.1); }
@media (hover:hover) and (pointer:fine){
  body, a, button{ cursor:none; }
}
@media (hover:none){ #cursor{ display:none; } }

/* ── preloader ────────────────────────────────────────────── */
#boot{
  position:fixed; inset:0; z-index:100; background:var(--bg);
  display:grid; place-content:center; gap:1.6rem; justify-items:center;
  transition:opacity .8s var(--ease), visibility .8s;
}
#boot.done{ opacity:0; visibility:hidden; }
.boot-mark{ display:flex; gap:.35em; font-family:var(--serif); font-size:clamp(3rem,11vw,7rem); line-height:1; }
.boot-mark span{ opacity:0; transform:translateY(.35em); animation:bootIn .9s var(--ease) forwards; }
.boot-mark span:nth-child(2){ animation-delay:.12s; }
.boot-mark span:nth-child(3){ animation-delay:.24s; }
@keyframes bootIn{ to{ opacity:1; transform:none; } }
.boot-bar{ width:min(220px,40vw); height:1px; background:var(--line); overflow:hidden; }
.boot-bar i{ display:block; height:100%; width:0; background:var(--fg); transition:width .3s linear; }
.boot-count{ font-size:.7rem; letter-spacing:.3em; color:var(--fg-3); font-variant-numeric:tabular-nums; }

/* ── nav ──────────────────────────────────────────────────── */
#nav{
  position:fixed; top:0; left:0; right:0; z-index:40;
  display:flex; align-items:center; justify-content:space-between;
  padding:1.15rem var(--pad);
  transition:transform .5s var(--ease), background .6s, backdrop-filter .6s;
}
#nav.hidden{ transform:translateY(-105%); }
#nav.stuck{ background:color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter:blur(14px) saturate(1.2); }
.nav-mark{ font-family:var(--serif); font-size:1.5rem; letter-spacing:.06em; }
.nav-links{ display:flex; gap:2rem; }
.nav-links a, .nav-bag{
  font-size:.68rem; letter-spacing:.22em; text-transform:uppercase;
  background:none; border:0; padding:0; position:relative;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-5px; height:1px; width:100%;
  background:currentColor; transform:scaleX(0); transform-origin:right;
  transition:transform .45s var(--ease);
}
.nav-links a:hover::after{ transform:scaleX(1); transform-origin:left; }
.nav-bag em{ font-style:normal; font-variant-numeric:tabular-nums; }
@media (max-width:720px){ .nav-links{ display:none; } }

/* ── shared section furniture ─────────────────────────────── */
section{ padding:clamp(5rem,13vh,10rem) var(--pad); position:relative; }
.sec-head{ margin-bottom:clamp(2.5rem,6vw,5rem); }
.sec-head h2{
  font-family:var(--serif); font-weight:600; line-height:1;
  font-size:clamp(2.2rem,6vw,4.6rem); letter-spacing:-.02em;
}
.sec-head p{ margin-top:1rem; color:var(--fg-2); font-size:.9rem; max-width:34ch; }
.eyebrow{
  font-size:.66rem; letter-spacing:.32em; text-transform:uppercase; color:var(--fg-2);
}

/* reveal-on-scroll — only hides once JS confirms it can reveal again */
.js-reveal .reveal{ opacity:0; transform:translateY(22px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.in{ opacity:1; transform:none; }
.sec-head .reveal:nth-child(2){ transition-delay:.1s; }

/* ── hero ─────────────────────────────────────────────────── */
.hero{
  min-height:100svh; display:flex; flex-direction:column; justify-content:center;
  padding-top:clamp(6rem,14vh,9rem); padding-bottom:3rem;
}
/* ── the opening: the seal draws itself in ────────────────── */
.boot-seal{
  position:relative; display:grid; place-items:center;
  width:clamp(190px,36vmin,360px); aspect-ratio:1; margin-bottom:clamp(1.5rem,4vh,2.6rem);
}
.boot-ring{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.boot-ring circle{
  fill:none; stroke:var(--leaf-deep); stroke-width:1.2; opacity:.55;
  transform:rotate(-90deg); transform-origin:50% 50%;
  stroke-dasharray:1 1; stroke-dashoffset:1;
  animation:sealRing 1.5s var(--ease-io) forwards;
  pathLength:1;
}
.boot-ring .r2{ stroke-width:.6; opacity:.3; animation-delay:.18s; animation-duration:1.7s; }
@keyframes sealRing{ to{ stroke-dashoffset:0; } }

.boot-logo{
  position:relative; z-index:2; width:84%; aspect-ratio:1; display:none;
  background-size:contain; background-repeat:no-repeat; background-position:center;
  opacity:0; transform:scale(.9) rotate(-7deg);
  animation:sealIn 1.5s var(--ease) .25s forwards;
}
html.has-logo .boot-logo{ display:block; background-image:url(../img/logo-s.webp); }
html.has-logo .boot-mark{ display:none; }
@keyframes sealIn{
  0%  { opacity:0; transform:scale(.9) rotate(-7deg); filter:blur(5px); }
  60% { opacity:1; filter:blur(0); }
  100%{ opacity:1; transform:none; filter:blur(0); }
}
/* and it breathes once it has landed */
html.has-logo #boot .boot-seal::after{
  content:""; position:absolute; inset:-6%; border-radius:50%; z-index:1;
  background:radial-gradient(circle, color-mix(in srgb,var(--leaf) 30%,transparent), transparent 66%);
  opacity:0; animation:sealGlow 2.4s var(--ease-io) .7s infinite alternate;
}
@keyframes sealGlow{ from{ opacity:0 } to{ opacity:.75 } }
/* the whole seal lifts away with the screen */
#boot.done .boot-seal{ transform:scale(1.06) translateY(-8px); transition:transform .8s var(--ease); }

/* the seal in the footer, when the file is there */
.foot-seal{
  display:none; width:clamp(110px,12vw,160px); aspect-ratio:1; margin:0 0 1.6rem;
  background-size:contain; background-repeat:no-repeat; background-position:center;
  transition:transform 1.2s var(--ease);
}
html.has-logo .foot-seal{ display:block; background-image:url(../img/logo-s.webp); }
.foot-seal:hover{ transform:rotate(8deg) scale(1.04); }

/* and stamped on every label, the way a real one carries its maker */
.sheet-seal{
  display:none; float:right; width:clamp(54px,6vw,76px); aspect-ratio:1; margin:0 0 .6rem 1rem;
  background-size:contain; background-repeat:no-repeat; background-position:center; opacity:.9;
}
html.has-logo .sheet-seal{ display:block; background-image:url(../img/logo-s.webp); }

@media (prefers-reduced-motion:reduce){
  .boot-ring circle, .boot-logo, html.has-logo #boot .boot-seal::after{ animation:none; }
  .boot-logo{ opacity:1; transform:none; }
}

/* ── the hero: a kaleidoscope, with three windows cut in it ── */
.hero-kal{
  position:relative; overflow:hidden; justify-content:center;
  margin-inline:calc(var(--pad) * -1); padding-inline:var(--pad);
  padding-top:clamp(6rem,14vh,9rem);
}
.kal{
  position:absolute; left:50%; top:46%; transform:translate(-50%,-50%);
  width:min(150vh,1500px); aspect-ratio:1; z-index:0; pointer-events:none;
  display:grid; place-items:center; animation:spin 120s linear infinite;
}
.kal img{
  position:absolute; grid-area:1/1; width:46%; transform-origin:50% 100%;
  mix-blend-mode:multiply; opacity:.46;
}
.kal-veil{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(44% 42% at 50% 44%,
    color-mix(in srgb,var(--bg) 88%,transparent) 0%,
    color-mix(in srgb,var(--bg) 52%,transparent) 58%, transparent 86%);
}
.kal-inner{ position:relative; z-index:2; display:grid; justify-items:center; text-align:center; gap:1rem; }
.hero-kal .eyebrow{ margin-bottom:.4rem; }
.hero-kal .hero-line{ max-width:34ch; margin-inline:auto; }
.hero-kal .hero-actions{ justify-content:center; margin-top:.4rem; }

/* the three windows */
.portals{ display:flex; gap:clamp(.6rem,1.6vw,1.3rem); justify-content:center; flex-wrap:nowrap; }
.portal{
  position:relative; border:0; padding:0; background:none; cursor:pointer;
  width:clamp(104px,16vw,230px); aspect-ratio:.82; border-radius:14px; overflow:hidden;
  box-shadow:0 18px 34px rgba(44,37,40,.16), inset 0 0 0 1px rgba(44,37,40,.08);
  transition:transform .6s var(--ease), box-shadow .6s var(--ease);
  background:color-mix(in srgb,var(--bg) 70%, #fff);
}
.portal:nth-child(2){ transform:translateY(-6%) scale(1.06); z-index:2; }
.portal:hover{ transform:translateY(-10px) scale(1.04); box-shadow:0 26px 44px rgba(44,37,40,.22); }
.portal:nth-child(2):hover{ transform:translateY(-10%) scale(1.09); }
.portal-art{ position:absolute; inset:0; display:block; }
.portal-shot{
  position:absolute; inset:0; display:grid; place-items:center; padding:6%;
  opacity:0; transform:scale(1.04); transition:opacity .8s var(--ease), transform 1.2s var(--ease);
}
.portal-shot.on{ opacity:1; transform:none; }
.portal-shot > img{ width:100%; height:100%; object-fit:contain; }
.portal-shot .tee{ width:86%; }
.portal-cap{
  position:absolute; left:0; right:0; bottom:0; z-index:3; padding:.5rem .6rem;
  font-size:.5rem; letter-spacing:.14em; text-transform:uppercase; color:#fff;
  background:linear-gradient(transparent, rgba(30,26,22,.62));
  opacity:0; transition:opacity .4s var(--ease);
}
.portal:hover .portal-cap{ opacity:1; }
@media (max-width:860px){
  .portal{ width:clamp(88px,27vw,150px); }
  .hero-meta .hero-count{ display:none; }
}

/* the field runs full-bleed behind the hero, so the paper is drawn back up
   under the copy and released towards the right, where nothing is set */
.hero::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:linear-gradient(103deg,
    color-mix(in srgb, var(--bg) 94%, transparent) 0%,
    color-mix(in srgb, var(--bg) 82%, transparent) 34%,
    color-mix(in srgb, var(--bg) 34%, transparent) 62%,
    transparent 82%);
}
.hero-inner, .hero-meta{ position:relative; z-index:1; }
.hero-inner{ max-width:min(1100px, 100%); }
.hero .eyebrow, .hero-meta{ color:color-mix(in srgb, var(--fg) 74%, transparent); }
.wordmark{
  font-family:var(--serif); font-weight:700; line-height:1;
  font-size:clamp(5rem, 24vw, 20rem); letter-spacing:-.03em; color:var(--leaf-deep);
  display:flex; margin:.04em 0 .1em; user-select:none;
}
/* the clip box is widened so overhanging serifs survive whichever
   face the visitor's system resolves from the stack */
.wordmark .letter{ overflow:hidden; display:block; padding:0 .04em; margin:0 -.02em; }
.wordmark .letter i{
  display:block; font-style:normal; transform:translateY(105%);
  transition:transform 1.1s var(--ease);
}
.wordmark .letter:nth-child(2) i{ transition-delay:.09s; }
.wordmark .letter:nth-child(3) i{ transition-delay:.18s; }
body.lit .wordmark .letter i{ transform:none; }
.hero-line{
  font-family:var(--serif); font-size:clamp(1.05rem,2.1vw,1.7rem);
  line-height:1.4; max-width:34ch; color:var(--fg);
}
.hero-actions{ display:flex; gap:.75rem; flex-wrap:wrap; margin-top:2.2rem; transition-delay:.15s; }
.hero-meta{
  display:flex; justify-content:space-between; align-items:flex-end;
  margin-top:auto; padding-top:3rem; gap:1rem;
  font-size:.66rem; letter-spacing:.28em; text-transform:uppercase; color:var(--fg-2);
}
.rotator{ display:inline-block; transition:opacity .45s, transform .45s var(--ease); }
.rotator.swap{ opacity:0; transform:translateY(-.5em); }
.scrollcue{ display:flex; align-items:center; gap:.7rem; }
.scrollcue i{
  display:block; width:38px; height:1px; background:var(--fg-3); position:relative; overflow:hidden;
}
.scrollcue i::after{
  content:""; position:absolute; inset:0; background:var(--fg);
  animation:cue 2.4s var(--ease-io) infinite;
}
@keyframes cue{ 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }

/* buttons */
[hidden]{ display:none !important; }
.btn{
  display:inline-block; padding:.95rem 1.7rem; border:var(--rule) solid var(--leaf-deep);
  background:var(--leaf); color:#fff; border-radius:999px; font-weight:600;
  font-size:.66rem; letter-spacing:.24em; text-transform:uppercase;
  position:relative; overflow:hidden; isolation:isolate;
}
.btn span{ position:relative; z-index:2; transition:color .5s var(--ease); }
.btn::before{
  content:""; position:absolute; inset:0; background:var(--leaf-deep); z-index:1;
  transform:translateY(101%); transition:transform .55s var(--ease);
}
.btn:hover::before{ transform:none; }
.btn:hover span{ color:#fff; }
.btn.ghost{ background:transparent; color:var(--leaf-deep); border-color:var(--leaf-deep); }
.btn.ghost:hover span{ color:#fff; }

/* ── ticker ───────────────────────────────────────────────── */
.ticker{
  position:relative; z-index:3; overflow:hidden; padding:1.1rem 0;
  border-top:var(--rule) solid var(--line); border-bottom:var(--rule) solid var(--line);
  background:color-mix(in srgb, var(--bg) 55%, transparent);
}
.ticker-track{
  display:flex; gap:2.2rem; align-items:center; width:max-content;
  animation:slide 34s linear infinite;
  font-family:var(--serif); font-size:clamp(1.1rem,2.6vw,2rem); white-space:nowrap;
}
.ticker-track b{ font-size:.5em; color:var(--fg-3); }
@keyframes slide{ to{ transform:translateX(-50%); } }

/* ── collection ───────────────────────────────────────────── */
.grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(2.5rem,4vw,4rem) clamp(1rem,2.2vw,2rem);
}
.card{ position:relative; }
@media (max-width:1100px){ .grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ .grid{ grid-template-columns:repeat(2,1fr); } }
.card-fig{
  position:relative; overflow:hidden; background:var(--panel); border:0; padding:0;
  aspect-ratio:1; display:grid; place-items:center;
  transition:background .6s var(--ease);
}
.card-fig svg, .card-fig .mock{ width:94%; transition:transform 1s var(--ease); }
.card-fig svg{ height:88%; overflow:visible; }
.card:hover .card-fig svg,
.card:hover .card-fig .mock{ transform:scale(1.04); }

/* ── photographed mockup ──────────────────────────────────── */
/* the print multiplies onto the garment so the fabric's own folds and
   shadows read through the ink */
.mock{ position:relative; aspect-ratio:1; isolation:isolate; }
.mock-body{ width:100%; height:100%; object-fit:contain; }
/* Multiply drops the artwork's paper on its own — anything white leaves the
   cloth untouched, so there is no white box behind the print. brightness()
   lifts the scan's near-white to true white so no faint square edge survives,
   without meaningfully touching the pigment. */
.mock-print{
  position:absolute; transform:translate(-50%,-50%);
  mix-blend-mode:multiply; opacity:.94; pointer-events:none;
  filter:brightness(1.07);
}
/* the colourway, painted through a mask of the garment itself so the
   photo's folds and shadows survive the tint */
.mock-tint{
  position:absolute; inset:0; pointer-events:none;
  background:var(--tee,#fff); mix-blend-mode:multiply;
  -webkit-mask-size:contain; mask-size:contain;
  -webkit-mask-position:center; mask-position:center;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  transition:background .45s var(--ease);
}
.card-tag{
  position:absolute; left:0; bottom:0; padding:.5rem .8rem;
  font-size:.6rem; letter-spacing:.22em; text-transform:uppercase;
  background:var(--fg); color:var(--bg);
  transform:translateY(101%); transition:transform .5s var(--ease);
}
.card:hover .card-tag{ transform:none; }
.card-meta{
  display:flex; justify-content:space-between; gap:1rem; align-items:baseline;
  margin-top:1rem; padding-top:.8rem; border-top:var(--rule) solid var(--line);
}
.card-name{ font-family:var(--serif); font-size:clamp(1.1rem,1.9vw,1.6rem); line-height:1.1; }
.card-sub{ font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--fg-3); margin-top:.3rem; }
.card-price{ font-size:.8rem; font-variant-numeric:tabular-nums; white-space:nowrap; }

/* ── harmony ──────────────────────────────────────────────── */
/* photographed on the garment rather than composited, and given the room
   of a feature: it is a line of its own, not an item in the mandala grid */
.feature{
  display:grid; gap:clamp(2rem,5vw,5rem); align-items:center;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
@media (max-width:860px){ .feature{ grid-template-columns:1fr; gap:2rem; } }
.feature-fig{
  position:relative; display:block; width:100%; padding:0; border:0;
  background:var(--panel); overflow:hidden;
}
.feature-copy h2{
  font-family:var(--serif); font-weight:400; line-height:.95;
  font-size:clamp(2.4rem,6vw,4.4rem); letter-spacing:-.015em; margin:.6rem 0 1.1rem;
}
.feature-blurb{ font-size:1rem; line-height:1.6; color:var(--fg-2); max-width:44ch; }
.feature-meta{
  margin-top:1.2rem; font-size:.7rem; letter-spacing:.2em;
  text-transform:uppercase; color:var(--fg-2);
}
.feature-colours{ display:flex; gap:1.1rem; flex-wrap:wrap; margin:1.5rem 0 1.8rem; }
.feature-colours .fc{
  display:flex; flex-direction:column; align-items:center; gap:.45rem;
  font-size:.58rem; letter-spacing:.16em; text-transform:uppercase; color:var(--fg-2);
}
.feature-colours i{
  width:34px; height:34px; border-radius:50%; display:block;
  background-size:cover; background-position:center;
  box-shadow:inset 0 0 0 1px rgba(21,20,26,.22);
}
.feature-buy{ display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.harmony-shot{
  width:100%; aspect-ratio:1; object-fit:cover; display:block;
  transition:transform 1s var(--ease);
}
.feature-fig:hover .harmony-shot{ transform:scale(1.04); }
.feature-fig:hover .card-tag{ transform:none; }
.sheet-fig{ position:relative; }
.sheet-fig .harmony-shot{ width:100%; height:100%; object-fit:cover; }
.fig-note{
  position:absolute; left:0; right:0; bottom:0; padding:.7rem 1rem;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; text-align:center;
}
.fig-note[hidden]{ display:none; }

/* ── the cloth ────────────────────────────────────────────── */
.cloth-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(.75rem,1.6vw,1.5rem);
}
@media (max-width:760px){ .cloth-grid{ grid-template-columns:repeat(2,1fr); } }
/* an <img> wrapped for its AVIF twin still lays out as its parent's child */
picture{ display:contents; }
.cloth-item{ margin:0; }
.cloth-item img{
  width:100%; aspect-ratio:1; object-fit:cover; background:var(--panel);
  transition:transform 1s var(--ease);
}
.cloth-item:hover img{ transform:scale(1.03); }
.cloth-item figcaption{
  margin-top:.85rem; padding-top:.7rem; border-top:var(--rule) solid var(--line);
  font-size:.62rem; letter-spacing:.24em; text-transform:uppercase; color:var(--fg-2);
}

/* ── archive ──────────────────────────────────────────────── */
.archive-readout{
  display:flex; align-items:baseline; gap:1rem; margin-bottom:1.5rem;
  border-bottom:var(--rule) solid var(--line); padding-bottom:1rem; min-height:3.2rem;
}
.ro-num{ font-size:.7rem; letter-spacing:.2em; color:var(--fg-3); font-variant-numeric:tabular-nums; }
.ro-name{ font-family:var(--serif); font-size:clamp(1.2rem,3.4vw,2.4rem); line-height:1; }
.coins{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(76px,1fr));
  gap:clamp(2px,.5vw,6px);
}
.coin{
  position:relative; aspect-ratio:1; background:#f6f2e9; border:0; padding:0;
  overflow:hidden; opacity:.82; transition:opacity .4s, transform .5s var(--ease), filter .4s;
}
.coin img{ width:100%; height:100%; object-fit:cover; mix-blend-mode:multiply; }
.coin:hover, .coin:focus-visible{ opacity:1; transform:scale(1.12); z-index:2; outline:none; }
.coin::after{
  content:attr(data-n); position:absolute; top:4px; left:5px;
  font-size:.5rem; letter-spacing:.1em; color:#8d8778; opacity:0; transition:opacity .3s;
}
.coin:hover::after{ opacity:1; }

/* ── ethos ────────────────────────────────────────────────── */
.ethos{ display:block; }
.ethos-lede{
  font-family:var(--serif); font-size:clamp(1.25rem,2.6vw,2rem); line-height:1.35;
  max-width:34ch; margin-bottom:clamp(2.5rem,6vw,4.5rem);
}
.ethos-cols{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:clamp(2rem,5vw,4rem); }
.ethos-col h3{
  font-family:var(--serif); font-weight:400; font-size:clamp(1.5rem,3vw,2.3rem);
  margin-bottom:.8rem; padding-bottom:.8rem; border-bottom:var(--rule) solid var(--line);
}
.ethos-col p{ color:var(--fg-2); font-size:.92rem; max-width:34ch; }
.ethos-col:nth-child(2){ transition-delay:.1s; }
.ethos-col:nth-child(3){ transition-delay:.2s; }

/* ── signup ───────────────────────────────────────────────── */
.signup{ text-align:center; }
.signup h2{
  font-family:var(--serif); font-weight:400; line-height:1.05;
  font-size:clamp(1.9rem,5.5vw,4rem); max-width:16ch; margin-inline:auto;
}
.signup-actions{ transition-delay:.08s; }
.signup-form{
  display:flex; gap:0; max-width:440px; margin:2.5rem auto 0;
  border-bottom:var(--rule) solid var(--fg); transition-delay:.1s;
}
.signup-form input{
  flex:1; background:none; border:0; padding:.9rem .2rem; outline:none;
  font-size:.95rem;
}
.signup-form input::placeholder{ color:var(--fg-3); }
.signup-form button{
  background:none; border:0; padding:.9rem 0 .9rem 1.2rem;
  font-size:.66rem; letter-spacing:.24em; text-transform:uppercase; white-space:nowrap;
}
.signup-note{ margin-top:1rem; font-size:.78rem; color:var(--fg-2); min-height:1.4em; }

/* ── footer ───────────────────────────────────────────────── */
.foot{
  padding:clamp(3rem,7vw,6rem) var(--pad) 2rem;
  border-top:var(--rule) solid var(--line);
  display:grid; gap:clamp(2rem,5vw,4rem);
  grid-template-columns:minmax(0,1fr) auto;
}
.foot-mark{ font-family:var(--serif); font-size:clamp(3rem,12vw,9rem); line-height:.8; letter-spacing:-.02em; }
.foot-cols{ display:flex; gap:clamp(1.5rem,4vw,4rem); }
.foot-cols div{ display:flex; flex-direction:column; gap:.45rem; }
.foot-cols h4{
  font-size:.62rem; letter-spacing:.24em; text-transform:uppercase; color:var(--fg-3);
  font-weight:400; margin-bottom:.35rem;
}
.foot-cols a{ font-size:.82rem; opacity:.8; transition:opacity .3s; }
.foot-cols a:hover{ opacity:1; }
.foot-legal{
  grid-column:1 / -1; display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem;
  padding-top:1.5rem; border-top:var(--rule) solid var(--line);
  font-size:.68rem; color:var(--fg-3);
}
@media (max-width:640px){ .foot{ grid-template-columns:1fr; } }

/* ── product sheet ────────────────────────────────────────── */
.sheet{
  position:fixed; inset:0; z-index:70; background:var(--bg);
  overflow-y:auto; padding:clamp(3.5rem,8vw,5rem) var(--pad);
  opacity:0; visibility:hidden; transform:translateY(2%);
  transition:opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
}
.sheet.open{ opacity:1; visibility:visible; transform:none; }
.sheet-close{
  position:fixed; top:1.4rem; right:var(--pad); z-index:2;
  background:none; border:0; font-size:1.1rem; padding:.4rem;
}
.sheet-body{
  display:grid; gap:clamp(2rem,6vw,5rem); align-items:center;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); max-width:1300px; margin-inline:auto;
}
@media (max-width:820px){ .sheet-body{ grid-template-columns:1fr; } }
.sheet-fig{ background:var(--panel); aspect-ratio:1; display:grid; place-items:center; }
.sheet-fig svg{ width:84%; height:84%; overflow:visible; }
.sheet-fig .mock{ width:92%; }
.sheet-num{ font-size:.66rem; letter-spacing:.3em; text-transform:uppercase; color:var(--fg-3); }
.sheet-title{
  font-family:var(--serif); font-weight:400; line-height:.95;
  font-size:clamp(2.2rem,6vw,4.4rem); margin:.5rem 0 .2rem; letter-spacing:-.015em;
}
.sheet-garment{ font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; color:var(--fg-2); }
.sheet-msg{ margin:1.8rem 0; color:var(--fg-2); font-size:.95rem; max-width:44ch; }
.sheet-affirm{
  font-family:var(--serif); font-size:clamp(1.05rem,2.2vw,1.5rem); line-height:1.35;
  padding:1.2rem 0 1.2rem 1.4rem; border-left:2px solid var(--fg); max-width:38ch;
}
.sheet-swatches{ display:flex; gap:1rem; margin:1.6rem 0; flex-wrap:wrap; }
.sheet-swatches .sw{
  background:none; border:0; padding:0; display:flex; flex-direction:column;
  align-items:center; gap:.45rem; opacity:.72; transition:opacity .3s;
}
.sheet-swatches .sw[aria-pressed="true"]{ opacity:1; }
.sheet-swatches i{
  width:34px; height:34px; border-radius:50%; display:block;
  background-size:cover; background-position:center;
  box-shadow:inset 0 0 0 1px rgba(21,20,26,.22);
  outline:1px solid transparent; outline-offset:3px; transition:outline-color .3s;
}
.sheet-swatches .sw[aria-pressed="true"] i{ outline-color:var(--fg); }
.sheet-swatches span{ font-size:.58rem; letter-spacing:.16em; text-transform:uppercase; }
.sizes{ display:flex; gap:.5rem; flex-wrap:wrap; margin:1.6rem 0; }
.sizes button{
  background:none; border:var(--rule) solid var(--line); padding:.6rem 1rem;
  font-size:.68rem; letter-spacing:.16em; transition:border-color .3s, background .3s, color .3s;
}
.sizes button[aria-pressed="true"]{ border-color:var(--fg); background:var(--fg); color:var(--bg); }
.sheet-buy{ display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; margin-top:1.5rem; }
.sheet-price{ font-size:1.1rem; font-variant-numeric:tabular-nums; }
.sheet-ship{ margin-top:1.1rem; font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; }
.sheet-spec{ margin-top:.5rem; font-size:.78rem; color:var(--fg-2); }

/* ── the artist behind a collection ───────────────────────── */
.artist-note{ max-width:62ch; }
/* with a portrait the note runs two up: words left, artist right, the words
   centred against the taller image so neither column is left hanging */
.artist-note.has-portrait{
  max-width:none;
  display:grid; gap:clamp(2rem,4vw,4rem); align-items:center;
  grid-template-columns:minmax(0,1fr) clamp(300px, 38%, 480px);
}
.artist-words{ max-width:none; }
/* the bio runs in two narrow measures so the column fills rather than
   leaving a gutter beside the portrait */
.artist-bio{ columns:2; column-gap:clamp(1.5rem,3vw,2.75rem); }
.artist-bio p{ break-inside:avoid-column; }
@media (max-width:1180px){ .artist-bio{ columns:1; max-width:52ch; } }
/* matted like the product plates, so she does not float on the dark */
.artist-portrait{
  margin:0; background:var(--panel); padding:clamp(.5rem,1vw,.85rem);
}
.artist-portrait img{ width:100%; height:auto; display:block; }
@media (max-width:820px){
  .artist-note.has-portrait{ grid-template-columns:1fr; gap:2rem; }
  .artist-words{ max-width:none; }
  .artist-portrait{ order:-1; max-width:400px; }
}
.artist-note h3{
  font-size:.62rem; letter-spacing:.26em; text-transform:uppercase;
  color:var(--fg-3); font-weight:400; margin-bottom:1.1rem;
}
.artist-name{
  font-family:var(--serif); font-weight:400; line-height:1;
  font-size:clamp(2rem,4.4vw,3.4rem); letter-spacing:-.015em; margin-bottom:1.3rem;
}
.artist-note p + p{ margin-top:.9rem; }
.artist-bio p:first-child{ margin-top:0; }
.artist-note p:not(.artist-name){ font-size:.92rem; line-height:1.65; color:var(--fg-2); }
.artist-link{
  display:inline-block; margin-top:1.2rem; font-size:.66rem; letter-spacing:.2em;
  text-transform:uppercase; border-bottom:1px solid var(--line); padding-bottom:.25rem;
  transition:border-color .3s;
}
.artist-link:hover{ border-color:var(--fg); }

/* one line of credit on a listing — the note stays with the collection */
.sheet-credit{
  margin-top:1.4rem; padding-top:1.1rem; border-top:var(--rule) solid var(--line);
  font-size:.72rem; color:var(--fg-2);
}
.sheet-credit a{ border-bottom:1px solid var(--line); padding-bottom:.15rem; transition:border-color .3s; }
.sheet-credit a:hover{ border-color:var(--fg); }

/* ── bag / help drawer ────────────────────────────────────── */
.bag-veil{
  position:fixed; inset:0; z-index:78; background:rgba(21,20,26,.38);
  opacity:0; transition:opacity .4s var(--ease); backdrop-filter:blur(2px);
}
.bag-veil.on{ opacity:1; }
.bag{
  position:fixed; top:0; right:0; bottom:0; z-index:80;
  width:min(440px, 100%); background:var(--bg);
  border-left:var(--rule) solid var(--line);
  display:flex; flex-direction:column;
  transform:translateX(101%); transition:transform .5s var(--ease);
}
.bag.open{ transform:none; }
.bag-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:1.5rem var(--bagpad, 1.75rem) 1.1rem;
  border-bottom:var(--rule) solid var(--line);
}
.bag-head h2{ font-family:var(--serif); font-weight:400; font-size:1.8rem; }
.bag-close{ background:none; border:0; font-size:1rem; padding:.4rem; }
.bag-items{ flex:1; overflow-y:auto; padding:1.25rem var(--bagpad, 1.75rem); }
.bag-empty{ color:var(--fg-2); font-size:.9rem; }
.bag-line{
  display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:1rem;
  padding:1rem 0; border-bottom:var(--rule) solid var(--line); align-items:start;
}
.bag-line img{ width:64px; height:64px; object-fit:cover; background:var(--panel); }
.bag-line-copy h3{ font-family:var(--serif); font-weight:400; font-size:1.05rem; }
.bag-line-copy p{
  margin-top:.2rem; font-size:.62rem; letter-spacing:.16em;
  text-transform:uppercase; color:var(--fg-3);
}
.qty{ display:flex; align-items:center; gap:.7rem; margin-top:.6rem; }
.qty button{
  background:none; border:var(--rule) solid var(--line); width:26px; height:26px;
  line-height:1; transition:border-color .3s;
}
.qty button:hover{ border-color:var(--fg); }
.qty span{ font-size:.8rem; font-variant-numeric:tabular-nums; min-width:1ch; text-align:center; }
.bag-line-end{ display:flex; flex-direction:column; align-items:flex-end; gap:.6rem; }
.bag-line-price{ font-size:.85rem; font-variant-numeric:tabular-nums; }
.bag-remove{
  background:none; border:0; padding:0; font-size:.6rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--fg-3); border-bottom:1px solid var(--line);
}
.bag-remove:hover{ color:var(--fg); }
.bag-foot{ padding:1.25rem var(--bagpad, 1.75rem) 1.75rem; border-top:var(--rule) solid var(--line); }
.bag-total{
  display:flex; justify-content:space-between; align-items:baseline;
  font-size:.7rem; letter-spacing:.2em; text-transform:uppercase;
}
.bag-total span:last-child{ font-size:1.25rem; letter-spacing:0; font-variant-numeric:tabular-nums; }
.bag-ship{ margin-top:.5rem; font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--fg-3); }
.bag-foot .btn{ display:block; width:100%; text-align:center; margin-top:1.1rem; }
.bag-foot .btn.is-disabled{ opacity:.35; pointer-events:none; }
.bag-msg{ margin-top:.8rem; font-size:.78rem; color:var(--fg-2); min-height:1.2em; }
.help-panel .bag-items p + p{ margin-top:.9rem; }
.help-panel .bag-items p{ font-size:.92rem; line-height:1.65; color:var(--fg-2); }

/* ── toast ────────────────────────────────────────────────── */
.toast{
  /* 150% of its own height was not enough to clear the fold — an empty
     toast is only padding tall, so a slice of it sat on every screen */
  position:fixed; left:50%; bottom:2rem; z-index:95;
  transform:translate(-50%, calc(100% + 2rem));
  background:var(--fg); color:var(--bg); padding:.8rem 1.4rem;
  font-size:.68rem; letter-spacing:.18em; text-transform:uppercase;
  transition:transform .55s var(--ease);
}
.toast.show{ transform:translate(-50%,0); }

/* ── garment drawing ──────────────────────────────────────── */
.g-outline{ fill:none; stroke:rgba(30,26,20,.35); stroke-width:2.5; }
.g-seam{ fill:none; stroke:rgba(30,26,20,.22); stroke-width:1.5; stroke-dasharray:5 5; }
.g-shade{ fill:rgba(60,50,35,.07); }

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

/* ══════════════════════════════════════════════════════════════
   Mother Nature's Remedy theme + variants
   ══════════════════════════════════════════════════════════════ */

/* the announcement bar, as on mothernaturesremedy.com */
.announce{
  position:relative; z-index:4; background:var(--moss); color:#fff;
  text-align:center; font-size:.8rem; letter-spacing:.04em; padding:.55rem var(--pad);
}
.announce{ height:var(--announce); display:flex; align-items:center; justify-content:center; padding-block:0; }
:root{ --announce:2.1rem; }
#nav{ top:var(--announce); transition:top .4s var(--ease), transform .5s var(--ease), background .4s; }
#nav.stuck{ top:0; }
.nav-mark{ font-weight:700; color:var(--leaf-deep); letter-spacing:.02em; }
.nav-links a, .nav-bag{ font-weight:600; letter-spacing:.14em; }
.hero-line{ font-weight:400; }
.eyebrow{ color:var(--leaf-deep); font-weight:600; }

/* outside the mandala collection the ground is the plain MNR cream, with
   a soft leaf wash instead of the mandala field */
#veil{ transition:background .9s var(--ease), opacity .9s var(--ease); }
#veil::after{
  content:""; position:absolute; inset:0; opacity:1; transition:opacity 1.2s var(--ease);
  background:
    radial-gradient(60vmax 50vmax at 88% 8%, color-mix(in srgb, var(--leaf) 16%, transparent), transparent 70%),
    radial-gradient(55vmax 45vmax at 6% 96%, color-mix(in srgb, var(--moss) 12%, transparent), transparent 70%);
}
body.in-mandala #veil::after{ opacity:0; }
.hero::before{ display:none; }

/* cards sit on white, like product tiles on the MNR shop */
.card-fig{ background:var(--panel); border-radius:14px; box-shadow:0 1px 0 var(--line); }
.card-name{ font-weight:600; }
.sheet-fig{ border-radius:18px; }
.sheet-title{ font-weight:600; }

/* ── blank tee + transparency ─────────────────────────────── */
.tee{ position:relative; width:94%; isolation:isolate; transition:transform 1s var(--ease); }
.tee-body{ width:100%; height:auto; transition:filter .4s var(--ease); }
.tee-print{
  position:absolute; transform:translate(-50%,-50%); height:auto;
  pointer-events:none; opacity:.97;
  /* a touch of give, so the ink reads as printed rather than pasted */
  filter:saturate(.94) contrast(.97) drop-shadow(0 .5px .5px rgba(0,0,0,.18));
}
.card:hover .card-fig .tee{ transform:scale(1.04); }
.sheet-fig .tee{ width:92%; }
.tee.pending::after{
  content:"Photo coming soon"; position:absolute; left:50%; top:46%;
  transform:translate(-50%,-50%); padding:.45rem .9rem; border-radius:999px;
  background:rgba(255,255,255,.88); color:var(--fg); font-size:.7rem;
  letter-spacing:.14em; text-transform:uppercase; white-space:nowrap;
}

/* ── print placement picker ───────────────────────────────── */
.placements{ display:flex; gap:.5rem; flex-wrap:wrap; margin:1.6rem 0 0; }
.placements button{
  display:flex; align-items:center; gap:.55rem; background:none;
  border:var(--rule) solid var(--line); border-radius:999px; padding:.55rem 1rem .55rem .7rem;
  font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; font-weight:600;
  transition:border-color .3s, background .3s, color .3s;
}
.placements button[aria-pressed="true"]{ border-color:var(--leaf-deep); background:var(--leaf-deep); color:#fff; }
/* a tiny tee with the print's spot marked */
.pl-icon{ width:20px; height:20px; display:block; flex:none; }
.pl-icon path{ fill:none; stroke:currentColor; stroke-width:1.5; stroke-linejoin:round; }
.pl-icon .pl-back path{ stroke-dasharray:2 1.6; }
.pl-icon circle{ fill:currentColor; }

/* ── the mandala line: the field turning, a deck to draw from ── */
.mline{
  position:relative; min-height:100svh; display:grid; align-items:center;
  padding-top:clamp(4rem,10vh,7rem);
}
.mline .field{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(86svh,860px); aspect-ratio:1; z-index:0; pointer-events:none;
  display:grid; place-items:center; opacity:1;
}
.mline .field img{ position:absolute; grid-area:1/1; mix-blend-mode:multiply; }
.mline .field .f0{ width:100%; opacity:.26; animation:spin 150s linear infinite; }
.mline .field .f1{ width:66%;  opacity:.34; animation:spin 96s linear infinite reverse; }
.mline .field .f2{ width:36%;  opacity:.42; animation:spin 64s linear infinite; }

.mline-inner{
  position:relative; z-index:2; display:grid; align-items:center; gap:clamp(1.5rem,4vw,3.5rem);
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
}
.mline-copy{
  background:radial-gradient(70% 76% at 40% 50%,
    color-mix(in srgb,var(--bg) 94%,transparent) 0%,
    color-mix(in srgb,var(--bg) 70%,transparent) 58%, transparent 84%);
  padding:clamp(1rem,2vw,2rem); margin:calc(clamp(1rem,2vw,2rem) * -1);
}
.mline-title{
  font-weight:700; letter-spacing:-.03em; line-height:.98;
  font-size:clamp(2.2rem,5.4vw,4.4rem); margin:.8rem 0 1rem;
}
.mline-read{
  display:flex; align-items:baseline; gap:.8rem; min-height:1.5em; margin-bottom:1.4rem;
  font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; color:var(--fg-2);
}
.mline-read b{ color:var(--leaf-deep); font-weight:700; font-variant-numeric:tabular-nums; }

.mline-stage{ position:relative; aspect-ratio:1.04; display:grid; place-items:center; }

/* the deck — two-sided cards, so a draw is a real turn */
.deck{
  position:relative; display:grid; place-items:center; width:100%; height:100%;
  perspective:1400px;
  transition:opacity .6s var(--ease), transform .8s var(--ease);
}
.deck.away{ opacity:0; transform:scale(.92) translateY(14px); pointer-events:none; }
.deck .card{
  position:absolute; width:min(26%,200px); aspect-ratio:2750/4750; cursor:pointer;
  transform-style:preserve-3d; transform:var(--rest);
  transition:transform .55s var(--ease), opacity .5s var(--ease), filter .5s var(--ease);
}
.deck .face{
  position:absolute; inset:0; border-radius:14px; overflow:hidden; backface-visibility:hidden;
  display:grid; place-items:center; box-shadow:0 22px 44px rgba(44,37,40,.26);
}
.deck .face.back{ background:#1f3317; }
.deck .face.back::after{
  content:"MNR"; color:rgba(244,242,233,.5); font-weight:700; letter-spacing:.3em; font-size:.62rem;
}
.deck .face.front{ background:#fff; transform:rotateY(180deg); }
.deck .face.front img{ width:100%; height:100%; object-fit:cover; }

/* reaching for it cuts the pack a little */
.deck.cut .card{ transform:var(--rest) translateY(calc(var(--k) * -2px)) scale(1.01); }
/* a riffle before the draw */
.deck.riffling .card{ animation:riffle .62s var(--ease-io) both; animation-delay:calc(var(--k) * 42ms); }
@keyframes riffle{
  0%{ transform:var(--rest); }
  40%{ transform:var(--rest) translate(26px,-26px) rotate(9deg); }
  100%{ transform:var(--rest); }
}
/* the ones left behind tuck in */
.deck .card.tucked{ transform:translate(0,8px) translateZ(-30px) rotate(0deg) scale(.95); opacity:.45; filter:blur(.7px); }
/* the one drawn rises, then turns over */
.deck .card.risen{ transform:translateY(-6%) translateZ(90px) scale(1.1); z-index:6; }
.deck .card.risen .face{ box-shadow:0 30px 52px rgba(44,37,40,.34); }
.deck .card.risen.turned{ transform:translateY(-6%) translateZ(90px) scale(1.1) rotateY(180deg); }
.deck .card.risen.turned .face.front{ animation:cardGlow 1.8s var(--ease-io) both; }
@keyframes cardGlow{
  0%  { box-shadow:0 30px 52px rgba(44,37,40,.34), 0 0 0 0 color-mix(in srgb,var(--leaf) 70%,transparent); }
  45% { box-shadow:0 30px 52px rgba(44,37,40,.34), 0 0 48px 10px color-mix(in srgb,var(--leaf) 55%,transparent); }
  100%{ box-shadow:0 30px 52px rgba(44,37,40,.34), 0 0 26px 2px color-mix(in srgb,var(--leaf) 26%,transparent); }
}

/* the message the card came with */
.draw-affirm{
  margin:-.4rem 0 1.3rem; max-width:34ch; font-family:var(--serif);
  font-size:clamp(1rem,1.5vw,1.2rem); line-height:1.5; color:var(--fg);
  border-left:2px solid var(--leaf); padding-left:1rem;
  opacity:0; transform:translateY(8px);
  transition:opacity .7s var(--ease), transform .8s var(--ease);
}
.draw-affirm.on{ opacity:1; transform:none; }

/* the eighty-eight, shuffling, while the tee is on its way */
.loading-sheet{
  position:absolute; inset:6%; z-index:4; display:grid; gap:4px;
  grid-template-columns:repeat(8,1fr); align-content:center;
  opacity:0; visibility:hidden; transition:opacity .45s var(--ease), visibility .45s;
}
.loading-sheet.on{ opacity:1; visibility:visible; }
.loading-sheet i{
  display:block; aspect-ratio:1; background-size:contain; background-repeat:no-repeat;
  background-position:center; opacity:.5; animation:shuffle 1.4s var(--ease-io) infinite alternate;
}
.loading-sheet i{ animation-delay:calc(var(--k) * -37ms) }
@keyframes shuffle{ from{ opacity:.16; transform:scale(.86) rotate(-3deg) } to{ opacity:.9; transform:none } }

/* and the tee the card turned up */
.drawn-tee{
  position:absolute; inset:0; z-index:5; display:grid; place-items:center;
  background:none; border:0; padding:0; cursor:pointer;
  opacity:0; transform:scale(.9) translateY(18px) rotate(-1.5deg);
  transition:opacity .8s var(--ease), transform 1s var(--ease);
}
.drawn-tee.on{ opacity:1; transform:none; }
.drawn-tee:hover .tee{ transform:scale(1.03); }
.drawn-tee .tee{ transition:transform .7s var(--ease); }
.drawn-tee.on .drawn-tag{ animation:tagIn .7s var(--ease) .35s both; }
@keyframes tagIn{ from{ opacity:0; transform:translate(-50%,10px) } to{ opacity:1; transform:translate(-50%,0) } }
.drawn-tee .tee{ width:84%; filter:drop-shadow(0 26px 30px rgba(44,37,40,.22)); }
.drawn-tag{
  position:absolute; left:50%; bottom:2%; transform:translateX(-50%);
  background:#fff; color:var(--fg); border-radius:999px; padding:.4rem .9rem;
  font-size:.62rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  box-shadow:0 6px 18px rgba(44,37,40,.16); white-space:nowrap;
}
@media (max-width:860px){
  .mline{ min-height:0; }
  .mline-inner{ grid-template-columns:1fr; }
  .mline-stage{ order:-1; aspect-ratio:1.1; }
  .loading-sheet{ grid-template-columns:repeat(6,1fr); }
}

/* ── the mandala hero: a flat-lay collage of the tees ─────── */
.mhero{
  display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);
  gap:clamp(1.5rem,4vw,4rem); align-items:center;
  min-height:100svh; padding-top:clamp(6rem,12vh,8rem);
}
.mhero-copy{ position:relative; z-index:2; }
.mhero-title{
  font-weight:700; line-height:.95; letter-spacing:-.03em;
  font-size:clamp(2.8rem,6.4vw,6rem); margin:.9rem 0 1.2rem; color:var(--fg);
}
.mhero-line{ font-size:clamp(1rem,1.5vw,1.2rem); color:var(--fg-2); max-width:32ch; }
.collage{
  position:relative; aspect-ratio:1.08; width:100%;
  --mx:0; --my:0;
}
.cl-item{
  position:absolute; transform:translate(-50%,-50%);
  background:none; border:0; padding:0; display:block;
}
.cl-float{
  display:block;
  transform:
    translate(calc(var(--mx) * var(--d) * -38px), calc(var(--my) * var(--d) * -30px))
    rotate(var(--r));
  transition:transform 1.1s var(--ease), filter .5s var(--ease);
  filter:drop-shadow(0 18px 22px rgba(44,37,40,.16)) drop-shadow(0 3px 4px rgba(44,37,40,.12));
}
.cl-item .tee{ width:100%; }
.cl-item:hover{ z-index:20 !important; }
.cl-item:hover .cl-float{
  transform:
    translate(calc(var(--mx) * var(--d) * -38px), calc(var(--my) * var(--d) * -30px))
    rotate(calc(var(--r) * .35)) scale(1.07);
  filter:drop-shadow(0 30px 34px rgba(44,37,40,.24)) drop-shadow(0 4px 6px rgba(44,37,40,.14));
}
.cl-tag{
  position:absolute; left:50%; bottom:2%; transform:translate(-50%,6px);
  padding:.35rem .8rem; border-radius:999px; background:#fff; color:var(--fg);
  font-size:.68rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  white-space:nowrap; opacity:0; transition:opacity .35s, transform .45s var(--ease);
  box-shadow:0 4px 14px rgba(44,37,40,.12); pointer-events:none;
}
.cl-item:hover .cl-tag, .cl-item:focus-visible .cl-tag,
.cl-item.lit .cl-tag{ opacity:1; transform:translate(-50%,0); }

/* the tee the hero is showing while nobody is pointing at it */
.cl-item.lit{ z-index:15; }
.cl-item.lit .cl-float{
  transform:
    translate(calc(var(--mx) * var(--d) * -38px), calc(var(--my) * var(--d) * -30px))
    rotate(calc(var(--r) * .4)) scale(1.06);
  filter:drop-shadow(0 28px 32px rgba(44,37,40,.22)) drop-shadow(0 4px 6px rgba(44,37,40,.13));
}
/* a print changing is a fade, never a jump */
.cl-item .tee-print{ transition:opacity .4s var(--ease); }

/* the readout the collage writes its name into */
.mhero-read{
  display:flex; align-items:baseline; gap:.8rem; margin-top:1.6rem;
  font-size:.68rem; letter-spacing:.22em; text-transform:uppercase; color:var(--fg-2);
  min-height:1.4em;
}
.mhero-read .ro-n{
  font-weight:700; color:var(--leaf-deep); font-variant-numeric:tabular-nums;
  letter-spacing:.1em;
}
.mhero-read .ro-name{ transition:opacity .3s var(--ease); }

/* the collage drifts against the page as the section goes by */
.collage{ transform:translateY(calc(var(--cp,0) * -30px)); }
.mhero-copy{ transform:translateY(calc(var(--cp,0) * 14px)); }

@media (prefers-reduced-motion:reduce){
  .collage, .mhero-copy{ transform:none; }
  .cl-item.lit .cl-float{ transform:none; }
}
/* the tees settle in one after another */
.js-reveal .cl-item .cl-float{ opacity:0; }
.js-reveal .collage.in .cl-float{ opacity:1; }
.collage .cl-float{ transition:transform 1.1s var(--ease), filter .5s var(--ease), opacity .8s var(--ease);
  transition-delay:calc(var(--k) * 90ms), 0s, calc(var(--k) * 90ms); }
.collage .cl-item:hover .cl-float{ transition-delay:0s; }
@media (max-width:860px){
  .mhero{ grid-template-columns:1fr; min-height:0; }
  .collage{ order:-1; aspect-ratio:1; }
  .cl-item.wide{ display:none; }
}

/* ── the index ────────────────────────────────────────────── */
.coins{ grid-template-columns:repeat(auto-fill,minmax(84px,1fr)); gap:clamp(6px,1.2vw,14px); }
.coin{ background:none; opacity:1; overflow:visible; }
.coin img{ object-fit:contain; mix-blend-mode:normal; transition:opacity .2s; }
.coin:hover, .coin:focus-visible{ transform:none; }
.coin.lensed img{ opacity:0; }
.coin::after{ display:none; }

/* the lens: tee laid with its print over the coin, then opened */
.lens{
  position:fixed; z-index:60; pointer-events:none;
  transform-origin:var(--ox) var(--oy);
  transform:translate(var(--dx),var(--dy)) scale(var(--s0));
  transition:transform .55s var(--ease);
}
.lens.touch{ pointer-events:auto; }
.lens .tee{ width:100%; }
.lens .tee-body{ opacity:0; transition:opacity .35s var(--ease) .05s; }
.lens{ filter:drop-shadow(0 26px 30px rgba(44,37,40,0)); }
.lens.open{ transform:none; filter:drop-shadow(0 26px 30px rgba(44,37,40,.22)); transition:transform .55s var(--ease), filter .55s; }
.lens.open .tee-body{ opacity:1; }
.lens.go{ transform:scale(1.12); opacity:0; transition:transform .38s var(--ease), opacity .38s; }
.lens-tag{
  display:flex; align-items:baseline; gap:.6rem; justify-content:center;
  margin-top:.4rem; opacity:0; transform:translateY(-6px);
  transition:opacity .3s, transform .4s var(--ease);
}
.lens.open .lens-tag{ opacity:1; transform:none; transition-delay:.18s; }
.lens-tag{ background:#fff; border-radius:999px; padding:.55rem 1rem; width:max-content; margin-inline:auto;
  box-shadow:0 6px 18px rgba(44,37,40,.12); }
.lens-num{ font-size:.66rem; letter-spacing:.18em; color:var(--fg-3); font-variant-numeric:tabular-nums; }
.lens-name{ font-weight:600; font-size:1rem; }
.lens-go{ font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color:var(--leaf-deep); font-weight:600; }
@media (prefers-reduced-motion:reduce){ .lens, .lens.open{ transition:none; } }

/* ── the MNR line ─────────────────────────────────────────── */
.mnr-grid{ grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); max-width:1100px; }
.card-fig.is-shot img{ width:100%; height:100%; object-fit:cover; }
.card-fig .tee{ filter:drop-shadow(0 10px 14px rgba(44,37,40,.12)); }

/* ── sign-off ─────────────────────────────────────────────── */
/* ── every product view is set out as the garment's label ──── */
.sheet-body{ background:var(--bg); }
.sheet-info{
  position:relative; background:#fbfaf5; border:1px dashed #c4bda9; border-radius:5px;
  padding:clamp(1.4rem,3vw,2.6rem);
}
.sheet-info::before{
  content:""; position:absolute; inset:7px; border:1px solid #ece7d8; border-radius:4px;
  pointer-events:none;
}
.sheet-spec{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.66rem; line-height:1.75; color:#5c564a;
  border-top:1px dotted #d7d0bd; padding-top:1rem; margin-top:1.4rem;
}
.sheet-label{ margin-top:1.6rem; }
.sheet-barcode{
  display:block; height:38px;
  background:repeating-linear-gradient(90deg,#2c2528 0 2px,transparent 2px 4px,#2c2528 4px 5px,transparent 5px 9px);
}
.sheet-label small{
  display:block; margin-top:.45rem;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.54rem; letter-spacing:.26em; text-transform:uppercase; color:#8d8670;
}

/* the footer is light — the page's own paper colour */
.foot{ background:var(--bg-2); color:var(--fg-2); border-top:var(--rule) solid var(--line); }
.foot .foot-mark{ color:var(--leaf-deep); }
.foot h4{ color:var(--fg-3); }
.foot a{ color:var(--fg); }
.foot a:hover{ color:var(--leaf-deep); }
.foot-legal, .foot-legal a{ color:var(--fg-3); }

/* ── the closing: the page goes dark and the slogan lights ── */
.nightfall{
  position:relative; overflow:hidden; isolation:isolate; text-align:center;
  margin:0 calc(var(--pad) * -1);
  padding:clamp(11rem,34vh,22rem) var(--pad) clamp(6rem,18vh,11rem);
  color:#dcffa6;
  /* dusk: the paper darkens over the first third rather than cutting */
  /* the paper goes down through the brand's own greens, not through grey */
  background:
    linear-gradient(180deg,
      var(--bg) 0%,
      color-mix(in srgb, var(--bg) 88%, #4f7a1b) 8%,
      color-mix(in srgb, var(--bg) 52%, #2b4422) 17%,
      color-mix(in srgb, var(--bg) 18%, #1a2614) 25%,
      #121a0e 33%, #07090a 46%, #07090a 100%);
}
/* the last of the light, caught on the edge of the dark */
.nightfall::before{
  content:""; position:absolute; left:50%; top:0; z-index:1; pointer-events:none;
  width:min(120vw,1500px); height:clamp(10rem,30vh,20rem); transform:translateX(-50%);
  background:radial-gradient(60% 100% at 50% 0%, rgba(137,194,30,.18), transparent 72%);
}
.nightfall-halo{
  position:absolute; left:50%; top:62%; width:min(80vw,900px); aspect-ratio:1;
  transform:translate(-50%,-50%); border-radius:50%; z-index:0;
  background:radial-gradient(circle, rgba(137,194,30,.3), transparent 62%);
  filter:blur(10px); animation:nightPulse 6s var(--ease-io) infinite alternate;
}
@keyframes nightPulse{ from{ transform:translate(-50%,-50%) scale(.92); opacity:.6 } to{ transform:translate(-50%,-50%) scale(1.08); opacity:.95 } }
.nightfall-scan{
  position:absolute; inset:0; z-index:2; pointer-events:none;
  background:repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 3px);
  -webkit-mask-image:linear-gradient(180deg, transparent 26%, #000 46%);
          mask-image:linear-gradient(180deg, transparent 26%, #000 46%);
}
.nightfall-line{
  position:relative; z-index:3; font-weight:700; line-height:.94; letter-spacing:-.025em;
  font-size:clamp(2.6rem,10vw,8rem); max-width:14ch; margin-inline:auto; color:#dcffa6;
  /* dim until the section is reached, then the sign comes on */
  text-shadow:0 0 8px rgba(182,255,74,.2);
  opacity:.34; filter:blur(1px);
  transition:opacity 1.2s var(--ease), filter 1.2s var(--ease), text-shadow 1.4s var(--ease);
}
.nightfall-line.seen{
  opacity:1; filter:none;
  text-shadow:0 0 8px #b6ff4a, 0 0 30px rgba(137,194,30,.75), 0 0 80px rgba(137,194,30,.4);
  animation:nightFlicker 7s steps(1) 1.2s infinite;
}
.nightfall-line .w > i{ transition-duration:1.1s; }
@keyframes nightFlicker{
  0%,92%,100%{ opacity:1 } 93%{ opacity:.55 } 94%{ opacity:.95 } 95%{ opacity:.6 } 96%{ opacity:1 }
}
.nightfall-sub{
  position:relative; z-index:3; margin-top:1.6rem;
  font-size:.62rem; letter-spacing:.32em; text-transform:uppercase; color:#8fa87c;
  opacity:0; transform:translateY(10px);
  transition:opacity 1s var(--ease) .5s, transform 1.1s var(--ease) .5s;
}
.nightfall.lit .nightfall-sub{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .deck.riffling .card, .deck .card.risen.turned::after, .drawn-tee.on .drawn-tag{ animation:none; }
  .nightfall-line, .nightfall-line.seen, .nightfall-halo{ animation:none; }
  .nightfall-line{ opacity:1; filter:none; }
  .nightfall-sub{ opacity:1; transform:none; }
  .kal{ animation:none; }
  .loading-sheet i{ animation:none; opacity:.5; }
}

.signoff{ text-align:center; padding-block:clamp(6rem,18vh,12rem); }
.signoff-line{
  font-weight:700; text-transform:uppercase; line-height:.92; letter-spacing:-.025em;
  font-size:clamp(3rem,11vw,10rem); color:var(--leaf-deep); max-width:12ch; margin-inline:auto;
}
@media (max-width:560px){ .coins{ grid-template-columns:repeat(4,1fr); gap:8px; } }

/* ── the MNR hero: the mandala hero's layout, mirrored ────── */
.mnr-line > .mhero{ padding:0; margin-bottom:clamp(3rem,8vw,6rem); min-height:0; }
.mhero--flip{ grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr); }
@media (max-width:860px){ .mhero--flip{ grid-template-columns:1fr; } }
.sheet-fig .fig-art{ width:100%; display:grid; place-items:center; }
.sheet-fig .fig-art .harmony-shot{ width:100%; }
.coin{ cursor:pointer; }

/* ── the MNR hero: the line's two prints, side by side ───── */
.spot{
  --ink:#f4f2e9; --ink-2:rgba(244,242,233,.62);
  position:relative; overflow:hidden; isolation:isolate;
  margin:0 calc(var(--pad) * -1) clamp(3rem,8vw,6rem);
  padding:clamp(4rem,9vh,6.5rem) var(--pad);
  min-height:min(96svh,900px);
  display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  align-items:center; gap:clamp(2rem,5vw,4.5rem);
  color:var(--ink);
  --pc:#89c21e;
  background:
    radial-gradient(38% 42% at 68% 48%,
      color-mix(in srgb, var(--pc) 26%, transparent), transparent 72%),
    radial-gradient(44% 48% at 68% 50%, rgba(137,194,30,.16), transparent 70%),
    radial-gradient(90% 80% at 60% 55%, #2b4422 0%, #1a2614 62%, #121a0e 100%);
  transition:background-color .9s var(--ease);
}
.mnr-line{ padding-top:0; }

/* the piece's name, set in outline behind the tee */
.spot-word{
  position:absolute; left:46%; top:50%; transform:translateY(-54%);
  z-index:-1; margin:0; pointer-events:none; user-select:none;
  font-weight:700; text-transform:uppercase; letter-spacing:-.04em; line-height:.8;
  font-size:clamp(5rem,17vw,17rem); white-space:nowrap;
  color:transparent; -webkit-text-stroke:1.5px rgba(244,242,233,.15);
  transition:opacity .5s var(--ease);
}

.spot-copy{ position:relative; z-index:2; max-width:34rem; }
.spot-copy .eyebrow{ color:var(--leaf); }
.spot-title{
  font-weight:700; letter-spacing:-.03em; line-height:1;
  font-size:clamp(2.1rem,4.4vw,3.6rem); margin-top:.6rem;
}
.spot-lede{ margin-top:1rem; color:var(--ink-2); max-width:30rem; line-height:1.55; }

/* which print: the Owl or Harmony */
.spot-pieces{ display:flex; gap:.5rem; margin-top:1.8rem; flex-wrap:wrap; }
.spot-pieces button{
  color:var(--ink); background:transparent; border:1px solid rgba(244,242,233,.26);
  border-radius:999px; padding:.55rem 1.15rem;
  font-size:.72rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  transition:background .3s, border-color .3s, color .3s;
}
.spot-pieces button[aria-pressed="true"]{ background:var(--leaf); border-color:var(--leaf); color:#15200f; }

/* the piece's own words, in one line rather than ringing the tee */
.spot-words{
  margin-top:1.1rem; min-height:1.2em;
  font-size:.72rem; font-weight:600; letter-spacing:.3em; text-transform:uppercase;
  color:var(--ink-2);
}

.spot-ctl{ display:flex; flex-direction:column; gap:.9rem; margin-top:1.8rem; }
.spot-places{ display:flex; gap:.5rem; flex-wrap:wrap; }
.spot-places button{
  display:flex; align-items:center; gap:.5rem; color:var(--ink);
  background:rgba(244,242,233,.06); border:1px solid rgba(244,242,233,.22);
  border-radius:999px; padding:.5rem .95rem .5rem .65rem;
  font-size:.7rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  transition:background .3s, border-color .3s, color .3s;
}
.spot-places button[aria-pressed="true"]{ background:var(--ink); border-color:var(--ink); color:#1a2614; }
/* the colourways as bands on the slant, under the piece switch */
.spot-slant{
  display:flex; height:clamp(66px,9vh,96px); margin-top:.2rem; overflow:hidden;
  border-radius:10px;
}
.spot-slant button{
  position:relative; flex:1; border:0; padding:0; cursor:pointer; overflow:hidden;
  transform:skewX(-9deg); margin:0 -1px; display:grid; place-items:center;
  transition:flex .7s var(--ease), filter .5s var(--ease);
  filter:saturate(.8) brightness(.8);
}
.spot-slant button[aria-pressed="true"]{ flex:2.1; filter:none; }
.spot-slant button i{
  position:absolute; inset:0; transform:skewX(9deg) scale(1.2); display:block;
  background-size:cover; background-position:center 32%;
}
.spot-slant button em{
  position:relative; z-index:2; transform:skewX(9deg); font-style:normal;
  font-size:.52rem; letter-spacing:.2em; text-transform:uppercase; font-weight:700;
  color:#fff; text-shadow:0 1px 10px rgba(0,0,0,.6); opacity:0; transition:opacity .4s;
}
.spot-slant button[aria-pressed="true"] em{ opacity:1; }
.spot-dots{ display:flex; gap:.7rem; align-items:center; }
.spot-dots button{
  width:26px; height:26px; border-radius:50%; padding:0; border:0;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);
  outline:1.5px solid transparent; outline-offset:3px; transition:outline-color .3s;
}
.spot-dots button[aria-pressed="true"]{ outline-color:var(--ink); }
/* a thin bar that fills while a variant is on show */
.spot-ctl::after{
  content:""; display:block; height:2px; width:180px; border-radius:2px;
  background:linear-gradient(var(--leaf),var(--leaf)) left/var(--prog,0%) 100% no-repeat, rgba(244,242,233,.14);
}
.spot-buy{ display:flex; align-items:center; gap:1.4rem; flex-wrap:wrap; margin-top:2rem; }
.spot-now{ font-size:.75rem; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-2); }

/* the tee: two layers so a change cross-fades instead of blinking */
.spot-arena{
  position:relative; justify-self:center; align-self:center;
  width:min(43vw,600px); aspect-ratio:1; display:grid; place-items:center;
  transform:translate3d(calc(var(--tx,0) * 16px), calc(var(--ty,0) * 12px + var(--sp,0) * -26px), 0);
  transition:transform .9s var(--ease);
}
.spot-stage{
  position:relative; z-index:1; grid-area:1/1;
  display:block; width:64%; aspect-ratio:1.04; background:none; border:0; padding:0;
}
/* the piece's words, set round the tee */
.spot-ring{
  grid-area:1/1; width:100%; height:100%; z-index:0; pointer-events:none;
  animation:spin 44s linear infinite;
  opacity:.5; transition:opacity .6s var(--ease);
}
.spot-ring text{
  font-size:12px; letter-spacing:.38em; text-transform:uppercase;
  font-weight:600; fill:var(--ink);
}
.spot-arena:hover .spot-ring{ opacity:.9; }
.spot-layer{ transform-origin:50% 60%; }
.spot-layer{
  position:absolute; inset:0; display:grid; place-items:center;
  opacity:0; transform:scale(.965) rotate(-1.5deg);
  transition:opacity .9s var(--ease), transform 1.2s var(--ease);
}
.spot-layer.on{ opacity:1; transform:none; }
.spot-layer .tee{ width:100%; filter:drop-shadow(0 40px 46px rgba(0,0,0,.45)) drop-shadow(0 6px 10px rgba(0,0,0,.3)); }
.spot-layer .tee.is-photo .tee-body{ border-radius:10px; }
.spot-stage:hover .spot-layer.on{ transform:scale(1.025); }

@media (max-width:860px){
  .spot{ grid-template-columns:1fr; min-height:0; gap:2.2rem; padding-block:clamp(3rem,8vh,5rem); }
  .spot-arena{ width:min(92vw,480px); order:-1; }
  .spot-stage{ width:74%; }
  .spot-ring text{ font-size:15px; letter-spacing:.3em; }
  .spot-copy{ max-width:none; }
  .spot-word{ right:auto; left:50%; top:38%; transform:translate(-50%,-50%); font-size:clamp(4.5rem,26vw,12rem); opacity:.6; }
  .spot-buy{ justify-content:space-between; }
}
@media (prefers-reduced-motion:reduce){ .spot-layer{ transition:opacity .3s; transform:none; } }

/* a slight hover on the index — a lift and a turn; only a click opens the tee */
.coin img{
  transition:opacity .2s, transform .5s var(--ease), filter .5s var(--ease);
}
@media (hover:hover){
  .coin:hover img{
    transform:scale(1.08) rotate(6deg);
    filter:drop-shadow(0 8px 10px rgba(44,37,40,.18));
  }
}
.coin:focus-visible img{ transform:scale(1.08); }

/* a colour that's offered but can't be shown yet */
.sheet-swatches .sw.soon{ opacity:.38; cursor:not-allowed; }
.sheet-swatches .sw.soon i{ box-shadow:inset 0 0 0 1px rgba(21,20,26,.22); position:relative; }
.sheet-swatches .sw.soon i::after{
  content:""; position:absolute; left:50%; top:50%; width:120%; height:1.5px;
  background:rgba(21,20,26,.55); transform:translate(-50%,-50%) rotate(-45deg);
}
.sheet-soon{ margin-top:-.6rem; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--fg-3); }


/* ══ motion ═══════════════════════════════════════════════════
   The page's own movement. Everything here is switched off under
   prefers-reduced-motion at the end of the block. */

/* a rule across the very top, filled by how far down the page you are */
#progress{
  position:fixed; inset:0 0 auto 0; height:2px; z-index:60; pointer-events:none;
  background:color-mix(in srgb, var(--fg) 8%, transparent);
}
#progress i{
  display:block; height:100%; width:100%; transform:scaleX(0); transform-origin:0 50%;
  background:var(--leaf); will-change:transform;
}

/* headings set themselves a word at a time */
.w{ display:inline-block; overflow:hidden; vertical-align:bottom; padding-bottom:.08em; }
.w > i{
  display:inline-block; font-style:inherit; transform:translateY(108%);
  transition:transform .9s var(--ease);
}
.seen .w > i{ transform:none; }

/* a word that rolls over inside a line that does not reflow */
.roll{
  display:inline-block; min-width:var(--w,8em); text-align:left;
  transition:opacity .4s var(--ease), transform .4s var(--ease);
}
.roll.out{ opacity:0; transform:translateY(-.55em); }
.eb-dot{
  display:inline-block; width:.42em; height:.42em; border-radius:50%;
  background:var(--leaf); margin-right:.6em; vertical-align:middle;
  animation:pulse 2.6s var(--ease-io) infinite;
}
@keyframes pulse{ 0%,100%{ transform:scale(1); opacity:1 } 50%{ transform:scale(.55); opacity:.45 } }

/* buttons lean towards the pointer */
.btn{ transition:transform .4s var(--ease); }
.btn:hover{ transform:translate(calc(var(--bx,0) * 7px), calc(var(--by,0) * 5px)); }

/* the clothes keep breathing: a long, slow drift, each on its own clock */
@keyframes drift{
  from{ transform:translate3d(0,-7px,0) rotate(-.5deg); }
  to  { transform:translate3d(0, 7px,0) rotate(.5deg); }
}
.hero-stage .cl-float .tee,
.collage .cl-float .tee{
  animation:drift calc(7s + var(--k,0) * 1.7s) var(--ease-io) infinite alternate;
  animation-delay:calc(var(--k,0) * -1.4s);
}
.spot-layer.on .tee{ animation:drift 9s var(--ease-io) infinite alternate; }
.cl-item:hover .cl-float .tee{ animation-play-state:paused; }

/* the ghost word behind the MNR hero pans, slowly */
@keyframes pan{ from{ letter-spacing:-.04em } to{ letter-spacing:.01em } }
.spot-word{ animation:pan 18s var(--ease-io) infinite alternate; }
/* the mark behind the tee drifts against the scroll as well */
.spot-word{ transform:translateY(calc(-54% + var(--sp,0) * 30px)); }

/* the index arrives in a wave rather than all at once */
.js-reveal .coins .coin{ opacity:0; transform:translateY(14px) scale(.96); }
.js-reveal .coins.in .coin{
  opacity:.82; transform:none;
  transition:opacity .6s var(--ease), transform .7s var(--ease), filter .4s;
  transition-delay:calc(var(--k,0) * 9ms);
}
.js-reveal .coins.in .coin:hover{ opacity:1; }

@media (prefers-reduced-motion:reduce){
  .hero-inner, .hero-stage{ transform:none; opacity:1; }
  .w > i{ transform:none; }
  .eb-dot, .spot-word, .ticker-track,
  .hero-stage .cl-float .tee, .collage .cl-float .tee, .spot-layer.on .tee{ animation:none; }
  .btn:hover{ transform:none; }
  .coins .coin{ opacity:.82; transform:none; }
}


/* ── the field: three prints turning directly over the index, and
      the words with them. A tenth of a screen of scrolling past and
      they are gone, leaving all eighty-eight ───────────────────── */
.archive{ position:relative; }
.coins-wrap{ position:relative; }
.field-over{
  position:absolute; inset:-6vh 0 auto; z-index:3; pointer-events:none;
  min-height:min(74svh,760px);
  display:grid; place-items:center;
  opacity:var(--f,1); transition:opacity .18s linear;
}
.field{
  position:absolute; inset:0; margin:auto;
  width:min(72svh,720px); aspect-ratio:1; z-index:1;
  display:grid; place-items:center;
}
.field img{ position:absolute; grid-area:1/1; mix-blend-mode:multiply; }
.field .f0{ width:100%; opacity:.34; animation:spin 150s linear infinite; }
.field .f1{ width:66%;  opacity:.5;  animation:spin 96s linear infinite reverse; }
.field .f2{ width:36%;  opacity:.62; animation:spin 64s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* the words in the still centre, on their own paper */
.field-copy{
  position:relative; z-index:2; text-align:center; max-width:28rem;
  padding:clamp(1.6rem,4vw,2.8rem) clamp(1.2rem,3vw,2.2rem);
  background:radial-gradient(60% 64% at 50% 50%,
    var(--bg) 0%, color-mix(in srgb, var(--bg) 86%, transparent) 56%, transparent 82%);
}
.field-copy h2, .field-copy p{ margin-inline:auto; }
.field-copy p{ color:var(--fg-2); }
.field-cue{
  margin-top:1.4rem; display:inline-flex; align-items:center; gap:.7rem;
  font-size:.62rem; letter-spacing:.28em; text-transform:uppercase; color:var(--fg-3);
}
.field-cue i{
  display:block; width:34px; height:1px; background:var(--fg-3); position:relative; overflow:hidden;
}
.field-cue i::after{
  content:""; position:absolute; inset:0; background:var(--fg);
  animation:cue 2.4s var(--ease-io) infinite;
}

/* the index waits underneath while the field is over it */
.js-reveal .archive .coins{ opacity:calc(1 - var(--f,1) * .88); transition:opacity .2s linear; }
/* and nothing under the field can be clicked by mistake while it is up */
.archive .coins{ pointer-events:var(--pe,auto); }

@media (max-width:760px){
  .field-over{ min-height:min(60svh,520px); inset:-4vh 0 auto; }
  .field{ width:min(84vw,460px); }
}
@media (prefers-reduced-motion:reduce){
  .spot-ring{ animation:none; }
  .spot-arena{ transform:none; }
  .field img{ animation:none; }
  .field, .field-cue{ opacity:1; }
  .field-cue i::after{ animation:none; }
  .js-reveal .archive .coins{ opacity:1; }
  .wall-rail.r1, .wall-rail.r2{ animation:none; }
  .wall-mark span{ transform:none; }
}

/* ── first hero: the logo alone ───────────────────────────── */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.hero-logo{ align-items:center; justify-content:center; padding-top:clamp(4rem,10vh,6rem); padding-bottom:clamp(2rem,6vh,4rem); }
.hero-seal{
  width:min(62vmin,520px); height:auto; display:block;
  opacity:0; transform:scale(.94);
  animation:sealArrive 1.6s var(--ease) .15s forwards, sealBreathe 7s ease-in-out 1.8s infinite alternate;
}
@keyframes sealArrive{ to{ opacity:1; transform:scale(1); } }
@keyframes sealBreathe{ from{ transform:scale(1); } to{ transform:scale(1.025); } }
@media (prefers-reduced-motion:reduce){ .hero-seal{ animation:none; opacity:1; transform:none; } }

/* ══ the draw, rebuilt: one thing on the stage at a time ══════════════ */
.mline{ min-height:0; display:block; padding-top:clamp(4.5rem,11vh,7.5rem); padding-bottom:clamp(3rem,8vh,5rem); }
.mline .field{ display:none; }
.mline-copy{ background:none; padding:0; margin:0; }
.mline-title{ max-width:12ch; }
.mline-inner{ min-height:min(82svh,760px); }

.mline-stage{ aspect-ratio:1.04; isolation:isolate; }
.mline-stage > *{ grid-area:1/1; }
/* a single faint mandala behind the deck, inside the stage only */
.stage-halo{ position:absolute; inset:2%; display:grid; place-items:center; z-index:0; pointer-events:none;
  transition:opacity .8s var(--ease), transform 1.2s var(--ease); }
.stage-halo img{ width:100%; opacity:.16; mix-blend-mode:multiply; animation:spin 140s linear infinite;
  -webkit-mask:radial-gradient(closest-side,#000 55%,transparent); mask:radial-gradient(closest-side,#000 55%,transparent); }
.mline-stage[data-state="waiting"] .stage-halo,
.mline-stage[data-state="tee"] .stage-halo{ opacity:0; transform:scale(.94); }

/* each layer is fully out before the next comes in */
.deck, .stage-wait, .drawn-tee, .tee-swatches{
  transition:opacity .5s var(--ease), transform .7s var(--ease), visibility 0s linear .5s; }
.deck{ z-index:2; }
.mline-stage:not([data-state="deck"]):not([data-state="drawing"]) .deck{ opacity:0; visibility:hidden; transform:scale(.94) translateY(10px); pointer-events:none; }

.stage-wait{ position:relative; z-index:3; display:grid; justify-items:center; gap:1rem; opacity:0; visibility:hidden; transform:scale(.96); }
.mline-stage[data-state="waiting"] .stage-wait{ opacity:1; visibility:visible; transform:none; transition-delay:.45s,.45s,0s; transition-duration:.5s,.7s,0s; }
.wait-ring{ position:relative; width:clamp(120px,22vw,190px); aspect-ratio:1; display:grid; place-items:center; }
.wait-ring::before{ content:""; position:absolute; inset:-10px; border-radius:50%;
  border:2px solid color-mix(in srgb,var(--leaf) 22%,transparent); border-top-color:var(--leaf); animation:spin 1.1s linear infinite; }
.wait-ring img{ width:86%; animation:spin 9s linear infinite; }
.wait-line{ font-size:.62rem; letter-spacing:.26em; text-transform:uppercase; color:var(--fg-2); }
.wait-line::after{ content:"…"; }

.drawn-tee{ z-index:4; inset:auto; position:relative; width:100%; height:100%; visibility:hidden; transform:scale(.94) translateY(16px); }
.drawn-tee.on{ visibility:visible; transition-delay:.15s,.15s,0s; transition-duration:.8s,1s,0s; }
.drawn-tee .tee{ width:80%; }
.drawn-tag{ bottom:4%; }

.tee-swatches{ z-index:5; position:absolute; top:calc(100% + .4rem); left:50%; translate:-50% 0; display:flex; gap:.55rem; padding:.45rem .6rem;
  background:color-mix(in srgb,var(--bg) 86%,transparent); border-radius:999px; box-shadow:0 4px 14px rgba(44,37,40,.1);
  opacity:0; visibility:hidden; transform:translateY(8px); }
.mline-stage[data-state="tee"] .tee-swatches{ opacity:1; visibility:visible; transform:none; transition-delay:.9s,.9s,0s; transition-duration:.5s,.7s,0s; }
.tee-swatches button{ width:24px; height:24px; border-radius:50%; border:0; padding:0; cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(21,20,26,.25); outline:1.5px solid transparent; outline-offset:3px; transition:outline-color .25s, transform .25s; }
.tee-swatches button:hover{ transform:scale(1.1); }
.tee-swatches button[aria-pressed="true"]{ outline-color:var(--fg); }

/* the eighty-eight: their own block, never over the draw */
.the88{ position:relative; z-index:2; margin-top:clamp(2.5rem,7vh,5rem); padding-top:clamp(2rem,5vh,3rem); border-top:var(--rule,1px) solid var(--line); scroll-margin-top:5rem; }
.the88-head{ display:flex; justify-content:space-between; align-items:end; gap:1.5rem; flex-wrap:wrap; margin-bottom:clamp(1.2rem,3vh,2rem); }
.the88-title{ font-size:clamp(1.6rem,3.2vw,2.6rem); font-weight:700; letter-spacing:-.03em; line-height:1; margin-top:.5rem; }
.the88-note{ max-width:36ch; color:var(--fg-2); font-size:.92rem; line-height:1.5; }
.the88-note b{ color:var(--leaf-deep); }
.the88 .coins{ grid-template-columns:repeat(11,minmax(0,1fr)); gap:clamp(6px,1vw,14px); }
.the88 .coin{ aspect-ratio:1; border-radius:50%; }
.the88 .coin img{ mix-blend-mode:multiply; }
.the88 .coin.is-drawn{ opacity:1 !important; }
.the88 .coin.is-drawn::before{ content:""; position:absolute; inset:-7%; border-radius:50%; border:2px solid var(--leaf); box-shadow:0 0 0 5px color-mix(in srgb,var(--leaf) 18%,transparent); animation:drawnPulse 2.4s var(--ease-io) infinite; }
@keyframes drawnPulse{ 50%{ box-shadow:0 0 0 10px color-mix(in srgb,var(--leaf) 6%,transparent); } }
@media (max-width:1100px){ .the88 .coins{ grid-template-columns:repeat(8,minmax(0,1fr)); } }
@media (max-width:860px){
  .mline-inner{ min-height:0; }
  .mline-stage{ order:0; aspect-ratio:1.05; max-width:520px; width:100%; justify-self:center; }
  .the88 .coins{ grid-template-columns:repeat(6,minmax(0,1fr)); }
}
@media (max-width:480px){ .the88 .coins{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (prefers-reduced-motion:reduce){ .stage-halo img, .wait-ring img, .wait-ring::before, .the88 .coin.is-drawn::before{ animation:none; } }

/* ══ Nov 2026 · card in the box, the dial, the blank, more MNR tees ══ */
.mnr-grid{ grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr)); max-width:1300px; }
.mline-sub{ margin-top:.9rem; color:var(--fg-2); font-size:.95rem; max-width:36ch; }

/* the blank */
.blank-grid{ max-width:1300px; }
.blank-lede{ margin-top:clamp(2.5rem,6vw,4rem); max-width:52ch; color:var(--fg-2); font-size:.95rem; }

/* footer: what's in the box — kept light */
.foot-box p{ margin:0; font-size:.82rem; opacity:.8; }

/* product sheet: left column holds the tee and the dial */
.sheet-left{ display:flex; flex-direction:column; gap:.6rem; min-width:0; }

/* the dial — a wheel of eighty-eight, the top of it showing */
.sdial{
  position:relative; height:clamp(118px,15vw,150px); overflow:hidden;
  touch-action:none; user-select:none; cursor:grab; outline:none;
  -webkit-mask:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);
          mask:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);
}
.sdial:active{ cursor:grabbing; }
.sdial:focus-visible{ box-shadow:inset 0 0 0 2px var(--leaf); }
.sdial-wheel{
  --D:clamp(1100px,150vw,1700px);
  position:absolute; left:50%; top:30px; width:var(--D); height:var(--D);
  margin-left:calc(var(--D) / -2); border-radius:50%;
  transition:transform .7s var(--ease);
}
.sdial-wheel.still{ transition:none; }
.sdial-dot{
  position:absolute; left:50%; top:50%; width:44px; height:44px; margin:-22px 0 0 -22px;
  padding:0; border:0; background:none; border-radius:50%;
  transform:rotate(var(--a)) translateY(calc(var(--D) / -2 + 30px));
  opacity:.45; transition:opacity .3s, transform .3s;
}
.sdial-dot img{ width:100%; height:100%; border-radius:50%; display:block; pointer-events:none; }
.sdial-dot.on{ opacity:1; transform:rotate(var(--a)) translateY(calc(var(--D) / -2 + 30px)) scale(1.35); }
.sdial-mark{
  position:absolute; left:50%; top:4px; width:0; height:0; margin-left:-6px;
  border:6px solid transparent; border-top:9px solid var(--leaf-deep);
}
.sdial-hint{
  position:absolute; left:0; right:0; bottom:.4rem; text-align:center;
  font-size:.58rem; letter-spacing:.24em; text-transform:uppercase; color:var(--fg-3);
}

/* the Spirit Oracle card, two-sided, 2750 × 4750 like the deck */
.sheet-card{ margin:2rem 0 1rem; padding-top:1.6rem; border-top:var(--rule) solid var(--line); }
.sheet-card-h{ font-size:.66rem; letter-spacing:.3em; text-transform:uppercase; color:var(--fg-3); margin:0 0 1rem; }
.sheet-card-note{ font-size:.86rem; color:var(--fg-2); max-width:44ch; margin:1rem 0 0; }
.sheet-card-act{ margin-top:1rem; }
.ocard{ width:min(240px,62vw); aspect-ratio:2750/4750; perspective:1400px; }
.sheet-card .ocard{ width:min(290px,72vw); }
.ocard-in{
  position:relative; display:block; width:100%; height:100%; padding:0; border:0; background:none;
  transform-style:preserve-3d; transition:transform .9s var(--ease); cursor:pointer;
}
.ocard.flipped .ocard-in{ transform:rotateY(180deg); }
.ocard-face{
  position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden;
  background:#fffdf8; border-radius:10px; overflow:hidden;
  box-shadow:0 1px 0 rgba(0,0,0,.04), 0 14px 30px rgba(44,37,40,.16);
  display:flex; flex-direction:column; align-items:center; text-align:center;
  font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif; color:#2c2528;
  container-type:inline-size;
}
.ocard-front{ padding:7cqw 8cqw 5cqw; }
.oc-name{ font-size:11cqw; line-height:1.05; letter-spacing:.01em; }
.oc-art{ width:66cqw; aspect-ratio:1; object-fit:contain; margin:6cqw 0 5cqw; }
.oc-msg{ font-size:4.4cqw; line-height:1.4; font-style:italic; }
.oc-affirm{ font-size:4.4cqw; line-height:1.4; font-style:italic; margin-top:4cqw; }
.oc-affirm i{ font-style:normal; }
.oc-num{
  margin-top:auto; font-size:6cqw; width:16cqw; aspect-ratio:1; display:grid; place-items:center;
  background:radial-gradient(circle,rgba(201,166,86,.28) 0 30%,transparent 31%),
             repeating-conic-gradient(rgba(201,166,86,.55) 0 2deg,transparent 2deg 12deg);
  border-radius:50%;
}
.ocard-back{
  transform:rotateY(180deg); justify-content:center; gap:5cqw; padding:10cqw;
  background:radial-gradient(90% 60% at 50% 40%,#fffdf8,#f1ecdd);
}
.ocard-back::before{
  content:""; position:absolute; inset:4cqw; border:1px solid rgba(92,128,24,.35); border-radius:6px; pointer-events:none;
}
.oc-kick{ font-family:var(--sans); font-size:4.2cqw; letter-spacing:.32em; text-transform:uppercase; color:var(--leaf-deep); }
.oc-mini{ width:34cqw; aspect-ratio:1; border-radius:50%; }
.oc-words{ font-size:7cqw; line-height:1.35; font-style:italic; }
.oc-by{ font-family:var(--sans); font-size:4.2cqw; letter-spacing:.3em; text-transform:uppercase; color:var(--fg-2); }
.oc-mark{ font-family:var(--sans); font-weight:700; font-size:6cqw; letter-spacing:.06em; color:var(--leaf-deep); }

/* a card sent to someone: the card is the picture */
.card-fig-wrap{ background:transparent; }
.card-fig-wrap .ocard{ width:min(360px,70vw); }
.oc-hint{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--fg-3); margin-top:1.2rem; }
@media (prefers-reduced-motion:reduce){ .ocard-in, .sdial-wheel{ transition:none; } }

/* ══ MNR collection hero, simplified: no words behind the tee, both placements in view ══ */
.spot-word, .spot-ring{ display:none !important; }
.spot-step{ margin:1.6rem 0 0; font-size:.62rem; letter-spacing:.26em; text-transform:uppercase; color:var(--leaf); }
.spot-step + .spot-pieces{ margin-top:.7rem; }
.spot-ctl .spot-step{ margin:0; }
.spot-ctl::after{ display:none; }
.spot-arena{ display:flex; flex-direction:column; align-items:center; gap:1.2rem; }
.spot-layer{ container-type:inline-size; }
.spot-loupe{
  position:absolute; right:-2%; bottom:6%; width:40cqw; aspect-ratio:1; border-radius:50%;
  overflow:hidden; background:var(--pc,#222);
  box-shadow:0 0 0 3px var(--leaf), 0 18px 40px rgba(0,0,0,.45); pointer-events:none;
}
.spot-loupe-in{
  position:absolute; width:100cqw;
  left:calc(20cqw - var(--ox) * 100cqw); top:calc(20cqw - var(--oy) * 82.2cqw);
  transform:scale(2.8); transform-origin:calc(var(--ox) * 100%) calc(var(--oy) * 100%);
}
.spot-loupe-in .tee{ width:100%; filter:none !important; animation:none !important; }
.spot-loupe em{
  position:absolute; left:0; right:0; bottom:0; padding:.45rem 0 .7rem; text-align:center; font-style:normal;
  font-size:.52rem; letter-spacing:.2em; text-transform:uppercase; color:#fff;
  background:rgba(16,24,12,.72);
}
.spot-compare{ display:flex; gap:.8rem; justify-content:center; }
.spot-compare button{
  width:clamp(84px,9vw,118px); padding:.4rem .4rem .55rem; border-radius:12px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); color:var(--ink);
  display:flex; flex-direction:column; align-items:center; gap:.35rem;
  transition:background .3s, border-color .3s, transform .3s;
}
.spot-compare button:hover{ transform:translateY(-2px); }
.spot-compare button[aria-pressed="true"]{ background:rgba(137,194,30,.16); border-color:var(--leaf); }
.spot-cmp-fig{ width:100%; display:block; }
.spot-cmp-fig .tee{ width:100%; }
.spot-cmp-lbl{ font-size:.58rem; letter-spacing:.18em; text-transform:uppercase; }

/* ══ the Spirit Oracle card, holographic — the real page from the deck ══ */
.ocard{ position:relative; perspective:1300px; }
.holo-tilt{ position:absolute; inset:0; transform-style:preserve-3d;
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); }
.ocard-front{ padding:0 !important; display:block !important; background:#fff; }
.oc-page, .ocard-front picture{ display:block; width:100%; height:100%; }
.oc-page{ object-fit:cover; }
.ocard-face{ border-radius:3.4% / 2% !important;
  box-shadow:0 0 0 1px rgba(44,37,40,.08), 0 26px 50px rgba(20,24,18,.28) !important; }
.holo-foil{ position:absolute; inset:0; pointer-events:none; mix-blend-mode:color-dodge; opacity:.42;
  background:repeating-linear-gradient(115deg,#ff6fd8 0%,#ffe36e 6%,#6dffb0 12%,#6fd4ff 18%,#b98bff 24%,#ff6fd8 30%),
             repeating-linear-gradient(25deg,rgba(255,255,255,.16) 0 2px,transparent 2px 5px);
  background-size:300% 300%,100% 100%; background-position:var(--fx,50%) var(--fy,50%),0 0; }
.ocard-front .holo-foil{ mix-blend-mode:multiply; opacity:.16; }
.holo-glare{ position:absolute; inset:0; pointer-events:none; mix-blend-mode:soft-light;
  background:radial-gradient(circle at var(--fx,50%) var(--fy,30%),rgba(255,255,255,.9),rgba(255,255,255,0) 52%); }
.holo-shadow{ position:absolute; left:12%; right:12%; bottom:-7%; height:6%; border-radius:50%; pointer-events:none;
  background:radial-gradient(closest-side,rgba(20,24,18,.35),transparent); filter:blur(6px);
  transform:translateX(calc((var(--fx,50%) - 50%) * -.12)); }
.card-fig-wrap .ocard{ width:min(380px,74vw); }

/* the draw lands on the card: deck → card → card beside its tee */
.drawn-card{ position:absolute; z-index:5; left:50%; top:47%; height:88%; aspect-ratio:2750/4750;
  transform:translate(-50%,-50%) scale(.9); opacity:0; visibility:hidden; pointer-events:none;
  transition:left .9s var(--ease), height .9s var(--ease), top .9s var(--ease), transform .9s var(--ease),
             opacity .6s var(--ease), visibility 0s linear .6s; }
.drawn-card .ocard{ width:100%; height:100%; }
.mline-stage[data-state="card"] .drawn-card,
.mline-stage[data-state="tee"] .drawn-card{ opacity:1; visibility:visible; pointer-events:auto;
  transform:translate(-50%,-50%); transition-delay:0s; }
.mline-stage[data-state="card"] .deck{ opacity:0; visibility:hidden; transform:scale(.94) translateY(10px); pointer-events:none; }
.mline-stage[data-state="card"] .stage-halo{ opacity:.9; }
.mline-stage[data-state="tee"] .drawn-card{ left:21%; top:50%; height:74%; }
.mline-stage[data-state="tee"] .drawn-tee{ width:66%; justify-self:end; }
.mline-stage[data-state="tee"] .drawn-tee .tee{ width:96%; }
.mline-stage[data-state="tee"] .tee-swatches{ left:66%; }
@media (max-width:860px){
  .mline-stage[data-state="tee"] .drawn-card{ left:22%; height:62%; }
}
@media (prefers-reduced-motion:reduce){ .drawn-card{ transition:opacity .3s; } }
.ocard-front .holo-foil{ opacity:.12; }
.ocard-back .holo-foil{ mix-blend-mode:multiply; opacity:.14; }
.ocard-back .oc-words{ color:#2c2528; }

/* the collection title, and the eighty-eight folded until asked for */
.mline-by{ display:block; font-size:clamp(1.1rem,2vw,1.5rem); font-weight:400; letter-spacing:0; color:var(--fg-2); margin-top:.35em; }
.mline-title{ max-width:16ch; }
.the88 .coin{ transition:opacity .5s var(--ease), transform .5s var(--ease); }
.the88:not(.all) .coins .coin:nth-child(n+23){ display:none; }
.the88.all .coins .coin:nth-child(n+23){ animation:coinIn .6s var(--ease) both; animation-delay:calc(var(--i,0) * 12ms); }
@keyframes coinIn{ from{ opacity:0; transform:translateY(14px) scale(.9); } }
@media (max-width:1100px){ .the88:not(.all) .coins .coin:nth-child(n+17){ display:none; } }
@media (max-width:860px){ .the88:not(.all) .coins .coin:nth-child(n+13){ display:none; } }
@media (max-width:480px){ .the88:not(.all) .coins .coin:nth-child(n+9){ display:none; } }
.the88-more{ display:flex; justify-content:center; margin-top:clamp(1.4rem,3vh,2.2rem); }
@media (prefers-reduced-motion:reduce){ .the88.all .coins .coin{ animation:none !important; } }

/* ══ the closing, light: the slogan glows in green on the paper ══ */
.nightfall{
  color:var(--leaf-deep);
  padding:clamp(6rem,18vh,11rem) var(--pad) clamp(5rem,14vh,9rem);
  background:linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg-2) 60%, transparent) 60%, var(--bg-2) 100%);
}
.nightfall::before{ display:none; }
.nightfall-halo{ top:50%; background:radial-gradient(circle, rgba(137,194,30,.22), transparent 62%); }
.nightfall-scan{ display:none; }
.nightfall-line{ color:var(--leaf-deep); text-shadow:none; opacity:.4; }
.nightfall-line.seen{ opacity:1; text-shadow:0 0 28px rgba(137,194,30,.35); animation:none; }
.nightfall-sub{ color:var(--fg-2); }

/* ══ the draw, perfected ═══════════════════════════════════════════════
   Card and tee each get their own half of the stage — nothing overlaps —
   and the card says how to turn it. */
.mline-read{ font-size:.82rem; margin:1.6rem 0 1rem; min-height:1.6em; }
.mline-read b{ font-size:1.5rem; letter-spacing:0; line-height:1; }
.mline-read span{ color:var(--fg); font-weight:600; }
.draw-affirm{ max-width:34ch; }
.mline-copy .hero-actions{ margin-top:1.6rem; }
.mline-copy .hero-actions #wearBtn{ order:-1; }
.draw-all{ display:inline-flex; gap:.4rem; margin-top:1.2rem; font-size:.72rem; letter-spacing:.18em;
  text-transform:uppercase; color:var(--fg-2); border-bottom:1px solid var(--line); padding-bottom:.25rem;
  transition:color .3s, border-color .3s; }
.draw-all:hover{ color:var(--leaf-deep); border-color:var(--leaf-deep); }

/* the pack wears the same back as the card that comes out of it */
.deck .face{ border-radius:5% / 3%; }
.deck .face.back{
  background:radial-gradient(90% 60% at 50% 40%,#fffdf8,#efe9d8);
  box-shadow:0 0 0 1px rgba(44,37,40,.1), 0 18px 36px rgba(44,37,40,.2);
}
.deck .face.back::before{ content:""; position:absolute; inset:5%; border:1px solid rgba(92,128,24,.4); border-radius:4% / 2.4%; }
.deck .face.back::after{
  content:"MNR"; color:var(--leaf-deep); font-weight:700; letter-spacing:.3em; font-size:.7rem;
  width:46%; aspect-ratio:1; display:grid; place-items:center; border-radius:50%;
  background:repeating-conic-gradient(rgba(92,128,24,.32) 0 2deg,transparent 2deg 9deg);
  -webkit-mask:radial-gradient(closest-side,#000 0 46%,transparent 47% 62%,#000 63%);
          mask:radial-gradient(closest-side,#000 0 46%,transparent 47% 62%,#000 63%);
}
.deck .face.front{ box-shadow:0 0 0 1px rgba(44,37,40,.08), 0 22px 44px rgba(44,37,40,.26); }

/* a quiet prompt under the pack, gone once a draw starts */
.stage-hint{ position:absolute; left:0; right:0; bottom:3%; z-index:1; margin:0; text-align:center; pointer-events:none;
  font-size:.62rem; letter-spacing:.26em; text-transform:uppercase; color:var(--fg-3); transition:opacity .4s var(--ease); }
.mline-stage:not([data-state="deck"]) .stage-hint{ opacity:0; }

/* the card keeps to the paper: only a breath of foil on its face */
.ocard-front .holo-foil{ opacity:.07; }
.holo-glare{ opacity:.7; }

/* card alone, centre stage */
.drawn-card{ top:46%; height:84%; }
/* then card left, tee right — two clear halves */
.mline-stage[data-state="tee"] .drawn-card{ left:19%; top:47%; height:64%; }
.mline-stage[data-state="tee"] .drawn-tee{ width:58%; justify-self:end; }
.mline-stage[data-state="tee"] .drawn-tee .tee{ width:100%; }
.mline-stage[data-state="tee"] .tee-swatches{ left:71%; }

/* the pill that turns the card */
.card-turn{
  position:absolute; z-index:6; left:50%; top:93%; translate:-50% 0; display:inline-flex; align-items:center; gap:.5rem;
  padding:.5rem .9rem; border-radius:999px; border:1px solid var(--line); background:color-mix(in srgb,var(--bg) 88%,transparent);
  font-size:.6rem; letter-spacing:.2em; text-transform:uppercase; color:var(--fg); white-space:nowrap;
  box-shadow:0 4px 14px rgba(44,37,40,.1); opacity:0; visibility:hidden;
  transition:left .9s var(--ease), top .9s var(--ease), opacity .5s var(--ease), visibility 0s linear .5s, border-color .3s, color .3s;
}
.card-turn i{ font-style:normal; font-size:.9rem; line-height:1; color:var(--leaf-deep); transition:transform .5s var(--ease); }
.card-turn:hover{ border-color:var(--leaf-deep); color:var(--leaf-deep); }
.card-turn:hover i{ transform:rotate(180deg); }
.mline-stage[data-state="card"] .card-turn,
.mline-stage[data-state="tee"] .card-turn{ opacity:1; visibility:visible; transition-delay:0s,0s,.5s,0s,0s,0s; }
.mline-stage[data-state="tee"] .card-turn{ left:19%; top:calc(100% + .4rem); }

/* phones: stack them — the card on top where it can be read, the tee under it */
@media (max-width:860px){
  .mline-stage{ aspect-ratio:.565; max-width:440px; }
  .mline-stage[data-state="deck"], .mline-stage[data-state="drawing"]{ aspect-ratio:1.05; }
  .drawn-card{ height:auto; width:62%; }
  .mline-stage[data-state="card"] .drawn-card{ top:44%; width:74%; }
  .mline-stage[data-state="tee"] .drawn-card{ left:50%; top:27.5%; width:56%; height:auto; }
  .mline-stage[data-state="tee"] .drawn-tee{ width:74%; height:auto; justify-self:center; align-self:end; }
  .mline-stage[data-state="tee"] .tee-swatches{ left:50%; }
  .mline-stage[data-state="tee"] .card-turn{ left:50%; top:57%; }
}

/* ══ the draw as a reading: a fan to choose from, and a reveal in the card's own colours ══ */
.deck .card{
  width:min(21%,165px); transform-origin:50% 235%;
  transition:transform .6s var(--ease), opacity .5s var(--ease), filter .5s var(--ease);
  outline:none;
}
.deck.cut .card{ transform:var(--rest); }
/* the one under your hand lifts out of the fan */
.mline-stage[data-state="deck"] .deck .card:hover,
.mline-stage[data-state="deck"] .deck .card:focus-visible{ transform:var(--rest) translateY(-9%); }
.mline-stage[data-state="deck"] .deck .card:hover .face.back,
.mline-stage[data-state="deck"] .deck .card:focus-visible .face.back{
  box-shadow:0 0 0 2px var(--leaf), 0 24px 44px rgba(44,37,40,.26); }
/* the fan closes into a pack and opens again */
.deck.riffling .card{ animation:fanShuffle .64s var(--ease-io) both; animation-delay:calc(var(--k) * 22ms); }
@keyframes fanShuffle{ 0%{ transform:var(--rest); } 45%{ transform:rotate(0deg) translateY(2%); } 100%{ transform:var(--rest); } }
/* the rest fold away so the chosen one has the stage */
.deck .card.tucked{ transform:rotate(0deg) translateY(10%) scale(.86); opacity:0; filter:none; }
.deck .card.risen{ transform:rotate(0deg) translateY(90%) translateZ(90px) scale(1.5); z-index:6; }
.deck .card.risen.turned{ transform:rotate(0deg) translateY(90%) translateZ(90px) scale(1.5) rotateY(180deg); }
.deck .card.risen.turned .face.front{ animation:none;
  box-shadow:0 0 0 1px rgba(44,37,40,.08), 0 30px 60px rgba(44,37,40,.3), 0 0 70px 6px color-mix(in srgb,var(--ink,#89c21e) 45%,transparent); }
.stage-hint{ bottom:1%; }

/* light in the drawn card's own colours, and slow rays behind it */
.stage-rays{ position:absolute; inset:-8%; z-index:0; pointer-events:none; border-radius:50%; opacity:0; transform:scale(.7);
  background:
    radial-gradient(closest-side, color-mix(in srgb,var(--ink,#89c21e) 34%,transparent), color-mix(in srgb,var(--ink2,#5c8018) 14%,transparent) 55%, transparent 72%);
  transition:opacity 1.1s var(--ease), transform 1.6s var(--ease); }
.stage-rays::after{ content:""; position:absolute; inset:0; border-radius:50%;
  background:repeating-conic-gradient(color-mix(in srgb,var(--ink,#89c21e) 30%,transparent) 0 1.2deg, transparent 1.2deg 10deg);
  -webkit-mask:radial-gradient(closest-side, transparent 30%, #000 46%, transparent 72%);
          mask:radial-gradient(closest-side, transparent 30%, #000 46%, transparent 72%);
  animation:spin 90s linear infinite; }
.mline-stage[data-state="card"] .stage-rays{ opacity:1; transform:none; }
.mline-stage[data-state="tee"] .stage-rays{ opacity:.55; transform:scale(1.04); }
/* its own mandala turns behind it */
.mline-stage[data-state="card"] .stage-halo{ opacity:1; transform:scale(1.04); }
.mline-stage[data-state="card"] .stage-halo img{ opacity:.22; }
/* the copy picks the colour up too */
.draw-affirm{ border-left-color:var(--leaf-deep); }
.draw-affirm span{ display:inline-block; opacity:0; transform:translateY(.45em); filter:blur(3px);
  transition:opacity .5s var(--ease), transform .6s var(--ease), filter .5s var(--ease); transition-delay:calc(var(--i,0) * 38ms); }
.draw-affirm.on span{ opacity:1; transform:none; filter:none; }
/* the card arrives with a little weight */
.mline-stage[data-state="card"] .drawn-card{ animation:cardLand .9s var(--ease) both; }
@keyframes cardLand{ 0%{ transform:translate(-50%,-50%) scale(.86); } 60%{ transform:translate(-50%,-50%) scale(1.025); } 100%{ transform:translate(-50%,-50%) scale(1); } }
@media (max-width:860px){
  .deck .card{ width:21.5%; }
  .deck .card.risen{ transform:rotate(0deg) translateY(54%) translateZ(90px) scale(1.3); }
  .deck .card.risen.turned{ transform:rotate(0deg) translateY(54%) translateZ(90px) scale(1.3) rotateY(180deg); }
}
@media (prefers-reduced-motion:reduce){
  .stage-rays::after, .deck.riffling .card, .mline-stage[data-state="card"] .drawn-card{ animation:none; }
  .draw-affirm span{ transition:none; opacity:1; transform:none; filter:none; }
}

/* ══ the mandala product page, in buying order: what it is, choose, add — then the card ══ */
.sheet-body:has(.sheet-left){ align-items:start; }
@media (min-width:821px) and (min-height:800px){ .sheet-left{ position:sticky; top:0; } }
.sheet-left .sheet-fig{ border-radius:14px; }
.sheet-priceline{ display:flex; align-items:baseline; gap:1rem; flex-wrap:wrap; margin:.6rem 0 0; }
.sheet-priceline .sheet-price{ font-size:1.5rem; font-weight:700; color:var(--fg); }
.sheet-priceline .sheet-garment{ margin:0; }
.sheet-info .sheet-affirm{ margin:1.4rem 0 1.6rem; padding:.2rem 0 .2rem 1.1rem; border-left:2px solid var(--leaf);
  font-size:clamp(1rem,1.5vw,1.2rem); max-width:40ch; }
.sheet-opt{ margin:1.3rem 0 .6rem; font-size:.62rem; letter-spacing:.24em; text-transform:uppercase; color:var(--fg-3); }
.sheet-opt b{ color:var(--fg); font-weight:600; margin-left:.5rem; }
.sheet-opt + .placements, .sheet-opt + .sheet-swatches, .sheet-opt + .sizes{ margin:0; }
.sheet-info .sizes button{ min-width:3rem; border-radius:8px; }
.sheet-info .sheet-buy{ margin-top:1.6rem; }
.sheet-info .sheet-buy .btn{ width:100%; max-width:26rem; justify-content:center; text-align:center; padding-block:1.05rem; }
.sheet-perks{ list-style:none; margin:1.1rem 0 0; padding:0; display:flex; flex-wrap:wrap; gap:.4rem 1.2rem;
  font-size:.74rem; color:var(--fg-2); }
.sheet-perks li::before{ content:"✓"; color:var(--leaf-deep); font-weight:700; margin-right:.4rem; }

.sheet-card{ margin:2.2rem 0 1.4rem; padding-top:1.6rem; }
.sheet-card-row{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:1.6rem; align-items:center; }
.sheet-card .ocard{ width:clamp(150px,15vw,200px); }
.sheet-card-msg{ margin:0 0 .9rem; font-size:.92rem; color:var(--fg); max-width:38ch; }
.sheet-card-note{ margin:0; font-size:.8rem; }
.sheet-card-act{ display:flex; gap:.5rem; flex-wrap:wrap; margin-top:1rem; }
.sheet-card-act .btn{ padding:.6rem 1rem; }
@media (max-width:520px){ .sheet-card-row{ grid-template-columns:1fr; justify-items:center; } .sheet-card .ocard{ width:min(240px,66vw); } .sheet-card-txt{ justify-self:stretch; } }

.sheet-details{ border-top:var(--rule) solid var(--line); border-bottom:var(--rule) solid var(--line); margin-top:1rem; }
.sheet-details summary{ cursor:pointer; list-style:none; padding:1rem 0; display:flex; justify-content:space-between;
  font-size:.66rem; letter-spacing:.24em; text-transform:uppercase; }
.sheet-details summary::-webkit-details-marker{ display:none; }
.sheet-details summary::after{ content:"+"; font-size:1rem; line-height:1; color:var(--leaf-deep); }
.sheet-details[open] summary::after{ content:"–"; }
.sheet-details .sheet-spec{ margin:0 0 1.2rem; }

/* ══ the drawn tee lies beside its card, the way they'd sit on a table ══ */
.drawn-card{ transition:left .9s var(--ease), height .9s var(--ease), top .9s var(--ease), transform .9s var(--ease),
  rotate .9s var(--ease), opacity .6s var(--ease), visibility 0s linear .6s; }
.mline-stage[data-state="tee"] .drawn-card{ left:20%; top:48%; height:60%; rotate:-3deg; }
.mline-stage[data-state="tee"] .drawn-tee{ width:60%; }
.drawn-tee .tee{ transition:transform .7s var(--ease), rotate .9s var(--ease); }
.mline-stage[data-state="tee"] .drawn-tee .tee{ rotate:2deg;
  filter:drop-shadow(0 1px 1px rgba(44,37,40,.22)) drop-shadow(0 6px 8px rgba(44,37,40,.14)) drop-shadow(0 22px 26px rgba(44,37,40,.1)); }
.mline-stage[data-state="tee"] .holo-shadow{ bottom:-3%; height:4%; opacity:.8; }
.mline-stage[data-state="tee"] .ocard-face{ box-shadow:0 0 0 1px rgba(44,37,40,.08), 0 1px 1px rgba(44,37,40,.2), 0 8px 12px rgba(44,37,40,.14), 0 22px 28px rgba(44,37,40,.1) !important; }
/* one soft pool of the card's colour under both, no rays once the tee is out */
.mline-stage[data-state="tee"] .stage-rays{ opacity:.5; transform:scale(1.02); }
.mline-stage[data-state="tee"] .stage-rays::after{ opacity:0; transition:opacity .8s var(--ease); }
.mline-stage[data-state="tee"] .card-turn{ left:20%; }
@media (max-width:860px){
  .mline-stage[data-state="tee"] .drawn-card{ left:50%; top:27.5%; width:56%; height:auto; rotate:-2deg; }
  .mline-stage[data-state="tee"] .drawn-tee{ width:74%; }
  .mline-stage[data-state="tee"] .card-turn{ left:50%; }
}

/* ══ site-wide polish, Nov 2026 ════════════════════════════════════════ */
/* keyboard focus is always visible, in the brand green */
:where(a, button, [role="button"], summary, input):focus-visible{ outline:2px solid var(--leaf-deep); outline-offset:3px; border-radius:4px; }
::selection{ background:color-mix(in srgb,var(--leaf) 40%,transparent); }

/* section headers: a readable line under the title */
.sec-head p{ font-size:1rem; line-height:1.55; max-width:44ch; }
.eyebrow{ letter-spacing:.24em; }

/* product cards: rounded, lift a little under the hand, names never crowd the price */
.card-fig{ border-radius:14px; transition:background .6s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover .card-fig{ transform:translateY(-4px); box-shadow:0 18px 34px rgba(44,37,40,.1); }
.card-meta{ gap:.8rem; align-items:flex-start; }
.card-name{ font-size:clamp(1.05rem,1.5vw,1.35rem); }
.card-price{ font-size:.95rem; font-weight:600; padding-top:.15rem; }
.card-tag{ border-radius:999px; }

/* the MNR tees and the blanks use the full width: four across, two on a phone */
.mnr-grid, .blank-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); max-width:none; margin-top:clamp(2.5rem,6vw,4.5rem); }
@media (max-width:900px){ .mnr-grid, .blank-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* the eighty-eight: a little more room for each mandala */
.the88 .coin{ transition:transform .35s var(--ease), opacity .35s var(--ease); }
.the88 .coin:hover{ transform:scale(1.08); }
.the88-note{ font-size:1rem; }

/* the artist: a bio you can read */
.artist-bio p{ font-size:1rem; line-height:1.65; }
.artist-portrait img{ border-radius:14px; }

/* the cloth: photographs on one side, the words beside them */
.cloth-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(.8rem,1.6vw,1.4rem); max-width:none; }
.cloth-item img{ border-radius:14px; width:100%; }
@media (min-width:900px){
  .cloth{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); column-gap:clamp(2.5rem,6vw,6rem); align-items:center; }
  .cloth > .sec-head, .cloth > .ethos-cols{ grid-column:1 / -1; }
  .cloth > .ethos-lede{ margin:0; font-size:clamp(1.3rem,2vw,1.9rem); line-height:1.35; }
  .cloth > .ethos-cols{ margin-top:clamp(3rem,7vw,5rem); }
}
.ethos-col p{ font-size:1rem; line-height:1.6; }
.ethos-col{ padding-top:1.2rem; border-top:2px solid var(--leaf); }

/* the footer: one tidy band instead of a tall empty one */
.foot{ grid-template-columns:auto minmax(0,1fr); align-items:start; padding-top:clamp(2.5rem,5vw,4rem); gap:clamp(1.5rem,4vw,3.5rem); }
.foot-seal{ margin:0; width:clamp(84px,8vw,120px); grid-row:1; grid-column:1; }
.foot-mark{ display:none; }
.foot-cols{ grid-row:1; grid-column:2; justify-content:flex-end; flex-wrap:wrap; gap:clamp(1.5rem,5vw,5rem); }
.foot-cols a, .foot-box p{ font-size:.92rem; opacity:1; }
.foot-cols h4{ font-size:.66rem; color:var(--leaf-deep); font-weight:600; }
.foot-legal{ font-size:.74rem; }
@media (max-width:640px){ .foot{ grid-template-columns:1fr; } .foot-seal, .foot-cols{ grid-column:1; grid-row:auto; } .foot-cols{ justify-content:flex-start; } }

/* the bag, empty */
.bag-empty{ display:flex; flex-direction:column; align-items:flex-start; gap:.7rem; padding-top:1rem; }
.bag-empty p{ margin:0; font-size:1.1rem; color:var(--fg); }
.bag-empty .bag-empty-sub{ font-size:.9rem; color:var(--fg-2); max-width:30ch; margin-bottom:.6rem; }

/* every product sheet reads like the mandala one: picture pinned at the top, a clear price, a wide button */
.sheet-body{ align-items:start; }
.sheet-fig{ border-radius:14px; }
@media (min-width:821px) and (min-height:760px){ .sheet-body > .sheet-fig{ position:sticky; top:0; } }
.sheet-buy .sheet-price{ font-size:1.5rem; font-weight:700; }
.sheet-buy .btn{ flex:1 1 14rem; max-width:26rem; justify-content:center; text-align:center; padding-block:1.05rem; }
.sheet-info .sizes button{ min-width:3rem; border-radius:8px; }
.sheet-ship{ font-size:.74rem; letter-spacing:.06em; text-transform:none; color:var(--fg-2); }

/* the MNR collection hero: the colour strip reads as swatches, not slivers of photo */
.spot-slant button i{ display:none; }
.spot-slant{ gap:.5rem; }
.spot-slant button{ border-radius:10px; min-height:2.6rem; box-shadow:inset 0 0 0 1px rgba(255,255,255,.18); }
.spot-slant button[aria-pressed="true"]{ box-shadow:inset 0 0 0 2px var(--leaf); }
.spot-slant button em{ opacity:.85; }
.spot-slant button em{ color:#fff; mix-blend-mode:difference; opacity:.9; }

/* phones get the menu too: one swipeable row under the mark */
@media (max-width:720px){
  #nav{ flex-wrap:wrap; row-gap:.55rem; padding-block:.8rem .6rem; }
  .nav-links{ display:flex; order:3; flex:0 0 100%; gap:1.4rem; overflow-x:auto; scrollbar-width:none;
    padding-bottom:.2rem; -webkit-overflow-scrolling:touch; white-space:nowrap;
    -webkit-mask:linear-gradient(90deg,#000 88%,transparent); mask:linear-gradient(90deg,#000 88%,transparent); }
  .nav-links::-webkit-scrollbar{ display:none; }
  .nav-links a{ font-size:.66rem; letter-spacing:.16em; padding:.25rem 0; }
}

/* ══ second pass, Nov 2026 ═════════════════════════════════════════════ */
/* how it works — three plain steps between the draw and the eighty-eight */
.how{ list-style:none; margin:clamp(2.5rem,7vh,5rem) 0 0; padding:0; position:relative; z-index:2;
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1rem,3vw,2.5rem); }
.how li{ display:flex; gap:1rem; align-items:flex-start; padding:1.3rem 1.4rem; border-radius:16px;
  background:color-mix(in srgb,var(--panel) 62%,transparent); box-shadow:inset 0 0 0 1px var(--line); }
.how b{ flex:none; width:2.2rem; height:2.2rem; border-radius:50%; display:grid; place-items:center;
  background:var(--leaf); color:#15200f; font-weight:700; font-size:.95rem; }
.how h3{ margin:0 0 .25rem; font-size:1.1rem; font-weight:600; }
.how p{ margin:0; font-size:.92rem; color:var(--fg-2); line-height:1.5; }
.how li:nth-child(2){ transition-delay:.08s; } .how li:nth-child(3){ transition-delay:.16s; }
@media (max-width:860px){ .how{ grid-template-columns:1fr; } }

/* search the eighty-eight */
.the88-side{ display:flex; flex-direction:column; align-items:flex-end; gap:.7rem; }
.find88 input{ width:min(22rem,78vw); padding:.7rem 1.1rem; border-radius:999px; border:1px solid var(--line);
  background:var(--panel); font:inherit; font-size:.92rem; color:var(--fg); transition:border-color .3s, box-shadow .3s; }
.find88 input::placeholder{ color:var(--fg-3); }
.find88 input:focus{ outline:none; border-color:var(--leaf-deep); box-shadow:0 0 0 3px color-mix(in srgb,var(--leaf) 28%,transparent); }
.the88 .coin.miss{ opacity:.1 !important; pointer-events:none; transform:scale(.86); }
.the88.finding .coin:not(.miss){ opacity:1 !important; }
@media (max-width:860px){ .the88-side{ align-items:stretch; width:100%; } .find88 input{ width:100%; } }

/* the closing has somewhere to go */
.nightfall-cta{ position:relative; z-index:3; display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; margin-top:2.2rem; }

/* size guide link under the sizes */
.size-guide{ display:inline-block; margin-top:.7rem; padding:0; border:0; background:none; cursor:pointer;
  font-size:.74rem; color:var(--fg-2); text-decoration:underline; text-underline-offset:3px; }
.size-guide:hover{ color:var(--leaf-deep); }
.help-panel, #helpVeil{ z-index:90; }

/* a buy bar that follows you down the product page on a phone */
.buybar{ display:none; }
@media (max-width:820px){
  .buybar:not([hidden]){ position:sticky; bottom:0; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:1rem;
    margin:1rem calc(var(--pad) * -1) 0; padding:.8rem var(--pad) calc(.8rem + env(safe-area-inset-bottom));
    background:color-mix(in srgb,var(--bg) 92%,transparent); backdrop-filter:blur(12px); box-shadow:0 -1px 0 var(--line), 0 -10px 24px rgba(44,37,40,.08); }
  .buybar p{ margin:0; display:flex; flex-direction:column; min-width:0; }
  .buybar b{ font-size:.95rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .buybar span{ font-size:.85rem; color:var(--fg-2); }
  .buybar .btn{ flex:none; padding:.8rem 1.3rem; }
}

/* the card, riding along in the bag */
.bag-gift{ background:color-mix(in srgb,var(--leaf) 9%,transparent); border-radius:12px; padding:.7rem; margin-top:.6rem; border:0; }
.bag-gift img, .bag-gift-back{ width:44px; height:auto; aspect-ratio:2750/4750; object-fit:cover; border-radius:4px;
  box-shadow:0 0 0 1px rgba(44,37,40,.1), 0 4px 10px rgba(44,37,40,.12); background:#fffdf8; }
.bag-gift-back{ display:grid; place-items:center; font-size:.5rem; font-weight:700; letter-spacing:.14em; color:var(--leaf-deep); }
.bag-gift .bag-line-price{ color:var(--leaf-deep); font-weight:600; font-size:.8rem; }

/* ══ third pass, Nov 2026: a card a day, the deck as cards, find by feeling ══ */
.today{ padding-block:clamp(3rem,8vh,6rem); position:relative; z-index:3; }
.today-in{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:clamp(2rem,6vw,5.5rem); align-items:center;
  max-width:1100px; margin-inline:auto; padding:clamp(1.6rem,4vw,3.2rem); border-radius:28px;
  background:linear-gradient(135deg, color-mix(in srgb,var(--panel) 80%,transparent), color-mix(in srgb,var(--leaf) 10%,var(--panel)));
  box-shadow:inset 0 0 0 1px var(--line), 0 30px 60px rgba(44,37,40,.07); }
.today-card .ocard{ width:clamp(170px,19vw,250px); }
.today-name{ font-size:clamp(2rem,4.6vw,3.6rem); font-weight:700; letter-spacing:-.03em; line-height:1; margin:.7rem 0 0; }
.today-name b{ color:var(--leaf-deep); font-variant-numeric:tabular-nums; margin-right:.2em; }
.today-affirm{ margin:1.2rem 0 0; padding-left:1.1rem; border-left:2px solid var(--leaf);
  font-size:clamp(1.1rem,1.8vw,1.45rem); line-height:1.35; max-width:36ch; }
.today-msg{ margin:1rem 0 0; color:var(--fg-2); font-size:.98rem; max-width:52ch; }
.today .hero-actions{ margin-top:1.6rem; }
@media (max-width:760px){ .today-in{ grid-template-columns:1fr; justify-items:center; text-align:left; } .today-copy{ justify-self:stretch; } .today-card .ocard{ width:min(230px,62vw); } }

/* tools over the eighty-eight */
.the88-tools{ display:flex; justify-content:space-between; align-items:center; gap:1rem 2rem; flex-wrap:wrap; margin-bottom:clamp(1.2rem,3vh,2rem); }
.feel{ display:flex; flex-wrap:wrap; gap:.45rem; align-items:center; }
.feel-q{ font-size:.66rem; letter-spacing:.22em; text-transform:uppercase; color:var(--fg-2); margin-right:.5rem; }
.feel button, .view88 button{ border:1px solid var(--line); background:color-mix(in srgb,var(--panel) 70%,transparent); color:var(--fg);
  padding:.5rem .95rem; border-radius:999px; font:inherit; font-size:.84rem; cursor:pointer;
  transition:background .25s, border-color .25s, color .25s, transform .25s; }
.feel button:hover{ border-color:var(--leaf-deep); transform:translateY(-1px); }
.feel button[aria-pressed="true"], .view88 button[aria-pressed="true"]{ background:var(--leaf); border-color:var(--leaf); color:#15200f; font-weight:600; }
.view88{ display:flex; gap:0; }
.view88 button{ border-radius:0; font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; }
.view88 button:first-child{ border-radius:999px 0 0 999px; } .view88 button:last-child{ border-radius:0 999px 999px 0; border-left:0; }

/* the deck laid out as cards */
.cards88{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(.8rem,1.8vw,1.6rem); }
.cards88[hidden], .coins[hidden]{ display:none !important; }
.dcard{ padding:0; border:0; background:none; cursor:pointer; text-align:left; color:inherit;
  transition:transform .4s var(--ease), opacity .35s var(--ease); }
.dcard img, .dcard picture{ display:block; width:100%; height:auto; }
.dcard img{ aspect-ratio:300/518; border-radius:8px; background:#fff;
  box-shadow:0 0 0 1px rgba(44,37,40,.08), 0 10px 22px rgba(44,37,40,.1); transition:box-shadow .4s var(--ease); }
.dcard:hover{ transform:translateY(-6px) rotate(-1deg); }
.dcard:hover img{ box-shadow:0 0 0 1px rgba(44,37,40,.08), 0 22px 36px rgba(44,37,40,.18); }
.dcard span{ display:block; margin-top:.6rem; font-size:.84rem; line-height:1.25; }
.dcard span b{ color:var(--leaf-deep); margin-right:.45rem; font-variant-numeric:tabular-nums; }
.dcard.miss{ opacity:.1; pointer-events:none; }
.the88:not(.all) .cards88 .dcard:nth-child(n+13){ display:none; }
@media (max-width:1100px){ .cards88{ grid-template-columns:repeat(4,minmax(0,1fr)); } .the88:not(.all) .cards88 .dcard:nth-child(n+9){ display:none; } }
@media (max-width:640px){ .cards88{ grid-template-columns:repeat(2,minmax(0,1fr)); } .the88:not(.all) .cards88 .dcard:nth-child(n+5){ display:none; } }

/* the menu marks the section you are in */
.nav-links a.is-here{ color:var(--leaf-deep); }
.nav-links a.is-here::after{ transform:scaleX(1); transform-origin:left; }
.cards88 .dcard.miss{ display:none; }
.the88.finding .cards88 .dcard{ display:block !important; } .the88.finding .cards88 .dcard.miss{ display:none !important; }

/* ══ fourth pass, Nov 2026 ═════════════════════════════════════════════ */
.announce span{ display:inline-block; transition:opacity .4s var(--ease), transform .4s var(--ease); }
.announce span.out{ opacity:0; transform:translateY(-6px); }

/* the cards you have drawn, kept under the buttons */
.draws{ margin-top:1.8rem; }
.draws-h{ margin:0 0 .6rem; font-size:.62rem; letter-spacing:.24em; text-transform:uppercase; color:var(--fg-3); }
.draws-row{ display:flex; gap:.6rem; flex-wrap:wrap; }
.draws-row button{ width:54px; padding:0; border:0; background:none; cursor:pointer; position:relative;
  transition:transform .35s var(--ease); }
.draws-row button:first-child{ width:62px; }
.draws-row img{ display:block; width:100%; aspect-ratio:300/518; border-radius:5px; background:#fff;
  box-shadow:0 0 0 1px rgba(44,37,40,.1), 0 6px 14px rgba(44,37,40,.12); }
.draws-row button:hover{ transform:translateY(-4px) rotate(-2deg); }
.draws-row span{ position:absolute; left:50%; bottom:calc(100% + 6px); translate:-50% 4px; white-space:nowrap; pointer-events:none;
  background:var(--fg); color:var(--bg); font-size:.66rem; padding:.3rem .55rem; border-radius:6px; opacity:0;
  transition:opacity .2s, translate .2s; z-index:3; }
.draws-row button:hover span, .draws-row button:focus-visible span{ opacity:1; translate:-50% 0; }

/* the preview that follows the mouse over the eighty-eight never blocks the next mandala */
.lens:not(.touch){ pointer-events:none; }
.the88 .coin.lensed{ opacity:1 !important; }

/* a softer toast */
.toast{ border-radius:999px; padding-inline:1.3rem; box-shadow:0 14px 30px rgba(44,37,40,.22); }

/* ══ fifth pass, Nov 2026 ══════════════════════════════════════════════ */
/* close buttons you can actually hit */
.sheet-close, .bag-close{ width:44px; height:44px; padding:0; display:grid; place-items:center; border-radius:50%;
  background:color-mix(in srgb,var(--panel) 86%,transparent); box-shadow:0 0 0 1px var(--line), 0 6px 16px rgba(44,37,40,.1);
  cursor:pointer; transition:transform .3s var(--ease), background .3s; }
.sheet-close:hover, .bag-close:hover{ transform:rotate(90deg); background:var(--panel); }
.sheet-close{ top:1rem; right:max(1rem, calc(var(--pad) - .6rem)); z-index:6; }

/* checkout, while it waits for the store */
.bag-msg b{ color:var(--fg); }
.bag-msg{ font-size:.86rem; line-height:1.5; }
.bag-msg-act{ display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.8rem; }
.bag-msg-act .btn{ padding:.65rem 1rem; }
.help-panel .btn{ margin:.3rem 0; }

/* the cloth on a phone: the words get their own breath under the photographs */
@media (max-width:899px){ .cloth > .ethos-lede{ margin-top:clamp(1.8rem,6vw,2.6rem); } }

/* ══ the draw and the card of the day are one section; a smoother turn; the real seal on the backs ══ */
/* card backs: the Mother Nature's Remedy seal, not a stand-in mark */
.deck .face.back::after{
  content:""; width:58%; aspect-ratio:1; border-radius:0; -webkit-mask:none; mask:none;
  background:url(../img/logo-s.webp) center / contain no-repeat;
}
.deck .face.back::before{ inset:4.5%; }
.oc-seal{ width:30cqw; height:auto; aspect-ratio:1; object-fit:contain; }
.oc-mini{ width:30cqw; }

/* one easing for the whole draw, and the GPU keeps the cards */
.deck .card{ transition:transform .8s cubic-bezier(.22,.8,.24,1), opacity .55s var(--ease), filter .5s var(--ease);
  will-change:transform; backface-visibility:visible; }
.deck .face{ will-change:transform; }
.deck.riffling .card{ animation:fanShuffle .76s cubic-bezier(.45,0,.3,1) both; animation-delay:calc(var(--k) * 26ms); }
.deck .card.tucked{ transform:var(--rest) translateY(14%) scale(.9); opacity:0; transition-duration:.6s,.45s,.5s; }
/* risen to the finished card's own size and place (set per draw in --rise) */
.deck .card.risen{ transform:rotate(0deg) var(--rise, translateY(90%) scale(1.5)); z-index:6; transition-duration:.82s,.5s,.5s; }
.deck .card.risen.turned{ transform:rotate(0deg) var(--rise, translateY(90%) scale(1.5)) rotateY(180deg);
  transition:transform .9s cubic-bezier(.3,.1,.2,1); }
.deck .card.risen .face{ box-shadow:0 0 0 1px rgba(44,37,40,.08), 0 26px 50px rgba(20,24,18,.28); border-radius:3.4% / 2%; }
@media (max-width:860px){
  .deck .card.risen{ transform:rotate(0deg) var(--rise, translateY(54%) scale(1.3)); }
  .deck .card.risen.turned{ transform:rotate(0deg) var(--rise, translateY(54%) scale(1.3)) rotateY(180deg); }
}
/* the holo card takes over in place: no bounce, no fade-through */
.mline-stage[data-state="card"] .drawn-card{ animation:none; transform:translate(-50%,-50%);
  transition:left .95s cubic-bezier(.22,.8,.24,1), height .95s cubic-bezier(.22,.8,.24,1), top .95s cubic-bezier(.22,.8,.24,1),
             rotate .95s cubic-bezier(.22,.8,.24,1), opacity .18s linear, visibility 0s; }
.mline-stage[data-state="tee"] .drawn-card{
  transition:left .95s cubic-bezier(.22,.8,.24,1), height .95s cubic-bezier(.22,.8,.24,1), top .95s cubic-bezier(.22,.8,.24,1),
             rotate .95s cubic-bezier(.22,.8,.24,1), opacity .3s linear, visibility 0s; }
.mline-stage[data-state="card"] .deck{ transition:opacity .3s linear .16s, visibility 0s linear .46s; transform:none; }
.drawn-tee.on{ transition-duration:.9s,1.1s,0s; transition-timing-function:cubic-bezier(.22,.8,.24,1); }

/* the card of the day arrives gently, and the fan is dealt out when asked for */
.mline-stage.is-today .drawn-card{ animation:todayIn 1.1s cubic-bezier(.22,.8,.24,1) both; }
@keyframes todayIn{ from{ opacity:0; transform:translate(-50%,-46%) scale(.94); } to{ opacity:1; transform:translate(-50%,-50%); } }
.deck.dealt .card{ animation:dealIn .8s cubic-bezier(.22,.8,.24,1) both; animation-delay:calc(var(--k) * 45ms); }
@keyframes dealIn{ from{ transform:rotate(0deg) translateY(8%); opacity:0; } to{ transform:var(--rest); opacity:1; } }
@media (prefers-reduced-motion:reduce){ .mline-stage.is-today .drawn-card, .deck.dealt .card{ animation:none; } }

/* phones: the stage keeps one height from the fan to the card, so nothing jumps; it only grows, smoothly, for the tee */
@media (max-width:860px){
  .mline-stage, .mline-stage[data-state="deck"], .mline-stage[data-state="drawing"], .mline-stage[data-state="card"]{ aspect-ratio:.7; }
  .mline-stage[data-state="tee"]{ aspect-ratio:.565; }
  .mline-stage{ transition:aspect-ratio .9s cubic-bezier(.22,.8,.24,1); }
}

/* ══ choosing a card, cleaned up ═══════════════════════════════════════
   The fan sits on a quiet ground. The chosen card is moved by script (a
   straight glide, then the turn); the rest simply fall away from it. */
.deck .card{ will-change:auto; }
.mline-stage[data-state="deck"] .stage-halo,
.mline-stage[data-state="drawing"] .stage-halo{ opacity:0; }
.mline-stage[data-state="deck"] .stage-rays,
.mline-stage[data-state="drawing"] .stage-rays{ opacity:0; transform:scale(.8); }
/* the light comes up under the card while it travels */
.mline-stage.revealing .stage-rays{ opacity:.8; transform:none; transition:opacity 1.4s var(--ease) .3s, transform 1.8s var(--ease) .3s; }

/* a clearer "this one" under the hand */
.mline-stage[data-state="deck"] .deck .card{ cursor:pointer; }
.mline-stage[data-state="deck"] .deck .card:hover,
.mline-stage[data-state="deck"] .deck .card:focus-visible{ transform:var(--rest) translateY(-11%); transition-duration:.35s; z-index:3; }
.mline-stage[data-state="deck"] .deck:has(.card:hover) .card:not(:hover){ filter:brightness(.97); }

/* the others part from the chosen card, nearest first */
.deck .card.tucked{ transform:var(--rest) translate(var(--away,0), 16%) scale(.94); opacity:0; filter:none;
  transition:transform .7s cubic-bezier(.5,0,.3,1) var(--d,0ms), opacity .45s linear calc(var(--d,0ms) + .12s); }
/* the chosen one: only its look is set here, its movement is scripted */
.deck .card.risen{ z-index:6; }
.deck .card.risen .face{ box-shadow:0 0 0 1px rgba(44,37,40,.08), 0 26px 50px rgba(20,24,18,.24); border-radius:3.4% / 2%;
  transition:box-shadow .9s var(--ease); }
/* a pass of light across the face as it lands */
.deck .card.revealed .face.front::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(105deg, transparent 34%, rgba(255,255,255,.8) 50%, transparent 66%);
  transform:translateX(-130%); animation:sheen 1s cubic-bezier(.3,.6,.3,1) .05s both; }
@keyframes sheen{ to{ transform:translateX(130%); } }
@media (max-width:860px){ .deck .card.risen, .deck .card.risen.turned{ transform:none; } }
@media (prefers-reduced-motion:reduce){ .deck .card.revealed .face.front::after{ animation:none; opacity:0; } }

/* nothing on the page shifts while the card is turning: the stage is pinned to the top of its row,
   and the words beside it keep their room whether or not they are filled in yet */
.mline-inner{ align-items:start; }
.mline-copy{ align-self:center; }
.draw-affirm{ min-height:4.6em; }
.mline-read{ min-height:1.9em; }
.mline-copy .hero-actions > [hidden]{ display:inline-flex !important; visibility:hidden; pointer-events:none; }
@media (max-width:860px){ .draw-affirm{ min-height:6.2em; } .mline-copy{ align-self:start; } }
/* the pack fades where it stands when the finished card takes over */
.mline-stage[data-state="card"]:not([data-state="deck"]):not([data-state="drawing"]) .deck{ transform:none; }

/* ══ the card back, fixed: everything on it is measured against the card itself ══
   (the face used to be its own measuring box, so its padding fell back to the
   screen width and crushed the contents into a sliver) */
.ocard{ container-type:inline-size; }
.ocard-face{ container-type:normal; }
.ocard-back{ padding:9cqw 9cqw 8cqw; gap:4.4cqw; justify-content:center; }
.ocard-back::before{ inset:3.4cqw; border-radius:2.4cqw; }
.oc-kick{ font-size:3.4cqw; letter-spacing:.3em; }
.oc-mini{ width:34cqw; }
.oc-words{ font-size:6cqw; line-height:1.36; max-width:74cqw; }
.oc-by{ font-size:3.2cqw; letter-spacing:.3em; }
.oc-seal{ width:24cqw; margin-top:1cqw; }

/* ══ "Draw your card": today's card turns over, draws in, and the pack fans out of it ══ */
.mline-stage[data-state="deck"] .deck,
.mline-stage[data-state="drawing"] .deck{ transition:opacity .25s linear, transform .7s var(--ease), visibility 0s; }
.mline-stage.leaving .drawn-card{
  top:50% !important; transform:translate(-50%,-50%) scale(.45) !important;
  transition:transform .62s cubic-bezier(.5,0,.2,1) .26s, top .62s cubic-bezier(.5,0,.2,1) .26s !important; }
.mline-stage.leaving .card-turn, .mline-stage.leaving .stage-halo, .mline-stage.leaving .stage-rays{ opacity:0 !important; transition:opacity .3s linear !important; }
.mline-stage.leaving .holo-shadow{ opacity:0; transition:opacity .3s linear; }
.deck.dealt .card{ animation:dealIn 1s cubic-bezier(.22,.8,.24,1) both; animation-delay:calc(var(--k) * 38ms); }
@keyframes dealIn{ from{ transform:rotate(0deg); } to{ transform:var(--rest); } }

/* ══ phones: the card comes right after the heading, and the buttons right after the card ══
   (the words and buttons used to sit above it, so a draw played out below the screen) */
@media (max-width:860px){
  .mline-inner{ row-gap:0; }
  .mline-copy{ display:contents; }
  .mline-copy > .eyebrow{ order:1; }
  .mline-copy > .mline-title{ order:2; margin-bottom:.2rem; }
  .mline-copy > .mline-by{ order:3; margin-top:.2rem; }
  .mline-copy > .mline-sub{ display:none; }
  .mline-stage{ order:5; margin-top:1.1rem; }
  .mline-copy > .mline-read{ order:6; margin-top:3.6rem; }
  .mline-copy > .draw-affirm{ order:7; min-height:0; margin-bottom:0; }
  .mline-copy > .hero-actions{ order:8; margin-top:1.2rem; display:grid; grid-template-columns:1fr 1fr; gap:.6rem; }
  .mline-copy > .hero-actions .btn{ justify-content:center; text-align:center; padding-inline:.6rem; }
  .mline-copy > .hero-actions .btn:not(.ghost){ grid-column:1 / -1; order:-2 !important; }
  .mline-copy > .hero-actions > [hidden]{ display:none !important; }
  .mline-copy > .draw-all{ order:9; justify-self:start; }
  .mline-copy > .draws{ order:10; min-width:0; }
  /* your draws: one row that swipes, not a wrapping block */
  .draws-row{ flex-wrap:nowrap; overflow-x:auto; padding:.4rem 0 .6rem; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .draws-row::-webkit-scrollbar{ display:none; }
  .draws-row button{ flex:none; }
  .draws-row span{ display:none; }
  /* the tag sat over the tee's hem on a phone; the name is already written just below */
  .drawn-tag{ display:none; }
  .mline-stage[data-state="tee"] .tee-swatches{ top:calc(100% + .35rem); }
}

/* ══ pre-release trim: one control per choice, one line per idea ══ */
/* MNR collection: the slogan line, the status line and the duplicate placement buttons are gone */
#spotWords, #spotNow, #spotPlaces, .spot-ctl > .spot-step:first-child{ display:none !important; }
.spot-cmp-h{ margin:0 0 -.3rem; align-self:center; }
.spot-buy{ margin-top:1.6rem; }
.blank-grid{ margin-bottom:0; }

/* ══ the draw button lives under the spread ══ */
.mline-right{ min-width:0; align-self:start; display:flex; flex-direction:column; }
.stage-actions{ display:flex; justify-content:center; margin-top:3.6rem; min-height:3.2rem; position:relative; z-index:4; }
.stage-actions .btn[hidden]{ display:inline-flex !important; visibility:hidden; pointer-events:none; }
.stage-actions .btn{ transition:opacity .4s var(--ease), background .3s, color .3s, border-color .3s; }
.mline-stage[data-state="deck"] ~ .stage-actions{ margin-top:1.2rem; }
/* the stage fades as one before it returns to the card of the day */
.mline-stage.fading > *{ opacity:0 !important; transition:opacity .42s linear !important; }
@media (max-width:860px){
  .mline-right{ order:5; margin-top:1.1rem; }
  .mline-stage{ order:0; margin-top:0; }
  .mline-copy > .mline-read{ margin-top:1.4rem; }
  .mline-copy > .hero-actions .btn:not(.ghost){ grid-column:1 / -1; }
}
@media (max-width:860px){ .mline-right{ align-items:center; } .mline-right > .mline-stage{ align-self:center; } .stage-actions{ align-self:stretch; } }
.mline-stage[data-state="deck"] ~ .stage-actions, .mline-stage[data-state="drawing"] ~ .stage-actions{ margin-top:clamp(-8.5rem,-9vw,-5rem); }

/* ══ the opening: mandalas adrift, the seal, and two ways in ══ */
.hero-float{ position:relative; overflow:hidden; min-height:100svh; }
.hf-field{ position:absolute; inset:0; z-index:0; --px:0; --py:0; }
.hf-m{ position:absolute; width:var(--s); aspect-ratio:1; margin:calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  padding:0; border:0; background:none; cursor:pointer; border-radius:50%;
  translate:calc(var(--px) * var(--z) * -46px) calc(var(--py) * var(--z) * -46px);
  transition:translate 1.2s cubic-bezier(.2,.7,.2,1), opacity 1.4s var(--ease), scale 1.6s cubic-bezier(.2,.8,.2,1);
  opacity:0; scale:.6; transition-delay:0s, calc(var(--i) * 70ms + .2s), calc(var(--i) * 70ms + .2s); }
.hf-field.on .hf-m{ opacity:calc(.5 + var(--z) * .5); scale:1; }
.hf-m > span{ display:block; width:100%; height:100%; animation:hfDrift var(--t) ease-in-out infinite alternate; }
.hf-m img{ display:block; width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply;
  animation:spin var(--spin) linear infinite; animation-direction:var(--dir);
  filter:drop-shadow(0 calc(var(--z) * 14px) calc(var(--z) * 18px) rgba(44,37,40,.12)); transition:scale .5s var(--ease); }
.hf-m:hover img, .hf-m:focus-visible img{ scale:1.1; }
.hf-m:hover{ opacity:1 !important; }
@keyframes hfDrift{ from{ transform:translate(0,0) rotate(0deg); } to{ transform:translate(var(--dx),var(--dy)) rotate(var(--rot)); } }
.hf-field.paused .hf-m > span, .hf-field.paused .hf-m img{ animation-play-state:paused; }

.hf-core{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; text-align:center; pointer-events:none; }
.hf-core > *{ pointer-events:auto; }
.hero-float .hero-seal{ width:clamp(190px,27vmin,330px); height:auto; }
.hf-kick{ margin:clamp(1.4rem,3.5vh,2.4rem) 0 0; font-size:.72rem; letter-spacing:.34em; text-transform:uppercase; color:var(--leaf-deep); font-weight:600;
  opacity:0; animation:hfUp .9s var(--ease) 1.1s forwards; }
.hf-links{ display:flex; gap:.75rem; flex-wrap:wrap; justify-content:center; margin-top:1.1rem;
  opacity:0; animation:hfUp .9s var(--ease) 1.3s forwards; }
.hf-links .btn.ghost{ background:color-mix(in srgb,var(--bg) 78%,transparent); }
@keyframes hfUp{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
@media (max-width:760px){
  .hf-links{ flex-direction:column; align-items:stretch; width:min(19rem,78vw); }
  .hf-links .btn{ justify-content:center; text-align:center; }
  .hero-float .hero-seal{ width:clamp(170px,48vw,240px); }
}
@media (prefers-reduced-motion:reduce){
  .hf-m > span, .hf-m img{ animation:none; }
  .hf-m{ transition:none; opacity:.8; scale:1; }
  .hf-kick, .hf-links{ animation:none; opacity:1; }
}

/* ══ the opening, bigger: large mandalas that roam, and three windows onto the tees ══ */
.hf-m{ translate:calc(var(--px) * var(--z) * -70px) calc(var(--py) * var(--z) * -70px); }
.hf-field.on .hf-m{ opacity:calc(.42 + var(--z) * .5); }
.hf-m > span{ animation:hfRoam var(--t) cubic-bezier(.45,.05,.55,.95) var(--lag) infinite alternate; will-change:transform; }
.hf-m img{ filter:none; }
@keyframes hfRoam{
  0%{ transform:translate(0,0); }
  33%{ transform:translate(var(--w1)); }
  66%{ transform:translate(var(--w2)); }
  100%{ transform:translate(var(--w3)); }
}
/* the seal and the buttons keep a clear ground as the mandalas pass behind */
.hf-core{ padding:clamp(4.5rem,11vh,7rem) 0 clamp(1.5rem,4vh,3rem); }
.hf-core::before{ content:""; position:absolute; left:50%; top:46%; width:min(128%,1100px); aspect-ratio:1.25; translate:-50% -50%; z-index:-1; pointer-events:none;
  background:radial-gradient(closest-side, color-mix(in srgb,var(--bg) 94%,transparent) 0 48%, color-mix(in srgb,var(--bg) 60%,transparent) 70%, transparent); }
.hero-float .hero-seal{ width:clamp(150px,21vmin,250px); }

.hf-boxes{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.6rem,1.6vw,1.4rem);
  width:min(46rem,88vw); margin-top:clamp(1.6rem,4vh,2.8rem); opacity:0; animation:hfUp 1s var(--ease) 1.55s forwards; }
.hf-box{ padding:0; border:0; background:none; cursor:pointer; text-align:left; color:inherit; display:flex; flex-direction:column; gap:.6rem;
  transition:transform .45s var(--ease); }
.hf-box:hover{ transform:translateY(-5px); }
.hf-box-fig{ position:relative; display:block; aspect-ratio:1; border-radius:18px; overflow:hidden; background:var(--panel);
  box-shadow:0 0 0 1px var(--line), 0 18px 36px rgba(44,37,40,.1); transition:box-shadow .45s var(--ease); }
.hf-box:hover .hf-box-fig{ box-shadow:0 0 0 1px var(--line), 0 26px 46px rgba(44,37,40,.16); }
.hf-box-layer{ position:absolute; inset:0; display:grid; place-items:center; opacity:0; transform:scale(1.04);
  transition:opacity .8s var(--ease), transform 1.2s var(--ease); }
.hf-box-layer.on{ opacity:1; transform:none; }
.hf-box-layer .tee{ width:90%; filter:drop-shadow(0 8px 12px rgba(44,37,40,.12)); }
.hf-box-meta{ display:flex; flex-direction:column; gap:.15rem; padding:0 .2rem; min-width:0; }
.hf-box-meta b{ font-size:.92rem; font-weight:600; }
.hf-box-meta i{ font-style:normal; font-size:.68rem; letter-spacing:.06em; color:var(--fg-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  transition:opacity .25s linear; }
.hf-box-meta i.swap{ opacity:0; }
@media (max-width:760px){
  .hero-float .hero-seal{ width:clamp(130px,36vw,190px); }
  .hf-boxes{ width:92vw; gap:.5rem; }
  .hf-box-fig{ border-radius:12px; }
  .hf-box-meta b{ font-size:.78rem; } .hf-box-meta i{ font-size:.6rem; }
  .hf-core{ padding-top:6.5rem; }
}
@media (prefers-reduced-motion:reduce){ .hf-boxes{ animation:none; opacity:1; } }

/* each window is one solid card, so its caption stays readable when a mandala drifts behind */
.hf-box{ background:var(--panel); border-radius:18px; overflow:hidden; gap:0; padding-bottom:.75rem;
  box-shadow:0 0 0 1px var(--line), 0 18px 36px rgba(44,37,40,.1); transition:transform .45s var(--ease), box-shadow .45s var(--ease); }
.hf-box:hover{ box-shadow:0 0 0 1px var(--line), 0 26px 46px rgba(44,37,40,.16); }
.hf-box-fig, .hf-box:hover .hf-box-fig{ border-radius:0; box-shadow:none; }
.hf-box-meta{ padding:.55rem .85rem 0; }
@media (max-width:760px){ .hf-box{ border-radius:12px; padding-bottom:.55rem; } .hf-box-meta{ padding:.4rem .55rem 0; } }

/* a firmer clear ground behind the seal and buttons, so a passing mandala never muddies them */
.hf-core::before{ top:40%; width:min(150%,1200px); aspect-ratio:1.15;
  background:radial-gradient(closest-side, var(--bg) 0 44%, color-mix(in srgb,var(--bg) 82%,transparent) 62%, color-mix(in srgb,var(--bg) 40%,transparent) 80%, transparent); }
@media (max-width:760px){ .hf-core::before{ top:38%; width:170%; aspect-ratio:.82; } }
/* the menu keeps a clear strip at the top of the opening */
.hero-float::after{ content:""; position:absolute; inset:0 0 auto 0; height:9.5rem; z-index:1; pointer-events:none; background:linear-gradient(var(--bg) 30%, transparent); }

/* the opening's mandalas are background: they cannot be clicked, hovered or focused */
.hf-field, .hf-m{ pointer-events:none; cursor:default; }
.hf-m:hover img{ scale:1; }

/* ══ made in Los Angeles · made from hemp fabric — the bar under product pictures ══ */
.made-bar{ display:flex; align-items:center; justify-content:center; gap:clamp(.9rem,2.4vw,2rem);
  padding:.8rem clamp(.9rem,2vw,1.6rem); border-radius:14px; background:color-mix(in srgb,var(--panel) 92%,transparent);
  box-shadow:inset 0 0 0 1px var(--line); color:var(--fg); }
.made-item{ display:flex; align-items:center; gap:.7rem; min-width:0; }
.made-item svg{ flex:none; width:30px; height:30px; fill:none; stroke:var(--leaf-deep); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.made-item > span{ display:flex; flex-direction:column; line-height:1.2; min-width:0; }
.made-item b{ font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; white-space:nowrap; }
.made-item i{ font-style:normal; font-size:.74rem; color:var(--fg-2); white-space:nowrap; }
.made-rule{ width:1px; align-self:stretch; background:var(--line); }
.made-hero{ width:min(46rem,88vw); margin-top:clamp(.7rem,1.6vh,1.1rem); opacity:0; animation:hfUp 1s var(--ease) 1.75s forwards; }
/* on the pages whose picture is a single panel, the bar sits along its foot */
.sheet-fig{ position:relative; }
.made-bar.made-in-fig{ position:absolute; left:.8rem; right:.8rem; bottom:.8rem; border-radius:12px; z-index:2; }
.sheet-left .made-bar{ margin-top:.1rem; }
@media (max-width:560px){
  .made-bar{ gap:.6rem; padding:.65rem .7rem; }
  .made-item{ gap:.45rem; }
  .made-item svg{ width:24px; height:24px; }
  .made-item b{ font-size:.6rem; letter-spacing:.1em; }
  .made-item i{ font-size:.62rem; }
  .made-hero{ width:92vw; }
}
@media (prefers-reduced-motion:reduce){ .made-hero{ animation:none; opacity:1; } }

/* on a laptop-height screen the whole opening — seal, buttons, the three windows and the bar — fits without scrolling */
@media (min-width:761px) and (max-height:1000px){
  .hero-float .hero-seal{ width:clamp(130px,18vmin,200px); }
  .hf-boxes, .made-hero{ width:min(38rem,88vw); }
  .hf-core{ padding-top:clamp(4.2rem,10vh,6rem); padding-bottom:1.2rem; }
  .hf-boxes{ margin-top:clamp(1.1rem,2.6vh,2rem); }
}

/* ══ phone pass: things you can hit, words you can read, the product name on the first screen ══ */
@media (max-width:760px){
  /* tap areas of at least ~40px */
  .nav-links a{ padding:.7rem 0; font-size:.7rem; }
  .nav-links{ gap:1.5rem; padding-bottom:0; }
  #nav{ row-gap:.1rem; padding-bottom:.2rem; }
  .nav-bag{ padding:.75rem 0 .75rem .9rem; font-size:.72rem; }
  .nav-mark{ padding:.3rem 0; }
  .foot-cols a{ padding:.5rem 0; font-size:1rem; }
  .foot-cols div{ gap:0; }
  .foot-cols h4{ margin-bottom:.5rem; }
  .foot-box p{ padding:.3rem 0; font-size:1rem; }
  .draw-all{ padding:.7rem 0 .45rem; margin-top:.6rem; }
  .artist-link{ display:inline-block; padding:.7rem 0; }
  .foot-legal a{ padding:.4rem 0; display:inline-block; }
  .size-guide{ padding:.6rem 0; font-size:.86rem; }
  .card-turn{ padding:.75rem 1.1rem; font-size:.68rem; }
  .tee-swatches button{ width:32px; height:32px; }
  .tee-swatches{ gap:.7rem; padding:.5rem .7rem; }
  .view88 button{ padding:.7rem 1.1rem; font-size:.76rem; }
  .feel button{ padding:.62rem 1rem; font-size:.9rem; }
  .draws-row button{ width:60px; }

  /* nothing under 11px */
  .hf-kick{ font-size:.74rem; letter-spacing:.26em; }
  .hf-box-meta b{ font-size:.82rem; }
  .hf-box-meta i{ font-size:.7rem; letter-spacing:0; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; line-height:1.25; min-height:2.5em; }
  .made-item b{ font-size:.68rem; letter-spacing:.06em; white-space:normal; }
  .made-item i{ font-size:.7rem; white-space:normal; }
  .made-bar{ align-items:flex-start; }
  .draws-h, .spot-step, .feel-q, .sheet-opt, .sheet-num, .sheet-card-h, .eyebrow{ font-size:.72rem; letter-spacing:.18em; }
  .spot-slant button em, .spot-cmp-lbl, .card-tag, .cloth-item figcaption, .nightfall-sub, .card-sub, .sheet-garment{ font-size:.7rem; letter-spacing:.1em; }
  .nightfall-sub{ line-height:1.7; padding-inline:1rem; }
  .mline-read{ font-size:.86rem; }
  .sheet-perks{ font-size:.86rem; flex-direction:column; gap:.35rem; }
  .bag-ship, .bag-msg{ font-size:.86rem; letter-spacing:0; text-transform:none; }

  /* the opening: the seal a little higher, the three windows a comfortable size */
  .hf-core{ padding-top:5.6rem; padding-bottom:1.6rem; }
  .hf-links{ margin-top:.9rem; }
  .hf-boxes{ margin-top:1.3rem; }

  /* product pages: a shorter picture, so the name and price are on the first screen */
  .sheet{ padding-top:4.2rem; }
  .sheet-left .sheet-fig{ aspect-ratio:1.18; }
  .sheet-left .sheet-fig .tee{ width:88%; }
  .sheet-body{ gap:1.2rem; }
  .sdial{ height:104px; }
  .sdial-hint{ display:none; }
  .sheet-title{ font-size:clamp(2rem,9vw,2.6rem); }
  .sheet-info .sizes{ gap:.5rem; }
  .sheet-info .sizes button{ min-width:3.2rem; padding:.8rem .6rem; font-size:.8rem; }
  .sheet-swatches{ gap:1.1rem; }
  .sheet-swatches i{ width:40px; height:40px; }
  .placements button{ padding:.75rem 1rem; }

  /* the MNR collection: thumbnails and swatches big enough for a thumb */
  .spot-compare button{ width:30vw; max-width:128px; }
  .spot-slant button{ min-height:3rem; }
  .spot-pieces button{ padding:.8rem 1.1rem; }

  /* the eighty-eight: three across reads better than four tiny ones */
  .the88 .coins{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
  .find88 input{ padding:.85rem 1.1rem; font-size:1rem; }   /* 16px: no zoom-on-focus in iOS */
}
/* inputs never trigger the iOS zoom */
@media (max-width:760px){ input, select, textarea{ font-size:16px; } }
@media (max-width:760px){
  .btn, .btn span{ font-size:.76rem; letter-spacing:.14em; }
  .made-item b{ font-size:.72rem; }
  .card-turn, .card-turn span{ font-size:.72rem; }
  .artist-words h3, .artist-link, .foot-cols h4{ font-size:.74rem; letter-spacing:.18em; }
}

/* ══ phones: lighter to draw ══ */
html.lite #flow, html.lite #grain{ display:none; }
@media (max-width:760px){
  /* the prints are already cut out, so they need no blending against the page */
  .hf-m img{ mix-blend-mode:normal; }
  .hf-m{ translate:none; }
  .the88 .coin img{ mix-blend-mode:normal; }
  /* a blurred bar is repainted on every scroll frame; a near-solid one is not */
  #nav.stuck{ backdrop-filter:none; -webkit-backdrop-filter:none; background:color-mix(in srgb,var(--bg) 96%,transparent); }
  .buybar:not([hidden]){ backdrop-filter:none; background:var(--bg); }
}

/* ══ the store's toolbar on the clothing site — the same bar as mothernaturesremedy.com, plus Clothing ══ */
#nav{ display:block; padding:0; background:color-mix(in srgb,var(--bg) 94%,transparent); box-shadow:0 1px 0 var(--line); }
#nav.stuck{ background:color-mix(in srgb,var(--bg) 96%,transparent); backdrop-filter:none; -webkit-backdrop-filter:none; }
.nav-store{ display:flex; align-items:center; gap:clamp(.8rem,2vw,1.6rem); padding:.5rem var(--pad); }
.nav-seal{ flex:none; display:block; line-height:0; }
.nav-seal img{ width:46px; height:46px; display:block; }
.store-links{ flex:1; min-width:0; display:flex; flex-wrap:wrap; align-items:center; gap:.15rem clamp(.9rem,1.7vw,1.6rem); }
.store-links a, .store-menu-list a{ font-size:1.02rem; font-weight:400; letter-spacing:0; text-transform:none; color:var(--fg);
  padding:.35rem 0; position:relative; white-space:nowrap; transition:color .25s; }
.store-links a:hover{ color:var(--leaf-deep); }
.store-links a.is-clothing{ color:var(--leaf-deep); font-weight:700; }
.store-links a.is-clothing::after{ content:""; position:absolute; left:0; right:0; bottom:.1rem; height:2px; background:var(--leaf); border-radius:2px; }
.nav-store .nav-bag{ flex:none; margin-left:auto; }
.store-menu{ display:none; }
/* the clothing sections sit on their own slim row under the store bar */
#nav > .nav-links{ display:flex; justify-content:center; gap:clamp(1.2rem,3vw,2.4rem); padding:.5rem var(--pad) .6rem;
  border-top:1px solid var(--line); background:color-mix(in srgb,var(--bg-2) 55%,transparent); }
#nav > .nav-links a{ font-size:.68rem; }
/* room for the taller bar */
:root{ --navh:6.9rem; }
html{ scroll-padding-top:calc(var(--navh) + .6rem); }
.hero-float::after{ height:13rem; }
.hf-core{ padding-top:clamp(8rem,17vh,10rem); }
.sheet{ z-index:70; }
@media (min-width:761px) and (max-height:1000px){ .hf-core{ padding-top:clamp(7.6rem,16vh,9rem); } }
@media (max-width:1100px) and (min-width:761px){ .store-links a{ font-size:.92rem; } .store-links{ gap:.05rem .9rem; } }

@media (max-width:760px){
  #nav{ display:block; padding:0; }
  .nav-store{ padding:.35rem var(--pad); gap:.7rem; }
  .nav-seal img{ width:40px; height:40px; }
  .store-links{ display:none; }
  .store-menu{ display:block; position:static; margin-right:auto; }
  .store-menu summary{ list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:.5rem; padding:.7rem .2rem;
    font-size:.95rem; color:var(--fg); }
  .store-menu summary::-webkit-details-marker{ display:none; }
  .store-menu summary::before{ content:""; width:18px; height:12px; flex:none;
    background:linear-gradient(var(--fg),var(--fg)) top/100% 2px no-repeat, linear-gradient(var(--fg),var(--fg)) center/100% 2px no-repeat, linear-gradient(var(--fg),var(--fg)) bottom/100% 2px no-repeat; }
  .store-menu[open] summary{ color:var(--leaf-deep); }
  .store-menu-list{ position:absolute; left:0; right:0; top:100%; z-index:5; display:flex; flex-direction:column; padding:.4rem var(--pad) 1rem;
    background:var(--bg); box-shadow:0 1px 0 var(--line), 0 24px 40px rgba(44,37,40,.14); max-height:70vh; overflow-y:auto; }
  .store-menu-list a{ padding:.85rem 0; font-size:1.05rem; border-bottom:1px solid var(--line); white-space:normal; }
  .store-menu-list a:last-child{ border-bottom:0; }
  .store-menu-list a.is-clothing{ color:var(--leaf-deep); font-weight:700; }
  .nav-store .nav-bag{ padding:.75rem 0 .75rem .9rem; }
  #nav > .nav-links{ order:0; flex:none; justify-content:flex-start; gap:1.5rem; padding:0 var(--pad); overflow-x:auto; white-space:nowrap; scrollbar-width:none;
    -webkit-mask:linear-gradient(90deg,#000 88%,transparent); mask:linear-gradient(90deg,#000 88%,transparent); }
  #nav > .nav-links a{ font-size:.7rem; padding:.7rem 0; }
  :root{ --navh:6.4rem; }
  .hf-core{ padding-top:7.4rem; }
}
