/* Self-hosted Patrick Hand (OFL) — main font, from .local/patrick-hand.zip.
 * Subset from PatrickHand-Regular.ttf (400 only); bold weights synthesize. */
@font-face {
  font-family: "Patrick Hand";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/patrick-hand-ext.ttf") format("truetype");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Patrick Hand";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/patrick-hand-latin.ttf") format("truetype");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Painting With Chocolate (freeware, mooze) — merch teaser title on the
 * lander, from .local/painting-with-chocolate.zip. Single latin subset;
 * missing glyphs (ÄÖÜß–) fall back to Patrick Hand. */
@font-face {
  font-family: "Painting With Chocolate";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/painting-with-chocolate-latin.ttf") format("truetype");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Anton (OFL) — condensed display face for the "CHECK DAS"
 * half of the lander merch title. Single weight 400, latin + latin-ext. */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Caveat Brush (OFL) — brush handwritten face for the
 * "CHECK DAS" half of the lander merch title. Full latin + latin-ext. */
@font-face {
  font-family: "Caveat Brush";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/caveat-brush-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Caveat Brush";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/caveat-brush-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Archivo Black (OFL) — heavy formal grotesque for the
 * "Bundle" half of the lander merch title. Single weight 400. */
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-black-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-black-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Rock Salt (OFL) — dry brush marker for the "CHECK DAS"
 * half of the lander merch title. Latin only; the title is plain ASCII. */
@font-face {
  font-family: "Rock Salt";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/rock-salt-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Oswald Light 300 (OFL) — slim condensed face for the
 * "Bundle" half of the lander merch title. Latin + latin-ext. */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/oswald-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/oswald-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Kalam Bold 700 (OFL) — rounded handwritten face for the
 * "CHECK DAS" half of the lander merch title. Latin + latin-ext. */
@font-face {
  font-family: "Kalam";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/kalam-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Kalam";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/kalam-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Shadows Into Light (OFL) — slim handwritten face for the
 * "Bundle" half of the lander merch title. Latin + latin-ext. */
@font-face {
  font-family: "Shadows Into Light";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/shadows-into-light-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Shadows Into Light";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/shadows-into-light-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Caveat variable (OFL) — currently unused, kept for future accents. */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/caveat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  overflow-x: clip; /* safety net: breakout sections must never scroll sideways */
  --card-shadow: 0 2px 8px rgba(22, 22, 21, 0.05);
  --card-shadow-hover: 0 8px 24px rgba(22, 22, 21, 0.09);
  --success: #1f7a38;
  --success-bg: rgba(31, 122, 56, 0.1);
  --bg: #f4f4f1;
  --text: #161615;
  --muted: #55554f;
  --border: #dededb;
  --btn: #161615;
  --btn-text: #ffffff;
  /* Focus ring — used globally via :focus-visible */
  --focus-ring: 0 0 0 3px rgba(22, 22, 21, 0.18);
  /* Shared easing for micro-interactions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-btn: cubic-bezier(0.25, 1, 0.35, 1);
}

/* Brand-coloured text selection */
::selection {
  background: rgba(22, 22, 21, 0.12);
  color: var(--text);
}

/* Top page preloader progress bar */
.page-preloader {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--text);
  z-index: 9999;
  pointer-events: none;
  animation: preloader-glide 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes preloader-glide {
  0% { width: 0%; opacity: 1; }
  55% { width: 75%; opacity: 1; }
  85% { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

* { box-sizing: border-box; }

/* Global focus-visible ring — replaces the browser default blue outline
 * with a subtle dark ring that matches the palette. Interactive elements
 * that need a different ring (e.g. viewer buttons) override this locally. */
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

html {
  overflow-x: clip;
  scrollbar-width: none; /* Firefox: hide scrollbar, page still scrolls */
  -ms-overflow-style: none; /* legacy Edge/IE */
}

/* Chromium/Safari: hide scrollbar, page still scrolls */
::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--text);
  font-family: "Patrick Hand", "Segoe Print", "Bradley Hand", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  /* Remove the grey tap flash on iOS for all clickable elements */
  -webkit-tap-highlight-color: transparent;
}

/* Entire background is the container — no card for the hero.
 * min-width: 0 lets the wrap shrink inside body{display:grid}: grid
 * items default to min-width:auto (min-content), and breakout children
 * with percentage offsets would otherwise inflate the wrap to max-width
 * on narrow viewports. */
.page-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.wrap {
  width: 100%;
  max-width: 620px;
  min-width: 0;
  padding-inline: 24px;
  text-align: center;
}

/* Hero fills 90% of the viewport height and centers its content.
 * Positioned: the scroll hint pins to its bottom edge. */
.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 96px; /* clearance for the absolute scroll-hint circle (52px + 16px gap + breathing room) */
}

@media (min-width: 600px) {
  .hero { padding-bottom: 0; } /* enough vertical space on larger screens — no offset needed */
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--muted);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 7vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hero__underline {
  position: absolute;
  left: -2%;
  bottom: -15px;
  width: 104%;
  height: 24px;
  overflow: visible;
  pointer-events: none;
}

.hero__underline path {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: var(--path-len, 300px) 1500px;
  stroke-dashoffset: var(--path-len, 300px);
  transition: stroke-dashoffset 1.7s cubic-bezier(0.33, 1, 0.68, 1) 0.12s;
}

.hero__underline.is-drawn path {
  stroke-dashoffset: 0;
}

h1.error-code {
  font-size: clamp(56px, 10vw, 84px);
}

.sub {
  margin: 0 auto 40px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  text-wrap: balance;
}

/* Merch news flash: calm editorial block with an accent rule —
 * label over text, left-aligned, no card chrome. */
.hero__news {
  max-width: 46ch;
  margin: 10px auto 36px;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--text);
  text-align: left;
  text-wrap: balance;
}
.hero__news-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__news-text {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}

@media (max-width: 480px) {
  .hero__news {
    margin-inline: 8px;
  }
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Quiet disclaimer caption under the hero buttons — small, muted,
 * never competing with the news card above. */
.hero__fineprint {
  margin: 22px auto 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}

.btn {
  position: relative;
  display: block;
  padding: 15px 28px;
  border-radius: 28px;
  background: var(--btn);
  color: var(--btn-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    border-radius 0.35s var(--ease-btn),
    transform 0.22s var(--ease-btn),
    box-shadow 0.3s var(--ease-btn),
    background-color 0.3s var(--ease-btn),
    color 0.3s var(--ease-btn),
    border-color 0.3s var(--ease-btn);
}

/* Primary button: solid dark button with reverse liquid dome (drains down on hover) */
.btn:not(.secondary) {
  background-color: transparent;
  color: var(--btn-text);
  border: 1px solid var(--btn);
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

.btn:not(.secondary)::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 130%;
  height: 220%;
  border-radius: 50% 50% 0 0;
  background: var(--btn);
  transform: translate(-50%, -70%);
  transition: transform 0.65s var(--ease-btn);
  z-index: -1;
  pointer-events: none;
}

@media (hover: hover) {
  .btn:not(.secondary):hover::before {
    transform: translate(-50%, 0);
  }

  .btn:not(.secondary):hover {
    color: var(--text);
    border-color: var(--btn);
  }
}

/* Secondary button: transparent pill with smooth liquid dome fill */
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

/* Secondary liquid dome fill (bottom-to-top) */
.btn.secondary::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 130%;
  height: 220%;
  border-radius: 50% 50% 0 0;
  background: var(--btn);
  transform: translate(-50%, 0);
  transition: transform 0.65s var(--ease-btn);
  z-index: -1;
  pointer-events: none;
}

@media (hover: hover) {
  .btn.secondary:hover::before {
    transform: translate(-50%, -70%);
  }

  .btn.secondary:hover {
    color: var(--btn-text);
    border-color: var(--btn);
  }
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 999px;
}

/* Arrow micro-interactions: directional nudges on link hover.
 * Apply .arrow-top-right / .arrow-right to the icon() call. */
svg.arrow-top-right,
svg.arrow-right {
  transition: transform 0.25s var(--ease-btn);
}
a:hover svg.arrow-top-right,
button:hover svg.arrow-top-right {
  transform: translate(2px, -2px);
}
a:hover svg.arrow-right,
button:hover svg.arrow-right {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  svg.arrow-top-right,
  svg.arrow-right {
    transition: none;
    transform: none !important;
  }
}

/* Social/API links as a quiet directory — hairline rows with title +
 * description and a static external arrow. No cards, no motion. */

/* ─── Link Directory (twinsonice.link + meinlink.at) ──────────────────────
 * Hairline rows with background wash on hover; arrows stay put. */

/* ─── Link Directory / Hub ("More") ─────────────────────────────────────
 * Responsive 2-column tactile card grid on desktop, smooth stacked cards
 * on mobile. Platform-tinted badges with micro-interaction hover lift. */

.more {
  margin: 72px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.more__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-inline: 2px;
  flex-wrap: wrap;
}

.more__headline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.more h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.more__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(22, 22, 21, 0.08);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.more__hub-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transition:
    color 0.3s var(--ease-btn),
    border-color 0.3s var(--ease-btn);
}
.more__hub-link::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 130%;
  height: 220%;
  border-radius: 50% 50% 0 0;
  background: var(--btn);
  transform: translate(-50%, 0);
  transition: transform 0.68s var(--ease-btn);
  z-index: -1;
  pointer-events: none;
}
.more__hub-link svg {
  transition: transform 0.2s var(--ease-btn);
}
@media (hover: hover) {
  .more__hub-link:hover::before {
    transform: translate(-50%, -70%);
  }
  .more__hub-link:hover {
    color: var(--btn-text);
    border-color: var(--btn);
  }
  .more__hub-link:hover svg {
    transform: translate(1.5px, -1.5px);
  }
}
.more__hub-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.more__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .more {
    width: min(760px, 100vw - 40px);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.more__item {
  margin: 0;
  min-width: 0;
}

.more__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  border-radius: 14px;
  background: rgba(22, 22, 21, 0.025);
  border: 1px solid rgba(22, 22, 21, 0.07);
  transition:
    background-color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out);
}

.more__start {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.more__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 22, 21, 0.05);
  color: var(--text);
  border: 1px solid rgba(22, 22, 21, 0.06);
  transition:
    background-color 0.22s var(--ease-out),
    color 0.22s var(--ease-out);
}

.more__avatar svg {
  display: block;
  filter: grayscale(1);
  opacity: 0.72;
  transition:
    filter 0.25s var(--ease-out),
    opacity 0.25s var(--ease-out);
}

.more__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.more__title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.more__desc {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.more__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--muted);
  opacity: 0.55;
  transition:
    transform 0.22s var(--ease-out),
    opacity 0.22s var(--ease-out),
    color 0.22s var(--ease-out);
}

@media (hover: hover) {
  .more__link:hover {
    background: #ffffff;
    border-color: rgba(22, 22, 21, 0.16);
  }

  .more__link:hover .more__avatar svg {
    filter: grayscale(0);
    opacity: 1;
  }

  .more__link:hover .more__icon {
    opacity: 1;
    color: var(--text);
    transform: translate(2px, -2px);
  }

  /* Platform-specific subtle accents on card hover */
  .more__link--instagram:hover .more__avatar {
    background: rgba(225, 48, 108, 0.10);
    border-color: rgba(225, 48, 108, 0.20);
  }
  .more__link--tiktok:hover .more__avatar {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.14);
  }
  .more__link--youtube:hover .more__avatar {
    background: rgba(255, 0, 0, 0.08);
    border-color: rgba(255, 0, 0, 0.18);
  }
  .more__link--music:hover .more__avatar {
    background: rgba(29, 185, 84, 0.10);
    color: #1aa34a;
    border-color: rgba(29, 185, 84, 0.20);
  }
}

.more__link:active {
  background: rgba(22, 22, 21, 0.06);
}

.more__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ── meinlink.at Promo (Artisanal Creator Banner) ── */
.more__promo-wrap {
  margin-top: 18px;
}

.more__promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 13px 18px;
  color: var(--text);
  text-decoration: none;
  border-radius: 16px;
  background: rgba(22, 22, 21, 0.02);
  border: 1px dashed rgba(22, 22, 21, 0.18);
  transition:
    background-color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out);
}

@media (hover: hover) {
  .more__promo:hover {
    background: #ffffff;
    border-color: rgba(22, 22, 21, 0.35);
    border-style: solid;
  }

  .more__promo:hover .more__promo-icon {
    transform: scale(1.08) rotate(4deg);
    background: rgba(22, 22, 21, 0.12);
  }

  .more__promo:hover .more__promo-action {
    opacity: 1;
    color: var(--text);
    transform: translate(2px, -2px);
  }
}

.more__promo:active {
  background: rgba(22, 22, 21, 0.05);
}

.more__promo:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.more__promo-start {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.more__promo-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(22, 22, 21, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 1px solid rgba(22, 22, 21, 0.06);
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.more__promo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
  flex: 1;
}

.more__promo-title {
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.more__promo-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(22, 22, 21, 0.08);
  color: var(--text);
  letter-spacing: 0.01em;
}

.more__promo-desc {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

.more__promo-action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--muted);
  opacity: 0.5;
  transition:
    transform 0.22s var(--ease-out),
    opacity 0.22s var(--ease-out),
    color 0.22s var(--ease-out);
}

/* ─── Stories Section ───────────────────────────────────────────────────── */

.stories {
  margin: 40px 0 0;
}

.stories h2 {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Deck container.
 * --card-w is the single source of truth for card size: the deck height is
 * derived from it (card height 16/9 + fan spread + slack), so both scale
 * together on small screens instead of drifting apart.
 *
 * Mobile-first sizing strategy:
 *  - Phone  (<480px): card fills ~60vw — feels like a real story preview
 *  - Tablet (480-620px): fixed 220px — comfortable and prominent
 *  - Desktop (>620px): 200px — balanced within the 620px max-width layout
 *
 * The deck's max-width must accommodate the card plus the rightmost fan cards
 * (3 cards at 10px offset each = +30px) plus some breathing room. */
.story-deck {
  --card-w: 200px;
  position: relative;
  height: calc(var(--card-w) * 16 / 9 + 72px);
  max-width: 460px;
  margin: 0 auto;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

/* Touch starting on a card claims the whole gesture (JS toggles this for
 * touch pointers only): the page never steals vertical drags mid-swipe.
 * Removed on release/cancel/open, so scrolling from outside the cards and
 * with mouse/pen always keeps working. */
.story-deck.no-scroll { touch-action: none; }

/* ── Cards ── */
/* Latest story (--i: 0) is on top via z-index. Background cards fan below. */
.story-card {
  position: absolute;
  left: 50%;
  top: 0;
  display: block;
  width: var(--card-w, 200px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.55);
  background: var(--bg);
  /* Layered shadow: soft spread + crisp focus */
  box-shadow:
    0 2px 8px rgba(22, 22, 21, 0.06),
    0 12px 32px rgba(22, 22, 21, 0.16);
  z-index: calc(var(--n, 1) - var(--i, 0));
  transform:
    translateX(-50%)
    translate(
      calc(min(var(--i, 0), 3) * 10px - 15px),
      calc(min(var(--i, 0), 3) * 14px)
    )
    rotate(calc((min(var(--i, 0), 3) - 1.2) * 4.5deg));
  transition:
    transform 0.38s cubic-bezier(.22,.68,0,1.2),
    opacity   0.38s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
  outline: none;
}

/* Top card: lift on hover, focus ring on keyboard focus */
.story-card:first-child {
  outline: none;
}

.story-card:first-child:hover {
  transform: translateX(-50%) translate(-15px, 0px) rotate(-5.4deg) scale(1.025);
  box-shadow:
    0 2px 8px rgba(22, 22, 21, 0.06),
    0 12px 32px rgba(22, 22, 21, 0.16);
}

.story-card:first-child:focus-visible {
  transform: translateX(-50%) translate(-15px, 0px) rotate(-5.4deg) scale(1.025);
  box-shadow:
    0 2px 8px rgba(22, 22, 21, 0.06),
    0 12px 32px rgba(22, 22, 21, 0.16),
    var(--focus-ring);
}

.story-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Dragging state — disable transition for 1:1 tracking */
.story-card.dragging {
  transition: none;
  cursor: grabbing;
}

/* Leaving animation — card flies out */
.story-card.leaving {
  transition: transform 0.38s ease, opacity 0.38s ease;
  pointer-events: none;
}

/* ── Auto-advance shimmer on top card ── */
.story-card:first-child::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--adv-pct, 0%);
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 2px 0 0;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── Counter badge ── */
.story-deck__counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.story-deck__count {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.story-deck__dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.25s ease, transform 0.25s ease;
}

.story-deck__dot--current {
  background: var(--text);
  transform: scale(1.3);
}

/* Hint text below the counter */
.story-hint {
  margin: 60px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.7;
  letter-spacing: 0.02em;
}

/* ── Mobile: card fills most of the viewport width ──
 * On phones the deck is the hero of the page — give it real estate.
 * clamp(180px, 60vw, 240px) means:
 *   ≤300px wide phone  → 180px card (still comfortable)
 *   375px iPhone       → 225px card
 *   430px iPhone Pro   → 240px card (capped)
 * The deck max-width is removed so it can breathe; the card width already
 * self-limits. Extra bottom space ensures counter + hint never clip. */
@media (max-width: 480px) {
  .story-deck {
    --card-w: clamp(180px, 60vw, 240px);
    max-width: 100%;
  }
  .story-card {
    border-radius: 18px;
  }
  .story-hint {
    margin-top: 56px;
  }
}

/* ── Small tablet / large phone: step up to 220px ── */
@media (min-width: 481px) and (max-width: 620px) {
  .story-deck {
    --card-w: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-card,
  .story-card:first-child::after { transition: none; }
}

/* ─── Story Lightbox Viewer ──────────────────────────────────────────────── */

.story-viewer {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Entry animation */
  animation: sv-in 0.22s ease forwards;
}

@keyframes sv-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.story-viewer[hidden] { display: none !important; }

/* Progress bar */
.story-viewer__progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.2);
  z-index: 10;
}

.story-viewer__progress-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* Share button */
.story-viewer__share {
  position: absolute;
  top: max(16px, env(safe-area-inset-top, 16px));
  right: 68px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s var(--ease-btn);
}
.story-viewer__share:hover { background: rgba(255,255,255,0.25); }
.story-viewer__share:active { transform: scale(0.94); }
.story-viewer__share:focus-visible {
  background: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
  border-radius: 50%;
}

.story-viewer__close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top, 16px));
  right: 16px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s var(--ease-btn);
}

.story-viewer__close:hover { background: rgba(255,255,255,0.25); }
.story-viewer__close:active { transform: scale(0.94); }
.story-viewer__close:focus-visible {
  background: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
  border-radius: 50%;
}

/* Pause badge overlay */
.story-viewer__pause-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 18px;
  letter-spacing: 2px;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.story-viewer__pause-badge[hidden] { display: none !important; }

/* Toast popup */
.story-viewer__toast {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: rgba(22, 22, 21, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  animation: sv-fade-in 0.2s ease;
}
.story-viewer__toast[hidden] { display: none !important; }
@keyframes sv-fade-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Counter chip (e.g. "3 / 6") */
.story-viewer__counter {
  position: absolute;
  top: max(20px, calc(env(safe-area-inset-top, 0px) + 20px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  pointer-events: none;
  white-space: nowrap;
}

/* Loader */
.story-viewer__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}
.story-viewer__loader[hidden] {
  display: none !important;
}
.story-viewer__loader span {
  display: block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sv-spin 0.9s linear infinite;
}
@keyframes sv-spin {
  to { transform: rotate(360deg); }
}

/* Media area — fills the screen (portrait constraint) */
.story-viewer__media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-viewer__media img,
.story-viewer__media video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 0;
}

/* Contain to story aspect ratio on wider viewports */
@media (min-width: 500px) {
  .story-viewer__media img,
  .story-viewer__media video {
    max-width: min(100vw, calc(100vh * 9 / 16));
    max-height: 100vh;
    border-radius: 12px;
  }
}

/* Navigation arrows — visible on desktop/tablet, hidden on touch-only phones
 * where the tap zones (left 40% / right 40%) handle navigation instead. */
.story-viewer__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s var(--ease-btn);
}

.story-viewer__nav:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%); }
.story-viewer__nav:active { transform: translateY(-50%) scale(0.94); }
.story-viewer__nav:focus-visible {
  background: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
  border-radius: 50%;
}

.story-viewer__nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.story-viewer__nav--prev { left: 12px; }
.story-viewer__nav--next { right: 12px; }

/* On mobile, tap zones handle navigation — hide arrows to keep UI clean */
@media (max-width: 480px) and (pointer: coarse) {
  .story-viewer__nav { display: none; }
  /* Wider volume slider — 90px is fiddly for thumbs */
  .story-viewer__vol-slider { width: 120px; }
}

/* Tap zones (invisible) for full-height prev/next navigation */
.story-viewer__tap-prev,
.story-viewer__tap-next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  z-index: 5;
  cursor: pointer;
}

.story-viewer__tap-prev { left: 0; }
.story-viewer__tap-next { right: 0; }

/* Volume control row — bottom-centre of viewer */
.story-viewer__volume {
  position: absolute;
  bottom: max(20px, env(safe-area-inset-bottom, 20px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 8px 14px 8px 10px;
}

.story-viewer__vol-btn {
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-btn);
}

.story-viewer__vol-btn:active {
  transform: scale(0.92);
}

.story-viewer__vol-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  border-radius: 4px;
}

/* Range slider — custom cross-browser */
.story-viewer__vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
  outline: none;
  cursor: pointer;
  accent-color: #fff; /* modern browsers */
}

.story-viewer__vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.story-viewer__vol-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Hide volume row for image stories (controlled via JS .vol-hidden class) */
.story-viewer__volume.vol-hidden {
  display: none;
}

/* The speaker icons are inline <svg> — enforce [hidden] explicitly so a
 * missing/expired UA rule can never leave both icons visible at once
 * (JS toggles the content attribute, see syncVolUI in stories.js). */
.story-viewer__volume [hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .page-preloader { display: none !important; }
  .story-viewer { animation: none; }
  .story-viewer__progress-bar { transition: none; }
  .btn,
  .btn.secondary::before,
  .site-footer__legal a,
  .site-footer__legal a::before,
  .site-footer__nav a,
  .more a,
  .more__promo,
  .more__promo-icon,
  .more__icon,
  .more__promo-action,
  .scroll-top,
  .scroll-top__icon { transition: none !important; transform: none !important; }
  .hero__underline path,
  .lookbook-hero__underline path,
  .stories-teaser__underline path,
  .merch-teaser__underline path { transition: none !important; stroke-dashoffset: 0 !important; }
}


/* ─── Language Switcher ────────────────────────────────────────────────── */

.lang {
  margin-top: 36px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.lang a {
  color: inherit;
  text-decoration: none;
  padding: 10px 14px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang a:hover {
  color: var(--text);
  background: rgba(22, 22, 21, 0.06);
}

.lang a[aria-current="true"] {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.lang a:focus-visible {
  box-shadow: var(--focus-ring);
  color: var(--text);
}

/* Fixed top-right locale toggle pill — own component, no .lang inheritance.
 * Sits symmetric with the breadcrumb: top:16px right:16px.
 * Active locale gets a filled chip inside the pill. */
.locale-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(244, 244, 241, 0.88);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.25s var(--ease-btn);
}

@media (hover: hover) {
  .locale-toggle:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.11);
  }
}

.locale-toggle__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 11px;
  min-height: 28px;
  /* outer corners track the control radius; inner corners are tight */
  border-radius: 10px 4px 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}

/* second option (DE) mirrors the shape */
.locale-toggle__option + .locale-toggle__option {
  border-radius: 4px 10px 10px 4px;
}

.locale-toggle__option:hover {
  color: var(--text);
  background: rgba(22, 22, 21, 0.06);
}

.locale-toggle__option--active {
  background: var(--btn);
  color: var(--btn-text);
  pointer-events: none;
}

.locale-toggle__option:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 480px) {
  .locale-toggle {
    top: 10px;
    right: 10px;
  }
}

/* ─── Footer ─────────────────────────────────────────────────────────
 * Side-aligned three-column editorial footer.
 * Left column: brand + legal pill links (action side).
 * Centre column: pill site navigation spine with hairline borders.
 * Right column: unofficial notice + provider credits (info side).
 * On ≤ 600px the columns stack vertically with hairline dividers. */

.site-footer {
  margin: 72px 0 0;
  padding: 44px 0 32px;
  border-top: 1px solid rgba(22, 22, 21, 0.12);
  color: var(--muted);
  width: min(1080px, 100vw - 48px);
  min-height: clamp(260px, 42dvh, 440px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "primary nav secondary";
  align-items: start;
  gap: 0 44px;
}

/* ── Left: brand + legal ── */
.site-footer__primary {
  grid-area: primary;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.site-footer__brand {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer__sep {
  opacity: 0.35;
  font-weight: 400;
}

.site-footer__brand a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(22, 22, 21, 0.25);
  border-radius: 2px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.site-footer__brand a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}
.site-footer__brand a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.site-footer__legal {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}
.site-footer__legal a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  box-shadow: 0 1px 2px rgba(22, 22, 21, 0.04);
  transition:
    color 0.3s var(--ease-btn),
    border-color 0.3s var(--ease-btn),
    box-shadow 0.3s var(--ease-btn),
    transform 0.2s var(--ease-btn);
}

.site-footer__legal a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 130%;
  height: 220%;
  border-radius: 50% 50% 0 0;
  background: var(--btn);
  transform: translate(-50%, 0);
  transition: transform 0.72s var(--ease-btn);
  z-index: -1;
  pointer-events: none;
}

@media (hover: hover) {
  .site-footer__legal a:hover::before {
    transform: translate(-50%, -70%);
  }
  .site-footer__legal a:hover {
    color: var(--btn-text);
    border-color: var(--btn);
    box-shadow: 0 4px 12px rgba(22, 22, 21, 0.14);
  }
}

.site-footer__legal a:active {
  transform: scale(0.96);
}
.site-footer__legal a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ── Centre: site navigation ── */
.site-footer__nav {
  grid-area: nav;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 2px 22px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.site-footer__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    background 0.18s ease;
}
.site-footer__nav a:hover {
  color: var(--text);
  background: rgba(22, 22, 21, 0.07);
}
.site-footer__nav a:active {
  transform: scale(0.96);
}
.site-footer__nav a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ── Right: meta notice + credits ── */
.site-footer__secondary {
  grid-area: secondary;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__notice {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.92;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.01em;
}
.site-footer__notice::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(22, 22, 21, 0.35);
  flex-shrink: 0;
}

.site-footer__credits {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: break-word;
}
.site-footer__credits a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(22, 22, 21, 0.25);
  border-radius: 2px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.site-footer__credits a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}
.site-footer__credits a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ── Responsive: stack on narrow viewports ── */
@media (max-width: 600px) {
  .site-footer {
    min-height: auto;
    margin-top: 48px;
    padding: 36px 0 28px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "primary"
      "nav"
      "secondary";
    gap: 20px 0;
  }
  .site-footer__primary {
    align-items: flex-start;
    gap: 14px;
  }
  .site-footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
    padding: 14px 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .site-footer__nav a {
    padding: 6px 12px;
    font-size: 12.5px;
  }
  .site-footer__secondary {
    padding-left: 0;
    border-left: none;
    padding-top: 0;
    border-top: none;
    gap: 8px;
  }
  .site-footer__legal {
    justify-content: flex-start;
  }
}

/* ─── Merch Teaser (landing page) ──────────────────────────────────────────
 * Clean open duo — no card, lots of air. Marker title, bundle shot + small
 * worn lifestyle shot (getragen) offset into whitespace via margins (never
 * translateY), muted caption, pill CTA. Hover is scale-only. */

.merch-teaser {
  margin: 72px 0 0;
  padding: 44px 0 8px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.merch-teaser__title {
  margin: 0 0 10px;
  font-size: clamp(32px, 9vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
  rotate: -1deg;
}

/* Split title: original brush for CHECK DAS, slim hand for Bundle. */
.merch-teaser__check {
  font-family: "Painting With Chocolate", "Kalam", "Patrick Hand", cursive;
  font-weight: 400;
}

.merch-teaser__bundle {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-family: "Shadows Into Light", "Patrick Hand", "Segoe Print", cursive;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.merch-teaser__underline {
  position: absolute;
  left: -4%;
  bottom: -6px;
  width: 108%;
  height: 14px;
  overflow: visible;
  pointer-events: none;
}

.merch-teaser__underline path {
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--path-len, 260px) 1500px;
  stroke-dashoffset: var(--path-len, 260px);
  transition: stroke-dashoffset 1.35s cubic-bezier(0.42, 0, 0.18, 1);
}

.merch-teaser__underline.is-drawn path {
  stroke-dashoffset: 0;
}

.merch-teaser__sub {
  margin: 0 auto;
  max-width: 38ch;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}

/* Open stage: the individual bundle items fanned out in a lineup.
 * Middle tile (shirt front) leads, siblings tuck behind it. */
.merch-teaser__stage {
  margin: 28px auto 0;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merch-teaser__item {
  display: block;
  line-height: 0;
  text-decoration: none;
  width: 31%;
  background: transparent;
  filter: drop-shadow(0 10px 18px rgba(22, 22, 21, 0.12));
  transition:
    transform 0.35s var(--ease-out),
    filter 0.35s var(--ease-out);
}
.merch-teaser__item:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 0 3px rgba(22, 22, 21, 0.3)) drop-shadow(0 12px 24px rgba(22, 22, 21, 0.16));
}
.merch-teaser__item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile: organic scatter with dynamic tilt and gentle offset */
.merch-teaser__item:first-child {
  transform: translate(-6px, 12px) rotate(-11deg);
}
.merch-teaser__item:nth-child(2) {
  width: 37%;
  z-index: 1;
  transform: translateY(-8px) rotate(3deg);
}
.merch-teaser__item:last-child {
  transform: translate(6px, 12px) rotate(9deg);
}
.merch-teaser__item + .merch-teaser__item {
  margin-left: -14px;
}

@media (hover: hover) {
  .merch-teaser__item:first-child:hover {
    transform: translate(-6px, 2px) rotate(-7deg) scale(1.06);
    filter: drop-shadow(0 16px 28px rgba(22, 22, 21, 0.18));
    z-index: 3;
  }
  .merch-teaser__item:nth-child(2):hover {
    transform: translateY(-14px) rotate(1deg) scale(1.07);
    filter: drop-shadow(0 18px 30px rgba(22, 22, 21, 0.20));
    z-index: 3;
  }
  .merch-teaser__item:last-child:hover {
    transform: translate(6px, 2px) rotate(5deg) scale(1.06);
    filter: drop-shadow(0 16px 28px rgba(22, 22, 21, 0.18));
    z-index: 3;
  }
}

.merch-teaser__body { padding: 24px 4px 0; }

.merch-teaser__cta {
  display: inline-block;
  text-align: center;
  min-width: 220px;
}

.merch-teaser__note {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

@media (min-width: 640px) {
  .merch-teaser__title { font-size: 60px; }
  .merch-teaser__sub { font-size: 16px; }
  /* Desktop: widely scattered lineup with pronounced angles & offsets */
  .merch-teaser__stage {
    width: min(940px, 100vw - 40px);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    gap: 28px;
  }
  .merch-teaser__item,
  .merch-teaser__item:nth-child(2) {
    width: 100%;
    max-width: 290px;
  }
  .merch-teaser__item + .merch-teaser__item {
    margin-left: 0;
  }
  /* Desktop: casually scattered / organic arrangement with natural height and angle offsets. */
  .merch-teaser__item:first-child {
    transform: translate(-30px, 22px) rotate(-15deg);
  }
  .merch-teaser__item:nth-child(2) {
    transform: translate(4px, -22px) rotate(4deg);
    z-index: 2;
  }
  .merch-teaser__item:last-child {
    transform: translate(28px, 20px) rotate(12deg);
  }
  .merch-teaser__body { padding-top: 32px; }
}

@media (hover: hover) and (min-width: 640px) {
  /* Hover gently lifts each scattered item while preserving its organic angle */
  .merch-teaser__item:first-child:hover {
    transform: translate(-30px, 6px) rotate(-10deg) scale(1.08);
    filter: drop-shadow(0 24px 40px rgba(22, 22, 21, 0.22));
    z-index: 5;
  }
  .merch-teaser__item:nth-child(2):hover {
    transform: translate(4px, -34px) rotate(1.5deg) scale(1.09);
    filter: drop-shadow(0 26px 44px rgba(22, 22, 21, 0.24));
    z-index: 5;
  }
  .merch-teaser__item:last-child:hover {
    transform: translate(28px, 4px) rotate(7deg) scale(1.08);
    filter: drop-shadow(0 24px 40px rgba(22, 22, 21, 0.22));
    z-index: 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .merch-teaser__item { transform: none !important; transition: none !important; }
  .merch-teaser__title { rotate: 0deg; }
}

/* ─── Merch Lightbox (Amazon-inspired) ───────────────────────────────────
 * Light commerce viewer, not a dark photo overlay: dim backdrop + white
 * dialog, thumbnail rail on the left (Amazon signature), large stage in
 * the centre, counter + close in the header. Vertical centring uses flex
 * and margin:auto — never translateY(). */

.merch-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.merch-lightbox[hidden] { display: none !important; }

.merch-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 17, 0.62);
  cursor: zoom-out;
}

.merch-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(94vw, 960px);
  max-height: min(90vh, 860px);
  max-height: min(90svh, 860px);
  background: #fff;
  color: var(--text);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  animation: mlb-in 0.22s var(--ease-out);
}

@keyframes mlb-in {
  from { opacity: 0; scale: 0.98; }
  to { opacity: 1; scale: 1; }
}

.merch-lightbox__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.merch-lightbox__count {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.merch-lightbox__title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50%;
}

.merch-lightbox__close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.merch-lightbox__close:hover { background: rgba(22, 22, 21, 0.06); border-color: var(--text); }
.merch-lightbox__close:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.merch-lightbox__main {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  min-height: 0;
  flex: 1;
}

.merch-lightbox__rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  min-height: 0;
  max-height: 100%;
  scrollbar-width: none;
}
.merch-lightbox__rail::-webkit-scrollbar { display: none; }
.merch-lightbox__rail li { flex-shrink: 0; }

.merch-lightbox__thumb {
  display: block;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f1f1ee;
  line-height: 0;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.merch-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.merch-lightbox__thumb:hover { opacity: 1; border-color: var(--text); }
.merch-lightbox__thumb:focus-visible { outline: none; box-shadow: var(--focus-ring); opacity: 1; }
.merch-lightbox__thumb[aria-current="true"] {
  opacity: 1;
  border: 2px solid var(--text);
  box-shadow: 0 0 0 2px rgba(22, 22, 21, 0.12);
}

.merch-lightbox__stage {
  position: relative;
  margin: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #f4f4f1;
  border: 1px solid var(--border);
  overflow: hidden;
}

.merch-lightbox__imgwrap {
  position: relative;
  flex: 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.merch-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(58vh, 560px);
  max-height: min(58svh, 560px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
}

.merch-lightbox__cap {
  margin: 0;
  padding: 10px 16px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
  border-top: 1px solid var(--border);
  background: #fff;
}

/* Side arrows: full-height flex columns, button centred via margin:auto —
 * no absolute top:50% + translateY() trick. */
.merch-lightbox__prev,
.merch-lightbox__next {
  position: absolute;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  height: 44px;
  width: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(22, 22, 21, 0.14);
  transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  z-index: 2;
}
.merch-lightbox__prev { left: 10px; }
.merch-lightbox__next { right: 10px; }
.merch-lightbox__prev:hover,
.merch-lightbox__next:hover { background: #fff; border-color: var(--text); }
.merch-lightbox__prev:focus-visible,
.merch-lightbox__next:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.merch-lightbox__prev:disabled,
.merch-lightbox__next:disabled { opacity: 0.3; cursor: default; }

@media (max-width: 640px) {
  .merch-lightbox { padding: 10px; }
  .merch-lightbox__dialog { width: 100%; border-radius: 16px; }
  .merch-lightbox__main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .merch-lightbox__rail {
    flex-direction: row;
    order: 2;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
  }
  .merch-lightbox__thumb { width: 56px; height: 56px; }
  .merch-lightbox__img { max-height: 52vh; max-height: 52svh; }
  .merch-lightbox__title { display: none; }
  .merch-lightbox__prev { left: 6px; }
  .merch-lightbox__next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .merch-lightbox__dialog { animation: none; }
  .merch-lightbox__thumb,
  .merch-lightbox__prev,
  .merch-lightbox__next,
  .merch-lightbox__close { transition: none; }
}

/* Gallery triggers hint zoom affordance */
button[data-merch-thumb],
a[data-merch-view] { cursor: zoom-in; }

/* ─── Merch Detail Page (/merch/check-das) ───────────────────────────────
 * Amazon-inspired, single-card commerce layout: plain gallery (rail +
 * stage, no card wrappers), centre info column, one bordered buy panel.
 * Hover states use border/opacity/scale only — never translateY(). */

/* ─── Merch & Stories Breadcrumbs ──────────────────────────────────────────
 * Fixed viewport-pinned trail. position:fixed because overflow-x:hidden on
 * html/body silently breaks position:sticky.
 *
 * At rest: left edge aligns with the content column
 *   = max(24px,  (100vw - 1080px)/2 + 24px)
 *   On viewports wider than 1080px this matches the column left edge exactly.
 *   On narrow viewports it collapses to the 24px gutter — same as .wrap.
 * On scroll (JS adds .merch-crumbs--scrolled): slides to left:16px.
 * Transition on both left + transform for a smooth ease-out glide. */

.merch-crumbs {
  position: fixed;
  top: 16px;
  left: max(24px, calc((100vw - 1080px) / 2 + 24px));
  z-index: 200;
  pointer-events: none;
  transition: left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.merch-crumbs--scrolled {
  left: 16px;
}
.merch-crumbs ol {
  pointer-events: auto;
  list-style: none;
  margin: 0;
  padding: 6px 14px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(244, 244, 241, 0.88);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}
.merch-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  min-width: 0;
}
.merch-crumbs li + li::before {
  content: "›";
  color: var(--border);
  font-weight: 600;
}
.merch-crumbs a {
  color: var(--muted);
  text-decoration: none;
  border-radius: 3px;
  transition: color 0.15s ease;
}
.merch-crumbs a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.merch-crumbs a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.merch-crumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 32vw;
}

@media (max-width: 480px) {
  .merch-crumbs {
    top: 10px;
    /* left collapses to 24px via max() — no override needed */
  }
  .merch-crumbs--scrolled {
    left: 10px;
  }
  .merch-crumbs ol {
    padding: 5px 12px;
    font-size: 12px;
    gap: 4px 6px;
  }
  .merch-crumbs [aria-current="page"] {
    max-width: 42vw;
  }
}

/* ─── Merch Index Page (/merch) ────────────────────────────────────────────
 * Collection listing: head + one entry per product (currently one).
 * Single bordered entry per product — the content itself, no extra cards. */

.merch-index__head { text-align: left; margin: 0 0 20px; }
.merch-index__head h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.merch-index__head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}

.merch-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

/* Catalog rows sit directly on the page background — no card chrome,
 * no shadows. A hairline divider separates consecutive rows. */
.merch-index__item {
  display: grid;
  gap: 18px;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 20px 0 4px;
  box-shadow: none;
  text-align: left;
}
li.merch-index__item:first-child {
  border-top: none;
  padding-top: 4px;
}

.merch-index__media {
  display: block;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ececea;
}
.merch-index__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.3s var(--ease-out);
}
.merch-index__media:hover img { transform: scale(1.02); }
.merch-index__media:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.merch-index__info {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 2px 2px 4px;
}
.merch-index__info h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.merch-index__info h2 a {
  color: var(--text);
  text-decoration: none;
}
.merch-index__info h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.merch-index__sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}
.merch-index__price {
  margin: 4px 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.merch-index__cta { justify-self: start; min-width: 200px; text-align: center; }

@media (min-width: 640px) {
  .merch-index__item {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    padding: 24px 0 8px;
    align-items: center;
  }
  .merch-index__info h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .merch-index__media img { transform: none; transition: none; }
}

/* Wider canvas than the landing page: the three-column product layout
 * needs room (gallery rail + summary + buy box). Higher specificity than
 * .wrap so the generic padding rules never override it. */
.wrap.merch-page {
  max-width: 1080px;
  padding-top: 96px; /* generous air above the content, clears the fixed breadcrumb pill */
}

/* ── Summary (title block, Amazon centre-column top) ── */
.merch-detail__summary { grid-area: summary; text-align: left; }
.merch-detail__summary h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
.merch-detail__sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}
/* ── Grid areas: stacked zones on mobile, Amazon-style columns above.
 * The details spec-sheet (includes + specifications) is one zone. */
.merch-detail {
  display: grid;
  gap: 22px;
  grid-template-areas:
    "summary"
    "gallery"
    "buybox"
    "insights";
}

.merch-detail__gallery { grid-area: gallery; }
.merch-detail__buybox { grid-area: buybox; }
.merch-detail__insights { grid-area: insights; }

/* ── Gallery: rail + stage, no card wrappers ── */
.merch-detail__gallery {
  display: grid;
  gap: 10px;
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
}

.merch-detail__feature {
  margin: 0;
  order: -1;
}

.merch-detail__stage-btn {
  display: block;
  width: 100%;
  padding: 0;
  line-height: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ececea;
  cursor: zoom-in;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.merch-detail__stage-btn:hover {
  border-color: rgba(22, 22, 21, 0.28);
  box-shadow: var(--card-shadow-hover);
}
.merch-detail__stage-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.merch-detail__feature img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  background: #ececea;
  transition: transform 0.3s var(--ease-out);
}

.merch-detail__stage-btn:hover img { transform: scale(1.015); }

.merch-detail__feature figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}
.merch-detail__feature figcaption svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.merch-detail__thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.merch-detail__thumbs li { min-width: 0; }

/* Thumb buttons: flat bordered swatches, active = dark outline.
 * No shadows, no lift — border + opacity only. */
.merch-detail__thumbs button {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f1ee;
  border: 1px solid var(--border);
  line-height: 0;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.merch-detail__thumbs button:hover {
  opacity: 1;
  border-color: var(--text);
}

.merch-detail__thumbs button:focus-visible {
  box-shadow: var(--focus-ring);
  outline: none;
  opacity: 1;
}

.merch-detail__thumbs button[aria-current="true"] {
  opacity: 1;
  border: 2px solid var(--text);
  box-shadow: 0 0 0 2px rgba(22, 22, 21, 0.1);
}

.merch-detail__thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #ececea;
}

/* ── Buy panel: the single card on this page ── */
.merch-detail__buybox {
  display: grid;
  gap: 16px;
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  align-content: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

/* Price row: amount left, live stock status right. */
.merch-buy__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.merch-detail__price {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: grid;
  gap: 2px;
}

.merch-buy__per {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

/* Live-stock status: flat text with pulsing dot, never a pill. */
.merch-buy__stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.merch-buy__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  animation: merch-pulse 2s ease-in-out infinite;
}
@keyframes merch-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 122, 56, 0.45); }
  50%      { box-shadow: 0 0 0 5px rgba(31, 122, 56, 0); }
}

.merch-detail__cta.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  width: 100%;
  font-size: 16px;
  padding: 16px 28px;
}

.merch-detail__cta svg { flex-shrink: 0; }

/* Single-line reassurance under the CTA — no list, no dividers. */
.merch-buy__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}
.merch-buy__note svg {
  flex-shrink: 0;
  color: var(--success);
}

.merch-detail__secure {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.6;
}

/* About this item column — flat, inherits the details section. */
.merch-detail__about {
  margin: 0;
  width: 100%;
  max-width: none;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.merch-about__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.merch-detail__about-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.merch-about__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(22, 22, 21, 0.06);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  flex-shrink: 0;
}

.merch-detail__about ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.merch-detail__about li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  border-top: 1px solid var(--border);
}
.merch-detail__about li:first-child { border-top: none; }

.merch-about__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}

.merch-detail__about li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #1f7a38;
}

/* ── Product details: one calm spec-sheet section, zero cards ── */
.merch-detail__insights {
  margin: 0 auto;
  width: 100%;
  max-width: 560px;
  text-align: left;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.merch-details__title {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.merch-details__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

/* Specifications table: label left, value right, hairline rows. */
.merch-specs__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.merch-specs { margin: 0; }
.merch-specs__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.merch-specs__row:first-child { border-top: none; }
.merch-specs dt {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}
.merch-specs dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  text-align: right;
}
.merch-specs__sku {
  font-size: 12.5px;
  letter-spacing: 0.03em;
}

@media (min-width: 640px) {
  .merch-detail__insights { max-width: none; }
  .merch-details__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── Mid widths: gallery left, summary + buy + about stacked right ── */
@media (min-width: 720px) {
  .merch-detail__summary h1 { font-size: 36px; }
  .merch-detail__sub { font-size: 16px; }
  .merch-detail {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "gallery summary"
      "gallery buybox"
      "insights insights";
    gap: 20px 28px;
    align-items: start;
  }
  /* Vertical thumbnail rail left of the stage (Amazon signature). */
  .merch-detail__gallery {
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: start;
    margin: 0;
    max-width: none;
  }
  .merch-detail__feature { grid-column: 2; grid-row: 1; margin: 0; order: 0; }
  .merch-detail__thumbs { grid-column: 1; grid-row: 1; grid-template-columns: 1fr; align-content: start; gap: 8px; }
  .merch-detail__buybox { margin: 0; max-width: none; position: sticky; top: 76px; }
  .merch-detail__insights { margin: 8px 0 0; max-width: none; }
}

/* ── Wide: full three-column shopping layout ──
 * Gallery | summary + details | sticky buy box. */
@media (min-width: 1020px) {
  .wrap.merch-page { padding-top: 92px; }
  .merch-detail {
    grid-template-columns: 1.35fr 1fr 280px;
    grid-template-areas:
      "gallery summary buybox"
      "insights insights buybox";
    gap: 22px 32px;
  }
}

/* ── Sticky mobile buy bar ──
 * Keeps the buy action reachable below the fold on phones. Merch page
 * only, hidden on desktop where the sticky info panel takes over.
 * The lightbox (z-index 9500) always renders above it. */
.merch-stickybuy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(244, 244, 241, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(22, 22, 21, 0.08);
}

.merch-stickybuy__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.merch-stickybuy .btn {
  min-width: 0;
  flex-shrink: 0;
  padding: 10px 22px;
  font-size: 14px;
}

@media (min-width: 720px) {
  .merch-stickybuy { display: none; }
}

/* Bottom clearance so footer/lang never hide behind the sticky bar. */
@media (max-width: 719px) {
  .wrap.merch-page { padding-bottom: 120px; }
}

@media (max-width: 480px) {
  .wrap.merch-page { padding-top: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .merch-detail__feature img,
  .merch-detail__thumbs button,
  .merch-buy__dot { transform: none; transition: none; animation: none; }
}

/* ─── Scroll Hint (hero) ─────────────────────────────────────────────────
 * Opacity-pulse cue below the hero buttons, anchored to the merch section.
 * No translate (bounce-free on purpose), disabled under reduced motion. */

html { scroll-behavior: smooth; }

.scroll-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  margin: 0 auto;
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  text-decoration: none;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    transform 0.22s var(--ease-btn);
}

.scroll-hint__chev {
  display: block;
  opacity: 0.25;
  animation: scroll-hint-chev 2.2s ease-in-out infinite;
}

.scroll-hint__chev--late { margin-top: -9px; animation-delay: 0.35s; }

@media (hover: hover) {
  .scroll-hint:hover {
    color: var(--text);
    border-color: var(--text);
    background: rgba(22, 22, 21, 0.04);
    transform: translateY(3px);
  }
}
.scroll-hint:hover .scroll-hint__chev,
.scroll-hint:focus-visible .scroll-hint__chev {
  animation: none;
  opacity: 1;
}
.scroll-hint:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@keyframes scroll-hint-chev {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint__chev { animation: none; opacity: 0.7; }
}

/* ─── Responsive tweaks ─────────────────────────────────────────────────── */

@media (min-width: 520px) {
  .hero .links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }
  .hero .links .btn {
    min-width: 0;
    width: 100%;
  }
  .hero .links .btn:first-child {
    grid-column: 1 / -1;
  }
  .links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Tighter top padding on small phones — still generous but not too much */
@media (max-width: 480px) {
  .wrap { padding-top: 64px; padding-bottom: 56px; }
}

/* ─── Lander reels teaser ──────────────────────────────────────────────
 * Flat scroll rail of reel covers linking out to Instagram. */
.reels-teaser {
  margin: 72px 0 0;
  padding: 40px 0 8px;
  border-top: 1px solid var(--border);
  text-align: center;
}

@media (min-width: 640px) {
  .reels-teaser {
    width: min(760px, 100vw - 40px);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}
.reels-teaser h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
/* Author display rules must never override the hidden state toggled by JS. */
.reels-teaser__rail [hidden] {
  display: none !important;
}
.reels-teaser__rail {
  list-style: none;
  margin: 18px 0 0;
  padding: 4px 2px 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  text-align: left;
}
.reels-teaser__rail li {
  flex: 0 0 168px;
  min-width: 0;
  scroll-snap-align: start;
}
.reels-teaser__rail a {
  position: relative;
  display: block;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  text-decoration: none;
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.reels-teaser__rail a:hover {
  border-color: rgba(22, 22, 21, 0.28);
  box-shadow: 0 8px 24px rgba(22, 22, 21, 0.08);
}
.reels-teaser__rail a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.reels-teaser__rail img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #ececea;
  transition: transform 0.3s var(--ease-out);
}
.reels-teaser__rail a:hover img { transform: scale(1.04); }
.reels-teaser__rail video:not([hidden]) {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #000;
}
.reels-teaser__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(22, 22, 21, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.25s var(--ease-out), background 0.2s ease;
}
.reels-teaser__rail a:hover .reels-teaser__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(22, 22, 21, 0.8);
}
.reels-teaser__stop {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(22, 22, 21, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
/* Custom player chrome: compact icon cluster bottom-left, full-bleed
 * progress line along the bottom edge. No native controls — no
 * download, no fullscreen, no PiP. */
.reels-teaser__controls {
  position: absolute;
  left: 8px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(22, 22, 21, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.reels-teaser__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.reels-teaser__btn:hover { background: rgba(255, 255, 255, 0.18); }
.reels-teaser__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}
.reels-teaser__open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: #fff;
  flex-shrink: 0;
}
.reels-teaser__open:hover { background: rgba(255, 255, 255, 0.18); }
.reels-teaser__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  background: linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)) left bottom / 100% 3px no-repeat;
  border-radius: 0 0 13px 13px;
}
.reels-teaser__progress span {
  display: block;
  width: 0;
  height: 3px;
  background: #fff;
  pointer-events: none;
}
.reels-teaser__progress:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
  border-radius: 0 0 13px 13px;
}
.reels-teaser__likes {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(22, 22, 21, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}
/* Archival disclaimer for the frozen like counts — spans the rail width. */
.reels-teaser__note {
  margin: 14px 0 0;
  padding-inline: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  .reels-teaser__rail img { transform: none; transition: none; }
  .reels-teaser__play { transition: none; }
}

/* ─── Lander YouTube teaser ────────────────────────────────────────────
 * Flat rail of latest uploads (16:9 covers + title + date). */
.yt-teaser {
  margin: 72px 0 0;
  padding: 40px 0 8px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.yt-teaser h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
/* Live subscriber counter: tabular figure, no decoration. */
.yt-teaser__live {
  margin: 10px 0 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}
.yt-teaser__live strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
/* Freshness line with the rate-limited manual refresh. */
.yt-teaser__fresh {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.yt-teaser__fresh a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.yt-teaser__fresh a:hover { color: var(--text); }
.yt-teaser__fresh a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}
.yt-teaser__rail {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 12px;
  text-align: left;
}
.yt-teaser__rail li {
  min-width: 0;
}
@media (min-width: 420px) {
  .yt-teaser__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .yt-teaser__rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.yt-teaser__rail a {
  display: block;
  text-decoration: none;
  border-radius: 0;
}
.yt-teaser__rail a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 14px;
}
.yt-teaser__thumb {
  position: relative;
  display: block;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ececea;
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.yt-teaser__rail a:hover .yt-teaser__thumb {
  border-color: rgba(22, 22, 21, 0.28);
  box-shadow: 0 8px 24px rgba(22, 22, 21, 0.08);
}
.yt-teaser__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s var(--ease-out);
}
.yt-teaser__rail a:hover .yt-teaser__thumb img { transform: scale(1.04); }
.yt-teaser__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(22, 22, 21, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.25s var(--ease-out), background 0.2s ease;
}
.yt-teaser__rail a:hover .yt-teaser__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(22, 22, 21, 0.85);
}
.yt-teaser__meta {
  display: grid;
  gap: 2px;
  padding: 10px 2px 0;
}
.yt-teaser__title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  text-wrap: pretty;
}
.yt-teaser__rail a:hover .yt-teaser__title {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.yt-teaser__date {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* Desktop: wider canvas than the content column, slightly larger type. */
@media (min-width: 1020px) {
  .yt-teaser__rail {
    width: min(960px, 100vw - 40px);
    margin-left: 50%;
    transform: translateX(-50%);
    gap: 20px;
  }
  .yt-teaser__title { font-size: 15px; }
  .yt-teaser__date { font-size: 13px; }
  .yt-teaser__meta { padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .yt-teaser__thumb img,
  .yt-teaser__play { transition: none; }
}

/* ─── Lander stories teaser ────────────────────────────────────────────
 * Flat archive preview replacing the paused 3D deck: calm thumbnail
 * rail + archive CTA, no 3D chrome. */
.stories-teaser {
  margin: 72px 0 0;
  padding: 40px 0 8px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.stories-teaser h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
.stories-teaser__highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.stories-teaser__underline {
  position: absolute;
  left: -2%;
  bottom: -11px;
  width: 104%;
  height: 12px;
  overflow: visible;
  pointer-events: none;
}
.stories-teaser__underline path {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--path-len, 150px) 1500px;
  stroke-dashoffset: var(--path-len, 150px);
  transition: stroke-dashoffset 1.4s cubic-bezier(0.33, 1, 0.68, 1);
}
.stories-teaser__underline.is-drawn path {
  stroke-dashoffset: 0;
}
.stories-teaser__rail {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
}
.stories-teaser__rail li {
  flex: 1 1 0;
  min-width: 0;
  max-width: 140px;
}
.stories-teaser__rail a {
  display: block;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ececea;
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.stories-teaser__rail a:hover {
  border-color: rgba(22, 22, 21, 0.28);
  box-shadow: 0 8px 24px rgba(22, 22, 21, 0.08);
}
.stories-teaser__rail a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.stories-teaser__rail img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  transition: transform 0.3s var(--ease-out);
}
.stories-teaser__rail a:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .stories-teaser__rail img { transform: none; transition: none; }
}

/* ─── Lander stories CTA ───────────────────────────────────────────────
 * Secondary button under the teaser rail linking to the archive. */
.stories__cta { margin: 28px 0 0; text-align: center; }
.stories__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* ─── Stories Archive Page (/{locale}/stories) ─────────────────────────
 * One-of-a-kind UI: "Spotlight + Pinboard". Wide canvas like merch pages;
 * portrait spotlight stage + chip rail on top, scattered polaroid wall below.
 * Hover states use scale/border only — never translateY(). */

.wrap.stories-page {
  max-width: 1080px;
  padding-top: 40px;
  text-align: left;
}

.stories-hero { text-align: center; margin: 0 0 28px; }
.stories-hero__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}
.stories-hero__title {
  margin: 0 0 10px;
  font-size: clamp(34px, 7vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  rotate: -1deg;
}
.stories-hero__sub {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  text-wrap: balance;
}
.stories-hero__stats {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}
.stories-hero__stats li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.stories-hero__stats li + li::before {
  content: "·";
  margin-right: 16px;
  color: var(--border);
  font-weight: 600;
}
.stories-hero__stats strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* ── Stories Hero Instagram Action ── */
.stories-hero__actions {
  margin: 18px 0 0;
  display: flex;
  justify-content: center;
}
.stories-hero__insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  min-height: 38px;
  padding: 7px 18px;
  text-decoration: none;
}

/* ── Stories Filter Bar ── */
.stories-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 -16px;
  flex-wrap: wrap;
}
.stories-filter__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transition:
    border-radius 0.32s var(--ease-btn),
    border-color 0.25s var(--ease-btn),
    color 0.25s var(--ease-btn),
    transform 0.2s var(--ease-btn);
}

.stories-filter__btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 140%;
  height: 220%;
  border-radius: 50% 50% 0 0;
  background: var(--btn);
  transform: translate(-50%, 0);
  transition: transform 0.55s var(--ease-btn);
  z-index: -1;
  pointer-events: none;
}

@media (hover: hover) {
  .stories-filter__btn:not(.is-active):hover::before {
    transform: translate(-50%, -70%);
  }

  .stories-filter__btn:not(.is-active):hover {
    color: #ffffff;
    border-color: var(--btn);
  }

  .stories-filter__btn:not(.is-active):hover .stories-filter__count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
  }

  .stories-filter__btn.is-active:hover {
    border-radius: 6px;
  }
}

.stories-filter__btn:active {
  transform: scale(0.96);
}

.stories-filter__btn.is-active {
  background: var(--btn);
  color: #ffffff;
  border-color: var(--btn);
}

.stories-filter__count {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.08);
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.stories-filter__btn.is-active .stories-filter__count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.stories-filter__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stories-empty {
  margin: 32px auto;
  max-width: 44ch;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* ── Stories Masonry Grid ── */
.stories-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  padding: 16px 0;
  margin-top: 40px;
}

.masonry-item {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.25s var(--ease-out);
}
.masonry-item:hover {
  transform: scale(1.02);
}
.masonry-item:focus-visible {
  transform: scale(1.02);
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 22, 21, 0.4);
}
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}
.masonry-item:hover img {
  opacity: 1;
}

.masonry-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 40%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: #fff;
  pointer-events: none;
}

.masonry-item__icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 10px;
}

.masonry-item__date {
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

@media (min-width: 600px) {
  .stories-masonry {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
}

/* ─── Stories Pagination ─────────────────────────────────────────────────── */

.stories-pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.stories-pagination__btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  min-width: 90px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.stories-pagination__btn.is-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
  border-color: var(--border);
  color: var(--muted);
  background: transparent;
}

.stories-pagination__info {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
  padding: 0 4px;
  font-variant-numeric: tabular-nums;
}

/* ─── Scroll to Top Floating Button ─────────────────────────────────────────
 * Light-mode pill: frosted canvas fill with dark icon + ring, mirroring
 * the locale-toggle. Theme-aware via vars + currentColor, no hardcodes. */

.scroll-top {
  position: sticky;
  bottom: max(22px, env(safe-area-inset-bottom, 22px));
  align-self: flex-end;
  margin-inline-start: auto;
  margin-inline-end: max(22px, env(safe-area-inset-right, 22px));
  margin-top: -48px;
  z-index: 95;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(244, 244, 241, 0.88);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(22, 22, 21, 0.10), 0 1px 3px rgba(22, 22, 21, 0.06);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.85);
  transition:
    opacity 0.28s var(--ease-btn),
    transform 0.28s var(--ease-btn),
    visibility 0.28s,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.scroll-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.scroll-top__track {
  fill: none;
  stroke: currentColor;
  opacity: 0.22;
  stroke-width: 2.5;
}

.scroll-top__progress {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.08s linear;
}

.scroll-top__icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: transform 0.22s var(--ease-btn);
}

@media (hover: hover) {
  .scroll-top:hover {
    filter: brightness(0.96);
    box-shadow: 0 6px 18px rgba(22, 22, 21, 0.14), 0 2px 6px rgba(22, 22, 21, 0.08);
  }
  .scroll-top:hover .scroll-top__icon {
    transform: translateY(-2px);
  }
}

.scroll-top:active {
  transform: scale(0.94);
}

.scroll-top:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Clear mobile sticky buy bar on merch product pages */
@media (max-width: 719px) {
  body:has(.merch-stickybuy) .scroll-top {
    bottom: calc(76px + env(safe-area-inset-bottom, 22px));
  }
}

/* ─── Lookbook Page (/lookbook) ──────────────────────────────────────────── */

.wrap.lookbook-wrap {
  max-width: 1080px;
  padding-top: 40px;
  text-align: left;
}

.lookbook-page {
  padding: 0 0 64px;
}

.lookbook-hero {
  text-align: center;
  margin: 32px auto 44px;
  max-width: 680px;
}

.lookbook-hero .eyebrow {
  margin-bottom: 12px;
}

.lookbook-hero__title {
  margin: 0 0 16px;
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.lookbook-hero__highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.lookbook-hero__underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  width: 100%;
  height: 14px;
  pointer-events: none;
  overflow: visible;
}

.lookbook-hero__underline path {
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--path-len, 360px) 1500px;
  stroke-dashoffset: var(--path-len, 360px);
  transition: stroke-dashoffset 1.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.lookbook-hero__underline.is-drawn path {
  stroke-dashoffset: 0;
}

.lookbook-hero__sub {
  margin: 0 auto 28px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.6;
  text-wrap: balance;
}

.lookbook-hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.lookbook-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
}

.lookbook-cta__icon {
  flex-shrink: 0;
}

/* ── Submission Modal Dialog ── */
body.modal-open {
  overflow: hidden;
}

.lookbook-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lookbook-modal[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.lookbook-modal:not([hidden]) {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.lookbook-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 21, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lookbook-modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: #f4f4f1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ─── Lookbook Lightbox ─── */
.lookbook-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lookbook-lightbox[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.lookbook-lightbox:not([hidden]) {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.lookbook-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 21, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: modalFadeIn 0.22s ease;
}

.lookbook-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #f4f4f1;
  color: var(--text, #161615);
  border: 1px solid var(--border, #dededb);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  animation: modalPop 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.lookbook-lightbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border, #dededb);
  background: #ededea;
}

.lookbook-lightbox__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lookbook-lightbox__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #55554f);
}

.lookbook-lightbox__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text, #161615);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lookbook-lightbox__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lookbook-lightbox__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lookbook-lightbox__tags .look-card__badge.in-lightbox {
  position: static;
  background: #ffffff;
  color: #161615;
  border: 1px solid var(--border, #dededb);
}

.lookbook-lightbox__tags .look-card__source-link.in-lightbox {
  background: #ffffff;
  border: 1px solid var(--border, #dededb);
  color: var(--text, #161615);
}

.lookbook-lightbox__tags .look-card__source-link.in-lightbox:hover {
  background: #f7f7f5;
  color: #000;
}

.lookbook-lightbox__tags .look-card__product-pill.in-lightbox {
  background: #ffffff;
  color: #161615;
  border: 1px solid var(--border, #dededb);
}

.lookbook-lightbox__tags .look-card__product-pill.in-lightbox:hover {
  background: #161615;
  color: #ffffff;
  border-color: #161615;
}

.lookbook-lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border, #dededb);
  color: var(--text, #161615);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.lookbook-lightbox__close:hover {
  background: #e8e8e4;
  transform: scale(1.06);
}

.lookbook-lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 68vh;
  padding: 16px 20px;
  background: #e9e9e5;
  overflow: hidden;
  user-select: none;
}

.lookbook-lightbox__viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 64vh;
}

.lookbook-lightbox__img {
  max-width: 100%;
  max-height: 64vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(22, 22, 21, 0.12);
}

.lookbook-lightbox__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border, #dededb);
  color: var(--text, #161615);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: background 0.18s ease, transform 0.18s ease;
}

.lookbook-lightbox__nav-btn.prev {
  left: 16px;
}

.lookbook-lightbox__nav-btn.next {
  right: 16px;
}

.lookbook-lightbox__nav-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.lookbook-lightbox__nav-btn[hidden],
.lookbook-lightbox__counter[hidden],
.lookbook-lightbox__foot[hidden] {
  display: none !important;
}

.lookbook-lightbox__counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(244, 244, 241, 0.92);
  color: var(--text, #161615);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border, #dededb);
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.lookbook-lightbox__foot {
  padding: 14px 20px;
  border-top: 1px solid var(--border, #dededb);
  background: #ededea;
}

.lookbook-lightbox__caption {
  margin: 0;
  font-size: 14px;
  color: var(--text, #161615);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .lookbook-lightbox {
    padding: 10px;
  }
  .lookbook-lightbox__dialog {
    max-height: 96vh;
    border-radius: 16px;
  }
  .lookbook-lightbox__head {
    padding: 12px 14px;
    flex-wrap: wrap;
  }
  .lookbook-lightbox__actions {
    width: 100%;
    justify-content: space-between;
  }
  .lookbook-lightbox__stage {
    padding: 10px;
    max-height: 60vh;
  }
  .lookbook-lightbox__img {
    max-height: 56vh;
  }
  .lookbook-lightbox__nav-btn {
    width: 38px;
    height: 38px;
  }
  .lookbook-lightbox__nav-btn.prev {
    left: 8px;
  }
  .lookbook-lightbox__nav-btn.next {
    right: 8px;
  }
}

.lookbook-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.lookbook-modal__header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lookbook-modal__close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.lookbook-modal__close:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.lookbook-modal__close:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Dropzone inside modal */
.lookbook-dropzone {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  margin-bottom: 18px;
}

.lookbook-dropzone:hover,
.lookbook-dropzone.is-dragover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.85);
}

.lookbook-dropzone__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.lookbook-dropzone__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.lookbook-dropzone__icon {
  color: var(--muted);
  margin-bottom: 8px;
}

.lookbook-dropzone__label {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.lookbook-dropzone__hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.lookbook-dropzone__preview {
  position: relative;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

.lookbook-dropzone__preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.lookbook-dropzone__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.lookbook-dropzone__remove:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Fields */
.lookbook-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.lookbook-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.lookbook-field--full {
  grid-column: 1 / -1;
}

.lookbook-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lookbook-field input,
.lookbook-field textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease;
  resize: vertical;
  max-width: 100%;
  min-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.lookbook-field input:focus,
.lookbook-field textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: var(--focus-ring);
}

.lookbook-form__actions {
  display: flex;
  justify-content: flex-end;
}

.lookbook-form__submit-btn {
  padding: 10px 22px;
  font-weight: 600;
}

.lookbook-form__status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
}

.lookbook-form__status.is-success {
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.lookbook-form__status.is-error {
  background: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}

/* Staging Multi-Media Uploads */
.lookbook-upload-section {
  margin-bottom: 20px;
}

.lookbook-section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-align: left;
}

.lookbook-dropzone.is-maxed {
  display: none;
}

.lookbook-staged-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.lookbook-staged-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  transition: border-color 0.15s ease;
}

.lookbook-staged-item.is-uploading {
  opacity: 0.75;
}

.lookbook-staged-item__thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #eaeae6;
  flex-shrink: 0;
}

.lookbook-staged-item__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex-grow: 1;
  text-align: left;
}

.lookbook-staged-item__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lookbook-staged-item__title-input {
  font-family: inherit;
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(244, 244, 241, 0.6);
  color: var(--text);
}

.lookbook-staged-item__title-input:focus {
  outline: none;
  border-color: var(--text);
  background: #fff;
}

.lookbook-staged-item__status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lookbook-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: lbSpin 0.7s linear infinite;
}

@keyframes lbSpin {
  to { transform: rotate(360deg); }
}

.lookbook-badge-ready {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #137333;
  color: #fff;
}

.lookbook-staged-item__remove {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.lookbook-staged-item__remove:hover {
  color: #c5221f;
  background: rgba(197, 34, 31, 0.1);
}

/* ── Lookbook Grid & Clean Background-Integrated Cards ──
 * "LESS IS MORE": No shadows, no translateY(), no zoom transforms.
 * Seamlessly integrates into page background. */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 36px 28px;
}

.look-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.look-card.is-new {
  animation: lookCardHighlight 1.2s ease;
}

@keyframes lookCardHighlight {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.look-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: #e8e8e3;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
}

.look-card__media:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.look-card__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.look-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.look-card__media.has-multiple .look-card__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.look-card__media.has-multiple .look-card__img.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.look-card__nav {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.look-card__nav-btn {
  pointer-events: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(22, 22, 21, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.look-card__nav-btn:hover {
  background: rgba(22, 22, 21, 0.95);
  transform: scale(1.08);
}

.look-card__counter {
  background: rgba(22, 22, 21, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.look-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(22, 22, 21, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 999px;
}

.look-card__content {
  padding: 12px 2px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.look-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.look-card__author {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.look-card__source-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.look-card__source-link:hover {
  color: var(--text);
}

.look-card__source-link .arrow-top-right {
  transition: transform 0.15s ease;
}

.look-card__source-link:hover .arrow-top-right {
  transform: translate(1px, -1px);
}

.look-card__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.look-card__caption {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.look-card__products {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 1. Refined Hover Effect for look-card__product-pill */
.look-card__product-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  transition:
    background-color 0.2s var(--ease-btn),
    border-color 0.2s var(--ease-btn),
    color 0.2s var(--ease-btn);
}

.look-card__product-pill .look-card__product-name {
  transition: color 0.2s ease;
}

.look-card__product-pill .look-card__product-price {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.look-card__product-pill .arrow-top-right {
  transition: transform 0.22s var(--ease-btn);
}

@media (hover: hover) {
  .look-card__product-pill:hover {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
  }

  .look-card__product-pill:hover .look-card__product-price {
    color: rgba(255, 255, 255, 0.75);
  }

  .look-card__product-pill:hover .arrow-top-right {
    transform: translate(2px, -2px);
  }
}

.look-card__product-pill:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 640px) {
  .lookbook-modal__dialog {
    padding: 20px 16px;
  }
  .lookbook-form__fields {
    grid-template-columns: 1fr;
  }
  .lookbook-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

