/* ==========================================================================
   Quit The Build — site styles
   Palette comes straight from the QTB brand gradient (indigo -> violet)
   with the old site's bubblegum pink as the "holo" accent.
   ========================================================================== */

@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --grape: #1a1430;      /* page base */
  --grape-2: #241b42;    /* raised surfaces */
  --grape-3: #31265a;    /* borders, wells */
  --indigo: #3349b8;     /* brand gradient top */
  --violet: #7446b0;     /* brand gradient bottom */
  --holo: #ff7fe8;       /* accent: prices, live, focus */
  --mint: #7cf2e4;       /* second foil hue */
  --lilac: #c7c1d9;      /* secondary text */
  --foil: #f5f2ff;       /* primary text */
  --danger: #ff6b8b;

  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Onest", system-ui, sans-serif;

  /* type scale: each step is a role, not a size picker */
  --t-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);   /* meta, captions */
  --t-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);       /* paragraphs */
  --t-lede: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);   /* intro paragraphs */
  --t-h3: clamp(1.125rem, 1.07rem + 0.3vw, 1.3125rem);      /* card titles */
  --t-h2: clamp(2rem, 1.55rem + 2.1vw, 3.25rem);            /* section titles */
  --t-h1: clamp(2.75rem, 1.9rem + 4vw, 5rem);               /* page titles */
  --t-display: clamp(2.9rem, 1.5rem + 4.6vw, 5.5rem);     /* the one hero line */
  --step--1: var(--t-small); --step-0: var(--t-body); --step-1: var(--t-lede);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.125rem); --step-3: var(--t-h2); --step-4: var(--t-h1);

  /* spacing scale (8px grid) */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem;
  --section: clamp(5rem, 3rem + 8vw, 9rem);
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --foil-gradient: linear-gradient(90deg, #ff7fe8 0%, #a98bff 18%, #7cf2e4 36%, #fff6a8 52%, #ff9ad5 68%, #7f8cff 84%, #ff7fe8 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--grape); color: var(--foil);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; min-height: 100dvh; display: flex; flex-direction: column;
  overflow-x: clip;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--holo); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

h1, h2, h3, .display { font-family: var(--display); font-weight: 700; margin: 0 0 var(--s3); text-wrap: balance; font-kerning: normal; }
h1 { font-size: var(--t-h1); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; margin-bottom: var(--s1); }
p { margin: 0 0 var(--s2); max-width: 66ch; text-wrap: pretty; }
.lede { font-size: var(--t-lede); color: var(--lilac); line-height: 1.5; max-width: 46ch; }
.muted { color: var(--lilac); }

/* page backdrop: slow brand gradient glow, fixed behind everything */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 10% -10%, rgba(51,73,184,.55), transparent 60%),
    radial-gradient(50vmax 50vmax at 100% 20%, rgba(116,70,176,.45), transparent 60%),
    radial-gradient(40vmax 30vmax at 50% 110%, rgba(255,127,232,.12), transparent 70%),
    var(--grape);
}

/* ---------- buttons ---------- */
.btn { --bg: var(--foil); --fg: var(--grape);
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  padding: .85em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font-family: var(--display); font-weight: 600; font-size: .9rem;
  text-decoration: none; transition: transform .25s var(--ease-spring), box-shadow .25s, background .2s;
  box-shadow: 0 0 0 0 rgba(255,127,232,0);
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 30px -10px rgba(255,127,232,.6); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--holo { --fg: var(--grape); background: var(--foil-gradient); background-size: 220% 100%; animation: foil-slide 6s linear infinite; }
.btn--ghost { --bg: transparent; --fg: var(--foil); box-shadow: inset 0 0 0 2px rgba(245,242,255,.35); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--foil), 0 10px 30px -12px rgba(124,242,228,.5); }
.btn--small { padding: .55em 1.05em; font-size: .78rem; }
.btn--block { width: 100%; }
@keyframes foil-slide { to { background-position: -220% 0; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, backdrop-filter .3s, transform .4s var(--ease-out); }
.site-header.scrolled { background: rgba(26,20,48,.92); box-shadow: 0 1px 0 rgba(199,193,217,.12); }
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.nav__logo { display: flex; align-items: center; margin-right: auto; }
.nav__logo img { height: 30px; width: auto; transition: transform .4s var(--ease-spring); }
.nav__logo:hover img { transform: rotate(-4deg) scale(1.06); }
.nav__links { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; display: block; padding: .5rem .85rem; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--lilac); border-radius: 999px; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--foil); }
.nav__links a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px; background: var(--foil-gradient); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); border-radius: 2px; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.live-pill { display: inline-flex; align-items: center; gap: .5em; padding: .4em .85em; border-radius: 999px; background: rgba(255,127,232,.12); color: var(--foil); font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); }
.live-pill.is-live .dot { background: var(--holo); box-shadow: 0 0 0 0 rgba(255,127,232,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,127,232,0); } 100% { box-shadow: 0 0 0 0 rgba(255,127,232,0); } }
.cart-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grape-2); transition: transform .25s var(--ease-spring), background .2s; }
.cart-btn:hover { transform: scale(1.08); background: var(--grape-3); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn .count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--holo); color: var(--grape); font-size: .72rem; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--ease-spring); }
.cart-btn .count.show { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }
.menu-btn { display: none; }

@media (max-width: 1060px) {
  .nav__links { position: fixed; top: 74px; left: 0; width: 100vw; height: calc(100dvh - 74px); flex-direction: column; padding: 1.5rem var(--gutter) 2rem; background: var(--grape);
    clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease-out); }
  .nav__links.open { clip-path: inset(0 0 0 0); }
  .nav__links a { font-family: var(--display); font-size: 1.4rem; padding: .7rem 0; color: var(--foil); }
  .nav__links a::after { left: 0; right: auto; width: 2.5rem; }
  .menu-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grape-2); cursor: pointer; }
  .live-pill .label-long { display: none; }
}

/* ---------- footer ---------- */
.site-footer { margin-top: var(--s6); padding: 4rem 0 2.5rem; background: linear-gradient(180deg, transparent, rgba(51,73,184,.18)); border-top: 1px solid rgba(199,193,217,.1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h4 { font-family: var(--display); font-size: .9rem; margin: 0 0 1rem; color: var(--foil); font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid a { color: var(--lilac); text-decoration: none; transition: color .2s; }
.footer-grid a:hover { color: var(--holo); }
.footer-logo { height: 54px; width: auto; margin-bottom: 1rem; }
.footer-small { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--lilac); font-size: var(--step--1); }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grape-2); transition: transform .3s var(--ease-spring), background .2s; }
.socials a:hover { transform: translateY(-3px) rotate(-6deg); background: var(--violet); }
.socials svg { width: 18px; height: 18px; fill: var(--foil); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- reveal animation ("dealt" in like cards) ---------- */
.reveal { opacity: 0; transform: translateY(40px) rotate(var(--r, 0deg)); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-up > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
.reveal-up.in > * { opacity: 1; transform: none; }
.reveal-up.in > *:nth-child(2) { transition-delay: .08s; } .reveal-up.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-up.in > *:nth-child(4) { transition-delay: .24s; } .reveal-up.in > *:nth-child(5) { transition-delay: .32s; }
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.split-word > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.split.in .split-word > span { transform: none; }

/* ---------- cross-page transitions ---------- */
::view-transition-old(root) { animation: vt-out .35s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px) scale(.99); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px) scale(1.01); filter: blur(6px); } }
.site-header { view-transition-name: header; }

/* ---------- holo card (product tile) — the signature element ---------- */
.holo {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; --o: 0;
  position: relative; border-radius: 18px; transform-style: preserve-3d; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-out), box-shadow .5s;
  will-change: transform;
}
.holo.active { transition: transform .08s linear, box-shadow .3s; box-shadow: 0 30px 60px -25px rgba(0,0,0,.7), 0 0 40px -10px rgba(255,127,232,.35); }
.holo__shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; mix-blend-mode: color-dodge; opacity: var(--o); transition: opacity .4s;
  background:
    radial-gradient(farthest-corner circle at var(--mx) var(--my), rgba(255,255,255,.55) 0%, rgba(255,255,255,.1) 25%, transparent 55%),
    repeating-linear-gradient(115deg, rgba(255,127,232,.0) 0%, rgba(255,127,232,.35) 8%, rgba(124,242,228,.35) 16%, rgba(255,246,168,.3) 24%, rgba(169,139,255,.35) 32%, rgba(255,127,232,0) 40%);
  background-size: 100% 100%, 300% 300%;
  background-position: center, var(--mx) var(--my);
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.tile { display: block; text-decoration: none; color: inherit; }
.tile__card { background: linear-gradient(160deg, var(--grape-3), var(--grape-2)); padding: 10px; }
.tile__img { aspect-ratio: 3 / 4; border-radius: 11px; overflow: hidden; background: var(--grape); position: relative; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), opacity .5s; }
.tile__img img.alt { position: absolute; inset: 0; opacity: 0; }
.tile:hover .tile__img img.alt { opacity: 1; }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile__meta { padding: var(--s2) 2px 0; display: grid; gap: 6px; }
.tile__name { font-weight: 600; line-height: 1.35; font-size: .975rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.35em); }
.price { font-family: var(--display); font-weight: 600; color: var(--holo); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.price s { color: var(--lilac); font-weight: 400; font-size: .85em; margin-left: .4em; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 3; padding: .3em .75em; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--foil); color: var(--grape); }
.badge--sold { background: rgba(26,20,48,.85); color: var(--lilac); }
.badge--sale { background: var(--foil-gradient); }
.badge--one { background: var(--grape); color: var(--foil); box-shadow: inset 0 0 0 1px rgba(255,127,232,.6); }
.tile.sold .tile__img img { filter: grayscale(.85) brightness(.6); }

/* ---------- cart drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(10,7,22,.6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer { position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--grape-2); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .55s var(--ease-out); box-shadow: -30px 0 60px rgba(0,0,0,.4); }
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.5rem; border-bottom: 1px solid rgba(199,193,217,.12); }
.drawer__head h2 { font-size: 1.25rem; margin: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--grape-3); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease-spring); }
.icon-btn:hover { transform: rotate(90deg); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.drawer__foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid rgba(199,193,217,.12); display: grid; gap: .9rem; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid rgba(199,193,217,.08); animation: line-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes line-in { from { opacity: 0; transform: translateX(30px); } }
.line.leaving { animation: line-out .35s var(--ease-out) forwards; }
@keyframes line-out { to { opacity: 0; transform: translateX(60px); height: 0; padding: 0; } }
.line img { width: 72px; height: 90px; object-fit: cover; border-radius: 8px; }
.line__name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.qty { display: inline-flex; align-items: center; gap: .2rem; margin-top: .4rem; background: var(--grape); border-radius: 999px; padding: 2px; }
.qty button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-weight: 700; }
.qty button:hover { background: var(--grape-3); }
.qty span { min-width: 1.6em; text-align: center; font-weight: 700; font-size: .9rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--lilac); text-decoration: underline; cursor: pointer; font-size: .82rem; }
.totals { display: grid; gap: .35rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--display); font-size: 1.15rem; padding-top: .5rem; }
.ship-meter { font-size: .85rem; color: var(--lilac); }
.ship-meter .bar { height: 6px; border-radius: 3px; background: var(--grape); margin-top: .45rem; overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; background: var(--foil-gradient); border-radius: inherit; transition: width .6s var(--ease-out); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--lilac); }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--foil); color: var(--grape); font-weight: 600; padding: .8rem 1.3rem; border-radius: 999px; transition: transform .5s var(--ease-spring); box-shadow: 0 20px 40px -15px rgba(0,0,0,.6); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- forms ---------- */
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--lilac); }
.input, select.input, textarea.input { width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgba(199,193,217,.2); background: rgba(26,20,48,.7); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--holo); box-shadow: 0 0 0 3px rgba(255,127,232,.2); }
.form-row { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- generic section bits ---------- */
.section { padding-block: var(--section) 0; }
.section:last-child { padding-bottom: var(--s5); }
.page-head { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) var(--s5); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .55em 1.1em; border-radius: 999px; border: 0; cursor: pointer; background: var(--grape-2); color: var(--lilac); font-weight: 600; font-size: .9rem; transition: background .25s, color .25s, transform .3s var(--ease-spring); }
.chip:hover { transform: translateY(-2px); color: var(--foil); }
.chip[aria-pressed="true"] { background: var(--foil); color: var(--grape); }
.chip[aria-pressed="true"] .muted { color: rgba(26,20,48,.55); }
.panel { background: rgba(36,27,66,.7); border: 1px solid rgba(199,193,217,.1); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-up > *, .split-word > span { opacity: 1 !important; transform: none !important; }
  .holo { transform: none !important; }
}
.drawer-open .toast { bottom: auto; top: 20px; transform: translate(-50%, -160%); }
.drawer-open .toast.show { transform: translate(-50%, 0); }

/* ==========================================================================
   Motion layer
   ========================================================================== */

/* section header: title left, action right, sharing a baseline */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s5); }
.sec-head h2 { margin: 0; }
.sec-head p { margin: var(--s2) 0 0; color: var(--lilac); }

/* film grain so flat colour reads as print, not plastic */
body::before { content: ""; position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

/* scroll progress hairline */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: left; transform: scaleX(var(--sp, 0)); background: var(--foil-gradient); pointer-events: none; }

/* cover shown before JS runs, so the intro / page wipe never flashes content */
html.intro body::after, html.wipe-in body::after { content: ""; position: fixed; inset: 0; z-index: 400; background: var(--grape); }

/* ---------- intro loader (first visit per session) ---------- */
.loader { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; pointer-events: none; }
.loader__panel { position: absolute; inset: 0; background: var(--grape); }
.loader__panel.b { background: var(--foil-gradient); background-size: 200% 100%; animation: foil-slide 2s linear infinite; }
.loader__mark { position: relative; width: min(46vw, 300px); clip-path: inset(100% 0 0 0); }
.loader__mark img { width: 100%; height: auto; }
.loader__mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%); background-size: 250% 100%; mix-blend-mode: overlay;
  -webkit-mask: url(/img/brand/qtb-mark.png) center / contain no-repeat; mask: url(/img/brand/qtb-mark.png) center / contain no-repeat; animation: sweep 1.3s .35s ease-in-out both; }
@keyframes sweep { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.loader__count { position: absolute; right: var(--gutter); bottom: var(--gutter); font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; color: var(--foil); font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.loader__bar { position: absolute; left: var(--gutter); bottom: calc(var(--gutter) + .6rem); width: min(30vw, 240px); height: 2px; background: rgba(199,193,217,.2); }
.loader__bar i { display: block; height: 100%; background: var(--foil-gradient); transform-origin: left; transform: scaleX(0); }

/* ---------- page wipe ---------- */
.wipe { position: fixed; inset: 0; z-index: 450; pointer-events: none; display: grid; place-items: center; }
.wipe__panel { position: absolute; inset: 0; background: var(--grape-2); }
.wipe__edge { position: absolute; left: 0; right: 0; height: 6px; background: var(--foil-gradient); }
.wipe__mark { position: relative; width: 120px; opacity: 0; }

/* ---------- custom cursor (mouse only) ---------- */
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor .holo { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 600; pointer-events: none; border-radius: 50%; translate: -50% -50%; }
.cursor-dot { width: 6px; height: 6px; background: var(--foil); }
.cursor-ring { width: 38px; height: 38px; box-shadow: inset 0 0 0 1.5px rgba(245,242,255,.55); display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), background .3s, box-shadow .3s; }
.cursor-ring span { font-family: var(--display); font-weight: 700; font-size: .7rem; color: var(--grape); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--ease-spring); }
.cursor-ring.is-link { width: 58px; height: 58px; box-shadow: inset 0 0 0 1.5px var(--holo); }
.cursor-ring.is-label { width: 86px; height: 86px; background: var(--foil-gradient); box-shadow: none; }
.cursor-ring.is-label span { opacity: 1; transform: none; }
.cursor-ring.is-down { width: 28px; height: 28px; }
.cursor-hidden .cursor-dot, .cursor-hidden .cursor-ring { opacity: 0; }

/* ---------- char-level headline reveal ---------- */
.split .w { display: inline-block; white-space: nowrap; }
.split .c { display: inline-block; transform: translateY(105%) rotateX(-75deg); transform-origin: 50% 100% -0.3em; opacity: 0;
  transition: transform .9s var(--ease-out), opacity .6s; transition-delay: calc(var(--i) * 22ms); }
.split .m { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .02em .1em; margin: 0 -.02em -.1em; perspective: 600px; }
.split.in .c { transform: none; opacity: 1; }

/* ---------- link text roll ---------- */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; }
.roll > span { display: block; transition: transform .45s var(--ease-out); }
.roll > span + span { position: absolute; inset: 0; transform: translateY(105%); }
a:hover > .roll > span:first-child, button:hover > .roll > span:first-child { transform: translateY(-105%); }
a:hover > .roll > span + span, button:hover > .roll > span + span { transform: none; }

/* ---------- buttons: fill blooms from the pointer ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; z-index: -1; left: var(--bx, 50%); top: var(--by, 50%); width: 0; height: 0; border-radius: 50%; translate: -50% -50%;
  background: var(--foil); transition: width .5s var(--ease-out), height .5s var(--ease-out); }
.btn--ghost:hover { color: var(--grape); }
.btn--ghost:hover::before { width: 260%; height: 600%; }
.btn--holo::before { background: var(--foil); }
.btn--holo:hover::before { width: 260%; height: 600%; }
.btn > * { pointer-events: none; }

/* ---------- image reveal ---------- */
.reveal-img { overflow: hidden; border-radius: 22px; }
.reveal-img > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-out), scale 1.6s var(--ease-out); }
.reveal-img > img { scale: 1.25; }
.reveal-img.in > * { clip-path: inset(0 0 0 0); }
.reveal-img.in > img { scale: 1; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: var(--s4); border-block: 1px solid rgba(199,193,217,.12); user-select: none; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); padding-right: clamp(1.25rem, 3vw, 2.5rem); font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1rem + 4.5vw, 5rem); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.marquee__item .o { color: transparent; -webkit-text-stroke: 1.5px rgba(245,242,255,.6); }
.marquee__item .star { width: .5em; height: .5em; flex: none; background: var(--foil-gradient); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- pinned horizontal scroll ---------- */
.hs { position: relative; }
.hs__sticky { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hs__track { display: flex; gap: clamp(1.25rem, 2.5vw, 2rem); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); will-change: transform; }
.hs__track .tile { width: clamp(240px, 21vw, 300px); flex: none; }
.hs__bar { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: var(--s5) auto 0; display: flex; align-items: center; gap: var(--s2); color: var(--lilac); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.hs__bar .line { flex: 1; height: 2px; background: rgba(199,193,217,.15); }
.hs__bar .line i { display: block; height: 100%; background: var(--foil-gradient); transform-origin: left; transform: scaleX(var(--hp, 0)); }
.hs.is-static { height: auto !important; }
.hs.is-static .hs__sticky { position: static; height: auto; }
.hs.is-static .hs__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-block: var(--s2); scrollbar-width: none; }
.hs.is-static .hs__track .tile { scroll-snap-align: start; }

/* ---------- giant footer wordmark ---------- */
.wordmark { display: block; margin-top: var(--s6); font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, .5rem + 9.3vw, 10rem); line-height: .82; letter-spacing: -0.05em; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, rgba(245,242,255,.16), rgba(245,242,255,.02)); -webkit-background-clip: text; background-clip: text; color: transparent; overflow: hidden; padding-bottom: .04em; }
.wordmark .c { display: inline-block; transform: translateY(100%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 35ms); }
.wordmark.in .c { transform: none; }
.to-top { display: inline-flex; align-items: center; gap: .5rem; color: var(--lilac); background: none; border: 0; font-weight: 600; cursor: pointer; padding: 0; }
.to-top:hover { color: var(--holo); }

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .split .c, .wordmark .c { transform: none !important; opacity: 1 !important; }
  .reveal-img > * { clip-path: none !important; scale: 1 !important; }
}

/* nothing reveals until the intro / wipe has lifted */
html:not(.is-ready) .split.in .c { transform: translateY(105%) rotateX(-75deg); opacity: 0; }
html:not(.is-ready) .reveal.in { opacity: 0; transform: translateY(40px) rotate(var(--r, 0deg)); }
html:not(.is-ready) .reveal-up.in > * { opacity: 0; transform: translateY(26px); }
html:not(.is-ready) .reveal-img.in > * { clip-path: inset(100% 0 0 0); }
.hs.is-static .hs__bar { display: none; }
@media (max-width: 600px) { .ctas .btn { flex: 1 1 100%; } }
