/* ---------- Tokens ---------- */
:root {
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 10px;
  --radius-sm: 6px;
  --font-display: "RazvDZN Display", system-ui, sans-serif;
  --font-body: "RazvDZN Body", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-case: none;
  --display-track: -0.01em;
  --display-weight: 700;
  --title-scale: 1;
  --card-title: 19px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
  --danger: #e5484d;
  --auto-ink: lch(from var(--accent) calc((62 - l) * 100) 0 0);
  --band: 255, 255, 255;
  /* widest em per letter of the display font, so long category words shrink to fit instead of breaking */
  --glyph: 0.66;
}

[data-look="rust"] {
  color-scheme: dark;
  --bg: #121110; --bg-2: #171513; --panel: #1b1916; --panel-2: #23201c;
  --line: #2e2a25; --line-2: #403a33;
  --ink: #efe8dc; --ink-2: #cfc6b8; --mute: #9b9184;
  --accent: #cd412b; --accent-ink: #ffffff; --accent-2: #e4a94b; --ok: #8fb35a; --sale: #e4a94b; --sale-ink: #1d1409;
  --radius: 3px; --radius-sm: 2px;
  --font-display: "RazvDZN Display", Impact, "Arial Narrow", sans-serif;
  --display-case: uppercase; --display-track: 0.01em; --display-weight: 400;
  --title-scale: 1.08; --glyph: 0.46; --card-title: 22px;
}






/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 18px; height: 18px; flex: none; }
.i--sm { width: 15px; height: 15px; }
.i--xl { width: 40px; height: 40px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--mute); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 12px; }

.display, .h1, .h2, .hero__title, .card__title, .feat__name, .champ__title, .dc__title, .page-title, .module__title, .step__title, .drawer__title, .brand__word {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-transform: var(--display-case);
  letter-spacing: var(--display-track);
  line-height: 1.05;
  text-wrap: balance;
}
.h2 { font-size: calc(clamp(28px, 3.4vw, 44px) * var(--title-scale)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- Buttons, chips, badges ---------- */
.btn {
  --btn-bg: transparent; --btn-ink: var(--ink); --btn-line: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px;
  background: var(--btn-bg); color: var(--btn-ink);
  border: 1px solid var(--btn-line); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.btn--primary { --btn-bg: var(--accent); --btn-ink: var(--accent-ink); --btn-line: var(--accent); }
.btn--primary:hover { --btn-bg: color-mix(in srgb, var(--accent) 86%, var(--ink)); --btn-line: var(--btn-bg); }
.btn--ghost:hover { --btn-line: var(--ink-2); --btn-bg: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn--muted { --btn-ink: var(--mute); --btn-line: var(--line); cursor: not-allowed; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; gap: 6px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: 0.6; pointer-events: none; }
.iconbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--ink-2); }
.iconbtn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.linkbtn { color: var(--mute); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--ink-2); white-space: nowrap; background: transparent;
  transition: border-color 0.18s, color 0.18s;
}
a.chip:hover, button.chip:hover, summary.chip:hover { border-color: var(--line-2); color: var(--ink); }
.chip__text { font-family: var(--font-mono); font-size: 12.5px; max-width: 26ch; overflow: hidden; text-overflow: ellipsis; }
.chip__hint { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.chip__count { color: var(--mute); }
.chip--join { color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }

.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  border-radius: var(--radius-sm); background: var(--ink); color: var(--bg);
}
.badge--sale { background: var(--sale); color: var(--sale-ink); }
.badge--out { background: rgba(0, 0, 0, 0.66); color: #fff; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.tag--accent { border-color: var(--accent-2); color: var(--accent-2); }
.avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--panel-2); flex: none; }
.avatar--initial { display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent); }

/* ---------- Topbar ---------- */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar__left { flex: 1 1 auto; overflow: hidden; }
.topbar__right { flex: none; }
.signin, .chip, .account { white-space: nowrap; }
.topbar__link { color: var(--ink-2); padding: 0 6px; }
.topbar__link:hover { color: var(--ink); }
.signin { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; color: var(--ink); font-weight: 600; border-radius: var(--radius-sm); }
.signin:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.account { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px 0 3px; border-radius: 999px; color: var(--ink); }
.account:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.account__name { font-weight: 600; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Popovers (details) ---------- */
.pop { position: relative; }
.pop > summary { display: inline-flex; align-items: center; gap: 6px; }
.pop > summary .i--sm { transition: transform 0.2s; }
.pop[open] > summary .i--sm { transform: rotate(180deg); }
.pop__panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 190px;
  display: grid; padding: 6px; background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.pop__panel--right { left: auto; right: 0; }
.pop__item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.pop__item:hover, .pop__item.is-active { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand__logo { max-height: 46px; width: auto; max-width: 200px; object-fit: contain; }
.brand__word { font-size: calc(24px * var(--title-scale)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand--footer .brand__word { white-space: normal; }
.nav { flex: 1; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; font-weight: 500; font-size: 15px; color: var(--ink-2); border-radius: var(--radius-sm); }
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -16px; height: 2px; background: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cart-btn { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; transition: border-color 0.18s; }
.cart-btn:hover { border-color: var(--ink-2); }
.cart-btn__count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.menu { display: none; }
.menu__btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.menu__sheet {
  position: fixed; inset: var(--menu-top, var(--header-h)) 0 0 0; z-index: 70;
  display: flex; flex-direction: column; gap: 20px; padding: 20px var(--gutter) 32px;
  background: var(--bg); overflow-y: auto; border-top: 1px solid var(--line);
}
.menu__sheet nav { display: grid; }
.menu__link { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.menu__link--sub { padding-left: 20px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.menu__foot { display: grid; gap: 4px; margin-top: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(440px, 64vh, 680px); padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 6vw, 88px); overflow: hidden; background: var(--bg-2); }
.hero__art { position: absolute; inset: 0; z-index: -2; }
.hero__art .art, .hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 62%, transparent) 38%, transparent 68%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}
.hero__in { position: relative; display: grid; justify-items: start; gap: 22px; }
.hero__title { max-width: 13ch; font-size: calc(clamp(48px, 7.4vw, 108px) * var(--title-scale)); line-height: 0.94; }
.hero__lead { max-width: 52ch; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .i { color: var(--accent-2); }
.i-paynow { flex: none; width: auto; height: 13px; aspect-ratio: 434 / 193; }
.hero__paynow { color: var(--ink); }
.hero--image .hero__art { background: #000; }
.hero--photo .hero__img { object-position: 50% 20%; }
@media (min-width: 761px) {
  /* the photo starts halfway into the text column and fades in, so the action sits beside the copy instead of under it */
  .hero--photo { --edge: max(var(--gutter), (100% - var(--wrap)) / 2); }
  .hero--photo .hero__img {
    position: absolute; top: 0; right: 0;
    width: calc(100% - var(--edge) - 260px);
    object-position: 50% 15%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%);
    mask-image: linear-gradient(90deg, transparent, #000 34%);
  }
  .hero--photo::after {
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--bg) 72%, transparent) calc(var(--edge) + 320px), transparent calc(var(--edge) + 780px)),
      linear-gradient(0deg, var(--bg) 0%, transparent 30%);
  }
  .hero--photo .hero__lead { max-width: 44ch; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__in > * { animation: rise 0.8s var(--ease) both; }
  .hero__in > :nth-child(2) { animation-delay: 0.06s; }
  .hero__in > :nth-child(3) { animation-delay: 0.12s; }
  .hero__in > :nth-child(4) { animation-delay: 0.18s; }
  .hero__in > :nth-child(5) { animation-delay: 0.24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section + .section { padding-top: 0; }
.hero + .section { padding-top: clamp(28px, 4vw, 52px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.more:hover { color: var(--ink); }
.more .i { transition: transform 0.2s var(--ease); }
.more:hover .i { transform: translateX(3px); }

/* ---------- Categories ---------- */
.catcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
/* an odd last card takes the whole row instead of leaving a hole */
.catcards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.catcard {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); align-items: center; gap: 12px;
  min-height: clamp(210px, 21vw, 280px); padding: clamp(22px, 2.6vw, 36px); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s;
}
.catcard:hover { border-color: var(--line-2); }
.catcard__text { display: grid; justify-items: start; gap: 18px; min-width: 0; container-type: inline-size; }
.catcard__name { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-track); font-size: calc(clamp(34px, 3.8vw, 58px) * var(--title-scale)); font-size: min(calc(clamp(34px, 3.8vw, 58px) * var(--title-scale)), calc(100cqi / (var(--chars, 1) * var(--glyph)))); line-height: 0.95; text-wrap: balance; overflow-wrap: anywhere; }
.catcard__cta { max-width: 100%; }
.catcard__cta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catcard__cta .i { transition: transform 0.2s var(--ease); }
.catcard:hover .catcard__cta .i { transform: translateX(3px); }
.catcard__art { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.catcard__art img { width: auto; max-width: 100%; height: clamp(150px, 17vw, 230px); object-fit: contain; object-position: right center; transition: transform 0.5s var(--ease); }
@media (hover: hover) { .catcard:hover .catcard__art img { transform: scale(1.04); } }
.catcard__initial { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(110px, 12vw, 190px); line-height: 0.8; color: color-mix(in srgb, var(--accent) 38%, transparent); }
.catcard__sale { margin-bottom: -6px; }
/* a category image set in the dashboard fills the card, the copy sits on a fade from the left */
.catcard--scene { isolation: isolate; border-color: var(--line-2); }
.catcard__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.catcard--scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--panel) 92%, transparent) 0%, color-mix(in srgb, var(--panel) 64%, transparent) 40%, transparent 74%),
    linear-gradient(0deg, color-mix(in srgb, var(--panel) 40%, transparent) 0%, transparent 42%);
}
.catcard--scene .catcard__cta { --btn-bg: color-mix(in srgb, var(--bg) 72%, transparent); --btn-line: color-mix(in srgb, var(--ink) 32%, transparent); }
@media (hover: hover) { .catcard--scene:hover .catcard__bg { transform: scale(1.04); } }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.card:hover { border-color: var(--line-2); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: scale-down; transition: transform 0.5s var(--ease); }
@media (hover: hover) { .card:hover .card__media img { transform: scale(1.035); } }
.card__badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px 16px 16px; }
.card__title { font-size: var(--card-title); line-height: 1.12; }
.card__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__label { margin-top: -2px; font-size: 13px; font-weight: 600; color: var(--accent-2); }
.card__note { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--mute); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.card__foot .btn, .card__foot form { position: relative; z-index: 2; }
.card.is-soldout .card__media img, .card.is-soldout .ph { opacity: 0.45; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.price__now { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price__was { font-size: 13px; color: var(--mute); }
.price__per { font-size: 13px; color: var(--mute); }

/* image placeholders, one per look */
.ph { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: var(--panel-2); }
.ph::after { content: attr(data-initial); font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(48px, 7vw, 84px); line-height: 1; color: color-mix(in srgb, var(--ink) 16%, transparent); }
[data-look="rust"] .ph { background: repeating-linear-gradient(90deg, #22201d 0 9px, #1b1917 9px 18px); }
[data-look="rust"] .ph::after { color: color-mix(in srgb, var(--accent) 55%, transparent); }









/* ---------- Featured carousel ---------- */
.feat {
  --feat-fade:
    linear-gradient(90deg, color-mix(in srgb, var(--panel) 96%, transparent) 0%, color-mix(in srgb, var(--panel) 80%, transparent) 40%, color-mix(in srgb, var(--panel) 28%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--panel) 94%, transparent) 0%, transparent 40%);
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  min-height: clamp(400px, 36vw, 500px); padding: clamp(28px, 3.6vw, 52px) clamp(28px, 4.4vw, 60px) 96px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.feat__track { display: grid; }
/* every slide sits in the same cell, so the box keeps the height of the tallest one and never jumps */
.feat__slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: clamp(20px, 4vw, 64px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.feat__slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.5s ease, visibility 0s; }
/* backdrop: the category scene with a slow push in while the slide is up, or a blurred wash of the product image */
.feat__backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.feat__backdrop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 9s cubic-bezier(0.2, 0.6, 0.3, 1); }
.feat__slide.is-on .feat__backdrop img { transform: scale(1.01); }
.feat__backdrop img.is-wash { inset: -20%; width: 140%; height: 140%; filter: blur(60px) saturate(1.3); opacity: 0.45; }
.feat__backdrop::after { content: ""; position: absolute; inset: 0; background: var(--feat-fade); }
.feat__body { position: relative; display: grid; justify-items: start; align-content: center; gap: 14px; min-width: 0; }
.feat__body > * { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.7s var(--ease); }
.feat__slide.is-on .feat__body > * { opacity: 1; transform: none; }
.feat__slide.is-on .feat__body > :nth-child(2) { transition-delay: 0.06s; }
.feat__slide.is-on .feat__body > :nth-child(3) { transition-delay: 0.12s; }
.feat__slide.is-on .feat__body > :nth-child(4) { transition-delay: 0.18s; }
.feat__slide.is-on .feat__body > :nth-child(5) { transition-delay: 0.24s; }
.feat__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.feat__name { font-size: calc(clamp(38px, 5vw, 76px) * var(--title-scale)); line-height: 0.95; overflow-wrap: anywhere; }
.feat__name a { transition: color 0.2s; }
.feat__name a:hover { color: var(--accent); }
.feat__blurb { display: -webkit-box; max-width: 46ch; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--ink-2); }
.feat__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
/* the product art comes in from the right and floats; translate keeps the float apart from the entrance transform */
.feat__media { position: relative; display: grid; place-items: center; justify-self: center; width: 100%; max-width: 360px; aspect-ratio: 1; }
.feat__media img { width: 100%; height: 100%; object-fit: scale-down; filter: drop-shadow(0 26px 28px rgba(0, 0, 0, 0.55)); opacity: 0; transform: translateX(28px) scale(0.96); transition: opacity 0.6s ease 0.1s, transform 0.9s var(--ease) 0.1s; }
.feat__slide.is-on .feat__media img { opacity: 1; transform: none; animation: featfloat 6s ease-in-out 1s infinite; }
@keyframes featfloat { 50% { translate: 0 -10px; } }
/* progress bar: the active segment fills while the slide is up, razvdzn.js moves on when it is full */
.feat__bar { position: absolute; left: clamp(28px, 4.4vw, 60px); right: clamp(28px, 4.4vw, 60px); bottom: 30px; z-index: 3; display: flex; align-items: center; gap: 20px; }
.feat__count { flex: none; font-family: var(--font-display); font-size: 16px; letter-spacing: 0.08em; color: var(--mute); font-variant-numeric: tabular-nums; }
.feat__count b { font-weight: inherit; color: var(--ink); }
.feat__progress { display: flex; flex: 1; gap: 6px; max-width: 340px; }
.feat__seg { position: relative; flex: 1; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 18%, transparent); transition: background-color 0.2s; }
.feat__seg::before { content: ""; position: absolute; inset: -14px 0; }
.feat__seg:hover { background: color-mix(in srgb, var(--ink) 34%, transparent); }
.feat__seg span { position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.feat__seg[aria-current="true"] span { transform: scaleX(1); }
.feat.is-auto .feat__seg[aria-current="true"] span { transform: scaleX(0); }
.feat__seg.is-run span { animation: featfill var(--feat-ms, 7s) linear forwards; }
.feat.is-held .feat__seg.is-run span { animation-play-state: paused; }
@keyframes featfill { to { transform: scaleX(1); } }
.feat__nav { display: flex; gap: 8px; margin-left: auto; }
.feat__arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bg) 60%, transparent); color: var(--ink); transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.feat__arrow:hover { border-color: var(--accent); color: var(--accent); }
.feat__arrow--prev .i { transform: rotate(90deg); }
.feat__arrow--next .i { transform: rotate(-90deg); }
/* Rust: chamfered steel plate, warm dusk light, film grain, a price tag and an accent mark on the top edge */
[data-look="rust"] .feat {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  border: 0; border-radius: 0; background: #15120f;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
[data-look="rust"] .feat::before { content: ""; position: absolute; top: 0; left: clamp(28px, 4.4vw, 60px); z-index: 3; width: 84px; height: 3px; background: var(--accent); }
[data-look="rust"] .feat__backdrop { background: radial-gradient(80% 110% at 86% 38%, rgba(205, 65, 43, 0.2), transparent 62%), radial-gradient(60% 70% at 100% 100%, rgba(228, 169, 75, 0.12), transparent 70%); }
[data-look="rust"] .feat__backdrop::after { background: var(--grain), var(--feat-fade); }
[data-look="rust"] .feat__price { padding: 6px 16px 6px 12px; background: rgba(0, 0, 0, 0.42); border-left: 3px solid var(--accent); }
[data-look="rust"] .feat__seg, [data-look="rust"] .feat__seg span { border-radius: 0; }
[data-look="rust"] .feat__arrow { border: 0; border-radius: 0; background: rgba(239, 232, 220, 0.08); clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); }
[data-look="rust"] .feat__arrow:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 16px; }
.module { display: grid; align-content: start; gap: 16px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.module__label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.module__title { font-size: calc(22px * var(--title-scale)); margin-top: 4px; }
.module--featured { grid-column: 1 / -1; order: -3; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 48px); padding: 0; overflow: hidden; }
.module--featured .feature__media { position: relative; align-self: stretch; min-height: 260px; background: var(--panel-2); }
.module--featured .feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 18px; object-fit: scale-down; }
.module--featured .feature__body { display: grid; gap: 14px; justify-items: start; padding: 28px 28px 28px 0; }
.module--featured .feature__name { font-size: calc(clamp(26px, 3vw, 38px) * var(--title-scale)); }
/* a wide picture behind the whole card (the style's own or the owner's), the copy sits on a fade from the right */
.feature__scene { display: none; }
[data-feature-art] .module--featured { position: relative; isolation: isolate; min-height: clamp(320px, 30vw, 420px); }
[data-feature-art] .feature__scene { display: block; position: absolute; inset: 0; z-index: -2; background: var(--feature-art) 50% 24% / cover no-repeat; }
[data-feature-art] .module--featured::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(270deg, color-mix(in srgb, var(--panel) 96%, transparent) 0%, color-mix(in srgb, var(--panel) 86%, transparent) 40%, color-mix(in srgb, var(--panel) 18%, transparent) 64%, transparent 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--panel) 60%, transparent) 0%, transparent 40%);
}
[data-feature-art] .module--featured .feature__media { background: none; }
[data-feature-art] .module--featured .feature__media img { padding: 28px; filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.6)); }
[data-feature-art] .module--featured .muted { color: var(--ink-2); }
.goal__bar { position: relative; height: 10px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.goal__fill { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: inherit; }
.goal__bar--striped .goal__fill { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 8px, transparent 8px 16px); }
.goal__bar--animate .goal__fill { transform-origin: left; animation: grow 1.4s var(--ease) both 0.2s; }
@keyframes grow { from { transform: scaleX(0); } }
.goal__nums { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.people { display: grid; gap: 4px; }
.person { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; }
.person .avatar { width: 36px; height: 36px; border-radius: var(--radius-sm); }
.person__name { font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person__meta { font-size: 13px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person__side { font-size: 13px; color: var(--mute); white-space: nowrap; }
.rank { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--panel-2); font-family: var(--font-display); font-size: 18px; color: var(--accent-2); }
/* ---------- Gift card art ---------- */
/* the art takes the room the grid row leaves at the bottom of the card, and razvdzn.js moves it to the top corner (gift--compact) when that room is too small. The card never grows for it */
.module--gift { position: relative; display: flex; flex-direction: column; }
.gift__art { display: none; }
[data-gift-art] .gift__art { display: block; position: relative; flex: 1 1 0; min-height: 0; margin: 0 -22px -22px; pointer-events: none; }
.gift__art span { position: absolute; inset: 0; background: var(--gift-art) right bottom / contain no-repeat; }
.gift--compact .gift__art { position: static; }
.gift--compact .gift__art span { inset: 6px 10px auto auto; width: 76px; height: 76px; }
[data-gift-art] .gift--compact header { padding-right: 84px; }

/* ---------- Discord card ---------- */
.module--discord {
  position: relative; isolation: isolate; overflow: hidden; order: -1; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.6vw, 32px);
  border-color: color-mix(in srgb, #5865f2 38%, var(--line));
  background: linear-gradient(165deg, color-mix(in srgb, #5865f2 20%, var(--panel)) 0%, var(--panel) 62%);
}
.dc__mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: var(--radius); background: #5865f2; color: #fff; }
.dc__mark .i { width: 30px; height: 30px; }
.dc__copy { display: grid; justify-items: start; gap: 10px; }
.dc__title { font-size: calc(clamp(26px, 2.4vw, 34px) * var(--title-scale)); }
.dc__lead { max-width: 36ch; color: var(--ink-2); line-height: 1.6; }
.dc__online { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.dc__online::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ba55d; }
.dc__btn { --btn-bg: #5865f2; --btn-ink: #ffffff; --btn-line: #5865f2; margin-top: auto; width: 100%; }

/* with a character the button follows the copy and the art fills the bottom, bleeding off the right and bottom edges */
.module--discord.has-art .dc__btn { margin-top: 6px; }
.dc__art { display: block; align-self: flex-end; width: calc(100% + 24px); max-width: 400px; height: auto; margin: auto calc(-1 * clamp(24px, 2.6vw, 32px)) calc(-1 * clamp(24px, 2.6vw, 32px) - 18px) 0; pointer-events: none; }
.dc__watermark { position: absolute; right: -40px; bottom: 70px; z-index: -1; width: 230px; height: 230px; color: #5865f2; opacity: 0.1; transform: rotate(-12deg); pointer-events: none; }

/* ---------- Top supporter ---------- */
.module--top { position: relative; isolation: isolate; display: block; grid-column: span 2; order: -2; min-height: 440px; overflow: hidden; padding: clamp(26px, 3vw, 36px) clamp(26px, 3vw, 36px) 96px; }
.champ__copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; max-width: 55%; }
.champ__title { font-size: calc(clamp(28px, 2.8vw, 40px) * var(--title-scale)); }
.champ__lead { margin-top: 12px; max-width: 44ch; color: var(--ink-2); line-height: 1.6; }
.champ__seat { display: inline-flex; align-items: center; gap: 16px; margin-top: 30px; padding: 16px 26px 16px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.champ__avatar { flex: none; width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; }
.champ__avatar--initial { display: grid; place-items: center; background: var(--panel-2); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 28px; color: var(--accent-2); }
.champ__name { display: block; font-size: 19px; color: var(--ink); line-height: 1.25; overflow-wrap: anywhere; }
.champ__seat small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--mute); }
.champ__powered { position: absolute; left: clamp(26px, 3vw, 36px); bottom: 28px; z-index: 4; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); opacity: 0.9; transition: opacity 0.2s; }
.champ__powered:hover { opacity: 1; }
.champ__powered span { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.champ__paynow { height: 18px; width: auto; aspect-ratio: 582 / 92; }
.champ__paynow--color { display: none; }


/* slanted light bands drifting behind the character */
.champ__bands { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.champ__bands span { position: absolute; top: -350px; width: 489px; height: calc(100% + 600px); background: linear-gradient(85deg, rgba(var(--band), 0.35), rgb(var(--band))); transform: rotate(27deg); }
.champ__bands span:nth-child(1) { right: -40px; opacity: 0.04; animation: bands 6s ease infinite; }
.champ__bands span:nth-child(2) { right: -130px; opacity: 0.07; animation: bands 12s ease infinite; }
.champ__bands span:nth-child(3) { right: -220px; opacity: 0.13; animation: bands 9s ease infinite; }
@keyframes bands { 0%, 100% { transform: translateX(-20px) rotate(27deg); } 50% { transform: translateX(20px) rotate(27deg); } }
/* the character stands in the bottom right and fades into the card */
.champ__art { display: none; }
[data-top-art] .champ__art {
  display: block; position: absolute; right: clamp(8px, 3vw, 40px); bottom: -14px; z-index: 2; height: min(84%, 600px); min-height: 430px; aspect-ratio: 2 / 3; pointer-events: none;
  background: var(--top-art) center bottom / contain no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.prose { color: var(--ink-2); }
.prose > * + * { margin-top: 0.8em; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--radius-sm); }
.field { display: grid; gap: 8px; }
.input, .select {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); color: var(--ink);
  transition: border-color 0.18s;
}
.input::placeholder { color: var(--mute); }
.input:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.inline-form { display: flex; gap: 8px; }
.inline-form .input { flex: 1; min-width: 0; }
.note { padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; background: var(--panel-2); border: 1px solid var(--line-2); }
.note--error { border-color: color-mix(in srgb, var(--danger) 60%, transparent); color: color-mix(in srgb, var(--danger) 40%, var(--ink)); }
.note--ok { border-color: color-mix(in srgb, var(--ok) 60%, transparent); }

/* ---------- Steps ---------- */
.section--steps .h2 { margin-bottom: clamp(20px, 3vw, 36px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { display: grid; gap: 10px; align-content: start; padding: 24px 0 0; border-top: 2px solid var(--line-2); }
.step__n { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.1em; color: var(--accent); }
.step__title { font-size: calc(24px * var(--title-scale)); }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(40px, 6vw, 80px); padding: clamp(44px, 6vw, 72px) 0 0; background: var(--bg-2); border-top: 1px solid var(--line); font-size: 14px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer__brand { display: grid; gap: 16px; align-content: start; max-width: 360px; }
.brand--footer .brand__logo { max-height: 40px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col a { color: var(--ink-2); }
.footer__col a:hover { color: var(--ink); }
.footer__head { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 6px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-2); transition: border-color 0.18s, color 0.18s; }
.socials a:hover { border-color: var(--line-2); color: var(--ink); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 40px; padding: 22px 0 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }
.paybar { border-top: 1px solid var(--line); background: var(--bg); font-size: 12.5px; color: var(--mute); }
.paybar__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 32px; padding-block: 20px; }
.paybar__logo { display: block; color: var(--ink); opacity: 0.88; transition: opacity 0.2s; }
.paybar__logo:hover { opacity: 1; }
.paybar__word { display: block; width: auto; height: 18px; aspect-ratio: 582 / 92; }
.paybar__text { display: grid; gap: 3px; line-height: 1.55; }
.paybar__text p:first-child { color: var(--ink-2); }
.paybar__entity a, .paybar__links a { color: var(--ink-2); }
.paybar__entity a:hover, .paybar__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.paybar__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; white-space: nowrap; }
.credit { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); flex: none; }
.credit__sig { width: auto; height: 26px; aspect-ratio: 1841 / 731; color: var(--ink); opacity: 0.82; transform: rotate(-7deg); transition: opacity 0.2s, transform 0.3s; }
.credit:hover .credit__sig { opacity: 1; transform: rotate(-7deg) scale(1.06); }

/* ---------- Drawer + cart ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 0.25s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--bg); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform 0.32s var(--ease); outline: none; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: calc(26px * var(--title-scale)); }
.drawer .cartbox { flex: 1; min-height: 0; }
.cartbox { display: flex; flex-direction: column; }
.cartbox__empty { display: grid; justify-items: center; gap: 10px; margin: auto; padding: 48px 24px; text-align: center; }
.cartbox__empty .i--xl { color: var(--mute); margin-bottom: 6px; }
.cartbox__empty .btn { margin-top: 12px; }
.cartbox__title { font-weight: 700; font-size: 18px; }
.lines { flex: 1; overflow-y: auto; padding: 4px 20px; }
.line { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 28px; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__thumb { position: relative; width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; background: var(--panel-2); }
.line__thumb img { width: 100%; height: 100%; object-fit: contain; }
.line__thumb .ph::after { font-size: 26px; }
.line__body { display: grid; gap: 6px; min-width: 0; }
.line__name { font-weight: 600; line-height: 1.3; }
.line__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.line__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--mute); }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.line__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.line__qty { font-size: 13px; color: var(--mute); }
.line__remove button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-sm); color: var(--mute); }
.line__remove button:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.stepper__btn { display: grid; place-items: center; width: 32px; height: 32px; color: var(--ink-2); }
.stepper__btn:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.stepper__value { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.cartbox__sum { display: grid; gap: 10px; padding: 18px 20px 20px; border-top: 1px solid var(--line); background: var(--bg-2); }
.sumrow { display: flex; align-items: baseline; justify-content: space-between; font-size: 15px; }
.sumrow strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.cartbox__clear { justify-self: center; }
.cartbox.is-busy { opacity: 0.6; pointer-events: none; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: grid; gap: 10px; width: min(380px, calc(100% - 40px)); }
.toast { padding: 13px 16px; background: var(--panel-2); color: var(--ink); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: 14px; animation: toast-in 0.28s var(--ease) both; }
.toast--error { border-left-color: var(--danger); }
.toast--success { border-left-color: var(--ok); }
.toast.is-leaving { animation: toast-out 0.25s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ---------- Page heads ---------- */
.pagehead { padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.pagehead--slim { padding-bottom: clamp(20px, 2.6vw, 28px); }
.page-title { font-size: calc(clamp(34px, 4.6vw, 60px) * var(--title-scale)); }
.pagehead__desc { max-width: 70ch; margin-top: 14px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13.5px; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }
.crumbs__sep { transform: rotate(-90deg); opacity: 0.7; }
.crumbs [aria-current] { color: var(--ink-2); }
.section--list { padding-top: clamp(24px, 3vw, 36px); }
.h3 { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-track); font-size: calc(24px * var(--title-scale)); line-height: 1.1; }

/* ---------- Toolbar, tabs ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; }
.toolbar__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs__item { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: border-color 0.18s, color 0.18s, background-color 0.18s; }
.tabs__item:hover { border-color: var(--line-2); color: var(--ink); }
.tabs__item.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tabs--account { margin-bottom: 24px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.select--sm { height: 38px; width: auto; padding: 0 34px 0 12px; font-size: 14px; }
.emptystate { display: grid; justify-items: center; gap: 10px; padding: clamp(40px, 6vw, 72px) 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.emptystate .i--xl { color: var(--mute); }
.emptystate .btn { margin-top: 10px; }

/* ---------- Product page ---------- */
.section--product { padding-top: clamp(24px, 3vw, 40px); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pdp__media { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; }
.pdp__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.pdp__stage img { width: 100%; height: 100%; padding: 20px; object-fit: scale-down; }
.pdp__stage video { width: 100%; height: 100%; object-fit: contain; }
.pdp__stage .ph::after { font-size: clamp(90px, 14vw, 180px); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs__btn { display: grid; place-items: center; width: 76px; height: 58px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); color: var(--ink-2); }
.thumbs__btn img { width: 100%; height: 100%; object-fit: contain; }
.thumbs__btn.is-active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pdp__buy { display: grid; gap: 22px; align-content: start; }
.pdp__head { display: grid; gap: 10px; }
.pdp__title { font-size: calc(clamp(34px, 4vw, 56px) * var(--title-scale)); }
.pdp__label { font-size: 16px; font-weight: 600; color: var(--accent-2); }
.pdp__price { display: grid; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.price--lg .price__now { font-size: clamp(26px, 2.6vw, 34px); }
.price--lg .price__was, .price--lg .price__per { font-size: 16px; }
.pdp__sale { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--accent-2); }
.buy { display: grid; gap: 18px; }
.buy__hint { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.buy__actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.seg > .field__label { grid-column: 1 / -1; margin-bottom: 2px; }
.seg__opt { position: relative; display: block; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__body { display: grid; gap: 2px; height: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color 0.18s, background-color 0.18s; }
.seg__title { font-weight: 700; }
.seg__sub { font-size: 13px; color: var(--mute); }
.seg__opt:hover .seg__body { border-color: var(--ink-2); }
.seg__opt input:checked + .seg__body { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); box-shadow: inset 0 0 0 1px var(--accent); }
.seg__opt input:focus-visible + .seg__body { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field__hint { font-size: 13px; color: var(--mute); }
.field--row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper--lg .stepper__btn { width: 42px; height: 42px; }
.stepper__input { width: 48px; height: 42px; border: 0; background: none; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input--lg { height: 52px; font-size: 16px; }
.gift { border: 1px solid var(--line); border-radius: var(--radius-sm); }
.gift__toggle { display: flex; align-items: center; gap: 10px; padding: 13px 14px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.gift__toggle:hover { color: var(--ink); }
.gift[open] .gift__toggle { color: var(--ink); border-bottom: 1px solid var(--line); }
.gift__body { display: grid; gap: 10px; padding: 14px; }
.assure { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.assure li { display: flex; align-items: center; gap: 10px; }
.assure .i { color: var(--accent-2); }
.pdp__desc { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.pdp__desc .prose { max-width: 76ch; }
.tierbox { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--panel); font-size: 14px; }
.tierbox__row { display: flex; justify-content: space-between; gap: 12px; }
.tierbox__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Cart page ---------- */
.cartpage .cartbox { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.cartpage .cartbox__empty { grid-column: 1 / -1; }
.cartpage .lines { padding: 0; overflow: visible; border-top: 1px solid var(--line); }
.cartpage .line { grid-template-columns: 88px minmax(0, 1fr) 32px; padding: 20px 0; }
.cartpage .line__thumb { width: 88px; height: 88px; }
.cartpage .cartbox__sum { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Account ---------- */
.acct-head { display: flex; align-items: center; gap: 18px; }
.acct-head .page-title { font-size: calc(clamp(30px, 3.6vw, 46px) * var(--title-scale)); }
.acct-head__out { margin-left: auto; }
.avatar--lg { width: 64px; height: 64px; border-radius: var(--radius); font-size: 26px; }
.rows, .subs { display: grid; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row__thumb { position: relative; width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; background: var(--panel-2); }
.row__thumb img { width: 100%; height: 100%; object-fit: contain; }
.row__thumb .ph::after { font-size: 22px; }
.row__title, .sub__title { font-weight: 600; }
.row__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--mute); }
.row__meta a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.row__side { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sub { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sub__main { display: grid; gap: 6px; }
.sub__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.confirm { position: relative; }
.confirm[open] > summary { border-color: var(--ink-2); }
.confirm__panel { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; display: grid; gap: 12px; width: min(320px, 80vw); padding: 16px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 14px; }

/* ---------- Sign in ---------- */
.auth { min-height: 62vh; display: grid; place-items: center; }
.auth__card { width: min(480px, 100%); margin-inline: auto; display: grid; gap: 28px; padding: clamp(24px, 4vw, 40px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.auth__head { display: grid; justify-items: center; gap: 12px; text-align: center; }
.auth__avatar { position: relative; display: grid; place-items: center; width: 88px; height: 88px; border-radius: var(--radius); background: var(--panel-2); color: var(--mute); overflow: hidden; }
.auth__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.auth__title { font-size: calc(clamp(26px, 3vw, 36px) * var(--title-scale)); }
.auth__form { display: grid; gap: 18px; }
.auth__legal { text-align: center; }
.auth__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Order complete ---------- */
.done__in { display: grid; justify-items: center; gap: 18px; max-width: 720px; text-align: center; }
.done__mark { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.done__title { font-size: calc(clamp(38px, 5vw, 64px) * var(--title-scale)); }
.done__text { font-size: 17px; }
.done__steps { display: grid; gap: 12px; width: 100%; margin: 8px 0 6px; text-align: left; }
.done__steps li { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-2); font-size: 15px; }
.done__steps .i { color: var(--accent-2); margin-top: 2px; }
.done__steps a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.done .hero__cta { justify-content: center; }
.prose--page { max-width: 76ch; font-size: 16.5px; }
.prose h2, .prose h3 { color: var(--ink); font-family: var(--font-display); text-transform: var(--display-case); letter-spacing: var(--display-track); line-height: 1.15; margin-top: 1.4em; }

/* ---------- Look details ---------- */
[data-look="rust"] .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 7px, rgba(0, 0, 0, 0.1) 7px 14px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
[data-look="rust"] .btn--primary { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); border-radius: 0; }
[data-look="rust"] .eyebrow { color: var(--accent-2); }




























/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module--top { grid-column: 1 / -1; }
  .champ__copy { max-width: 60%; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { position: static; }
  .cartpage .cartbox { grid-template-columns: 1fr; }
  .cartpage .cartbox__sum { position: static; }
  .nav { display: none; }
  .menu { display: block; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
  .paybar__in { grid-template-columns: auto minmax(0, 1fr); }
  .paybar__links { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .buy__actions { grid-template-columns: 1fr; }
  .acct-head { flex-wrap: wrap; }
  .acct-head__out { margin-left: 0; }
  .toolbar__right { margin-left: 0; width: 100%; justify-content: space-between; }
  :root { --header-h: 64px; }
  .topbar .chip--discord, .topbar .chip--join, .topbar .chip--players, .topbar .chip--status, .topbar__link, .account__name, .chip__hint, .signin__more { display: none; }
  .topbar__right { gap: 2px; }
  .cart-btn__label { display: none; }
  .hero { min-height: 0; padding: 64px 0 56px; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 72%, transparent) 55%, color-mix(in srgb, var(--bg) 40%, transparent) 100%); }
  .feat { --feat-fade: linear-gradient(0deg, color-mix(in srgb, var(--panel) 97%, transparent) 0%, color-mix(in srgb, var(--panel) 84%, transparent) 50%, color-mix(in srgb, var(--panel) 40%, transparent) 100%); min-height: 0; padding: 18px 18px 76px; }
  .feat__slide { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 6px; }
  .feat__media { order: -1; max-width: 210px; }
  .feat__actions > * { flex: 1 1 140px; }
  .feat__bar { left: 18px; right: 18px; bottom: 24px; }
  .feat__progress { max-width: none; }
  .feat__nav { display: none; }
  [data-look="rust"] .feat::before { left: 18px; }
  .catcards { grid-template-columns: minmax(0, 1fr); }
  .catcard { min-height: 170px; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); padding: 20px; }
  .catcard__art img { height: 130px; }
  .catcard__initial { font-size: 110px; }
  .catcard__cta-name { display: none; }
  .modules { grid-template-columns: minmax(0, 1fr); }
  .module--top { min-height: 0; padding-bottom: 330px; }
  .champ__copy { max-width: none; }
  .champ__powered { position: static; margin-top: 22px; }
  .champ__bands span { top: auto; bottom: -260px; width: 220px; height: 760px; }
  [data-top-art] .champ__art { right: 50%; transform: translateX(50%); width: 210px; height: 310px; min-height: 0; aspect-ratio: auto; bottom: -10px; }
  .module--featured { grid-template-columns: 1fr; }
  .module--featured .feature__body { padding: 0 20px 22px; }
  .module--featured .feature__media { min-height: 200px; }
  [data-feature-art] .module--featured .feature__media img { inset: auto auto 4px 12px; width: min(46%, 170px); height: auto; aspect-ratio: 1; padding: 0; object-fit: contain; object-position: left bottom; }
  [data-feature-art] .module--featured::before { background: linear-gradient(0deg, color-mix(in srgb, var(--panel) 97%, transparent) 0%, color-mix(in srgb, var(--panel) 90%, transparent) 46%, color-mix(in srgb, var(--panel) 30%, transparent) 72%, transparent 100%); }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .paybar__in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero__art { opacity: 0.5; }
  .hero--image .hero__art, .hero--photo .hero__art { opacity: 1; }
}
@media (max-width: 520px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__body { padding: 12px; gap: 6px; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .card__foot .btn { width: 100%; }
  .card__note { font-size: 12px; }
  .chip--address .chip__text { max-width: 16ch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
