/* Quantum Quirks 3D Printing — homepage styles
   Palette: void / nebula / panel backgrounds, quirk pink + quantum violet accents,
   moon (warm off-white) text, glow (warm lamp light) highlights. */

@font-face { font-family: 'Orbitron'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/orbitron-latin.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../fonts/manrope-latin.woff2') format('woff2'); }

:root {
  --void: #07040f;
  --nebula: #11072a;
  --panel: #1a0d3d;
  --panel-2: #22124d;
  --pink: #ff2d95;
  --pink-deep: #c9106d;
  --violet: #7c3aed;
  --violet-soft: #a78bfa;
  --moon: #f5efe4;
  --glow: #ffd9a3;
  --muted: #b6a9d1;
  --line: rgba(255, 255, 255, 0.08);
  --display: 'Orbitron', 'Segoe UI', sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --header-h: 106px;
  --radius: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--moon);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0; line-height: 1.08; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--pink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; padding-inline: var(--gutter); }
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3.6rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; flex: 1 1 40ch; max-width: 120ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); }

/* layer-line texture: the FDM signature, faint horizontal print layers */
.layers::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.035) 0 1px, transparent 1px 7px);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .55; }
.orb--pink { background: var(--pink); }
.orb--violet { background: var(--violet); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em; position: relative; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--pink { background: linear-gradient(135deg, var(--pink), #ff5fb0); color: #fff; box-shadow: 0 10px 34px -10px rgba(255,45,149,.75); }
.btn--pink:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255,45,149,.95); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.28); color: var(--moon); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--pink); background: rgba(255,45,149,.08); transform: translateY(-2px); }
.btn--violet { background: var(--violet); color: #fff; box-shadow: 0 10px 30px -10px rgba(124,58,237,.8); }
.btn--violet:hover { background: #8b4dff; transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--pink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; padding: 16px 0;
  transition: padding .45s var(--ease-out), background .45s, box-shadow .45s;
}
.site-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,4,15,.85), rgba(7,4,15,0)); z-index: -1; pointer-events: none; transition: opacity .4s; }
.site-header.is-scrolled { padding: 8px 0; background: rgba(9,5,20,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled::after { opacity: 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; }
.logo img { height: 72px; width: auto; transition: height .45s var(--ease-out); filter: drop-shadow(0 0 18px rgba(255,45,149,.35)); }
.is-scrolled .logo img { height: 48px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--moon); transition: background .3s, color .3s; }
.nav a:hover, .nav a[aria-current] { background: rgba(255,255,255,.08); }
.nav a[aria-current] { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,45,149,.5); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.2); font-weight: 700; transition: border-color .3s, background .3s;
}
.cart-btn:hover { border-color: var(--pink); background: rgba(255,45,149,.1); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn .cart-total { font-variant-numeric: tabular-nums; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--pink); color: #fff;
  font-size: .78rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease-out);
}
.cart-count.bump { transform: scale(1.35); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--moon); margin: 3px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.scroll-progress { position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--pink), var(--violet)); }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 55; background: rgba(7,4,15,.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav a { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 8vw, 2.4rem); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .mobile-contact { margin-top: 30px; color: var(--muted); }
.mobile-nav .mobile-contact a { font: inherit; text-transform: none; border: 0; padding: 4px 0; display: block; color: var(--moon); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media video { position: absolute; inset: 0; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to right, rgba(7,4,15,.9) 0%, rgba(7,4,15,.66) 46%, rgba(7,4,15,.08) 78%),
  linear-gradient(to top, rgba(7,4,15,.95) 0%, rgba(7,4,15,.15) 45%, rgba(7,4,15,.35) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(30px, 4vw, 60px); align-items: end; }
.hero-title { grid-column: 1 / -1; }
@media (min-width: 901px) { .hero-title .hl { display: block; } } /* one sentence per line where each fits; normal flow on phones */
.hero-copy { grid-column: 1; }
.hero-card { grid-column: 2; grid-row: 2; align-self: end; }
.hero h1 { font-size: clamp(2.3rem, 5.3vw, 5.4rem); font-weight: 900; line-height: 1.02; letter-spacing: .01em; text-shadow: 0 6px 40px rgba(0,0,0,.5); }
.hero h1 .accent { color: var(--pink); }
.hero .lead { margin: 26px 0 34px; max-width: 120ch; color: #e6ddf5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-card {
  justify-self: end; width: min(100%, 360px); background: rgba(14,8,32,.62); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,45,149,.15);
}
.hero-card img { width: 92px; height: 92px; object-fit: cover; border-radius: 14px; }
.hero-card .hc-tag { font-size: .78rem; font-weight: 700; color: var(--pink); text-transform: uppercase; letter-spacing: .08em; }
.hero-card .hc-name { font-family: var(--display); text-transform: uppercase; font-size: .95rem; margin: 2px 0 4px; }
.hero-card .hc-price { font-weight: 800; font-size: 1.15rem; }
.hero-card .hc-price small { font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: 6px; }
.hero-card .btn { margin-top: 10px; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 22px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.scroll-cue i { width: 34px; height: 1px; background: var(--pink); display: block; }

/* heading line masks (descender-safe) */
.mask { display: block; overflow: hidden; padding: .3em .15em .35em; margin: -.3em -.15em -.35em; }
.mask > .line { display: block; will-change: transform; }

/* ---------- marquee ---------- */
.marquee { --speed: 32s; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(255,45,149,.12), rgba(124,58,237,.12)); padding: 16px 0; position: relative; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee var(--speed) linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--display); text-transform: uppercase; font-size: .9rem; letter-spacing: .12em; font-weight: 700; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- products rail ---------- */
.products { background: var(--nebula); overflow: hidden; }
.products .section-head { padding-inline: var(--gutter); margin-bottom: clamp(22px, 3vw, 36px); align-items: center; }
.products .section-head h2 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); max-width: none; flex: 1 1 520px; }
.products .section-head p { flex: 0 1 460px; max-width: none; }
.js .products.section { padding-top: 92px; padding-bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 1023px) { .js .products.section { padding-top: clamp(60px, 8vw, 90px); } }
.rail { position: relative; overflow-x: auto; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.js .rail.is-pinned { overflow: visible; }
.rail-track { display: flex; gap: clamp(18px, 2.4vw, 32px); padding-inline: var(--gutter); width: max-content; }
.product-card {
  width: clamp(300px, 26vw, 400px); flex: none; background: linear-gradient(160deg, var(--panel), #140a30); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,45,149,.45); box-shadow: 0 30px 60px -30px rgba(255,45,149,.45); }
.product-card .frame { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
.product-card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.product-card:hover .frame img { transform: scale(1.06); }
.product-card .frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; pointer-events: none; mix-blend-mode: overlay; }
.product-card .badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--pink); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; }
.product-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.product-card .price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.product-card .price { font-weight: 800; font-size: 1.35rem; }
.product-card .price small { display: block; font-size: .75rem; font-weight: 600; color: var(--violet-soft); }
.rail-end { width: clamp(260px, 22vw, 340px); flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 24px; border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.2); }
.rail-end h3 { font-size: 1.3rem; }
.rail-hint { display: none; padding: 16px var(--gutter) 0; color: var(--muted); font-size: .85rem; }

/* ---------- stage gallery (sticky, scroll-driven) ---------- */
.stage { position: relative; height: 320vh; background: #05030b; }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage-slide { position: absolute; inset: 0; opacity: 0; }
.stage-slide:first-child { opacity: 1; }
.stage-slide .slide-media { position: absolute; inset: 0; }
.stage-slide .slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.02); }
.stage-slide .slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(5,3,11,.9) 0, rgba(5,3,11,.6) 35%, rgba(5,3,11,.05) 65%), linear-gradient(to top, rgba(5,3,11,.85), transparent 40%); }
.stage-copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(60px, 10vh, 120px); }
.stage-copy .eyebrow-num { font-family: var(--display); font-size: .85rem; color: var(--pink); letter-spacing: .15em; margin-bottom: 14px; display: block; }
.stage-copy h3 { font-size: clamp(1.8rem, 4vw, 3.4rem); margin-bottom: 14px; }
.stage-copy p { color: #ddd3ee; font-size: 1.05rem; max-width: 120ch; text-shadow: 0 2px 18px rgba(0,0,0,.85); }
.stage-copy .price { font-weight: 800; font-size: 1.3rem; margin-right: 16px; }
.stage-copy .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.stage-title { position: absolute; top: calc(var(--header-h) + 10px); left: var(--gutter); right: var(--gutter); z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.stage-title h2 { font-size: clamp(1.3rem, 2.6vw, 2rem); }
.stage-nav { position: absolute; right: var(--gutter); bottom: clamp(60px, 10vh, 120px); z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.stage-dots { display: flex; flex-direction: column; gap: 10px; }
.stage-dots button { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); transition: background .3s, transform .3s, border-color .3s; }
.stage-dots button[aria-current="true"] { background: var(--pink); border-color: var(--pink); transform: scale(1.25); box-shadow: 0 0 14px var(--pink); }
.stage-progress { width: 3px; height: 120px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.stage-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(to bottom, var(--pink), var(--violet)); transform-origin: top; transform: scaleY(0); }
.stage-counter { font-family: var(--display); font-size: .8rem; letter-spacing: .12em; color: var(--muted); }

/* ---------- story ---------- */
.story { background: var(--nebula); overflow: hidden; }
.story .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.story h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); margin-bottom: 26px; }
.story .lead { margin-bottom: 26px; }
.story p { color: #d7cdea; }
.story .facts { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 14px; }
.story .facts li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.story .facts li i { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,45,149,.15); display: grid; place-items: center; }
.story .facts li i svg { width: 18px; height: 18px; color: var(--pink); }
.composition { position: relative; }
.composition .main { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.1; }
.composition .main img { width: 100%; height: 100%; object-fit: cover; }
.composition .outline { position: absolute; inset: -14px 14px 14px -14px; border: 1.5px solid rgba(255,45,149,.6); border-radius: var(--radius); pointer-events: none; z-index: -1; }
.composition .outline--violet { inset: 14px -14px -14px 14px; border-color: rgba(124,58,237,.7); }
.composition .inset { position: absolute; width: 40%; bottom: -9%; right: 4%; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); border: 1px solid rgba(255,255,255,.15); }
.composition .inset img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.composition .tag { position: absolute; top: 18px; left: 18px; background: rgba(7,4,15,.7); backdrop-filter: blur(10px); padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; border: 1px solid rgba(255,255,255,.15); z-index: 2; }

/* layer-by-layer reveal (signature) */
.layer-reveal { position: relative; }
.layer-reveal > .reveal-target { clip-path: inset(100% 0 0 0); }
.js .layer-reveal .tag, .js .layer-reveal .caption { opacity: 0; }
.layer-reveal .nozzle { position: absolute; left: -4%; right: -4%; top: 100%; height: 2px; background: var(--pink); box-shadow: 0 0 16px 3px rgba(255,45,149,.8); opacity: 0; pointer-events: none; z-index: 3; }
.layer-reveal .nozzle::before { content: ""; position: absolute; left: 50%; top: -8px; width: 18px; height: 18px; margin-left: -9px; background: var(--pink); clip-path: polygon(0 0, 100% 0, 50% 100%); box-shadow: 0 0 20px var(--pink); }

/* ---------- machines ---------- */
.machines { position: relative; overflow: hidden; isolation: isolate; }
.machines .bg { position: absolute; inset: -12% 0; z-index: -2; }
.machines .bg img { width: 100%; height: 100%; object-fit: cover; }
.machines .bg-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--nebula) 0, rgba(17,7,42,.72) 25%, rgba(7,4,15,.85) 100%); }

.machine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.machine {
  background: rgba(13,7,30,.66); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
.machine .m-img { position: relative; min-height: 320px; }
.machine .m-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.machine .m-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, transparent 60%, rgba(13,7,30,.9)); }
.machine .m-body { padding: clamp(24px, 3vw, 40px); }
.machine .m-kicker { font-size: .8rem; font-weight: 700; color: var(--violet-soft); margin-bottom: 8px; }
.machine h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); margin-bottom: 14px; }
.machine p { color: #d7cdea; font-size: .98rem; }
.spec { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { font-weight: 700; text-align: right; }

/* ---------- custom prints ---------- */
.custom { background: var(--void); overflow: hidden; }
.custom .split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.custom h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); margin-bottom: 22px; }
.custom h2 .accent { color: var(--pink); }
.custom p { color: #d7cdea; }
.custom .email { font-family: var(--display); font-size: clamp(1rem, 1.5vw, 1.25rem); text-transform: none; letter-spacing: 0; color: var(--glow); word-break: break-all; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.chips span { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-weight: 600; font-size: .9rem; background: rgba(255,255,255,.03); }
.chips span.hot { border-color: var(--pink); color: #fff; background: rgba(255,45,149,.15); }
.custom .composition .main { aspect-ratio: 16 / 11; }
.custom .caption { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; z-index: 2; }
.custom .caption strong { font-family: var(--display); text-transform: uppercase; font-size: .9rem; display: block; }
.custom .caption span { color: var(--muted); font-size: .85rem; }
.custom .caption .price-pill { background: var(--pink); color: #fff; font-weight: 800; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }

/* ---------- faq ---------- */
.faq { background: var(--nebula); overflow: hidden; }
.faq .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.faq h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: 30px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 1.08rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); display: grid; place-items: center; transition: transform .4s var(--ease-out), background .3s, border-color .3s; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; width: 12px; height: 2px; background: currentColor; }
.acc summary i::after { transform: rotate(90deg); transition: transform .3s; }
.acc details[open] summary i { background: var(--pink); border-color: var(--pink); transform: rotate(180deg); }
.acc details[open] summary i::after { transform: rotate(0); }
.acc summary i { position: relative; }
.acc .acc-body { padding: 0 0 22px; color: #d7cdea; }
.faq .composition .main { aspect-ratio: 4 / 3; }

/* ---------- contact ---------- */
.contact { background: var(--void); overflow: hidden; }
.contact .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 70px); align-items: stretch; }
.contact h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: 22px; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list li i { flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,45,149,.25), rgba(124,58,237,.25)); display: grid; place-items: center; }
.contact-list li i svg { width: 20px; height: 20px; }
.contact-list li strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.contact-list li a:hover { color: var(--pink); }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; border: 1px solid rgba(255,255,255,.1); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) hue-rotate(200deg) saturate(1.6) contrast(.9); }
.map-frame .map-pin { position: absolute; left: 18px; bottom: 18px; z-index: 2; background: rgba(7,4,15,.85); backdrop-filter: blur(10px); padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.15); font-size: .9rem; }
.map-frame .map-pin strong { display: block; font-family: var(--display); text-transform: uppercase; font-size: .8rem; color: var(--pink); }

/* ---------- footer ---------- */
.site-footer { background: #05030b; border-top: 1px solid var(--line); padding: 70px 0 30px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .logo img { height: 64px; filter: none; }
.site-footer p { color: var(--muted); font-size: .95rem; margin-top: 18px; }
.site-footer h4 { font-size: .85rem; letter-spacing: .12em; margin-bottom: 16px; color: var(--violet-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--moon); font-weight: 500; }
.site-footer ul a:hover { color: var(--pink); }
.social { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-weight: 600; }
.social svg { width: 18px; height: 18px; }
.social:hover { border-color: var(--pink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-bottom a { color: var(--moon); font-weight: 600; }
.footer-bottom a:hover { color: var(--pink); }

/* ---------- cart drawer ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(4,2,10,.6); backdrop-filter: blur(4px); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.cart-overlay.is-open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 71; background: #0e0722; border-left: 1px solid rgba(255,255,255,.1);
  transform: translateX(100%); transition: transform .5s var(--ease-out); display: flex; flex-direction: column;
}
.cart-drawer.is-open { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1rem; }
.cart-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.cart-close svg { width: 18px; height: 18px; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 24px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.cart-item .ci-name { font-weight: 700; }
.cart-item .ci-price { color: var(--muted); font-size: .9rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; margin-top: 8px; }
.qty button { width: 30px; height: 30px; font-weight: 800; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-item .ci-remove { color: var(--muted); font-size: .8rem; text-decoration: underline; }
.cart-item .ci-remove:hover { color: var(--pink); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto 16px; color: var(--violet-soft); }
.cart-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); background: #0b051c; }
.cart-line { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); }
.cart-line.total { color: var(--moon); font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.cart-line .free { color: var(--pink); font-weight: 700; }
.cart-foot .btn { width: 100%; justify-content: center; margin-top: 16px; }
.cart-foot .note { text-align: center; color: var(--muted); font-size: .8rem; margin: 12px 0 0; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 80; background: var(--moon); color: var(--void); padding: 12px 20px; border-radius: 999px; font-weight: 700; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease-out), visibility .3s; display: flex; gap: 10px; align-items: center; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast i { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .machine { grid-template-columns: 1fr; }
  .machine .m-img { min-height: 240px; }
  .machine .m-img::after { background: linear-gradient(to bottom, transparent 60%, rgba(13,7,30,.9)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rail::-webkit-scrollbar { display: none; }
  .product-card, .rail-end { scroll-snap-align: start; }
  .rail-hint { display: block; }
}
@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .nav { display: none; }
  .burger { display: grid; }
  .cart-btn .cart-total { display: none; }
  .logo img { height: 58px; }
  .is-scrolled .logo img { height: 44px; }
  .hero-grid, .story .grid, .custom .split, .faq .grid, .contact .grid { grid-template-columns: 1fr; }
  .hero-card { grid-column: auto; grid-row: auto; margin-top: 28px; }
  .hero { align-items: flex-end; }
  .hero-card { justify-self: start; }
  .hero-media video, .hero-media img { object-position: 60% 50%; }
  .composition { margin: 30px 0; }
  .composition .inset { width: 44%; right: 0; bottom: -10%; }
  .machine-grid { grid-template-columns: 1fr; }
  .stage { height: 300vh; }
  .stage-title { flex-direction: column; }
  .stage-nav { right: auto; left: var(--gutter); bottom: 22px; flex-direction: row; align-items: center; }
  .stage-dots { flex-direction: row; }
  .stage-progress { width: 90px; height: 3px; }
  .stage-progress i { transform-origin: left; transform: scaleX(0); }
  .stage-copy { bottom: 70px; }
  .custom .split > .composition { order: 2; }
  .faq .grid > .composition { order: 2; }
  .map-frame { min-height: 320px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-card { width: 100%; }
  .scroll-cue { display: none; }
  .product-card { width: 82vw; }
  .rail-end { width: 70vw; }
  .marquee-track span { font-size: .78rem; }
  .composition .outline { inset: -10px 10px 10px -10px; }
}

/* ---------- reduced motion / no-js fallbacks ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track span:nth-child(n+5) { display: none; }
  .layer-reveal > .reveal-target { clip-path: none; }
  .js .layer-reveal .tag, .js .layer-reveal .caption { opacity: 1; }
  .stage { height: auto; }
  .stage-sticky { position: static; height: auto; }
  .stage-slide { position: relative; opacity: 1; height: 80vh; min-height: 520px; }
  .stage-nav, .stage-title { position: relative; inset: auto; padding: 30px var(--gutter) 0; }
  .stage-nav { display: none; }
  .mask { overflow: visible; }
}
.no-js .layer-reveal > .reveal-target { clip-path: none; }
.layer-reveal.is-revealed .tag, .layer-reveal.is-revealed .caption { opacity: 1; transition: opacity .5s; }
.no-js .stage { height: auto; }
.no-js .stage-sticky { position: static; height: auto; }
.no-js .stage-slide { position: relative; opacity: 1; height: 80vh; min-height: 520px; }
.no-js .stage-nav { display: none; }
.no-js .stage-title { position: relative; inset: auto; padding: 30px var(--gutter) 0; }
.no-js .rail { overflow-x: auto; }
[data-reveal] { opacity: 1; }

/* ======================================================================
   SHOP + PRODUCT PAGES
   ====================================================================== */
.page-top { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.page-top .bg { position: absolute; inset: 0; z-index: -2; }
.page-top .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.page-top .bg-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(7,4,15,.94) 0, rgba(7,4,15,.8) 50%, rgba(7,4,15,.45) 100%), linear-gradient(to top, var(--nebula) 0, rgba(17,7,42,0) 40%); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--pink); }
.crumbs i { width: 4px; height: 4px; border-radius: 50%; background: var(--pink); display: inline-block; }
.page-top h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.page-top .lead { margin: 18px 0 0; max-width: 120ch; color: #e6ddf5; }
.page-top .head-row { display: block; }
.page-top .head-stat { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(20px, 2.4vw, 30px); }
.page-top .head-stat span { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(7,4,15,.5); backdrop-filter: blur(8px); font-weight: 600; font-size: .9rem; }

/* toolbar */
.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: .92rem; transition: background .3s, border-color .3s, color .3s; }
.chip:hover { border-color: var(--pink); }
.chip[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 0 8px 24px -10px var(--pink); }
.chip small { opacity: .7; margin-left: 6px; font-weight: 500; }
.sort { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; }
.sort select { appearance: none; -webkit-appearance: none; background-color: rgba(255,255,255,.05); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f5efe4' stroke-width='2.5'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; border: 1px solid rgba(255,255,255,.2); color: var(--moon); font: inherit; font-weight: 600; padding: 10px 40px 10px 16px; border-radius: 999px; cursor: pointer; }
.sort select option { color: #111; }
.sort select:focus-visible { outline: 2px solid var(--pink); }
.results-count { color: var(--muted); font-size: .9rem; }

/* grid of cards */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.shop-grid .product-card { width: auto; }
.product-card.is-hidden { display: none; }
.product-card a.frame { display: block; }
.product-card h3 a:hover { color: var(--pink); }

/* colour banner */
.banner { position: relative; overflow: hidden; isolation: isolate; padding: clamp(60px, 8vw, 110px) 0; }
.banner .bg { position: absolute; inset: -10% 0; z-index: -2; }
.banner .bg img { width: 100%; height: 100%; object-fit: cover; }
.banner .bg-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(7,4,15,.92), rgba(7,4,15,.55)); }
.banner .inner { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 30px 60px; align-items: center; }
.banner h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); margin-bottom: 14px; }
.banner p { color: #e6ddf5; margin: 0; }
.banner .swatches { display: flex; gap: 8px; margin-top: 22px; }
.banner .swatches i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); box-shadow: 0 6px 14px -4px rgba(0,0,0,.6); }

/* product detail */
.pdp { padding: clamp(30px, 4vw, 60px) 0 clamp(70px, 8vw, 120px); }
.pdp .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) - 10px); }
.gallery .main { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #0d0620; }
.gallery .main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); transform: scale(1.03); }
.gallery .main img.is-active { opacity: 1; transform: scale(1); }
.gallery .main .badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--pink); color: #fff; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 7px 12px; border-radius: 999px; }
.gallery .main { border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px -30px rgba(255,45,149,.35); }
.thumbs { display: flex; gap: 12px; margin-top: 26px; }
.thumbs button { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; opacity: .6; transition: opacity .3s, border-color .3s, transform .3s; padding: 0; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: var(--pink); transform: translateY(-2px); }
.pdp-info h1 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin: 8px 0 16px; }
.pdp-info .cat { color: var(--violet-soft); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.pdp-info .cat a:hover { color: var(--pink); }
.price-block { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 10px 0 18px; }
.price-block .big { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.price-block .pill { background: rgba(255,45,149,.15); color: #ffb3d9; border: 1px solid rgba(255,45,149,.4); font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; }
.pdp-info .lead { color: #e6ddf5; }
.pdp-info .desc p { color: #d7cdea; }
.buy { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 26px 0 18px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.buy .qty { margin: 0; border-color: rgba(255,255,255,.3); }
.buy .qty button { width: 40px; height: 44px; font-size: 1.1rem; }
.buy .qty span { min-width: 34px; font-size: 1rem; }
.buy .btn { flex: 1; justify-content: center; min-width: 200px; }
.trust { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trust li { display: flex; gap: 10px; align-items: center; font-size: .85rem; font-weight: 600; color: var(--muted); }
.trust li i { flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(124,58,237,.2); display: grid; place-items: center; }
.trust li i svg { width: 16px; height: 16px; color: var(--violet-soft); }
.colour-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(255,45,149,.12), rgba(124,58,237,.12)); border: 1px solid rgba(255,45,149,.25); font-size: .95rem; }
.colour-note .dots { flex: none; display: grid; grid-template-columns: repeat(2, 12px); gap: 4px; margin-top: 4px; }
.colour-note .dots i { width: 12px; height: 12px; border-radius: 50%; }
.colour-note strong { display: block; margin-bottom: 2px; }
.pdp .spec { margin-top: 26px; }

/* lit band */
.band { position: relative; height: clamp(420px, 70vh, 720px); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.band picture, .band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,3,11,.9), rgba(5,3,11,.1) 50%), linear-gradient(to right, rgba(5,3,11,.6), transparent 60%); }
.band .wrap { padding-bottom: clamp(40px, 6vw, 80px); position: relative; }
.band h2 { font-size: clamp(1.8rem, 4vw, 3.4rem); text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.band p { color: #e6ddf5; max-width: 120ch; font-size: 1.05rem; margin: 12px 0 0; text-shadow: 0 2px 18px rgba(0,0,0,.85); }

/* details + related */
.details { background: var(--nebula); }
.details .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.details .composition .main { aspect-ratio: 16 / 10; }
.details .composition { margin-bottom: 30px; }
.details h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: 20px; }
.details p { color: #d7cdea; }
.related { background: var(--void); }
.related .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1023px) {
  .related .shop-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 900px) {
  .page-top .head-row, .pdp .grid, .details .grid, .banner .inner { grid-template-columns: 1fr; }
  .page-top .head-stat { justify-self: start; }
  .gallery { position: relative; top: auto; }
  .trust { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .thumbs button { width: 64px; height: 64px; }
  .buy .btn { min-width: 0; width: 100%; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .sort { justify-content: space-between; }
}

/* ======================================================================
   STOREFRONT: flashes, forms, basket, checkout, orders, content pages
   ====================================================================== */

/* flash messages -------------------------------------------------------- */
.flash-stack {
  position: fixed; z-index: 120; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px)); display: grid; gap: 10px; pointer-events: none;
}
.flash {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 14px; justify-content: space-between;
  padding: 14px 16px; border-radius: 16px; font-weight: 600; font-size: .96rem; line-height: 1.45;
  background: linear-gradient(135deg, rgba(26,13,61,.97), rgba(20,10,48,.97));
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 22px 50px -22px rgba(0,0,0,.9);
  animation: flash-in .5s var(--ease-out) both;
}
.flash--success { border-color: rgba(34,197,94,.55); box-shadow: 0 22px 50px -22px rgba(34,197,94,.55); }
.flash--success span:first-child { color: #baf7cd; }
.flash--error { border-color: rgba(255,45,149,.6); box-shadow: 0 22px 50px -22px rgba(255,45,149,.6); }
.flash--error span:first-child { color: #ffc4e0; }
.flash--info, .flash--warning { border-color: rgba(124,58,237,.6); box-shadow: 0 22px 50px -22px rgba(124,58,237,.6); }
.flash--info span:first-child, .flash--warning span:first-child { color: #d9ccff; }
.flash-close { flex: none; width: 28px; height: 28px; border-radius: 50%; font-size: 1.2rem; line-height: 1; color: var(--muted); background: rgba(255,255,255,.06); }
.flash-close:hover { color: var(--moon); background: rgba(255,255,255,.14); }
.flash.is-gone { animation: flash-out .35s var(--ease-out) forwards; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes flash-out { to { opacity: 0; transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) {
  .flash { animation: none; }
  .flash.is-gone { display: none; }
}

/* short page headers ---------------------------------------------------- */
.page-top--short { padding: calc(var(--header-h) + clamp(28px, 4vw, 52px)) 0 clamp(30px, 4vw, 52px); }
.page-top--short h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); }

/* forms ----------------------------------------------------------------- */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: block; margin-bottom: 18px; }
.field > label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; color: var(--moon); }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--moon);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px; padding: 13px 16px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #8779a8; }
.field input:hover, .field textarea:hover { border-color: rgba(255,255,255,.3); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--pink); background: rgba(255,45,149,.07);
  box-shadow: 0 0 0 3px rgba(255,45,149,.2);
}
.field.has-error input, .field.has-error textarea { border-color: var(--pink); background: rgba(255,45,149,.09); }
.field-error { display: block; margin-top: 7px; font-size: .88rem; font-weight: 700; color: #ff86bd; }
.field-hint { display: block; margin-top: 7px; font-size: .85rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field--short input { max-width: 240px; }
.form-intro { color: var(--muted); margin: 0 0 22px; }
.form-note { color: var(--muted); font-size: .88rem; margin: 14px 0 0; }

.contact-form {
  background: linear-gradient(160deg, var(--panel), #140a30); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); align-self: start;
}
.contact-form h3 { font-family: var(--display); font-size: 1.3rem; margin: 0 0 8px; }
.contact-form .btn { width: 100%; justify-content: center; }
.map-frame--wide { min-height: 360px; margin-top: clamp(30px, 4vw, 56px); }
.empty-note { color: var(--muted); font-size: 1.05rem; }
.empty-note a { color: var(--pink); font-weight: 700; }

/* sold out + add form --------------------------------------------------- */
.add-form { display: contents; }
.badge--sold { background: #3b2b52 !important; color: #d9cdf2 !important; }
.sold-pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em; color: #d9cdf2;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
}
.product-card.is-soldout .frame img { filter: grayscale(.55) brightness(.75); }
.pill--stock { background: rgba(124,58,237,.16); color: #cbb8ff; border-color: rgba(124,58,237,.45); }
.pill--sold { background: rgba(255,255,255,.07); color: #d9cdf2; border-color: rgba(255,255,255,.2); }
.sold-out-box {
  margin: 26px 0 22px; padding: 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(255,45,149,.1));
}
.sold-out-box h2 { font-size: 1.3rem; margin: 0 0 10px; }
.sold-out-box p { color: #ded4f2; margin: 0 0 16px; }
.sold-out-box a { color: var(--pink); font-weight: 700; }
.sold-out-box .btn { color: var(--moon); }
.hero-card .hc-img { display: block; }
.hero-card .hc-name a:hover { color: var(--pink); }
.stage-copy h3 a:hover { color: var(--pink); }
.btn.is-busy { opacity: .6; pointer-events: none; }

/* colour picker --------------------------------------------------------- */
.colour-picker { border: 0; padding: 0; margin: 26px 0 0; }
.colour-picker legend { padding: 0; font-weight: 700; font-size: .92rem; margin-bottom: 12px; }
.colour-picker .opt { color: var(--muted); font-weight: 500; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 9px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04);
  font: inherit; font-size: .88rem; font-weight: 600; color: var(--moon);
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.swatch:hover { border-color: rgba(255,45,149,.6); transform: translateY(-1px); }
.swatch .sw { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); flex: none; }
.swatch .sw--pictured { background: conic-gradient(#ff2d95, #7c3aed, #f5efe4, #ff2d95); }
.swatch .sw--other { background: repeating-linear-gradient(45deg, #2a1a52 0 5px, #3d2a70 5px 10px); }
.swatch.is-selected {
  border-color: var(--pink); background: rgba(255,45,149,.16);
  box-shadow: 0 0 0 2px rgba(255,45,149,.35), 0 10px 24px -14px var(--pink);
}
.colour-other { margin-top: 14px; }
.colour-other label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 8px; }
.colour-other input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--moon); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 12px 16px;
}
.colour-other input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,45,149,.2); }
.colour-noscript { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.buy-form .buy { margin-top: 18px; }
.buy .qty input { display: none; }

/* basket page ----------------------------------------------------------- */
.basket-page { background: var(--nebula); }
.basket-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.basket-warning {
  margin: 0 0 22px; padding: 14px 18px; border-radius: 14px; font-weight: 600;
  background: rgba(255,45,149,.12); border: 1px solid rgba(255,45,149,.4); color: #ffc4e0;
}
.basket-lines { border-top: 1px solid var(--line); }
.basket-head {
  display: grid; grid-template-columns: minmax(0, 1fr) 110px 150px 110px 100px; gap: 18px;
  padding: 16px 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 800; color: var(--muted); border-bottom: 1px solid var(--line);
}
.basket-line {
  display: grid; grid-template-columns: minmax(0, 1fr) 110px 150px 110px 100px; gap: 18px;
  align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.basket-line.is-unavailable { background: rgba(255,45,149,.06); }
.bl-item { display: flex; gap: 16px; align-items: center; min-width: 0; }
.bl-img { flex: none; width: 96px; height: 96px; border-radius: 16px; overflow: hidden; background: #0d0620; display: block; }
.bl-img img { width: 100%; height: 100%; object-fit: cover; }
.bl-name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; }
.bl-name:hover { color: var(--pink); }
.bl-colour { display: block; font-size: .88rem; color: var(--violet-soft); font-weight: 600; }
.bl-flag { display: block; margin-top: 4px; font-size: .84rem; font-weight: 700; color: #ff86bd; }
.bl-unit, .bl-total { font-weight: 800; }
.bl-total { font-family: var(--display); }
.bl-label { display: none; font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; }
.bl-qty .qty { margin: 0; }
.bl-remove-btn { font: inherit; font-size: .86rem; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.bl-remove-btn:hover { color: var(--pink); }
.basket-actions { padding: 24px 0 0; }
.basket-empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.basket-empty svg { width: 54px; height: 54px; color: var(--violet-soft); margin-bottom: 16px; }
.basket-empty h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 12px; }
.basket-empty p { color: var(--muted); margin: 0 0 26px; }
.basket-empty-media { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); aspect-ratio: 4 / 3; }
.basket-empty-media img { width: 100%; height: 100%; object-fit: cover; }

/* summary card (basket, checkout, orders) -------------------------------- */
.summary-card {
  background: linear-gradient(160deg, var(--panel), #140a30); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px);
}
/* Opt in to sticky: two stacked sticky cards would pile up on each other. */
.summary-card.is-sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.summary-card + .summary-card { margin-top: 20px; }
.summary-card h2 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 18px; }
.summary-card > p { color: var(--muted); font-size: .95rem; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; color: var(--muted); font-weight: 600; }
.summary-line .free { color: #6ee7a8; font-weight: 800; }
.summary-line.total {
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px;
  color: var(--moon); font-family: var(--display); font-weight: 800; font-size: 1.2rem;
}
.summary-line.refunded { color: #ff86bd; }
.summary-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.cart-view-link { display: block; text-align: center; margin-top: 14px; font-size: .9rem; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.cart-view-link:hover { color: var(--pink); }
.summary-trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.summary-trust li { display: flex; gap: 11px; align-items: center; font-size: .88rem; font-weight: 600; color: var(--muted); }
.summary-trust li i { flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(124,58,237,.2); display: grid; place-items: center; }
.summary-trust li i svg { width: 16px; height: 16px; color: var(--violet-soft); }
.summary-trust li a:hover { color: var(--pink); }
.summary-note { color: var(--muted); font-size: .86rem; line-height: 1.55; margin: 18px 0 0; }
.summary-note a { color: var(--pink); font-weight: 700; }

/* checkout -------------------------------------------------------------- */
.checkout-section { background: var(--nebula); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .48fr); gap: clamp(26px, 3.4vw, 54px); align-items: start; }
.checkout-form { background: linear-gradient(160deg, rgba(26,13,61,.75), rgba(20,10,48,.75)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 38px); }
.checkout-form h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 8px; }
.btn--pay { width: 100%; justify-content: center; margin-top: 8px; font-size: 1.02rem; padding: 18px 28px; }
.btn--pay[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn--pay svg { width: 20px; height: 20px; }
.notice { padding: 16px 20px; border-radius: 16px; margin: 0 0 24px; font-size: .96rem; line-height: 1.55; }
.notice strong { display: block; font-family: var(--display); margin-bottom: 4px; }
.notice a { color: var(--pink); font-weight: 700; }
.notice--warn { background: rgba(124,58,237,.14); border: 1px solid rgba(124,58,237,.45); color: #ded4f2; }
.notice--error { background: rgba(255,45,149,.12); border: 1px solid rgba(255,45,149,.45); color: #ffd0e6; }
.summary-items { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.summary-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.summary-items img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #0d0620; }
.si-name { display: block; font-weight: 700; font-size: .95rem; line-height: 1.35; }
.si-colour { display: block; font-size: .82rem; color: var(--violet-soft); font-weight: 600; }
.si-qty { display: block; font-size: .84rem; color: var(--muted); }
.si-line { font-weight: 800; font-family: var(--display); font-size: .95rem; }
.reassure-strip {
  list-style: none; padding: clamp(22px, 2.6vw, 32px) 0 0; margin: clamp(34px, 4vw, 56px) 0 0;
  border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px);
}
.reassure-strip li { display: flex; gap: 14px; align-items: flex-start; }
.reassure-strip i { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,45,149,.25), rgba(124,58,237,.25)); }
.reassure-strip i svg { width: 20px; height: 20px; }
.reassure-strip strong { display: block; font-family: var(--display); font-size: .95rem; margin-bottom: 3px; }
.reassure-strip div { color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* order pages ----------------------------------------------------------- */
.order-page { background: var(--nebula); }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .45fr); gap: clamp(26px, 3.4vw, 54px); align-items: start; }
.order-h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin: 0 0 20px; }
.order-main .order-h2 + * { margin-top: 0; }
.order-main > * + .order-h2 { margin-top: clamp(34px, 4vw, 56px); }
.status-pill {
  padding: 10px 18px !important; border-radius: 999px; font-weight: 800; font-size: .86rem;
  background: rgba(124,58,237,.25) !important; border-color: rgba(124,58,237,.6) !important; color: #dbcdff;
}
.status-pill--shipped { background: rgba(34,197,94,.2) !important; border-color: rgba(34,197,94,.5) !important; color: #b6f3cd; }
.status-pill--paid { background: rgba(255,45,149,.2) !important; border-color: rgba(255,45,149,.5) !important; color: #ffc4e0; }
.status-pill--cancelled, .status-pill--refunded { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.25) !important; color: #ded4f2; }

.order-timeline { list-style: none; padding: 0; margin: 0 0 clamp(30px, 4vw, 48px); position: relative; }
.order-timeline::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 26px; width: 2px; background: rgba(255,255,255,.12); }
.order-timeline li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
.order-timeline li:last-child { padding-bottom: 0; }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--nebula); border: 2px solid rgba(255,255,255,.2); position: relative; z-index: 1; display: block; }
.order-timeline li.is-done .tl-dot { border-color: var(--pink); background: var(--pink); box-shadow: 0 0 0 5px rgba(255,45,149,.18); }
.order-timeline li.is-done .tl-dot::after { content: ""; position: absolute; inset: 0; background: no-repeat center/13px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 7 9 18l-5-5'/></svg>"); }
.order-timeline li.is-current .tl-dot { border-color: var(--violet-soft); box-shadow: 0 0 0 5px rgba(167,139,250,.16); }
.order-timeline strong { font-family: var(--display); font-size: 1.05rem; display: inline-block; margin-right: 12px; }
.tl-when { font-size: .86rem; color: var(--violet-soft); font-weight: 700; }
.order-timeline p { color: var(--muted); margin: 6px 0 0; font-size: .95rem; }
.order-timeline li:not(.is-done):not(.is-current) strong, .order-timeline li:not(.is-done):not(.is-current) p { opacity: .6; }

.tracking-card {
  padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius); margin-bottom: clamp(30px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(255,45,149,.14), rgba(124,58,237,.14)); border: 1px solid rgba(255,45,149,.3);
}
.tracking-card h3 { font-family: var(--display); font-size: 1.2rem; margin: 0 0 16px; }
.tracking-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 0 0 20px; }
.tracking-facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 800; margin-bottom: 4px; }
.tracking-facts dd { margin: 0; font-weight: 700; font-family: var(--display); font-size: 1rem; word-break: break-word; }
.tracking-card .btn { width: auto; }

.order-stopped {
  padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius); margin-bottom: clamp(30px, 4vw, 48px);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
}
.order-stopped h3 { font-family: var(--display); font-size: 1.25rem; margin: 0 0 12px; }
.order-stopped p { color: #ded4f2; margin: 0 0 12px; }
.order-stopped p:last-child { margin-bottom: 0; }
.order-stopped a { color: var(--pink); font-weight: 700; }
.order-stopped--refunded { background: rgba(124,58,237,.14); border-color: rgba(124,58,237,.4); }

.next-steps { padding: 0 0 clamp(34px, 4vw, 52px); }
.next-steps h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin: 0 0 22px; }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.step-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.step-n {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-family: var(--display);
  font-weight: 800; background: linear-gradient(135deg, rgba(255,45,149,.3), rgba(124,58,237,.3)); border: 1px solid rgba(255,255,255,.14);
}
.step-list strong { display: block; font-family: var(--display); font-size: 1.02rem; margin-bottom: 4px; }
.step-list div { color: var(--muted); line-height: 1.55; }

.order-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.order-items li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.order-items img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: #0d0620; }
.oi-name { display: block; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.oi-name a:hover { color: var(--pink); }
.oi-colour { display: block; font-size: .86rem; color: var(--violet-soft); font-weight: 600; }
.oi-qty { display: block; font-size: .88rem; color: var(--muted); }
.oi-line { font-weight: 800; font-family: var(--display); }
.order-totals { max-width: 380px; margin-left: auto; padding-top: 12px; }
.order-address { font-style: normal; display: grid; gap: 3px; color: var(--muted); font-size: .96rem; }
.order-address strong { color: var(--moon); font-family: var(--display); font-size: 1rem; margin-bottom: 3px; }
.order-notes { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; line-height: 1.55; }
.order-notes strong { display: block; color: var(--moon); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.order-link-card { background: linear-gradient(135deg, rgba(255,45,149,.16), rgba(124,58,237,.16)); border-color: rgba(255,45,149,.3); }
.order-link-url { font-size: .78rem; color: var(--muted); word-break: break-all; margin: 14px 0 0; line-height: 1.5; }
.order-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(34px, 4vw, 56px); padding-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line); }
.order-pending { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.order-pending h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 14px; }
.order-pending p { color: var(--muted); margin: 0 0 26px; }
.order-pending a { color: var(--pink); font-weight: 700; }
.order-pending .btn { color: #fff; }
.order-pending .btn--ghost { color: var(--moon); }
.order-pending-media { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); aspect-ratio: 4 / 3; }
.order-pending-media img { width: 100%; height: 100%; object-fit: cover; }

/* content pages --------------------------------------------------------- */
.page-body { background: var(--nebula); }
.page-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr); gap: clamp(30px, 4vw, 64px); align-items: start; }
.prose { font-size: 1.05rem; line-height: 1.75; color: #ded4f2; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); color: var(--moon); margin: 38px 0 14px; }
.prose h3 { font-family: var(--display); font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--moon); margin: 30px 0 12px; }
.prose h4 { font-family: var(--display); font-size: 1.02rem; color: var(--moon); margin: 24px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--pink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #ff86bd; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 9px; }
.prose li::marker { color: var(--pink); font-weight: 800; }
.prose strong { color: var(--moon); }
.prose blockquote { margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--pink); background: rgba(255,45,149,.08); border-radius: 0 14px 14px 0; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--display); font-size: .84rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.page-aside-media { position: relative; margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); aspect-ratio: 4 / 3; }
.page-aside-media img { width: 100%; height: 100%; object-fit: cover; }
.page-aside-media .tag {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px;
  background: rgba(7,4,15,.8); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16);
  font-family: var(--display); font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--pink);
}

/* drawer extras --------------------------------------------------------- */
.cart-item .ci-colour { font-size: .82rem; color: var(--violet-soft); font-weight: 600; }
.cart-item .ci-flag { font-size: .8rem; color: #ff86bd; font-weight: 700; margin-top: 3px; }
.cart-item.is-unavailable { background: rgba(255,45,149,.07); border-radius: 12px; }
.cart-item .ci-name a:hover { color: var(--pink); }
.toast.is-error i { background: var(--pink); }

/* responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .basket-head, .basket-line { grid-template-columns: minmax(0, 1fr) 96px 132px 96px 86px; gap: 12px; }
  .bl-img { width: 78px; height: 78px; }
}
@media (max-width: 960px) {
  .basket-grid, .checkout-grid, .order-grid, .page-body-grid { grid-template-columns: 1fr; }
  .summary-card.is-sticky { position: relative; top: auto; }
  .pdp-media, .checkout-aside, .order-side, .basket-lines, .contact-copy { display: block; }
  .fill-media { min-height: 220px; }
  .basket-empty, .order-pending { grid-template-columns: 1fr; }
  .basket-empty-media, .order-pending-media { order: -1; }
}
@media (max-width: 900px) {
  .contact-form { margin-top: 8px; }
  .map-frame--wide { min-height: 300px; }
  .reassure-strip { grid-template-columns: 1fr; gap: 16px; }
  .flash-stack { top: calc(var(--header-h) + 8px); }
}
@media (max-width: 760px) {
  .basket-head { display: none; }
  .basket-line {
    grid-template-columns: minmax(0, 1fr) auto; gap: 14px 18px; padding: 20px 0;
    grid-template-areas: "item item" "unit total" "qty remove";
  }
  .bl-item { grid-area: item; }
  .bl-unit { grid-area: unit; }
  .bl-total { grid-area: total; text-align: right; }
  .bl-qty { grid-area: qty; }
  .bl-remove { grid-area: remove; text-align: right; }
  .bl-label { display: block; margin-bottom: 4px; }
  .basket-line.is-unavailable { padding-inline: 12px; border-radius: 14px; }
}
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
  .field input, .field textarea, .colour-other input { font-size: 16px; padding: 14px 16px; }
  .field--short input { max-width: none; }
  .flash-stack { width: calc(100vw - 24px); }
  .summary-items li { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 11px; }
  .summary-items img { width: 52px; height: 52px; }
  .order-items li { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; }
  .order-items img { width: 56px; height: 56px; }
  .order-totals { max-width: none; }
  .bl-img { width: 66px; height: 66px; }
  .order-cta .btn, .basket-empty .hero-cta .btn, .order-pending .hero-cta .btn { width: 100%; justify-content: center; }
  .checkout-form, .contact-form, .summary-card { padding: 20px; }
  .tracking-card .btn { width: 100%; justify-content: center; }
}

/* media tiles that fill the short column of a two-column row ---------------- */
.fill-media {
  position: relative; flex: 1 1 auto; min-height: 220px; margin-top: 24px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1);
  isolation: isolate; display: flex; align-items: flex-end;
}
.fill-media picture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.fill-media img { width: 100%; height: 100%; object-fit: cover; }
.fill-media::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(5,3,11,.95), rgba(5,3,11,.15) 78%), linear-gradient(to right, rgba(5,3,11,.55), transparent 65%);
}
.fill-media .fm-copy { padding: clamp(18px, 2vw, 26px); position: relative; }
.fill-media strong { display: block; font-family: var(--display); font-size: 1.02rem; margin-bottom: 6px; }
.fill-media p { color: #ded4f2; font-size: .92rem; line-height: 1.55; margin: 0; }

.pdp .grid > .pdp-media { align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.pdp-media .gallery { flex: none; }
.checkout-grid > .checkout-aside { align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.checkout-aside .summary-card { flex: none; }
.order-grid > .order-side { align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.order-side .summary-card { flex: none; }
.order-side .summary-card + .summary-card { margin-top: 20px; }
.basket-grid > .basket-lines { align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.basket-lines > .basket-line, .basket-lines > .basket-head, .basket-lines > .basket-actions { flex: none; }
.contact .grid > .contact-copy { align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.contact-copy .contact-list { flex: none; }

.order-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 34px; }
.order-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.order-cta-note { color: var(--muted); font-size: .92rem; margin: 0; flex: 1 1 40ch; text-align: right; }
.order-cta-note a { color: var(--pink); font-weight: 700; }

.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }

/* The marquee line count comes from the admin, so the reduced-motion fallback
   hides the duplicated pass rather than assuming four lines. */
@media (prefers-reduced-motion: reduce) {
  .marquee-track span:nth-child(n+5) { display: inline-flex; }
  .marquee-track span.dup { display: none; }
}
/* Static marquee fallback: long lines must wrap rather than run off the screen. */
@media (prefers-reduced-motion: reduce) {
  .marquee-track span { white-space: normal; max-width: 100%; justify-content: center; text-align: center; }
}

/* product options (colour, size and any other choice set up in the admin) */
.option-group + .option-group { margin-top: 14px; }
.option-group .swatch .opt-delta { margin-left: 6px; color: var(--glow); font-weight: 700; font-size: .78rem; }
.option-group noscript select { margin-top: 10px; width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.2); color: var(--moon); font: inherit; padding: 10px 14px; border-radius: 12px; }
.js .option-group noscript { display: none; }
.colour-other label .opt { color: var(--muted); font-weight: 500; }

/* custom print enquiry page */
.custom-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.enquiry-form { margin-top: 26px; }
.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field .file-input { width: 100%; background: rgba(255,255,255,.05); border: 1.5px dashed rgba(255,255,255,.25); color: var(--moon); font: inherit; padding: 16px; border-radius: 14px; cursor: pointer; }
.field .file-input::file-selector-button { font: inherit; font-weight: 700; color: #fff; background: var(--violet); border: 0; border-radius: 999px; padding: 10px 18px; margin-right: 14px; cursor: pointer; }
.enquiry-sent { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: linear-gradient(160deg, rgba(124,58,237,.25), rgba(255,45,149,.12)); border: 1px solid rgba(255,255,255,.12); }
.enquiry-sent h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; }
.enquiry-sent p { color: #e6ddf5; margin-bottom: 22px; }
.enquiry-sent a:not(.btn) { color: var(--pink); font-weight: 700; }
.custom-aside .composition .main { aspect-ratio: 4 / 4.2; }
.how-it-works { margin-top: 40px; }
.how-it-works h3 { font-size: 1.15rem; margin-bottom: 14px; }
.how-it-works ol { margin: 0 0 16px; padding-left: 22px; color: #d7cdea; }
.how-it-works li { margin-bottom: 10px; }
.how-it-works li strong { color: var(--moon); }
.how-it-works p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .custom-grid { grid-template-columns: 1fr; } .field-row--3 { grid-template-columns: 1fr; } .custom-aside .composition { max-width: 520px; } }

/* titan caption on the homepage: name and blurb take the space beside the price */
.custom .caption > div { flex: 1 1 auto; min-width: 0; }

/* product gallery: every photo's thumbnail sits beside the main photo, and the photo always fits the screen */
.pdp { --gal-h: max(340px, calc(100svh - var(--header-h) - 130px)); --thumb-col: 100px; }
.pdp .grid { grid-template-columns: min(calc(var(--gal-h) + var(--thumb-col)), 54%) minmax(0, 1fr); }
.pdp .grid.is-single { --thumb-col: 0px; }
.gallery { position: relative; top: auto; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: start; }
.gallery.is-single { grid-template-columns: minmax(0, 1fr); }
.gallery .main { max-height: var(--gal-h); }
.gallery .thumbs { flex-direction: column; margin-top: 0; max-height: var(--gal-h); overflow-y: auto; overflow-x: hidden; padding: 2px; scrollbar-width: thin; }
.gallery .thumbs button { flex: none; }
.gallery .thumbs button[aria-current="true"] { transform: none; }
.price-block .big { display: inline-block; transform-origin: left center; }
.price-block .big.is-changed { animation: pricePulse .5s var(--ease-out); }
@keyframes pricePulse { 0% { transform: scale(1); } 40% { transform: scale(1.06); color: var(--pink); } 100% { transform: scale(1); } }
.sw--multi { background: conic-gradient(#ff2d95, #f59e0b, #facc15, #22c55e, #0ea5e9, #7c3aed, #ff2d95); }
@media (max-width: 900px) {
  .pdp .grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .main { max-height: none; }
  .gallery .thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }
}
@media (prefers-reduced-motion: reduce) { .price-block .big.is-changed { animation: none; } }
.notice--info { background: rgba(255,183,77,.1); border: 1px solid rgba(255,183,77,.45); color: #f3e6cf; }
/* on phones the columns stack, so the filler tile would only push the name, price and buy button down */
@media (max-width: 900px) { .pdp-media .fill-media { display: none; } }
