/* ==========================================================================
   ChaiPoint — Buy Me a Coffee for Kenya
   High-contrast paper: cream canvas, ink type, chai-brown CTA.
   Font: Inter
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colors */
  --color-canvas-cream: #f6f1ea;
  --color-surface-ivory: #ffffff;
  --color-pure-white: #ffffff;
  --color-lavender-mist: #f8eee6;
  --color-powder-blue: #ead9c8;
  --color-ink-charcoal: #0a0a0a;
  --color-deep-ink: #0a0a0a;
  --color-mid-graphite: #1a1a1a;
  --color-slate-gray: #5c5c5c;
  --color-steel-gray: #8a8a8a;
  --color-hairline: #e8e1d6;
  --color-faint-gray: #d4d2ce;
  --color-electric-cobalt: #c45c26;
  --color-deep-cobalt: #9a451c;
  --color-cerulean: #c45c26;
  --color-vivid-violet: #8b5e3c;
  --color-forest: #0b7a45;
  --color-chai: #c45c26;
  --color-chai-deep: #9a451c;
  --color-chai-soft: rgba(196, 92, 38, 0.1);
  --color-amber: #e8a54b;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: "Victor Mono", ui-monospace, "Cascadia Code", monospace;
  --section-border: 1px solid rgba(196, 92, 38, 0.22);

  /* Spacing */
  --spacing-8: 8px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --spacing-80: 80px;
  --spacing-88: 88px;

  /* Layout */
  --page-max-width: 1200px;
  --section-gap: 80px;
  --card-padding: 24px;
  --element-gap: 8px;
  --card-max: 1080px;
  --card-radius: 40px;
  --card-gap: 32px;
  --nav-height: 72px;

  /* Radii */
  --radius-lg: 12px;
  --radius-2xl: 20px;
  --radius-3xl: 28px;
  --radius-full: 999px;
  --radius-full-2: 999px;
  --radius-full-3: 999px;

  /* Shadows — BMC-quiet: cards float, chrome stays flat */
  --shadow-subtle: 0 1px 2px rgba(10, 10, 10, 0.04), 0 0 0 1px rgba(10, 10, 10, 0.04);
  --shadow-lg: 0 18px 50px -18px rgba(10, 10, 10, 0.18);
  --shadow-cta: 0 10px 28px -10px rgba(196, 92, 38, 0.45);
  --shadow-float: 0 18px 50px -18px rgba(10, 10, 10, 0.18), 0 0 0 1px rgba(10, 10, 10, 0.04);
}

@font-face {
  font-family: "Victor Mono";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/victor-mono@5.2.5/latin-700-italic.woff2") format("woff2");
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.56;
  font-weight: 400;
  color: var(--color-ink-charcoal);
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(232, 165, 75, 0.22), transparent 58%),
    radial-gradient(900px 480px at 92% 8%, rgba(196, 92, 38, 0.12), transparent 55%),
    var(--color-canvas-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

main {
  position: relative;
  z-index: 1;
}

/* Aurora wash — Aceternity-style drifting blobs, paper not dark SaaS */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.7;
  will-change: transform;
}

.ab-1 {
  width: min(720px, 58vw);
  height: min(720px, 58vw);
  top: -22%;
  left: -12%;
  background: radial-gradient(circle, rgba(232, 165, 75, 0.5) 0%, transparent 70%);
  animation: blob-drift 22s ease-in-out infinite;
}

.ab-2 {
  width: min(640px, 50vw);
  height: min(640px, 50vw);
  top: 4%;
  right: -16%;
  background: radial-gradient(circle, rgba(196, 92, 38, 0.28) 0%, transparent 70%);
  animation: blob-drift 28s ease-in-out infinite reverse;
}

.ab-3 {
  width: min(520px, 46vw);
  height: min(520px, 46vw);
  bottom: 8%;
  left: 28%;
  background: radial-gradient(circle, rgba(196, 92, 38, 0.22) 0%, transparent 70%);
  animation: blob-drift 26s ease-in-out infinite;
}

@keyframes blob-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  40% { transform: translate3d(4%, 6%, 0) scale(1.08); }
  70% { transform: translate3d(-5%, 3%, 0) scale(0.96); }
}

/* Kill the tap delay / double-tap zoom on interactive elements. */
a,
button {
  touch-action: manipulation;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

section[id],
footer[id] {
  scroll-margin-top: 88px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-inline: 24px;
}


/* ---------- Buttons — 48px pill radius ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible,
.nav-links a:focus-visible,
.nav-login:focus-visible,
.nav-search input:focus-visible,
.tab:focus-visible,
.chai-qty:focus-visible {
  outline: 2px solid var(--color-electric-cobalt);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.55;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-electric-cobalt);
  color: var(--color-pure-white);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.32) 50%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--color-deep-cobalt);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover::after {
  animation: shine-sweep 0.75s ease;
}

@keyframes shine-sweep {
  to { transform: translateX(130%); }
}

.btn-ghost {
  background: var(--color-pure-white);
  color: var(--color-ink-charcoal);
  border: 1px solid var(--color-hairline);
}

.btn-ghost:hover {
  border-color: var(--color-faint-gray);
  box-shadow: var(--shadow-subtle);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14.5px;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.28s ease, border-color 0.28s ease, backdrop-filter 0.28s ease;
}

.site-nav.scrolled {
  background: rgba(246, 241, 234, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(196, 92, 38, 0.18);
}

.site-nav.nav-away {
  transform: translateY(-100%);
  pointer-events: none;
}

.site-nav:has(.mobile-menu.open) {
  z-index: 90;
  background: var(--color-canvas-cream);
  transform: none;
  pointer-events: auto;
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 72px;
}

.site-nav > .container.nav-inner {
  max-width: none;
  width: 100%;
  padding-inline: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  margin-right: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: none;
  border: none;
  color: var(--color-chai);
  box-shadow: none;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--color-ink-charcoal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-32);
  justify-self: start;
}

.nav-links > a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-ink-charcoal);
  padding: 8px 4px;
  border-radius: var(--radius-full);
  transition: color 0.2s ease;
}

.nav-links > a:hover,
.nav-links > a.is-current {
  color: var(--color-chai);
}

.nav-heart {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 2px;
  vertical-align: -1px;
  color: var(--color-chai);
}

.nav-heart svg {
  width: 14px;
  height: 14px;
}

.nav-resources {
  position: relative;
}

.nav-resources-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-ink-charcoal);
  transition: background-color 0.15s ease;
}

.nav-resources-btn:hover,
.nav-resources.is-open .nav-resources-btn {
  background: #f3f1ee;
}

.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-resources.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-resources-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--color-pure-white);
  border-radius: 16px;
  box-shadow: 0 16px 48px -16px rgba(32, 20, 12, 0.28), 0 0 0 1px rgba(10, 10, 10, 0.04);
  z-index: 60;
}

.nav-resources.is-open .nav-resources-menu {
  display: block;
}

.nav-res-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-ink-charcoal);
}

.nav-res-item:hover {
  background: var(--color-canvas-cream);
}

.nav-res-icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--color-ink-charcoal);
}

.nav-res-icon svg {
  width: 18px;
  height: 18px;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  justify-self: end;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-16);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 14px;
  border-radius: var(--radius-full);
  background: var(--color-canvas-cream);
  border: 1px solid var(--color-hairline);
  min-width: 210px;
  cursor: pointer;
}

.search-open-btn {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-hairline);
  background: var(--color-pure-white);
  color: var(--color-ink-charcoal);
}

.search-open-btn svg {
  width: 18px;
  height: 18px;
}

.nav-search-icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--color-steel-gray);
}

.nav-search input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink-charcoal);
  outline: none;
  cursor: pointer;
}

.nav-search input::placeholder {
  color: var(--color-steel-gray);
}

.nav-login {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-ink-charcoal);
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.nav-login:hover {
  color: var(--color-electric-cobalt);
}

[hidden] {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-hairline);
  background: var(--color-pure-white);
  align-items: center;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink-charcoal);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
  display: none;
}

.mobile-menu {
  display: none;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mobile-menu-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-hairline);
  border-radius: 50%;
  background: #fff;
  color: var(--color-slate-gray);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-menu nav a {
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--color-hairline);
}

.mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.mobile-actions .btn {
  flex: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: visible;
  background: transparent;
  margin: 0;
  border: none;
  border-radius: 0;
  min-height: calc(100vh - var(--nav-height) + 64px);
  min-height: calc(100svh - var(--nav-height) + 64px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    620px circle at var(--spot-x, 50%) var(--spot-y, 28%),
    rgba(196, 92, 38, 0.16),
    transparent 42%
  );
  transition: background 0.15s ease;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  display: grid;
  place-items: center;
  padding: 24px 24px 48px;
  min-height: calc(100vh - var(--nav-height) + 64px);
  min-height: calc(100svh - var(--nav-height) + 64px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-ink-charcoal);
}

.star-proof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 18px;
}

.star-row {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.star-icon {
  width: 16px;
  height: 16px;
  fill: var(--color-forest);
}

.star-copy {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-ink-charcoal);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-forest);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11, 122, 69, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(11, 122, 69, 0); }
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(46px, 8vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--color-ink-charcoal);
}

.hero-word {
  display: inline-block;
}

.hero-word-accent {
  background: linear-gradient(118deg, var(--color-chai) 0%, var(--color-amber) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--color-slate-gray);
}

.hero-ctas {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-steel-gray);
}

.float-card {
  position: absolute;
  z-index: 1;
  width: 228px;
  padding: 14px 16px 12px;
  background: var(--color-pure-white);
  border-radius: 18px;
  box-shadow: var(--shadow-float);
  pointer-events: auto;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  will-change: transform, opacity;
  transform: rotate(var(--rot, 0deg)) translate3d(calc(var(--drift, 0) * var(--ox, 0px)), calc(var(--drift, 0) * var(--oy, 0px)), 0);
  opacity: calc(1 - var(--float-out, 0));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, opacity 0.4s ease;
}

.float-card:hover,
.float-card:focus-visible {
  z-index: 4;
  box-shadow: 0 22px 56px -16px rgba(10, 10, 10, 0.24), 0 0 0 1px rgba(10, 10, 10, 0.05);
  transform: rotate(var(--rot, 0deg)) translate3d(calc(var(--drift, 0) * var(--ox, 0px)), calc(var(--drift, 0) * var(--oy, 0px) - 6px), 0);
}

.float-card:focus-visible {
  outline: 2px solid var(--color-electric-cobalt);
  outline-offset: 3px;
}

.hero.floats-gone .float-card,
html.floats-gone .buzz-card {
  pointer-events: none;
}

.float-ava {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
  overflow: hidden;
}

.float-ava.has-photo {
  color: transparent;
  font-size: 0;
}

.float-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.float-copy {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-ink-charcoal);
}

.float-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-slate-gray);
}

.float-heart {
  color: var(--color-chai);
}

.fc-1 { top: 6%; left: max(12px, calc(50% - 620px)); --rot: -8deg; --ox: -220px; --oy: -48px; }
.fc-2 { top: 38%; left: max(4px, calc(50% - 680px)); --rot: 6deg; --ox: -280px; --oy: 24px; }
.fc-3 { bottom: 12%; left: max(28px, calc(50% - 560px)); --rot: -5deg; --ox: -200px; --oy: 80px; }
.fc-4 { top: 8%; right: max(12px, calc(50% - 620px)); --rot: 7deg; --ox: 220px; --oy: -36px; }
.fc-5 { top: 40%; right: max(4px, calc(50% - 680px)); --rot: -6deg; --ox: 280px; --oy: 18px; }
.fc-6 { bottom: 14%; right: max(24px, calc(50% - 560px)); --rot: 5deg; --ox: 200px; --oy: 72px; }

.float-emoji {
  position: absolute;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-pure-white);
  box-shadow: var(--shadow-subtle);
  font-size: 20px;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(calc(var(--drift, 0) * var(--ox, 0px)), calc(var(--drift, 0) * var(--oy, 0px)), 0);
  opacity: calc(1 - var(--float-out, 0));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.fe-1 { top: 26%; left: max(40px, calc(50% - 480px)); --ox: -140px; --oy: -80px; }
.fe-2 { top: 30%; right: max(48px, calc(50% - 500px)); --ox: 150px; --oy: -70px; }
.fe-3 { bottom: 24%; left: max(80px, calc(50% - 420px)); --ox: -120px; --oy: 90px; }

/* ---------- BMC page sections ---------- */
.page-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-chai);
  margin-bottom: 18px;
}

.page-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--color-ink-charcoal);
}

.page-title-mute {
  color: #b08a72;
  font-weight: 700;
}

.page-lead {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-slate-gray);
}

.page-intro {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.chai-widget {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(420px, 100%);
  margin: 0;
  background: var(--color-pure-white);
  border-radius: 24px;
  border: var(--section-border);
  box-shadow: var(--shadow-float);
  padding: 28px 24px 24px;
  z-index: 2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.chai-widget:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px -20px rgba(10, 10, 10, 0.22), 0 0 0 1px rgba(10, 10, 10, 0.04);
}

.glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  mix-blend-mode: overlay;
  background: radial-gradient(
    380px circle at var(--gx, 50%) var(--gy, 0%),
    rgba(255, 255, 255, 0.72),
    transparent 42%
  );
  transition: opacity 0.3s ease;
}

.chai-widget:hover .glare {
  opacity: 1;
}

.chai-widget-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 22px;
}

.chai-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--color-hairline);
  border-radius: 16px;
}

.chai-cup {
  position: relative;
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--color-chai);
}

.steam {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 22px;
  height: 16px;
  transform: translateX(-50%);
  pointer-events: none;
}

.steam-wisp {
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(196, 92, 38, 0.45), transparent);
  animation: steam-rise 2.6s ease-in-out infinite;
}

.steam-wisp:nth-child(1) { left: 4px; }
.steam-wisp:nth-child(2) { left: 10px; height: 14px; animation-delay: 0.45s; }
.steam-wisp:nth-child(3) { left: 16px; animation-delay: 0.9s; }

@keyframes steam-rise {
  0% { opacity: 0; transform: translateY(4px) scaleX(1); }
  30% { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(-14px) scaleX(0.6); }
}

.chai-cup svg {
  width: 26px;
  height: 26px;
}

.chai-times {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-steel-gray);
}

.chai-qtys {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.chai-qty {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-hairline);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink-charcoal);
  background: var(--color-pure-white);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chai-qty.is-on {
  background: var(--color-electric-cobalt);
  border-color: var(--color-electric-cobalt);
  color: var(--color-pure-white);
}

.chai-custom {
  width: 48px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-hairline);
  text-align: center;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink-charcoal);
  background: var(--color-canvas-cream);
  outline: none;
}

.chai-custom:focus {
  border-color: var(--color-electric-cobalt);
}

.chai-note {
  margin-top: 14px;
  width: 100%;
  min-height: 88px;
  resize: none;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-ink-charcoal);
  background: var(--color-canvas-cream);
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
}

.chai-note::placeholder {
  color: var(--color-steel-gray);
}

.chai-support {
  margin-top: 16px;
}

.page-band {
  padding: 0 24px var(--card-gap);
  overflow: visible;
}

.page-frame {
  max-width: var(--card-max);
  margin-inline: auto;
  background: var(--color-pure-white);
  border-radius: var(--card-radius);
  border: var(--section-border);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  text-align: center;
}

.page-frame .page-lead {
  margin-bottom: 48px;
}

.page-open {
  max-width: var(--card-max);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px);
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0;
}

.support-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  margin-top: 8px;
}

.buzz-card {
  position: absolute;
  z-index: 3;
  width: 220px;
  padding: 12px 14px;
  background: var(--color-pure-white);
  border-radius: 18px;
  box-shadow: var(--shadow-float);
  text-align: left;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transform: rotate(var(--rot, 0deg));
  opacity: calc(1 - var(--float-out, 0));
  pointer-events: auto;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, opacity 0.4s ease;
}

.buzz-card:hover,
.buzz-card:focus-visible {
  z-index: 4;
  box-shadow: 0 22px 56px -16px rgba(10, 10, 10, 0.24), 0 0 0 1px rgba(10, 10, 10, 0.05);
  transform: rotate(var(--rot, 0deg)) translateY(-4px);
}

.buzz-card:focus-visible {
  outline: 2px solid var(--color-electric-cobalt);
  outline-offset: 3px;
}

.buzz-pill {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding: 10px 14px 10px 10px;
}

.buzz-cup {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-chai-soft);
  color: var(--color-chai);
}

.buzz-cup svg {
  width: 16px;
  height: 16px;
}

.buzz-card .float-ava {
  margin-bottom: 8px;
}

.buzz-who {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-ink-charcoal);
}

.buzz-thanks {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-slate-gray);
}

.buzz-msg {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--color-slate-gray);
}

.buzz-long {
  width: 248px;
}

.bc-1 { top: 38%; left: 2%; --rot: -7deg; }
.bc-2 { bottom: 10%; left: 4%; --rot: 5deg; }
.bc-3 { top: 8%; right: 3%; --rot: 6deg; }
.bc-4 { bottom: 6%; right: 1%; --rot: -4deg; }

.buzz-emoji {
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-pure-white);
  box-shadow: var(--shadow-subtle);
  font-size: 20px;
  pointer-events: none;
  opacity: calc(1 - var(--float-out, 0));
  transition: opacity 0.4s ease;
}

.be-1 { top: 22%; left: 18%; }
.be-2 { top: 28%; right: 16%; }
.be-3 { bottom: 28%; left: 22%; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.how-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-electric-cobalt);
  margin-bottom: 10px;
}

.how-item {
  padding: 4px;
  border-radius: 16px;
  transition: transform 0.28s ease;
}

.how-item:hover {
  transform: translateY(-4px);
}

.how-item h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.how-item p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-slate-gray);
}

#why .page-title {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.belief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  max-width: 920px;
  margin-inline: auto;
}

.belief {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.belief-icon {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--color-ink-charcoal);
  margin-top: 2px;
}

.belief-icon svg {
  width: 28px;
  height: 28px;
}

.belief p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-slate-gray);
}

.belief b {
  color: var(--color-ink-charcoal);
  font-weight: 700;
}

.keep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  text-align: left;
}

.keep-item {
  min-width: 0;
  padding: 12px 8px;
  margin: -12px -8px;
  border-radius: 16px;
  transition: transform 0.28s ease, background-color 0.28s ease;
}

.keep-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.55);
}

.keep-icon {
  width: 28px;
  height: 28px;
  color: var(--color-ink-charcoal);
  margin-bottom: 14px;
}

.keep-icon svg {
  width: 26px;
  height: 26px;
}

.keep-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.keep-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-slate-gray);
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-steel-gray);
}

.footer-simple-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-simple-links a:hover {
  color: var(--color-ink-charcoal);
}


.progress {
  flex: 1;
  height: 6px;
  border-radius: var(--radius-full-3);
  background: var(--color-powder-blue);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color-electric-cobalt);
}

/* ---------- FAQ ---------- */
.faq {
  padding-block: var(--spacing-64) var(--spacing-88);
  background: var(--color-canvas-cream);
}

.faq-wrap {
  max-width: 800px;
  margin-inline: auto;
  padding: 40px 28px;
  border: var(--section-border);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.4);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}

.faq-item {
  background: var(--color-pure-white);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--color-faint-gray);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--color-electric-cobalt);
}

.faq-icon {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-lavender-mist);
  color: var(--color-vivid-violet);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-slate-gray);
}

.legal-doc {
  padding-bottom: 48px;
}

.legal-body {
  margin-top: 28px;
}

.legal-body h2 {
  margin: 28px 0 10px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.legal-body p,
.legal-body li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-slate-gray);
}

.legal-body ul {
  margin: 0 0 8px;
  padding-left: 20px;
}

.legal-body li + li {
  margin-top: 8px;
}

.faq-hero {
  text-align: center;
  margin-bottom: var(--spacing-48);
}

/* ---------- Wall of Love ---------- */
.wall-page {
  padding: 48px 24px 96px;
}

.wall-hero {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.wall-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(52px, 9vw, 88px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wall-heart {
  width: 0.72em;
  height: 0.72em;
  color: var(--color-chai);
}

.wall-heart svg {
  width: 100%;
  height: 100%;
}

.wall-lede {
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-slate-gray);
}

.wall-tag {
  color: var(--color-chai);
  font-weight: 600;
  text-decoration: none;
}

.wall-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-charcoal);
}

.wall-stars-row {
  display: flex;
  gap: 2px;
  color: var(--color-chai);
}

.wall-stars-row svg {
  width: 16px;
  height: 16px;
}

.wall-stars-copy {
  font: inherit;
  color: inherit;
}

.wall-feed {
  max-width: 1080px;
  margin-inline: auto;
}

.wall-feed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.wall-feed-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wall-feed-brand svg {
  width: 18px;
  height: 18px;
}

.wall-arrows {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.wall-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-hairline);
  background: var(--color-pure-white);
  color: var(--color-ink-charcoal);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.wall-arrow:hover {
  color: var(--color-chai);
  border-color: var(--color-chai);
}

.wall-arrow svg {
  width: 16px;
  height: 16px;
}

.wall-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.wall-track::-webkit-scrollbar {
  display: none;
}

.wall-card {
  flex: 0 0 min(340px, 84vw);
  scroll-snap-align: start;
  background: var(--color-pure-white);
  border: var(--section-border);
  border-radius: 20px;
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-subtle);
  min-height: 220px;
}

.wall-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.wall-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.wall-who {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.wall-name {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wall-handle {
  font-size: 13px;
  color: var(--color-steel-gray);
}

.wall-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-ink-charcoal);
}

/* ---------- Footer ---------- */
.site-footer {
  background: transparent;
  border-top: none;
  padding-block: 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}


.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-hairline);
  color: var(--color-slate-gray);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--color-electric-cobalt);
  border-color: var(--color-powder-blue);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* ---------- Creator search modal ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  padding: 12vh 16px 32px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.search-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(32, 20, 12, 0.52);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.search-shell {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
}

.search-overlay.is-open .search-shell {
  animation: searchShellIn 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes searchShellIn {
  from { opacity: 0; transform: translateY(-18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.search-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 251, 246, 0.94);
  color: var(--color-chai-deep);
  box-shadow: 0 8px 24px -10px rgba(32, 20, 12, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.search-close:hover {
  transform: rotate(90deg);
  background: #fff;
}

.search-close svg {
  width: 16px;
  height: 16px;
}

.search-modal {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(42, 33, 28, 0.06);
  box-shadow: 0 28px 80px -24px rgba(32, 20, 12, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 640px);
}

.search-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 14px 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f3eee7;
}

.search-modal-icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--color-chai);
}

.search-modal-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-ink-charcoal);
  outline: none;
}

.search-modal-input::placeholder {
  color: #b5a79a;
  font-weight: 500;
}

.search-modal-body {
  overflow-y: auto;
  padding: 8px 12px 16px;
  scrollbar-width: thin;
  scrollbar-color: #e0d4c8 transparent;
}

.search-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 4px;
}

.search-heading-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7d72;
}

.search-fire {
  display: none;
}

.search-list {
  display: flex;
  flex-direction: column;
  padding: 4px 2px 8px;
}

.search-list li {
  position: relative;
  margin-bottom: -12px;
  z-index: 1;
}

.search-list li:last-child {
  margin-bottom: 0;
}

.search-list li:hover,
.search-list li:has(.is-active) {
  z-index: 4;
}

.search-hit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(42, 33, 28, 0.06);
  box-shadow: 0 10px 28px rgba(42, 33, 28, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.15s ease;
}

.search-hit:hover,
.search-hit.is-active {
  background: #fffaf6;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(42, 33, 28, 0.12);
}

.search-avatar {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  overflow: hidden;
}

.search-avatar.has-photo {
  background: #efe8e0;
}

.search-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tone-chai { background-color: var(--color-chai); color: #fffaf6; }
.tone-amber { background-color: var(--color-amber); color: #3a2415; }
.tone-mocha { background-color: #8b5e3c; color: #fffaf6; }
.tone-ink { background-color: #2a211c; color: #f6f1ea; }
.tone-clay { background-color: #d4a574; color: #3a2415; }
.tone-sand { background-color: #ead9c8; color: #5c3d2e; }

.search-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-ink-charcoal);
}

.search-bio {
  font-size: 13px;
  color: var(--color-slate-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-slate-gray);
}

.search-overlay.is-open .search-hit {
  animation: searchHitIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.search-overlay.is-open .search-list li:nth-child(1) .search-hit { animation-delay: 0.04s; }
.search-overlay.is-open .search-list li:nth-child(2) .search-hit { animation-delay: 0.08s; }
.search-overlay.is-open .search-list li:nth-child(3) .search-hit { animation-delay: 0.12s; }
.search-overlay.is-open .search-list li:nth-child(4) .search-hit { animation-delay: 0.16s; }
.search-overlay.is-open .search-list li:nth-child(5) .search-hit { animation-delay: 0.2s; }
.search-overlay.is-open .search-list li:nth-child(6) .search-hit { animation-delay: 0.24s; }
.search-overlay.is-open .search-list li:nth-child(7) .search-hit { animation-delay: 0.28s; }
.search-overlay.is-open .search-list li:nth-child(8) .search-hit { animation-delay: 0.32s; }

@keyframes searchHitIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

body.search-open {
  overflow: hidden;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-search {
    display: none;
  }

  .search-open-btn {
    display: grid;
  }

  .hero-stage {
    padding: 32px 24px 48px;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    gap: var(--spacing-24);
  }

  .hero-title {
    font-size: clamp(42px, 7vw, 72px);
  }

  .hero,
  .hero-stage {
    min-height: 0;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 28px 24px 40px;
  }

  .float-card,
  .float-emoji,
  .buzz-card,
  .buzz-emoji {
    display: none;
  }

  .support-stage {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    justify-self: start;
    grid-column: 1;
  }

  .nav-right {
    grid-column: 2;
    justify-self: end;
    margin-left: auto;
    gap: 8px;
  }

  .nav-actions .nav-login,
  .nav-actions .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    margin: 0;
    flex-shrink: 0;
  }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(42, 33, 28, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .nav-scrim.is-on {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-scrim[hidden] {
    display: none !important;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(340px, 88vw);
    margin: 0;
    padding: 18px 20px max(24px, env(safe-area-inset-bottom));
    padding-top: max(18px, env(safe-area-inset-top));
    background: #fff;
    border: 0;
    box-shadow: none;
    transform: translateX(105%);
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.38s ease;
  }

  .mobile-menu.open {
    transform: translateX(0);
    box-shadow: -18px 0 50px rgba(42, 33, 28, 0.18);
  }

  .search-open-btn {
    order: 2;
    flex-shrink: 0;
  }

  /* Two-up on tablets… */
  .how-grid,
  .keep-grid {
    grid-template-columns: 1fr 1fr;
  }

  .belief-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 20px;
  }

  .page-band {
    padding-inline: 16px;
  }

  .site-nav > .container.nav-inner {
    padding-inline: 20px;
  }

  .search-overlay {
    padding: 18vh 12px 16px;
  }

  .search-close {
    top: -44px;
  }

  .search-modal {
    border-radius: 22px;
    max-height: 72vh;
  }

  .hero-title {
    font-size: clamp(40px, 11vw, 52px);
    letter-spacing: -0.048em;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-ctas .btn {
    width: min(100%, 360px);
  }

  .hero-note {
    font-size: 13px;
  }

  .how-grid,
  .keep-grid,
  .belief-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-24);
  }

  .footer-simple {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-frame {
    border-radius: 28px;
    padding: 36px 20px;
  }

  .chai-widget {
    padding: 24px 18px 18px;
  }

  .btn {
    padding: 13px 22px;
    font-size: 15px;
  }

  .btn-lg {
    padding: 16px 32px;
    font-size: 16px;
  }

  .modal-card {
    padding: 32px 20px;
  }

  .stk-ring,
  .check-ring {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 18px;
  }

  .nav-inner {
    height: 64px;
  }
}

/* ---------- Touch devices: don't let hover transforms stick ---------- */
@media (hover: none) {
  .fuel-card:hover,
  .tier-card:hover,
  .footer-social a:hover,
  .profile-social a:hover,
  .chai-widget:hover,
  .keep-item:hover,
  .how-item:hover,
  .buzz-card:hover,
  .float-card:hover {
    transform: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .hero-word {
    opacity: 1;
    transform: none;
  }

  .aurora-blob {
    animation: none;
    opacity: 0.28;
  }

  .steam {
    display: none;
  }

  .btn-primary::after,
  .glare {
    display: none;
  }

  .float-card {
    transform: rotate(var(--rot, 0deg));
    transition: none;
  }

  .float-emoji {
    transform: none;
    transition: none;
  }
}
