/* ============ BASE ============ */
:root {
  --cream: #f2f3f5;
  --cream-2: #eae9ee;
  --blush: #f2f3f5;
  --ink: #0a2839;      /* brand very-dark navy (logo on navy) */
  --ink-soft: #40566a;
  --brand: #0e3956;   /* Bands brand navy (logo background) */
  --brand-2: #164a70;
  --wine: #571a2e;
  --wine-2: #6b2139;
  --pink: #f4437f;
  --line: #d7d7d7;
  --font-head: "DM Sans", "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  /* legacy alias: all former mono UI text is now small Inter (Lowen-style) */
  --font-mono: "Inter", system-ui, sans-serif;
}

:where(.customiser, .customiser *) { margin: 0; padding: 0; box-sizing: border-box; }

/* embed: the builder's own type/colour base — scoped so the host site
   is untouched */
.customiser {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11.5px;
  -webkit-font-smoothing: antialiased;
}

:where(.customiser) :is(h1, h2, h3, h4) {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.accent-italic {
  text-transform: none;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.mono { font-family: var(--font-mono); }

:where(.customiser) button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ============ PRODUCT ============ */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: 48px;
  padding: 28px 34px 80px;
  background: var(--cream-2);
  min-height: calc(100vh - 80px);
}

.product__stage {
  position: relative;
  background: var(--blush);
  min-height: 560px;
}

.product__viewer { position: absolute; inset: 0; }

.product__hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5f7280; /* matches .view-presets button text */
  pointer-events: none;
}

.product__info { padding-top: 26px; max-width: 420px; }

.product__title {
  font-weight: 900;
  font-size: clamp(27px, 2.9vw, 34px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.product__price {
  margin: 14px 0 26px;
  /* matches .product__title, 8px smaller */
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--ink);
}

.field-label {
  display: block;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.field-label .mono { font-weight: 400; color: var(--brand); text-transform: none; }

.select-wrap { position: relative; }

.select {
  width: 100%;
  appearance: none;
  height: 48px;
  padding: 0 20px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px; /* pill, matches .cta */
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  background: var(--ink-soft);
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center / contain no-repeat;
}

/* ---- tone picker (round metal swatches + karat reel) ---- */
.tone-picker {
  display: flex;
  gap: 22px;
  padding-top: 4px;
}

.tone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 72px;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.tone-item.is-active { opacity: 1; }

.tone-item:not(.is-active):hover { opacity: 0.75; }

.tone-swatch {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  /* thin outline at the circle's true edge; the active state thickens it */
  border: 1px solid rgba(28, 28, 30, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  touch-action: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  /* metallic depth: top-light / bottom-shade */
  box-shadow:
    inset 0 12px 16px rgba(255, 255, 255, 0.45),
    inset 0 -12px 16px rgba(0, 0, 0, 0.16);
  /* polished-metal sheen: one angled sweep, light to dark, over each
     family's base (set below) */
  --metal-sheen: linear-gradient(115deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.15) 45%,
    rgba(0, 0, 0, 0.14)       100%);
}

.tone-swatch--yellow   { background: var(--metal-sheen), linear-gradient(115deg, #eed9a4, #cbab62 55%, #a5843b); }
.tone-swatch--white    { background: var(--metal-sheen), linear-gradient(115deg, #f4f4f2, #dcdcda 55%, #bbbbb9); }
.tone-swatch--rose     { background: var(--metal-sheen), linear-gradient(115deg, #f2d3bb, #ddb394 55%, #bd8d6a); }
.tone-swatch--silver   { background: var(--metal-sheen), linear-gradient(115deg, #eef0f0, #d3d6d6 55%, #aeb2b2); }
.tone-swatch--platinum { background: var(--metal-sheen), linear-gradient(115deg, #f0f2f2, #d6d9d9 55%, #b3b7b7); }

.tone-item.is-active .tone-swatch {
  border: 2px solid #1c1c1e;
  box-shadow:
    0 4px 14px rgba(28, 28, 30, 0.18),
    inset 0 12px 16px rgba(255, 255, 255, 0.45),
    inset 0 -12px 16px rgba(0, 0, 0, 0.16);
}

.tone-label {
  font-size: 11px;
  color: #333333;
  text-align: center;
}

/* karat reel — only visible on the active gold swatch */
.tone-chev,
.tone-reel-mask {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.tone-item.is-active .tone-chev,
.tone-item.is-active .tone-reel-mask {
  opacity: 1;
  pointer-events: auto;
}

.tone-chev {
  /* generous hotspot around the small arrow, for clickers */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  margin: -4px 0;
  cursor: pointer;
  color: rgba(28, 28, 30, 0.55);
  line-height: 0;
}

.tone-chev:hover { color: #1c1c1e; }

.tone-reel-mask {
  display: block;
  height: 24px; /* one reel row; keep in sync with rowH in tone.js */
  overflow: hidden;
}

.tone-reel {
  display: block;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1); /* springy snap */
  will-change: transform;
}

.tone-reel__row {
  display: block;
  height: 24px;
  line-height: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.04em;
  color: #1c1c1e;
  text-align: center;
}

.cta {
  width: 100%;
  padding: 19px 20px;
  border-radius: 999px;
  background: #202020; /* match nav background */
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.15s ease;
}

.cta:hover { background: #383838; }

.divider {
  border: none;
  border-top: 1px solid rgba(215, 215, 215, 0.5);
  margin: 0;
}

/* ---- about ---- */
.about { margin: 36px 0; }

.about__body {
  max-width: 95%;
  font-size: 12.5px;
  line-height: 17px;
  color: #333333;
}

.about__features {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 14.5px;
  color: #333333;
}

.about__features img {
  width: 18px;
  height: auto; /* keep each icon's natural aspect ratio */
}

.about__heading {
  /* matches .field-label */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.about__sub {
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 22px;
}

.about__label {
  /* matches .about__heading / .field-label */
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 18px 0 6px;
}

.about__list {
  list-style: none;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ============ CUSTOMISER ============ */
.customiser {
  /* in-flow page body: left panel scrolls with the page, stage is sticky */
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: start;
  background: var(--cream);
}

@keyframes rise {
  from { transform: translateY(4%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.customiser[hidden] { display: none; }

.customiser__panel {
  padding: 84px 130px 60px;
  border-right: 1px solid var(--line);
}

/* ---- sales message (above the product title) ---- */
.sales-message {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 14.5px;
  color: #333333;
  margin-bottom: 13px;
}

.sales-message img {
  width: 16px;
  height: auto;
  transform: scaleY(-1) rotate(-7.5deg); /* flip the drawn arrow to point up-right, per design */
}

.customiser__close {
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 5;
  font-size: 20px;
  color: var(--ink-soft);
}

.customiser__title {
  font-weight: 900;
  font-size: clamp(30px, 2.6vw, 40px);
  text-transform: uppercase;
  color: var(--ink);
}

.customiser__subtitle {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 12px 0 8px;
}

.customiser__blurb {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.cost-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(215, 215, 215, 0.5);
}

.cost-row__label {
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cost-row__value { font-size: 17px; }

/* ---- accordions ---- */
.acc { border-bottom: 1px solid rgba(215, 215, 215, 0.5); }

.acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 26px 0 14px;
  /* matches .product__price typography */
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}

.acc__head::-webkit-details-marker { display: none; }

.acc__head--roomy { padding-bottom: 18px; }

/* closed accordion: bottom space under the header mirrors the 26px above it */
details.acc:not([open]) .acc__head { padding-bottom: 26px; }

.acc--static .acc__head { padding-bottom: 9px; }

.acc__chev {
  color: #9b958a;
  display: inline-flex;
  align-items: center;
  transform: translateY(-1px); /* optical alignment with the heading text */
}

.acc__chev svg { display: block; }

/* open: chevron points up; closed: points down (no transition, instant flip) */
.acc[open] .acc__chev { transform: translateY(-1px) rotate(180deg); }

.acc__body { padding: 2px 0 26px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.chip-row--tight { margin-top: 10px; }

.chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 11.5px;
  font-weight: 500;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.chip .mono { font-size: 10.5px; color: var(--ink-soft); }

.chip-gem { width: 22px; height: 22px; margin-bottom: 3px; display: block; }

/* stone chips share one width so the grid reads as a set */
/* four equal chips fill the column; the fifth (Emerald) wraps to a new
   line at the same width */
#stone-row .chip { flex: 0 0 calc((100% - 24px) / 4); min-width: 0; padding-left: 8px; padding-right: 8px; }
#face-mode-row .chip { flex: 1 1 0; min-width: 0; padding-left: 8px; padding-right: 8px; }

.customiser__note.customiser__note--stones { margin-top: 6px; font-size: 12px; }#stone-row .chip[data-stone="diamond"] .chip-gem { color: #d9e4ea; }
#stone-row .chip[data-stone="ruby"] .chip-gem { color: #9c1230; }
#stone-row .chip[data-stone="sapphire"] .chip-gem { color: #24418f; }
#stone-row .chip[data-stone="emerald"] .chip-gem { color: #167a49; }

.chip:hover { border-color: var(--ink-soft); }

.chip.is-active {
  border-color: var(--brand);
  background: #e4ebf0;
}

.chip.is-active .mono { color: var(--brand); }

.sub-field { margin-top: 16px; }

.text-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-size: 12px;
  border-radius: 0;
}

.text-input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }

.upload {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  border: 1px dashed var(--ink-soft);
  cursor: pointer;
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.upload:hover { border-color: var(--brand); color: var(--brand); }

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
}

.slider-label .mono { font-weight: 400; color: var(--ink-soft); text-transform: none; }

.slider {
  width: 100%;
  accent-color: var(--brand);
  cursor: pointer;
  margin: 2px 0 6px;
}

.upload__hint {
  font-weight: 400;
  font-size: 10.5px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.cta--cart { margin-top: 26px; }

.customiser__note {
  margin-top: 16px;
  font-size: 12px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---- stage ---- */
.customiser__stage {
  position: sticky;
  /* set --rb-header-offset on .customiser to your site's sticky header height */
  top: var(--rb-header-offset, 0px);
  height: calc(100vh - var(--rb-header-offset, 0px));
  background: var(--blush);
  overflow: clip;                  /* contain the drifting aura layer */
}

.customiser__viewer { position: absolute; inset: 0; }

.view-presets {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.view-presets button {
  padding: 8px 14px;
  font-size: 11px;
  border: 1px solid #d7d7d7;
  color: #5f7280;
  background: rgba(240, 243, 246, 0.6);
  backdrop-filter: blur(4px);
}

.view-presets button.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #d7e3f2;
}

.customiser__hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #5f7280; /* matches .view-presets button text */
  pointer-events: none;
}

.hand-btn {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 11px 22px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #d7d7d7;
  color: #59636d;
  background: rgba(240, 243, 246, 0.75);
  backdrop-filter: blur(4px);
  transition: background 0.15s ease, color 0.15s ease;
}

.hand-btn:hover { background: var(--brand); border-color: var(--brand); color: #d7e3f2; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .customiser { grid-template-columns: 1fr; grid-template-rows: 55vh 1fr; }
  .customiser__stage { order: -1; }
  .customiser__panel { border-right: none; }
}

.acc--static .acc__head { cursor: default; }

/* header + control on one row, vertically centred */
.acc--row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 18px 0;
}

.acc--row .acc__head { padding: 0; flex: none; }

.acc--row .acc__body { padding: 0; flex: 1; }

/* ---- hand try-on: real-photo composite ---- */
.hand-photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  z-index: 2;
}
.hand-photo[hidden] { display: none; }
.hand-photo__box {
  position: relative;
  height: 100%;
  aspect-ratio: 1429 / 2560;
  background: url("../assets/hand.jpg") center / cover no-repeat;
}
.hand-photo__box canvas { position: absolute; inset: 0; }

/* ============ CINEMATIC LAYER ============
   Atmosphere, colour and motion over the refined base — none of it changes
   the type or sizing of existing elements. The stage aura is tinted by
   --aura, which js/tone.js retunes to the selected metal. */

:root {
  --aura: 150, 165, 178;  /* blue-grey */
  --aura-b: 108, 124, 144; /* light slate-blue */
}

/* -- ONE cohesive aurora behind the whole builder: the 3D canvas is
      transparent, so this field sits BEHIND the ring and behind the panel
      alike. Two layers drift against each other so it never sits still. -- */
.customiser {
  position: relative;
  overflow: clip;
  /* embed: keep the viewport-locked aurora painted only inside the builder */
  isolation: isolate;
  clip-path: inset(0);
}

.customiser::before,
.customiser::after {
  content: "";
  /* locked to the viewport: one full-width field behind both columns,
     the page scrolls over it */
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  will-change: transform, filter;
}

.customiser::before {
  /* blooms live on the frame of the builder — top-left corner, the right
     side of the stage, and the bottom — leaving text and ring clear */
  /* NB: this layer overhangs the VIEWPORT by 20% on every side, so gradient
     positions are in the expanded box: viewport% = (position*1.4) - 20 */
  background:
    radial-gradient(30% 26% at 17% 17%, rgba(var(--aura-b), 0.38), transparent 70%),
    radial-gradient(32% 28% at 46% 71%, rgba(var(--aura-b), 0.32), transparent 70%),
    radial-gradient(28% 24% at 56% 86%, rgba(var(--aura-b), 0.26), transparent 70%),
    radial-gradient(34% 30% at 82% 18%, rgba(var(--aura-b), 0.32), transparent 70%);
  animation: aurora-a 10s ease-in-out infinite alternate;
}

.customiser::after {
  background:
    radial-gradient(22% 20% at 19% 36%, rgba(var(--aura), 0.28), transparent 72%),
    radial-gradient(26% 22% at 20% 77%, rgba(var(--aura-b), 0.24), transparent 70%),
    radial-gradient(20% 18% at 41% 84%, rgba(var(--aura), 0.21), transparent 70%);
  animation: aurora-b 7s ease-in-out infinite alternate-reverse;
}

@keyframes aurora-a {
  from { transform: translate3d(-13%, -8%, 0) scale(1) rotate(0.001deg); opacity: 1; }
  50%  { opacity: 0.7; }
  to   { transform: translate3d(13%, 10%, 0) scale(1.3) rotate(9deg); opacity: 1; }
}

@keyframes aurora-b {
  from { transform: translate3d(10%, 13%, 0) scale(1.05) rotate(0.001deg); opacity: 0.75; }
  50%  { opacity: 1; }
  to   { transform: translate3d(-13%, -10%, 0) scale(1.35) rotate(-11deg); opacity: 0.75; }
}

/* the columns ride above the aurora; both are see-through so the field
   reads as one continuous space */
.customiser__panel { position: relative; z-index: 1; }
.customiser__stage { z-index: 1; background: transparent; }

/* no veil: both columns are fully transparent so the aurora reads as one
   uninterrupted field across the whole width */
.customiser__panel { background: transparent; }

/* kept for the outro's slow-breathing glow */
@keyframes aura-drift {
  from { transform: translate3d(-2.5%, -1.5%, 0) scale(1) rotate(0.001deg); }
  to   { transform: translate3d(2.5%, 3%, 0) scale(1.12) rotate(0.001deg); }
}

/* -- choosing a metal blooms light through the whole room (behind the
      ring — the aurora layers themselves surge) -- */
html.aura-bloom .customiser::before {
  animation-name: aurora-a, aura-bloom-soft;
  animation-duration: 26s, 0.9s;
}

html.aura-bloom .customiser::after {
  animation-name: aurora-b, aura-bloom-soft;
  animation-duration: 17s, 0.9s;
}

@keyframes aura-bloom-soft {
  0%   { filter: none; }
  30%  { filter: saturate(1.45) brightness(1.08); }
  100% { filter: none; }
}

/* stage controls float above everything */
.view-presets, .hand-btn { z-index: 2; }

/* -- entrance choreography: panel content rises in sequence, stage fades -- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.customiser__panel > * { animation: rise 0.65s cubic-bezier(0.22, 0.75, 0.25, 1) both; }
.customiser__panel > *:nth-child(1)  { animation-delay: 0.05s; }
.customiser__panel > *:nth-child(2)  { animation-delay: 0.11s; }
.customiser__panel > *:nth-child(3)  { animation-delay: 0.17s; }
.customiser__panel > *:nth-child(4)  { animation-delay: 0.23s; }
.customiser__panel > *:nth-child(5)  { animation-delay: 0.29s; }
.customiser__panel > *:nth-child(6)  { animation-delay: 0.35s; }
.customiser__panel > *:nth-child(7)  { animation-delay: 0.41s; }
.customiser__panel > *:nth-child(8)  { animation-delay: 0.47s; }
.customiser__panel > *:nth-child(9)  { animation-delay: 0.53s; }
.customiser__panel > *:nth-child(10) { animation-delay: 0.59s; }
.customiser__panel > *:nth-child(11) { animation-delay: 0.65s; }
.customiser__panel > *:nth-child(n+12) { animation-delay: 0.71s; }

.customiser__stage { animation: fade-in 1.1s ease 0.15s both; }

/* -- light sweep across the CTA on hover -- */
.cta {
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.20) 50%, transparent 68%);
  transform: translateX(-130%);
}

.cta:hover::after { transition: transform 0.65s ease; transform: translateX(130%); }

/* -- calm everything for users who ask for it -- */
@media (prefers-reduced-motion: reduce) {
  .customiser::before,
  .customiser::after,
  .customiser__panel > *,
  .customiser__stage { animation: none; }
  .cta::after { display: none; }
}

/* ============ CINEMA: TITLE SEQUENCE, OUTRO ACT, CURSOR ============ */

/* -- scroll-choreographed reveals: rise + focus pull -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(7px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 0.75, 0.25, 1),
    filter 0.9s ease;
}

[data-reveal].is-in { opacity: 1; transform: none; filter: none; }


/* -- custom drag cursor over the 3D viewer -- */
.customiser__viewer { cursor: none; }

.drag-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border: 1px solid rgba(28, 28, 30, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(28, 28, 30, 0.75);
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease; /* transform is driven per-frame by JS */
}

.drag-cursor.is-on { opacity: 1; }

/* -- magnetic buttons drift toward the cursor -- */
.is-magnetic { transition: transform 0.28s cubic-bezier(0.22, 0.75, 0.25, 1); will-change: transform; }

/* -- reduced motion: the film plays as stills -- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .customiser__viewer { cursor: grab; }
  .drag-cursor { display: none; }
  .is-magnetic { transition: none; }
}
