:root {
  /* FiM brand */
  --forest: #172223;
  --black: #0c0c0c;
  --surface: #1e2b2c;
  --border: #2a3b3c;
  --muted: #7a8c8d;
  --muted-2: #4a5c5d;
  --cream: #d4a87d;
  --cream-soft: #e6c4a0;
  --off-white: #f5f0e8;

  --bg: var(--forest);
  --fg: var(--off-white);

  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --serif: "Playfair Display", "EB Garamond", serif;

  --container: 1200px;
  --pad-x: clamp(24px, 4vw, 48px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ─── Typography utilities ─────────────────────────────────────── */
.label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--cream);
}
.label.no-rule::before { display: none; }

h1, h2, h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0; color: var(--off-white); }
.h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 900; letter-spacing: -0.035em; line-height: 0.98; }
.h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; }
.h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.2; }

.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }

/* ─── Pill ─────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--cream);
  border-radius: 999px;
  font-family: var(--body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream);
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 0 rgba(212,168,125,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,168,125,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(212,168,125,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,168,125,0); }
}

/* ─── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-family: var(--body); font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--cream); color: var(--forest); }
.btn-primary:hover { background: var(--cream-soft); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--off-white);
}
.btn-secondary:hover { border-color: var(--cream); color: var(--cream); }
.btn-arrow {
  font-family: var(--body); font-size: 13px; font-weight: 600;
  color: var(--cream); letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .15s ease;
}
.btn-arrow:hover { gap: 14px; }

/* ─── Nav ─────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px) saturate(140%);
  background: color-mix(in oklab, var(--forest) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--off-white);
}
.brand-logo { height: 28px; width: auto; display: block; }
.brand-text em { font-style: normal; color: var(--cream); }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-family: var(--body);
  font-size: 14px; font-weight: 500;
  color: var(--off-white);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--cream); }
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ─── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 90% 0%, rgba(212,168,125,0.08), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(212,168,125,0.05), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero .pill { margin-bottom: 36px; }
.hero h1 {
  font-size: clamp(56px, 9.5vw, 124px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0;
  max-width: 11ch;
  text-wrap: balance;
}
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--cream); letter-spacing: -0.02em; }
.hero-sub {
  margin-top: 36px;
  max-width: 720px;
  font-family: var(--body);
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--off-white);
  opacity: 0.85;
}
.hero-sub b { color: var(--cream); font-weight: 600; }
.hero-cta {
  margin-top: 44px;
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* Hero two-column: host photo first, headline beside it */
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  border: 1px solid var(--border);
  display: block;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.85);
}
.hero-photo figcaption {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-photo figcaption b { color: var(--off-white); font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.hero-photo figcaption span { color: var(--muted); font-family: var(--body); font-size: 13px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo img { max-width: 300px; margin: 0 auto; }
  .hero-photo figcaption { align-items: center; text-align: center; }
  .hero h1 { font-size: clamp(48px, 13vw, 84px); }
}

/* Stats */
.stats {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stat .v {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--cream);
}
.stat .l {
  margin-top: 10px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ─── Sections ─────────────────────────────────────── */
section.panel {
  padding: clamp(64px, 9vw, 112px) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.section-head {
  margin-bottom: 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end;
}
.section-head h2 { max-width: 18ch; text-wrap: balance; }
.section-head .label { margin-bottom: 16px; }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ─── What this is ─────────────────────────────────────── */
.what {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 900px) { .what { grid-template-columns: 1fr; } }
.what-copy p {
  font-family: var(--body);
  font-size: 17px; line-height: 1.7;
  color: var(--off-white); opacity: 0.85;
  margin: 0 0 22px;
}
.what-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 24px;
}
.feature {
  display: grid; grid-template-columns: 36px 1fr; gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.feature:last-child { padding-bottom: 0; border-bottom: 0; }
.feature .ico {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-size: 18px;
  background: var(--forest);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.feature h4 {
  font-family: var(--sans); font-weight: 700;
  font-size: 16px; letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--off-white);
}
.feature p {
  margin: 0;
  font-family: var(--body); font-size: 14px;
  color: var(--muted); line-height: 1.55;
}

/* ─── Pull quotes ─────────────────────────────────────── */
.quote-section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--border);
}
.quote {
  border-left: 3px solid var(--cream);
  padding: 8px 0 8px 32px;
  max-width: 920px;
}
.quote q {
  display: block;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3; letter-spacing: -0.01em;
  color: var(--off-white);
  quotes: """ """;
}
.quote .attr {
  margin-top: 28px;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--body); font-size: 14px;
  color: var(--muted);
}
.quote .attr::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--cream);
}
.quote .attr b { color: var(--off-white); font-weight: 600; }

/* ─── Episodes grid (3-up) ─────────────────────────────────────── */
.eps-header {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.eps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .eps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .eps-grid { grid-template-columns: 1fr; } }

.epc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
  cursor: pointer;
  min-height: 460px;
}
.epc:hover { border-color: var(--cream); transform: translateY(-2px); }
.epc .epc-tag {
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream);
}
.epc .epc-title {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(20px, 1.5vw, 22px);
  line-height: 1.2; letter-spacing: -0.02em;
  color: var(--off-white);
  text-wrap: balance;
}
.epc .epc-desc {
  font-family: var(--body); font-size: 14px; line-height: 1.6;
  color: var(--muted);
}
.epc .epc-guest {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px; margin-top: auto;
  border-top: 1px solid var(--border);
}
.epc .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--forest);
  border: 1px solid var(--cream);
  display: grid; place-items: center;
  font-family: var(--sans); font-weight: 800;
  font-size: 14px; color: var(--cream);
  letter-spacing: 0;
}
.epc .guest-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.epc .guest-meta b { color: var(--off-white); font-weight: 600; font-size: 14px; }
.epc .guest-meta i { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--muted); }
.epc .listen {
  font-family: var(--body); font-size: 13px; font-weight: 600;
  color: var(--cream);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 2px;
  transition: gap .15s ease;
}
.epc:hover .listen { gap: 12px; }

/* Archive chips */
.archive {
  margin-top: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.archive .label { margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--body); font-size: 13px;
  color: var(--off-white);
  transition: border-color .15s ease, color .15s ease;
  cursor: default;
}
.chip:hover { border-color: var(--cream); }
.chip.chip-link { cursor: pointer; color: var(--off-white); text-decoration: none; }
.chip.chip-link:hover { background: rgba(212,168,125,0.08); }
.chip b { font-weight: 600; }
.chip i { font-family: var(--serif); font-style: italic; color: var(--muted); }
.chip.cta { color: var(--cream); border-color: var(--cream); font-weight: 600; cursor: pointer; }

/* ─── FAQ ─────────────────────────────────────── */
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--border);
}
.faq-item:nth-child(even) {
  padding-left: 32px;
}
@media (max-width: 820px) {
  .faq-item:nth-child(odd) { padding-right: 0; border-right: 0; }
  .faq-item:nth-child(even) { padding-left: 0; }
}
.faq-item h3 {
  font-family: var(--sans); font-weight: 700;
  font-size: 20px; letter-spacing: -0.02em; line-height: 1.25;
  color: var(--off-white);
  margin: 0 0 16px;
  text-wrap: balance;
}
.faq-item .a {
  font-family: var(--body); font-size: 15px; line-height: 1.7;
  color: var(--muted);
}
.faq-item .a b { color: var(--off-white); font-weight: 600; }

/* ─── Listen / Platforms ─────────────────────────────────────── */
.listen-section {
  background: var(--surface);
}
.platforms {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 820px) { .platforms { grid-template-columns: 1fr 1fr; } }
.platform {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  background: var(--forest);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all .15s ease;
  cursor: pointer;
}
.platform:hover { border-color: var(--cream); }
.platform .ico {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--body); font-size: 11px; font-weight: 700;
  color: var(--cream);
}
.platform .name {
  font-family: var(--body); font-size: 15px; font-weight: 600;
  color: var(--off-white);
  flex: 1;
}
.platform .arrow {
  font-family: var(--body); font-size: 18px;
  color: var(--muted);
  transition: transform .15s ease, color .15s ease;
}
.platform:hover .arrow { color: var(--cream); transform: translate(2px, -2px); }

/* ─── About Thea ─────────────────────────────────────── */
.about {
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.thea-avatar {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: block;
  object-fit: cover;
  box-shadow: 0 24px 60px -36px rgba(0,0,0,0.8);
}
.about .role-tag {
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream);
  margin: 14px 0 28px;
}
.about p {
  font-family: var(--body); font-size: 17px; line-height: 1.7;
  color: var(--off-white); opacity: 0.85;
  margin: 0 0 20px;
}
.socials {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.social {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--body); font-size: 13px; font-weight: 500;
  color: var(--off-white);
  transition: all .15s ease;
}
.social:hover { border-color: var(--cream); color: var(--cream); }

/* ─── Footer ─────────────────────────────────────── */
footer {
  background: var(--black);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-row .brand { font-size: 16px; }
.footer-nav {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--body); font-size: 13px; font-weight: 500;
  color: var(--muted);
}
.footer-nav a { transition: color .15s ease; }
.footer-nav a:hover { color: var(--cream); }
.copyright {
  margin-top: 24px;
  font-family: var(--body); font-size: 13px;
  color: var(--muted-2);
}
.footer-mark {
  margin-top: 56px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(56px, 14vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: rgba(212,168,125,0.04);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
}
.footer-mark em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ─── Guest strip (signature motif) ─────────────────────────────────────── */
.guest-strip-wrap {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.guest-strip-wrap .guest-band {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.guest-strip-wrap .guest-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--pad-x);
  font-family: var(--body); font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.guest-strip-wrap .guest-meta .label::before { background: var(--cream); }
.guest-strip-wrap .guest-meta b { color: var(--off-white); font-weight: 600; }
@media (max-width: 720px) {
  .guest-strip-wrap .guest-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ───────────────────── Ask a question (Algolia search) ───────────────────── */
.ask {
  padding: 80px 0 96px;
  background:
    radial-gradient(ellipse at top, rgba(212,168,125,0.06), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.ask .section-head {
  display: block;          /* override global 2-col grid */
  grid-template-columns: none;
  text-align: center;
  margin-bottom: 48px;
}
.ask .section-head h2 { max-width: none; margin-left: auto; margin-right: auto; }
.ask .section-head h2 {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 12px 0 14px;
  color: var(--off-white);
  text-wrap: balance;
}
.ask .section-head p { color: var(--muted); max-width: 56ch; margin: 0 auto; font-size: 16px; line-height: 1.55; }

.ask-wrap { max-width: 760px; margin: 0 auto; }

.ask-input-row {
  position: relative;
  display: flex; align-items: center;
  padding: 4px 12px 4px 18px;
  border: 1.5px solid var(--cream);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.ask-input-row:focus-within {
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(212,168,125,0.18);
}
.ask-icon { color: var(--cream); flex: 0 0 auto; margin-right: 12px; }
.ask-input {
  flex: 1;
  border: none; outline: none;
  background: transparent;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  color: var(--off-white);
  padding: 18px 0;
  letter-spacing: -0.01em;
}
.ask-input::placeholder { color: var(--muted); opacity: 0.8; }
.ask-clear {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.ask-clear:hover { background: rgba(255,255,255,0.12); color: var(--off-white); }

.ask-suggestions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0 4px;
}
.ask-suggestions-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.ask-chip {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--off-white);
  font-family: var(--body);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.ask-chip:hover {
  border-color: var(--cream);
  background: rgba(212,168,125,0.08);
}

.ask-status {
  margin-top: 24px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.ask-error { color: #e88; }

.ask-results { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.ask-results-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 0 4px;
  margin-bottom: 4px;
}
.ask-result {
  display: grid;
  grid-template-columns: 60px 1fr 32px;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.ask-result:hover {
  border-color: var(--cream);
  background: rgba(212,168,125,0.04);
  transform: translateY(-1px);
}
.ask-result-num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  color: var(--cream);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.ask-result-body { min-width: 0; }
.ask-result-guest {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.ask-result-guest b { color: var(--off-white); font-weight: 600; }
.ask-result-guest i { font-style: italic; color: var(--muted); }
.ask-result-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--off-white);
  margin-bottom: 8px;
  text-wrap: balance;
}
.ask-result-snippet {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  font-family: var(--body);
}
.ask-result-snippet mark {
  background: rgba(212,168,125,0.18);
  color: var(--off-white);
  padding: 1px 3px;
  border-radius: 3px;
}
.ask-result-arrow {
  color: var(--cream);
  font-size: 18px;
  padding-top: 2px;
}

@media (max-width: 640px) {
  .ask { padding: 56px 0 64px; }
  .ask-input { font-size: 16px; padding: 14px 0; }
  .ask-result { grid-template-columns: 48px 1fr 24px; gap: 12px; padding: 16px 18px; }
}

/* ─── Synthesis layer (NotebookLM-style) ───────────────────────────────── */
.ask-input-row { padding-right: 6px; }
.ask-submit {
  flex: 0 0 auto;
  margin-left: 8px;
  padding: 11px 22px;
  border: 0; border-radius: 12px;
  background: var(--cream);
  color: var(--forest, #172223);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.ask-submit:hover:not(:disabled) { transform: translateY(-1px); }
.ask-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.ask-spin {
  display: inline-block;
  width: 12px; height: 12px;
  border: 2px solid var(--cream);
  border-bottom-color: transparent;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: -2px;
  animation: ask-rot 0.7s linear infinite;
}
@keyframes ask-rot { to { transform: rotate(360deg); } }

.ask-answer {
  margin-top: 32px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  position: relative;
}
.ask-answer-body { font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--off-white); }
.ask-answer-body p { margin: 0 0 14px; }
.ask-answer-body p:last-child { margin-bottom: 0; }
.ask-answer-body strong { color: var(--off-white); font-weight: 700; }
.ask-answer-body em { color: var(--off-white); font-style: italic; }
.ask-answer-body ul {
  margin: 4px 0 14px;
  padding-left: 22px;
}
.ask-answer-body li { margin-bottom: 6px; }
.ask-answer-body a.cite {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  vertical-align: 6px;
  margin: 0 1px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(212,168,125,0.18);
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.15s;
}
.ask-answer-body a.cite:hover {
  background: var(--cream);
  color: var(--forest, #172223);
}
.ask-cursor {
  display: inline-block;
  width: 8px; height: 18px;
  background: var(--cream);
  vertical-align: -3px;
  margin-left: 2px;
  animation: ask-blink 0.95s steps(2, jump-none) infinite;
}
@keyframes ask-blink { 50% { opacity: 0; } }

.ask-sources {
  margin-top: 32px;
}
.ask-sources h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 14px;
}
.ask-sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.ask-source {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.ask-source:hover { border-color: var(--cream); background: rgba(212,168,125,0.04); transform: translateY(-1px); }
.ask-source-n {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cream);
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(212,168,125,0.14);
  text-align: center;
  width: fit-content;
}
.ask-source-body { min-width: 0; }
.ask-source-guest {
  font-family: var(--body);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.ask-source-guest b { color: var(--off-white); font-weight: 700; }
.ask-source-guest i { font-style: italic; color: var(--muted); }
.ask-source-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--off-white);
}
.ask-source-arrow { color: var(--cream); font-size: 16px; padding-top: 1px; }

@media (max-width: 640px) {
  .ask-answer { padding: 22px; }
  .ask-submit { padding: 10px 16px; font-size: 13px; }
  .ask-sources-grid { grid-template-columns: 1fr; }
}

/* ─── Ask hits (static Q&A search results) ─────────────────────────────── */
.ask-hit {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  margin-bottom: 12px;
}
.ask-hit:hover {
  border-color: var(--cream);
  background: rgba(212,168,125,0.04);
  transform: translateY(-1px);
}
.ask-hit-body { min-width: 0; }
.ask-hit-question {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--off-white);
  text-wrap: balance;
}
.ask-hit-answer {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 8px;
}
.ask-hit-answer mark {
  background: rgba(212,168,125,0.2);
  color: var(--off-white);
  padding: 1px 3px;
  border-radius: 3px;
}
.ask-hit-meta {
  font-family: var(--body);
  font-size: 12px;
  color: var(--muted);
}
.ask-hit-meta b { color: var(--off-white); font-weight: 600; }
.ask-hit-meta i { font-style: italic; color: var(--muted); }
.ask-hit-arrow { color: var(--cream); font-size: 22px; }

/* ─── Semantic search results (hero + related) ─────────────────────────── */
.ask-hero {
  display: block;
  margin-top: 32px;
  padding: 32px 36px;
  border: 1px solid var(--cream);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(212,168,125,0.10), rgba(212,168,125,0.03)),
    rgba(255,255,255,0.02);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}
.ask-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -18px rgba(212,168,125,0.4);
}
.ask-hero-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest, #172223);
  background: var(--cream);
  padding: 5px 11px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.ask-hero-question {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--off-white);
  text-wrap: balance;
}
.ask-hero-answer {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--off-white);
  margin: 0 0 24px;
}
.ask-hero-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(212,168,125,0.2);
}
.ask-hero-attr { font-family: var(--body); font-size: 13px; color: var(--muted); }
.ask-hero-attr b { color: var(--off-white); font-weight: 600; }
.ask-hero-attr i { font-style: italic; color: var(--muted); }
.ask-hero-cta {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--cream);
  letter-spacing: -0.005em;
}

.ask-related {
  margin-top: 24px;
}
.ask-related-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.ask-related-card {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  margin-bottom: 10px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.ask-related-card:hover {
  border-color: var(--cream);
  background: rgba(212,168,125,0.04);
  transform: translateY(-1px);
}
.ask-related-question {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--off-white);
  margin: 0 0 6px;
  text-wrap: balance;
}
.ask-related-attr { font-family: var(--body); font-size: 12px; color: var(--muted); }
.ask-related-attr b { color: var(--off-white); font-weight: 600; }
.ask-related-arrow { color: var(--cream); font-size: 16px; }

@media (max-width: 640px) {
  .ask-hero { padding: 24px; }
  .ask-hero-footer { flex-direction: column; align-items: flex-start; }
}

/* Ask: multi-perspective hint on search results */
.ask-hero-more { color: var(--cream); }
