:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --soft: #f5f5f5;
  --purple: #a78bfa;
  --purple-deep: #2a1848;
  --purple-mid: #5b3d8a;
  --stage: #0c0614;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", "Times New Roman", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1rem;
  gap: 1rem;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  z-index: 20;
  border-bottom: 1px solid transparent;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.logo span { font-weight: 500; color: var(--purple-deep); }
.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50%;
}
.logo-mark.lg { width: 64px; height: 64px; }
.logo-tip { animation: chimeTip 2.8s ease-in-out infinite; }
.nav nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 450;
}
.nav a:hover { color: var(--ink); }
.nav-cta {
  color: var(--ink) !important;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.1rem;
}

/* Holiday mode control and festive presentation */
.holiday-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
  color: var(--muted);
  background: var(--bg);
}
.holiday-toggle-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  font-size: 0.72rem;
  white-space: nowrap;
}
.holiday-toggle-copy strong {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.holiday-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.holiday-toggle-ui {
  width: 30px;
  height: 17px;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  background: var(--bg);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.holiday-toggle-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  background: var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}
.holiday-toggle input:checked + .holiday-toggle-ui {
  border-color: var(--purple-mid);
  background: var(--purple-deep);
}
.holiday-toggle input:checked + .holiday-toggle-ui::after {
  transform: translateX(13px);
  background: var(--purple);
}
.holiday-toggle input:focus-visible + .holiday-toggle-ui {
  outline: 2px solid var(--purple-mid);
  outline-offset: 2px;
}
body.holiday-mode .holiday-toggle {
  border-color: var(--purple-mid);
  color: var(--ink);
}
body.holiday-mode .holiday-toggle-copy strong { color: var(--purple-mid); }

.hero, .features, .markets, .cta, .deep {
  max-width: 1040px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); max-width: 16ch; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.25rem); max-width: 24ch; }
h1 em { font-style: italic; font-weight: 500; color: var(--purple-mid); }
.lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
  font-weight: 400;
}
.lede strong { color: var(--ink); font-weight: 600; }
.deep-copy > p:not(.lede):not(.eyebrow) {
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.975rem;
  margin: 0 0 1.25rem;
}
.deep-copy > p strong { color: var(--ink); font-weight: 600; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 0.85rem 1.4rem;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--ink);
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn.primary {
  background: var(--ink);
  color: var(--bg);
}
.btn.primary:hover { background: #333; border-color: #333; }
.btn.ghost:hover { background: var(--soft); }

.hero-stage {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--stage);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.holiday-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  filter: saturate(0.45) contrast(0.95);
  transition: opacity 0.25s ease, filter 0.25s ease;
}
body.holiday-mode .holiday-still {
  opacity: 0.96;
  filter: saturate(1.14) contrast(1.08);
}
.holiday-still-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.45rem 0.65rem;
  background: rgba(12, 6, 20, 0.82);
  color: #f8f5ff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body:not(.holiday-mode) .holiday-still-label { opacity: 0.68; }
body.holiday-mode .holiday-still-label {
  background: rgba(42, 24, 72, 0.9);
  box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.22);
}
.holiday-mode-help {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.holiday-mode-panel {
  max-width: 34rem;
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--purple-mid);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.84rem;
}
.holiday-mode-panel[hidden] { display: none; }
.holiday-mode-panel p { margin: 0 0 0.55rem; }
.holiday-mode-panel p:last-child { margin-bottom: 0; }
.holiday-mode-panel strong { color: var(--ink); }
.holiday-copy-accent { color: var(--purple-mid); }
body.holiday-mode .holiday-copy-accent { color: #8b3152; }
.holiday-playlist {
  margin: 0.65rem 0 0.7rem 1.2rem;
  padding: 0;
  columns: 2;
  column-gap: 1.8rem;
  color: var(--ink);
  font-size: 0.78rem;
}
.holiday-playlist li { break-inside: avoid; margin: 0.15rem 0; }
.stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(167, 139, 250, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 80%, rgba(42, 24, 72, 0.8), transparent);
  pointer-events: none;
}
.goonie-figure {
  position: relative;
  margin: 0;
  width: min(280px, 78%);
  z-index: 1;
  text-align: center;
}
.goonie-face {
  position: relative;
  width: 100%;
  display: block;
}
.goonie-avatar {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  display: block;
  object-fit: contain;
  /* Sphere is free-floating — no rounded-square app-icon frame */
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 14px 30px rgba(91, 61, 138, 0.35));
  animation: goonieIdleBob 3.2s ease-in-out infinite;
}
.goonie-avatar-idle {
  animation: goonieIdleBob 3.2s ease-in-out infinite;
}
/* Bounce target: only the sphere cluster (avatar + eyes + mouth + antenna) */
.goonie-bob {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: 50% 70%;
  will-change: transform;
  pointer-events: none;
}
.goonie-bob > .goonie-avatar,
.goonie-bob > .cabin-avatar,
.goonie-bob > img {
  pointer-events: auto;
}
/* Goonie mouth overlay — single rule block (idle via mouth-idle.js) */
.goonie-mouth {
  position: absolute;
  left: 50%;
  bottom: 22%;
  width: 38%;
  height: auto;
  transform: translateX(-50%);
  transform-origin: 50% 70%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
  will-change: transform;
}
.goonie-mouth .mouth-path {
  stroke: #120a1c;
  fill: none;
  transition: d 0.08s ease, stroke-width 0.08s ease, fill 0.08s ease, opacity 0.08s ease;
  filter: drop-shadow(0 0.4px 0.2px rgba(18, 10, 28, 0.25));
}
.goonie-mouth.mouth-rest .mouth-path {
  d: path("M28 18 Q60 28 92 18");
  stroke-width: 2.35;
  fill: none;
  opacity: 0.95;
}
.goonie-mouth.mouth-mid .mouth-path {
  d: path("M30 14 Q60 36 90 14 Q60 28 30 14 Z");
  stroke-width: 2;
  fill: #0a0612;
  opacity: 1;
}
.goonie-mouth.mouth-open .mouth-path {
  d: path("M28 10 Q60 48 92 10 Q60 28 28 10 Z");
  stroke-width: 1.5;
  fill: #0a0612;
  opacity: 1;
}
.goonie-mouth.mouth-rest {
  transition: transform 0.18s cubic-bezier(0.33, 0.9, 0.32, 1);
}
.goonie-mouth.mouth-mid,
.goonie-mouth.mouth-open,
.goonie-face.is-speaking .goonie-mouth,
.goonie-face.is-farting .goonie-mouth {
  transition: transform 0.08s ease;
}


/* PNG-anchored face morph — solid white eyes, indigo skin lids (not Grok glass) */
.goonie-eyes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}
.goonie-eyes .skin-cover { pointer-events: none; }
.goonie-eyes .sclera { filter: none; }
.goonie-eyes .socket-shade { pointer-events: none; }
.goonie-eyes .eyelid { transition: none; }
.goonie-eyes .pupil { filter: none; }
.goonie-eyes .glint { filter: none; }
.goonie-mouth.expr-locked {
  transition: transform 0.22s cubic-bezier(0.33, 0.9, 0.32, 1);
}
.goonie-mouth.expr-locked .mouth-path {
  transition: d 0.2s ease, stroke-width 0.15s ease, fill 0.15s ease;
}
.expr-label {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(18, 10, 36, 0.72);
  color: #e9e0ff;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
/* Live site: hide gimmicky expression badges (preview gallery keeps them) */
.hero-stage .expr-label,
.goonie-figure .expr-label,
.cabin-face .expr-label,
.cabin-screen .expr-label {
  display: none !important;
}
.face-expr-panel {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}
.face-expr-panel .expr-hint {
  margin: 0;
  font-size: 0.78rem;
  color: #c4b5fd;
}
.face-expr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.expr-chip {
  appearance: none;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(42, 24, 78, 0.55);
  color: #efe8ff;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.expr-chip:hover {
  border-color: rgba(196, 181, 253, 0.7);
  background: rgba(76, 45, 140, 0.7);
}
.expr-chip.is-active {
  background: linear-gradient(135deg, #7c5cbf, #a78bfa);
  border-color: transparent;
  color: #120a24;
  font-weight: 600;
}
.expr-chip.expr-cycle {
  border-style: dashed;
}

.goonie-face.has-face-idle {
  /* Face/cabin chrome stays planted — bounce lives on .goonie-bob only */
  transform: none !important;
}
.goonie-face.has-face-idle > .goonie-bob > .goonie-avatar,
.goonie-face.has-face-idle > .goonie-bob > .cabin-avatar,
.goonie-face.has-face-idle > .goonie-bob > .goonie-avatar-idle,
.goonie-face.has-face-idle > .goonie-avatar,
.goonie-face.has-face-idle > .cabin-avatar,
.goonie-face.has-face-idle > .goonie-avatar-idle {
  /* CSS bob off — JS spring hop on .goonie-bob */
  animation: none;
}
/* Cabin screens: keep bezel planted; allow sphere hop to read inside the panel */
.cabin-face.has-face-idle {
  overflow: hidden;
  background: transparent;
}
.cabin-face.has-face-idle > .goonie-bob {
  transform-origin: 50% 65%;
}
.cabin-face .cabin-avatar,
.cabin-face .goonie-avatar {
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

@keyframes goonieIdleBob {
  0%, 100% { transform: translateY(0) scale(1, 1) rotate(0deg); }
  25% { transform: translateY(-10px) scale(0.97, 1.04) rotate(-2deg); }
  50% { transform: translateY(-4px) scale(1.03, 0.96) rotate(2.5deg); }
  75% { transform: translateY(-12px) scale(0.98, 1.05) rotate(-1.5deg); }
}

.antenna-glow {
  transform-origin: 120px 22px;
  animation: chimeGlow 2.8s ease-in-out infinite;
}
.antenna-tip {
  animation: chimeTip 2.8s ease-in-out infinite;
}
@keyframes chimeGlow {
  0%, 70%, 100% { opacity: 0.2; }
  78% { opacity: 0.55; }
  86% { opacity: 0.35; }
}
@keyframes chimeTip {
  0%, 70%, 100% { fill: #4c1d95; }
  78%, 86% { fill: #a78bfa; }
}

.antenna-stem {
  transform-origin: 120px 58px;
  animation: wiggle 3.2s ease-in-out infinite;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(5deg); }
}
/* Midnight purple antenna glow — PNG overlay + SVG tip */
.goonie-antenna-glow {
  position: absolute;
  left: 50%;
  top: 2.8%;
  width: 14%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(circle,
    rgba(91, 61, 138, 0.75) 0%,
    rgba(42, 24, 72, 0.55) 38%,
    rgba(42, 24, 72, 0.15) 62%,
    transparent 72%);
  box-shadow:
    0 0 10px 3px rgba(42, 24, 72, 0.55),
    0 0 22px 6px rgba(91, 61, 138, 0.25);
  opacity: 0.7;
  mix-blend-mode: screen;
  transition: opacity 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.goonie-face.has-face-idle .goonie-antenna-glow {
  animation: antennaIdleGlow 2.8s ease-in-out infinite;
}
@keyframes antennaIdleGlow {
  0%, 70%, 100% { opacity: 0.55; filter: brightness(0.95); }
  78% { opacity: 0.85; filter: brightness(1.15); }
  86% { opacity: 0.65; filter: brightness(1.05); }
}
/* Visual echo of beep/chime while Brian/Jenny talk */
.goonie-face.is-speaking .goonie-antenna-glow,
.goonie-face.is-chiming .goonie-antenna-glow {
  animation: antennaSpeakPulse 0.55s ease-in-out infinite;
  opacity: 1;
  background: radial-gradient(circle,
    rgba(167, 139, 250, 0.95) 0%,
    rgba(91, 61, 138, 0.8) 32%,
    rgba(42, 24, 72, 0.35) 58%,
    transparent 72%);
  box-shadow:
    0 0 16px 5px rgba(91, 61, 138, 0.9),
    0 0 34px 12px rgba(42, 24, 72, 0.55),
    0 0 48px 16px rgba(167, 139, 250, 0.25);
  filter: brightness(1.25);
}
@keyframes antennaSpeakPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.9; }
  50% { transform: translateX(-50%) scale(1.18); opacity: 1; }
}
.antenna-glow {
  fill: #2a1848;
}
.antenna-tip {
  fill: #2a1848;
}
.goonie-face.is-speaking .antenna-glow,
.goonie-face.is-chiming .antenna-glow,
.is-speaking .antenna-glow,
.is-chiming .antenna-glow {
  animation: chimeGlowSpeak 0.55s ease-in-out infinite;
  fill: #5b3d8a;
}
.goonie-face.is-speaking .antenna-tip,
.goonie-face.is-chiming .antenna-tip,
.is-speaking .antenna-tip,
.is-chiming .antenna-tip {
  animation: chimeTipSpeak 0.55s ease-in-out infinite;
  fill: #a78bfa;
}
@keyframes chimeGlowSpeak {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.95; }
}
@keyframes chimeTipSpeak {
  0%, 100% { fill: #5b3d8a; }
  50% { fill: #c4b5fd; }
}
.mini-antenna {
  background: #2a1848;
  box-shadow: 0 0 8px #5b3d8a;
}


.eye { animation: blink 5.5s ease-in-out infinite; transform-origin: center; }
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(0.12); }
  96% { transform: scaleY(1); }
}

.chime-caption {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5fd;
}
.chime-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
  animation: chimeDot 2.8s ease-in-out infinite;
}
@keyframes chimeDot {
  0%, 70%, 100% { opacity: 0.35; transform: scale(1); }
  78% { opacity: 1; transform: scale(1.25); }
  86% { opacity: 0.7; }
}

.features { border-top: 1px solid var(--line); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
}
.icon {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  opacity: 0.45;
}
.feature h3 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.925rem;
}
.feature strong { color: var(--ink); font-weight: 600; }

.deep { border-top: 1px solid var(--line); }
.deep.alt { background: var(--soft); max-width: none; padding-left: max(1.5rem, calc((100% - 1040px) / 2 + 1.5rem)); padding-right: max(1.5rem, calc((100% - 1040px) / 2 + 1.5rem)); }
.deep-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.deep-grid.flip { direction: rtl; }
.deep-grid.flip > * { direction: ltr; }
.deep-copy.narrow { max-width: 40rem; }
.ticks {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ticks li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-size: 0.925rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.quote-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 2rem 1.75rem;
}
.quote-card.dark {
  background: var(--stage);
  border-color: var(--ink);
}
.quote-card.dark .quote { color: #f8f5ff; }
.quote-card.dark .quote-meta { color: #c4b5fd; }
.quote {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
}
.quote-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.posts-intro {
  margin-bottom: 0.5rem;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  max-width: 960px;
}
.posts-grid .quote-card {
  min-height: 100%;
}
@media (max-width: 720px) {
  .posts-grid { grid-template-columns: 1fr; }
}

.chime-demo {
  border: 1px solid var(--ink);
  background: var(--stage);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}
.chime-bar {
  display: block;
  width: 48px;
  height: 8px;
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 0 16px var(--purple);
  animation: barPulse 2.8s ease-in-out infinite;
}
.chime-bar.delay { animation-delay: 0.35s; width: 36px; opacity: 0.75; }
@keyframes barPulse {
  0%, 60%, 100% { transform: scaleX(0.55); opacity: 0.35; }
  72% { transform: scaleX(1); opacity: 1; }
  84% { transform: scaleX(0.8); opacity: 0.7; }
}
.chime-word {
  margin: 0.5rem 0 0;
  font-family: var(--display);
  font-size: 1.5rem;
  color: #c4b5fd;
  letter-spacing: -0.02em;
  animation: wordIn 2.8s ease-in-out infinite;
}
@keyframes wordIn {
  0%, 68% { opacity: 0.15; }
  78%, 90% { opacity: 1; }
  100% { opacity: 0.35; }
}

.stat-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg);
}
.stat {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.stat:last-child { border-bottom: none; }
.stat span {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--purple-mid);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.watermark-card {
  border: 1px solid var(--ink);
  background: var(--stage);
  padding: 2.25rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.wm-line {
  margin: 0.5rem 0 0;
  font-family: var(--display);
  font-size: 1.15rem;
  color: #f8f5ff;
  letter-spacing: -0.02em;
}
.wm-sub {
  margin: 0;
  font-size: 0.75rem;
  color: #c4b5fd;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.markets { border-top: 1px solid var(--line); }
.markets-lede { max-width: 40rem; }
.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.market {
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.market h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
}
.market p { margin: 0; color: var(--muted); font-size: 0.9rem; flex: 1; }
.market .btn { align-self: flex-start; margin-top: 0.5rem; }
.badge {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.badge.free { color: var(--ink); }
.badge.paid { color: var(--purple-mid); }
.markets-note { margin-top: 1.5rem; max-width: 40rem; }

.cta { border-top: 1px solid var(--line); padding-bottom: 5rem; }
.cta-card { max-width: 36rem; }
.cta-mini {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple-deep);
  margin-bottom: 1.25rem;
  position: relative;
  border: 1px solid var(--purple-mid);
}
.mini-antenna {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
  animation: chimeDot 2.8s ease-in-out infinite;
}
.cta-mini::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  background: var(--purple-mid);
}
.fine { margin: 1rem 0 0; color: var(--muted); font-size: 0.8rem; }

.footer {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer .logo { font-size: 0.95rem; color: var(--ink); }
.footer p { margin: 0; }

@media (max-width: 960px) {
  .nav nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 560px) {
  .holiday-toggle-copy { font-size: 0.66rem; }
  .holiday-playlist { columns: 1; }
}
@media (max-width: 860px) {
  .hero-grid, .deep-grid, .deep-grid.flip { grid-template-columns: 1fr; direction: ltr; }
  .hero-stage { min-height: 300px; order: -1; }
  .feature-grid, .market-grid { grid-template-columns: 1fr; }
  .feature-grid { border-left: none; }
  .feature { border-left: 1px solid var(--line); }
  .hero, .features, .markets, .cta, .deep { padding: 3.25rem 1.25rem; }
  .deep.alt { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* Cabin customization (Tesla section) */
.cabin-custom {
  max-width: 1040px;
  margin: 3.5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.cabin-custom-head h2 { max-width: 28ch; }
.cabin-lede { max-width: 40rem; }
.cabin-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}
.cabin-stage {
  border: 1px solid var(--ink);
  background: var(--stage);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 1.25rem;
}
.cabin-stage-dual {
  min-height: 360px;
  padding: 1.25rem 1rem 1.1rem;
}
.cabin-locked-note {
  margin: 0.75rem 0 0;
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--purple-mid);
  color: var(--purple-mid);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.cabin-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
  align-items: stretch;
}
.cabin-screen {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.cabin-screen-label {
  margin: 0;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4b5fd;
  font-weight: 600;
}
.cabin-bezel {
  position: relative;
  border-radius: 0.85rem;
  padding: 0.55rem;
  background:
    linear-gradient(145deg, #2a2a2e 0%, #0d0d10 45%, #1a1a1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    0 10px 24px rgba(0,0,0,0.35);
}
.cabin-bezel-chrome {
  position: absolute;
  inset: 0.28rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35);
}
.cabin-face {
  position: relative;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #12081f;
  aspect-ratio: 1;
}
.cabin-avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0.55rem;
  filter: drop-shadow(0 8px 16px rgba(167, 139, 250, 0.2));
}
.cabin-face .goonie-mouth {
  bottom: 16%;
  width: 44%;
}
.cabin-svg {
  width: min(220px, 70%);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(167, 139, 250, 0.22));
}
.demo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.demo-row .btn {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}
.control-block-deprecated[hidden] { display: none !important; }

/* Fart mode goofy animation on all registered faces */
.goonie-face.is-farting .goonie-avatar,
.goonie-face.is-farting .cabin-avatar {
  animation: goonieFartSquish 0.55s ease-in-out 3;
  filter: drop-shadow(0 12px 28px rgba(167, 139, 250, 0.35)) saturate(1.15);
}
.goonie-face.is-farting::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 34%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.18), transparent 70%);
  pointer-events: none;
  z-index: 3;
  animation: goonieSquint 0.55s ease-in-out 3;
}
.goonie-face.is-farting::before {
  content: "";
  position: absolute;
  left: 48%;
  top: 6%;
  width: 10px;
  height: 22px;
  margin-left: -5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c4b5fd, #7c5cbf);
  transform-origin: bottom center;
  z-index: 3;
  animation: goonieAntennaWobble 0.28s ease-in-out 6;
  box-shadow: 0 0 10px rgba(167,139,250,0.55);
}
@keyframes goonieFartSquish {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  35% { transform: translateY(4px) scale(1.04, 0.92); }
  70% { transform: translateY(-3px) scale(0.97, 1.05); }
}
@keyframes goonieSquint {
  0%, 100% { opacity: 0; transform: scaleY(0.4); }
  40%, 60% { opacity: 1; transform: scaleY(1); }
}
@keyframes goonieAntennaWobble {
  0%, 100% { transform: rotate(-18deg); }
  50% { transform: rotate(22deg); }
}
.cabin-caption {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b5fd;
}
.cabin-controls {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.control-block { display: flex; flex-direction: column; gap: 0.75rem; }
.control-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.control-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.control-hint code {
  font-size: 0.78rem;
  color: var(--ink);
}
.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
#goonie-color {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}
#goonie-color::-webkit-color-swatch-wrapper { padding: 3px; }
#goonie-color::-webkit-color-swatch { border: none; }
#goonie-color::-moz-color-swatch { border: none; }
.swatch {
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
}
.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.toggle {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
}
.toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.toggle-ui {
  width: 36px;
  height: 20px;
  border: 1px solid var(--ink);
  background: var(--bg);
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.toggle-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}
.toggle input:checked + .toggle-ui {
  background: var(--ink);
}
.toggle input:checked + .toggle-ui::after {
  transform: translateX(16px);
  background: var(--bg);
}
.toggle input:focus-visible + .toggle-ui {
  outline: 2px solid var(--purple-mid);
  outline-offset: 2px;
}
.toggle-text {
  font-size: 0.925rem;
  color: var(--ink);
}
.cabin-svg .is-hidden { display: none; }

@media (max-width: 860px) {
  .cabin-panel { grid-template-columns: 1fr; }
  .cabin-stage { min-height: 280px; }
  .cabin-screens { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
}

.toggle-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.toggle-text strong {
  font-weight: 560;
  font-size: 0.925rem;
  color: var(--ink);
}
.toggle-text em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
}
.mode-line {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ink);
  background: var(--stage);
  color: #f8f5ff;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.mode-line[hidden] { display: none; }

/* Cabin mode HUD + scoreboard (front+rear shared under captions) */
.cabin-mode-hud {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(196, 181, 253, 0.35);
  background: rgba(18, 8, 31, 0.72);
  color: #f8f5ff;
  border-radius: 0.55rem;
}
.cabin-mode-hud[hidden],
.cabin-mode-hud[aria-hidden="true"] {
  display: none !important;
}
.cabin-hud-label {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
  font-weight: 600;
}
.cabin-hud-chatter {
  margin: 0;
  min-height: 1.35em;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #f8f5ff;
}
.cabin-hud-chatter:empty {
  opacity: 0;
  min-height: 0;
}
.cabin-scoreboard {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(196, 181, 253, 0.25);
}
.cabin-scoreboard[hidden] { display: none; }
.cabin-score-title {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4b5fd;
  font-weight: 600;
}
.cabin-score-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.cabin-score-grid div {
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(42, 24, 72, 0.45);
  border-radius: 0.4rem;
}
.cabin-score-grid dt {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a78bfa;
}
.cabin-score-grid dd {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f8f5ff;
}

/* Chaos flash on cabin faces (avatar asset unchanged) */
.cabin-face.is-chaos {
  animation: cabinChaosFlash 0.85s ease-in-out 1;
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.55), 0 0 22px rgba(250, 204, 21, 0.35);
}
@keyframes cabinChaosFlash {
  0%, 100% { filter: none; }
  35% { filter: brightness(1.25) saturate(1.35) hue-rotate(-12deg); }
  70% { filter: brightness(1.1) saturate(1.15); }
}

/* Parking-lot chill — soft purple tint on cabin-stage; white-eye avatar unchanged */
.cabin-stage.parking-lot-mode,
body.parking-lot-mode .cabin-stage {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(124, 92, 191, 0.38), transparent 62%),
    linear-gradient(165deg, #1a0f2e 0%, #12081f 55%, #0d0618 100%);
  box-shadow: inset 0 0 40px rgba(167, 139, 250, 0.18);
  transition: background 0.45s ease, box-shadow 0.45s ease;
}
body.parking-lot-mode .cabin-hud-label::after {
  content: " · lo-fi chill";
  color: #ddd6fe;
  font-weight: 500;
}


/* Shareable promo page additions */
.btn.accent {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: #fff;
}
.btn.accent:hover { background: var(--purple-mid); border-color: var(--purple-mid); }
.share-link {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.share-link a, .link-copy a { color: var(--purple-mid); text-decoration: underline; text-underline-offset: 0.18em; }
.promo-video {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4.5rem;
}
.promo-video-head { max-width: 38rem; margin-bottom: 1.6rem; }
.promo-video-head h2 { margin-bottom: 0.8rem; }
.video-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  background: var(--stage);
  border: 1px solid var(--ink);
  overflow: hidden;
}
.video-shell video {
  display: block;
  width: 100%;
  max-height: min(72vh, 680px);
  background: var(--stage);
  object-fit: contain;
}
.video-placeholder {
  min-height: 360px;
  width: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.5rem;
  color: #f8f5ff;
  text-align: center;
  padding: 2rem;
}
.video-placeholder[hidden] { display: none; }
.video-placeholder p { margin: 0; font-family: var(--display); font-size: 1.5rem; }
.video-placeholder small { color: #c4b5fd; }
.video-placeholder code { color: #fff; }
.placeholder-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--purple);
  box-shadow: 0 0 28px rgba(167,139,250,0.5);
}
.video-note { margin-top: 0.8rem; }
.video-note code { color: var(--ink); }
.pricing-focus { background: #fbfaff; max-width: none; padding-left: max(1.5rem, calc((100% - 1040px) / 2 + 1.5rem)); padding-right: max(1.5rem, calc((100% - 1040px) / 2 + 1.5rem)); }
.pricing-focus .deep-copy { max-width: 42rem; }
.get-focus { background: var(--stage); color: #f8f5ff; max-width: none; padding-left: max(1.5rem, calc((100% - 1040px) / 2 + 1.5rem)); padding-right: max(1.5rem, calc((100% - 1040px) / 2 + 1.5rem)); }
.get-focus h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.get-focus .eyebrow, .get-focus .lede, .get-focus .fine { color: #c4b5fd; }
.get-focus .lede strong { color: #fff; }
.get-focus .market-grid { max-width: 1040px; }
.get-focus .market { background: #fff; border-color: #fff; color: var(--ink); }
.get-focus .market h3 { color: var(--ink); }
.get-focus .market p { color: var(--muted); }
.get-focus .market .badge.free { color: var(--ink); }
.get-focus .market .badge.paid { color: var(--purple-mid); }
.get-focus .market-primary { border-top: 4px solid var(--ink); }
.get-focus .market-paid { border-top: 4px solid var(--purple); }
.get-focus .link-copy { font-size: 0.75rem; }
.get-focus .markets-note { max-width: 42rem; }
@media (max-width: 860px) {
  .promo-video { padding: 0.25rem 1.25rem 3.25rem; }
  .video-shell, .video-placeholder { min-height: 260px; }
  .pricing-focus, .get-focus { padding-left: 1.25rem; padding-right: 1.25rem; }
}


/* Respect reduced motion — still avatar + idle mouth / bob / chaos flash */
@media (prefers-reduced-motion: reduce) {
  .goonie-avatar-idle,
  .goonie-face img,
  .antenna-glow,
  .antenna-tip {
    animation: none !important;
  }
  .goonie-eyes { opacity: 0 !important; }
  .goonie-face.has-face-idle { transform: none !important; }
  .goonie-bob { transform: none !important; }
  .cabin-face.is-chaos {
    animation: none !important;
    filter: none !important;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.4);
  }
  .goonie-mouth,
  .goonie-mouth.mouth-rest,
  .goonie-mouth.mouth-mid,
  .goonie-mouth.mouth-open {
    transition: none !important;
  }
  .cabin-stage.parking-lot-mode,
  body.parking-lot-mode .cabin-stage {
    transition: none !important;
  }
}


/* Featured Tesla cabin sample */
.sample-shell {
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.12), 0 24px 60px rgba(10, 4, 28, 0.45);
}
.sample-shell video { aspect-ratio: 16 / 9; }

/* Dual advisor voice toggle */
.voice-toggle {
  display: inline-flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.35);
}
.voice-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.voice-btn:hover { color: var(--ink); }
.voice-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 8px 22px rgba(91, 33, 182, 0.35);
}
.elon-tip {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.9rem;
  max-width: 36rem;
  border-radius: 12px;
  border: 1px dashed rgba(167, 139, 250, 0.45);
  background: rgba(124, 58, 237, 0.06);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.elon-tip strong { color: var(--ink); }


/* Midnight-purple antenna bulb — visual echo of chime / speech */
.goonie-face { position: relative; }
.antenna-bulb {
  position: absolute;
  left: 50%;
  top: 2.5%;
  width: 9%;
  aspect-ratio: 1;
  max-width: 28px;
  min-width: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c4b5fd 0%, #7c3aed 42%, #2e1065 78%, #1a0b2e 100%);
  box-shadow:
    0 0 6px 2px rgba(124, 58, 237, 0.55),
    0 0 18px 6px rgba(76, 29, 149, 0.45),
    0 0 32px 10px rgba(46, 16, 101, 0.35);
  z-index: 5;
  pointer-events: none;
  opacity: 0.72;
  animation: antennaIdlePulse 2.8s ease-in-out infinite;
}
.antenna-bulb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 85%;
  width: 18%;
  height: 55%;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(180deg, #5b21b6, #2e1065);
  opacity: 0.85;
  z-index: -1;
}
@keyframes antennaIdlePulse {
  0%, 100% {
    opacity: 0.55;
    box-shadow:
      0 0 4px 1px rgba(124, 58, 237, 0.4),
      0 0 12px 4px rgba(76, 29, 149, 0.3);
  }
  50% {
    opacity: 0.85;
    box-shadow:
      0 0 8px 3px rgba(167, 139, 250, 0.55),
      0 0 22px 8px rgba(124, 58, 237, 0.45);
  }
}
.goonie-face.is-speaking .antenna-bulb,
.goonie-face.is-chiming .antenna-bulb {
  opacity: 1;
  animation: antennaSpeechGlow 0.45s ease-in-out infinite alternate;
}
@keyframes antennaSpeechGlow {
  from {
    filter: brightness(1);
    box-shadow:
      0 0 10px 4px rgba(167, 139, 250, 0.75),
      0 0 28px 12px rgba(124, 58, 237, 0.65),
      0 0 48px 18px rgba(46, 16, 101, 0.5);
  }
  to {
    filter: brightness(1.35);
    box-shadow:
      0 0 16px 6px rgba(196, 181, 253, 0.95),
      0 0 36px 16px rgba(124, 58, 237, 0.85),
      0 0 60px 22px rgba(76, 29, 149, 0.55);
  }
}
.mini-antenna {
  background: #7c3aed !important;
  box-shadow: 0 0 10px #4c1d95, 0 0 18px rgba(124, 58, 237, 0.7) !important;
}

/* ——— Honk-off cabin mini-game ——— */
.honk-off {
  max-width: 1040px;
  margin: 2.5rem auto 0;
  padding: 1.75rem 1.35rem 1.5rem;
  border: 1px solid var(--ink);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(167, 139, 250, 0.14), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(90, 60, 140, 0.1), transparent 50%),
    var(--soft);
}
.honk-off-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.honk-off-head h3 {
  margin: 0.2rem 0 0.35rem;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.honk-off-lede {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.honk-disclaimer {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-mid);
  font-weight: 600;
}
.honk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.honk-arena {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1.25rem 0 1rem;
  padding: 1.1rem 0.85rem;
  background: var(--stage);
  border: 1px solid #1a1028;
  border-radius: 0.85rem;
}
.honk-car {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.5rem;
  transition: transform 0.15s ease;
}
.honk-sphere {
  position: relative;
  width: min(118px, 28vw);
  height: min(118px, 28vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #5b3d8a 0%, #2a1848 42%, #12081f 78%, #0a0610 100%);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(167, 139, 250, 0.2),
    inset 0 -8px 18px rgba(0, 0, 0, 0.35);
  /* Flex column — never stack smile/antenna over the eyes */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: visible;
}
.honk-sphere::before {
  /* purple antenna — stays above the sphere, never over eyes */
  content: "";
  position: absolute;
  top: -14%;
  left: 50%;
  width: 7px;
  height: 22%;
  margin-left: -3.5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c4b5fd, #7c3aed 55%, #5b21b6);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.65);
  transform-origin: bottom center;
  z-index: 0;
  pointer-events: none;
}
.honk-sphere::after {
  content: "";
  position: absolute;
  top: -22%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c4b5fd, #7c3aed 55%, #2e1065);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.7);
  z-index: 0;
  pointer-events: none;
}
.honk-eyes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18%;
  width: 62%;
  margin: 2% 0 0;
  position: relative;
  z-index: 2; /* eyes above any sphere chrome */
}
.honk-eye {
  width: 28%;
  aspect-ratio: 1;
  min-width: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.honk-eye::after {
  /* pupil only — not a covering overlay */
  content: "";
  position: absolute;
  width: 38%;
  height: 38%;
  left: 28%;
  top: 32%;
  border-radius: 50%;
  background: #12081f;
  z-index: 1;
}
.honk-smile {
  width: 34%;
  height: 10px;
  margin-top: 8%;
  border: none;
  border-bottom: 2.2px solid #120a1c;
  border-radius: 0 0 50% 50%;
  opacity: 0.9;
  position: relative;
  z-index: 1; /* below eyes */
  flex-shrink: 0;
}
.honk-car-label {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
  font-weight: 600;
}
.honk-score {
  margin: 0;
  font-family: var(--display);
  font-size: 1.85rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.honk-score span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a78bfa;
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font);
  font-weight: 600;
}
.honk-vs {
  text-align: center;
  color: #a78bfa;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}
.honk-car.is-beeping .honk-sphere {
  animation: honkBounce 0.28s ease-out;
  box-shadow:
    0 14px 32px rgba(167, 139, 250, 0.45),
    0 0 0 3px rgba(196, 181, 253, 0.55),
    inset 0 -8px 18px rgba(0, 0, 0, 0.35);
}
.honk-car.is-beeping .honk-sphere::before {
  animation: honkAntenna 0.28s ease-in-out;
}
.honk-off.is-live .honk-arena {
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.35), 0 12px 40px rgba(42, 24, 72, 0.35);
}
@keyframes honkBounce {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-10px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes honkAntenna {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(16deg); }
}
.honk-timer-track {
  height: 4px;
  background: rgba(18, 8, 31, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.35rem 0 0.85rem;
}
.honk-timer-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  border-radius: 999px;
  transition: width 0.1s linear;
}
.honk-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  margin-bottom: 0.85rem;
}
.honk-status {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
}
.honk-punchline {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--purple);
  background: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.honk-side-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.honk-side-toggles .toggle-text strong { display: block; }
.honk-side-toggles .toggle-text em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
}
.honk-booth-line {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.8rem;
  border: 1px dashed var(--purple-mid);
  background: rgba(167, 139, 250, 0.08);
  font-size: 0.9rem;
  color: var(--ink);
}
@media (max-width: 720px) {
  .honk-arena {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .honk-vs { order: 0; padding: 0.25rem 0; }
  .honk-side-toggles { grid-template-columns: 1fr; }
}

/* Honk-off HUD: a clean readout below the arena, never over the faces. */
.honk-hud {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  margin: 0.9rem 0 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(91, 61, 138, 0.32);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(42, 24, 72, 0.08);
}
.honk-hud-face-wrap {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  min-width: 64px;
}
.honk-hud-face {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 5px 9px rgba(42, 24, 72, 0.22));
}
.honk-hud-face-label {
  color: var(--purple-mid);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.honk-hud-readout { min-width: 0; }
.honk-hud-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}
.honk-hud-kicker {
  color: var(--purple-mid);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.honk-hud-status {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.3;
}
.honk-hud-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.honk-hud-score {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.42rem 0.6rem;
  border: 1px solid rgba(91, 61, 138, 0.2);
  background: rgba(245, 245, 245, 0.82);
  border-radius: 0.42rem;
}
.honk-hud-score span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.honk-hud-score strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1;
}
.honk-hud-roast {
  margin: 0.55rem 0 0;
  min-height: 1.35em;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.91rem;
  line-height: 1.3;
}
.honk-hud-roast[hidden] { display: none; }
.honk-hud-roast::before {
  content: "soft landing · ";
  color: var(--purple-mid);
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.honk-hud-roast.is-new { animation: honkRoastFloat 0.55s ease-out; }
@keyframes honkRoastFloat {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.honk-off.is-live .honk-hud {
  border-color: rgba(91, 61, 138, 0.5);
  box-shadow: 0 8px 24px rgba(42, 24, 72, 0.12), 0 0 0 1px rgba(167, 139, 250, 0.1);
}
@media (max-width: 480px) {
  .honk-hud { grid-template-columns: 1fr; justify-items: stretch; }
  .honk-hud-face-wrap { grid-template-columns: auto auto; justify-content: start; align-items: center; }
  .honk-hud-face { width: 42px; height: 42px; }
}


/* Cabin by Tesla model grid */
.cabin-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem 1rem;
  margin: 0 0 0.5rem;
}
.cabin-model-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}
.cabin-model-label {
  margin: 0;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.cabin-model-shell {
  margin: 0;
}
.cabin-model-shell video {
  width: 100%;
  border-radius: 12px;
  background: #0a0618;
}
.cabin-model-note {
  margin: 0;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .cabin-model-grid { grid-template-columns: 1fr; }
}

/* —— Humor browser + sing-along songbook (goonie43) —— */
.humor-browser,
.rhyme-book {
  margin-top: 2.5rem;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.humor-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.humor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.humor-chip {
  appearance: none;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(42, 24, 78, 0.45);
  color: #efe8ff;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.humor-chip:hover {
  border-color: rgba(196, 181, 253, 0.7);
  background: rgba(76, 45, 140, 0.7);
}
.humor-chip.is-active {
  background: linear-gradient(135deg, #7c5cbf, #a78bfa);
  border-color: transparent;
  color: #120a24;
  font-weight: 600;
}
.humor-chip[data-roast-only="true"] {
  border-style: dashed;
}
body:not(.style-roast) .humor-chip[data-roast-only="true"] {
  display: none;
}
body:not(.style-roast) .humor-roast-only-note {
  display: none;
}
body.style-roast #humor-roast-hint {
  color: var(--purple-mid);
}
.humor-stage {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.humor-cat-label {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--purple-mid);
  letter-spacing: -0.02em;
}
.humor-joke {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: -0.01em;
}
.humor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}
.humor-meta {
  font-size: 0.82rem;
  color: var(--muted);
}
.humor-kid-panel {
  margin-top: 1.75rem;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 1.5rem 1.75rem;
}
.humor-kid-panel[hidden] { display: none; }
.humor-kid-panel h3 {
  margin: 0.25rem 0 1rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.humor-kid-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}
@media (min-width: 720px) {
  .humor-kid-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
  }
}

.rhyme-book {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .rhyme-book {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .rhyme-book {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.rhyme-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
}
.rhyme-num {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-mid);
  font-weight: 600;
}
.rhyme-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}
.rhyme-cue {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}
