/* ============================================================
   MIRAI — Design System
   Black / White / Acid-green streetwear editorial
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

/* ---- Tokens ---- */
:root {
  /* color */
  --black: #0a0a0a;
  --ink: #0a0a0a;
  --white: #ffffff;
  --paper: #ffffff;
  --neon: #cffa85;          /* soft neon green accent */
  --neon-deep: #c2f279;
  --red: #e5342a;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --surface: #f4f4f4;

  /* type */
  --font-serif: 'Space Mono', ui-monospace, monospace;
  --font-mono: 'Space Mono', ui-monospace, monospace;
  --font-display: 'Space Mono', ui-monospace, monospace;
  --font-sans: 'Space Mono', ui-monospace, monospace;

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* layout */
  --maxw: 1360px;
  --gap: 14px;
  --radius: 10px;
  --radius-pill: 999px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-drop-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ============================================================
   TOP BAR + NAV
   ============================================================ */
.topbar {
  background: var(--neon);
  text-align: center;
  padding: 7px 0 5px;
}
.topbar .wordmark { font-size: 26px; }
.topbar__link { display: inline-flex; align-items: center; justify-content: center; }
.topbar__logo { height: 42px; width: auto; display: block; }
.modal__logo { height: 30px; width: auto; display: block; margin: 0 auto 6px; }

.wordmark {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: .22em;
  padding-left: .22em;
  color: var(--ink);
  display: inline-block;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid transparent;
}
.nav__group {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
}
.nav__link {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.nav__link:hover {
  background: var(--neon);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(207, 250, 133, .72);
}
.nav__link.is-active {
  background: var(--neon);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(207, 250, 133, .72);
}
.nav__pill {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.nav__pill:hover { background: var(--ink); color: var(--white); }
.nav__pill:active { transform: scale(0.97); }
.nav__spacer { flex: 1; }
.nav-shop-menu {
  position:relative;
  display:inline-flex;
  align-items:center;
}
.nav-mega {
  position:absolute;
  left:-18px;
  top:calc(100% + 18px);
  z-index:80;
  width:min(360px, calc(100vw - 32px));
  max-height:min(480px, calc(100vh - 180px));
  overflow:auto;
  padding:16px 0;
  border-radius:8px;
  background:#f4f4f4;
  box-shadow:0 18px 48px rgba(0,0,0,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 160ms;
}
.nav-shop-menu:hover .nav-mega,
.nav-shop-menu:focus-within .nav-mega {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.nav-mega a {
  display:block;
  padding:5px 24px;
  font-family:var(--font-mono);
  font-size:20px;
  line-height:1.25;
  color:var(--ink);
}
.nav-mega a:hover,
.nav-mega a:focus-visible {
  background: var(--neon);
  color: var(--ink);
}
.nav__cart { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:3px; min-width:34px; padding:0 2px; }
.nav__cart-icon { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.cart-count { min-width:14px; font-size:10px; line-height:1; text-align:left; }
.nav__burger {
  display: none;
  width: 48px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
}
.nav__burger span { width: 26px; height: 2px; background: var(--ink); display: block; transition: transform 160ms var(--ease-out), opacity 160ms var(--ease-out); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--white);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
  padding: 12px 0;
}
.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.section { padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px); }
.section--flush { padding-left: 0; padding-right: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* Full-bleed teaser video hero */
.video-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--ink);
  line-height: 0;
  overflow: hidden;
}
.video-hero__media {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
}

/* ============================================================
   PRE-DROP GATE
   ============================================================ */
.drop-gate {
  --gate-green: #cffa85;
  --gate-sage: #9bab79;
  --gate-ink: #11120f;
  position: fixed;
  z-index: 200;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--gate-sage);
  color: var(--gate-ink);
  padding: max(22px, env(safe-area-inset-top)) clamp(18px, 4vw, 56px) max(22px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(440px, 1.12fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(28px, 5vw, 88px);
  min-height: 100dvh;
  transition: opacity 360ms var(--ease-out), visibility 360ms;
}
.drop-gate[hidden] { display: none; }
.drop-gate.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.drop-gate__header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: clamp(24px, 5vh, 54px);
  border-bottom: 1px solid rgba(17, 18, 15, .55);
}
.drop-gate__logo { width: clamp(118px, 13vw, 176px); height: auto; }
.drop-gate__chapter,
.drop-gate__eyebrow,
.drop-gate__date,
.drop-gate__time span,
.drop-gate__sound {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.drop-gate__chapter { text-align: right; }
.drop-gate__intro {
  align-self: center;
  padding: clamp(38px, 7vh, 92px) 0;
  animation: dropGateEnter 480ms var(--ease-out) both;
}
.drop-gate__eyebrow { margin-bottom: 18px; }
.drop-gate__intro h1 {
  margin: 0;
  max-width: 650px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 74px);
  font-weight: 700;
  line-height: .96;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.drop-gate__countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, 1.2vw, 18px);
  max-width: 600px;
  margin-top: clamp(32px, 5vw, 56px);
}
.drop-gate__time { min-width: 0; }
.drop-gate__time strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(34px, 4.8vw, 72px);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: .9;
  letter-spacing: -.07em;
  color: var(--gate-ink);
}
.drop-gate__time span { display: block; margin-top: 11px; }
.drop-gate__date { margin-top: 26px; color: rgba(17, 18, 15, .76); }
.drop-gate__film {
  position: relative;
  align-self: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--gate-ink);
  animation: dropGateEnter 480ms 90ms var(--ease-out) both;
}
.drop-gate__video { width: 100%; height: 100%; display: block; object-fit: cover; }
.drop-gate__film::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .28);
}
.drop-gate__sound {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 0;
  background: rgba(17, 18, 15, .72);
  color: #fff;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}
.drop-gate__sound:hover,
.drop-gate__sound:focus-visible { background: var(--gate-green); color: var(--gate-ink); }
@keyframes dropGateEnter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 820px) {
  .drop-gate {
    display: block;
    padding-inline: 18px;
  }
  .drop-gate__header { padding-bottom: 24px; }
  .drop-gate__intro { padding: 54px 0 34px; }
  .drop-gate__intro h1 { max-width: 580px; }
  .drop-gate__countdown { max-width: 520px; }
  .drop-gate__film { width: 100%; margin: 0; }
}
@media (max-width: 480px) {
  .drop-gate { padding-inline: 16px; }
  .drop-gate__header { align-items: center; }
  .drop-gate__logo { width: 105px; }
  .drop-gate__chapter { max-width: 142px; font-size: 9px; }
  .drop-gate__intro { padding: 44px 0 30px; }
  .drop-gate__intro h1 { font-size: clamp(31px, 10vw, 44px); }
  .drop-gate__time strong { font-size: clamp(31px, 10vw, 46px); }
  .drop-gate__time span { margin-top: 8px; font-size: 9px; }
  .drop-gate__date { font-size: 10px; }
  .drop-gate__sound { top: 10px; right: 10px; min-height: 38px; padding-inline: 11px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .drop-gate,
  .drop-gate__intro,
  .drop-gate__film { transition: none; animation: none; }
}

/* Home page keeps the same sticky navbar as the rest of the site. */
body.home .nav__pill:hover {
  background: var(--neon);
  color: var(--ink);
}

/* Mobile: fill the screen with the teaser video (portrait crop) like the reference */
@media (max-width: 768px) {
  .nav { display: none; }
  .video-hero__media {
    height: calc(100vh - 60px);
    height: calc(100svh - 60px);
    max-height: none;
  }
  body { padding-bottom: 70px; }
}

/* Mobile bottom bar — toggles between Menu/Search/Cart and the nav tabs (Brain Dead style) */
.mobilebar { display: none; }
.msheet { display: none; }
@media (max-width: 768px) {
  .mobilebar {
    display: flex;
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    padding: 3px;
    background: rgba(228, 228, 228, .88);
    border-radius: 13px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .18);
  }
  .mobilebar__row { display: flex; flex: 1; min-width: 0; gap: 4px; align-items: center; }
  .mobilebar__row--nav {
    display: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mobilebar__row--nav::-webkit-scrollbar { display: none; }
  .mobilebar.is-nav .mobilebar__row--main { display: none; }
  .mobilebar.is-nav .mobilebar__row--nav { display: flex; }

  .mobilebar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--ink);
    text-align: center;
    text-decoration: none;
    background: none;
    border: none;
    border-radius: 12px;
    white-space: nowrap;
  }
  .mobilebar__btn:active { background: rgba(0, 0, 0, .06); }
  .mobilebar__cart { gap: 5px; }
  /* Keep navigation labels inside one shared tray, without individual chips. */
  .mobilebar__row--nav .mobilebar__btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 4px;
    font-size: 10px;
    border-radius: 0;
  }
  .mobilebar__row--nav .mobilebar__btn--menu,
  .mobilebar__row--nav .mobilebar__btn.is-active { background: transparent; }

  /* category panel floats just above the bar */
  .msheet.is-open {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(54px + env(safe-area-inset-bottom, 0px));
    z-index: 55;
  }
  .msheet__panel {
    margin: 0 18px;
    max-height: min(28svh, 240px);
    overflow-y: auto;
    background: #f4f4f4;
    border-radius: 13px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    animation: msheetUp 220ms var(--ease-out);
  }
  @keyframes msheetUp { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
  .msheet__list { padding: 8px 14px; }
  .msheet__list a {
    display: block;
    padding: 7px 0;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--ink);
  }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(20px, 3vw, 30px);
  margin: 0 0 22px;
}
.display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-align: center;
  font-size: clamp(34px, 7vw, 74px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
/* ============================================================
   BUTTONS / BADGES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  transition: transform 120ms var(--ease-out), background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #262626; }
.btn--neon { background: var(--neon); color: var(--ink); }
.btn--neon:hover { background: var(--neon-deep); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: 9px 16px; font-size: 11px; }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.tag--dark { background: var(--ink); color: var(--white); }
.tag--soldout { background: #1c1c1c; color: #fff; }

/* Vertical side promo tab */
.promo-tab {
  position: fixed;
  left: 0;
  top: 42%;
  z-index: 30;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  padding: 12px 6px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-radius: 0 8px 8px 0;
  cursor: grab;
  touch-action: none;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.promo-tab:active { cursor: grabbing; }
.promo-tab:focus-visible { outline:2px solid var(--red); outline-offset:3px; }

/* ============================================================
   HERO GRID
   ============================================================ */
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  background: var(--ink);
}
.campaign-grid__tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface);
}
.campaign-grid__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.campaign-grid__tile:hover img { transform: scale(1.03); }
.campaign-grid__label {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
  pointer-events: none;
}
.campaign-grid__shop {
  position: absolute;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  padding: 11px 22px;
  border: 1.5px solid #fff;
  border-radius: 4px;
  color: #fff;
  background: rgba(0, 0, 0, .12);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.campaign-grid__tile:hover .campaign-grid__shop { background: #fff; color: var(--ink); }
@media (max-width: 768px) {
  .campaign-grid { grid-template-columns: 1fr; gap: 0; }
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.hero__cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
}
.hero__cell--wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.hero__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.hero__cell:hover img { transform: scale(1.03); }
/* Hero videos: fill the cell (no letterbox bars) */
.hero__media { width: 100%; height: 100%; display: block; object-fit: cover; background: var(--ink); }
.hero__cell--v2 { aspect-ratio: 16 / 9; }
/* Portrait video: match the cell to the video shape so it fills with no bars/crop */
.hero__cell--v1 { aspect-ratio: 9 / 16; }
@media (min-width: 561px) {
  /* Desktop/tablet: taller top cards */
  .hero__cell:not(.hero__cell--wide) { aspect-ratio: 3 / 4; }
}
@media (max-width: 640px) {
  /* Mobile: on the ATE video show only the Campaign button */
  .hero__cell--v2 .hero__caption h2 { display: none; }
}
.hero__side-label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 34px;
  background: var(--neon);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__caption {
  position: absolute;
  left: 48px;
  bottom: 20px;
  color: var(--white);
}
.hero__caption h2 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 30px);
  margin: 0 0 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero__caption .btn { margin-right: 8px; }
.home-editorial-feature { max-width:900px; margin-inline:auto; aspect-ratio:4 / 5; }
.home-editorial-feature img { object-position:center; }

/* ============================================================
   FEATURE STRIP (image + product list)
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 60px);
  align-items: center;
}
.feature__img {
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.mini-list { display: grid; gap: 12px; }
.mini-row {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.mini-row:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); transform: translateY(-1px); }
.mini-row__thumb { width: 64px; height: 72px; border-radius: 4px; background: var(--surface); overflow: hidden; flex-shrink: 0; }
.mini-row__thumb img { width:100%; height:100%; object-fit:cover; }
.mini-row__meta small { color: var(--muted); font-size: 12px; }
.mini-row__title { font-weight: 700; font-size: 14px; }

/* ============================================================
   PRODUCT CARD + GRIDS
   ============================================================ */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--gap)) / 4);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 900px) {
  .rail { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
}
@media (max-width: 640px) {
  .rail { grid-auto-columns: calc((100% - var(--gap)) / 2); }
}

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }

.card { position: relative; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--white);
  overflow: hidden;
  border-radius: 4px;
}
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: opacity 220ms var(--ease-out); }
.card__img--hover { position:absolute; inset:0; opacity:0; }
.card:hover .card__img--primary { opacity:0; }
.card:hover .card__img--hover { opacity:1; }
.card:hover .card__media img { transform: none; }
.quick-add {
  position:absolute;
  top:12px;
  left:12px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--ink);
  font-family:var(--font-mono);
}
.quick-add__icon {
  position:relative;
  display:block;
  width:46px;
  height:46px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  box-shadow:0 5px 18px rgba(0,0,0,.16);
}
.quick-add__icon::before,
.quick-add__icon::after {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:20px;
  height:2px;
  background:currentColor;
  transform:translate(-50%, -50%);
  transition:transform 180ms var(--ease-out);
}
.quick-add__icon::after { transform:translate(-50%, -50%) rotate(90deg); }
.quick-add.is-open .quick-add__icon::before { transform:translate(-50%, -50%) rotate(45deg); }
.quick-add.is-open .quick-add__icon::after { transform:translate(-50%, -50%) rotate(-45deg); }
.quick-add__label {
  opacity:0;
  transform:translateX(-8px);
  pointer-events:none;
  background:rgba(255,255,255,.9);
  padding:4px 8px;
  font-size:13px;
  transition:opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.quick-add:hover .quick-add__label,
.quick-add:focus-visible .quick-add__label {
  opacity:1;
  transform:translateX(0);
}
.quick-add.is-open .quick-add__label {
  opacity:0;
  transform:translateX(-8px);
}
.quick-add[aria-disabled="true"] {
  opacity:.45;
  cursor:not-allowed;
}
.card__badge { position: absolute; left: 12px; bottom: 12px; }
.card__body { padding: 10px 2px; }
.card__name { font-family: var(--font-mono); font-size: 13px; }
.card__price { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Category tiles (Shop All top) */
.cat-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 2px solid var(--neon);
  border-radius: 4px;
  background: var(--surface);
}
.cat-tile--loading { animation: collection-pulse 1.2s ease-in-out infinite alternate; }
.cat-tile.is-active .cat-tile__label { background: var(--neon); }
.cat-tile:focus-visible { outline:3px solid var(--ink); outline-offset:3px; }
@keyframes collection-pulse { to { opacity:.45; } }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__label {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  background: var(--white);
  text-align: center;
  padding: 8px 18px;
  border-radius: 6px;
  min-width: 120px;
}
.cat-tile__label.is-neon { background: var(--neon); }
.cat-tile__label b { font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; display: block; font-size: 15px; }
.cat-tile__label small { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.shop-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:13px; position:relative; }
.shop-toolbar__right { display:flex; align-items:center; gap:12px; color:var(--muted); }
.shop-menu { position:relative; }
.shop-tool-button { min-height:42px; display:inline-flex; align-items:center; gap:9px; border:1px solid var(--ink); border-radius:var(--radius-pill); padding:0 16px; font-family:var(--font-mono); font-size:13px; font-weight:700; text-transform:uppercase; background:var(--white); color:var(--ink); }
.shop-tool-button svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.shop-menu__panel { position:absolute; top:calc(100% + 8px); left:0; z-index:30; width:min(320px, calc(100vw - 32px)); display:grid; gap:14px; background:var(--white); border:1px solid var(--ink); border-radius:8px; padding:16px; box-shadow:0 14px 36px rgba(0,0,0,.12); opacity:0; visibility:hidden; transform:translateY(-4px); transition:opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 160ms; }
.shop-menu--right .shop-menu__panel { left:auto; right:0; }
.shop-menu.is-open .shop-menu__panel { opacity:1; visibility:visible; transform:translateY(0); }
.selected-collection-heading { display:none; padding:24px 0 30px; align-items:baseline; justify-content:space-between; gap:16px; }
.selected-collection-heading h1 { margin:0; font-family:var(--font-display); font-size:clamp(28px, 5vw, 52px); text-transform:uppercase; }
.selected-collection-heading a { font-size:12px; text-decoration:underline; text-underline-offset:4px; }
.has-selected-collection .shop-intro,
.has-selected-collection .collection-browser { display:none; }
.has-selected-collection .selected-collection-heading { display:flex; }
.shop-select { display:grid; gap:7px; font-family:var(--font-mono); font-size:12px; font-weight:700; text-transform:uppercase; color:var(--ink); }
.shop-select select { width:100%; border:1px solid var(--line); border-radius:6px; background:var(--white); padding:11px 34px 11px 12px; font:inherit; font-weight:400; text-transform:none; color:inherit; cursor:pointer; }
.shop-select select:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }

/* Compact PDP recommendations */
.recommended-grid { max-width:820px; margin:0 auto; grid-template-columns:repeat(4, minmax(0, 1fr)); }
.recommended-grid .card__body { padding-top:7px; }

/* Cart drawer */
.cart-scrim { position:fixed; inset:0; z-index:89; background:rgba(0,0,0,.35); opacity:0; visibility:hidden; transition:opacity 180ms var(--ease-out), visibility 180ms; }
.cart-scrim.is-open { opacity:1; visibility:visible; }
.cart-drawer { position:fixed; inset:0 0 0 auto; z-index:90; width:min(420px, 100%); height:auto; max-height:100%; overflow:hidden; background:var(--white); border-left:1px solid var(--line); transform:translateX(100%); transition:transform 240ms var(--ease-out); display:grid; grid-template-rows:auto minmax(0, 1fr) auto; }
.cart-drawer.is-open { transform:translateX(0); }
.cart-drawer__head { display:flex; align-items:center; justify-content:space-between; padding:20px; border-bottom:1px solid var(--line); }
.cart-drawer__head h2 { margin:0; font-family:var(--font-display); text-transform:uppercase; font-size:22px; }
.cart-drawer__close { width:40px; height:40px; font-size:25px; line-height:1; }
.cart-drawer__items { min-height:0; overflow:auto; overscroll-behavior:contain; padding:8px 20px; }
.cart-empty { color:var(--muted); font-size:13px; padding:28px 0; }
.cart-item { display:grid; grid-template-columns:74px 1fr auto; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); align-items:start; }
.cart-item img { width:74px; aspect-ratio:4 / 5; object-fit:cover; background:var(--surface); cursor:pointer; }
.cart-item__name { font-weight:700; font-size:12px; cursor:pointer; }
.cart-preview__item img { cursor:pointer; }
.cart-item__meta { color:var(--muted); font-size:11px; margin-top:3px; }
.cart-item__qty { display:flex; align-items:center; gap:10px; margin-top:10px; font-size:12px; }
.cart-item__qty button { width:26px; height:26px; border:1px solid var(--line); border-radius:50%; }
.cart-item__remove { font-size:18px; color:var(--muted); padding:2px 4px; }
.cart-drawer__foot { position:relative; z-index:2; padding:18px 20px max(22px, env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:var(--white); }
.cart-subtotal { display:flex; justify-content:space-between; font-weight:700; font-size:13px; margin-bottom:14px; }
.cart-checkout { width:100%; min-height:48px; }
.cart-toast { position:fixed; right:20px; bottom:20px; z-index:95; background:var(--ink); color:var(--white); padding:12px 16px; font-size:12px; transform:translateY(20px); opacity:0; pointer-events:none; transition:opacity 180ms, transform 180ms; }
.cart-toast.is-on { transform:translateY(0); opacity:1; }
.cart-preview {
  position:fixed;
  z-index:94;
  width:min(350px, calc(100vw - 24px));
  background:rgba(255,255,255,.96);
  border-radius:4px;
  padding:7px 10px 10px;
  box-shadow:0 16px 44px rgba(0,0,0,.18);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 160ms;
  font-family:var(--font-mono);
}
.cart-preview.is-open {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.cart-preview__top {
  display:flex;
  justify-content:flex-end;
  margin-bottom:10px;
}
.cart-preview__top span {
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:7px;
  background:var(--neon);
  text-transform:uppercase;
  text-decoration:underline;
  text-underline-offset:3px;
}
.cart-preview__items {
  display:grid;
  gap:10px;
  max-height:150px;
  overflow:auto;
  padding-bottom:4px;
}
.cart-preview__item {
  display:grid;
  grid-template-columns:64px minmax(0, 1fr) 30px;
  gap:12px;
  align-items:start;
}
.cart-preview__item img {
  width:64px;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:10px;
  background:var(--surface);
}
.cart-preview__meta { display:grid; gap:2px; font-size:14px; line-height:1.25; }
.cart-preview__meta b { font-weight:400; }
.cart-preview__meta span { display:block; }
.cart-preview__item button {
  width:30px;
  height:30px;
  border-radius:50%;
  background:var(--white);
  box-shadow:0 4px 14px rgba(0,0,0,.13);
  font-size:22px;
  line-height:1;
  transition:background 160ms var(--ease-out), color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.cart-preview__item button:hover {
  background:var(--ink);
  color:var(--white);
  transform:scale(1.06);
}
.cart-preview__empty { margin:8px 0 20px; color:var(--muted); font-size:14px; }
.cart-preview__checkout,
.cart-preview__go {
  width:100%;
  min-height:48px;
  border-radius:8px;
  margin-top:10px;
  font-family:var(--font-mono);
  font-size:14px;
  text-transform:uppercase;
  transition:background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.cart-preview__checkout {
  background:var(--neon);
}
.cart-preview__checkout:hover:not(:disabled) {
  background:var(--ink);
  color:var(--neon);
}
.cart-preview__checkout:disabled {
  opacity:.45;
  cursor:not-allowed;
}
.cart-preview__go {
  background:var(--white);
  box-shadow:inset 0 0 0 1.5px var(--ink);
}
.cart-preview__go:hover {
  background:var(--ink);
  color:var(--white);
}
.quick-panel {
  position:fixed;
  z-index:96;
  width:min(380px, calc(100vw - 24px));
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(8px) scale(.98);
  transition:opacity 170ms var(--ease-out), transform 170ms var(--ease-out), visibility 170ms;
}
.quick-panel.is-open {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}
.quick-panel__scrim { display:none; }
.quick-panel__card {
  position:relative;
  width:100%;
  background:rgba(255,255,255,.95);
  border-radius:6px;
  padding:24px;
  box-shadow:0 18px 58px rgba(0,0,0,.18);
}
.quick-panel__close { position:absolute; top:8px; right:10px; font-size:22px; color:var(--muted); }
.quick-panel__title { display:none; }
.quick-panel label { display:block; margin-bottom:12px; font-family:var(--font-mono); font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.quick-sizes { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; margin-bottom:18px; }
.quick-sizes button { min-height:58px; border-radius:8px; background:#f4f4f4; font-family:var(--font-mono); font-size:16px; }
.quick-sizes button.is-active { background:var(--neon); color:var(--ink); }
.quick-submit { width:100%; min-height:92px; border-radius:8px; background:var(--neon); color:var(--ink); white-space:pre-line; font-family:var(--font-mono); font-size:20px; line-height:1.35; text-transform:uppercase; }

/* Live catalog search */
.search-overlay { position:fixed; inset:0; z-index:110; background:rgba(255,255,255,.98); opacity:0; visibility:hidden; transition:opacity 180ms, visibility 180ms; overflow:auto; }
.search-overlay.is-open { opacity:1; visibility:visible; }
.search-panel { width:min(920px, 100%); margin:0 auto; padding:clamp(24px, 6vw, 70px) clamp(16px, 4vw, 40px); }
.search-head { display:flex; align-items:center; gap:14px; border-bottom:2px solid var(--ink); }
.search-head input { flex:1; min-width:0; border:0; outline:0; padding:14px 0; font-family:var(--font-display); font-size:clamp(17px, 3.6vw, 34px); text-transform:uppercase; background:transparent; }
.search-close { width:44px; height:44px; font-size:28px; line-height:1; }
.search-label { margin:28px 0 14px; font-size:11px; font-weight:700; text-transform:uppercase; color:var(--muted); }
.search-results { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.search-result { display:grid; grid-template-columns:72px minmax(0, 1fr); align-items:center; gap:14px; border:1px solid var(--line); padding:8px; }
.search-result img { width:72px; height:86px; object-fit:cover; background:var(--surface); }
.search-result b { display:block; font-size:12px; }
.search-result small { display:block; color:var(--muted); font-size:11px; margin-top:4px; }
.search-message { color:var(--muted); font-size:13px; padding:24px 0; }
.nav__mobile-search { display:none; width:100%; text-align:left; }

/* Carousel dots */
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.dots i.is-on { background: var(--neon); }

/* ============================================================
   COLLECTIONS / SPLIT PROMOS
   ============================================================ */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.collection--loading { aspect-ratio:4 / 5; background:var(--surface); animation:collection-pulse 1.2s ease-in-out infinite alternate; }
.collection__media { aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; border-radius: 4px; }
.collection__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.collection:hover .collection__media img { transform: scale(1.03); }
.collection h3 { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 12px 0 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.split__panel {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111;
}
.split__panel img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.split__panel .label {
  position: absolute; left: 24px; bottom: 22px;
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 3vw, 34px); text-transform: uppercase; letter-spacing: .04em;
  display: flex; align-items: center; gap: 12px;
}
.split__panel .btn { position: absolute; right: 20px; bottom: 22px; }

/* ============================================================
   EVENTS FEED (live blog posts)
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(24px, 4vw, 48px) 0;
}
.event-photo { cursor: zoom-in; }
/* Lightbox / photo viewer */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .92);
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
  line-height: 1;
  transition: background 160ms var(--ease-out);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 18px; right: 20px; width: 44px; height: 44px; font-size: 26px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
}
@media (max-width: 640px) {
  .lightbox__img { max-width: 94vw; max-height: 80vh; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 24px; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}
.event-post__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--surface); }
.event-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
/* Collection button overlaid on the event cover photo. */
.event-post__img .event-post__shop {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.event-post:hover .event-post__img img { transform: scale(1.03); }
.event-post__body h3 {
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .04em; margin: 14px 0 4px;
}
.event-post__date { font-family: var(--font-mono); font-size: 12px; color: var(--red); }
.event-post__body p { font-size: 13px; color: #444; margin: 8px 0 0; }
.event-post__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.event-post__shop {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--neon);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.event-post__shop:hover { background: var(--ink); color: var(--neon); }
/* Hero: button on its own line under the title/date overlay. */
.event-hero .meta .event-post__shop {
  margin-top: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
}
@media (max-width: 640px) {
  .event-hero .meta { max-width: calc(100% - 32px); }
  .event-hero .meta .event-post__shop {
    min-height: 38px;
    padding: 0 14px;
    font-size: 10px;
  }
  /* Compact overlay button on the event cover photo.
     Offset from the left so it clears the ~29px "10% OFF" promo tab. */
  .event-post__img .event-post__shop {
    left: 40px;
    right: auto;
    bottom: 12px;
    min-height: 34px;
    padding: 0 13px;
    font-size: 10px;
    letter-spacing: .03em;
    border-radius: 7px;
  }
}
.event-post__gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--surface);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-story { padding:clamp(64px, 10vw, 150px) clamp(20px, 6vw, 80px); }
.about-story__inner { display:grid; grid-template-columns:minmax(180px, .65fr) minmax(0, 1.35fr); column-gap:clamp(40px, 9vw, 150px); }
.about-story h1 { margin:0; font-family:var(--font-display); font-size:clamp(30px, 4.6vw, 62px); line-height:1; text-transform:uppercase; }
.about-story__lead { font-family:var(--font-display); font-size:clamp(17px, 2.5vw, 34px); font-weight:700; line-height:1.2; text-transform:uppercase; }
.about-story__lead p { margin:0 0 1.25em; }
.about-story__body { grid-column:2; max-width:920px; margin:clamp(24px, 5vw, 72px) 0 0; font-family:var(--font-mono); font-size:clamp(12px, 1.2vw, 17px); line-height:1.65; text-transform:uppercase; }
.about-photos {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
  padding:0 clamp(16px, 3vw, 48px) clamp(56px, 8vw, 120px);
}
.about-photos img {
  display:block;
  width:100%;
  aspect-ratio:3 / 4;
  object-fit:cover;
  background:var(--surface);
}

@media (max-width:720px) {
  .about-story { padding:56px 16px 64px; }
  .about-story__inner { display:block; }
  .about-story h1 { margin-bottom:52px; font-size:33px; }
  .about-story__lead { font-size:19px; }
  .about-story__lead p { margin-bottom:1.4em; }
  .about-story__body { margin-top:52px; font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
  .about-photos {
    grid-template-columns:1fr;
    padding:0 16px 64px;
  }
.about-photos img { aspect-ratio:4 / 5; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-page__hero { padding:clamp(56px, 10vw, 132px) clamp(16px, 4vw, 40px) clamp(72px, 11vw, 150px); }
.contact-page__grid { display:grid; grid-template-columns:minmax(240px, .7fr) minmax(0, 1.3fr); gap:clamp(48px, 10vw, 160px); align-items:start; }
.contact-page__eyebrow { margin:0 0 18px; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.contact-page__intro h1 { margin:0; font-family:var(--font-display); font-size:clamp(42px, 6vw, 88px); font-weight:700; line-height:.94; letter-spacing:.01em; text-transform:uppercase; }
.contact-page__intro > p:last-child { max-width:340px; margin:26px 0 0; font-size:14px; line-height:1.65; }
.contact-form { border-top:1px solid var(--ink); padding-top:20px; }
.contact-form__honeypot { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.contact-form__fields { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:20px; }
.contact-form__field { min-width:0; }
.contact-form__field--full { grid-column:1 / -1; }
.contact-form label { display:flex; justify-content:space-between; gap:12px; margin-bottom:8px; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.contact-form__optional { color:var(--muted); font-size:10px; font-weight:400; }
.contact-form input,
.contact-form textarea { width:100%; border:1px solid var(--ink); border-radius:0; background:var(--white); color:var(--ink); font:inherit; font-size:16px; outline:none; transition:border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.contact-form input { min-height:50px; padding:10px 14px; }
.contact-form textarea { min-height:168px; padding:14px; resize:vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color:var(--ink); box-shadow:0 0 0 3px var(--neon); }
.contact-form__actions { display:flex; align-items:center; gap:18px; min-height:58px; margin-top:26px; }
.contact-form__actions .btn { min-height:48px; border-radius:0; }
.contact-form__actions .btn:disabled { cursor:wait; opacity:.6; }
.contact-form__status { margin:0; font-size:12px; line-height:1.45; }
.contact-form__status[data-kind="success"] { color:#1c5a20; }
.contact-form__status[data-kind="error"] { color:#b32019; }
@media (max-width:720px) {
  .contact-page__hero { padding:56px 16px 76px; }
  .contact-page__grid { display:block; }
  .contact-page__intro { margin-bottom:52px; }
  .contact-page__intro h1 { font-size:clamp(42px, 14vw, 62px); }
  .contact-page__intro > p:last-child { max-width:440px; }
  .contact-form__fields { grid-template-columns:1fr; gap:18px; }
  .contact-form__field--full { grid-column:auto; }
  .contact-form__actions { align-items:flex-start; flex-direction:column; gap:12px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-form input,
  .contact-form textarea { transition:none; }
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-page { padding:clamp(64px, 10vw, 140px) clamp(20px, 6vw, 80px); }
.policy-page__inner { display:grid; grid-template-columns:minmax(240px, .7fr) minmax(0, 1.3fr); gap:clamp(40px, 10vw, 160px); align-items:start; }
.policy-page h1 { margin:0; font-family:var(--font-display); font-size:clamp(30px, 4.6vw, 60px); line-height:1; text-transform:uppercase; }
.policy-page__copy { max-width:820px; font-family:var(--font-mono); font-size:clamp(12px, 1.1vw, 15px); line-height:1.7; }
.policy-page__copy p { margin:0 0 2em; }
.policy-page__copy p:last-child { margin-bottom:0; }
.policy-page__copy h2 { margin:3.25em 0 .8em; font-family:var(--font-display); font-size:clamp(18px, 1.8vw, 27px); line-height:1.15; text-transform:uppercase; }
.policy-page__copy h3 { margin:2.4em 0 .7em; font-family:var(--font-mono); font-size:1em; text-transform:uppercase; }
.policy-page__copy ul { margin:0 0 2em; padding-left:1.3em; }
.policy-page__copy li { margin-bottom:.8em; }
.policy-page__copy a { text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.policy-table-wrap { max-width:100%; overflow-x:auto; margin:2em 0; }
.policy-table { width:100%; min-width:540px; border-collapse:collapse; font:inherit; }
.policy-table th,
.policy-table td { padding:14px; border:1px solid var(--line); text-align:left; vertical-align:top; }
.policy-table th { font-weight:700; text-transform:uppercase; }

@media (max-width:720px) {
  .policy-page { padding:56px 16px 72px; }
  .policy-page__inner { display:block; }
  .policy-page h1 { margin-bottom:52px; font-size:32px; }
  .policy-page__copy { font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
}
@media (max-width: 720px) {
  .events-grid { grid-template-columns: 1fr; }
  .event-post { min-width:0; overflow:hidden; }
  .event-post__body { padding-inline:16px; }
  .event-post__body h3,
  .event-post__body p { overflow-wrap:anywhere; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(30px, 5vw, 60px) clamp(16px, 4vw, 40px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: 13px; color: var(--muted); }
.footer__links a:hover { color: var(--ink); }
.footer__logo { height: 46px; width: auto; margin: 0 auto; }
.newsletter { margin-top: 28px; max-width: 420px; }
.newsletter form {
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 12px;
}
.newsletter input { flex: 1; border: none; padding: 12px 16px; font-family: var(--font-mono); font-size: 13px; outline: none; }
.newsletter button {
  background: var(--neon); padding: 0 18px; font-size: 16px;
  transition: background 160ms var(--ease-out);
}
.newsletter button:hover { background: var(--neon-deep); }
.pay-row { display: flex; gap: 8px; align-items: center; }
.pay-row span {
  font-size: 9px; font-weight: 700; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 4px; padding: 4px 6px; color: var(--muted);
}

/* ============================================================
   NEWSLETTER MODAL
   ============================================================ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.5);
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 220ms var(--ease-out), visibility 220ms;
}
.modal-scrim.is-open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: 6px;
  width: min(420px, 100%);
  padding: 40px 34px;
  text-align: center;
  position: relative;
  transform: scale(0.96);
  transition: transform 240ms var(--ease-out);
}
.modal-scrim.is-open .modal { transform: scale(1); }
.modal .wordmark { font-size: 34px; margin-bottom: 16px; }
.modal h3 { font-family: var(--font-mono); font-weight: 700; font-size: 15px; margin: 0 0 8px; }
.modal p { font-size: 13px; color: #444; margin: 0 0 18px; }
.modal input[type=email] {
  width: 100%; border: 1.5px solid var(--line); border-radius: 6px;
  padding: 12px 14px; font-family: var(--font-mono); font-size: 13px; margin-bottom: 12px;
}
.modal .check { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #444; margin-bottom: 16px; text-align: left; }
.modal__close { position: absolute; top: 12px; right: 16px; font-size: 20px; color: #999; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .grid-4:not(.recommended-grid) { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .nav__links-desktop { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__spacer { display: none; }
  .nav > .nav__group:last-child { margin-left: auto; }
  .nav.is-open nav.nav__links-desktop {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
  }
  .nav.is-open nav.nav__links-desktop .nav__link { padding: 12px; }
  .nav.is-open .nav__mobile-search { display:block; padding:12px; font-family:var(--font-mono); font-size:15px; font-weight:700; text-transform:uppercase; }

  /* Mobile: Shop All submenu expands inline (accordion) instead of floating. */
  .nav.is-open .nav-shop-menu { display: block; width: 100%; }
  .nav.is-open .nav-shop-menu .nav__link { display: flex; align-items: center; justify-content: space-between; }
  .nav.is-open .nav-shop-menu .nav__link::after {
    content: "+";
    font-weight: 400;
    margin-left: 12px;
    transition: transform 160ms var(--ease-out);
  }
  .nav.is-open .nav-shop-menu.is-expanded .nav__link::after { content: "–"; }
  .nav.is-open .nav-mega {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transition: max-height 240ms var(--ease-out);
  }
  .nav.is-open .nav-shop-menu.is-expanded .nav-mega { max-height: 60vh; overflow: auto; padding: 2px 0 8px; }
  .nav.is-open .nav-mega a { padding: 9px 12px 9px 24px; font-size: 12px; text-transform: uppercase; }
}
@media (max-width: 560px) {
  .nav { gap: 8px; padding: 12px 10px; }
  .nav__group { gap: 5px; padding: 10px 12px; }
  .nav__link { font-size: 12px; padding-inline: 3px; }
  .nav__pill { font-size: 13px; padding: 10px 15px; }
  .nav__burger { width: 44px; height: 44px; padding: 0; }
  .selected-collection-heading { padding:18px 0 24px; align-items:flex-end; }
  .selected-collection-heading h1 { font-size:30px; }
  .selected-collection-heading a { max-width:110px; text-align:right; }
  .shop-toolbar { padding:0; align-items:center; gap:10px; }
  .shop-toolbar__right { gap:8px; }
  .shop-tool-button { min-height:38px; padding:0 13px; gap:7px; font-size:11px; }
  .shop-tool-button svg { width:16px; height:16px; }
  .shop-menu__panel { top:calc(100% + 7px); width:calc(100vw - 30px); padding:14px; }
  .shop-menu--right .shop-menu__panel { right:0; }
  .shop-select { gap:6px; font-size:11px; }
  .shop-select select { min-height:42px; padding:9px 30px 9px 10px; font-size:11px; }
  #product-count { font-size:10px; white-space:nowrap; }
  .nav__cart { min-width:30px; padding:0; }
  .nav__cart-icon { width:20px; height:20px; }
  .hero { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .recommended-grid { grid-template-columns:repeat(4, minmax(0, 1fr)); gap:8px; }
  .recommended-grid .card__name,
  .recommended-grid .card__price { font-size:9px; line-height:1.35; }
  .recommended-grid .card__badge { display:none; }
  .cart-toast { left:12px; right:12px; bottom:12px; text-align:center; }
  .quick-add { top:9px; left:9px; }
  .quick-add__icon { width:40px; height:40px; }
  .quick-add__icon::before,
  .quick-add__icon::after { width:18px; }
  .quick-add__label { display:none; }
  .quick-panel { width:min(300px, calc(100vw - 48px)); }
  .quick-panel__card {
    padding:18px 14px 14px;
  }
  .quick-sizes { grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; margin-bottom:14px; }
  .quick-sizes button { min-height:48px; font-size:14px; }
  .quick-submit { min-height:68px; font-size:15px; }
  .recommended-grid .quick-add { top:6px; left:6px; }
  .recommended-grid .quick-add__icon { width:28px; height:28px; box-shadow:0 3px 10px rgba(0,0,0,.14); }
  .recommended-grid .quick-add__icon::before,
  .recommended-grid .quick-add__icon::after { width:14px; height:2px; }
  .search-results { grid-template-columns:1fr; }
  .search-result { grid-template-columns:60px minmax(0, 1fr); }
  .search-result img { width:60px; height:72px; }
}

@media (hover: none) {
  .cart-preview { display:none; }
  .hero__cell:hover img,
  .card:hover .card__media img { transform: none; }
  .card:hover .card__img--primary { opacity:1; }
  .card:hover .card__img--hover { opacity:0; }
}
