/* Bili Beadwear — Atelier product page (pairs with scripts/atelier-pdp.js + atelier-3d.js) */

:root {
  --ax-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ax-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ax-stone: #f4f2ee;
  --ax-ink: #1d1c1a;
  --ax-mute: #77736c;
  --ax-line: rgba(29, 28, 26, 0.12);
}
.ax-page {
  --leather: #bea163;
  background: #fff;
}
.ax-page .rx-dash-rail {
  mix-blend-mode: difference;
}

.ax-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.ax-h2 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ax-ink);
}

/* ------------------------------------------------------------------ stage */
.ax-wrap {
  position: relative;
  height: calc((var(--steps, 3) + 1.4) * 100vh);
}
.ax-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--ax-ink);
  transition: color 0.9s var(--ax-ease);
}
.ax-backdrop,
.ax-backdrop::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.ax-backdrop {
  background: radial-gradient(120% 90% at 50% 42%, #ffffff 0%, #f6f4f0 48%, #e9e5de 100%);
}
.ax-backdrop::after {
  content: "";
  background: radial-gradient(80% 70% at 50% 40%, #2b241b 0%, #0d0b09 55%, #050505 100%);
  opacity: 0;
  transition: opacity 1.1s var(--ax-ease);
}
.ax-stage.is-night {
  color: #f3efe7;
}
.ax-stage.is-night .ax-backdrop::after {
  opacity: 1;
}

.ax-canvas-host {
  position: absolute;
  inset: 0;
  cursor: grab;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.4s var(--ax-ease) 0.15s, transform 1.8s var(--ax-ease) 0.15s;
}
.ax-ready .ax-canvas-host {
  opacity: 1;
  transform: none;
}
.ax-canvas-host.is-grabbing {
  cursor: grabbing;
}
.ax-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}
.ax-fallback {
  position: absolute;
  inset: 12% 20%;
  width: 60%;
  height: 76%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.ax-nogl {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 13px;
  color: var(--ax-mute);
}

/* ------------------------------------------------------------------ hero copy */
.ax-hero {
  --out: 0;
  position: absolute;
  left: clamp(24px, 6vw, 96px);
  bottom: clamp(120px, 17vh, 190px);
  max-width: min(520px, 42vw);
  opacity: calc(1 - var(--out));
  transform: translate3d(0, calc(var(--out) * -36px), 0);
  pointer-events: none;
}
.ax-hero > * {
  pointer-events: auto;
}
.ax-title {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.ax-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
}
.ax-word > span {
  display: inline-block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1.3s var(--ax-ease) calc(0.25s + var(--i) * 0.09s);
}
.ax-ready .ax-word > span {
  transform: none;
}
.ax-meaning {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.35;
}
.ax-line {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ax-mute);
}
.ax-stage.is-night .ax-line {
  color: rgba(243, 239, 231, 0.6);
}
.ax-meaning,
.ax-line,
.ax-price-row,
.ax-hero .ax-eyebrow {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 1.2s var(--ax-ease) 0.7s, transform 1.2s var(--ax-ease) 0.7s;
}
.ax-ready .ax-meaning,
.ax-ready .ax-line,
.ax-ready .ax-price-row,
.ax-ready .ax-hero .ax-eyebrow {
  opacity: 1;
  transform: none;
}
.ax-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ax-price {
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 0.01em;
}
.ax-fav {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 22%, transparent);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.4s, transform 0.4s var(--ax-ease);
}
.ax-fav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: fill 0.4s, stroke 0.4s;
}
.ax-fav:hover {
  transform: scale(1.06);
}
.ax-fav.is-on svg {
  fill: var(--gold);
  stroke: var(--gold);
}

/* ------------------------------------------------------------------ tour captions */
.ax-captions {
  position: absolute;
  right: clamp(24px, 7vw, 120px);
  top: 50%;
  width: min(380px, 34vw);
  transform: translateY(-50%);
  pointer-events: none;
}
.ax-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  transform: translateY(-50%);
}
.ax-caption > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.7s var(--ax-ease), transform 0.9s var(--ax-ease);
}
.ax-caption.is-on > * {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s var(--ax-ease) 0.35s, transform 1.3s var(--ax-ease) 0.35s;
}
.ax-caption.is-on > :nth-child(2) {
  transition-delay: 0.45s;
}
.ax-caption.is-on > :nth-child(3) {
  transition-delay: 0.58s;
}
.ax-caption-count {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
}
.ax-caption-count i {
  font-style: normal;
  margin: 0 6px;
  opacity: 0.5;
}
.ax-caption-title {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.ax-caption-line {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ax-mute);
}
.ax-stage.is-night .ax-caption-line {
  color: rgba(243, 239, 231, 0.66);
}
.ax-progress {
  position: absolute;
  top: calc(50% + 140px);
  left: 0;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.8s var(--ax-ease);
}
.ax-stage:not([data-step="0"]) .ax-progress {
  opacity: 1;
}
.ax-progress i {
  width: 26px;
  height: 2px;
  background: currentColor;
  opacity: 0.18;
  transition: opacity 0.6s, background 0.6s;
}
.ax-progress i.is-on {
  opacity: 1;
  background: var(--gold);
}

/* ------------------------------------------------------------------ hotspots */
.ax-spots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ax-spot {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: auto;
  cursor: pointer;
  color: inherit;
  opacity: 0;
  transition: opacity 0.6s var(--ax-ease);
}
.ax-stage.is-live .ax-spot {
  opacity: 1;
}
.ax-stage.is-live .ax-spot.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.ax-spot-dot {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(190, 161, 99, 0.9), 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.5s var(--ax-ease), background 0.4s;
}
.ax-spot-dot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(190, 161, 99, 0.7);
  animation: ax-pulse 2.6s var(--ax-ease) infinite;
}
@keyframes ax-pulse {
  0% {
    transform: scale(0.55);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}
.ax-spot:hover .ax-spot-dot,
.ax-spot.is-active .ax-spot-dot {
  transform: scale(1.25);
  background: var(--gold);
}
.ax-spot-label {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translate3d(-6px, -50%, 0);
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--ax-ink);
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ax-ease), transform 0.5s var(--ax-ease);
}
.ax-spot-label em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-deep);
  margin-right: 8px;
}
.ax-spot:hover .ax-spot-label,
.ax-spot:focus-visible .ax-spot-label {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}
.ax-stage:not([data-step="0"]) .ax-spot:not(.is-active) {
  opacity: 0.35;
}

/* ------------------------------------------------------------------ dock */
.ax-dock {
  position: absolute;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: max-content;
  bottom: clamp(18px, 3.2vh, 34px);
  transform: translate3d(0, 20px, 0);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 10px 40px rgba(28, 22, 14, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: opacity 1.1s var(--ax-ease) 1s, transform 1.2s var(--ax-ease) 1s, background 0.8s, color 0.8s;
  max-width: calc(100vw - 32px);
  z-index: 3;
}
.ax-ready .ax-dock {
  opacity: 1;
  transform: none;
}
.ax-stage.is-night .ax-dock {
  background: rgba(20, 18, 15, 0.7);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ax-chips-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ax-chip-label {
  min-width: 112px;
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.ax-chips {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ax-chip {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.4s var(--ax-ease);
}
.ax-chip span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 -3px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.45s var(--ax-ease);
}
.ax-chip:hover span {
  transform: scale(1.14);
}
.ax-chip.is-active {
  box-shadow: inset 0 0 0 1px var(--gold);
}
.ax-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid var(--ax-line);
}
.ax-stage.is-night .ax-tools {
  border-color: rgba(255, 255, 255, 0.12);
}
.ax-tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.35s;
}
.ax-tool:hover {
  background: rgba(190, 161, 99, 0.14);
}
.ax-tool[aria-pressed="true"] {
  background: var(--gold);
  color: #fff;
}
.ax-tool svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ax-tool--icon {
  width: 36px;
  padding: 0;
  justify-content: center;
}
.ax-tool-sep {
  width: 1px;
  height: 18px;
  margin: 0 4px;
  background: var(--ax-line);
}

/* ------------------------------------------------------------------ cue + drag bubble */
.ax-cue {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(28px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-nav);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ax-mute);
}
.ax-cue i {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: var(--ax-line);
}
.ax-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 1px;
  height: 50%;
  background: var(--gold-deep);
  animation: ax-cue 2.2s var(--ax-ease-io) infinite;
}
@keyframes ax-cue {
  to {
    top: 100%;
  }
}
.ax-drag {
  position: absolute;
  left: 0;
  top: 0;
  width: 74px;
  height: 74px;
  margin: -37px 0 0 -37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(190, 161, 99, 0.75);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  font-family: var(--font-nav);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  pointer-events: none;
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.35s, scale 0.5s var(--ax-ease);
  z-index: 2;
}
.ax-drag.is-on {
  opacity: 1;
  scale: 1;
}
.ax-stage.has-interacted .ax-drag,
.ax-canvas-host.is-grabbing ~ .ax-drag {
  opacity: 0;
}
.ax-page .rx-cursor {
  display: none;
}

/* ------------------------------------------------------------------ maker */
.ax-maker {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 120px);
  padding: clamp(80px, 14vh, 160px) clamp(24px, 7vw, 120px);
  background: #fff;
}
.ax-maker-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ax-stone);
}
.ax-maker-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  will-change: transform;
}
.ax-maker-media.ax-reveal {
  clip-path: inset(12% 10% 12% 10%);
  opacity: 1;
  transform: none;
  transition: clip-path 1.6s var(--ax-ease);
}
.ax-maker-media.ax-reveal.is-in {
  clip-path: inset(0 0 0 0);
}
.ax-maker-name {
  margin: 0 0 20px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(48px, 6.4vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--ax-ink);
}
.ax-maker-name em {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  letter-spacing: 0;
  color: var(--gold-deep);
  margin-top: 0.3em;
}
.ax-maker-role {
  margin: 0 0 36px;
  font-size: 14px;
  color: var(--ax-mute);
}
.ax-maker-quote {
  margin: 0 0 40px;
  padding-left: 22px;
  border-left: 1px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.4;
  color: var(--ax-ink);
  max-width: 30ch;
}
.ax-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ax-ink);
  text-decoration: none;
  padding-bottom: 6px;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ax-ease);
}
.ax-link:hover {
  background-size: 30% 1px;
}
.ax-link span {
  transition: transform 0.5s var(--ax-ease);
}
.ax-link:hover span {
  transform: translateX(6px);
}

/* ------------------------------------------------------------------ colours */
.ax-colours {
  padding: clamp(80px, 13vh, 150px) clamp(24px, 6vw, 96px);
  background: var(--ax-stone);
}
.ax-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 7vh, 72px);
  text-align: center;
}
.ax-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 42vw), 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  max-width: 1360px;
  margin: 0 auto;
}
.ax-shot {
  margin: 0;
}
.ax-shot-btn {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.4s;
}
.ax-shot-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.2s var(--ax-ease);
}
.ax-shot-btn:hover img {
  transform: scale(1.06);
}
.ax-shot-btn.is-active {
  box-shadow: inset 0 0 0 1px var(--gold);
}
.ax-shot figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 2px 0;
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ax-ink);
}
.ax-shot figcaption i,
.ax-var-name i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.ax-shot figcaption span {
  margin-left: auto;
  color: var(--gold-deep);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s, transform 0.5s var(--ax-ease);
}
.ax-shot:hover figcaption span {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ specs */
.ax-specs {
  padding: clamp(80px, 13vh, 150px) clamp(24px, 6vw, 96px);
  background: #fff;
}
.ax-specs-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 110px);
  max-width: 1280px;
  margin: 0 auto;
}
.ax-specs-inner > header {
  align-self: start;
  position: sticky;
  top: 120px;
}
.ax-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 64px);
  margin: 0;
}
.ax-spec {
  padding: 22px 0 26px;
  border-top: 1px solid var(--ax-line);
}
.ax-spec dt {
  margin-bottom: 8px;
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ax-mute);
}
.ax-spec dd {
  margin: 0;
  font-family: var(--font-title);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ax-ink);
}

/* ------------------------------------------------------------------ more */
.ax-more {
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 10vh, 120px);
  background: var(--ax-stone);
}
.ax-more-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 22vw);
  gap: clamp(14px, 1.6vw, 24px);
  padding: 0 clamp(24px, 6vw, 96px) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 clamp(24px, 6vw, 96px);
  scrollbar-width: thin;
}
.ax-card {
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--ax-ink);
}
.ax-card-img {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  margin-bottom: 16px;
}
.ax-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.2s var(--ax-ease);
}
.ax-card:hover .ax-card-img img {
  transform: scale(1.06);
}
.ax-card-name {
  display: block;
  font-family: var(--font-title);
  font-size: 18px;
}
.ax-card-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ax-mute);
}

/* ------------------------------------------------------------------ next */
.ax-next {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  align-items: end;
  column-gap: 40px;
  padding: clamp(70px, 14vh, 150px) clamp(24px, 6vw, 96px);
  background: var(--obsidian);
  color: #f3efe7;
  text-decoration: none;
  overflow: hidden;
}
.ax-next-label {
  grid-column: 1;
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.ax-next-name {
  grid-column: 1;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  transition: transform 0.9s var(--ax-ease);
}
.ax-next-hook {
  grid-column: 1;
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: rgba(243, 239, 231, 0.62);
}
.ax-next-img {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: clamp(140px, 18vw, 260px);
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1s var(--ax-ease);
}
.ax-next-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ax-next:hover .ax-next-img {
  clip-path: inset(0 0 0 0);
}
.ax-next:hover .ax-next-name {
  transform: translateX(14px);
}

/* ------------------------------------------------------------------ buybar */
.ax-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--ax-line);
  transform: translate3d(0, 100%, 0);
  transition: transform 0.8s var(--ax-ease);
}
.ax-buybar.is-on {
  transform: none;
}
.ax-buybar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px clamp(20px, 5vw, 64px);
}
.ax-buybar-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.ax-buybar-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.ax-buybar-text strong {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 15px;
  color: var(--ax-ink);
}
.ax-buybar-text span {
  font-size: 12px;
  color: var(--ax-mute);
}
.ax-buybar-price {
  margin-left: auto;
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--ax-ink);
}
.ax-btn {
  height: 46px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.4s, transform 0.4s var(--ax-ease);
}
.ax-btn--gold {
  background: var(--gold);
  color: #fff;
}
.ax-btn--gold:hover {
  background: var(--gold-deep);
}
.ax-btn:active {
  transform: scale(0.97);
}

/* ------------------------------------------------------------------ drawer */
.ax-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 8, 6, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ax-ease);
}
.ax-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}
.ax-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 71;
  width: min(480px, 100vw);
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.9s var(--ax-ease);
}
.ax-drawer.is-open {
  transform: none;
}
.ax-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--ax-line);
}
.ax-drawer-title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 22px;
  color: var(--ax-ink);
}
.ax-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ax-line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.ax-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--ax-ink);
  stroke-width: 1.5;
}
.ax-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px 32px 40px;
  overflow-y: auto;
}
.ax-var {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.ax-var-img {
  display: block;
  aspect-ratio: 1;
  background: var(--ax-stone);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.4s;
}
.ax-var-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 1s var(--ax-ease);
}
.ax-var:hover .ax-var-img img {
  transform: scale(1.05);
}
.ax-var.is-active .ax-var-img {
  box-shadow: inset 0 0 0 1px var(--gold);
}
.ax-var-name {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  font-family: var(--font-nav);
  font-size: 12px;
  color: var(--ax-ink);
}
.ax-drawer.is-open .ax-var {
  animation: ax-rise 0.9s var(--ax-ease) both;
}
.ax-drawer.is-open .ax-var:nth-child(2) { animation-delay: 0.05s; }
.ax-drawer.is-open .ax-var:nth-child(3) { animation-delay: 0.1s; }
.ax-drawer.is-open .ax-var:nth-child(4) { animation-delay: 0.15s; }
.ax-drawer.is-open .ax-var:nth-child(5) { animation-delay: 0.2s; }
.ax-drawer.is-open .ax-var:nth-child(6) { animation-delay: 0.25s; }
.ax-drawer.is-open .ax-var:nth-child(n + 7) { animation-delay: 0.3s; }
@keyframes ax-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
}

/* ------------------------------------------------------------------ toast */
.ax-toast {
  position: fixed;
  left: clamp(16px, 3vw, 32px);
  bottom: 96px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  font-size: 13px;
  color: var(--ax-mute);
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  pointer-events: none;
  transition: opacity 0.5s var(--ax-ease), transform 0.7s var(--ax-ease);
}
.ax-toast.is-on {
  opacity: 1;
  transform: none;
}
.ax-toast img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--ax-stone);
}
.ax-toast strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 14px;
  color: var(--ax-ink);
}

/* ------------------------------------------------------------------ reveals */
.ax-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1.1s var(--ax-ease) var(--d, 0ms), transform 1.3s var(--ax-ease) var(--d, 0ms);
}
.ax-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .ax-hero {
    max-width: none;
    right: 24px;
    bottom: 128px;
  }
  .ax-captions {
    left: 24px;
    right: 24px;
    top: auto;
    bottom: 132px;
    width: auto;
    transform: none;
  }
  .ax-caption {
    top: auto;
    bottom: 0;
    transform: none;
  }
  .ax-progress {
    display: none;
  }
  .ax-dock {
    left: 12px;
    right: 12px;
    width: auto;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 22px;
    padding: 10px 12px;
    gap: 8px;
  }
  .ax-ready .ax-dock {
    transform: none;
  }
  .ax-chip-label {
    display: none;
  }
  .ax-tools {
    width: 100%;
    justify-content: space-between;
    padding: 6px 0 0;
    border-left: 0;
    border-top: 1px solid var(--ax-line);
  }
  .ax-tool span {
    display: none;
  }
  .ax-tool {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
  .ax-cue {
    display: none;
  }
  .ax-maker,
  .ax-specs-inner {
    grid-template-columns: 1fr;
  }
  .ax-specs-inner > header {
    position: static;
  }
  .ax-spec-list {
    grid-template-columns: 1fr;
  }
  .ax-next {
    grid-template-columns: 1fr;
  }
  .ax-next-img {
    display: none;
  }
  .ax-buybar-text span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-page *,
  .ax-page *::before,
  .ax-page *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
body.reduce-motion.ax-page .ax-word > span,
body.reduce-motion.ax-page .ax-reveal {
  transform: none;
  opacity: 1;
}

/* ------------------------------------------------------------------ homepage: "In the round" */
.axh-stage.ax-stage {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 1000px;
}
.axh .ax-canvas-host {
  opacity: 1;
  transform: none;
}
.axh-copy {
  position: absolute;
  right: clamp(24px, 7vw, 120px);
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 36vw);
  color: #f3efe7;
  z-index: 2;
}
.axh-title {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #f3efe7;
}
.axh-title em {
  display: block;
  margin-top: 0.35em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.26em;
  letter-spacing: 0;
  color: var(--gold);
}
.axh-line {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(243, 239, 231, 0.66);
  max-width: 34ch;
}
.axh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: -6px;
}
.axh-chip-name {
  margin: 10px 0 30px;
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 231, 0.7);
}
.axh-link {
  color: #f3efe7;
}
.axh .ax-chip.is-active {
  box-shadow: inset 0 0 0 1px var(--gold);
}
.axh .ax-chip span {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 -3px 6px rgba(0, 0, 0, 0.2);
}
.axh .ax-drag {
  background: rgba(0, 0, 0, 0.2);
  color: var(--gold);
}
.axh .has-interacted .ax-drag {
  opacity: 0;
}
@media (max-width: 900px) {
  .axh-stage.ax-stage {
    height: 118vh;
    max-height: none;
  }
  .axh-copy {
    top: auto;
    bottom: 40px;
    left: 24px;
    right: 24px;
    width: auto;
    transform: none;
  }
}
