/*
 * washe.com coming-soon site.
 *
 * Brand primitives mirror `brand/web-tokens.css`. Site-level additions:
 * `--washe-well` from the mobile kit, plus the radius/spacing ladder from
 * apps/*-app/src/lib/typography.ts (control 14, pebble 22, ink 26).
 *
 * Kit laws:
 *  - Rank surfaces by fill + elevation, never by borders.
 *  - Splash cyan is an ACCENT — never a button fill.
 *  - Selected chips = ink fill + white text (§6.5).
 *  - Display font for headings only; body stays system.
 */

/* ── Brand tokens (from brand/web-tokens.css) ─────────────────────────── */
:root {
  --washe-splash: #00c7e6;
  --washe-splash-dim: #0e7e96;
  --washe-splash-tint: rgba(0, 199, 230, 0.08);
  --washe-splash-tint-strong: rgba(0, 199, 230, 0.14);
  --washe-splash-tint-border: rgba(0, 199, 230, 0.32);

  --washe-ink: #16242e;
  --washe-ink-2: #20303b;
  --washe-ink-line: #2e3f4a;
  --washe-page: #f0f6f8;
  --washe-surface: #ffffff;
  --washe-hairline: #dde5e8;
  --washe-text: #0e1a22;
  --washe-slate: #5a6373;
  --washe-muted: #b8c0cc;

  --washe-online: #2ec27e;
  --washe-success-bg: #e7f6ec;
  --washe-success-text: #1f6b3c;
  --washe-error-bg: #fbe5e5;
  --washe-error-text: #8a2828;

  --washe-soap: #f99cc0;
  --washe-soap-dim: #ad3468;
  --washe-soap-bg: #fff3f8;
  --washe-soap-tint-border: rgba(233, 94, 150, 0.32);

  --on-ink-fill: rgba(255, 255, 255, 0.08);
  --on-ink-fill-strong: rgba(255, 255, 255, 0.12);
  --on-ink-border: rgba(255, 255, 255, 0.14);
  --on-ink-divider: rgba(255, 255, 255, 0.08);
  --on-ink-cyan-fill: rgba(0, 199, 230, 0.14);
  --on-ink-cyan-border: rgba(0, 199, 230, 0.3);
  --on-ink-muted: #b8c0cc;

  --shadow-sm: 0 2px 6px -2px rgba(14, 26, 34, 0.06);
  --shadow-md: 0 4px 10px -3px rgba(14, 26, 34, 0.08);
  --shadow-lg: 0 8px 16px -6px rgba(14, 26, 34, 0.1);
  --shadow-ink: 0 18px 40px -20px rgba(14, 26, 34, 0.55);
  --shadow-overlay: 0 12px 32px -12px rgba(14, 26, 34, 0.18),
    0 3px 10px -4px rgba(14, 26, 34, 0.1);

  --washe-well: #eef4f6;
  --washe-hairline-strong: #cbd3da;
  --washe-neutral-600: #727b8a;
  --radius-control: 14px;
  --radius-lg: 16px;
  --radius-pebble: 22px;
  --radius-ink: 26px;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --container: 1120px;
  --header-h: 64px;
}

/* ── Font ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--washe-text);
  background: var(--washe-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--washe-splash-dim);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

::selection {
  background: var(--washe-splash-tint-strong);
}

:focus-visible {
  outline: 2px solid var(--washe-splash-dim);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--washe-ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-control) 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ── Typography ───────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  color: inherit;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h3 {
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--washe-slate);
}

.overline {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--washe-splash-dim);
}

.small {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--washe-slate);
}

/* ── Layout ───────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.section {
  padding: clamp(64px, 9vw, 116px) 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(36px, 5vw, 56px);
  display: grid;
  gap: 14px;
}

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.scrolled {
  border-bottom-color: var(--washe-hairline);
  box-shadow: var(--shadow-sm);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.header-logo img {
  height: 28px;
  width: auto;
}

.header-logo .logo-dark {
  display: none;
}

/* Homepage: header floats over the photo, then solidifies after the hero. */
body.page-home .site-header {
  margin-bottom: calc(-1 * var(--header-h));
}

body.page-home .site-header:not(.scrolled) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.page-home .site-header:not(.scrolled) .logo-light {
  display: none;
}

body.page-home .site-header:not(.scrolled) .logo-dark {
  display: block;
}

body.page-home .site-header:not(.scrolled) .header-cta {
  background: #fff;
  color: var(--washe-ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.page-home .site-header:not(.scrolled) .header-cta:hover {
  background: var(--washe-well);
  transform: translateY(-1px);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
}

.header-nav a.nav-link {
  color: var(--washe-text);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 2px;
}

.header-nav a.nav-link:hover {
  color: var(--washe-splash-dim);
  text-decoration: none;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius-control);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, var(--washe-ink-2) 0%, var(--washe-ink) 62%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 1px 2px rgba(14, 26, 34, 0.24),
    0 10px 22px -10px rgba(14, 26, 34, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--washe-ink-line) 0%, var(--washe-ink-2) 62%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 2px 4px rgba(14, 26, 34, 0.22),
    0 14px 28px -12px rgba(14, 26, 34, 0.55);
}

.btn-primary:active {
  transform: translateY(0) scale(0.985);
}

.btn-secondary {
  background: var(--washe-surface);
  color: var(--washe-text);
  box-shadow: inset 0 0 0 1px var(--washe-hairline-strong);
}

.btn-secondary:hover {
  background: var(--washe-well);
}

.btn-on-ink {
  background: linear-gradient(180deg, #ffffff 0%, #eef4f6 100%);
  color: var(--washe-ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 12px 26px -12px rgba(0, 0, 0, 0.5);
}

.btn-on-ink:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 4px rgba(0, 0, 0, 0.22),
    0 16px 32px -14px rgba(0, 0, 0, 0.55);
}

.btn-on-ink:active {
  transform: translateY(0) scale(0.985);
}

.btn-sm {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}

.btn[disabled] {
  cursor: default;
  opacity: 0.72;
}

.btn .arrow {
  transition: transform 140ms ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ── Homepage cinema hero ─────────────────────────────────────────────── */
.hero-cinema {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--washe-ink);
}

.hero-media,
.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 48% 38%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(14, 26, 34, 0.22) 0%,
      rgba(14, 26, 34, 0.08) 28%,
      rgba(14, 26, 34, 0.55) 62%,
      rgba(14, 26, 34, 0.88) 100%);
  pointer-events: none;
}

.hero-cinema-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin-right: auto;
  padding-bottom: clamp(36px, 6vw, 56px);
  display: grid;
  gap: 18px;
  justify-items: start;
}

.hero-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--washe-splash);
}

.hero-cinema h1 {
  color: #fff;
  font-size: clamp(2.55rem, 1.35rem + 5.2vw, 4.85rem);
}

.hero-cinema .lead {
  max-width: 26rem;
  color: rgba(240, 246, 248, 0.82);
}

@media (min-width: 880px) {
  .hero-cinema {
    align-items: center;
  }

  .hero-shade {
    background:
      linear-gradient(105deg,
        rgba(14, 26, 34, 0.86) 0%,
        rgba(14, 26, 34, 0.58) 38%,
        rgba(14, 26, 34, 0.18) 68%,
        rgba(14, 26, 34, 0.32) 100%),
      linear-gradient(180deg,
        rgba(14, 26, 34, 0.28) 0%,
        transparent 36%,
        rgba(14, 26, 34, 0.38) 100%);
  }

  .hero-cinema-inner {
    padding-top: calc(var(--header-h) + 8px);
    padding-bottom: 72px;
    gap: 22px;
  }

  .hero-media img {
    object-position: 62% 40%;
  }
}

/* ── Audience split ───────────────────────────────────────────────────── */
.audience {
  background: var(--washe-surface);
  padding: clamp(64px, 8vw, 104px) 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 7vw, 80px);
}

.audience-col {
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 460px;
}

.audience-media {
  margin: 0 0 6px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--washe-ink);
  box-shadow: var(--shadow-sm);
}

.audience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-col:first-child .audience-media img {
  object-position: 36% 46%;
}

.audience-col:last-child .audience-media img {
  object-position: 58% 52%;
}

.audience-col h2 {
  color: var(--washe-text);
}

.audience-points {
  display: grid;
  gap: 6px;
  color: var(--washe-slate);
  font-size: 1.0625rem;
  line-height: 1.5;
}

@media (min-width: 800px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 8vw, 96px);
  }

  .audience-col {
    max-width: none;
  }
}

/* ── Manifesto ────────────────────────────────────────────────────────── */
.manifesto {
  background: var(--washe-ink-2);
  color: #fff;
  padding: clamp(72px, 10vw, 120px) 0;
}

.manifesto-inner {
  max-width: 680px;
  display: grid;
  gap: 18px;
  justify-items: start;
}

.manifesto .overline {
  color: var(--washe-splash);
}

.manifesto h2 {
  color: #fff;
  font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem);
}

.manifesto .lead {
  max-width: 34rem;
  color: var(--washe-muted);
}

/* ── Join page ────────────────────────────────────────────────────────── */
.page-join {
  background: var(--washe-surface);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page-join .site-header {
  background: var(--washe-surface);
}

.page-join .site-header.scrolled {
  border-bottom-color: var(--washe-hairline);
}

.page-join .site-footer {
  margin-top: auto;
}

.join-main {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(20px, 3.5vw, 40px) clamp(20px, 4vw, 32px) clamp(48px, 6vw, 80px);
}

@media (min-width: 800px) {
  .join-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 720px;
    padding-top: 48px;
  }

  .page-join .site-footer {
    padding: 28px 0 24px;
  }
}

.join-intro {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.join-intro h1 {
  font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.35rem);
}

.join-lede {
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--washe-slate);
}

.join-intro[hidden] {
  display: none;
}

/* ── Waitlist flow ────────────────────────────────────────────────────── */
.flow-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.flow-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 26px;
  padding: 4px 0 10px;
  min-height: 40px;
  position: sticky;
  top: var(--header-h);
  z-index: 4;
  background: var(--washe-surface);
}

.flow-back {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--washe-well);
  color: var(--washe-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.flow-back:hover {
  background: var(--washe-hairline);
  color: var(--washe-text);
}

.flow-back[hidden] {
  visibility: hidden;
  display: flex;
  pointer-events: none;
}

.flow-progress {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--washe-well);
  overflow: hidden;
}

.flow-progress-fill {
  display: block;
  height: 100%;
  width: 16.666%;
  border-radius: inherit;
  background: var(--washe-splash);
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.flow-count {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--washe-slate);
  font-variant-numeric: tabular-nums;
}

html.js .flow-step {
  display: none;
}

html.js .flow-step.active {
  display: block;
  animation: step-in-fwd 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .flow-card[data-dir="back"] .flow-step.active {
  animation-name: step-in-back;
}

@keyframes step-in-fwd {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes step-in-back {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.flow-q {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  letter-spacing: -0.015em;
  margin-bottom: 0;
  outline: none;
}

.flow-sub {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--washe-slate);
}

.flow-step > .chips {
  margin-top: 18px;
}

.chips.chips-stack {
  display: grid;
  gap: 10px;
}

.chips-stack .chip {
  display: flex;
}

.chips-stack .chip > span {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  justify-content: flex-start;
  text-align: left;
}

.chips-stack:not(.chips-pick) .chip > span {
  background: var(--washe-well);
  box-shadow: none;
}

.chips-choice .chip > span::after,
.chips-multi .chip > span::after {
  content: "";
  width: 22px;
  height: 22px;
  margin-left: auto;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--washe-surface);
  box-shadow: inset 0 0 0 1.5px var(--washe-hairline-strong);
}

.chips-multi .chip > span::after {
  border-radius: 6px;
}

.chips-choice .chip input:checked + span::after,
.chips-multi .chip input:checked + span::after {
  box-shadow: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316242e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.chips-pick {
  gap: 12px;
}

.chips-pick.chips-stack .chip > span {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: var(--washe-page);
  box-shadow: var(--shadow-sm);
}

.chips-pick.chips-stack .chip input:checked + span {
  background: var(--washe-ink);
  box-shadow: var(--shadow-ink);
  color: #fff;
}

.chip-pick-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: var(--washe-ink);
  overflow: hidden;
}

.chip-pick-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chip-pick-media--owner img {
  object-position: 42% 58%;
}

.chip-pick-media--pro img {
  object-position: 16% 42%;
}

.chip-pick-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 18px 48px 18px 20px;
}

.chip-pick-copy::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--washe-surface);
  box-shadow: inset 0 0 0 1.5px var(--washe-hairline-strong);
}

.chips-pick .chip input:checked + span .chip-pick-copy::after {
  box-shadow: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316242e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.chips-pick .chip-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.chips-pick .chip-desc {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--washe-slate);
}

.chips-pick .chip input:checked + span .chip-desc {
  color: rgba(255, 255, 255, 0.78);
}

.flow-nav {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.flow-nav .btn {
  width: 100%;
}

.flow-skip {
  border: 0;
  background: none;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--washe-slate);
  cursor: pointer;
  border-radius: 8px;
}

.flow-skip:hover {
  color: var(--washe-text);
}

.form-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .chips-pick.chips-stack {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (max-width: 719px) {
  .join-main {
    padding: 16px 20px 28px;
  }

  .join-intro {
    gap: 6px;
    margin-bottom: 16px;
  }

  .join-intro h1 {
    font-size: 1.65rem;
  }

  .join-lede {
    font-size: 0.9375rem;
    line-height: 1.4;
  }

  .flow-top {
    min-height: 0;
    margin-bottom: 16px;
    gap: 12px;
  }

  .flow-back[hidden] {
    display: none;
  }

  .flow-q {
    font-size: 1.2rem;
  }

  .flow-step > .chips {
    margin-top: 14px;
  }

  .chips-pick.chips-stack .chip > span {
    flex-direction: row;
    align-items: stretch;
    min-height: 92px;
    background: var(--washe-well);
    box-shadow: none;
  }

  .chips-pick .chip:hover input:not(:checked) + span {
    box-shadow: none;
    background: var(--washe-hairline);
  }

  .chips-pick .chip-pick-media {
    width: 96px;
    flex: 0 0 96px;
    aspect-ratio: auto;
    align-self: stretch;
  }

  .chips-pick .chip-pick-copy {
    flex: 1;
    padding: 12px 44px 12px 14px;
    gap: 2px;
  }

  .chips-pick .chip-title {
    font-size: 1rem;
  }

  .chips-pick .chip-desc {
    font-size: 0.8125rem;
  }

  .form-grid {
    gap: 14px;
  }
}

.field {
  display: grid;
  gap: 6px;
}

.field > label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--washe-text);
}

.field .optional {
  margin-left: 6px;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--washe-slate);
}

.field input,
.field textarea {
  appearance: none;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--washe-text);
  background: var(--washe-well);
  border: 2px solid transparent;
  border-radius: var(--radius-control);
  transition: background-color 120ms ease, border-color 120ms ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}

.note-field {
  margin-top: 18px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--washe-neutral-600);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--washe-surface);
  border-color: var(--washe-ink);
}

.field input.invalid,
.field textarea.invalid {
  border-color: var(--washe-error-text);
  background: var(--washe-surface);
}

.field-hint {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--washe-slate);
}

.field-error {
  display: none;
  font-size: 0.8125rem;
  color: var(--washe-error-text);
}

.field-error.visible {
  display: block;
}

.field:has(.field-error.visible) .field-hint {
  display: none;
}

.form-fine {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--washe-slate);
}

.form-fine a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

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

.chip {
  position: relative;
  display: inline-flex;
}

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.chip > span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--washe-surface);
  box-shadow: inset 0 0 0 1px var(--washe-hairline-strong);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--washe-text);
  cursor: pointer;
  transition: background-color 120ms ease, box-shadow 120ms ease,
    color 120ms ease, transform 120ms ease;
  user-select: none;
}

.chip:active > span {
  transform: scale(0.985);
}

.chip:hover input:not(:checked) + span {
  background: var(--washe-hairline);
}

.chips-pick .chip:hover input:not(:checked) + span {
  background: var(--washe-page);
  box-shadow: var(--shadow-md);
}

.chip input:checked + span,
.chips-stack:not(.chips-pick) .chip input:checked + span {
  background: var(--washe-ink);
  box-shadow: inset 0 0 0 1px var(--washe-ink);
  color: #fff;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--washe-splash-dim);
  outline-offset: 2px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: grid;
  gap: 12px;
}

.form-footer .btn {
  width: 100%;
}

.form-alert {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--washe-error-bg);
  box-shadow: inset 0 0 0 1px rgba(138, 40, 40, 0.25);
  color: var(--washe-error-text);
  font-size: 0.9375rem;
}

.form-alert.visible {
  display: block;
}

.form-alert a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn.loading .spinner {
  display: inline-block;
}

.btn.loading .btn-label {
  opacity: 0.85;
}

/* ── Success panel ────────────────────────────────────────────────────── */
.success-panel {
  display: none;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) clamp(18px, 3vw, 32px);
}

.success-panel.visible {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.success-disc {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--washe-success-bg);
  color: var(--washe-success-text);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop 420ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-panel .lead {
  max-width: 420px;
}

.success-home {
  margin: 4px 0 0;
}

.success-home a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--washe-slate);
}

.success-home a:hover {
  color: var(--washe-text);
  text-decoration: none;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--washe-ink);
  color: var(--washe-muted);
  padding: clamp(36px, 5vw, 56px) 0 32px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--on-ink-divider);
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-brand img {
  height: 28px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 4px;
}

.footer-links a {
  color: var(--washe-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 0.8125rem;
  color: var(--washe-neutral-600);
}

/* ── Small utilities ──────────────────────────────────────────────────── */
.h1-page {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

.h1-utility {
  font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

.utility-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 20px;
}

.utility-inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  max-width: 460px;
}

.utility-inner .mark {
  width: 72px;
  opacity: 0.9;
}

.prose {
  max-width: 720px;
  display: grid;
  gap: 18px;
}

.prose h2 {
  font-size: 1.375rem;
  margin-top: 18px;
}

.prose p,
.prose li {
  color: var(--washe-slate);
}

.prose ul {
  margin: 0;
  padding-left: 22px;
}

/* ── Phone layout ─────────────────────────────────────────────────────── */
@media (max-width: 619px) {
  :root {
    --header-h: 56px;
  }

  .header-nav a.nav-link {
    display: none;
  }

  body.page-home .site-header:not(.scrolled) .header-cta {
    display: none;
  }

  .hero-cinema-inner {
    padding-bottom: max(64px, calc(env(safe-area-inset-bottom, 0px) + 40px));
    gap: 14px;
  }

  .hero-cinema h1 {
    font-size: clamp(2.05rem, 7.6vw, 2.35rem);
  }

  .audience {
    padding: 48px 0;
  }

  .audience-grid {
    gap: 36px;
  }

  .audience-col {
    gap: 12px;
  }

  .audience-media {
    margin-bottom: 2px;
  }

  .manifesto {
    padding: 56px 0;
  }

  .manifesto h2 {
    font-size: 1.85rem;
  }

  .manifesto-inner {
    gap: 16px;
  }

  .section {
    padding: 36px 0 48px;
  }

  .section-head {
    margin-bottom: 28px;
    gap: 10px;
  }

  .site-footer {
    padding: 28px 0 22px;
  }

  .footer-top {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 16px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 6px;
    padding-top: 14px;
    font-size: 0.75rem;
  }

  .footer-legal span:last-child {
    display: none;
  }

  .utility-page {
    padding: 40px 20px;
  }

  .utility-inner .success-actions {
    display: grid;
    width: 100%;
  }

  .utility-inner .btn {
    width: 100%;
  }
}

@media (max-width: 799px) {
  .page-join {
    min-height: 0;
  }

  .page-join .site-footer {
    margin-top: 36px;
    background: transparent;
    color: var(--washe-slate);
    padding: 0 0 max(24px, env(safe-area-inset-bottom, 0px));
  }

  .page-join .footer-brand {
    display: none;
  }

  .page-join .footer-top {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .page-join .footer-links {
    gap: 4px 20px;
    padding-top: 0;
  }

  .page-join .footer-links a {
    color: var(--washe-slate);
    padding: 10px 0;
  }

  .page-join .footer-legal {
    padding-top: 4px;
    font-size: 0.75rem;
    color: var(--washe-muted);
  }

  .page-join .footer-legal span:last-child {
    display: none;
  }
}

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

  .btn .spinner {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }

  .btn .arrow {
    transition: none;
  }

  .success-disc {
    animation: none;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.js .flow-step.active,
  html.js .flow-card[data-dir="back"] .flow-step.active {
    animation: none;
  }

  .flow-progress-fill {
    transition: none;
  }

  .btn {
    transition: none;
  }

  .btn-primary:hover,
  .btn-on-ink:hover {
    transform: none;
  }
}
