/* ==========================================================================
   Yogis + Weirdos — shared base layer
   Structure, behaviour and accessibility only. Every visual decision is
   expressed as a custom property that each variant's theme.css overrides.
   Mobile-first: unprefixed rules are the small-screen case.
   ========================================================================== */

/* ---- token contract ------------------------------------------------------
   A theme MUST define the colour, font and shape groups. Everything else
   has a sane default here.
   ------------------------------------------------------------------------ */
:root {
  /* colour — themes override all of these */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f0f0f2;
  --text: #0b0b0d;
  --text-muted: #63666d;
  --text-faint: #8b8e95;
  --line: #e3e4e8;
  --line-strong: #c8cad0;
  --inverse-bg: #16181c;
  --inverse-text: #f5f5f7;
  --inverse-muted: #b7bac1;

  /* brand accents — core values are the true logo colours */
  --accent: #ec008c;
  --accent-text: #b4006b;   /* AA-safe magenta for text on this theme's bg */
  --accent-2: #00aeef;
  --accent-2-text: #00789f; /* AA-safe cyan for text on this theme's bg */
  --accent-soft: rgba(236, 0, 140, 0.08);

  /* buttons */
  --btn-bg: #0b0b0d;
  --btn-text: #ffffff;
  --btn-bg-hover: #2a2a2e;
  --btn-line: #0b0b0d;
  --btn-py: 0.95rem;
  --btn-px: 1.75rem;
  --btn-transform: none;
  --btn-tracking: 0.02em;
  --btn-weight: 500;
  --btn-fs: 0.875rem;

  /* type */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display-weight: 400;
  --display-transform: none;
  --display-tracking: -0.01em;
  --display-lh: 1.08;
  --nav-tracking: 0.1em;
  --nav-transform: uppercase;
  --nav-fs: 0.6875rem;
  --nav-weight: 500;
  --body-lh: 1.65;

  /* modular scale (mobile) */
  --fs-hero: clamp(2.5rem, 11vw, 4rem);
  --fs-h1: clamp(2rem, 8vw, 3rem);
  --fs-h2: clamp(1.5rem, 6vw, 2.25rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-micro: 0.6875rem;

  /* space */
  --s1: 0.25rem;  --s2: 0.5rem;   --s3: 0.75rem;  --s4: 1rem;
  --s5: 1.5rem;   --s6: 2rem;     --s7: 3rem;     --s8: 4rem;
  --s9: 6rem;     --s10: 8rem;
  --section-y: 3.5rem;
  --gutter: 1.25rem;
  --maxw: 1400px;
  --maxw-text: 62ch;

  /* shape */
  --radius: 0px;
  --radius-lg: 0px;
  --radius-img: 0px;
  --radius-pill: 999px;
  --border-w: 1px;

  /* component knobs */
  /* Product photography is square and shot on a #F4F2EE studio ground, so
     product media is 1:1 and `contain` — a garment is never cropped at the
     collar or hem. Each theme sets --product-bg to that exact ground so the
     real mockups and the generated placeholders sit on one surface. */
  --card-ratio: 1 / 1;
  --product-bg: #f4f2ee;
  --card-gap: 1rem;
  --header-h: 60px;
  --grid-cols: 2;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 320ms;
  --dur-fast: 160ms;

  --focus: var(--accent-2);
  --shadow: none;
}

@media (min-width: 48rem) {
  :root {
    --section-y: 5rem;
    --gutter: 2rem;
    --header-h: 72px;
    --grid-cols: 3;
    --fs-h3: 1.375rem;
  }
}
@media (min-width: 64rem) {
  :root {
    --section-y: 6.5rem;
    --gutter: 2.5rem;
    --grid-cols: 4;
  }
}

/* ---- reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--body-lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* `clip` not `hidden`: overflow-x:hidden turns body into a scroll
     container, which silently breaks every position:sticky descendant —
     the header, the PDP column, and variant 6's pinned flow. */
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: var(--display-lh);
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-transform);
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* ---- accessibility ------------------------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.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;
}
.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 200;
  background: var(--text); color: var(--bg);
  padding: var(--s3) var(--s5); border-radius: var(--radius);
  font-size: var(--fs-sm); transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus-visible { top: var(--s4); }

/* Every interactive target clears 44×44 CSS px. */
button, a[href], input, select, [role='button'], [role='tab'] { min-height: 44px; }
.u-tap { min-width: 44px; min-height: 44px; display: inline-flex;
  align-items: center; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

/* ---- layout primitives --------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 880px; }
.wrap--text { max-width: 68ch; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--alt { background: var(--bg-alt); }
.section--inverse { background: var(--inverse-bg); color: var(--inverse-text); }
.section--inverse .eyebrow,
.section--inverse .muted { color: var(--inverse-muted); }
.stack > * + * { margin-top: var(--flow, var(--s4)); }
.center { text-align: center; }

/* ---- shared type utilities ----------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.muted { color: var(--text-muted); }
.lede { font-size: 1.0625rem; color: var(--text-muted); max-width: var(--maxw-text); }
@media (min-width: 48rem) { .lede { font-size: 1.1875rem; } }

/* ---- the balance motif ----------------------------------------------------
   The brand's core device: one rule, magenta on the left half, cyan on the
   right. Every variant re-expresses it, but this is the primitive.
   ------------------------------------------------------------------------- */
.balance-rule {
  height: 1px; width: 100%; border: 0; margin: 0;
  background: linear-gradient(to right, var(--accent) 0 50%, var(--accent-2) 50% 100%);
}
.balance-rule--short { width: 64px; }
.balance-mark {
  display: inline-flex; align-items: center; gap: 0.4em;
}
.balance-mark::before, .balance-mark::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
}
.balance-mark::before { background: var(--accent); }
.balance-mark::after { background: var(--accent-2); }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: var(--btn-py) var(--btn-px);
  font-size: var(--btn-fs); font-weight: var(--btn-weight);
  letter-spacing: var(--btn-tracking); text-transform: var(--btn-transform);
  background: var(--btn-bg); color: var(--btn-text);
  border: var(--border-w) solid var(--btn-line);
  border-radius: var(--radius);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  text-align: center;
}
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.4; cursor: not-allowed; }
.btn--ghost {
  background: transparent; color: var(--text); border-color: var(--line-strong);
}
.btn--ghost:hover { background: transparent; border-color: var(--text); color: var(--text); }
.btn--block { width: 100%; }
.btn--sm { --btn-py: 0.6rem; --btn-px: 1rem; --btn-fs: 0.75rem; }
.btn--accent {
  background: var(--accent-text); border-color: var(--accent-text); color: #fff;
}
.btn--accent:hover { background: var(--accent); border-color: var(--accent); }

.link-u {
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.link-u:hover { border-color: transparent; color: var(--accent-text); }

/* ---- header -------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: var(--hdr-bg, var(--bg));
  color: var(--hdr-text, var(--text));
  border-bottom: var(--border-w) solid var(--hdr-line, var(--line));
  transition: background var(--dur) var(--ease);
}
.hdr__ann {
  background: var(--ann-bg, var(--inverse-bg));
  color: var(--ann-text, var(--inverse-text));
  font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center; padding: 0.6rem var(--gutter);
}
.hdr__ann a { border-bottom: 1px solid currentColor; }
.hdr__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: var(--s3); min-height: var(--header-h);
}
.hdr__logo { justify-self: center; display: flex; align-items: center; }
.hdr__logo img { height: var(--logo-h, 30px); width: auto; }
.hdr__left, .hdr__right { display: flex; align-items: center; gap: var(--s1); }
.hdr__right { justify-self: end; }
.hdr__nav { display: none; }
.hdr__icon {
  width: 44px; height: 44px; display: inline-flex; align-items: center;
  justify-content: center; position: relative; color: inherit;
}
.hdr__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.hdr__count {
  position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 10px; line-height: 17px; text-align: center; font-weight: 600;
  font-family: var(--font-body); letter-spacing: 0;
}
.hdr__count[hidden] { display: none; }

@media (min-width: 64rem) {
  .hdr__bar { grid-template-columns: 1fr auto 1fr; }
  .hdr__nav { display: flex; align-items: center; gap: var(--s5); }
  .hdr__burger { display: none; }
}
.navlink {
  font-size: var(--nav-fs); letter-spacing: var(--nav-tracking);
  text-transform: var(--nav-transform); font-weight: var(--nav-weight);
  display: inline-flex; align-items: center; min-height: 44px;
  position: relative; color: inherit;
}
/* the duality applied to nav: underline wipes magenta → cyan */
.navlink::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 1px;
  background: linear-gradient(to right, var(--accent) 0 50%, var(--accent-2) 50% 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.navlink:hover::after, .navlink[aria-current='page']::after,
.navlink[aria-expanded='true']::after { transform: scaleX(1); }

/* ---- mega menu ----------------------------------------------------------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--hdr-bg, var(--bg)); color: var(--hdr-text, var(--text));
  border-bottom: var(--border-w) solid var(--hdr-line, var(--line));
  box-shadow: var(--shadow);
  display: none; z-index: 95;
}
.mega[data-open='true'] { display: block; }
.mega__inner {
  display: grid; gap: var(--s7); padding-block: var(--s7);
  grid-template-columns: repeat(4, 1fr);
}
.mega__col h3 {
  font-family: var(--font-body); font-size: var(--fs-micro); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s4);
  font-weight: 500;
}
.mega__col li + li { margin-top: var(--s1); }
.mega__col a { display: inline-flex; align-items: center; min-height: 36px; font-size: var(--fs-sm); }
.mega__col a:hover { color: var(--accent-text); }
.mega__feature { border-left: var(--border-w) solid var(--line); padding-left: var(--s6); }
.mega__feature img { border-radius: var(--radius-img); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---- mobile drawer nav --------------------------------------------------- */
.mnav {
  position: fixed; inset: 0 auto 0 0; width: min(88vw, 380px); z-index: 130;
  background: var(--bg); color: var(--text);
  transform: translateX(-101%); transition: transform var(--dur) var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
  border-right: var(--border-w) solid var(--line);
}
.mnav[data-open='true'] { transform: translateX(0); }
.mnav__head { display: flex; align-items: center; justify-content: space-between;
  padding: var(--s4) var(--s5); border-bottom: var(--border-w) solid var(--line); }
.mnav__body { padding: var(--s5); }
.mnav__body a { display: block; padding: var(--s3) 0; font-size: 1.125rem;
  font-family: var(--font-display); border-bottom: 1px solid var(--line); }
.mnav__body .mnav__sub a { font-family: var(--font-body); font-size: var(--fs-sm);
  color: var(--text-muted); border: 0; padding: var(--s2) 0; }

/* ---- scrim --------------------------------------------------------------- */
.scrim {
  position: fixed; inset: 0; background: rgba(11, 11, 13, 0.5); z-index: 120;
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease);
  backdrop-filter: blur(2px);
}
.scrim[data-open='true'] { opacity: 1; pointer-events: auto; }

/* ---- product card -------------------------------------------------------- */
.pgrid {
  display: grid; gap: var(--card-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 48rem) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .pgrid { grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr)); }
}
.pgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media {
  position: relative; overflow: hidden; border-radius: var(--radius-img);
  background: var(--product-bg); aspect-ratio: var(--card-ratio);
}
.pcard__media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 600ms var(--ease), opacity var(--dur) var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.035); }
.pcard__badge {
  position: absolute; top: var(--s3); left: var(--s3); z-index: 2;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 0.6rem; background: var(--bg); color: var(--text);
  border-radius: var(--radius); font-weight: 600; font-family: var(--font-body);
}
.pcard__badge--member { background: var(--accent-text); color: #fff; }
.pcard__quick {
  position: absolute; left: var(--s3); right: var(--s3); bottom: var(--s3); z-index: 2;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { opacity: 1; transform: none; }
@media (hover: none) { .pcard__quick { opacity: 1; transform: none; } }

.pcard__body { padding-top: var(--s3); display: flex; flex-direction: column; gap: 2px; }
.pcard__title { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; }
.pcard__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pcard__sub { font-size: var(--fs-xs); color: var(--text-muted); }
.pcard__price { font-size: var(--fs-sm); margin-top: var(--s1); display: flex;
  align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
.pcard__was { color: var(--text-faint); text-decoration: line-through; font-size: var(--fs-xs); }
.pcard__member { color: var(--accent-text); font-size: var(--fs-xs); }
.pcard__swatches { display: flex; gap: 6px; margin-top: var(--s2); align-items: center; }
.swatch-dot {
  width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--line-strong);
  position: relative; z-index: 2;
}
.swatch-dot[data-active='true'] { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3px var(--text); }
.pcard__cuts {
  font-size: var(--fs-micro); color: var(--text-muted); letter-spacing: 0.08em;
  margin-left: var(--s1);
}

/* ---- PLP toolbar / filters ----------------------------------------------- */
.plp__head { padding-block: var(--s6) var(--s5); }
.plp__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding-block: var(--s3); border-block: var(--border-w) solid var(--line);
  position: sticky; top: var(--header-h); background: var(--bg); z-index: 40;
  flex-wrap: wrap;
}
.filters { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 0.5rem 0.9rem; min-height: 44px;
  border: var(--border-w) solid var(--line-strong); border-radius: var(--radius-pill);
  font-size: var(--fs-xs); letter-spacing: 0.06em; background: transparent;
  transition: all var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--text); }
.chip[aria-pressed='true'] {
  background: var(--text); color: var(--bg); border-color: var(--text);
}
.chip__x { font-size: 1rem; line-height: 1; }
select.sortsel {
  min-height: 44px; padding: 0 2rem 0 0.75rem; border: var(--border-w) solid var(--line-strong);
  border-radius: var(--radius); background: transparent; font-size: var(--fs-xs);
  letter-spacing: 0.06em; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.plp__count { font-size: var(--fs-xs); color: var(--text-muted); letter-spacing: 0.08em; }

/* ---- PDP ----------------------------------------------------------------- */
.pdp { display: grid; gap: var(--s6); padding-block: var(--s5) var(--section-y); }
@media (min-width: 64rem) {
  .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr); gap: var(--s8); align-items: start; }
  .pdp__info { position: sticky; top: calc(var(--header-h) + var(--s5)); }
}
.pdp__gallery { display: grid; gap: var(--s2); }
.pdp__stage {
  position: relative; aspect-ratio: var(--card-ratio); overflow: hidden;
  border-radius: var(--radius-img); background: var(--product-bg);
}
.pdp__stage img { width: 100%; height: 100%; object-fit: contain; }
.pdp__thumbs { display: flex; gap: var(--s2); flex-wrap: wrap; }
.pdp__thumb {
  width: 72px; aspect-ratio: 1 / 1; border-radius: var(--radius-img);
  overflow: hidden; border: 1px solid var(--line); padding: 0; min-height: 0;
  background: var(--product-bg);
}
.pdp__thumb[aria-current='true'] { border-color: var(--text); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 64rem) {
  .pdp__gallery--stack .pdp__thumbs { display: none; }
  .pdp__gallery--stack { gap: var(--s3); }
}
.pdp__title { font-size: var(--fs-h2); }
.pdp__price { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s3); }
.pdp__price b { font-weight: 500; font-size: 1.25rem; font-family: var(--font-body); }
.pdp__memberline {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) var(--s4); margin-top: var(--s4); flex-wrap: wrap;
  border: var(--border-w) solid var(--line); border-radius: var(--radius);
  background: var(--accent-soft); font-size: var(--fs-sm);
}
.opt { margin-top: var(--s5); }
.opt__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.opt__label { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.opt__value { font-size: var(--fs-sm); }
.swatches { display: flex; gap: var(--s3); flex-wrap: wrap; }
.swatch {
  width: 44px; height: 44px; border-radius: 50%; padding: 0; position: relative;
  border: 1px solid var(--line-strong); min-height: 44px;
}
.swatch[aria-pressed='true'] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--text); }

/* Style pills — the image-bearing option. Labelled, because the Crazy tee has
   three white cuts and a row of identical dots would tell you nothing. */
.styles { display: flex; gap: var(--s2); flex-wrap: wrap; }
.stylepill {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 0.6rem 0.9rem; min-height: 44px;
  border: var(--border-w) solid var(--line-strong); border-radius: var(--radius);
  font-size: var(--fs-sm); background: transparent;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.stylepill:hover { border-color: var(--text); }
.stylepill[aria-pressed='true'] {
  background: var(--text); color: var(--bg); border-color: var(--text);
}
.stylepill__dot {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  border: 1px solid rgba(128, 128, 128, 0.45);
}
.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); gap: var(--s2); }
.size {
  min-height: 48px; border: var(--border-w) solid var(--line-strong); border-radius: var(--radius);
  font-size: var(--fs-sm); background: transparent;
  transition: all var(--dur-fast) var(--ease);
}
.size:hover:not([disabled]) { border-color: var(--text); }
.size[aria-pressed='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }
.size[disabled] {
  opacity: 0.35; cursor: not-allowed; text-decoration: line-through;
  text-decoration-color: var(--text-faint);
}
.qty { display: inline-flex; align-items: center; border: var(--border-w) solid var(--line-strong);
  border-radius: var(--radius); }
.qty button { width: 44px; height: 46px; font-size: 1.125rem; }
.qty output, .qty span { min-width: 34px; text-align: center; font-size: var(--fs-sm); }
.pdp__actions { display: flex; gap: var(--s3); margin-top: var(--s5); flex-wrap: wrap; }
.pdp__actions .btn { flex: 1 1 100%; }
.pdp__acc { margin-top: var(--s6); border-top: var(--border-w) solid var(--line); }
.acc__item { border-bottom: var(--border-w) solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); padding: var(--s4) 0; text-align: left;
  font-size: var(--fs-sm); letter-spacing: 0.04em; min-height: 56px;
}
.acc__btn span:last-child { font-size: 1.25rem; line-height: 1; transition: transform var(--dur) var(--ease); }
.acc__btn[aria-expanded='true'] span:last-child { transform: rotate(45deg); }
.acc__panel { padding-bottom: var(--s5); font-size: var(--fs-sm); color: var(--text-muted); }
.acc__panel[hidden] { display: none; }
.acc__panel li { position: relative; padding-left: var(--s4); }
.acc__panel li::before { content: ''; position: absolute; left: 0; top: 0.7em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }
.acc__panel li:nth-child(even)::before { background: var(--accent); }

/* sticky mobile buy bar */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: var(--bg); border-top: var(--border-w) solid var(--line);
  padding: var(--s3) var(--gutter); display: flex; gap: var(--s3);
  align-items: center; transform: translateY(101%);
  transition: transform var(--dur) var(--ease);
}
.buybar[data-show='true'] { transform: none; }
.buybar__meta { flex: 1; min-width: 0; font-size: var(--fs-xs); }
.buybar__meta strong { display: block; font-weight: 500; font-size: var(--fs-sm);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 64rem) { .buybar { display: none; } }

/* ---- cart drawer --------------------------------------------------------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(94vw, 440px); z-index: 130;
  background: var(--bg); color: var(--text);
  display: flex; flex-direction: column;
  transform: translateX(101%); transition: transform var(--dur) var(--ease);
  border-left: var(--border-w) solid var(--line);
}
.drawer[data-open='true'] { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s5); border-bottom: var(--border-w) solid var(--line);
}
.drawer__head h2 { font-size: 1.125rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--s5); }
.drawer__foot { border-top: var(--border-w) solid var(--line); padding: var(--s5); }
.drawer__empty { text-align: center; padding-block: var(--s8); color: var(--text-muted); }

.line {
  display: grid; grid-template-columns: 76px 1fr; gap: var(--s4);
  padding-block: var(--s4); border-bottom: 1px solid var(--line);
}
.line:first-child { padding-top: 0; }
.line__img { border-radius: var(--radius-img); overflow: hidden; background: var(--product-bg);
  aspect-ratio: 1 / 1; }
.line__img img { width: 100%; height: 100%; object-fit: contain; }
.line__top { display: flex; justify-content: space-between; gap: var(--s3); }
.line__title { font-size: var(--fs-sm); font-weight: 500; }
.line__meta { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 2px; }
.line__foot { display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); margin-top: var(--s3); }
.line__remove { font-size: var(--fs-xs); color: var(--text-muted); border-bottom: 1px solid currentColor; }
.line__remove:hover { color: var(--accent-text); }
.line .qty button { width: 34px; height: 34px; min-height: 34px; font-size: 0.9rem; }
.line .qty output { min-width: 26px; font-size: var(--fs-xs); }

.totals { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s4); }
.totals__row { display: flex; justify-content: space-between; font-size: var(--fs-sm); }
.totals__row--big { font-size: 1.0625rem; padding-top: var(--s3);
  border-top: var(--border-w) solid var(--line); }
.totals__save { color: var(--accent-text); }

/* ---- progress (free ship / founding spots) -------------------------------- */
.progress { height: 3px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress__fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  transition: width 600ms var(--ease);
}

/* ---- modal --------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 140; display: none;
  align-items: center; justify-content: center; padding: var(--gutter);
}
.modal[data-open='true'] { display: flex; }
.modal__panel {
  background: var(--bg); color: var(--text); border-radius: var(--radius-lg);
  max-width: 720px; width: 100%; max-height: 84vh; overflow-y: auto;
  border: var(--border-w) solid var(--line); position: relative; z-index: 2;
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s4); padding: var(--s5); border-bottom: var(--border-w) solid var(--line); }
.modal__body { padding: var(--s5); }
.sizetable { font-size: var(--fs-sm); }
.sizetable th, .sizetable td { padding: var(--s3) var(--s2); text-align: left;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
.sizetable th { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500; }
.sizetable__scroll { overflow-x: auto; }

/* ---- toast --------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: var(--s6); transform: translate(-50%, 140%);
  z-index: 150; background: var(--inverse-bg); color: var(--inverse-text);
  padding: var(--s3) var(--s5); border-radius: var(--radius-pill);
  font-size: var(--fs-sm); transition: transform var(--dur) var(--ease);
  max-width: calc(100vw - 2rem); box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.toast[data-show='true'] { transform: translate(-50%, 0); }

/* ---- forms --------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field label { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); }
.field input, .field textarea, .field select {
  min-height: 48px; padding: var(--s3) var(--s4);
  border: var(--border-w) solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--text); width: 100%;
}
.field textarea { min-height: 130px; padding-top: var(--s3); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field__hint { font-size: var(--fs-xs); color: var(--text-muted); text-transform: none; letter-spacing: 0; }
.formgrid { display: grid; gap: var(--s4); }
@media (min-width: 40rem) { .formgrid--2 { grid-template-columns: 1fr 1fr; } }

/* ---- membership block ---------------------------------------------------- */
.memb { position: relative; overflow: hidden; }
.memb__grid { display: grid; gap: var(--s7); }
@media (min-width: 64rem) { .memb__grid { grid-template-columns: 1fr 1fr; gap: var(--s9); align-items: center; } }
.memb__benefits { display: grid; gap: var(--s5); }
.memb__benefit { display: grid; grid-template-columns: 28px 1fr; gap: var(--s4); align-items: start; }
.memb__num {
  font-family: var(--font-body); font-size: var(--fs-micro); letter-spacing: 0.1em;
  color: var(--accent-2); padding-top: 4px;
}
.memb__benefit:nth-child(even) .memb__num { color: var(--accent); }
.memb__benefit h3 { font-family: var(--font-body); font-size: var(--fs-sm);
  font-weight: 600; letter-spacing: 0.02em; text-transform: none; }
.memb__benefit p { font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--s1); }
.section--inverse .memb__benefit p { color: var(--inverse-muted); }
.memb__spots { margin-top: var(--s5); }
.memb__spots .eyebrow { display: flex; justify-content: space-between; margin-bottom: var(--s3); }

/* ---- footer -------------------------------------------------------------- */
.ftr {
  background: var(--ftr-bg, var(--bg-alt)); color: var(--ftr-text, var(--text));
  border-top: var(--border-w) solid var(--ftr-line, var(--line));
  padding-block: var(--s8) var(--s5);
}
.ftr__grid { display: grid; gap: var(--s7); }
@media (min-width: 48rem) { .ftr__grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s6); } }
.ftr h3 { font-family: var(--font-body); font-size: var(--fs-micro); letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: var(--s4); font-weight: 500; opacity: 0.72; }
.ftr li + li { margin-top: 2px; }
.ftr__grid a { font-size: var(--fs-sm); display: inline-flex; align-items: center; min-height: 34px; }
.ftr__grid a:hover { color: var(--accent-2-text); }
.ftr__logo { height: 54px; width: auto; margin-bottom: var(--s4); }
.ftr__bottom {
  margin-top: var(--s8); padding-top: var(--s5);
  border-top: var(--border-w) solid var(--ftr-line, var(--line));
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between;
  font-size: var(--fs-xs); opacity: 0.72;
}
.ftr__signup { display: flex; gap: var(--s2); margin-top: var(--s4); max-width: 380px; }
.ftr__signup input { flex: 1; min-height: 48px; padding: 0 var(--s4);
  background: transparent; border: var(--border-w) solid currentColor;
  border-radius: var(--radius); color: inherit; }

/* ---- breadcrumbs / page head --------------------------------------------- */
.crumbs { font-size: var(--fs-xs); color: var(--text-muted); padding-block: var(--s4);
  display: flex; gap: var(--s2); flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.phead { padding-block: var(--s7) var(--s6); }
.phead h1 { font-size: var(--fs-h1); }
.phead p { margin-top: var(--s3); }

/* ---- checkout ------------------------------------------------------------ */
.co { display: grid; gap: var(--s7); padding-block: var(--s6) var(--section-y); }
@media (min-width: 64rem) { .co { grid-template-columns: 1.25fr 0.85fr; gap: var(--s9); align-items: start; } }
.co__aside { background: var(--bg-alt); border-radius: var(--radius-lg);
  padding: var(--s5); border: var(--border-w) solid var(--line); }
@media (min-width: 64rem) { .co__aside { position: sticky; top: calc(var(--header-h) + var(--s5)); } }
.co__steps { display: flex; gap: var(--s4); font-size: var(--fs-xs); color: var(--text-muted);
  padding-block: var(--s4); flex-wrap: wrap; }
.co__steps [aria-current='step'] { color: var(--text); }
.co__note {
  border: var(--border-w) dashed var(--line-strong); border-radius: var(--radius);
  padding: var(--s4); font-size: var(--fs-sm); color: var(--text-muted);
  display: flex; gap: var(--s3); align-items: flex-start;
}

/* ---- editorial helpers used by home pages -------------------------------- */
.rail { display: flex; gap: var(--card-gap); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--s4); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.rail > * { flex: 0 0 min(74vw, 320px); scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 3px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); }
@media (min-width: 64rem) { .rail > * { flex-basis: 340px; } }

.split { display: grid; gap: var(--s6); }
@media (min-width: 64rem) { .split { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; } }
.media { border-radius: var(--radius-img); overflow: hidden; background: var(--surface-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }

.tiles { display: grid; gap: var(--s4); }
@media (min-width: 48rem) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 48rem) { .tiles--2 { grid-template-columns: repeat(2, 1fr); gap: var(--s5); } }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-img);
  aspect-ratio: 4/3; display: flex; align-items: flex-end;
  background: var(--product-bg); }
@media (min-width: 48rem) { .tiles--2 .tile { aspect-ratio: 3/2; } }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  transition: transform 700ms var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile__cap { position: relative; z-index: 2; padding: var(--s5); color: #fff;
  width: 100%; background: linear-gradient(to top, rgba(11,11,13,0.72), transparent); }
.tile__cap h3 { font-size: var(--fs-h3); }
.tile__cap .eyebrow { color: rgba(255, 255, 255, 0.78); }

.vals { display: grid; gap: var(--s6); }
@media (min-width: 48rem) { .vals { grid-template-columns: repeat(3, 1fr); gap: var(--s7); } }
.val h3 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.04em; margin-block: var(--s3) var(--s2); text-transform: none; }
.val p { font-size: var(--fs-sm); color: var(--text-muted); }
.val__rule { width: 40px; height: 2px; background: linear-gradient(to right,
  var(--accent) 0 50%, var(--accent-2) 50% 100%); }

.quote { font-family: var(--font-display); font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  line-height: 1.35; text-wrap: balance; }
.quotes { display: grid; gap: var(--s6); }
@media (min-width: 48rem) { .quotes { grid-template-columns: repeat(3, 1fr); gap: var(--s7); } }
.quote__meta { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--s4); }

.emblem-watermark {
  position: absolute; pointer-events: none; opacity: 0.06; width: min(52vw, 520px);
  right: -8%; top: 50%; transform: translateY(-50%); z-index: 0;
}

/* ==========================================================================
   QUICK VIEW — the product panel
   Opens on any product click, and is re-used verbatim as the PDP body so the
   two can never drift. Every colour comes from the variant's own tokens; the
   only fixed element is the brand gradient bar.
   Shopify: snippets/quick-view.liquid over the product JSON.
   ========================================================================== */
.qv {
  position: fixed; inset: 0; z-index: 140; display: none;
  align-items: center; justify-content: center; padding: clamp(0px, 3vw, 3rem);
}
.qv[data-open='true'] { display: flex; }
.qv__panel {
  position: relative; z-index: 2; width: 100%; max-width: 1180px;
  max-height: 94vh; overflow-y: auto; background: var(--bg); color: var(--text);
  border: var(--border-w) solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
}
/* the brand duality, used once, as the panel's masthead */
.qv__bar {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: 0 var(--s3) 0 var(--s5); min-height: 56px;
  background: linear-gradient(90deg, #ec008c 0%, #a34bd6 52%, #00aeef 100%);
}
.qv__brand {
  font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: #fff;
}
.qv__close {
  width: 44px; height: 44px; display: inline-flex; align-items: center;
  justify-content: center; color: #fff; border-radius: 50%;
}
.qv__close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.qv__close:hover { background: rgba(255, 255, 255, 0.18); }

.qv__body { display: grid; gap: var(--s6); padding: var(--s5); }
@media (min-width: 60rem) {
  .qv__body { grid-template-columns: 1fr 1fr; gap: var(--s7); padding: var(--s6); align-items: start; }
}

/* ---- media --------------------------------------------------------------- */
.qv__stage {
  aspect-ratio: 1 / 1; background: var(--product-bg); overflow: hidden;
  border-radius: var(--radius-img);
}
.qv__stage img { width: 100%; height: 100%; object-fit: contain; }
.qv__thumbs { display: flex; gap: var(--s2); margin-top: var(--s3); flex-wrap: wrap; }
.qv__thumb {
  width: 74px; aspect-ratio: 1 / 1; padding: 0; min-height: 0; overflow: hidden;
  background: var(--product-bg); border: 1px solid var(--line);
  border-radius: var(--radius-img); transition: border-color var(--dur-fast) var(--ease);
}
.qv__thumb img { width: 100%; height: 100%; object-fit: contain; }
.qv__thumb[aria-current='true'] { border-color: var(--text); border-width: 2px; }

/* ---- info ---------------------------------------------------------------- */
.qv__title { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.qv__price {
  font-family: var(--font-body); font-size: 1.25rem; margin-top: var(--s2);
  display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap;
}
.qv__member { font-size: var(--fs-xs); color: var(--accent-text); }
.qv__tag { color: var(--text-muted); font-size: var(--fs-sm); margin-top: var(--s3); max-width: 46ch; }

.qv__opt { margin-top: var(--s5); }
.qv__label {
  font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: var(--s3); display: flex; align-items: center;
  justify-content: space-between; gap: var(--s3);
}
/* the two axes get the two brand accents — magenta for fit, cyan for colour */
.qv__label--fit { color: var(--accent-text); }
.qv__label--colour { color: var(--accent-2-text); }
.qv__guide {
  font-size: var(--fs-xs); letter-spacing: 0.04em; text-transform: none;
  color: var(--text-muted); min-height: auto;
}

.qv__pills { display: flex; gap: var(--s2); flex-wrap: wrap; }
.qv__pill {
  min-height: 48px; padding: 0 var(--s5);
  border: var(--border-w) solid var(--line-strong); border-radius: var(--radius);
  font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; transition: all var(--dur-fast) var(--ease);
}
.qv__pill:hover { border-color: var(--text); }
.qv__pill[aria-pressed='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }

.qv__dots { display: flex; gap: var(--s3); flex-wrap: wrap; }
.qv__dot {
  width: 38px; height: 38px; min-height: 38px; border-radius: 50%; padding: 0;
  background: var(--dot); border: 1px solid rgba(128, 128, 128, 0.4);
  position: relative; transition: box-shadow var(--dur-fast) var(--ease);
}
.qv__dot::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid transparent; transition: border-color var(--dur-fast) var(--ease);
}
.qv__dot[aria-pressed='true']::after { border-color: var(--text); }

.qv__sizes { display: flex; gap: var(--s2); flex-wrap: wrap; }
.qv__size {
  min-width: 62px; min-height: 50px;
  border: var(--border-w) solid var(--line-strong); border-radius: var(--radius);
  font-size: var(--fs-sm); background: transparent;
  transition: all var(--dur-fast) var(--ease);
}
.qv__size:hover:not([disabled]) { border-color: var(--text); }
.qv__size[aria-pressed='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }
.qv__size[disabled] {
  opacity: 0.35; cursor: not-allowed; text-decoration: line-through;
}

.qv__cta {
  width: 100%; margin-top: var(--s6); min-height: 62px;
  background: var(--btn-bg); color: var(--btn-text);
  border: var(--border-w) solid var(--btn-line); border-radius: var(--radius);
  font-size: var(--btn-fs); font-weight: var(--btn-weight);
  letter-spacing: var(--btn-tracking); text-transform: var(--btn-transform);
  transition: background var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.qv__cta:hover { background: var(--btn-bg-hover); }
/* "Select a size" is a prompt, not a dead button — it still takes focus to the
   size row, so it is deliberately neither dimmed nor `disabled`. */

.qv__spec { margin-top: var(--s6); border-top: var(--border-w) solid var(--line); }
.qv__spec > div {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s4);
  padding: var(--s3) 0; border-bottom: var(--border-w) solid var(--line);
}
.qv__spec dt { font-size: var(--fs-sm); color: var(--text-muted); }
.qv__spec dd { font-size: var(--fs-sm); margin: 0; text-align: right; }
.qv__more { margin-top: var(--s4); font-size: var(--fs-sm); }

/* inline mode: the PDP body, without the modal chrome */
.qv--inline { position: static; display: block; padding: 0; }
.qv--inline .qv__panel {
  max-width: none; max-height: none; overflow: visible;
  border: 0; box-shadow: none; background: transparent; border-radius: 0;
}
.qv--inline .qv__body { padding-inline: 0; }


/* ==========================================================================
   MOTION LAYER — variants 1–5 (variant 6 opts out in JS)
   Progressive enhancement only: nothing here hides content unless the script
   has run AND motion is welcome, so a JS failure or reduced-motion preference
   leaves every element plainly visible.
   ========================================================================== */

/* ---- scroll progress rail ------------------------------------------------ */
.mo-rail {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 200;
  pointer-events: none; background: transparent;
}
.mo-rail__fill {
  display: block; height: 100%; width: 100%; transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(to right, var(--accent) 0 50%, var(--accent-2) 50% 100%);
}

/* ---- scroll reveal ------------------------------------------------------- */
[data-mo='off'] {
  opacity: 0;
  transform: translateY(var(--mo-y, 20px));
}
[data-mo='on'] {
  opacity: 1;
  transform: none;
  transition: opacity var(--mo-dur, 700ms) var(--ease),
              transform var(--mo-dur, 700ms) var(--ease);
}

/* ---- heading line reveal (Atelier) --------------------------------------- */
.mo-w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.mo-w > span {
  display: inline-block; transform: translateY(105%);
  transition: transform 760ms var(--ease);
}
[data-mo='on'] .mo-w > span { transform: none; }

/* ---- magnetic CTAs ------------------------------------------------------- */
.btn, .y3__cta, .fl__prod { will-change: transform; }
.btn:not(.btn--ghost) { transition: background var(--dur-fast) var(--ease),
  border-color var(--dur-fast) var(--ease), transform 260ms var(--ease); }

/* ---- cursor companion (Obsidian) ----------------------------------------
   The native cursor is never hidden — this is a light that trails it, so no
   affordance is lost and nothing breaks if the script fails. */
.mo-cursor {
  position: fixed; top: 0; left: 0; z-index: 190; pointer-events: none;
  opacity: 0;
  width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: radial-gradient(circle, rgba(236, 0, 140, 0.16) 0%, transparent 70%);
  transition: width 260ms var(--ease), height 260ms var(--ease),
              margin 260ms var(--ease), opacity 260ms var(--ease),
              border-color 260ms var(--ease);
}
.mo-cursor[data-on='true'] {
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-color: rgba(0, 174, 239, 0.6);
}
.mo-cursor[data-ready='true'] { opacity: 1; }
.mo-cursor[data-hide='true'] { opacity: 0; }

/* ---- parallax ------------------------------------------------------------ */
.tile img, .media img, .hero__media img, .drop img { will-change: transform; }

/* ---- card tilt (Meridian) ------------------------------------------------ */
.pcard__media { transition: transform 320ms var(--ease); transform-style: preserve-3d; }

/* Reduced motion: the rail stays (it is information, not decoration) and
   every other enhancement is switched off at the source. */
@media (prefers-reduced-motion: reduce) {
  [data-mo] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mo-w > span { transform: none !important; }
  .mo-cursor { display: none; }
  .tile img, .media img, .hero__media img, .drop img { transform: none !important; }
  .pcard__media { transform: none !important; }
}
