/* ============================================================================
   Kizuna — kizuna.host marketing site
   "Aurora Lavender", the same design language as the app.

   Every token below is MIRRORED from the app, not invented. Sources:
     · colours + radius  → kizuna-app/tailwind.config.js  (theme.extend.colors.kizuna)
     · JS-value twins    → kizuna-app/src/components/kizuna/palette.ts  (KZ, KZ_BLOBS)
     · aurora layer      → kizuna-app/global.css  (.kz-aurora/.kz-map/.kz-blob-*, kzDrift*)
     · frost + glow      → kizuna-app/src/app/+html.tsx  (KIZUNA_WEB_STYLE)
   Retune a colour in the app and it must be retuned here too. There is no build
   step and no shared import — this file is a deliberate, documented copy so the
   site can deploy as plain static files.

   CONTRAST RULE (load-bearing, from the app's palette notes):
     --kz-purple (#7A5CFF) is 4.37:1 on white — BELOW WCAG AA. It is the
     DECORATIVE accent only: blobs, glows, gradients, borders.
     --kz-purple-deep (#5B3FD6) is 6.7:1 with a white label — it is the one
     purple allowed to carry text (buttons, links, eyebrows).
   Do not paint white text on --kz-purple.
   ============================================================================ */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* Aurora Lavender brand palette — mirror of tailwind.config.js `kizuna`. */
  --kz-bg: #f4f0fb;
  --kz-ink: #2a2350;
  --kz-muted: #6b6396;
  --kz-hint: #6f669a;
  --kz-eyebrow: #5b3fd6;
  --kz-purple: #7a5cff; /* decorative only — see CONTRAST RULE above */
  --kz-purple-deep: #5b3fd6; /* the text/CTA purple */
  --kz-pink: #ff8fb0;
  --kz-pink-deep: #d4537e;
  --kz-amber: #f2a93b;
  --kz-coral: #ff8a5b;
  --kz-green: #22a06b;
  --kz-line: #ece6f8;
  --kz-surface-2: #faf8fe;
  --kz-white: #fff;

  /* --radius: 0.875rem in the app's global.css. */
  --kz-radius: 14px;
  --kz-radius-lg: 22px;
  --kz-radius-pill: 999px;

  /* system-ui first so Apple devices render SF Pro — the exact face in every
     app screenshot on this page. No webfont: the site and the product should
     not disagree about what Kizuna's type looks like. */
  --kz-sans:
    system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --kz-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

  --kz-shell: 1120px;
  --kz-gutter: clamp(20px, 5vw, 48px);
  --kz-section-y: clamp(64px, 11vw, 132px);
  --kz-header-h: 64px;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Anchor targets clear the sticky header. */
  scroll-padding-top: calc(var(--kz-header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--kz-bg);
  color: var(--kz-ink);
  font-family: var(--kz-sans);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Belt-and-braces against a wide child (a phone rail, a pipeline row) pushing
     the document sideways on a narrow screen. */
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--kz-purple-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--kz-radius);
  background: var(--kz-purple-deep);
  color: var(--kz-white);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}
.skip-link:focus-visible {
  transform: none;
}

/* -------------------------------------------------------- aurora backdrop --
   Mirror of global.css .kz-aurora / .kz-map / .kz-blob-N. The app sizes blobs in
   px for a phone screen; a full page needs them viewport-relative, so the
   geometry is scaled to vmin while the tints, blur ratios and drift keyframes
   stay exactly the app's (KZ_BLOBS: 122,92,255 · 255,138,91 · 212,83,126 ·
   242,169,59 at .55/.5/.45/.4). Fixed, so one layer serves the whole scroll. */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}

.aurora__map {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: radial-gradient(circle, rgba(90, 63, 214, 0.16) 1.3px, transparent 1.4px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 30%, #000 55%, transparent);
  mask-image: radial-gradient(ellipse 120% 80% at 50% 30%, #000 55%, transparent);
}

.blob {
  position: absolute;
  border-radius: var(--kz-radius-pill);
  will-change: transform;
}
/* Paused by main.js via the Page Visibility API so blurred layers stop
   compositing on a hidden tab (the app's AuroraBackground.web.tsx does this). */
.aurora[data-paused='true'] .blob {
  animation-play-state: paused;
}
.blob--1 {
  top: -16vmin;
  left: -12vmin;
  width: 62vmin;
  height: 62vmin;
  filter: blur(46px);
  background: radial-gradient(circle at 50% 50%, rgba(122, 92, 255, 0.55), transparent 70%);
  animation: kzDrift1 22s ease-in-out infinite;
}
.blob--2 {
  top: 6vmin;
  right: -18vmin;
  width: 58vmin;
  height: 58vmin;
  filter: blur(48px);
  background: radial-gradient(circle at 50% 50%, rgba(255, 138, 91, 0.5), transparent 70%);
  animation: kzDrift2 26s ease-in-out infinite;
}
.blob--3 {
  top: 52vmin;
  left: -14vmin;
  width: 54vmin;
  height: 54vmin;
  filter: blur(46px);
  background: radial-gradient(circle at 50% 50%, rgba(212, 83, 126, 0.45), transparent 70%);
  animation: kzDrift3 24s ease-in-out infinite;
}
.blob--4 {
  bottom: -14vmin;
  right: -8vmin;
  width: 62vmin;
  height: 62vmin;
  filter: blur(52px);
  background: radial-gradient(circle at 50% 50%, rgba(242, 169, 59, 0.4), transparent 70%);
  animation: kzDrift1 28s ease-in-out infinite reverse;
}

@keyframes kzDrift1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, -40px) scale(1.25);
  }
}
@keyframes kzDrift2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1.1);
  }
  50% {
    transform: translate(-70px, 50px) scale(0.85);
  }
}
@keyframes kzDrift3 {
  0%,
  100% {
    transform: translate(0, 0) scale(0.95);
  }
  50% {
    transform: translate(40px, 60px) scale(1.2);
  }
}

/* ------------------------------------------------- frost + glow (app copy) --
   Verbatim values from +html.tsx KIZUNA_WEB_STYLE. The rgba triples there are
   hand-decimalised brand hexes, kept identical here:
     rgba(122,92,255,…) = #7A5CFF  --kz-purple
     rgba(212,83,126,…) = #D4537E  --kz-pink-deep
     rgba(242,169,59,…) = #F2A93B  --kz-amber                               */
.frost {
  background-color: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px -10px rgba(122, 92, 255, 0.4);
}
.glow-cta {
  box-shadow: 0 14px 30px -10px rgba(122, 92, 255, 0.6);
}
.glow-purple {
  box-shadow: 0 8px 18px -6px rgba(122, 92, 255, 0.55);
}
.glow-pink {
  box-shadow: 0 8px 18px -6px rgba(212, 83, 126, 0.5);
}
.glow-amber {
  box-shadow: 0 8px 18px -6px rgba(242, 169, 59, 0.5);
}

/* ------------------------------------------------------------ typography -- */
.eyebrow {
  font-family: var(--kz-mono);
  font-size: clamp(10.5px, 1.4vw, 12px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kz-eyebrow);
}

h1,
h2,
h3,
h4 {
  color: var(--kz-ink);
  text-wrap: balance;
  font-weight: 800;
}

.h-display {
  font-size: clamp(38px, 8.4vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.032em;
}

.h-section {
  font-size: clamp(29px, 5.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.026em;
}

.h-block {
  font-size: clamp(22px, 3.6vw, 33px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.h-card {
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.lead {
  font-size: clamp(16.5px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--kz-muted);
  text-wrap: pretty;
}

.muted {
  color: var(--kz-muted);
}

/* Emphasis inside muted copy — lifts a phrase to full ink, the app's pattern
   for `font-semibold text-kizuna-ink` inside a `text-kizuna-muted` line. */
.lead b,
.point b,
.pain b,
.claim p b {
  color: var(--kz-ink);
  font-weight: 600;
}

.accent {
  color: var(--kz-purple-deep);
}

/* --------------------------------------------------------------- shell ----- */
.shell {
  width: 100%;
  max-width: var(--kz-shell);
  margin-inline: auto;
  padding-inline: var(--kz-gutter);
}

.section {
  padding-block: var(--kz-section-y);
  position: relative;
}

/* Measure is set in px, NOT ch. `ch` resolves against the element's OWN
   font-size, so a ch-based max-width on this container is computed from the
   inherited ~17px body size while the heading inside runs at 30–50px — the
   heading then gets roughly a third of the width it needs and breaks one word
   per line. Constrain the box in px; let `text-wrap: balance` on the heading do
   the line-breaking. */
.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}
/* Safe here: .lead IS the element the ch is measured against. */
.section__head .lead {
  max-width: 52ch;
}

/* A full-bleed hairline that reads as a chapter break between the two audiences. */
.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--kz-line) 18%, var(--kz-line) 82%, transparent);
}

/* ------------------------------------------------------------- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  /* >=44px tall — the touch-target guideline the app's LINK_HIT_SLOP chases. */
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--kz-radius-pill);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}

/* Primary — purple-DEEP fill (never --kz-purple: white on it fails AA). */
.btn--primary {
  background: var(--kz-purple-deep);
  color: var(--kz-white);
  box-shadow: 0 14px 30px -10px rgba(122, 92, 255, 0.6);
}
.btn--primary:hover {
  background: #5033c4;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--kz-line);
  color: var(--kz-ink);
}
.btn--ghost:hover {
  border-color: var(--kz-purple);
  color: var(--kz-purple-deep);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 14.5px;
}

.btn__arrow {
  transition: transform 0.16s ease;
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------- chips ----- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--kz-radius-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--kz-line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--kz-ink);
  white-space: nowrap;
}
.chip__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--kz-radius-pill);
  flex: none;
}

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


/* --------------------------------------------------------------- cards ----- */
.card {
  border-radius: var(--kz-radius-lg);
  padding: clamp(20px, 3vw, 28px);
  background-color: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px -10px rgba(122, 92, 255, 0.4);
}

/* The app's flat nested surface (Surface.flat): --kz-surface-2 on --kz-line. */
.card--flat {
  background: var(--kz-surface-2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid var(--kz-line);
  box-shadow: none;
}

/* Square gradient icon tile — the app's IconChip. */
.icon-tile {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--kz-radius);
  display: grid;
  place-items: center;
  color: var(--kz-white);
}
.icon-tile--purple {
  background: linear-gradient(135deg, var(--kz-purple), var(--kz-purple-deep));
  box-shadow: 0 8px 18px -6px rgba(122, 92, 255, 0.55);
}
.icon-tile--pink {
  background: linear-gradient(135deg, var(--kz-pink), var(--kz-pink-deep));
  box-shadow: 0 8px 18px -6px rgba(212, 83, 126, 0.5);
}
.icon-tile--amber {
  background: linear-gradient(135deg, var(--kz-amber), var(--kz-coral));
  box-shadow: 0 8px 18px -6px rgba(242, 169, 59, 0.5);
}
.icon-tile--green {
  background: linear-gradient(135deg, #2fc98a, var(--kz-green));
}
/* Mira's tile: her face, not a glyph. Round like her avatar everywhere in the
   app — her transparent-background render sits on an aurora circle, echoing the
   lifted FAB that opens her — which quietly marks her as a person among the
   glyph tiles. Asset: kizuna-app/assets/images/mira-avatar.png (Figma Mirai-V3
   29:71), re-encoded to WebP with alpha. */
.mira-tile {
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, var(--kz-purple-deep) 6%, var(--kz-pink) 94%);
  box-shadow: 0 8px 18px -6px rgba(122, 92, 255, 0.5);
}
.mira-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------------------------------------------------------------- header ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
/* Set by main.js once the page has scrolled — matches the app's .kz-tabbar
   treatment (translucent fill + hairline + soft purple lift). */
.header[data-stuck='true'] {
  border-bottom-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px -12px rgba(122, 92, 255, 0.35);
}

.header__bar {
  height: var(--kz-header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand__mark {
  flex: none;
}
.brand__name {
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--kz-ink);
}

.header__nav {
  display: none;
  gap: 4px;
}
.header__nav a {
  padding: 9px 14px;
  border-radius: var(--kz-radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--kz-muted);
  transition:
    color 0.16s ease,
    background-color 0.16s ease;
}
.header__nav a:hover {
  color: var(--kz-purple-deep);
  background: rgba(122, 92, 255, 0.08);
}

@media (min-width: 880px) {
  .header__nav {
    display: flex;
  }
}

/* ---------------------------------------------------------------- hero ----- */
.hero {
  position: relative;
  padding-top: clamp(56px, 9vw, 112px);
  padding-bottom: clamp(60px, 10vw, 120px);
  overflow: hidden;
}
/* On a phone the hero otherwise fills the whole first screen and the next
   section's heading lands a hair BELOW the fold — so the opening screen ends in
   blank aurora with no hint there's more. Trimming the hero's bottom lets the
   "For Guests" eyebrow + first heading line peek in, which both fills the space
   and invites the scroll. */
@media (max-width: 640px) {
  .hero {
    padding-bottom: 22px;
  }
}

/* Centred at every width — the same composition as the app's logged-out welcome
   (BrandHeader over the tagline) and the decks' opening slide. */
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  /* Wide enough for "Gather. Bond. Belong." on ONE line at the 74px desktop size
     (~762px); the phone clamp wraps it to two lines on its own. */
  max-width: 56rem;
  margin-inline: auto;
}
.hero__lead {
  max-width: 54ch;
}
.hero .btn-row,
.hero .chip-row {
  justify-content: center;
}
.hero .btn-row {
  margin-top: 6px;
}
.hero__proof {
  margin-top: 10px;
}

/* The quiet host line under the CTAs. Muted sentence, purple-deep link (the one
   purple allowed to carry text — see CONTRAST RULE). */
.hero__host {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--kz-muted);
  text-wrap: pretty;
}
.hero__host a {
  color: var(--kz-purple-deep);
  font-weight: 600;
  white-space: nowrap;
}
.hero__host a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Proof strip — real reels in landscape tiles under the chips. A snap-scrolling
   row at every width (the same gutter-bleed + hidden scrollbar the phone rails
   use), so the tiles keep a readable size however many clubs are in it and the
   last visible tile peeks at the edge to invite the scroll. Tiles cover-crop
   the 9:16 clips to 4:3 — the middle of the frame, where the table, the food
   and the faces are. */
.hero__reels {
  margin-top: clamp(24px, 3.6vw, 40px);
  margin-inline: calc(var(--kz-gutter) * -1);
  padding-inline: var(--kz-gutter);
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero__reels::-webkit-scrollbar {
  display: none;
}
.reel-tile {
  position: relative;
  margin: 0;
  flex: 0 0 clamp(210px, 62vw, 296px);
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  border-radius: var(--kz-radius-lg);
  overflow: hidden;
  background: var(--kz-line);
  box-shadow: 0 18px 40px -22px rgba(42, 35, 80, 0.45);
  /* Safari needs the clip re-stated on the compositor layer or the video's
     corners poke out of the rounded tile. */
  transform: translateZ(0);
}
.reel-tile .reel {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.reel-tile .reel:not(.is-playing) {
  opacity: 0.94;
}
.reel-tile .reel.is-playing {
  opacity: 1;
  transition: opacity 0.4s ease;
}
/* One line — handle · city — on a short gradient foot; ellipsis if a handle
   runs long on a narrow tile. */
.reel-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 9px;
  background: linear-gradient(180deg, rgba(20, 14, 50, 0) 0%, rgba(20, 14, 50, 0.72) 100%);
  color: var(--kz-white);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reel-tile figcaption b {
  font-weight: 700;
  letter-spacing: -0.01em;
}
/* The whole tile is the tap target (>=44px, the same touch rule the buttons
   follow); the play ring is the affordance. Transparent, so the loop and the
   caption show through. */
.reel-tile__open {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
}
.reel-tile__open svg {
  transition: transform 0.16s ease;
  filter: drop-shadow(0 4px 12px rgba(20, 14, 50, 0.35));
}
.reel-tile:hover .reel-tile__open svg {
  transform: scale(1.08);
}

/* ------------------------------------------------------------- lightbox --- */
/* Full-screen reel player. Native <dialog>: the backdrop covers the viewport,
   Esc closes, focus is trapped. The video keeps its 9:16 and fills the height. */
.reel-lightbox {
  border: 0;
  padding: 0;
  margin: auto;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background: transparent;
  color: var(--kz-white);
}
.reel-lightbox::backdrop {
  background: rgba(20, 14, 50, 0.94);
}
.reel-lightbox__frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
}
.reel-lightbox__video {
  height: min(86vh, 86svh);
  width: auto;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 20px;
  background: #000;
}
.reel-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--kz-radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: var(--kz-white);
  cursor: pointer;
}
.reel-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.24);
}
.reel-lightbox__cap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.reel-lightbox__count {
  font-family: var(--kz-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
/* Prev/next chevrons, stacked on the right like a reels feed. Swipe and the
   arrow keys do the same job; these are for the mouse. */
.reel-lightbox__nav {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reel-lightbox__step {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--kz-radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: var(--kz-white);
  cursor: pointer;
}
.reel-lightbox__step:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* --------------------------------------------------------------- split ----- */
/* Text column + phone column. Alternates side on wide screens; always
   text-then-visual on mobile so the copy is never below the fold twice. */
.split {
  display: grid;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

/* Grid and flex items default to `min-width: auto`, i.e. they refuse to shrink
   below their MIN-CONTENT width. Any track holding a horizontal rail of
   fixed-width phones therefore inflates to the rail's full unwrapped width and
   drags <body> with it — which `overflow-x: hidden` then renders as clipped
   headlines instead of a scrollbar, hiding the cause. Every layout track on this
   page that can hold a rail opts out explicitly. */
.split > *,
.morph > *,
.getapp > *,
.claims > *,
.footer__grid > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--flip .split__text {
    order: 2;
  }
  .split--flip .split__visual {
    order: 1;
  }
}

.split__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Left-ruled point list — the decks' .pain / .point, recoloured to the Aurora
   accent (purple-deep rule instead of marigold). */
.points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  list-style: none;
}
.point {
  padding-left: 18px;
  border-left: 2px solid var(--kz-purple);
  color: var(--kz-muted);
  font-size: clamp(15.5px, 1.25vw, 17.5px);
  line-height: 1.55;
  max-width: 40ch;
}
.point q,
.point .quote {
  color: var(--kz-purple-deep);
  font-family: var(--kz-mono);
  font-size: 0.92em;
  font-style: normal;
}

/* -------------------------------------------------------------- phones ----- */
/* Device frame: deep-indigo bezel (--kz-ink) so the light-lavender screenshots
   read as a screen and not as a floating rectangle, plus the app's purple lift. */
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(10px, 2.4vw, 22px);
  perspective: 1200px;
}

.phone {
  position: relative;
  flex: 1 1 0;
  max-width: 250px;
  min-width: 0;
  padding: 7px;
  border-radius: 30px;
  background: var(--kz-ink);
  box-shadow:
    0 26px 60px -22px rgba(42, 35, 80, 0.55),
    0 10px 30px -12px rgba(122, 92, 255, 0.45);
}
.phone img {
  width: 100%;
  height: auto;
  /* 560x1213 source — declared so the row reserves height before decode. */
  aspect-ratio: 560 / 1213;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
}
.phone--tilt-l {
  transform: rotate(-2.4deg);
}
.phone--tilt-r {
  transform: rotate(2deg);
}
.phone--raise {
  margin-top: clamp(14px, 3vw, 34px);
}

/* Marigold-equivalent callout tab on a phone — the decks' `.phone .chip`. */
.phone__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--kz-radius-pill);
  background: var(--kz-amber);
  color: var(--kz-ink);
  font-family: var(--kz-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(242, 169, 59, 0.5);
}

/* On the narrowest phones a nowrap tab is wider than the device it labels, and
   because it is centre-anchored on the RIGHT-hand phone the overhang lands past
   the viewport and gives the whole document a horizontal scroll. Bound it to the
   phone and let it wrap instead — it can then never be the widest thing on the
   page, whatever the label says. */
@media (max-width: 420px) {
  .phone__tag {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    font-size: 9.5px;
    padding: 4px 9px;
    line-height: 1.4;
  }
}

/* Three-up (the host before/after) needs to stay legible on a phone: let it
   scroll horizontally rather than shrink to thumbnails. */
.phones--rail {
  justify-content: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 16px;
  /* Bleed the rail to the viewport edge so the scroll affordance is obvious. */
  margin-inline: calc(var(--kz-gutter) * -1);
  padding-inline: var(--kz-gutter);
  scrollbar-width: none;
}
.phones--rail::-webkit-scrollbar {
  display: none;
}
.phones--rail .phone {
  flex: 0 0 auto;
  width: min(58vw, 230px);
  scroll-snap-align: center;
}

@media (min-width: 900px) {
  .phones--rail {
    justify-content: center;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .phones--rail .phone {
    width: auto;
    flex: 1 1 0;
    max-width: 215px;
  }
}

/* ------------------------------------------------------------ reels rail --- */
/* Real Instagram reels, pulled from the featured clubs' pages and self-hosted
   (see site/README.md → "Reels"). Six phones never fit a desktop row, so this
   rail ALWAYS scrolls horizontally — it overrides the >900px "center + fit"
   rule the screenshot rails use. */
.phones--rail.reels {
  justify-content: flex-start;
  overflow-x: auto;
  align-items: flex-start;
}
.phones--rail.reels .phone {
  width: min(56vw, 208px);
}
@media (min-width: 900px) {
  .phones--rail.reels {
    overflow-x: auto;
    justify-content: flex-start;
    margin-inline: 0;
    padding-inline: 2px;
  }
  .phones--rail.reels .phone {
    width: 200px;
    flex: 0 0 auto;
    max-width: 200px;
  }
}

/* The reel video fills the device frame at a true 9:16, cover-cropped. Poster is
   the encoded clip's own first frame, so there's no jump when playback starts. */
.phone--reel .reel {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 24px;
  background: #000;
}
/* A hairline sheen + faint idle state until the clip is playing (main.js adds
   .is-playing when the reel is in view and has begun). Purely cosmetic. */
.phone--reel .reel:not(.is-playing) {
  opacity: 0.94;
}
.phone--reel .reel.is-playing {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* ------------------------------------------------- host · instagram mess --- */
/* The decks' overlapping-artifact cluster, restyled onto light Aurora surfaces.
   Absolute rotation only on wide screens; on mobile it becomes a clean stack. */
.mess {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.artifact {
  border-radius: var(--kz-radius-lg);
  padding: 16px 18px;
  background: var(--kz-white);
  border: 1px solid var(--kz-line);
  box-shadow: 0 14px 34px -16px rgba(42, 35, 80, 0.35);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--kz-muted);
}
.artifact__tag {
  font-family: var(--kz-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kz-hint);
  margin-bottom: 8px;
}
/* The one line a guest actually needs, lost in the caption. */
.artifact .buried {
  color: var(--kz-ink);
  font-weight: 600;
  background: linear-gradient(transparent 62%, rgba(242, 169, 59, 0.32) 0);
}
.artifact__link {
  display: inline-block;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: var(--kz-radius-pill);
  background: var(--kz-surface-2);
  border: 1px solid var(--kz-line);
  font-family: var(--kz-mono);
  font-size: 12.5px;
  color: var(--kz-purple-deep);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bubble {
  width: fit-content;
  max-width: 92%;
  margin-top: 8px;
  padding: 9px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
}
.bubble--them {
  background: var(--kz-surface-2);
  border: 1px solid var(--kz-line);
  color: var(--kz-ink);
}
/* The host's own bubble. Brand purple-deep — NOT Instagram's gradient: the
   page says "Instagram" as a plain word and never imitates its branding
   (no logo, glyph or colour ramp). White on purple-deep is the AA pair. */
.bubble--us {
  margin-left: auto;
  background: var(--kz-purple-deep);
  color: #fff;
}

/* Scattered-artifact composition. The three cards deliberately overlap at the
   corners, but never over each other's TEXT — each one has to stay readable, so
   the container is tall enough to separate them vertically and z-index makes the
   stacking order explicit rather than source-order luck. */
@media (min-width: 900px) {
  .mess {
    display: block;
    position: relative;
    min-height: 560px;
  }
  .mess .artifact {
    position: absolute;
  }
  .mess__caption {
    top: 0;
    left: 2%;
    width: 76%;
    transform: rotate(-2.2deg);
    z-index: 1;
  }
  .mess__bio {
    top: 34%;
    right: 0;
    width: 58%;
    transform: rotate(1.8deg);
    z-index: 3;
  }
  .mess__dms {
    bottom: 0;
    left: 0;
    width: 64%;
    transform: rotate(-1.2deg);
    z-index: 2;
  }
}

/* ------------------------------------------------------------ pipeline ----- */
.pipe {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.pipe__handle {
  align-self: flex-start;
  padding: 12px 20px;
  border-radius: var(--kz-radius-pill);
  background: var(--kz-white);
  border: 1px solid var(--kz-line);
  font-family: var(--kz-mono);
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--kz-ink);
  white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(122, 92, 255, 0.55);
}
.pipe__handle b {
  color: var(--kz-purple-deep);
  font-weight: 700;
}

.pipe__arrow {
  align-self: flex-start;
  margin-left: 22px;
  font-size: 20px;
  line-height: 1;
  color: var(--kz-purple);
}
/* The rotation lives on an inner span, never on .pipe__arrow itself: these
   arrows also carry .reveal, and `.reveal.is-in { transform: none }` wins on
   specificity, which silently un-rotates them. Same reason .morph__arrow puts
   its glyph in a child. */
.pipe__arrow .glyph {
  display: inline-block;
  /* Points down in the mobile stack, right once .pipe becomes a row. */
  transform: rotate(90deg);
}

.node {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: var(--kz-radius-lg);
  padding: clamp(18px, 2.4vw, 24px);
  background-color: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px -10px rgba(122, 92, 255, 0.4);
}
.node__step {
  font-family: var(--kz-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kz-purple-deep);
}
.node__what {
  font-size: clamp(16.5px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--kz-ink);
}
.node__how {
  margin-top: auto;
  font-family: var(--kz-mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--kz-hint);
}

/* The row only earns its keep when four nodes still have a usable measure. The
   shell is 1120px and the handle chip + four arrows eat ~230px of it, so below
   this width the vertical stack reads better than four ~150px columns. */
@media (min-width: 980px) {
  .pipe {
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
  }
  .pipe__handle {
    align-self: center;
    padding: 11px 16px;
  }
  .pipe__arrow {
    align-self: center;
    margin-left: 0;
    font-size: 17px;
  }
  .pipe__arrow .glyph {
    transform: none;
  }
  .node {
    flex: 1 1 0;
    min-width: 0;
    padding: 20px 16px;
  }
  /* Tighter tracking so "02 · Understands" stays on one line in a narrow node. */
  .node__step {
    letter-spacing: 0.1em;
    font-size: 10.5px;
  }
}

.statline {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--kz-line);
  font-family: var(--kz-mono);
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--kz-muted);
  font-variant-numeric: tabular-nums;
}
.statline b {
  color: var(--kz-purple-deep);
  font-weight: 600;
}

/* -------------------------------------------------------- before / after --- */
.morph {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

@media (min-width: 1000px) {
  .morph {
    grid-template-columns: minmax(0, 300px) auto minmax(0, 1fr);
  }
}

.side-label {
  font-family: var(--kz-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kz-hint);
  margin-bottom: 12px;
}

/* Instagram profile card — deliberately Instagram's own dark chrome. This is the
   "before", quoting their UI; it is the one surface on the page that is not
   Aurora, and that contrast is the argument. */
.ig {
  border-radius: 18px;
  padding: 18px;
  background: #000;
  border: 1px solid #262626;
  color: #fafafa;
  box-shadow: 0 22px 50px -20px rgba(42, 35, 80, 0.6);
}
.ig__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ig__ring {
  width: 64px;
  height: 64px;
  flex: none;
  padding: 3px;
  border-radius: var(--kz-radius-pill);
  /* Aurora ring, not Instagram's story ring — same "no brand imitation" rule
     as .bubble--us. */
  background: conic-gradient(from 210deg, #7a5cff, #ff8fb0, #d4537e, #7a5cff);
}
.ig__ring img {
  width: 100%;
  height: 100%;
  border-radius: var(--kz-radius-pill);
  border: 2.5px solid #000;
  object-fit: cover;
}
.ig__user {
  font-size: 15.5px;
  font-weight: 600;
}
.ig__followers {
  font-size: 12.5px;
  color: #a8a8a8;
  margin-top: 2px;
}
.ig__followers b {
  color: #fafafa;
  font-weight: 600;
}
.ig__name {
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 14px;
}
.ig__bio {
  font-size: 12px;
  line-height: 1.5;
  color: #e6e6e6;
  margin-top: 4px;
  white-space: pre-line;
}
.ig__link {
  font-size: 12px;
  color: #e0f1ff;
  margin-top: 4px;
}
.ig__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5px;
  margin-top: 14px;
}
.ig__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.morph__arrow {
  text-align: center;
}
.morph__arrow .glyph {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  color: var(--kz-purple-deep);
  /* Points down in the mobile stack, right once the grid goes 3-column. */
  display: inline-block;
  transform: rotate(90deg);
}
.morph__arrow .note {
  margin-top: 12px;
  font-family: var(--kz-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--kz-muted);
}

@media (min-width: 1000px) {
  .morph__arrow .glyph {
    transform: none;
  }
}

.caption {
  margin-top: clamp(22px, 3vw, 34px);
  font-family: var(--kz-mono);
  font-size: clamp(11.5px, 1vw, 13px);
  line-height: 1.85;
  color: var(--kz-muted);
  font-variant-numeric: tabular-nums;
}
.caption b {
  color: var(--kz-purple-deep);
  font-weight: 600;
}

/* -------------------------------------------------------------- claims ----- */
.claims {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .claims {
    grid-template-columns: repeat(2, 1fr);
  }
}
.claim {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.claim__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.claim p {
  color: var(--kz-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ----------------------------------------------------------------- why ----- */
/* The /why essay. Same width discipline as the home page's sections: the
   article spans the full shell (cards, band and callout run edge to edge of
   it) and only the running text is capped to a reading measure — the way
   .section__head caps its .lead while the grids beside it fill the shell.
   Pink carries the two lines the draft sets in colour (the fee band, the
   closing line); purple stays on chrome (eyebrow, kanji, links). */
.why {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.why .h-section {
  max-width: 640px;
  text-wrap: balance;
}
.why .h-block {
  max-width: 640px;
}
.why > p {
  max-width: 66ch;
  color: var(--kz-muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  text-wrap: pretty;
}
.why > p b {
  color: var(--kz-ink);
  font-weight: 600;
}
.why .h-block {
  margin-top: clamp(14px, 2.4vw, 26px);
}
.why__rule {
  margin-block: clamp(6px, 1.5vw, 14px);
}
.why__line {
  font-style: italic;
  color: var(--kz-ink) !important;
}
.why__band {
  max-width: none;
  margin-top: 4px;
  padding: 14px 18px;
  border-radius: var(--kz-radius);
  background: rgba(212, 83, 126, 0.1);
  color: var(--kz-pink-deep) !important;
  font-weight: 700;
}
.why .claims {
  margin-top: 2px;
}
@media (min-width: 900px) {
  .why .claims {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.why .claim h3 {
  font-size: 16.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.why__kizuna {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: clamp(12px, 2vw, 22px);
  background-color: rgba(212, 83, 126, 0.08);
  border-color: rgba(212, 83, 126, 0.16);
  box-shadow: none;
}
.why__kizuna p {
  color: var(--kz-muted);
  font-size: clamp(15.5px, 1.2vw, 17px);
  line-height: 1.6;
}
.why__kizuna p b {
  color: var(--kz-ink);
  font-weight: 700;
}
.why__kanji {
  flex: none;
  font-size: 40px;
  line-height: 1;
  color: var(--kz-purple-deep);
}
.why__closer {
  display: block;
  margin-top: 8px;
  color: var(--kz-pink-deep);
  font-weight: 700;
}
.why .btn-row {
  margin-top: clamp(14px, 2.4vw, 24px);
}

/* ------------------------------------------------------------ get the app -- */
.getapp {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 900px) {
  /* Two weighted columns rather than `1fr auto`: with `auto` the phone track
     shrink-wraps to ~260px and the 1fr text track keeps its own 44ch measure,
     leaving a wide dead channel between them. */
  .getapp {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .getapp__visual {
    display: flex;
    justify-content: center;
  }
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 10px 20px 10px 17px;
  border-radius: var(--kz-radius);
  background: var(--kz-ink);
  color: var(--kz-white);
  transition:
    transform 0.16s ease,
    opacity 0.16s ease;
}
.store:hover {
  transform: translateY(-1px);
}
.store__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.store__pre {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.store__name {
  font-size: 15.5px;
  font-weight: 600;
}
/* Applied by main.js when no store URL is configured yet: the button stays on
   the page (it is real product information) but cannot be clicked into a 404. */
.store[aria-disabled='true'] {
  opacity: 0.55;
  pointer-events: none;
}
.store__soon {
  position: absolute;
  top: -9px;
  right: 10px;
  padding: 3px 8px;
  border-radius: var(--kz-radius-pill);
  background: var(--kz-amber);
  color: var(--kz-ink);
  font-family: var(--kz-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* -------------------------------------------------------------- closing ---- */
.closing {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.closing .btn-row {
  justify-content: center;
}

/* --------------------------------------------------------------- footer ---- */
.footer {
  /* The closing section already carries a full --kz-section-y of bottom padding;
     a second large gap here just reads as dead space above the rule. */
  margin-top: clamp(12px, 2vw, 28px);
  border-top: 1px solid var(--kz-line);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.footer__grid {
  display: grid;
  gap: clamp(30px, 5vw, 48px);
  padding-block: clamp(40px, 6vw, 64px);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  }
}

.footer__about {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 34ch;
}
.footer__blurb {
  font-size: 14px;
  line-height: 1.6;
  color: var(--kz-muted);
}
/* The tagline as the footer's signature — quieter than the brand name above
   it (which keeps the bold), in ink so it still reads as a line, not a caption. */
.footer__tagline {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--kz-ink);
}

.footer__col h3 {
  font-family: var(--kz-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kz-hint);
  margin-bottom: 14px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
}
.footer__col a {
  font-size: 14.5px;
  color: var(--kz-muted);
  transition: color 0.16s ease;
}
.footer__col a:hover {
  color: var(--kz-purple-deep);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--kz-radius);
  background: var(--kz-white);
  border: 1px solid var(--kz-line);
  color: var(--kz-muted);
  transition:
    color 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease;
}
.social:hover {
  color: var(--kz-purple-deep);
  border-color: var(--kz-purple);
  transform: translateY(-1px);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-block: 22px;
  border-top: 1px solid var(--kz-line);
  font-size: 13px;
  color: var(--kz-hint);
}
/* Not --kz-line: that is the hairline tint (#ECE6F8) and is invisible as TEXT on
   the footer's near-white ground, which reads as a missing separator. */
.footer__legal .sep {
  color: #bdb2dd;
}
.footer__legal a:hover {
  color: var(--kz-purple-deep);
}

/* ------------------------------------------------------------- reveal ------ */
/* Progressive enhancement: `.reveal` only hides once main.js has confirmed it
   can observe (html.js-reveal), so a no-JS visitor sees everything. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}

/* --------------------------------------------------- reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .blob {
    animation: none !important;
  }
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
  .js-reveal .reveal.is-in {
    transition: none;
  }
  .btn:active {
    transform: none;
  }
  .phone--tilt-l,
  .phone--tilt-r {
    transform: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
