/* ZELEX mirror — lean design system, no external fonts or frameworks */
@font-face { font-family: 'Prompt'; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/prompt-300.woff2) format('woff2'); }
@font-face { font-family: 'Prompt'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/prompt-400.woff2) format('woff2'); }
@font-face { font-family: 'Prompt'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/prompt-500.woff2) format('woff2'); }
@font-face { font-family: 'Prompt'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/prompt-600.woff2) format('woff2'); }

:root {
  --ink: #000;
  --ink-2: #525151;
  --muted: #8a8a8a;
  --line: #f2f2f2;
  --line-2: #e4e4e4;
  --bone: #fff;
  --paper: #f6f6f6;
  --accent: #ff6600;
  --accent-soft: #fff3ea;
  --dark: #000;
  --ok: #058942;
  --radius: 0;
  --wrap: 1400px;
  --serif: 'Prompt', "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: 'Prompt', "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 12px 32px rgba(0, 0, 0, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* origin storefront ships <html class="no-js dark">: dark scrollbars + native controls */
html.dark { background: #111; color-scheme: dark; }
body {
  margin: 0; background: var(--bone); color: var(--ink-2);
  font-family: var(--sans); font-size: 14px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; color: var(--ink); line-height: 1.2; letter-spacing: 0; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
h3 { font-size: 1rem; }
p { margin: 0 0 1.1em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: #f4efe8; }
.muted { color: var(--muted); }
.small { font-size: 12px; letter-spacing: .04em; }
.kicker { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.center { text-align: center; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 28px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: "→"; font-size: 13px; }

/* ---------- announcement + header ---------- */
.announce {
  background: #5e2288; color: #ebb775; font-size: 12px; letter-spacing: .02em;
  font-weight: 500; text-align: center; padding: 11px 16px;
}
.announce b { color: #ebb775; font-weight: 600; }
.announce .rot { position: relative; display: block; height: 18px; overflow: hidden; }
.announce .rot span { position: absolute; left: 0; right: 0; top: 0; opacity: 0; animation: annRot 10s infinite; }
.announce .rot span:nth-child(2) { animation-name: annRotB; }
@keyframes annRot { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
@keyframes annRotB { 0%, 49% { opacity: 0 } 50%, 100% { opacity: 1 } }
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav icons"; align-items: center; min-height: 66px; gap: clamp(16px, 2vw, 30px); }
.header-nav { grid-area: nav; display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand { grid-area: brand; display: inline-flex; align-items: center; white-space: nowrap; }
.brand img { height: 34px; width: auto; }
.brand span { display: none; }
.main-nav { display: flex; align-items: center; gap: 0; }
.nav-link {
  position: relative; font-size: 14px; letter-spacing: .01em;
  padding: 8px 20px; white-space: nowrap; color: var(--ink);
}
.nav-link::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="true"]::after { transform: scaleX(1); }
.nav-link[aria-current="true"] { color: var(--ink); }
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.nav-link--sub { padding-right: 32px; }
.nav-link--sub::before { content: ""; position: absolute; right: 20px; top: 50%; margin-top: -1px; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 4px solid currentColor; opacity: .45; }
.nav-drop {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 0);
  min-width: 190px; padding: 10px 0; background: var(--bone);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s;
  z-index: 70;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; }
.nav-drop a { display: block; padding: 7px 18px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.nav-drop a:hover { color: var(--accent); }
.nav-drop-group > span { display: block; padding: 7px 18px 2px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nav-drop-group + .nav-drop-group { border-top: 1px solid var(--line); margin-top: 7px; }
.nav-item:last-child .nav-drop { left: auto; right: 0; transform: none; }
.nav-item:last-child:hover .nav-drop, .nav-item:last-child:focus-within .nav-drop { transform: none; }
.nav-actions { grid-area: icons; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.icon-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; padding: 8px 0; }
.icon-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.nav-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 1px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1px; background: var(--ink); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--paper);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 34px; padding: 38px 0 44px; }
.mega h4 { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mega a { display: block; padding: 5px 0; font-size: 13px; color: var(--ink-2); }
.mega a:hover { color: var(--accent); }
.mega-feature { border-left: 1px solid var(--line); padding-left: 30px; }
.mega-feature img { aspect-ratio: 4/5; object-fit: cover; width: 100%; margin-bottom: 12px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: minmax(0, 380px) 1fr;
  visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer-panel {
  background: var(--bone); height: 100%; overflow: auto; padding: 22px 24px 40px;
  transform: translateX(-102%); transition: transform .35s var(--ease);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-scrim { background: rgba(20,17,15,.45); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.drawer-close { font-size: 26px; line-height: 1; padding: 4px 10px; }
.drawer a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.drawer .drawer-group { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 26px 0 6px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.02fr .98fr; min-height: clamp(520px, 72vh, 720px); background: var(--paper); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 86px) clamp(24px, 6vw, 90px); }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy p { max-width: 44ch; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hero-media { position: relative; overflow: hidden; background: #e9e1d6; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption { position: absolute; left: 20px; bottom: 18px; color: #fff; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust div { padding: 26px 24px; border-right: 1px solid var(--line); }
.trust div:last-child { border-right: 0; }
.trust b { display: block; font-size: 10.5px; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 4px; }
.trust span { color: var(--muted); font-size: 12.5px; }

/* ---------- section head ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 52ch; color: var(--muted); margin: 8px 0 0; }

/* ---------- collection cards ---------- */
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.col-card { position: relative; overflow: hidden; background: #e9e1d6; aspect-ratio: 4/5; }
.col-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.col-card:hover img { transform: scale(1.04); }
.col-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.62)); }
.col-card-copy { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: #fff; }
.col-card-copy h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin-bottom: 4px; }
.col-card-copy span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .82; }

/* ---------- product grid / cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px) clamp(12px, 1.6vw, 22px); }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; overflow: hidden; background: #ece5da; aspect-ratio: 3/4; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.card:hover .card-media img { transform: scale(1.035); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--paper); color: var(--ink); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 8px; }
.badge--sale { background: var(--accent); color: #fff; }
/* origin renders HOT through .card-product-label: 70x30 box flush with the
   card corner, 5px radius, #EBB775 with white 14px system-sans text centred
   in a 30px line. Values taken from the live storefront, not guessed. */
.badge--hot {
  top: 0; left: 0;
  width: 70px; height: 30px; padding: 0;
  border-radius: 5px;
  background: #ebb775; color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px; font-weight: 400; line-height: 30px;
  letter-spacing: normal; text-transform: none; text-align: center;
}
.card-body { padding: 12px 2px 0; }
.card-body h3 { font-family: var(--sans); font-size: 12.5px; line-height: 1.45; letter-spacing: .01em; font-weight: 500; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.price { font-size: 12.5px; letter-spacing: .04em; }
.price s { color: var(--muted); margin-left: 8px; }
.stock { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); margin-top: 4px; }
.stock::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.stock--out { color: var(--muted); }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #e9e1d6; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 18px; }
.feature-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.feature-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.feature-list b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 3px; }
.feature-list span { color: var(--muted); font-size: 13px; }
.feature-list .num { font-family: var(--serif); color: var(--accent); font-size: 16px; }

/* ---------- magazine ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.article-card .thumb { aspect-ratio: 3/2; overflow: hidden; background: #e9e1d6; margin-bottom: 14px; }
.article-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.article-card:hover img { transform: scale(1.04); }
.article-card time { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.article-card h3 { font-size: 1.3rem; margin: 8px 0 6px; }
.article-card p { color: var(--muted); font-size: 13px; }

/* ---------- CTA ---------- */
.cta-band { background: var(--dark); color: #f4efe8; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(48px, 6vw, 78px) 0; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(244,239,232,.68); margin: 0; max-width: 46ch; }

/* ---------- page hero / breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 20px 0; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-style: normal; opacity: .5; }
.page-hero { padding: clamp(38px, 6vw, 72px) 0 clamp(24px, 3vw, 40px); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { max-width: 66ch; color: var(--ink-2); margin: 0; }

/* ---------- collection toolbar ---------- */
.collection-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: clamp(30px, 5vw, 58px) 0 22px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.toolbar .count { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toolbar .spacer { flex: 1; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; border: 1px solid var(--line-2); background: transparent; padding: 9px 34px 9px 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-radius: 0; }
.select-wrap::after { content: "⌄"; position: absolute; right: 12px; top: 7px; pointer-events: none; font-size: 13px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.check input { accent-color: var(--ink); width: 14px; height: 14px; }
.load-more-wrap { text-align: center; padding-top: 40px; }
.grid-note { display: none; padding: 26px 0; color: var(--muted); }

/* ---------- product detail ---------- */
.pdp-info { padding-top: 6px; }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.acc-btn i { font-style: normal; font-size: 18px; line-height: 1; transition: transform .25s var(--ease); }
.acc-btn[aria-expanded="true"] i { transform: rotate(45deg); }
.acc-panel { display: none; padding: 0 0 18px; color: var(--ink-2); font-size: 13.5px; }
.acc-panel.is-open { display: block; }
.acc-panel p:last-child { margin-bottom: 0; }

/* rich content */
.prose { max-width: 74ch; overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.prose h4 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.prose p { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; color: var(--ink-2); }
.prose img { margin: 22px auto; width: auto; height: auto; max-width: 100%; }
.prose a { border-bottom: 1px solid var(--line-2); }
.prose a:hover { border-color: var(--accent); color: var(--accent); }
.prose blockquote { margin: 26px 0; padding: 6px 0 6px 22px; border-left: 1px solid var(--accent); font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 13px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.prose > div > *:first-child { margin-top: 0; }
.prose:empty { display: none; }
.content-wide { max-width: none; }
.content-narrow { max-width: 860px; margin-inline: auto; }

/* forms */
.form-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { border: 1px solid var(--line-2); background: transparent; padding: 11px 12px; border-radius: 0; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.form-msg { display: none; margin-top: 12px; padding: 12px 14px; background: var(--accent-soft); color: var(--ink); font-size: 12.5px; }
.form-msg.is-on { display: block; }

/* article */
.article-hero { max-width: 1000px; margin: 0 auto; text-align: center; padding: clamp(34px, 5vw, 62px) 0 20px; }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.article-meta { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: center; gap: 12px; }
.article-body { max-width: 760px; margin: 0 auto; padding: 30px 0 70px; }
.article-body > div > p:first-child { font-size: 1.08rem; }
.article-note { border: 1px solid var(--line); padding: 20px; background: var(--paper); color: var(--muted); font-size: 13px; }

/* search overlay */
.search-layer { position: fixed; inset: 0; z-index: 100; background: rgba(20,17,15,.5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.search-layer.is-open { opacity: 1; visibility: visible; }
.search-box { background: var(--bone); width: min(720px, 100%); margin: 0 auto; padding: 26px 24px 30px; transform: translateY(-20px); transition: transform .3s var(--ease); max-height: 90vh; overflow: auto; }
.search-layer.is-open .search-box { transform: none; }
.search-head { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.search-head input { flex: 1; border: 0; background: transparent; font-size: 18px; font-family: var(--serif); outline: none; padding: 6px 0; }
.search-close { font-size: 24px; padding: 4px 8px; }
.search-results { margin-top: 18px; display: grid; gap: 4px; }
.search-hit { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 8px; }
.search-hit:hover { background: var(--paper); }
.search-hit img { width: 54px; height: 68px; object-fit: cover; background: #ece5da; }
.search-hit b { font-size: 12.5px; font-weight: 500; display: block; line-height: 1.35; }
.search-hit span { font-size: 11px; color: var(--muted); }
.search-empty { color: var(--muted); font-size: 13px; padding: 16px 0; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px); background: var(--dark); color: #fff; padding: 11px 20px; font-size: 12px; letter-spacing: .04em; opacity: 0; visibility: hidden; transition: all .25s var(--ease); z-index: 120; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* softnav progress */
.sn-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 130; opacity: 0; transition: width .3s ease, opacity .2s; }
.sn-progress.is-on { opacity: 1; }
#app { min-height: 60vh; }
#app.is-swapping { opacity: .35; transition: opacity .15s; }

/* footer */
.site-footer { background: var(--dark); color: #dfd6ca; padding: clamp(48px, 6vw, 78px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.site-footer .brand { color: #fff; font-size: 22px; margin-bottom: 12px; }
.site-footer p { color: rgba(223,214,202,.62); font-size: 12.5px; max-width: 34ch; }
.footer-col h4 { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(223,214,202,.5); margin-bottom: 14px; }
.footer-col a { display: block; padding: 4px 0; font-size: 12.5px; color: rgba(223,214,202,.84); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 18px; font-size: 10.5px; letter-spacing: .06em; color: rgba(223,214,202,.48); }

/* utilities */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- dark theme (origin renders the whole storefront with .dark) ---------- */
.theme-dark {
  --ink: #fff;
  --ink-2: #e8e8e8;
  --muted: #b3b3b3;
  --line: rgba(255, 255, 255, .14);
  --line-2: rgba(255, 255, 255, .22);
  --bone: #111;
  --paper: #111;
  --accent: #aa32ff;
  --accent-soft: #1a1a1a;
  --ok: #42a246;
  --shadow: 0 12px 32px rgba(0, 0, 0, .5);
  background: #111;
  color: #e8e8e8;
}
.theme-dark .announce { background: #111; color: #fff; }
.theme-dark .announce b, .theme-dark .announce .rot span { color: #fff; }
.theme-dark .site-header { background: rgba(17, 17, 17, .97); border-bottom-color: rgba(255, 255, 255, .14); }
.theme-dark .nav-drop { background: #1a1a1a; }
.theme-dark .nav-drop a { color: #e8e8e8; }
.theme-dark .nav-drop a:hover { color: #aa32ff; }
.theme-dark .nav-drop-group > span { color: #8a8a8a; }
.theme-dark .badge { background: #fff; color: #111; }
/* the dark-theme badge reset above also hits HOT; origin keeps the amber tag */
.theme-dark .badge--hot { background: #ebb775; color: #fff; }
.theme-dark .site-footer { background: #f6f6f6; color: #525151; }
.theme-dark .site-footer .brand { color: #111; }
.theme-dark .card-media { background: #1a1a1a; }
.theme-dark .card-body h3 { color: #fff; }
.theme-dark .site-footer p { color: rgba(82, 81, 81, .72); }
.theme-dark .site-footer p.foot-18 { color: rgba(82, 81, 81, .5); margin-top: -6px; }
.theme-dark .footer-col h4 { color: rgba(82, 81, 81, .55); }
.theme-dark .footer-col a { color: rgba(82, 81, 81, .88); }
.theme-dark .footer-col a:hover { color: #000; }
.theme-dark .footer-bottom { border-top-color: rgba(0, 0, 0, .14); color: rgba(82, 81, 81, .6); }
.theme-dark ::selection { background: #aa32ff; color: #fff; }
/* origin dark buttons: solid white on black, purple on hover (text stays dark) */
.theme-dark .btn { background: #fff; border-color: #fff; color: #000; }
.theme-dark .btn:hover { background: #aa32ff; border-color: #aa32ff; color: #000; }
.theme-dark .btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.theme-dark .btn--ghost:hover { background: #fff; border-color: #fff; color: #000; }
.theme-dark .btn--light:hover { background: #fff; border-color: #fff; color: #000; }
.theme-dark .p-card:hover .p-card-btn { background: #fff; color: #000; }
.theme-dark .subscribe input { background: #111; color: #fff; border-color: rgba(255, 255, 255, .55); }
.theme-dark .subscribe input::placeholder { color: rgba(255, 255, 255, .45); }
.theme-dark .toast { background: #fff; color: #000; }
/* skeleton fills while images decode */
.theme-dark .hero-media, .theme-dark .col-card, .theme-dark .split-media,
.theme-dark .article-card .thumb, .theme-dark .search-hit img { background: #1a1a1a; }
/* full-bleed black bands sit on #111 instead of pure black */
.theme-dark .home-hero, .theme-dark .stories, .theme-dark .cta-band, .theme-dark .join-band { background: #111; }
.theme-dark .story-card { background: #1a1a1a; }

/* ---------- product page (origin layout) ---------- */
.pdp-crumb { background: #1d1d1d; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-crumb-in { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; font-size: 13px; color: var(--ink-2); text-align: center; }
.pdp-crumb a { color: var(--ink); }
.pdp-crumb a:hover { color: var(--accent); }
.pdp-crumb i { width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: .45; flex: 0 0 auto; }
.pdp-crumb span { color: var(--ink-2); }

.pdp-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 24px 0 60px; align-items: start; }
.pdp-gallery { position: sticky; top: 92px; display: flex; gap: 15px; align-items: flex-start; }
.pdp-thumbs { flex: 0 0 80px; width: 80px; display: flex; flex-direction: column; gap: 15px; max-height: 72vh; overflow: auto; scrollbar-width: none; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs button { width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid transparent; background: #1a1a1a; opacity: .55; transition: opacity .2s var(--ease), border-color .2s var(--ease); }
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs button:hover { opacity: .85; }
.pdp-thumbs button.is-active { opacity: 1; border-color: rgba(255, 255, 255, .6); }
.pdp-stage { flex: 1; min-width: 0; background: #1a1a1a; }
.pdp-stage img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }

.pdp-info { max-width: 720px; }
.pdp-title { font-size: 30px; line-height: 36px; font-weight: 600; text-transform: capitalize; color: var(--ink); margin: 10px 0 16px; }
.pdp-reviews { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.pdp-stars { color: #ebb775; letter-spacing: 1px; font-size: 12px; }
.pdp-stock { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: -6px 0 16px; }
.pdp-price { font-size: 24px; line-height: 29px; font-weight: 400; color: #aa32ff; }
.pdp-price s { color: var(--muted); font-size: 16px; margin-left: 10px; }
.pdp-tax { font-size: 13px; color: var(--ink-2); margin: 10px 0 18px; }

.pdp-note { position: relative; height: 95px; border: 1px solid #b3b3b3; border-radius: 10px; overflow: hidden; margin: 0 0 20px; }
.pdp-note-item { position: absolute; inset: 0; padding: 10px 40px; display: flex; flex-direction: column; justify-content: center; gap: 10px; opacity: 0; animation: pdpNote 15s infinite; }
.pdp-note-item:nth-child(2) { animation-delay: 3s; }
.pdp-note-item:nth-child(3) { animation-delay: 6s; }
.pdp-note-item:nth-child(4) { animation-delay: 9s; }
.pdp-note-item:nth-child(5) { animation-delay: 12s; }
.pdp-note-item b { font-size: 16px; font-weight: 600; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pdp-note-item span { font-size: 14px; color: #b3b3b3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes pdpNote { 0%, 19.2% { opacity: 1; } 20%, 100% { opacity: 0; } }

.pdp-offers { background: #1a1a1a; border-radius: 10px; padding: 10px; margin-bottom: 30px; }
.pdp-offers-h { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--ink); }
.pdp-offers-h svg { width: 22px; height: 22px; flex: 0 0 auto; }
.pdp-offer { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #111; border-radius: 10px; padding: 10px; margin-top: 10px; }
.pdp-offer p { margin: 0; font-size: 16px; font-weight: 600; color: #fff; }
.pdp-code { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: #aa32ff; border: 1px dashed #aa32ff; border-radius: 10px; padding: 0 10px; min-height: 38px; }
.pdp-code:hover { background: rgba(170, 50, 255, .12); }
.pdp-code svg { width: 16px; height: 16px; flex: 0 0 auto; }

.pdp-buy { display: flex; align-items: center; gap: 20px; margin: 6px 0 18px; }
.pdp-qty { display: flex; align-items: center; height: 44px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 26px; flex: 0 0 auto; }
.pdp-qty button { width: 40px; height: 100%; display: grid; place-items: center; font-size: 16px; color: var(--ink); }
.pdp-qty input { width: 38px; height: 100%; text-align: center; border: 0; background: none; color: var(--ink); -moz-appearance: textfield; }
.pdp-qty input::-webkit-outer-spin-button, .pdp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-atc { flex: 1; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #000; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; transition: background .2s var(--ease), color .2s var(--ease); }
.pdp-atc:hover { background: #aa32ff; color: #000; }
.pdp-atc svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.pdp-credit { display: flex; gap: 10px; border-top: 1px solid #2b2b2b; padding: 20px 0; margin-top: 12px; }
.pdp-credit a { flex: 1; display: flex; align-items: center; gap: 10px; color: #b3b3b3; font-size: 14px; font-weight: 600; line-height: 1.3; }
.pdp-credit a:hover { color: #fff; }
.pdp-credit svg { width: 32px; height: 32px; flex: 0 0 auto; }
.pdp-credit b { display: block; font-size: 14px; }

.pdp-faq details { background: #1a1a1a; border: 1px solid #262626; border-radius: 7px; margin: 10px 0; }
.pdp-faq summary { display: flex; align-items: center; gap: 8px; padding: 8px 20px 8px 8px; font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; list-style: none; }
.pdp-faq summary::-webkit-details-marker { display: none; }
.pdp-faq summary svg { width: 22px; height: 22px; flex: 0 0 auto; }
.pdp-faq summary::after { content: "\25BE"; margin-left: auto; font-size: 12px; transition: transform .3s var(--ease); }
.pdp-faq details[open] summary { border-bottom: 1px solid #fff; }
.pdp-faq details[open] summary::after { transform: rotate(180deg); }
.pdp-faq .faq-body { padding: 20px; font-size: 13px; line-height: 1.75; color: #b3b3b3; }
.pdp-faq .faq-body p { margin: 0 0 12px; }
.pdp-faq .faq-body strong { color: #fff; font-weight: 500; }
.pdp-faq .faq-body a { color: #fff; text-decoration: underline; }

.pdp-desc { border-top: 1px solid var(--line); padding: 56px 0; }
.pdp-desc h2 { font-size: 22px; margin: 0 0 24px; }
.pdp-desc .rte img { width: 100%; margin: 0 0 18px; border-radius: 10px; }
.pdp-desc .rte p { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.pdp-rel { border-top: 1px solid var(--line); padding: 48px 0 72px; }
.pdp-rel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.pdp-rel-head h2 { font-size: 20px; margin: 0; }
.pdp-rel-head a { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

@media (max-width: 1000px) {
  .pdp-shell { grid-template-columns: 1fr; gap: 26px; }
  .pdp-gallery { position: static; }
  .pdp-stage img { aspect-ratio: 2 / 3; }
  .pdp-title { font-size: 22px; line-height: 28px; }
  .pdp-price { font-size: 20px; }
  .pdp-info { max-width: none; }
}
@media (max-width: 640px) {
  .pdp-gallery { flex-direction: column-reverse; gap: 10px; }
  .pdp-thumbs { flex: 0 0 auto; width: 100%; flex-direction: row; max-height: none; overflow-x: auto; }
  .pdp-thumbs button { flex: 0 0 64px; width: 64px; }
  .pdp-buy { flex-wrap: wrap; }
  .pdp-buy .pdp-atc { flex: 1 1 100%; }
  .pdp-note { height: 145px; }
  .pdp-note-item { padding: 10px 16px; }
  .pdp-offer { flex-direction: column; align-items: flex-start; }
  .pdp-credit { flex-direction: column; }
  .pdp-title { font-size: 19px; line-height: 25px; }
}

/* responsive */
@media (max-width: 1366px) {
  .header-inner { grid-template-columns: 44px 1fr auto; grid-template-areas: "nav brand icons"; gap: 12px; }
  .header-nav { justify-self: start; }
  .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); grid-area: auto; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .icon-btn[href="/pages/contact-us.html"] { display: none; }
}
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
  .mega-feature { display: none; }
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 44px 1fr auto; }
  .main-nav { display: none; }
  .nav-actions .icon-btn span { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 4/3; }
  .hero-copy { padding: 36px 24px 46px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust div:nth-child(2) { border-right: 0; }
  .trust div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .nav-actions { gap: 10px; }
  .icon-btn { font-size: 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .col-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div { padding: 18px 16px; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .article-hero { text-align: left; }
  .article-meta { justify-content: flex-start; }
  .pdp-info h1 { font-size: 1.7rem; }
}

/* ---------- storefront home ---------- */
.home-hero { display: block; background: #000; }
.home-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.store-section { padding: clamp(38px, 4.5vw, 62px) 0 0; }
.store-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.store-head h2 { margin: 0; font-size: clamp(19px, 2.2vw, 28px); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.store-head .more { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; white-space: nowrap; }
.store-head .more:hover { color: var(--accent); border-color: var(--accent); }
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
.p-card { display: flex; flex-direction: column; }
.p-card-media { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--paper); }
.p-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.p-card-media .p-card-alt { position: absolute; inset: 0; display: block; }
.p-card-media .p-card-alt img { opacity: 0; transition: opacity .35s var(--ease); }
@media (hover: hover) { .p-card:hover .p-card-media .p-card-alt img { opacity: 1; } }
.p-card:hover .p-card-media > img:not(.p-card-alt) { transform: scale(1.03); }
.p-card-reviews { margin: 8px 0 1px; font-size: 10.5px; letter-spacing: .02em; color: var(--muted); }
.p-card-title { margin: 2px 0 3px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card-price { font-size: 13px; font-weight: 600; color: var(--ink); }
.p-card-btn { margin-top: 10px; display: flex; align-items: center; justify-content: center; height: 36px; border: 1px solid var(--ink); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: background .2s var(--ease), color .2s var(--ease); }
.p-card:hover .p-card-btn { background: var(--ink); color: #fff; }
.empty-note { max-width: 70ch; background: var(--paper); padding: 26px 30px; margin: 8px 0 0; }
.empty-note p:last-child { margin-bottom: 0; }
.empty-note .link-arrow { margin-right: 4px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.cat-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper); }
.cat-card h3 { margin: 12px 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.cat-card p { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.cat-card .go { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.know-hero { margin-bottom: 22px; }
.know-hero img { width: 100%; aspect-ratio: auto; display: block; background: var(--paper); }
.know-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.know-card { flex: 0 0 300px; scroll-snap-align: start; }
.know-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--paper); }
.know-card h3 { margin: 10px 0 4px; font-size: 13px; font-weight: 600; }
.know-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.55; }
.stories { background: #000; color: #fff; margin-top: clamp(44px, 5vw, 70px); padding: clamp(44px, 5vw, 68px) 0; }
.stories .store-head h2 { color: #fff; }
.stories .store-head .more { color: #fff; border-color: #fff; }
.story-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.story-card { flex: 0 0 320px; scroll-snap-align: start; background: #111; }
.story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-body { padding: 16px 16px 20px; }
.story-body h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #fff; }
.story-body p { margin: 0; font-size: 12px; line-height: 1.65; color: #cfcfcf; }
.join-band { position: relative; background: #000; overflow: hidden; }
.join-band > img { width: 100%; height: clamp(300px, 42vw, 520px); object-fit: cover; display: block; opacity: .55; }
.join-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 0 clamp(24px, 7vw, 96px); }
.join-copy h2 { margin: 0; color: #fff; font-size: clamp(24px, 3.6vw, 46px); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.join-copy p { margin: 0; max-width: 560px; color: #e8e8e8; font-size: 13.5px; }
.join-copy .btn { border-color: #fff; background: #fff; color: #000; }
.join-copy .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-home { max-width: 980px; margin: 0 auto; }
.faq-home details { border-bottom: 1px solid var(--line-2); padding: 15px 0; }
.faq-home summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink); list-style: none; }
.faq-home summary::-webkit-details-marker { display: none; }
.faq-home summary::after { content: '+'; font-size: 18px; line-height: 1; color: var(--ink-2); }
.faq-home details[open] summary::after { content: '\2013'; }
.faq-home p { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.subscribe { background: var(--paper); padding: clamp(40px, 5vw, 62px) 0; text-align: center; }
.subscribe h2 { margin: 0 0 8px; font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.subscribe p { margin: 0; color: var(--ink-2); font-size: 13px; }
.subscribe form { display: flex; max-width: 520px; margin: 18px auto 0; }
.subscribe input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--ink); border-right: 0; background: #fff; padding: 0 14px; font-size: 13px; }
.subscribe button { height: 44px; }
.subscribe .note { margin-top: 10px; font-size: 12px; color: var(--ok); min-height: 18px; }
@media (max-width: 1100px) {
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .home-hero img { aspect-ratio: 3 / 4; object-position: center; }
  .join-band > img { height: 360px; }
}
@media (max-width: 760px) {
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .cat-grid { grid-template-columns: 1fr; }
  .know-card { flex-basis: 240px; }
  .story-card { flex-basis: 260px; }
  .store-head { flex-direction: row; align-items: center; }
  .join-copy { position: static; background: #000; padding: 28px 20px 34px; }
  .join-band > img { height: 240px; }
}

/* ---------- language switch ---------- */
.lang-switch { position: relative; display: inline-flex; }
.lang-btn { letter-spacing: .12em; }
.lang-btn .lang-cur { min-width: 1.7em; text-align: center; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 12px); z-index: 90;
  min-width: 196px; padding: 6px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: none; grid-template-columns: 1fr;
}
.lang-switch.is-open .lang-menu { display: grid; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 9px 12px; font-size: 13px; text-align: start;
  letter-spacing: 0; text-transform: none; line-height: 1.4;
}
.lang-menu button:hover { background: rgba(0,0,0,.045); }
.lang-menu button i {
  font-style: normal; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.lang-menu button.is-on { font-weight: 600; }
.lang-menu button.is-on i { color: var(--ink); }
@media (max-width: 760px) {
  .lang-menu { inset-inline-end: -8px; min-width: 172px; }
  .lang-btn .lang-cur { display: none; }
}

/* ---------- right-to-left (Arabic) ----------
 * The direction itself comes from <html dir> which i18n.js sets. Only the
 * physical offsets written earlier in this file need mirroring here: everything
 * laid out with flexbox already flips on its own.
 */
html[dir="rtl"] .nav-link::after { transform-origin: right; }
html[dir="rtl"] .nav-link--sub::before { right: auto; left: 20px; }
html[dir="rtl"] .select-wrap::after { right: auto; left: 12px; }
html[dir="rtl"] .badge { left: auto; right: 10px; }
html[dir="rtl"] .hero-media figcaption { left: auto; right: 20px; }
html[dir="rtl"] .acc-btn,
html[dir="rtl"] .prose th,
html[dir="rtl"] .prose td,
html[dir="rtl"] .article-hero { text-align: start; }
/* the arabic face rounds and joins, so the wide letter-spacing used on latin
   small caps turns the words into unreadable ribbons */
html[dir="rtl"] .kicker,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .store-head h2,
html[dir="rtl"] .nav-link,
html[dir="rtl"] .btn { letter-spacing: 0; }
