@font-face {
  font-family: "Sidequest Inter";
  src: local("Inter");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --ink-soft: rgba(10, 10, 10, 0.58);
  --ink-faint: rgba(10, 10, 10, 0.35);
  --hairline: rgba(10, 10, 10, 0.09);
  --paper: #f5f1ea;
  --white: #fff;
  --surface: #f1f1ee;
  --surface-2: #fafaf7;
  --night: #17130f;
  --night-soft: #241b16;
  --coral: #e8634a;
  --amber: #d7924f;
  --live: #22c55e;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: ui-serif, "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Sidequest Inter", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /*
   * One hand-over between two story beats. The photograph changes first, the
   * device follows and settles last, as if a hand had turned it toward you.
   * Everything in the journey borrows these values, so the whole sequence reads
   * in one timing voice. Both curves are the flat "iOS sheet" easing the design
   * system allows — no springs (DESIGN.md §3, hard rules).
   */
  --beat: 620ms;
  --travel: 880ms;
  --ease-travel: cubic-bezier(0.2, 0.9, 0.3, 1);
  --beat-lead: 90ms;
  --copy-arrival: 380ms;
  --invite-settle: 1080ms;
  --step-scroll: 44svh;
}

/*
 * Scroll-driven motion values. Registering them as non-inherited keeps a new
 * frame from invalidating the style of everything below the element it is set
 * on — the phone alone is a few hundred nodes — and gives every layer a valid
 * resting value before the first frame runs (or when JavaScript never does).
 */
@property --hero-out { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --story-copy-in { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --photo-scale { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --veil-opacity { syntax: "<number>"; inherits: false; initial-value: 0.32; }
@property --grain-opacity { syntax: "<number>"; inherits: false; initial-value: 0.14; }
@property --chat-scroll-y { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --phone-transform { syntax: "*"; inherits: false; }
@property --scene-in { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --screen-in { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --step-in { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --dock-out { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --status-light { syntax: "<number>"; inherits: false; initial-value: 0; }

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(232, 99, 74, 0.52);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  min-height: 78px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  /* The story travels up under this bar on its way out; without a scrim the
     wordmark and a white headline cross each other and neither can be read. */
  background: linear-gradient(180deg, rgba(12, 9, 7, 0.5), rgba(12, 9, 7, 0));
  color: var(--white);
  transition:
    color 300ms ease,
    background 300ms ease,
    border-color 300ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: rgba(245, 241, 234, 0.91);
  color: var(--ink);
  backdrop-filter: blur(18px) saturate(130%);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.8px;
  text-decoration: none;
}

.wordmark__mark {
  display: inline-flex;
  width: 22px;
  height: 20px;
  align-items: end;
  gap: 3px;
}

.wordmark__mark i {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: currentColor;
  animation: signal 5s var(--ease) infinite;
}

.wordmark__mark i:nth-child(1) { height: 10px; }
.wordmark__mark i:nth-child(2) { height: 18px; animation-delay: -1.3s; }
.wordmark__mark i:nth-child(3) { height: 13px; animation-delay: -2.6s; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.language-switch button {
  border: 0;
  background: none;
  color: currentColor;
  font-size: 13px;
  font-weight: 650;
  opacity: 0.72;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.site-nav a:hover,
.language-switch button:hover,
.language-switch button[aria-pressed="true"] {
  opacity: 1;
}

.header-actions,
.language-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  justify-self: end;
  gap: 18px;
}

.language-switch {
  gap: 2px;
}

.language-switch span {
  font-size: 11px;
  opacity: 0.45;
}

.language-switch button {
  min-width: 34px;
  min-height: 44px;
  padding: 0;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 730;
  letter-spacing: -0.2px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.launch-status {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.launch-status--header {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled .launch-status--header {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.launch-status--ink {
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink);
}

.launch-status--light {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.9px;
}

/*
 * Six beats of hero-to-product story on one stage. The section is only as tall
 * as it needs to be to hold six stops plus a viewport for the last frame to
 * leave on — a third of what a scrubbed sequence would need.
 */
.journey {
  position: relative;
  z-index: 1;
  height: calc(5 * var(--step-scroll) + 100svh);
  background: var(--paper);
}

.journey__sticky {
  --phone-shift-x: 0vw;
  --phone-shift-y: 35vh;
  --phone-scale: 0.86;
  --phone-rotate-x: 5deg;
  --phone-rotate-y: -11deg;
  --phone-rotate-z: 1.7deg;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
  perspective: 1800px;
  isolation: isolate;
}

/*
 * The stops are the scroll positions the story lands on — one per beat. They
 * give the journey honest page height and a working scrollbar; which beat is
 * showing is decided by the gesture handler, not by snap heuristics (those
 * either swallow a small wheel notch whole or skip two beats on one flick).
 */
.journey__stops {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.journey__stop {
  height: var(--step-scroll);
}

.journey-scenes,
.journey-scene,
.journey-scene img,
.journey__veil,
.journey__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.journey-scenes {
  z-index: -4;
  overflow: hidden;
  /* One slow push on the whole stack instead of five competing zooms. */
  transform: scale(var(--photo-scale, 1));
  transition: transform calc(var(--beat) * 2.4) var(--ease);
}

.journey__sticky.is-motion-active .journey-scenes {
  will-change: transform;
}

/* The photograph leads each hand-over; the device and its screen follow. */
.journey-scene {
  opacity: var(--scene-in, 0);
  transition: opacity var(--beat) var(--ease);
}

.journey-scene[data-scene="hero"] {
  --scene-in: 1;
}

.journey-scene img {
  object-fit: cover;
  object-position: center 48%;
}

.journey__veil {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(10, 7, 5, 0.52) 0%, rgba(10, 7, 5, 0.19) 48%, rgba(10, 7, 5, 0.08) 74%),
    linear-gradient(180deg, rgba(14, 10, 7, 0.54) 0%, rgba(14, 10, 7, 0.06) 42%, rgba(14, 10, 7, 0.52) 100%),
    radial-gradient(circle at 50% 24%, transparent 0, rgba(8, 5, 3, 0.12) 60%, rgba(8, 5, 3, 0.38) 100%);
  opacity: var(--veil-opacity, 0.32);
  transition: opacity calc(var(--beat) * 1.4) var(--ease);
}

.journey__grain {
  z-index: -2;
  pointer-events: none;
  opacity: var(--grain-opacity, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-copy {
  position: absolute;
  z-index: 4;
  top: clamp(112px, 14vh, 160px);
  left: 50%;
  width: min(1100px, calc(100% - 48px));
  color: var(--white);
  text-align: center;
  opacity: calc(1 - var(--hero-out, 0));
  /* The title lifts as it leaves, rather than sitting still and dimming. */
  transform: translate3d(-50%, calc(var(--hero-out, 0) * -38px), 0);
  pointer-events: auto;
  transition:
    opacity var(--beat) var(--ease),
    transform var(--travel) var(--ease);
}

.hero-copy h1 {
  max-width: 1080px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(62px, 7.3vw, 116px);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.9;
  text-wrap: balance;
  text-shadow: 0 3px 34px rgba(0, 0, 0, 0.34);
}

.hero-copy h1 span {
  display: block;
}

.hero-cue,
.final-cta__content > p {
  margin: 24px 0 26px;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 620;
  letter-spacing: 0.01em;
}

.hero-copy .button {
  min-width: 190px;
}

.story-copy {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: clamp(34px, 9.5vw, 164px);
  width: min(42vw, 560px);
  min-height: 330px;
  opacity: var(--story-copy-in, 1);
  transform: translateY(-42%);
  pointer-events: none;
  color: var(--white);
  transition: opacity var(--beat) var(--ease);
}

.journey__sticky[data-phase="story"] .story-copy {
  pointer-events: auto;
}

.journey__sticky[data-phase="story"] .hero-copy {
  pointer-events: none;
}

.story-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: var(--step-in, 0);
  pointer-events: none;
  transform: translateY(calc((1 - var(--step-in, 0)) * 26px));
  /* Leaves without delay — a headline must never still be there while the
     device travels back across the column it was sitting in. */
  transition:
    opacity var(--beat) var(--ease),
    transform var(--travel) var(--ease);
}

/*
 * Arriving is the other way round: the headline waits until the device has
 * stepped aside, so the two never share the same piece of the screen.
 */
.journey__sticky[data-copy="on"] .story-step {
  transition-delay: var(--copy-arrival);
}

.story-step[data-story-step="0"] {
  --step-in: 1;
}

.story-step h2 {
  max-width: 560px;
  margin: 18px 0 22px;
  font-family: var(--serif);
  font-size: clamp(48px, 5.1vw, 82px);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 0.96;
  text-wrap: balance;
}

.story-step p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 520;
  line-height: 1.45;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.story-step__swap {
  display: grid;
  width: 100%;
}

.story-step__swap h2 {
  grid-area: 1 / 1;
  margin: 0;
  transition:
    opacity 440ms ease,
    transform 620ms var(--ease);
}

.story-step__answer {
  opacity: 0;
  transform: translateY(22px);
}

.journey__sticky[data-intro-copy="answer"] .story-step__question {
  opacity: 0;
  transform: translateY(-22px);
}

.journey__sticky[data-intro-copy="answer"] .story-step__answer {
  opacity: 1;
  transform: none;
}

.story-step--launch h2 {
  margin: 0;
}

.scroll-cue {
  position: absolute;
  z-index: 7;
  bottom: 23px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  opacity: calc(1 - var(--hero-out, 0));
  transform: translateX(-50%);
  transition: opacity 180ms ease;
}

.scroll-cue span {
  position: relative;
  width: 1px;
  height: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.scroll-cue span::after {
  position: absolute;
  inset: 0;
  background: var(--white);
  content: "";
  animation: scroll-line 2.2s ease-in-out infinite;
}

.scroll-cue i {
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

/* Product-faithful phone shared by the hero and all five story states. */
.phone-stage {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 390px;
  height: 792px;
  transform: var(
    --phone-transform,
    translate3d(calc(-50% + var(--phone-shift-x)), calc(-50% + var(--phone-shift-y)), 0)
      rotateX(var(--phone-rotate-x))
      rotateY(var(--phone-rotate-y))
      rotateZ(var(--phone-rotate-z))
      scale(var(--phone-scale))
  );
  transform-style: preserve-3d;
  contain: layout style;
  /* The device travels between beats — longest of the three, settling last. */
  transition: transform var(--travel) var(--ease-travel) var(--beat-lead);
}

.journey__sticky.is-motion-active .phone-stage {
  will-change: transform;
}

.device,
.device__edge,
.device__shell {
  position: absolute;
  inset: 0;
  border-radius: 62px;
}

.device {
  transform-style: preserve-3d;
}

/* A box-shadow on the rounded edge, not a drop-shadow filter over the whole
   device: the phone is rescaled on every frame and a filter would re-render
   the entire subtree with it. */
.device__edge {
  inset: -5px;
  background: linear-gradient(145deg, #8c8985, #222220 20%, #98948f 52%, #181817 82%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 0 1px rgba(0, 0, 0, 0.44),
    0 42px 58px rgba(7, 5, 4, 0.52);
}

.device__shell {
  overflow: hidden;
  border: 9px solid #090909;
  background: var(--white);
  transform: translateZ(4px);
}

.device__island {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 50%;
  width: 104px;
  height: 28px;
  border-radius: 99px;
  background: #060606;
  transform: translateX(-50%);
}

.device__status {
  position: absolute;
  z-index: 18;
  top: 16px;
  left: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0 27px;
  color: var(--ink);
  color: color-mix(in srgb, var(--ink), var(--white) calc(var(--status-light, 0) * 100%));
  font-size: 9.5px;
  font-weight: 780;
  transition: color var(--beat) var(--ease) calc(var(--beat-lead) * 2);
}

/*
 * The screens are stacked in story order, so a screen only ever dissolves in
 * over the one before it — the outgoing one stays lit underneath and nothing
 * flashes white in between. Last of the three layers to arrive.
 */
.phone-screen {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  background: var(--white);
  opacity: var(--screen-in, 0);
  transform: translateX(calc((1 - var(--screen-in, 0)) * 16px));
  contain: layout style;
  transition:
    opacity var(--beat) var(--ease) calc(var(--beat-lead) * 2),
    transform var(--travel) var(--ease) calc(var(--beat-lead) * 2);
}

.phone-screen[data-phone-screen="0"] {
  --screen-in: 1;
}

.phone-header,
.phone-subheader,
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-header {
  height: 46px;
  padding: 0 17px;
}

.phone-header > b {
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.9px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
}

.live-indicator i,
.identity-row > i,
.event-strip > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.phone-screen--explore {
  padding: 48px 11px 64px;
}

.stories {
  display: flex;
  height: 52px;
  align-items: center;
  gap: 9px;
  padding: 0 8px 7px;
}

.story-avatar,
.photo-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--white);
  border-radius: 50%;
  background-color: var(--surface);
  background-image: url("/assets/photography/spark-hero-wide.webp");
  background-repeat: no-repeat;
  background-size: 360px 450px;
  box-shadow: 0 0 0 1px var(--hairline);
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
  font-style: normal;
}

.story-avatar--you {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.photo-avatar--mira { background-position: -100px -113px; }
.photo-avatar--jonas { background-position: -154px -89px; }
.photo-avatar--leila { background-position: -226px -132px; }

.event-feed-card {
  position: relative;
  height: 490px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 16px 35px rgba(20, 10, 5, 0.09);
}

.event-feed-card__cover,
.event-feed-card__fade {
  position: absolute;
  inset: 0 0 35%;
}

.event-feed-card__cover {
  background: url("/assets/photography/spark-meet-wide.webp") center 45% / cover;
}

.event-feed-card__fade {
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82),
    rgba(255, 255, 255, 0.05) 20%,
    transparent 48%,
    rgba(255, 255, 255, 0.96) 73%,
    var(--white) 82%
  );
}

.event-feed-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px 18px 20px;
}

.identity-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.identity-row > span {
  display: grid;
  margin-right: auto;
}

.identity-row > span b {
  font-size: 11px;
  line-height: 1.1;
}

.identity-row > span small {
  color: var(--ink-faint);
  font-size: 8px;
}

.avatar-stack {
  display: flex;
  padding-left: 15px;
}

.avatar-stack .photo-avatar,
.avatar-stack .story-avatar {
  margin-left: -15px;
}

.event-feed-card__title {
  margin-top: auto;
  padding: 0 0 28px;
}

.event-feed-card__title > span,
.phone-eyebrow {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.25px;
}

.event-feed-card__title h3 {
  max-width: 270px;
  margin: 8px 0 0;
  font-size: 31px;
  font-weight: 630;
  letter-spacing: -1.45px;
  line-height: 1.04;
}

.context-strip {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 0.65fr;
  gap: 7px;
  padding-top: 13px;
  border-top: 1px solid var(--hairline);
}

.context-strip span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.context-strip small {
  color: var(--ink-faint);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.context-strip b {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-actions {
  position: absolute;
  z-index: 8;
  right: 21px;
  bottom: 79px;
  display: grid;
  gap: 7px;
}

.feed-actions span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  font-size: 15px;
}

.phone-dock {
  position: absolute;
  z-index: 14;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 58px;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 17px;
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.97);
  /* Leaves with the same cross-fade that brings the chat screen in. */
  opacity: calc(1 - var(--dock-out, 0));
  transition: opacity var(--beat) var(--ease) calc(var(--beat-lead) * 2);
}

.phone-dock i {
  justify-self: center;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(10, 10, 10, 0.35);
  border-radius: 4px;
}

.phone-dock i:first-child {
  border-color: var(--ink);
  border-radius: 50%;
}

.phone-dock b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 17px;
}

.phone-screen--people {
  padding-top: 48px;
  background: var(--surface-2);
}

.phone-subheader {
  position: relative;
  z-index: 3;
  height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  backdrop-filter: blur(12px);
}

.phone-subheader b {
  font-size: 12px;
}

.people-cover {
  height: 215px;
  background:
    linear-gradient(180deg, transparent 55%, var(--surface-2)),
    url("/assets/photography/spark-meet-wide.webp") center 44% / cover;
}

.people-sheet {
  position: absolute;
  z-index: 2;
  right: 11px;
  bottom: 16px;
  left: 11px;
  padding: 21px 18px 17px;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(20, 10, 5, 0.12);
}

.people-sheet > .phone-eyebrow,
.phone-screen--next > .phone-eyebrow {
  margin: 0 0 8px;
}

.people-sheet > h3 {
  margin: 0 0 19px;
  font-size: 26px;
  font-weight: 660;
  letter-spacing: -1.1px;
  line-height: 1.02;
}

.host-row,
.people-list {
  display: flex;
  align-items: center;
}

.host-row {
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.host-row p,
.people-list p {
  display: grid;
  margin: 0 auto 0 0;
}

.host-row b,
.people-list b {
  font-size: 11px;
}

.host-row small,
.people-list small {
  color: var(--ink-soft);
  font-size: 8px;
}

.host-row strong {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
}

.people-list {
  gap: 9px;
  padding: 14px 0 8px;
}

.avatar-stack--large .photo-avatar {
  width: 38px;
  height: 38px;
}

.people-sheet dl {
  display: grid;
  gap: 6px;
  margin: 7px 0 14px;
}

.people-sheet dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.people-sheet dt {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.people-sheet dd {
  margin: 0;
  font-size: 9px;
  font-weight: 650;
}

.people-sheet > button,
.phone-next-button,
.invite-accept {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 750;
}

/* Same action, read against a dark screen. */
.invite-accept {
  background: var(--white);
  color: var(--ink);
}

.phone-screen--confirmed {
  padding: 122px 25px 70px;
  text-align: center;
}

.confirmation-mark {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin: 0 auto 23px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 26px;
  box-shadow: 0 0 0 12px rgba(232, 99, 74, 0.1);
}

.phone-screen--confirmed > .phone-eyebrow {
  margin: 0 0 9px;
}

.phone-screen--confirmed > h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -1px;
}

.confirmation-card {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 23px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(20, 10, 5, 0.08);
  text-align: left;
}

.confirmation-card__image {
  height: 120px;
  background: url("/assets/photography/spark-meet-wide.webp") center 45% / cover;
}

.confirmation-card > div:nth-child(2) {
  display: grid;
  gap: 2px;
  padding: 15px 16px 7px;
}

.confirmation-card > div b {
  font-size: 13px;
}

.confirmation-card > div span {
  color: var(--ink-soft);
  font-size: 9px;
}

.avatar-stack--confirmed {
  padding: 6px 16px 16px 29px;
}

.confirmation-note {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
}

/*
 * The plan locking in. The mark lands first with its ring, the plan settles
 * under it, the promise last — the same three-part arrival the chat and the
 * invitation use, so all three read as one hand.
 */
.confirmation-mark,
.confirmation-card,
.confirmation-note {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--beat) var(--ease) var(--confirm-delay, 0ms),
    transform var(--travel) var(--ease-travel) var(--confirm-delay, 0ms);
}

.confirmation-mark { --confirm-delay: var(--beat-lead); }
.confirmation-card { --confirm-delay: 340ms; }
.confirmation-note { --confirm-delay: 600ms; }

.journey__sticky[data-playing="confirmed"] .confirmation-mark,
.journey__sticky[data-playing="confirmed"] .confirmation-card,
.journey__sticky[data-playing="confirmed"] .confirmation-note {
  opacity: 1;
  transform: none;
}

.phone-screen--chat {
  padding: 48px 13px 76px;
}

.chat-header {
  height: 52px;
  gap: 10px;
}

.chat-header > div {
  display: grid;
  flex: 1;
  text-align: center;
}

.chat-header b {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-header small {
  color: var(--ink-soft);
  font-size: 8px;
}

.event-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: 15px;
  background: var(--surface-2);
}

.event-strip p {
  display: grid;
  flex: 1;
  margin: 0;
}

.event-strip b { font-size: 10px; }
.event-strip small { color: var(--ink-soft); font-size: 8px; }

.messages {
  position: relative;
  height: 405px;
  overflow: hidden;
}

.messages__track {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 24px 0 110px;
  transform: translate3d(0, var(--chat-scroll-y, 0px), 0);
  will-change: transform;
  /* Follows the thread as it fills, the way a real chat scrolls itself. */
  transition: transform 2200ms cubic-bezier(0.5, 0, 0.3, 1) 500ms;
}

.journey__sticky[data-playing="chat"] .messages__track {
  --chat-scroll-y: -300px;
}

.system-message {
  margin: 0 0 5px;
  color: var(--ink-faint);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-align: center;
}

.message {
  display: flex;
  align-items: end;
  gap: 7px;
}

.message__content {
  display: flex;
  max-width: 76%;
  flex-direction: column;
  align-items: flex-start;
}

.message p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 15px;
  background: var(--surface);
  font-size: 10px;
  line-height: 1.35;
}

.message--out {
  justify-content: flex-end;
}

.message--out .message__content {
  align-items: flex-end;
}

.message--out p {
  border-bottom-right-radius: 5px;
  background: var(--ink);
  color: var(--white);
}

.message .photo-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.message-reaction {
  z-index: 2;
  margin: -5px 8px 0;
  padding: 3px 7px;
  border: 1px solid rgba(23, 19, 15, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 12px rgba(23, 19, 15, 0.1);
  color: var(--ink);
  font-size: 8.5px;
  font-weight: 760;
  line-height: 1;
  /* Lands a moment after the message it belongs to. */
  opacity: 0;
  transform: translateY(5px) scale(0.85);
  transition:
    opacity 340ms var(--ease) calc(var(--message-delay, 0ms) + var(--beat-lead) * 3),
    transform 460ms var(--ease-travel) calc(var(--message-delay, 0ms) + var(--beat-lead) * 3);
}

.journey__sticky[data-playing="chat"] .message-reaction {
  opacity: 1;
  transform: none;
}

.composer {
  position: absolute;
  right: 13px;
  bottom: 17px;
  left: 13px;
  display: flex;
  height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 7px 0 13px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--white);
}

.composer p {
  flex: 1;
  margin: 0;
  color: var(--ink-faint);
  font-size: 10px;
  text-align: left;
}

.composer b {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.phone-screen--next {
  padding: 48px 13px 73px;
}

.phone-screen--next > .phone-eyebrow {
  padding: 9px 7px 0;
  color: var(--coral);
}

.next-card {
  position: relative;
  display: flex;
  height: 465px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 16px 35px rgba(20, 10, 5, 0.08);
}

.next-card__atmosphere {
  position: absolute;
  z-index: 0;
  top: -90px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 117, 81, 0.5), rgba(164, 117, 81, 0.14) 45%, transparent 72%);
  filter: blur(5px);
}

.next-card > *:not(.next-card__atmosphere) {
  position: relative;
  z-index: 1;
}

.next-card h3 {
  margin: 9px 0 10px;
  font-size: 32px;
  font-weight: 630;
  letter-spacing: -1.45px;
  line-height: 1.04;
}

.next-card > div:last-child > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.phone-next-button {
  margin-top: 10px;
}

.journey-progress {
  position: absolute;
  top: 50%;
  right: -28px;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 220ms ease;
}

.journey__sticky[data-phase="story"] .journey-progress {
  opacity: 1;
}

.journey-progress i {
  width: 3px;
  height: 18px;
  border-radius: 99px;
  background: rgba(10, 10, 10, 0.16);
  transition: height 280ms var(--ease), background 180ms ease;
}

.phone-stage[data-step="0"] .journey-progress i:nth-child(1),
.phone-stage[data-step="1"] .journey-progress i:nth-child(2),
.phone-stage[data-step="2"] .journey-progress i:nth-child(3),
.phone-stage[data-step="3"] .journey-progress i:nth-child(4),
.phone-stage[data-step="4"] .journey-progress i:nth-child(5),
.phone-stage[data-step="5"] .journey-progress i:nth-child(6) {
  height: 36px;
  background: var(--coral);
}

/* Spark story: one Apple-like device, five real-world moments. */
.story-step h2 {
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.38);
}

.device::after {
  position: absolute;
  z-index: 30;
  inset: 10px;
  border-radius: 53px;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.22), transparent 19%, transparent 72%, rgba(255, 255, 255, 0.1));
  content: "";
  mix-blend-mode: screen;
  opacity: 0.48;
  pointer-events: none;
  transform: translateZ(8px);
}

.phone-screen--invite {
  background: #0d0c0b;
  color: var(--white);
}

.photo-avatar,
.story-avatar {
  background-image: url("/assets/photography/spark-hero-wide.webp");
  background-size: 610px auto;
}

.story-avatar--you {
  background: var(--ink);
}

.photo-avatar--mira { background-position: -176px -167px; }
.photo-avatar--leila { background-position: -353px -169px; }
.photo-avatar--jonas { background-position: -243px -166px; }
.photo-avatar--june { background-position: -411px -168px; }

.phone-screen--explore {
  padding: 51px 13px 68px;
}

.phone-header {
  height: 50px;
  padding-inline: 18px;
}

.stories {
  height: 58px;
  gap: 8px;
}

.event-feed-card {
  height: 567px;
  border-radius: 34px;
}

.event-feed-card__cover {
  inset: 0 0 31%;
  background: url("/assets/photography/spark-meet-wide.webp") 42% center / auto 100%;
}

.event-feed-card__title h3 {
  max-width: 300px;
  font-size: 35px;
}

.phone-dock {
  height: 63px;
}

.phone-screen--people {
  padding-top: 51px;
  background: #f4f1eb;
}

.people-cover {
  height: 275px;
  background:
    linear-gradient(180deg, transparent 48%, #f4f1eb),
    url("/assets/photography/spark-meet-wide.webp") 46% center / auto 100%;
}

.people-sheet {
  right: 13px;
  bottom: 17px;
  left: 13px;
  padding: 22px 20px 18px;
  border-radius: 30px;
}

.people-sheet > h3 {
  margin-bottom: 13px;
  font-size: 28px;
}

.connection-list {
  display: grid;
  border-top: 1px solid var(--hairline);
}

.connection-list > div {
  display: grid;
  min-height: 57px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--hairline);
}

.connection-list p {
  display: grid;
  margin: 0;
}

.connection-list b { font-size: 11px; }
.connection-list small { color: var(--ink-soft); font-size: 8px; }

.connection-list i {
  min-width: 25px;
  padding: 4px 6px;
  border-radius: 99px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.connection-summary {
  margin: 12px 0;
  color: var(--ink-soft);
  font-size: 8px;
  text-align: center;
}

.phone-screen--chat {
  padding: 51px 15px 76px;
}

.messages {
  height: 500px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 13px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 13px, #000 calc(100% - 28px), transparent 100%);
}

.messages__track {
  gap: 10px;
  padding-top: 17px;
}

.message p {
  padding: 10px 12px;
  font-size: 10.5px;
  line-height: 1.38;
}

/*
 * The one thing on this page that runs on its own clock, because a plan coming
 * together in a group chat is a thing that happens over time, not a thing you
 * drag. Arriving at the chat beat starts the thread; leaving it puts it back.
 */
.phone-screen--chat .message {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 480ms var(--ease) var(--message-delay, 0ms),
    transform 620ms var(--ease) var(--message-delay, 0ms);
}

.journey__sticky[data-playing="chat"] .phone-screen--chat .message {
  opacity: 1;
  transform: none;
}

/*
 * Deliberately off the timing scale: this is the rhythm of a conversation, not
 * of an interface. The gaps shorten where the plan gathers pace and stretch
 * where someone would have had to read first. Read them as a score, not as a
 * ladder of equal steps.
 */
.phone-screen--chat .message:nth-of-type(1) { --message-delay: 240ms; }
.phone-screen--chat .message:nth-of-type(2) { --message-delay: 420ms; }
.phone-screen--chat .message:nth-of-type(3) { --message-delay: 600ms; }
.phone-screen--chat .message:nth-of-type(4) { --message-delay: 800ms; }
.phone-screen--chat .message:nth-of-type(5) { --message-delay: 1000ms; }
.phone-screen--chat .message:nth-of-type(6) { --message-delay: 1180ms; }
.phone-screen--chat .message:nth-of-type(7) { --message-delay: 1360ms; }
.phone-screen--chat .message:nth-of-type(8) { --message-delay: 1580ms; }
.phone-screen--chat .message:nth-of-type(9) { --message-delay: 1780ms; }
.phone-screen--chat .message:nth-of-type(10) { --message-delay: 1940ms; }

/*
 * The closing frame. "Invite only." is the one promise the landing makes, so
 * the phone shows the thing itself: an invitation arriving, the code settling
 * one character at a time, the way it will when the beta opens. Title at the
 * top, the invitation and its action at the bottom — the same rhythm every
 * other screen in the device follows.
 */
.phone-screen--invite {
  display: flex;
  flex-direction: column;
  padding: 51px 17px 30px;
}

/* A single light source above the invitation, keeping the app's own heartbeat
   (DESIGN.md section 3: breathe), the only looping motion on this page. */
.phone-screen--invite::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(118% 52% at 50% 2%, rgba(232, 99, 74, 0.24), transparent 66%);
  content: "";
  opacity: 0;
  transition: opacity var(--beat) var(--ease);
}

.phone-screen--invite > * {
  position: relative;
  z-index: 1;
}

.phone-screen--invite > .phone-eyebrow {
  padding: 9px 7px 0;
  color: var(--coral);
}

.phone-screen--invite h3 {
  max-width: 240px;
  margin: 9px 7px 0;
  font-size: 30px;
  font-weight: 630;
  letter-spacing: -1.4px;
  line-height: 1.05;
}

.invite-card {
  display: grid;
  margin: auto 0 14px;
  padding: 20px 18px 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  gap: 17px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--beat) var(--ease) var(--beat-lead),
    transform var(--travel) var(--ease-travel) var(--beat-lead);
}

.invite-from {
  display: flex;
  align-items: center;
  gap: 11px;
}

.invite-from p {
  display: grid;
  margin: 0;
}

.invite-from b { font-size: 12px; }

.invite-from small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
}

.invite-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.invite-code i {
  display: grid;
  width: 31px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 17px;
  font-style: normal;
  font-weight: 730;
  opacity: 0;
  transform: translateY(9px);
  transition:
    opacity 320ms var(--ease) var(--code-delay, 0ms),
    transform 460ms var(--ease-travel) var(--code-delay, 0ms);
}

.invite-code span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

/* Off the timing scale on purpose, like the chat: a code being read out, one
   character landing after the last. */
.invite-code i:nth-of-type(1) { --code-delay: 520ms; }
.invite-code i:nth-of-type(2) { --code-delay: 600ms; }
.invite-code i:nth-of-type(3) { --code-delay: 700ms; }
.invite-code i:nth-of-type(4) { --code-delay: 780ms; }
.invite-code i:nth-of-type(5) { --code-delay: 860ms; }
.invite-code i:nth-of-type(6) { --code-delay: 940ms; }

.invite-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  text-align: center;
}

.invite-accept {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--beat) var(--ease) var(--invite-settle),
    transform var(--travel) var(--ease-travel) var(--invite-settle);
}

.journey__sticky[data-playing="invite"] .phone-screen--invite::before {
  opacity: 1;
  animation: breathe 5s ease-in-out 1.4s infinite;
}

.journey__sticky[data-playing="invite"] .invite-card,
.journey__sticky[data-playing="invite"] .invite-code i,
.journey__sticky[data-playing="invite"] .invite-accept {
  opacity: 1;
  transform: none;
}

.journey-progress i {
  background: rgba(255, 255, 255, 0.28);
}

/* The emotional result: photography first, claims second. */
.afterglow {
  padding: clamp(110px, 14vw, 210px) clamp(20px, 7vw, 120px) clamp(100px, 12vw, 180px);
  background: var(--paper);
}

.afterglow__photos {
  display: grid;
  max-width: 1140px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 64px);
  margin: 0 auto;
}

.afterglow__photos figure {
  margin: 0;
}

.afterglow__photos figure:first-child {
  transform: translateY(70px) rotate(-1.2deg);
}

.afterglow__photos figure:last-child {
  transform: rotate(1.1deg);
}

.afterglow__photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 5px;
  box-shadow: 0 28px 60px rgba(31, 18, 10, 0.16);
  object-fit: cover;
}

.afterglow__photos figcaption {
  margin-top: 13px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.hosts {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(60px, 9vw, 150px);
  padding: clamp(90px, 10vw, 150px) clamp(22px, 8vw, 140px);
  overflow: hidden;
  background: var(--night-soft);
  color: var(--white);
}

.hosts__card {
  position: relative;
  width: min(460px, 100%);
  min-height: 390px;
  justify-self: end;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 12%, rgba(232, 99, 74, 0.42), transparent 42%),
    var(--paper);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  transform: rotate(-4deg);
}

.hosts__card::after {
  position: absolute;
  z-index: -1;
  inset: 22px -22px -22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  content: "";
}

.hosts__card > p {
  margin: 0;
  color: var(--coral);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.7px;
}

.hosts__card h3 {
  max-width: 340px;
  margin: 36px 0 92px;
  font-family: var(--serif);
  font-size: clamp(43px, 4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.host-card__line {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-size: 11px;
}

.host-card__line b {
  color: var(--ink);
}

.host-card__people {
  display: flex;
  margin-top: 18px;
  padding-left: 15px;
}

.host-card__people > * {
  margin-left: -15px;
}

.host-card__people .photo-avatar,
.host-card__people i {
  width: 46px;
  height: 46px;
}

.host-card__people i {
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-style: normal;
  font-weight: 780;
}

.hosts__copy {
  max-width: 690px;
}

.hosts__copy h2,
.faq h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 90px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-wrap: balance;
}

.hosts__copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(17px, 1.5vw, 21px);
}

.hosts__copy .launch-status {
  margin-top: 32px;
}

.faq {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: clamp(60px, 10vw, 170px);
  padding: clamp(110px, 13vw, 190px) clamp(22px, 8vw, 140px);
  background: var(--white);
}

.faq__items {
  border-top: 1px solid var(--hairline);
}

.faq details {
  border-bottom: 1px solid var(--hairline);
}

.faq summary {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  font-size: 18px;
  font-weight: 660;
  letter-spacing: -0.25px;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { color: var(--ink-faint); content: "+"; font-size: 25px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }

.faq details p {
  max-width: 660px;
  margin: -6px 0 28px;
  color: var(--ink-soft);
  font-size: 15px;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 92svh;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  isolation: isolate;
}

.final-cta__photo,
.final-cta__veil {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.final-cta__photo {
  background: url("/assets/photography/spark-hero-wide.webp") center 48% / cover;
  transform: scale(1.03);
}

.final-cta__veil {
  z-index: -1;
  background: rgba(15, 10, 7, 0.58);
}

.final-cta__content {
  width: min(1120px, calc(100% - 40px));
}

.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(62px, 8vw, 122px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-wrap: balance;
  text-shadow: 0 3px 34px rgba(0, 0, 0, 0.35);
}

.final-cta__content > .launch-status {
  margin: 4px 0 0;
  font-size: 12px;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 32px clamp(22px, 7vw, 110px);
  border-top: 1px solid var(--hairline);
  background: var(--paper);
}

.wordmark--footer {
  font-size: 18px;
}

footer p {
  display: grid;
  justify-items: center;
  margin: 0;
  color: var(--ink-faint);
  font-size: 10px;
}

footer nav {
  display: flex;
  justify-self: end;
  gap: 20px;
}

footer nav a {
  color: var(--ink-soft);
  font-size: 12px;
  text-decoration: none;
}

/* Deep-link fallback keeps sharing routes usable after the landing rewrite. */
.deep-link-page {
  min-height: 100svh;
  background: var(--paper);
}

.deep-link-shell {
  display: grid;
  width: min(780px, calc(100% - 36px));
  min-height: 100svh;
  align-content: center;
  gap: 28px;
  margin: 0 auto;
  padding: 60px 0;
}

.deep-link-card {
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(20, 10, 5, 0.08);
}

.deep-link-card h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 8vw, 78px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.deep-link-card > p:not(.eyebrow, .link-token) {
  max-width: 620px;
  color: var(--ink-soft);
}

.link-token {
  overflow-wrap: anywhere;
  color: var(--ink-faint);
  font-size: 12px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button.secondary {
  border-color: var(--hairline);
  background: var(--white);
  color: var(--ink);
}

@keyframes breathe {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes signal {
  0%, 100% { transform: scaleY(0.72); }
  50% { transform: scaleY(1); }
}

@keyframes scroll-line {
  0% { transform: translateY(-110%); }
  55%, 100% { transform: translateY(110%); }
}

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .story-copy { left: clamp(34px, 6vw, 62px); width: 44vw; }
  .hosts { grid-template-columns: 1fr 1fr; gap: 55px; padding-inline: 44px; }
  .faq { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding: 10px 18px;
  }

  .wordmark { font-size: 19px; }
  .wordmark__mark { width: 18px; height: 17px; }
  .header-actions { gap: 6px; }
  .launch-status--header { display: none; }

  .journey__sticky {
    --phone-shift-y: 40vh;
    --phone-scale: 0.68;
  }

  .journey-scene img {
    object-position: 56% center;
  }

  .journey-scene--bed img {
    object-position: 63% center;
  }

  .journey-scene--meet img,
  .journey-scene--table img,
  .journey-scene--dinner img {
    object-position: 46% center;
  }

  .journey__veil {
    background:
      linear-gradient(180deg, rgba(14, 10, 7, 0.66) 0%, rgba(14, 10, 7, 0.15) 46%, rgba(14, 10, 7, 0.62) 100%),
      linear-gradient(90deg, rgba(14, 10, 7, 0.25), transparent 75%);
  }

  .hero-copy {
    top: 104px;
    width: calc(100% - 32px);
  }

  .hero-copy h1 {
    font-size: clamp(49px, 14.3vw, 68px);
    line-height: 0.92;
  }

  .hero-cue {
    margin: 18px 0 21px;
    font-size: 15px;
  }

  .story-copy {
    top: 84px;
    left: 18px;
    width: calc(100% - 36px);
    min-height: 190px;
    transform: none;
  }

  .story-step {
    justify-content: start;
  }

  .story-step h2 {
    max-width: 520px;
    margin: 10px 0 10px;
    font-size: clamp(37px, 10.6vw, 49px);
    line-height: 0.96;
  }

  .story-step p {
    font-size: 14px;
  }

  .journey__sticky[data-scene="dinner"] .story-copy,
  .journey__sticky[data-scene="night"] .story-copy {
    z-index: 7;
  }

  .message p {
    font-size: 11.5px;
  }

  .phone-stage {
    transform: var(
      --phone-transform,
      translate3d(-50%, calc(-50% + var(--phone-shift-y)), 0)
        rotateX(var(--phone-rotate-x))
        rotateY(var(--phone-rotate-y))
        rotateZ(var(--phone-rotate-z))
        scale(var(--phone-scale))
    );
  }

  .journey-progress {
    right: -19px;
  }

  /* The device owns the lower half of a phone screen, so the cue sits in the
     gap the title leaves above it rather than hiding behind the hardware. */
  .scroll-cue {
    top: 33svh;
    bottom: auto;
  }

  .afterglow {
    padding: 105px 18px 100px;
  }

  .afterglow__photos {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .afterglow__photos figure:first-child,
  .afterglow__photos figure:last-child {
    transform: none;
  }

  .afterglow__photos figure:first-child {
    width: 88%;
  }

  .afterglow__photos figure:last-child {
    width: 88%;
    margin-left: auto;
  }

  .hosts {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 80px;
    padding: 100px 22px;
  }

  .hosts__card {
    width: 88%;
    min-height: 340px;
    justify-self: center;
    padding: 29px;
  }

  .hosts__card h3 {
    margin: 29px 0 70px;
    font-size: 47px;
  }

  .hosts__copy {
    order: -1;
  }

  .hosts__copy h2,
  .faq h2 {
    font-size: 53px;
  }

  .faq {
    gap: 45px;
    padding: 105px 18px;
  }

  .faq summary {
    min-height: 76px;
    font-size: 16px;
  }

  .final-cta {
    min-height: 82svh;
  }

  .final-cta__photo {
    background-image: url("/assets/photography/spark-hero-mobile.webp");
  }

  .final-cta h2 {
    font-size: clamp(51px, 14vw, 70px);
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 30px 18px;
  }

  footer p { justify-items: start; }
  footer nav { justify-self: start; }

}

@media (max-height: 760px) and (min-width: 721px) {
  .hero-copy { top: 92px; }
  .hero-copy h1 { font-size: clamp(56px, 6.5vw, 88px); }
  .story-copy { transform: translateY(-38%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .journey {
    height: auto;
    background: var(--paper);
  }

  .journey__sticky {
    position: relative;
    display: grid;
    height: auto;
    min-height: 100svh;
    padding-bottom: 80px;
    overflow: hidden;
  }

  /* No beats to land on: the story is laid out end to end instead. */
  .journey__stops {
    display: none;
  }

  .journey-scenes,
  .journey-scene,
  .journey__veil,
  .journey__grain {
    height: 100svh;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    min-height: 58svh;
    align-content: start;
    padding-top: 115px;
    opacity: 1;
    transform: none;
    justify-self: center;
  }

  .phone-stage {
    position: relative;
    top: auto;
    left: auto;
    grid-row: 2;
    margin: -160px auto 30px;
    transform: scale(0.78) !important;
    transform-origin: top center;
  }

  .story-copy {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    width: auto;
    min-height: 0;
    gap: 55px;
    padding: 0 22px;
    opacity: 1;
    transform: none;
    grid-row: 3;
  }

  .story-step {
    position: relative;
    opacity: 1;
    transform: none;
  }

  /* No frames run in this mode, so every layer needs its resting state. */
  .journey-scene {
    opacity: 0;
  }

  .journey-scene[data-scene="hero"] {
    opacity: 1;
  }

  .phone-screen {
    opacity: 0;
    transform: none;
  }

  .phone-screen[data-phone-screen="0"] {
    opacity: 1;
  }

  .phone-screen--invite::before,
  .confirmation-mark,
  .confirmation-card,
  .confirmation-note,
  .phone-screen--chat .message,
  .message-reaction,
  .invite-card,
  .invite-code i,
  .invite-accept {
    opacity: 1;
    transform: none;
  }

  .scroll-cue,
  .journey-progress {
    display: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-soft: rgba(10, 10, 10, 0.82);
    --ink-faint: rgba(10, 10, 10, 0.68);
    --hairline: rgba(10, 10, 10, 0.32);
  }
}
