/* =========================================================
   Houston Community Connect (HCC)
   Professional civic theme — navy primary, blue accent.
   Aligned with Global Shapers brand (deep navy + white + sky).
   ========================================================= */

:root {
  /* Brand */
  --navy-900: #0A1F44;     /* Global Shapers deep navy — primary */
  --navy-800: #122E5C;
  --navy-700: #1E4178;
  --navy-100: #DCE6F2;     /* light blue surface */
  --blue-600: #1E5BAA;     /* primary action */
  --blue-500: #2C75D2;
  --blue-200: #BBD2EE;
  --blue-50:  #F0F5FB;

  /* Neutrals */
  --bg:      #F4F7FB;      /* page background — slate-cool tint */
  --surface: #FFFFFF;
  --line:    #D7DEE8;
  --line-2:  #E8EDF4;
  --ink:     #0F1B2D;
  --ink-2:   #4B5B73;
  --muted:   #8092A8;

  /* Status */
  --alert:   #C13B2A;
  --alert-soft: #FBE4DD;
  --star:    #C9A86B;      /* highlight gold — used sparingly */
  --ok:      #1B7A4A;

  --shadow-sm: 0 1px 2px rgba(15,27,45,.06), 0 1px 1px rgba(15,27,45,.04);
  --shadow-md: 0 4px 16px -8px rgba(10,31,68,.18), 0 2px 4px rgba(10,31,68,.06);
  --shadow-lg: 0 16px 32px -16px rgba(10,31,68,.18), 0 4px 8px rgba(10,31,68,.06);

  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --radius: 6px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-900); text-decoration: underline; text-underline-offset: 3px; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 36px); }
.muted { color: var(--ink-2); }
.muted-inv { color: rgba(255,255,255,0.6); }
.small { font-size: 14px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: white; padding: 10px 14px; z-index: 100; border-radius: 0 0 4px 0;
}
.skip:focus { left: 12px; top: 12px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============= Buttons ============= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  letter-spacing: 0.005em;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease, box-shadow .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--navy-900); color: white; }
.btn--primary:hover { background: var(--navy-800); color: white; transform: translateY(-1px); }
.btn--secondary { background: var(--blue-600); color: white; }
.btn--secondary:hover { background: var(--blue-500); color: white; }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn--ghost:hover { background: var(--blue-50); border-color: var(--navy-900); color: var(--navy-900); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ============= Site header ============= */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(6px);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: stretch; gap: 12px;
  text-decoration: none; color: var(--navy-900);
}
.brand__bar {
  width: 4px;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--blue-600) 100%);
  border-radius: 2px;
  flex: none;
  align-self: stretch;
  min-height: 28px;
}
.brand--inverse .brand__bar { background: linear-gradient(180deg, white 0%, var(--blue-200) 100%); }
.brand__text {
  display: inline-flex; flex-direction: column; line-height: 1.05;
  justify-content: center;
}
.brand__full {
  font-family: var(--display); font-weight: 800; font-size: 16.5px;
  color: var(--navy-900); letter-spacing: -0.012em;
}
.brand__abbr {
  display: none;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-2);
  margin-top: 3px; letter-spacing: 0.08em;
}
.brand:hover { text-decoration: none; }
.brand--inverse { color: white; }
.brand--inverse .brand__full { color: white; }
@media (max-width: 680px) {
  .brand__full { font-size: 14px; }
}

.site-nav {
  display: flex; align-items: center; gap: 4px 4px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
}
.site-nav a {
  padding: 8px 14px;
  color: var(--ink); text-decoration: none;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--blue-50); color: var(--navy-900); text-decoration: none; }
.site-nav__cta {
  margin-left: 6px;
  background: var(--navy-900) !important;
  color: white !important;
  padding: 9px 16px !important;
}
.site-nav__cta:hover { background: var(--navy-800) !important; }

@media (max-width: 760px) {
  .brand__full { display: none; }
  .brand__abbr { display: inline; }
  .site-nav { gap: 0; font-size: 13px; }
  .site-nav__link { padding: 6px 9px; }
}
@media (max-width: 420px) {
  .site-nav__link { padding: 5px 6px; font-size: 12.5px; }
}

/* ============= Hero ============= */
.hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 90% -10%, rgba(30,91,170,0.10), transparent 60%),
    radial-gradient(40% 60% at 0% 30%, rgba(10,31,68,0.06), transparent 60%);
}
.hero__bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 200px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.07;
  color: var(--navy-900);
}
.hero__bg .skyline {
  width: 100%; height: 100%;
  display: block;
}
/* signature corner stamp */
.hero::before {
  content: "";
  position: absolute;
  top: 24px; left: clamp(20px, 4vw, 36px);
  width: 36px; height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--navy-900));
  z-index: 0;
  pointer-events: none;
  border-radius: 2px;
}
.hero__wrap {
  max-width: 760px;
}
.hero__copy { max-width: 100%; }
.hero__eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  margin: 0 0 18px;
  padding: 5px 12px;
  background: var(--blue-50);
  border: 1px solid var(--navy-100);
  border-radius: 999px;
}
.hero__eyebrow a { color: var(--navy-900); font-weight: 600; }
.hero__head {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.028em;
  margin: 0 0 20px;
  color: var(--navy-900);
}
.head-em {
  position: relative;
  color: var(--blue-600);
  white-space: nowrap;
}
.head-em::after {
  content: "";
  position: absolute;
  left: 0; right: 4px; bottom: 0.06em;
  height: 0.16em;
  background: var(--blue-200);
  z-index: -1;
  border-radius: 2px;
}
.hero__lede {
  font-size: clamp(16.5px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 56ch;
}
.hero__lede strong { color: var(--navy-900); font-weight: 700; }

/* hero menu tiles */
.hero-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
@media (max-width: 620px) {
  .hero-tiles { grid-template-columns: 1fr; }
}
.hero-tile {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px;
  display: flex; gap: 16px; align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .25s ease;
  overflow: hidden;
  isolation: isolate;
}
.hero-tile::after {
  content: "→";
  position: absolute; top: 18px; right: 22px;
  font-size: 18px; color: var(--muted); font-weight: 600;
  transition: color .15s ease, transform .2s ease;
}
.hero-tile:hover {
  transform: translateY(-3px);
  border-color: var(--navy-900);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, white 0%, var(--blue-50) 100%);
  text-decoration: none;
  color: var(--ink);
}
.hero-tile:hover::after { color: var(--blue-600); transform: translateX(4px); }
.hero-tile__icon {
  flex: none;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.hero-tile__icon svg { width: 22px; height: 22px; }
.hero-tile:hover .hero-tile__icon { background: var(--navy-900); color: var(--blue-200); }
.hero-tile__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 24px; }
.hero-tile__title {
  font-family: var(--display); font-weight: 700;
  font-size: 18px; color: var(--navy-900); letter-spacing: -0.012em;
  line-height: 1.2;
}
.hero-tile__blurb {
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
}

/* accent tile — used on Ask HCC for slight visual prominence */
.hero-tile--accent {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-color: var(--navy-900);
  color: white;
}
.hero-tile--accent .hero-tile__title { color: white; }
.hero-tile--accent .hero-tile__blurb { color: rgba(255,255,255,0.78); }
.hero-tile--accent .hero-tile__icon {
  background: rgba(255,255,255,0.1);
  color: var(--blue-200);
}
.hero-tile--accent::after { color: rgba(255,255,255,0.6); }
.hero-tile--accent:hover {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  color: white;
  border-color: var(--blue-600);
}
.hero-tile--accent:hover .hero-tile__icon { background: var(--blue-600); color: white; }
.hero-tile--accent:hover::after { color: white; }

/* search */
.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  padding: 6px 6px 6px 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(30,91,170,0.12), var(--shadow-md); }
.search__icon { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input {
  flex: 1; min-width: 0;
  border: 0; padding: 14px 0;
  font-family: var(--sans); font-size: 16px;
  background: transparent; color: var(--ink);
  outline: none;
}
.search input::placeholder { color: var(--muted); }

/* quick chips */
.quick {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.quick__label {
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  margin-right: 4px;
}
.chip {
  font-family: var(--sans); font-size: 13px; font-weight: 500; cursor: pointer;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .12s, border .12s, color .12s;
}
.chip:hover { background: var(--blue-50); border-color: var(--blue-200); color: var(--navy-900); }
.chip[aria-pressed="true"] { background: var(--navy-900); color: white; border-color: var(--navy-900); }

/* hero ask card — primary AI CTA, surfaces the assistant up top */
.hero__ask {
  background: var(--navy-900);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero__ask::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(44,117,210,0.45), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero__ask::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -30%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(187,210,238,0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero__ask-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 16px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4FE08F;
  box-shadow: 0 0 0 0 rgba(79,224,143,.6);
  animation: pulse-green 1.8s infinite;
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(79,224,143,.6); }
  70% { box-shadow: 0 0 0 7px rgba(79,224,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,224,143,0); }
}
.hero__ask-head {
  font-family: var(--display); font-weight: 700;
  font-size: 24px; line-height: 1.15; letter-spacing: -0.012em;
  margin: 0 0 10px;
  color: white;
}
.hero__ask-body {
  margin: 0 0 22px;
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,0.78);
}
.btn--lg { padding: 13px 22px; font-size: 15px; }
.btn--secondary {
  box-shadow: 0 6px 18px -8px rgba(44,117,210,0.6);
}
.hero__ask-suggestions {
  list-style: none; padding: 0;
  margin: 22px 0 0;
  border-top: 1px dashed rgba(255,255,255,0.16);
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.hero__ask-suggestions button {
  display: block; width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 6px 0;
  color: rgba(255,255,255,0.72);
  font-family: var(--sans); font-size: 13.5px; font-style: italic;
  cursor: pointer;
  transition: color .15s, transform .15s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero__ask-suggestions li:last-child button { border-bottom: 0; }
.hero__ask-suggestions button:hover {
  color: white;
  transform: translateX(3px);
}
.hero__ask-suggestions button::before {
  content: "→ ";
  color: var(--blue-200);
  font-style: normal;
  margin-right: 4px;
}

/* ============= Sections ============= */
section { padding: clamp(44px, 5vw, 80px) 0; }
.cats { padding-top: clamp(40px, 5vw, 64px); }
.section-head { margin: 0 0 clamp(24px, 3vw, 36px); max-width: 720px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__kicker {
  font-family: var(--mono); font-size: 13px;
  color: var(--blue-600);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-head__kicker::before {
  content: "";
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--blue-600);
}
.section-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15; letter-spacing: -0.018em;
  color: var(--navy-900);
  margin: 0 0 10px;
}
.section-head__sub {
  margin: 0;
  font-size: 16px; color: var(--ink-2);
  max-width: 60ch;
}
.section-head--center .section-head__sub { margin: 0 auto; }

/* ============= Categories ============= */
.cats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.cat {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  cursor: pointer;
  transition: border-color .15s, transform .12s, box-shadow .15s, background .2s;
  text-align: left;
  font-family: inherit;
  color: inherit;
  display: flex; flex-direction: column;
  min-height: 172px;
  isolation: isolate;
  overflow: hidden;
}
.cat::before {
  content: "";
  position: absolute;
  inset: auto auto -50% -10%;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(30,91,170,0.08), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity .25s ease;
}
.cat:hover {
  border-color: var(--navy-900);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cat:hover::before { opacity: 1; }
.cat__icon {
  width: 28px; height: 28px;
  color: var(--blue-600);
  margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
}
.cat__icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.cat__name {
  font-family: var(--display); font-size: 19px; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.005em;
  color: var(--navy-900);
  margin: 0 0 6px;
}
.cat__blurb {
  font-size: 14px; color: var(--ink-2);
  margin: 0;
  flex: 1;
  line-height: 1.5;
}
.cat__arrow {
  position: absolute; top: 22px; right: 22px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color .15s, transform .15s;
  font-size: 16px;
}
.cat:hover .cat__arrow { color: var(--blue-600); transform: translate(2px, -2px); }

/* ============= Featured ============= */
.featured {
  background:
    linear-gradient(180deg, var(--blue-50) 0%, transparent 100%);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.featured__grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

/* ============= Filters ============= */
.directory { padding: clamp(40px, 4vw, 64px) 0; }
.filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 26px;
  display: flex; flex-direction: column;
  gap: 16px;
}
.filter { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.filter__label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.filter__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter--row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
}
@media (max-width: 720px) {
  .filter--row { grid-template-columns: 1fr 1fr; }
  .filter__reset { grid-column: span 2; justify-self: stretch; }
}
.select {
  font-family: var(--sans); font-size: 14px; padding: 10px 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: var(--radius);
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%238092A8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.select:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(30,91,170,0.15); }
.filter__reset {
  background: transparent; border: 1px solid var(--line); color: var(--ink-2);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  padding: 10px 16px; cursor: pointer;
  border-radius: var(--radius);
  transition: border-color .15s, color .15s, background .15s;
}
.filter__reset:hover { border-color: var(--alert); color: var(--alert); background: var(--alert-soft); }

/* ============= Cards ============= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column;
  outline: none;
}
.card:hover, .card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-900);
}
.card:focus-visible { outline: 3px solid var(--blue-200); outline-offset: 2px; }

.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.card__cats { display: inline-flex; flex-wrap: wrap; gap: 5px; }

.tag {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  padding: 3px 10px;
  background: var(--blue-50); color: var(--navy-900);
  border-radius: 999px;
  letter-spacing: 0.005em;
}
.tag--crisis { background: var(--alert-soft); color: var(--alert); }
.tag--free { background: #DAF1E4; color: var(--ok); }

.card__star { font-size: 14px; color: var(--star); display: none; }
.card.is-highlight .card__star { display: inline; }

.card__name {
  font-family: var(--display); font-weight: 700;
  font-size: 18px; line-height: 1.2; letter-spacing: -0.005em;
  color: var(--navy-900);
  margin: 0 0 6px;
}
.card__blurb {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 16px;
  flex: 1;
}
.card__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px;
  border-top: 1px solid var(--line-2);
  padding-top: 14px;
  margin: 0 0 14px;
}
.card__meta div { min-width: 0; }
.card__meta-langs { grid-column: span 2; }
.card__meta dt {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--muted); margin: 0 0 4px;
}
.card__meta dd { margin: 0; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; color: var(--ink); }

.card__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--line-2);
}
.card__phone {
  font-family: var(--mono); font-size: 14px; color: var(--ink); font-weight: 500;
}
.card__phone:hover { color: var(--blue-600); text-decoration: none; }
.card__more { font-size: 13.5px; color: var(--blue-600); font-weight: 600; }

.card.is-crisis::before {
  content: "";
  position: absolute; top: 16px; right: 16px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--alert);
  box-shadow: 0 0 0 0 rgba(193,59,42,.5);
  animation: pulse 1.8s infinite;
}

.empty {
  text-align: center;
  padding: 48px 20px;
  font-size: 16px; color: var(--ink-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

/* directory disclaimer banner */
.disclaimer {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-left: 3px solid var(--blue-600);
  background: var(--blue-50);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.disclaimer strong { color: var(--navy-900); font-weight: 700; }

/* modal-level disclaimer note */
.detail__note {
  margin: 18px 0 0;
  padding: 12px 14px;
  background: var(--blue-50);
  border-left: 3px solid var(--blue-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink-2);
}
.detail__note strong { color: var(--navy-900); font-weight: 700; }

/* directory pager — keeps the directory bounded so it doesn't dominate */
.pager {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pager__status {
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-2); letter-spacing: 0.02em;
}
.pager .btn--lg { min-width: 200px; }

/* ============= Assistant ============= */
.assistant {
  background:
    linear-gradient(180deg, var(--blue-50) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.assistant__card {
  max-width: 760px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.assistant__chat {
  background: var(--blue-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 140px; max-height: 460px;
  overflow-y: auto;
  margin-bottom: 14px;
  display: flex; flex-direction: column; gap: 14px;
}
.msg { max-width: 92%; }
.msg__who {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-2); display: block; margin-bottom: 5px;
}
.msg p { margin: 0; font-size: 14.5px; line-height: 1.55; }
/* Bot text flows as plain paragraphs — the suggestion items are the cards.
   This avoids "stacked bubbles" when an intro sits above a picks list. */
.msg--bot .msg__body > p {
  margin: 0 0 8px;
  color: var(--ink);
}
.msg--bot .msg__body > p:last-child { margin-bottom: 0; }
.msg--bot .msg__body > p.muted { color: var(--ink-2); }
.msg--bot a { color: var(--blue-600); }
.msg--user { align-self: flex-end; max-width: 84%; }
.msg--user .msg__who { text-align: right; color: var(--blue-600); }
.msg--user p {
  background: var(--navy-900); color: white;
  padding: 12px 14px;
  border-radius: var(--radius);
}
.msg--user p a { color: white; text-decoration: underline; }

.suggestion-list {
  display: grid; gap: 8px; margin: 10px 0 0;
}
.suggestion-list a {
  display: block;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  transition: border-color .15s, background .15s;
}
.suggestion-list a:hover {
  border-color: var(--navy-900);
  background: var(--blue-50);
  color: var(--navy-900);
  text-decoration: none;
}
.suggestion-list strong {
  font-family: var(--display); font-size: 16px;
  display: block;
  color: var(--navy-900);
  margin-bottom: 2px;
  font-weight: 700;
}
.assistant__form { display: flex; flex-direction: column; gap: 12px; }
.assistant__form textarea {
  width: 100%; resize: vertical;
  font-family: var(--sans); font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  min-height: 60px;
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.assistant__form textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(30,91,170,0.15);
}
.assistant__form-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
}

/* ============= About ============= */
.about__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 880px) { .about__wrap { grid-template-columns: 1fr; } }
.about__copy h2 {
  font-family: var(--display); font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 18px; color: var(--navy-900);
  letter-spacing: -0.018em;
  font-weight: 700;
}
.about__copy p { font-size: 16px; line-height: 1.65; max-width: 60ch; margin: 0 0 14px; color: var(--ink-2); }
.about__copy strong { color: var(--navy-900); font-weight: 600; }

.about__panel {
  background: var(--navy-900);
  color: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  position: sticky; top: 80px;
}
.about__panel h3 {
  font-family: var(--display); font-size: 18px; font-weight: 700;
  margin: 0 0 14px; color: white;
}
.legend {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.86);
}
.legend li { display: flex; gap: 10px; align-items: flex-start; }
.legend__icon {
  flex: none;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  color: white;
}
.legend__icon--dot {
  background: var(--alert);
  border-radius: 50%; width: 10px; height: 10px;
  margin: 6px 6px 0 6px;
}
.legend__icon--star { color: var(--star); background: rgba(201,168,107,0.15); }
.about__panel .small {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.6);
}

/* ============= Modal ============= */
.modal {
  border: none; padding: 0; background: transparent;
  max-width: 720px; width: 92%;
  margin: auto;
}
.modal::backdrop { background: rgba(10,31,68,0.78); backdrop-filter: blur(3px); }
.modal__body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3.5vw, 36px);
  position: relative;
  max-height: 86vh; overflow-y: auto;
}
.modal__close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: 0;
  font-size: 28px; line-height: 1; cursor: pointer;
  color: var(--muted);
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.modal__close:hover { background: var(--blue-50); color: var(--navy-900); }

/* ============= Suggestion form ============= */
.suggest__title {
  font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 6px; color: var(--navy-900);
  font-weight: 700; letter-spacing: -0.015em;
}
.suggest__lede {
  font-size: 15px; color: var(--ink-2);
  margin: 0 0 20px; max-width: 60ch; line-height: 1.55;
}
.suggest__form { display: flex; flex-direction: column; gap: 14px; }
.suggest__field { display: flex; flex-direction: column; gap: 6px; }
.suggest__field label {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink-2);
}
.suggest__field label .req { color: var(--alert); margin-left: 2px; }
.suggest__field input,
.suggest__field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.suggest__field textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.suggest__field input:focus,
.suggest__field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(30,91,170,0.15);
}
.suggest__field.is-error input,
.suggest__field.is-error textarea { border-color: var(--alert); }
.suggest__hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}
.suggest__actions {
  display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap;
  margin-top: 4px;
}
.suggest__status {
  margin: 0; min-height: 1.4em;
  font-size: 14px; line-height: 1.4;
  color: var(--ink-2);
}
.suggest__status.is-error { color: var(--alert); }
.suggest__status.is-ok { color: var(--ok); }
.suggest__fineprint { margin: 6px 0 0; }

.detail__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.detail__name {
  font-family: var(--display); font-size: clamp(24px, 3vw, 32px);
  margin: 8px 0 8px;
  font-weight: 700; line-height: 1.15; letter-spacing: -0.018em;
  color: var(--navy-900);
}
.detail__blurb {
  font-size: 16.5px; color: var(--ink-2);
  margin: 0 0 18px; max-width: 60ch;
  line-height: 1.55;
}
.detail__crisis {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600;
  color: var(--alert);
  background: var(--alert-soft);
  border-radius: var(--radius);
  padding: 8px 12px;
  margin-bottom: 18px;
}
.detail__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px; margin-top: 4px;
}
@media (max-width: 540px) { .detail__grid { grid-template-columns: 1fr; } }
.detail__grid dt {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted); margin-bottom: 4px;
}
.detail__grid dd { margin: 0; font-size: 15px; line-height: 1.5; }
.detail__actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.detail__tagrow { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.detail__map {
  margin: 22px 0 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--blue-50);
}
.detail__map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
@media (max-width: 540px) { .detail__map iframe { height: 220px; } }
.detail__map-caption {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--ink-600, rgba(10,31,68,0.65));
  background: var(--surface);
  border-top: 1px solid var(--line);
}

/* ============= Footer ============= */
.foot {
  background: var(--navy-900);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 24px;
  border-top: 4px solid var(--blue-600);
}
.foot__wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 760px) { .foot__wrap { grid-template-columns: 1fr; gap: 32px; } }
.foot__col h3 {
  font-family: var(--display); font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: white; margin: 0 0 14px;
}
.foot__col p { font-size: 14.5px; margin: 12px 0 6px; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 40ch; }
.foot__col p a { color: var(--blue-200); text-decoration: underline; text-decoration-color: rgba(187,210,238,0.4); text-underline-offset: 3px; }
.foot__col p a:hover { color: white; text-decoration-color: white; }
.foot__col p.small { color: rgba(255,255,255,0.5); margin-top: 8px; }
.foot__col--brand .brand { margin-bottom: 4px; }
.foot__list {
  list-style: none; padding: 0; margin: 0;
  font-size: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.foot__list a {
  color: white; font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.foot__list a:hover { color: var(--blue-200); text-decoration: underline; }
.foot__btn {
  background: transparent; border: 0; padding: 0; margin: 0;
  font: inherit; color: white; font-weight: 500;
  text-align: left; cursor: pointer;
  transition: color .15s;
}
.foot__btn:hover { color: var(--blue-200); text-decoration: underline; }
.foot__social {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 18px;
}
.foot__social-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.foot__social-link:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
  color: white;
}
.foot__social-link svg { flex-shrink: 0; }
.foot__hub {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin: 48px auto 0;
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: opacity .15s;
}
.foot__hub:hover { opacity: 0.85; }
.foot__hub-eyebrow {
  display: block;
  margin-top: 18px;
  font-family: var(--display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.foot__hub-link {
  display: inline-block;
  margin-top: 10px;
  transition: opacity .15s;
}
.foot__hub-link:hover { opacity: 0.85; }
.foot__hub-logo {
  display: block;
  width: auto; height: auto;
  max-width: 280px; max-height: 220px;
}
@media (max-width: 480px) { .foot__hub-logo { max-width: 220px; max-height: 180px; } }
.foot__legal {
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
  margin: 40px auto 0;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px clamp(20px, 4vw, 36px) 0;
  max-width: calc(80ch + 2 * clamp(20px, 4vw, 36px));
}
.foot__legal strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.foot__legal a { color: rgba(255,255,255,0.85); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.foot__legal a:hover { color: white; text-decoration-color: white; }

/* ============= Misc ============= */
::selection { background: var(--blue-200); color: var(--navy-900); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--blue-200); outline-offset: 2px;
}

/* ============= Floating Ask FAB ============= */
.fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy-900);
  color: white !important;
  text-decoration: none;
  padding: 13px 18px 13px 16px;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 28px -8px rgba(10,31,68,0.5), 0 4px 8px rgba(10,31,68,0.15);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .15s ease;
}
.fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.fab:hover {
  background: var(--blue-600);
  text-decoration: none;
  color: white;
}
.fab svg { width: 22px; height: 22px; }
.fab__label { letter-spacing: 0.005em; }
@media (max-width: 540px) {
  .fab__label { display: none; }
  .fab { padding: 14px; }
}
/* hide FAB once user is at the assistant section */
.fab.is-at-target { opacity: 0; pointer-events: none; }

/* back-to-top button (mirrors the Ask FAB on the opposite corner) */
.fab-top {
  position: fixed;
  left: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy-900);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 8px 22px -8px rgba(10,31,68,0.35), 0 2px 4px rgba(10,31,68,0.08);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.fab-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top.is-at-target { opacity: 0; pointer-events: none; }
.fab-top:hover {
  background: var(--navy-900);
  color: white;
  border-color: var(--navy-900);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============= Multi-page additions ============= */

/* Active nav indicator */
.site-nav__link {
  padding: 8px 14px;
  color: var(--ink); text-decoration: none;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  position: relative;
}
.site-nav__link:hover { background: var(--blue-50); color: var(--navy-900); text-decoration: none; }
.site-nav__link.is-active {
  color: var(--navy-900);
  font-weight: 700;
}
.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--blue-600);
  border-radius: 1px;
}
@media (max-width: 760px) {
  .site-nav__link.is-active::after { display: none; }
  .site-nav__link.is-active { background: var(--blue-50); }
}

/* Hero — centered home variant */
.hero--home { padding-bottom: clamp(48px, 6vw, 88px); text-align: center; }
.hero__wrap--center {
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__wrap--center .hero__lede { margin-left: auto; margin-right: auto; }
.hero__cta {
  margin-top: 28px;
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* Centered category grid for the home page */
.cats__grid--center {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
/* Anchor categories (used on home/about) inherit the same chrome as buttons */
a.cat {
  text-decoration: none;
  color: inherit;
}

/* Section-level page heads (replace the per-section header on multi-page) */
.page-head {
  padding: clamp(40px, 5vw, 72px) 0 clamp(20px, 2vw, 28px);
  background: linear-gradient(180deg, var(--blue-50) 0%, transparent 100%);
  border-bottom: 1px solid var(--line-2);
}
.page-head__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 6px 0 12px;
}
.page-head__sub {
  font-size: 16.5px; color: var(--ink-2);
  margin: 0; max-width: 60ch; line-height: 1.55;
}

/* Assistant page treatment */
.assistant--page { padding-top: clamp(28px, 3vw, 44px); }
.assistant--page .assistant__card {
  max-width: 1180px;
  padding: 28px;
}
.assistant--page .assistant__chat {
  min-height: 460px;
  max-height: min(70vh, 760px);
  padding: 18px;
  font-size: 15px;
}
.assistant--page .msg p { font-size: 15.5px; line-height: 1.6; }
.assistant--page .suggestion-list a { padding: 14px 16px; font-size: 15px; }
.assistant--page .suggestion-list strong { font-size: 17px; }
.assistant--page .assistant__form textarea {
  min-height: 90px;
  font-size: 16px;
}
.assistant__quickrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 18px;
}
.assistant__quicklabel {
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-2); letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 4px;
}
.quick-chip {
  background: white;
  border: 1px solid var(--line);
  color: var(--navy-900);
  font-family: var(--sans); font-weight: 500; font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .12s;
}
.quick-chip:hover {
  background: var(--blue-50);
  border-color: var(--navy-900);
  transform: translateY(-1px);
}
.quick-chip:active { transform: translateY(0); }
.assistant__card--page {
  min-height: 480px;
}
.msg__body { display: block; }
.msg__thinking,
.msg__refining {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0;
}
.msg__refining {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  width: 100%;
}
.msg__thinking > span:not(.muted):not(.small),
.msg__refining > span:not(.muted):not(.small) {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-600);
  display: inline-block;
  animation: msg-bounce 1.2s infinite ease-in-out;
}
.msg__thinking > span:nth-child(2),
.msg__refining > span:nth-child(2) { animation-delay: 0.15s; }
.msg__thinking > span:nth-child(3),
.msg__refining > span:nth-child(3) { animation-delay: 0.3s; }
@keyframes msg-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.suggestion-list a em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
/* Two-column turn layout: each user question gets one row containing the
   user message on top + a chat/matches grid below. */
.msg-turn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.msg-turn__user {
  align-self: flex-end;
  max-width: 84%;
}
.msg-turn__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.msg-turn__cols .msg {
  max-width: 100%;
  margin: 0;
}
.msg--chat .msg__body,
.msg--matches .msg__body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.msg--chat .msg__who { color: var(--blue-600); }
.msg--matches .msg__who { color: var(--ink-2); }
.msg--chat .msg__body p { font-size: 15px; line-height: 1.6; color: var(--ink); }
.msg--chat .msg__body p + p { margin-top: 8px; }
.msg--chat .msg__body strong { color: var(--navy-900); font-weight: 700; }
@media (max-width: 760px) {
  .msg-turn__cols {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.msg__more-picks { margin-top: 8px; }
.msg__see-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  padding: 8px 14px;
  background: transparent;
  border: 1px dashed var(--blue-600);
  border-radius: var(--radius);
  color: var(--blue-600);
  font: 500 13px var(--sans);
  cursor: pointer;
  transition: background .15s, color .15s, border-style .15s;
}
.msg__see-more:hover {
  background: var(--blue-600);
  color: white;
  border-style: solid;
}

/* Hub spotlight (about page) */
.hub-spotlight {
  background: linear-gradient(180deg, transparent 0%, var(--blue-50) 100%);
  border-top: 1px solid var(--line-2);
}
.hub-spotlight__wrap {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
}
.hub-spotlight__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 4px 0 0;
  color: var(--navy-900);
  max-width: 24ch;
  line-height: 1.2;
}
.hub-spotlight__logo-link { display: inline-block; transition: opacity .15s; }
.hub-spotlight__logo-link:hover { opacity: 0.85; }
.hub-spotlight__logo {
  display: block;
  width: auto; height: auto;
  max-width: 360px; max-height: 280px;
}
@media (max-width: 540px) {
  .hub-spotlight__logo { max-width: 260px; max-height: 220px; }
}
.hub-spotlight__lede {
  max-width: 60ch;
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
  margin: 0;
}
.hub-spotlight__cta {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 8px;
}

/* Hide back-to-top FAB at small heights / on home (no scroll need) */
body[data-page="home"] .fab-top { display: none; }
