/*
 * Meet at Six, public site. Written against color roles, never raw tokens (design brief §3.2).
 * Every hex/rgb value is a packages/tokens color (colors, borders, derived, webLight): the tokens test (D12)
 * fails otherwise. No inline styles anywhere (CSP style-src 'self').
 * Order: fonts → roles → base → layout → components → pages → breakpoints → motion → forced colors.
 */

/* ---------- Fonts (self-hosted) + metric-matched fallbacks so the swap does not shift layout ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 107.06%;
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Bricolage Fallback';
  src: local('Arial Bold'), local('Arial'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 98%;
  ascent-override: 94.9%;
  descent-override: 27.55%;
  line-gap-override: 0%;
}

/* ---------- Color roles: light (June at six) by default ---------- */
:root {
  --bg: #f7f2ec;
  --surface: #fffcf8;
  --surface-sunken: #efe6db;
  --surface-raised: #fffcf8;
  --chip: #efe6db;
  --divider: #e4d9cb;
  --text: #16131f;
  --text-muted: #5a5169;
  --accent-text: #a83e1c;
  --label: #a83e1c;
  --link: #a83e1c;
  --link-hover: #16131f;
  --border: #857c96;
  --focus: #16131f;
  --action: #ff6b3d;
  --action-hover: #ff8a73;
  --on-action: #16131f;
  --stamp: #f5b942;
  --on-stamp: #16131f;
  --tint: #ffe1d6;
  --on-tint: #a83e1c;
  --notice: #fbe7bf;
  --on-notice: #3d2f1c;
  --logo-dot: #16131f;
  --logo-type: #16131f;
  --header-bg: rgb(247 242 236 / 88%);
  --shadow-1: 0 1px 2px rgb(22 19 31 / 6%), 0 2px 8px rgb(22 19 31 / 6%);
  --shadow-2: 0 2px 4px rgb(22 19 31 / 6%), 0 16px 40px -12px rgb(22 19 31 / 22%);
  --shadow-phone: 0 40px 80px -24px rgb(22 19 31 / 45%);
  --glow-action: 0 8px 24px -6px rgb(255 107 61 / 45%);

  --font-display: 'Bricolage Grotesque', 'Bricolage Fallback', system-ui, sans-serif;
  --font-body: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 76rem;
  --gutter: 20px;
  --section-y: clamp(4rem, 2.6rem + 5.6vw, 8rem);
  --gap: 16px;
  --radius-sm: 12px;
  --radius-lg: 16px;
  --radius-card: 24px;
  --radius-sheet: 28px;
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 400ms;
  --dur-scene: 900ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-dusk: cubic-bezier(0.45, 0, 0.2, 1);

  color-scheme: light dark;
}

/* Dark (November at six): system preference, plus always-dark parts (.evening, phone mockups, vignettes). */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16131f;
    --surface: #221d2e;
    --surface-sunken: #1b1726;
    --surface-raised: #2b2438;
    --chip: #2f283d;
    --divider: #2f2940;
    --text: #f7f2ec;
    --text-muted: #b3aabf;
    --accent-text: #ff6b3d;
    --label: #f5b942;
    --link: #f5b942;
    --link-hover: #ff8a73;
    --border: #938aa3;
    --focus: #f5b942;
    --tint: #321e23;
    --on-tint: #ffe1d6;
    --notice: #312723;
    --on-notice: #f5b942;
    --logo-dot: #f5b942;
    --logo-type: #f7f2ec;
    --header-bg: rgb(22 19 31 / 88%);
    --shadow-1: inset 0 0 0 1px var(--divider);
    --shadow-2: 0 18px 40px -12px rgb(0 0 0 / 50%);
    --shadow-phone: 0 40px 80px -20px rgb(0 0 0 / 60%);
  }
}
.evening,
.phone,
.vignette {
  --bg: #16131f;
  --surface: #221d2e;
  --surface-sunken: #1b1726;
  --surface-raised: #2b2438;
  --chip: #2f283d;
  --divider: #2f2940;
  --text: #f7f2ec;
  --text-muted: #b3aabf;
  --accent-text: #ff6b3d;
  --label: #f5b942;
  --link: #f5b942;
  --link-hover: #ff8a73;
  --border: #938aa3;
  --focus: #f5b942;
  --tint: #321e23;
  --on-tint: #ffe1d6;
  --notice: #312723;
  --on-notice: #f5b942;
  --logo-dot: #f5b942;
  --logo-type: #f7f2ec;
  --shadow-1: inset 0 0 0 1px var(--divider);
  --shadow-2: 0 18px 40px -12px rgb(0 0 0 / 50%);
  color-scheme: dark;
  color: var(--text);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.75rem, 1.95rem + 3.3vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(2rem, 1.6rem + 1.65vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--link-hover);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
strong,
b {
  font-weight: 700;
}
.accent {
  color: var(--accent-text);
}
.nowrap {
  white-space: nowrap;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -64px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--action);
  color: var(--on-action);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 8px;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow {
  max-width: calc(46rem + 2 * var(--gutter));
}
.section {
  padding-block: var(--section-y);
}
.section-tight {
  padding-block: calc(var(--section-y) * 0.5);
}
.band {
  background: var(--surface-sunken);
}
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section-head.centered {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 + p {
  margin-top: 20px;
}
.body {
  max-width: 38rem;
  color: var(--text-muted);
}
.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.split-copy > * + * {
  margin-top: 16px;
}
.split-copy > h2 + p {
  margin-top: 20px;
}
.split-copy > .checks {
  margin-top: 24px;
}
.grid {
  display: grid;
  gap: var(--gap);
  list-style: none;
}

/* ---------- Kicker with the half-sun ornament ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--label);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.centered .kicker {
  justify-content: center;
}
.kicker svg {
  flex: none;
  width: 20px;
  height: 10px;
  fill: #ff6b3d;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--header-bg);
  border-bottom: 1px solid var(--divider);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  padding-block: 6px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.logo {
  width: auto;
  height: 28px;
}
.logo-ring {
  fill: none;
  stroke: #ff6b3d;
  stroke-width: 4;
}
.logo-hand {
  stroke: #ff6b3d;
  stroke-width: 4;
  stroke-linecap: round;
}
.logo-dot {
  fill: var(--logo-dot);
}
.logo-type {
  fill: var(--logo-type);
}
.site-nav {
  order: 3;
  flex-basis: 100%;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2px;
  list-style: none;
  margin-inline: -10px;
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
}
.site-nav a:hover::after {
  background: var(--text-muted);
}
.site-nav a[aria-current='page']::after {
  background: var(--accent-text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 24px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-sm {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}
.btn-lg {
  min-height: 56px;
  padding: 8px 28px;
  font-size: 1.0625rem;
}
.btn-primary {
  background: var(--action);
  color: var(--on-action);
}
.btn-primary:hover {
  background: var(--action-hover);
  color: var(--on-action);
  box-shadow: var(--glow-action);
}
.btn-primary:focus-visible {
  outline-offset: 4px;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 2px var(--border);
}
.btn-secondary:hover {
  background: var(--chip);
  color: var(--text);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--link);
  font-weight: 600;
}
.link-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.centered .cta-row {
  justify-content: center;
}
.cta-note {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.centered .cta-note {
  margin-inline: auto;
}
.cta-note a {
  color: var(--text);
  font-weight: 700;
}

/* ---------- Chips, stamps, badges ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.centered .chips {
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}
.chip svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--label);
  stroke-width: 2;
  stroke-linecap: round;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b3d;
}
.stamp,
.badge-gold {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--stamp);
  color: var(--on-stamp);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.badge-gold {
  padding: 3px 7px;
  font-size: 0.6875rem;
}

/* ---------- Check list and icon tiles ---------- */
.checks {
  display: grid;
  gap: 12px;
  list-style: none;
}
.checks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}
.checks svg {
  width: 20px;
  height: 20px;
  margin-top: 0.2em;
  border-radius: 50%;
  background: var(--tint);
  fill: none;
  stroke: var(--on-tint);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--tint);
}
.icon-tile svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--on-tint);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Cards ---------- */
.card {
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.card > * + * {
  margin-top: 10px;
}
.card .icon-tile + h3 {
  margin-top: 16px;
}
.card p {
  color: var(--text-muted);
}

/* ---------- Figures and illustration windows ---------- */
.figure {
  margin: 0;
}
.after-grid,
.figure.after-grid {
  margin-top: clamp(3rem, 2rem + 4vw, 5rem);
}
.window {
  overflow: hidden;
  border-radius: var(--radius-sheet);
  /* Night: the art carries its own sky, and older scenes fade their edges into Night. */
  background: #16131f;
}
.window img {
  width: 100%;
}
.caption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.art-wide {
  aspect-ratio: 16 / 10;
}
.art-square {
  aspect-ratio: 1;
}
.art-crop img {
  height: 100%;
  object-fit: cover;
}
.page-hero .window {
  box-shadow: var(--shadow-2);
}

/* ---------- Hero ---------- */
.hero {
  overflow-x: clip;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--section-y);
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero .lead {
  max-width: 34rem;
  margin-top: 24px;
}
.lead {
  color: var(--text-muted);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  line-height: 1.5;
}
.hero .cta-row {
  margin-top: 32px;
}
.hero .cta-note {
  margin-top: 16px;
}
.hero .chips {
  margin-top: 20px;
}
.proof {
  margin-top: 28px;
}
.hero-art {
  position: relative;
  margin: 0;
}
.hero-window {
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-2);
}
.hero-phone {
  display: none;
}

/* ---------- Facts band ---------- */
.facts-band {
  padding-block: 0 var(--section-y);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
}
.facts div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.facts dt {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.35;
}
.facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.65vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: var(--gap);
  list-style: none;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.step-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--border);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
}
.step p {
  color: var(--text-muted);
}
.vignette {
  display: grid;
  gap: 10px;
  align-content: center;
  justify-items: center;
  min-height: 132px;
  margin-top: auto;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  font-size: 0.8125rem;
  line-height: 1.3;
}
.v-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ff6b3d;
  color: #16131f;
  font-weight: 700;
}
.v-pill svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.v-note {
  color: var(--text-muted);
}
.v-match {
  display: flex;
  align-items: center;
  gap: 8px;
}
.v-heart {
  width: 20px;
  height: 20px;
  fill: #ff6b3d;
}
.v-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
}
.v-grid {
  display: grid;
  grid-template-columns: repeat(3, 26px);
  gap: 6px;
}
.v-grid i {
  height: 22px;
  border-radius: 6px;
  background: #2f283d;
}
.v-grid i.is-featured {
  background: #312723;
  box-shadow: inset 0 0 0 1.5px #f5b942;
}
.v-grid i.is-picked {
  background: #ff6b3d;
}
.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #16131f;
}
.avatar-spritz {
  background: #ff6b3d;
}
.avatar-gold {
  background: #f5b942;
}
.art-pair {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2rem);
  align-items: start;
}

/* ---------- Phone mockups (always dark, HTML/CSS) ---------- */
.phone-row {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.phone-row .phone + .phone {
  display: none;
}
.phone {
  position: relative;
  flex: none;
  width: min(100%, 300px);
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(160deg, #3a3348, #1b1726);
  box-shadow:
    inset 0 0 0 1px #4a4259,
    var(--shadow-phone);
  font-family: var(--font-body);
  color: #f7f2ec;
}
.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  padding: 40px 14px 14px;
  border-radius: 36px;
  background: #16131f;
  font-size: 0.75rem;
  line-height: 1.35;
}
.notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 84px;
  height: 22px;
  margin-left: -42px;
  border-radius: 999px;
  background: #0d0b12;
}
.scr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.scr-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.scr-sub {
  display: block;
  color: #b3aabf;
  font-size: 0.6875rem;
}
.scr-round {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2f283d;
}
.scr-round svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #f7f2ec;
  stroke-width: 2;
  stroke-linecap: round;
}
.profile {
  overflow: hidden;
  flex: none;
  border-radius: 20px;
  background: #221d2e;
}
.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 200 / 170;
}
.profile-info {
  padding: 8px 12px 10px;
}
.profile-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
}
.profile-meta {
  color: #b3aabf;
  font-size: 0.6875rem;
}
.six-card {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #221d2e;
}
.label-gold {
  color: #f5b942;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scr-actions {
  display: flex;
  gap: 10px;
}
.btn-x {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2f283d;
}
.btn-x svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #f7f2ec;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.btn-crush,
.btn-propose {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  border-radius: 999px;
  background: #ff6b3d;
  color: #16131f;
  font-weight: 700;
}
.btn-crush svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.scr-lock {
  color: #b3aabf;
  font-size: 0.6875rem;
  text-align: center;
}
.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: auto -14px -14px;
  padding: 8px 4px 14px;
  border-top: 1px solid #2f2940;
  background: #1b1726;
  color: #b3aabf;
  font-size: 0.5625rem;
}
.tab {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.tab svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tab.is-on {
  color: #ff6b3d;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2f2940;
}
.chat-head b {
  display: block;
  font-size: 0.875rem;
}
.mutual {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 12px;
  border-radius: 18px;
  background: #221d2e;
  text-align: center;
}
.mutual b {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
}
.mutual svg {
  width: 26px;
  height: 26px;
  fill: #ff6b3d;
}
.ready {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: #312723;
}
.bubble {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 16px;
}
.bubble.in {
  border-bottom-left-radius: 4px;
  background: #2b2438;
}
.bubble.out {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: #ff6b3d;
  color: #16131f;
}
.pick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.pick {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #221d2e;
}
.pick .thumb {
  aspect-ratio: 16 / 10;
}
.pick > span:last-child {
  display: block;
  padding: 5px 8px 6px;
  font-size: 0.625rem;
  font-weight: 600;
}
.pick .badge-gold {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 0.5625rem;
}
.pick.is-picked {
  box-shadow: inset 0 0 0 2px #f5b942;
}
.times {
  display: flex;
  gap: 6px;
}
.times span {
  flex: 1;
  padding: 7px 0;
  border-radius: 999px;
  background: #2f283d;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.times .is-on {
  background: #f5b942;
  color: #16131f;
}

/* ---------- Venue scene thumbnails (one SVG sprite with fragment views) ---------- */
.thumb {
  display: block;
  background-color: #2b2438;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.scene-rooftop {
  background-image: url('/img/art/venues.svg#rooftop');
}
.scene-skyline {
  background-image: url('/img/art/venues.svg#skyline');
}
.scene-terrace {
  background-image: url('/img/art/venues.svg#terrace');
}
.scene-wine {
  background-image: url('/img/art/venues.svg#wine');
}
.scene-garden {
  background-image: url('/img/art/venues.svg#garden');
}
.scene-lounge {
  background-image: url('/img/art/venues.svg#lounge');
}
.scene-bistro {
  background-image: url('/img/art/venues.svg#bistro');
}
.scene-river {
  background-image: url('/img/art/venues.svg#river');
}

/* ---------- Six grid (homepage Meet at 6 and /venues/ Featured) ---------- */
.six-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}
.six-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--divider);
}
.six-cell .thumb {
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.six-cell b {
  padding: 10px 12px 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.six-cell > span:last-child {
  padding: 2px 12px 12px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.six-cell .badge-gold {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.75rem;
}
.six-cell.is-picked {
  box-shadow: inset 0 0 0 2px var(--accent-text);
}
.six-cell .stamp {
  position: absolute;
  top: -10px;
  right: 8px;
  font-size: 0.8125rem;
}

/* ---------- Free callout ---------- */
.callout {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 1rem + 3vw, 56px);
  border-radius: var(--radius-sheet);
  background: var(--surface-raised);
  box-shadow: var(--shadow-2);
}
.callout p {
  max-width: 38rem;
  margin-top: 20px;
  color: var(--text-muted);
}
.price {
  display: grid;
  justify-items: start;
}
.numeral {
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: clamp(6rem, 3.5rem + 10vw, 12rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.numeral-label {
  margin-top: 8px;
  color: var(--label);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- With friends (secondary block, about a quarter of a feature block) ---------- */
.friends {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--surface-sunken);
}
.friends img {
  width: 120px;
}
.friends h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.friends .kicker {
  margin-bottom: 8px;
}
.friends p {
  max-width: 44rem;
  margin-top: 10px;
  color: var(--text-muted);
}
.friends .small {
  font-size: 0.9375rem;
}

/* ---------- Why six (dial) ---------- */
.dial {
  width: min(100%, 280px);
  height: auto;
  margin-inline: auto;
}

/* ---------- Venues teaser ---------- */
.teaser {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 1rem + 3vw, 48px);
  border-radius: var(--radius-sheet);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.teaser h2 + p {
  margin-top: 20px;
}
.teaser .btn {
  margin-top: 24px;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mosaic span {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 8px;
}
.faq details {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--divider);
}
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 16px 60px 16px 20px;
  border-radius: var(--radius-lg);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 27px;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--text);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq summary:focus-visible {
  outline-offset: 2px;
}
.faq details[open] summary::before {
  transform: rotate(45deg);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq details p {
  padding: 0 20px 20px;
  color: var(--text-muted);
}

/* ---------- Evening band (closing CTA) and footer: always dark ---------- */
.evening {
  background: #16131f;
}
.final-cta {
  position: relative;
  padding-top: var(--section-y);
  border-top: 1px solid var(--divider);
}
.horizon {
  position: absolute;
  top: 0;
  left: 50%;
  width: 96px;
  height: 48px;
  margin: -48px 0 0 -48px;
}
.final-cta .section-head {
  margin-bottom: 0;
}
.final-cta .body {
  margin-inline: auto;
}
.final-cta .cta-row {
  margin-top: 32px;
}
.final-cta .cta-note,
.final-cta .chips {
  margin-top: 16px;
}
.skyline {
  width: 100%;
  margin-top: clamp(2rem, 1rem + 4vw, 4rem);
}
.site-footer {
  padding-block: 40px 32px;
  border-top: 1px solid var(--divider);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  gap: 24px;
}
.footer-brand p {
  margin-top: 8px;
  color: var(--text-muted);
}
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}
.footer-brand a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  list-style: none;
}
.footer-small {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* ---------- Inner pages ---------- */
.page-hero {
  overflow-x: clip;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--section-y);
}
.page-hero .lead {
  max-width: 36rem;
  margin-top: 24px;
}
.page-hero .cta-row {
  margin-top: 32px;
}
.page-hero .cta-note {
  margin-top: 16px;
}
.notice {
  max-width: 38rem;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--notice);
  color: var(--on-notice);
  font-size: 0.9375rem;
}
.never {
  display: grid;
  gap: 12px;
  max-width: 40rem;
  list-style: none;
}
.never li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--divider);
}
.never svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent-text);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.after-list {
  margin-top: 24px;
}
.boilerplate {
  max-width: 46rem;
  margin: 0;
  padding: clamp(24px, 1rem + 2vw, 40px);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  font-size: 1.125rem;
}
.short-version {
  max-width: 46rem;
  margin-top: 20px;
  color: var(--text-muted);
}
.fact-list {
  display: grid;
  gap: 1px;
  max-width: 46rem;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--divider);
  box-shadow: inset 0 0 0 1px var(--divider);
}
.fact-list div {
  display: grid;
  gap: 2px;
  padding: 14px 20px;
  background: var(--surface);
}
.fact-list dt {
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.fact-list dd {
  margin: 0;
  font-weight: 600;
}
.fact-note {
  max-width: 46rem;
  margin-top: 16px;
}
.logo-grid {
  display: grid;
  gap: var(--gap);
  list-style: none;
}
.logo-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.logo-card .btn {
  margin-top: auto;
}
.logo-preview {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: #16131f;
}
.logo-preview.on-light {
  background: #f7f2ec;
  box-shadow: inset 0 0 0 1px #e4d9cb;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  list-style: none;
}
.swatch {
  display: grid;
  gap: 4px;
}
.swatch-chip {
  aspect-ratio: 4 / 3;
  margin-bottom: 8px;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--border);
}
.swatch span:last-child {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.swatch-evening {
  background: #16131f;
}
.swatch-spritz {
  background: #ff6b3d;
}
.swatch-golden {
  background: #f5b942;
}
.swatch-linen {
  background: #f7f2ec;
}
.type-specimens {
  display: grid;
  gap: var(--gap);
  margin-top: 32px;
}
.type-sample {
  font-size: 4rem;
  line-height: 1;
}
.type-display {
  font-family: var(--font-display);
  font-weight: 800;
}
.type-body {
  font-family: var(--font-body);
  font-weight: 600;
}

/* ---------- 404 ---------- */
.not-found {
  display: grid;
  gap: 40px;
  align-items: center;
}
.not-found h1 {
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
}
.not-found p {
  margin-top: 20px;
}
.not-found .cta-row {
  margin-top: 32px;
}
.not-found-art {
  width: min(100%, 360px);
}

/* ---------- Legal pages (published; generated by scripts/build-legal.mjs) ---------- */
.legal {
  max-width: calc(46rem + 2 * var(--gutter));
  margin-inline: auto;
  padding: 48px var(--gutter) 80px;
}
.legal h1 {
  margin: 24px 0 16px;
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
}
.legal h2 {
  margin: 40px 0 12px;
  font-size: 1.5rem;
}
.legal p,
.legal li {
  color: var(--text-muted);
}
.legal p + p,
.legal ul,
.legal ol {
  margin-top: 12px;
}
.legal ul,
.legal ol {
  padding-left: 1.25rem;
}
.legal li + li {
  margin-top: 6px;
}
.legal strong {
  color: var(--text);
}
/* Help pages (/support/, /delete-account/): the legal column, plus FAQ questions and one alert box. */
.help p,
.help li {
  overflow-wrap: anywhere; /* long URLs and email addresses wrap at 320px */
}
.help h3 {
  margin: 28px 0 8px;
  font-size: 1.125rem;
}
.help-alert {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 4px solid var(--accent-text);
  border-radius: 8px;
  background: var(--surface-raised);
}
.legal .help-alert p {
  color: var(--text);
}
.legal-nav {
  margin-top: 16px;
}
.legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
}
.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- Breakpoints (mobile first: 40rem md, 48rem steps, 60rem lg, 80rem xl) ---------- */
@media (max-width: 29.99rem) {
  .cta-row .btn {
    flex: 1 1 100%;
  }
}
@media (min-width: 40rem) {
  :root {
    --gutter: 32px;
    --gap: 24px;
  }
  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-2,
  .grid-4,
  .art-pair,
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .six-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .swatches {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .type-specimens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .phone-row .phone + .phone {
    display: block;
  }
  .friends {
    grid-template-columns: 140px 1fr;
    gap: 32px;
    padding: 32px;
  }
  .friends img {
    width: 140px;
  }
  .fact-list div {
    grid-template-columns: 12rem 1fr;
    gap: 16px;
  }
  .footer-nav ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 48rem) {
  .steps,
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 60rem) {
  .site-header {
    position: sticky;
    top: 0;
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
  }
  .header-inner {
    flex-wrap: nowrap;
    min-height: 64px;
    padding-block: 0;
  }
  .logo {
    height: 30px;
  }
  .site-nav {
    order: 0;
    flex-basis: auto;
    margin-left: auto;
  }
  .site-nav ul {
    margin: 0;
  }
  .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    min-height: min(88svh, 52rem);
  }
  .hero-copy {
    grid-column: 1 / span 6;
  }
  .hero-art {
    grid-column: 8 / span 5;
  }
  .hero-window {
    border-radius: 50% 50% 28px 28px / 32% 32% 28px 28px;
  }
  .hero-phone {
    position: absolute;
    left: -126px;
    bottom: -56px;
    display: block;
    width: 184px;
    padding: 9px;
    border-radius: 34px;
    transform: rotate(-4deg);
  }
  .hero-phone .screen {
    gap: 8px;
    padding: 30px 10px 10px;
    border-radius: 26px;
    font-size: 0.625rem;
  }
  .hero-phone .notch {
    top: 8px;
    width: 64px;
    height: 18px;
    margin-left: -32px;
  }
  .hero-phone .scr-title {
    font-size: 1.125rem;
  }
  .hero-phone .pick-grid {
    gap: 6px;
  }
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-5-7,
  .pair-5-7 {
    grid-template-columns: 5fr 7fr;
  }
  .split-7-5 {
    grid-template-columns: 7fr 5fr;
  }
  .card,
  .step {
    padding: 32px;
  }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 51px;
    left: 92px;
    right: -24px;
    border-top: 2px dashed var(--divider);
  }
  .callout {
    grid-template-columns: 1fr auto;
    gap: 48px;
  }
  .price {
    justify-items: center;
    padding-right: 24px;
  }
  .teaser {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }
  .not-found {
    grid-template-columns: 7fr 5fr;
  }
  .footer-grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 80rem) {
  :root {
    --gutter: 40px;
    --gap: 32px;
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Motion: opt-in only; base CSS is static. Transform only, nothing loops. ---------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .btn,
  .link-arrow svg,
  .faq summary::before,
  .faq summary::after {
    transition:
      transform var(--dur-base) var(--ease-out),
      background-color var(--dur-fast) var(--ease-out),
      color var(--dur-fast) var(--ease-out),
      box-shadow var(--dur-base) var(--ease-out);
  }
  .faq summary::before,
  .faq summary::after {
    transition-duration: var(--dur-slow);
  }
  .btn:hover {
    transform: translateY(-2px);
  }
  .btn:active {
    transform: scale(0.98);
  }
  .link-arrow:hover svg {
    transform: translateX(3px);
  }
  .hero-window {
    animation: rise-12 var(--dur-scene) var(--ease-dusk) both;
  }
  .hero-phone {
    animation: rise-phone var(--dur-scene) var(--ease-dusk) 120ms both;
  }
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise-32 linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
  @supports (interpolate-size: allow-keywords) {
    .faq {
      interpolate-size: allow-keywords;
    }
    .faq details::details-content {
      height: 0;
      overflow: clip;
      transition:
        height var(--dur-slow) var(--ease-out),
        content-visibility var(--dur-slow) allow-discrete;
    }
    .faq details[open]::details-content {
      height: auto;
    }
  }
}
@keyframes rise-12 {
  from {
    transform: translateY(12px);
  }
}
@keyframes rise-32 {
  from {
    transform: translateY(32px);
  }
}
@keyframes rise-phone {
  from {
    transform: translateY(24px) rotate(-4deg);
  }
  to {
    transform: rotate(-4deg);
  }
}

/* ---------- Forced colors ---------- */
@media (forced-colors: active) {
  .btn {
    border: 2px solid ButtonText;
  }
  .stamp,
  .badge-gold,
  .chip,
  .eyebrow,
  .card,
  .step,
  .faq details,
  .six-cell,
  .callout {
    border: 1px solid CanvasText;
  }
  .site-nav a[aria-current='page']::after {
    background: Highlight;
  }
}
