/* Eternus × Momentus inquiry. One easing curve everywhere, two brand moods
   that the page morphs between, and nothing that moves under reduced motion. */

@property --tint {
  syntax: '<color>';
  inherits: true;
  initial-value: rgb(8 12 20 / 0.55);
}
@property --tint-deep {
  syntax: '<color>';
  inherits: true;
  initial-value: rgb(8 12 20 / 0.94);
}
@property --accent {
  syntax: '<color>';
  inherits: true;
  initial-value: #c2a984;
}
@property --glow {
  syntax: '<color>';
  inherits: true;
  initial-value: rgb(194 169 132 / 0.16);
}

:root {
  --ink: #080c14;
  --gold: #c2a984;
  --gold-hi: #e6d3ab;
  --cream: #f3eeeb;
  --muted: #ddd5d0;
  --line: rgb(243 238 235 / 0.18);
  --danger: #e0a597;
  /* Momentus brand book: Arena, Bruma, Taupe, Tinta. */
  --arena: #cebcaa;
  --bruma: #eef4f2;
  --taupe: #6b5d4f;
  --tinta: #1e1b18;

  --f-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-momentus: 'Poppins', 'Montserrat', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 16px;
}

/* Brand moods. The wash, the accent and the light all animate between them. */
body {
  --tint: rgb(8 12 20 / 0.55);
  --tint-deep: rgb(8 12 20 / 0.94);
  --accent: #c2a984;
  --glow: rgb(194 169 132 / 0.16);
  transition:
    --tint 1.4s var(--ease),
    --tint-deep 1.4s var(--ease),
    --accent 1s var(--ease),
    --glow 1.4s var(--ease);
}
body[data-brand='momentus'] {
  --tint: rgb(74 64 54 / 0.62);
  --tint-deep: rgb(30 27 24 / 0.95);
  --accent: #cebcaa;
  --glow: rgb(206 188 170 / 0.22);
}

body[data-brand='momentus'] .card,
body[data-brand='momentus'] .choice,
body[data-brand='momentus'] .control {
  background-color: rgb(30 27 24 / 0.42);
}
.cards[data-picked] .card[aria-checked='false']:hover {
  opacity: 0.8;
}

body[data-brand='momentus'] .cta--solid {
  background-image: linear-gradient(110deg, var(--arena) 0%, var(--bruma) 45%, var(--arena) 55%, var(--arena) 100%);
}

/* Momentus titles set in Poppins Light, wide tracking, per the brand book. */
body[data-brand='momentus'] .heading,
body[data-brand='momentus'] .end__title,
body[data-brand='momentus'] .end__heading {
  font-family: var(--f-momentus);
  font-weight: 300;
  letter-spacing: 0.16em;
}
body[data-brand='momentus'] .heading {
  font-size: clamp(1.5rem, 5.2vw, 2.35rem);
}
body[data-brand='eternus'] {
  --tint: rgb(3 5 10 / 0.6);
  --tint-deep: rgb(2 3 7 / 0.97);
  --accent: #d4b98c;
  --glow: rgb(212 185 140 / 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Stage ──────────────────────────────────────────────────────────── */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.stage__media,
.stage__layer {
  position: absolute;
  inset: 0;
}

.stage__layer {
  opacity: 0;
  will-change: transform, opacity;
  background-size: cover;
  background-position: var(--pos, 50% 80%);
  transform: scale(1.08);
  transition:
    opacity 1.6s var(--ease),
    transform 2.4s var(--ease);
}
.stage__layer.is-on {
  opacity: 1;
  transform: scale(1.04);
  animation: kenburns 28s var(--ease) infinite alternate;
}
.stage__layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes kenburns {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -2%, 0);
  }
}

.stage__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 75% at 50% 45%, rgb(0 0 0 / 0.42) 0%, rgb(0 0 0 / 0.18) 60%, transparent 100%),
    radial-gradient(120% 80% at 50% 30%, transparent 0%, var(--tint) 55%, var(--tint-deep) 100%),
    linear-gradient(180deg, var(--tint) 0%, var(--tint-deep) 92%);
}

.stage__light {
  position: absolute;
  top: 0;
  left: 0;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
  transform: translate3d(calc(var(--lx, 50) * 1vw - 35vmax), calc(var(--ly, 30) * 1vh - 35vmax), 0);
  transition: transform 1.8s var(--ease);
  will-change: transform;
}

.stage__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  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");
}

.stage__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 22vmax rgb(0 0 0 / 0.75);
}

/* The colour wipe that opens from the tapped card when a brand is picked. */
.wipe {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--wipe, rgb(18 40 26 / 0.5));
  clip-path: circle(0 at var(--wx, 50%) var(--wy, 50%));
  opacity: 0;
}
.wipe.is-run {
  animation: wipe 1.3s var(--ease) forwards;
}
@keyframes wipe {
  0% {
    opacity: 1;
    clip-path: circle(0 at var(--wx) var(--wy));
  }
  60% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    clip-path: circle(150% at var(--wx) var(--wy));
  }
}

/* A warm light leak crosses the frame on every cut between steps. */
.leak {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(35% 70% at var(--lkx, 30%) 45%, rgb(255 186 120 / 0.55), transparent 70%),
    linear-gradient(100deg, transparent 20%, rgb(255 222 180 / 0.22) 50%, transparent 80%);
}
.leak.is-run {
  animation: leak 1s var(--ease) forwards;
}
@keyframes leak {
  0% {
    opacity: 0;
    transform: translateX(-12%);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(12%);
  }
}

/* Opening bars, like the first frame of a film. */
.letterbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}
.letterbox i {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #000;
  transition: transform 1.7s cubic-bezier(0.7, 0, 0.2, 1);
}
.letterbox i:first-child {
  top: 0;
}
.letterbox i:last-child {
  bottom: 0;
}
.letterbox.is-open i:first-child {
  transform: translateY(-100%);
}
.letterbox.is-open i:last-child {
  transform: translateY(100%);
}

/* ── Top bar ────────────────────────────────────────────────────────── */
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 5.5rem 1fr 5.5rem;
  align-items: center;
  gap: 0.75rem;
  padding: max(12px, env(safe-area-inset-top)) var(--gutter) 22px;
  background: linear-gradient(180deg, var(--tint-deep) 0%, color-mix(in srgb, var(--tint-deep) 70%, transparent) 60%, transparent 100%);
}
body[data-view='intro'] .bar {
  background: none;
}

.bar__back,
.bar__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.3s var(--ease),
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.bar__back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.bar__back:hover,
.bar__lang:hover {
  color: var(--accent);
}
.bar__lang {
  justify-self: end;
  min-width: 52px;
  justify-content: center;
  padding: 0 0.8rem;
  border: 1px solid rgb(243 238 235 / 0.3);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
}

body[data-view='intro'] .bar__back,
body[data-view='end'] .bar__back {
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
}

.bar__progress {
  justify-self: center;
  width: min(22rem, 100%);
  text-align: center;
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
body[data-view='intro'] .bar__progress,
body[data-view='end'] .bar__progress {
  opacity: 0;
  transform: translateY(-8px);
}

.bar__label {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bar__dot {
  margin: 0 0.5em;
  color: var(--accent);
}

/* Progress as a film strip: five frames, the current one glowing. */
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}
.strip i {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: rgb(243 238 235 / 0.16);
  transition: background-color 0.8s var(--ease);
}
.strip i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.strip i.is-done::after {
  transform: scaleX(1);
}
.strip i.is-now::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--accent), var(--gold-hi), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 2.6s linear infinite;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.ribbon {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 30;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgb(243 238 235 / 0.2);
  border-radius: 999px;
  background: rgb(8 12 20 / 0.7);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ── Flow and steps ─────────────────────────────────────────────────── */
.flow {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  padding: calc(84px + env(safe-area-inset-top)) var(--gutter) 56px;
}

.steps {
  display: contents;
}

/* Steps share one grid cell, so the outgoing and incoming steps overlap
   while they cross. */
.step {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  width: min(34rem, 100%);
  text-align: center;
}
.step[hidden] {
  display: none;
}
.step--wide {
  width: min(52rem, 100%);
}
.step--end {
  align-self: start;
  width: min(66rem, 100%);
}

.step [data-rise] {
  opacity: 0;
}
.step.is-in [data-rise] {
  animation: rise 1.05s var(--ease) both;
  animation-delay: calc(0.12s + var(--i, 0) * 0.09s);
}
.step.is-in[data-dir='back'] [data-rise] {
  animation-name: rise-back;
}
.step.is-shown [data-rise] {
  opacity: 1;
}
.step.is-out {
  pointer-events: none;
  animation: leave 0.5s var(--ease) both;
}
.step.is-out[data-dir='back'] {
  animation-name: leave-back;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rise-back {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes leave {
  to {
    opacity: 0;
    transform: translateY(-14px) scale(0.985);
  }
}
@keyframes leave-back {
  to {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.heading {
  margin: 0 0 1.75rem;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.45);
  font-family: var(--f-display);
  font-size: clamp(1.85rem, 6.4vw, 2.9rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}

.sub {
  margin: -0.75rem auto 1.75rem;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.sub:empty {
  display: none;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.step--intro {
  width: min(64rem, 100%);
}

.lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.9rem;
}
.lockup__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.lockup__eternus {
  width: 30px;
  height: 30px;
  opacity: 0.95;
}
.lockup__word {
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.lockup__mm {
  height: 34px;
  color: var(--bruma);
}
.lockup__mmword {
  height: 12px;
  color: var(--bruma);
}

/* The Momentus logo, from the brand book, drawn as a mask so it takes any
   colour. It reveals left to right, then a light sweeps across its lines. */
.mm-mark,
.mm-word {
  display: inline-block;
  background: linear-gradient(105deg, currentColor 0 44%, #fff 50%, currentColor 56% 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-mask: url('assets/momentus-mark.svg') center / contain no-repeat;
  mask: url('assets/momentus-mark.svg') center / contain no-repeat;
  animation:
    mm-in 1.8s var(--ease) 0.2s both,
    mm-sheen 6s var(--ease) 2s infinite;
}
.mm-mark {
  aspect-ratio: 99.3 / 82.71;
}
.mm-word {
  aspect-ratio: 316.98 / 36.37;
  -webkit-mask-image: url('assets/momentus-wordmark.svg');
  mask-image: url('assets/momentus-wordmark.svg');
}
@keyframes mm-in {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
@keyframes mm-sheen {
  0%,
  60% {
    background-position: 100% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

.quote {
  margin: 0.4rem auto 1.4rem;
  max-width: 100%;
  font-family: var(--f-display);
  font-size: clamp(1.85rem, 6vw, 3.3rem);
  font-weight: 300;
  line-height: 1.12;
  text-wrap: balance;
}
.quote .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
}
.step.is-in .quote .w,
.step.is-shown .quote .w {
  animation: word 1.1s var(--ease) both;
  animation-delay: calc(0.5s + var(--w) * 0.055s);
}
.quote em {
  color: var(--gold-hi);
  font-style: italic;
}
@keyframes word {
  to {
    opacity: 1;
    transform: none;
  }
}

.reach {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.actions--stack {
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 50px;
  padding: 0 2rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  border-radius: 999px;
  background: rgb(8 12 20 / 0.25);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  isolation: isolate;
  transition:
    color 0.45s var(--ease),
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    opacity 0.3s;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.cta:hover:not(:disabled) {
  color: var(--ink);
  box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--accent) 60%, transparent);
}
.cta:hover:not(:disabled)::before {
  transform: scaleX(1);
}
.cta:active:not(:disabled) {
  transform: scale(0.97);
}
.cta:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.cta__arrow {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0;
  animation: nudge 2.2s var(--ease) infinite;
}
@keyframes nudge {
  0%, 60%, 100% { transform: translateX(0); }
  75% { transform: translateX(5px); }
}

.cta--solid {
  border-color: transparent;
  background: linear-gradient(110deg, var(--gold) 0%, var(--gold-hi) 45%, var(--gold) 55%, var(--gold) 100%);
  background-size: 250% 100%;
  color: var(--ink);
  animation: sheen 4.5s var(--ease) infinite;
}
.cta--solid::before {
  background: var(--cream);
}
@keyframes sheen {
  0%, 55% { background-position: 100% 0; }
  100% { background-position: -150% 0; }
}

.cta.is-busy .cta__arrow {
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.ghost {
  min-height: 44px;
  padding: 0 1rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: rgb(243 238 235 / 0.25);
  text-underline-offset: 6px;
  cursor: pointer;
  transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease);
}
.ghost:hover {
  color: var(--cream);
  text-decoration-color: var(--accent);
}

/* An open calendar or list sits above the blocks that animate in after it. */
.fields,
.phone,
.date {
  position: relative;
}
.fields:has(.panel),
.field:has(.panel) {
  z-index: 40;
}

/* ── Fields ─────────────────────────────────────────────────────────── */
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1rem;
  text-align: left;
}
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}
.field--full {
  grid-column: 1 / -1;
}
.field__label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
/* Required fields carry an asterisk after their label. */
[data-required] > .field__label::after {
  content: ' *';
  color: var(--accent);
}
.field__opt {
  color: rgb(201 192 188 / 0.6);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: none;
}
.field__error {
  min-height: 0;
  color: var(--danger);
  font-size: 0.84rem;
}
.field__error:empty {
  display: none;
}

.control {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(8 12 20 / 0.58);
  color: var(--cream);
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background-color 0.35s var(--ease);
}
.control::placeholder {
  color: rgb(201 192 188 / 0.45);
}
.control:hover {
  border-color: rgb(243 238 235 / 0.32);
}
.control:focus,
.control:focus-within {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 75%, transparent);
  background-color: rgb(8 12 20 / 0.55);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.field.is-bad .control {
  border-color: color-mix(in srgb, var(--danger) 70%, transparent);
}
.field.is-shake,
.cards.is-shake {
  animation: shake 0.45s var(--ease);
}
@keyframes shake {
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

.field__note {
  margin: 0.15rem 0 0;
  color: var(--accent);
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-style: italic;
  font-variant-numeric: lining-nums;
}
.field__note:empty {
  display: none;
}
.field__note.is-swap {
  animation: swap 0.8s var(--ease) both;
}

/* Segmented choice with a sliding thumb. */
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.seg__thumb {
  display: none;
}

.seg[data-picked] .seg__thumb {
  opacity: 1;
}
.seg button {
  position: relative;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(8 12 20 / 0.58);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.35s var(--ease),
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}
.seg button:hover {
  border-color: rgb(243 238 235 / 0.34);
}

.seg button[aria-checked='true'] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, rgb(8 12 20 / 0.6));
  color: var(--cream);
  box-shadow: 0 8px 26px -12px color-mix(in srgb, var(--accent) 70%, transparent);
}

.seg button:focus-visible,
.choice:focus-visible,
.cta:focus-visible,
.ghost:focus-visible,
.bar__back:focus-visible,
.bar__lang:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 80%, transparent);
  outline-offset: 3px;
}
.seg button:focus:not(:focus-visible) {
  outline: none;
}

/* Height-animated reveal for the couple / planner fields. */
.reveal {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.7s var(--ease),
    opacity 0.5s var(--ease);
}
.reveal.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.reveal__inner {
  min-height: 0;
  overflow: hidden;
  margin: -6px;
  padding: 6px;
}
.reveal:not(.is-open) {
  margin-top: -1.35rem;
}

.phone {
  display: flex;
  gap: 0.6rem;
}
.phone__country {
  flex: 0 0 7.75rem;
}
.phone > .control {
  flex: 1;
  min-width: 0;
}

/* Widget styles carried from the original form, re-skinned. */
.select,
.date {
  position: relative;
}
.select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  cursor: pointer;
}
.select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select__value[data-placeholder] {
  color: rgb(201 192 188 / 0.5);
}
.select__chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  background-color: var(--muted);
  transition: transform 0.3s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.select__trigger[aria-expanded='true'] .select__chevron {
  transform: rotate(180deg);
}

.panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  border: 1px solid rgb(243 238 235 / 0.14);
  border-radius: 14px;
  background: rgb(14 18 26 / 0.94);
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.55);
  backdrop-filter: blur(18px);
  transform-origin: top left;
  animation: pop 0.32s var(--ease) both;
}
.panel--up {
  top: auto;
  bottom: calc(100% + 6px);
  transform-origin: bottom left;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.96);
  }
}
.select__panel {
  min-width: 100%;
  padding: 0.3rem 0;
}
.select__search {
  position: sticky;
  top: 0;
  padding: 0.5rem;
  border-bottom: 1px solid rgb(243 238 235 / 0.08);
}
.select__search .control {
  min-height: 40px;
  padding: 0.45rem 0.7rem;
}
.select__list {
  max-height: 17rem;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}
.select__option {
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  cursor: pointer;
}
.select__option[data-active] {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.select__option[aria-selected='true'] {
  color: var(--accent);
}
.select__empty {
  padding: 0.6rem 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.control.date__shell {
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.date__icon {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  border: 0;
  border-right: 1px solid rgb(243 238 235 / 0.1);
  background: none;
  color: var(--accent);
  cursor: pointer;
}
.date__value {
  flex: 1;
  padding: 0 0.9rem;
  border: 0;
  background: none;
  color: rgb(201 192 188 / 0.5);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}
.date__value[data-filled] {
  color: var(--cream);
}
/* Calendar: glass panel, round days, month and year grids instead of native lists. */
.date__panel {
  width: 100%;
  max-width: 26rem;
  padding: 1rem 0.9rem 0.9rem;
  border-radius: 20px;
  background: rgb(18 17 20 / 0.985);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 30px 70px -20px rgb(0 0 0 / 0.75),
    inset 0 1px 0 rgb(255 255 255 / 0.05);
  overflow: hidden;
}
.date__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.date__arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgb(243 238 235 / 0.12);
  border-radius: 50%;
  background: none;
  color: var(--accent);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.date__arrow:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.date__arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.date__captions {
  display: flex;
  gap: 0.25rem;
}
.date__cap {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 36px;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--cream);
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.date__cap:first-child span::first-letter {
  text-transform: uppercase;
}
.date__cap svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.date__cap:hover,
.date__cap.is-open {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.date__cap.is-open svg {
  transform: rotate(180deg);
}
.date__cap:focus-visible,
.date__arrow:focus-visible,
.date__day:focus-visible,
.date__choice:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.date__weekdays,
.date__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.date__weekdays {
  margin-bottom: 0.35rem;
}
.date__weekday {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.date__grid--fwd {
  animation: date-fwd 0.45s var(--ease);
}
.date__grid--back {
  animation: date-back 0.45s var(--ease);
}
@keyframes date-fwd {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
}
@keyframes date-back {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
}
.date__day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--cream);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.date__day--weekend {
  color: color-mix(in srgb, var(--accent) 80%, var(--cream));
}
.date__day:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  transform: scale(1.06);
}
.date__day:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}
.date__day--today {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent);
}
.date__day--selected,
.date__day--selected:hover:not(:disabled) {
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 6px 20px -6px color-mix(in srgb, var(--accent) 80%, transparent);
}
.date__day--empty {
  visibility: hidden;
}
.date__choices {
  display: grid;
  gap: 6px;
}
.date__choices--months {
  grid-template-columns: repeat(3, 1fr);
}
.date__choices--years {
  grid-template-columns: repeat(3, 1fr);
}
.date__choice {
  min-height: 48px;
  border: 1px solid rgb(243 238 235 / 0.08);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.03);
  color: var(--cream);
  font-size: 0.92rem;
  text-transform: capitalize;
  cursor: pointer;
  animation: rise 0.5s var(--ease) both;
  animation-delay: calc(var(--n) * 0.02s);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.date__choice:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.date__choice.is-today {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.date__choice.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.date__choice:disabled {
  opacity: 0.22;
  cursor: not-allowed;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── Review ─────────────────────────────────────────────────────────── */
/* Wider than the step's column, so a long quote reads in a few lines. */
.review {
  width: min(54rem, calc(100vw - 2.5rem));
  position: relative;
  isolation: isolate;
  margin: 2.75rem 0 0 calc(50% - min(27rem, 50vw - 1.25rem));
  padding: 0;
}
/* A soft dark glow behind the quote keeps it readable over any frame of the video. */
.review::before {
  content: '';
  position: absolute;
  inset: -1.5rem 0;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(6 8 12 / 0.55), transparent);
  pointer-events: none;
}
.review:empty {
  display: none;
}
.review__stars {
  display: inline-flex;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
}
.review__stars i {
  width: 14px;
  height: 14px;
  background: var(--accent);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.18;
  transform: scale(0.6);
}
.step.is-in .review__stars i,
.step.is-shown .review__stars i,
.review.is-swap .review__stars i {
  animation: star 0.6s var(--ease) both;
  animation-delay: calc(0.9s + var(--s) * 0.09s);
}
@keyframes star {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.review__text {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  text-wrap: balance;
  color: var(--cream);
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.55), 0 2px 22px rgb(0 0 0 / 0.65);
}
.review__who {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
/* The couple's photo in a thin gold ring: the padding shows the gradient as the ring. */
.review__face {
  flex: none;
  box-sizing: border-box;
  width: 52px;
  height: 52px;
  padding: 1.5px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(140deg, #f1dcae, var(--accent) 45%, #7d6440);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.5), 0 0 22px color-mix(in srgb, var(--accent) 18%, transparent);
}
.review__face--mono {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgb(52 46 40), rgb(14 14 18)) padding-box,
    linear-gradient(140deg, #f1dcae, var(--accent) 45%, #7d6440) border-box;
  border: 1.5px solid transparent;
  padding: 0;
  color: var(--accent);
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
}
.step.is-in .review.is-swap {
  opacity: 1;
  animation: swap 0.9s var(--ease) both;
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ── Storyteller cards ──────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 1rem;
  max-width: calc(var(--cols, 2) * 22rem);
  margin: 0 auto;
  perspective: 1200px;
}

.card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 2rem 1.25rem 1.6rem;
  overflow: hidden;
  border: 1px solid rgb(243 238 235 / 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.015));
  text-align: center;
  cursor: pointer;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition:
    transform 0.6s var(--ease),
    border-color 0.6s var(--ease),
    opacity 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
  animation: card-in 1.1s var(--ease) backwards;
  animation-delay: calc(0.35s + var(--c) * 0.16s);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(26px) rotateX(10deg);
  }
}
.card__preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.card__preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: card-shot 9s linear infinite paused;
}
.card__preview img:nth-child(2) {
  animation-delay: 3s;
}
.card__preview img:nth-child(3) {
  animation-delay: 6s;
}
.card.is-previewing .card__preview img {
  animation-play-state: running;
}
/* Each shot fades in, drifts closer for three seconds, then hands over. */
@keyframes card-shot {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  10% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
    transform: scale(1.16);
  }
  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card__preview img {
    animation: none;
  }
  .card__preview img:first-child {
    opacity: 1;
  }
}
.card__preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 50% 50%, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.35) 80%),
    linear-gradient(180deg, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0.25) 45%, rgb(0 0 0 / 0.75) 100%);
}
.card.is-previewing .card__preview {
  opacity: 1;
}
.card.is-previewing > :not(.card__preview) {
  text-shadow: 0 1px 14px rgb(0 0 0 / 0.85), 0 0 2px rgb(0 0 0 / 0.6);
}
.card.is-previewing .card__eyebrow,
.card.is-previewing .card__sub,
.card.is-previewing .card__rate {
  color: var(--cream);
}
.card > :not(.card__preview):not(.card__check) {
  position: relative;
  z-index: 1;
}
.card__check {
  z-index: 2;
}
.card::before {
  z-index: 1;
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--card-glow, rgb(194 169 132 / 0.18)), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card:hover::before,
.card[aria-checked='true']::before {
  opacity: 1;
}
.card:hover {
  border-color: rgb(243 238 235 / 0.3);
}
.card[aria-checked='true'] {
  border-color: color-mix(in srgb, var(--card-accent) 85%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--card-accent) 40%, transparent),
    0 30px 80px -30px color-mix(in srgb, var(--card-accent) 55%, transparent);
}
.cards[data-picked] .card[aria-checked='false'] {
  opacity: 0.82;
  transform: scale(0.97);
}
.card:focus-visible {
  outline: 2px solid var(--card-accent);
  outline-offset: 3px;
}

.card--momentus {
  --card-accent: var(--arena);
  --card-glow: rgb(206 188 170 / 0.22);
}
.card--eternus {
  --card-accent: var(--gold);
  --card-glow: rgb(212 185 140 / 0.2);
}

.card__check {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card-accent);
  color: var(--ink);
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.card__check svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.5s var(--ease) 0.2s;
}
.card[aria-checked='true'] .card__check {
  transform: scale(1);
}
.card[aria-checked='true'] .card__check svg {
  stroke-dashoffset: 0;
}

.card__eyebrow {
  color: var(--card-accent);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.card__mark {
  display: grid;
  place-items: center;
  height: 58px;
  margin: 0.4rem 0 0.2rem;
}
.card__mark img {
  width: 42px;
  height: 42px;
}
.card__mark svg {
  width: 54px;
  height: 54px;
}
.card__brand {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.card__name {
  margin: 0.2rem 0 0;
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}
.card--momentus .card__mark .mm-mark {
  height: 62px;
  color: var(--bruma);
}
.card__name--word {
  display: grid;
  place-items: center;
  height: 2.2rem;
}
.card__name--word .mm-word {
  height: 22px;
  color: var(--bruma);
}
.card--momentus .card__price,
.card--momentus .card__eyebrow {
  font-family: var(--f-body);
}
.card--momentus .card__price {
  font-size: 2.1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.card__sub {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card__rule {
  width: 36px;
  height: 1px;
  /* Auto top margin sinks the price to the card's foot, so both cards' prices line up. */
  margin: auto 0 0.7rem;
  background: var(--card-accent);
  opacity: 0.6;
}
.card__price {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.card__price small {
  margin-left: 0.3rem;
  font-family: var(--f-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.card__rate {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.invest,
.review__text,
.quote {
  font-variant-numeric: lining-nums;
}
.invest {
  min-height: 1.6em;
  margin: 1.4rem auto 0;
  max-width: 40rem;
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  font-style: normal;
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.6);
}
.invest.is-swap {
  animation: swap 0.8s var(--ease) both;
}

.closer {
  margin: 1.2rem auto 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.closer b {
  color: var(--accent);
  font-weight: 500;
}

/* ── Timing ─────────────────────────────────────────────────────────── */
.choices {
  display: grid;
  gap: 0.7rem;
}
.choice {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(8 12 20 / 0.58);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.45s var(--ease),
    background-color 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.choice:hover {
  border-color: rgb(243 238 235 / 0.32);
  transform: translateX(3px);
}
.choice[aria-checked='true'] {
  border-color: color-mix(in srgb, var(--accent) 80%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, rgb(8 12 20 / 0.4));
}
.choice__dot {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid rgb(243 238 235 / 0.4);
  border-radius: 50%;
}
.choice__dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}
.choice[aria-checked='true'] .choice__dot {
  border-color: var(--accent);
}
.choice[aria-checked='true'] .choice__dot::after {
  transform: scale(1);
}
.choice__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.choice__copy b {
  font-weight: 500;
  font-size: 1.02rem;
}
.choice__copy small {
  color: var(--muted);
  font-size: 0.88rem;
}

.consents {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
  text-align: left;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  transition: opacity 0.4s var(--ease), max-height 0.6s var(--ease);
}
.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check__box {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid rgb(243 238 235 / 0.4);
  border-radius: 6px;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.check__box svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  transition: stroke-dashoffset 0.4s var(--ease) 0.08s;
}
.check input:checked + .check__box {
  border-color: var(--accent);
  background: var(--accent);
}
.check input:checked + .check__box svg {
  stroke-dashoffset: 0;
}
.check input:focus-visible + .check__box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.check__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.check__copy b {
  font-size: 0.94rem;
  font-weight: 500;
}
.check__copy small {
  color: var(--muted);
  font-size: 0.84rem;
}
.check.is-bad .check__box {
  border-color: var(--danger);
}
.check[hidden] {
  display: none;
}

.send-error {
  margin: 1rem 0 0;
  color: var(--danger);
  font-size: 0.84rem;
}

/* ── Film ───────────────────────────────────────────────────────────── */
.film {
  position: relative;
  margin: 2.6rem auto 0;
  max-width: 39rem;
}

.film--wide {
  max-width: 44rem;
  margin: 0 auto;
}
.film__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgb(243 238 235 / 0.16);
  border-radius: 18px;
  background: #000 center / cover no-repeat;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.9);
}
.film__frame video,
.film__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.film__poster {
  position: absolute;
  inset: 0;
  background: center 30% / cover no-repeat;
  animation: kenburns 24s var(--ease) infinite alternate;
}
.film__sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0 0.8rem;
  border: 1px solid rgb(243 238 235 / 0.3);
  border-radius: 999px;
  background: rgb(8 12 20 / 0.5);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
.film__cap {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.film__cap b {
  color: var(--accent);
  font-weight: 500;
}

/* The hero film is cinema-wide until it plays, then opens to the film's 16:9. */
.step--intro .film__frame {
  aspect-ratio: 2.35 / 1;
  transition: aspect-ratio 0.7s var(--ease);
}
.step--intro .film__frame.is-playing {
  aspect-ratio: 16 / 9;
}

/* Hero carousel: the front film, one waiting on each side, the rest tucked behind. */
.film--carousel {
  max-width: none;
  overflow-x: clip;
  overflow-y: visible;
  padding: 1rem 0 0;
}
.film--carousel .film__cap {
  max-width: 39rem;
  margin-inline: auto;
}
.carousel {
  position: relative;
  max-width: 39rem;
  margin: 0 auto;
}
.carousel .film__frame {
  position: absolute;
  inset: 0;
  transition:
    transform 0.8s var(--ease),
    opacity 0.8s var(--ease),
    filter 0.8s var(--ease),
    aspect-ratio 0.7s var(--ease);
}
.carousel .film__frame[data-pos='center'] {
  position: relative;
  inset: auto;
  z-index: 3;
}
.carousel .film__frame[data-pos='prev'],
.carousel .film__frame[data-pos='next'] {
  z-index: 2;
  opacity: 0.5;
  filter: brightness(0.6) saturate(0.8) blur(1px);
  cursor: pointer;
}
.carousel .film__frame[data-pos='prev'] {
  transform: translateX(-44%) scale(0.78);
}
.carousel .film__frame[data-pos='next'] {
  transform: translateX(44%) scale(0.78);
}
.carousel .film__frame[data-pos='prev']:hover,
.carousel .film__frame[data-pos='next']:hover {
  opacity: 0.8;
}
.carousel .film__frame[data-pos='back'] {
  z-index: 1;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}
.carousel .film__frame:not([data-pos='center']) .film__play {
  opacity: 0;
  pointer-events: none;
}
.carousel .film__frame:not([data-pos='center']) .film__poster {
  animation: none;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: 1px solid rgb(243 238 235 / 0.28);
  border-radius: 50%;
  background: rgb(8 12 20 / 0.55);
  color: var(--cream);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.carousel__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel__arrow--prev {
  left: -22px;
}
.carousel__arrow--next {
  right: -22px;
}
.carousel__arrow:hover {
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  background: rgb(8 12 20 / 0.8);
}
.carousel__arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .carousel {
    max-width: 80%;
  }
  .carousel .film__frame[data-pos='prev'] {
    transform: translateX(-30%) scale(0.82);
  }
  .carousel .film__frame[data-pos='next'] {
    transform: translateX(30%) scale(0.82);
  }
  .carousel__arrow {
    width: 38px;
    height: 38px;
    margin-top: -19px;
  }
  .carousel__arrow--prev {
    left: -14px;
  }
  .carousel__arrow--next {
    right: -14px;
  }
  .film--carousel .film__cap {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .carousel .film__frame {
    transition: none;
  }
}

/* Play button: a glass disc with a breathing ring; the poster fades away. */
.film__poster {
  transition: opacity 0.6s var(--ease);
}
.film__frame.is-playing .film__poster,
.film__frame.is-playing .film__play {
  opacity: 0;
  pointer-events: none;
}
.film__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.45));
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.film__frame.is-playing::after {
  opacity: 0;
}
.film__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border: 1px solid rgb(243 238 235 / 0.45);
  border-radius: 50%;
  background: rgb(8 12 20 / 0.55);
  cursor: pointer;
  transition:
    transform 0.5s var(--ease),
    background-color 0.5s var(--ease),
    opacity 0.4s var(--ease);
}
.film__play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
  fill: var(--cream);
}
.film__play:hover {
  transform: scale(1.08);
  background: color-mix(in srgb, var(--accent) 35%, rgb(8 12 20 / 0.4));
}
.film__play:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.film__ring {
  position: absolute;
  inset: -1px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: breathe 2.6s var(--ease) infinite;
}
@keyframes breathe {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}
.film__frame video {
  object-fit: contain;
  background: #000;
}

/* Other films under the ending's main film. */
.reel__title {
  margin: 2.2rem 0 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.reel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.reel li {
  width: calc((100% - 2.4rem) / 4);
  animation: rise 0.9s var(--ease) both;
  animation-delay: calc(var(--r) * 0.08s);
}
.reel__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.reel__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgb(243 238 235 / 0.14);
  border-radius: 12px;
  background: #000 center / cover no-repeat;
  transition:
    transform 0.6s var(--ease),
    border-color 0.6s var(--ease);
}
.reel__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.35);
  transition: background-color 0.5s var(--ease);
}
.reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 0;
  height: 0;
  margin: -7px 0 0 -4px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--cream);
  opacity: 0.85;
}
.reel__item:hover .reel__thumb {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
}
.reel__item:hover .reel__thumb::after {
  background: rgb(0 0 0 / 0.1);
}
.reel__item:focus-visible .reel__thumb {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.reel__cap {
  display: flex;
  flex-direction: column;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 0;
  width: 100%;
}
.reel__cap b,
.reel__cap span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reel__cap b {
  font-weight: 500;
}
.reel__cap span {
  color: var(--muted);
}

/* The wedding card before the calendar: perforated, in the picked brand's look. */
.ticket-wrap {
  margin: 0 auto 3rem;
  perspective: 1400px;
}
.ticket {
  position: relative;
  width: min(30rem, 100%);
  margin: 0 auto;
  padding: 1.9rem 1.6rem 1.6rem;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    rgb(12 12 14 / 0.72);
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.9);
  text-align: center;
  transform-origin: 50% 0;
  animation: ticket-in 1.4s var(--ease) 0.7s both;
}
.ticket--momentus {
  background:
    radial-gradient(120% 90% at 50% 0%, rgb(206 188 170 / 0.18), transparent 60%),
    rgb(30 27 24 / 0.78);
}
.ticket::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.14) 50%, transparent 65%);
  transform: translateX(-110%);
  animation: ticket-sheen 1.6s var(--ease) 1.8s forwards;
  pointer-events: none;
}
/* Gold hairline border, brighter at the top-left like light on foil. */
.ticket::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    155deg,
    #f1dcae,
    color-mix(in srgb, var(--accent) 75%, transparent) 35%,
    color-mix(in srgb, var(--accent) 25%, transparent) 65%,
    color-mix(in srgb, var(--accent) 70%, transparent)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* The couple's initials, large and faint behind their names. */
.ticket__mono {
  position: absolute;
  top: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  font-family: var(--f-display);
  font-size: 9rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.055;
  pointer-events: none;
}
.ticket > :not(.ticket__mono) {
  position: relative;
}
@keyframes ticket-in {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(18deg);
  }
}
@keyframes ticket-sheen {
  to {
    transform: translateX(110%);
  }
}
.ticket__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.ticket__logo {
  width: 30px;
  height: 30px;
}
.ticket__brand {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.ticket__mm {
  height: 34px;
  color: var(--bruma);
}
.ticket__mmword {
  height: 12px;
  color: var(--bruma);
}
.ticket__eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.ticket__names {
  margin: 0.35rem 0 0.2rem;
  font-family: var(--f-display);
  font-size: clamp(2rem, 7vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;
}
.ticket--momentus .ticket__names {
  font-family: var(--f-momentus);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  letter-spacing: 0.08em;
}
.ticket__count {
  margin: 0;
  color: var(--accent);
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-style: italic;
  font-variant-numeric: lining-nums;
}
.ticket__count:empty {
  display: none;
}
.ticket__tear {
  position: relative;
  height: 1px;
  margin: 1.4rem -1.6rem 0.6rem;
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--accent) 60%, transparent) 50%, transparent 50%);
  background-size: 10px 1px;
}
.ticket__tear::before,
.ticket__tear::after {
  content: '';
  position: absolute;
  top: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tint-deep);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent);
}
.ticket__tear::before {
  left: -11px;
}
.ticket__tear::after {
  right: -11px;
}
.ticket__facts {
  display: grid;
  margin: 0;
  text-align: left;
}
.ticket__facts div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.75rem 0.2rem;
}
.ticket__facts div + div {
  border-top: 1px solid rgb(243 238 235 / 0.08);
}
.ticket__facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ticket__facts dd {
  margin: 0;
  color: var(--cream);
  font-size: 0.98rem;
}
.ticket__facts dd::first-letter {
  text-transform: uppercase;
}

/* ── Endings ────────────────────────────────────────────────────────── */
.end__hero {
  margin: 4vh auto 2.5rem;
}
.end__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 10vw, 5.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}
.end__title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotate(4deg);
  animation: word 1.2s var(--ease) both;
  animation-delay: calc(0.2s + var(--w) * 0.05s);
}
.end__line {
  margin: 1.1rem auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.1rem;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.9s both;
}

.end__section {
  margin: 0 auto 4rem;
}
.end__section[data-seen] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease);
}
.end__section[data-seen].is-seen {
  opacity: 1;
  transform: none;
}
.end__cal {
  opacity: 0;
  animation: rise 1.1s var(--ease) 1.2s both;
}
.end__intro {
  margin: 0 auto 1.6rem;
}
.end__intro .end__heading {
  margin-bottom: 0.6rem;
}
.end__introline {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.end__heading {
  margin: 0 0 1.8rem;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.end__cue {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.end__cue-arrow {
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--accent);
  animation: bob 1.8s var(--ease) infinite;
}
@keyframes bob {
  50% { transform: translateY(5px); }
}

.cal {
  max-width: 46rem;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgb(243 238 235 / 0.16);
  border-radius: 20px;
  background: rgb(8 12 20 / 0.5);
}
/* The calendar's own booking page, when the built-in one cannot load. */
.book--frame iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  border-radius: 14px;
  color-scheme: light;
  transition: height 0.3s var(--ease);
}
/* The booking calendar: month on the left, the chosen day's times on the right. */
.book {
  padding: 1.6rem 1.4rem 1.3rem;
  text-align: left;
}
.book__head {
  margin-bottom: 1.2rem;
  text-align: center;
}
.book__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 400;
}
.book__tz {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.book__date:focus-visible,
.book__slot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.book__hint {
  margin: 0.4rem 0 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}
.book__label {
  margin: 1.2rem 0 0.7rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.book__label::first-letter {
  text-transform: uppercase;
}
/* Only the dates that have a free time, as cards. */
.book__days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.book__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  width: 4.6rem;
  min-height: 5.6rem;
  border: 1px solid rgb(243 238 235 / 0.18);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.04);
  color: var(--cream);
  cursor: pointer;
  animation: rise 0.6s var(--ease) both;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.book__date:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  transform: translateY(-2px);
}
.book__date.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}
.book__wd,
.book__mo {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.book__dn {
  font-family: var(--f-display);
  font-size: 1.9rem;
  line-height: 1;
}
.book__morewrap {
  margin-top: 0.4rem;
}
.book__morewrap:empty {
  display: none;
}
.book__more {
  padding-left: 0;
}
/* Placeholder cards while the times load. */
.book__ghosts {
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0 0.4rem;
}
.book__ghosts i {
  width: 4.6rem;
  height: 5.6rem;
  border-radius: 16px;
  background: rgb(243 238 235 / 0.06);
  animation: breathe-soft 1.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--d) * 0.15s);
}
@keyframes breathe-soft {
  to {
    opacity: 0.35;
  }
}
.book__slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 0.5rem;
  max-height: 17rem;
  overflow-y: auto;
}
.book__slot {
  min-height: 46px;
  border: 1px solid rgb(243 238 235 / 0.16);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.03);
  color: var(--cream);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  animation: rise 0.5s var(--ease) both;
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.book__slot:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
}
.book__slot.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.book__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.book__foot:not(:has(.book__confirm)):not(:has(.book__msg:not(:empty))) {
  display: none;
}
.book__confirm {
  animation: rise 0.5s var(--ease) both;
}
.book__msg {
  min-height: 1.2em;
  margin: 0;
  color: var(--danger);
  font-size: 0.9rem;
  text-align: center;
}
.book__msg:empty {
  display: none;
}
.book__pick {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.15rem;
}
.book__pick:empty {
  display: none;
}
.book__pick::first-letter {
  text-transform: uppercase;
}
.book__confirm {
  width: min(26rem, 100%);
}
.book--done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 2.4rem 1.4rem;
  text-align: center;
}
.book__done {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  animation: pop 0.6s var(--ease) both;
}
.book__done svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw 0.7s var(--ease) 0.3s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.book__when {
  margin: 0.2rem 0 0;
  font-family: var(--f-display);
  font-size: 1.35rem;
}
.book__when::first-letter {
  text-transform: uppercase;
}
.book__note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cal__pending {
  padding: 2.2rem 1.25rem;
}
.cal__title {
  margin: 0 0 0.4rem;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
}
.cal__note {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  max-width: 22rem;
  margin: 0 auto;
}
.cal__grid i {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgb(243 238 235 / 0.06);
  animation: rise 0.8s var(--ease) both;
  animation-delay: calc(1.3s + var(--d) * 0.015s);
}
.cal__grid i.is-open {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}

/* Testimonials above the written quotes, one per quote column at the same width. */
.voices {
  display: grid;
  grid-template-columns: repeat(var(--v, 3), minmax(0, 1fr));
  max-width: calc(var(--v, 3) * 24rem);
  margin: 0 auto 2.2rem;
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.voices[hidden] {
  display: none;
}
.film--voice {
  margin: 0;
  max-width: none;
}
.film--voice .film__frame {
  transition: border-color 0.3s var(--ease);
}
.film--voice .film__frame:hover {
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
}
.film--voice .film__play {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
}
.film--voice .review__who {
  margin-top: 0.9rem;
}
.film--voice .review__face {
  width: 40px;
  height: 40px;
}
.voices__quote {
  padding: 0 0.6rem;
  text-align: center;
}
.voices__quote:not(:empty) {
  margin-top: 1rem;
}
.voices__quote .review__text {
  font-size: clamp(1.15rem, 3.2vw, 1.3rem);
}
.voices__quote .review__stars i {
  opacity: 1;
  transform: none;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(var(--q, 3), minmax(0, 1fr));
  max-width: calc(var(--q, 3) * 24rem);
  margin: 0 auto;
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.quotes[data-one] {
  max-width: 36rem;
}
.quotes li {
  padding: 1.6rem 0.6rem 0;
  border-top: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
}
.quotes li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Open quotes under a gold rule, like the "why" list: a short quote just ends sooner. */
.quotes {
  align-items: start;
  margin-top: 0.6rem;
}
.quotes .review__who {
  margin-top: 1.1rem;
}
.quotes .review__text {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
}
.quotes .review__stars i {
  opacity: 1;
  transform: none;
}

.why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.why li {
  padding: 1.6rem 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
}
.why__num {
  color: var(--accent);
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
}
.why h3 {
  margin: 0.8rem 0 0.5rem;
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 400;
}
.why p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Phone ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .bar {
    grid-template-columns: 3rem 1fr 3rem;
  }
  .bar__back span {
    display: none;
  }
  .bar__progress {
    min-width: 0;
  }
  #progress-name,
  .bar__dot {
    display: none;
  }
  .ribbon {
    top: calc(64px + env(safe-area-inset-top));
    bottom: auto;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Two cards swipe sideways, the next one peeking in. */
  .cards[data-cols='2'] {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    max-width: none;
    margin: 0 calc(var(--gutter) * -1);
    padding: 6px var(--gutter) 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
    perspective: none;
  }
  .cards[data-cols='2']::-webkit-scrollbar {
    display: none;
  }
  .cards[data-cols='2'] .card {
    scroll-snap-align: center;
  }
  /* Continue stays under the thumb while the step scrolls. */
  .step:not(.step--intro):not(.step--end) .actions {
    position: sticky;
    bottom: 0;
    z-index: 6;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding: 1.1rem var(--gutter) calc(0.9rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, var(--tint-deep) 45%);
  }
  .ticket__facts div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .card {
    padding: 1.5rem 1rem 1.3rem;
  }
  .card__mark {
    height: 46px;
  }
  .card--momentus .card__mark .mm-mark {
    height: 44px;
  }
  .voices,
  .quotes,
  .why {
    grid-template-columns: 1fr;
  }
  .reel li {
    width: calc((100% - 0.8rem) / 2);
  }
  .lockup {
    gap: 0.6rem;
  }
  .lockup__word--eternus {
    font-size: 0.68rem;
  }
  .lockup__mmword {
    height: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .stage__grain {
    display: none;
  }
}
