/* ============================================================
   OpenOrg — atlas layout
   Designed for "scan everything in one read":
   - Big stats + single status-mix bar at top → the story at once
   - Per-company heat strip → relative scale + activity, click to filter
   - Atlas: company sections with team rows showing name · lead · status · focus
   - Click any team row → drawer with description, initiatives, sources
   ============================================================ */

:root {
  --bg:         #08051a;
  --bg-soft:    #0f0a1e;
  --bg-row:     rgba(255, 255, 255, 0.025);
  --bg-row-hi:  rgba(255, 255, 255, 0.05);
  --surface:    rgba(255, 255, 255, 0.025);
  --surface-2:  rgba(255, 255, 255, 0.04);
  --border:     rgba(255, 255, 255, 0.07);
  --border-2:   rgba(255, 255, 255, 0.12);

  --ink:        #f1ecff;
  --ink-2:      #e8e2f8;
  --ink-3:      #c4b9e0;
  --ink-mid:    #8a7faa;
  --ink-soft:   #6b5e8a;
  --ink-dim:    #4a3f6b;
  --ink-faint:  #2d2545;

  --accent:     #a78bfa;
  --accent-2:   #8b5cf6;

  --c-meta:     #0866FF;
  --c-apple:    #d8d8e0;
  --c-amazon:   #FF9900;
  --c-netflix:  #E50914;
  --c-google:   #4285F4;

  --st-fire:    #fb7185;
  --st-active:  #34d399;
  --st-steady:  #fbbf24;

  --ease-out:   cubic-bezier(0.23, 1, 0.32, 1);

  --font-display: 'Syne', system-ui, sans-serif;
  --font-prose:   'Lora', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: transparent; border: 0; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2d1f5e; border-radius: 4px; }
input::placeholder { color: var(--ink-dim); font-family: var(--font-display); }
input:focus { outline: none; }

body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(139,92,246,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(249,115,22,0.04) 0%, transparent 60%);
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.25rem 6rem;
}

/* ===== Top ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  transition: color 200ms var(--ease-out);
}
.back-link:hover { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } }

.brand {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.4rem;
}
.brand-icon {
  font-size: 1.875rem;
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.6));
  line-height: 1;
}
.brand-title {
  font-weight: 800;
  font-size: clamp(1.625rem, 3.2vw, 2.125rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--ink) 30%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-eyebrow {
  font-size: 0.6875rem;
  color: var(--ink-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.tagline {
  font-family: var(--font-prose);
  font-size: 0.9rem;
  color: var(--ink-mid);
  max-width: 50rem;
  line-height: 1.65;
  margin-top: 0.5rem;
}
.last-updated {
  font-size: 0.6875rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== Top stats + total status mix ===== */
.top-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
  margin: 1.25rem 0 1.5rem;
}
@media (max-width: 760px) { .top-stats { grid-template-columns: 1fr; } }

.stat-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  align-items: center;
}
.stat-cell { text-align: center; }
.stat-value {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-size: 0.625rem;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.status-mix {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.status-mix-label {
  font-size: 0.625rem;
  color: var(--ink-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.status-mix-bar {
  display: flex;
  height: 1.25rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.status-mix-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
  transition: flex 320ms var(--ease-out);
  min-width: 10px;
}
.seg-fire   { background: var(--st-fire); }
.seg-active { background: var(--st-active); }
.seg-steady { background: var(--st-steady); }

.status-mix-legend {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--ink-mid);
}
.status-mix-legend .dot {
  display: inline-block;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

/* ===== Heat strip (per-company bars) ===== */
.heat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.heat-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.625rem;
  color: var(--ink-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.heat-title .heat-hint {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.7rem;
  color: var(--ink-dim);
}
.heat-row {
  display: grid;
  grid-template-columns: 12rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0.625rem;
  transition: background 180ms var(--ease-out);
  text-align: left;
  width: 100%;
}
.heat-row:hover { background: var(--bg-row); }
.heat-row.is-active {
  background: rgba(167, 139, 250, 0.08);
  outline: 1px solid rgba(167, 139, 250, 0.2);
}
.heat-co {
  display: flex; align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ink-2);
  font-size: 0.875rem;
}
.heat-co .dot {
  display: inline-block;
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
}
.heat-bar-wrap {
  display: flex;
  height: 1rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  /* Width set inline based on team count fraction */
}
.heat-bar-seg {
  height: 100%;
}
.heat-counts {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-mid);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.heat-counts b { color: var(--ink-2); font-weight: 600; }

@media (max-width: 760px) {
  .heat-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .heat-counts { justify-self: start; }
}

/* ===== Search + status pills ===== */
.controls {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.25rem;
}
.search-box {
  flex: 1 1 18rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 0.75rem;
  padding: 0.25rem 0.25rem 0.25rem 1rem;
}
.search-box svg { flex-shrink: 0; color: var(--ink-soft); }
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--ink-2);
  padding: 0.625rem 0;
  min-width: 0;
}
.search-clear {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 0.4rem 0.625rem;
  color: var(--ink-mid);
  font-size: 0.6875rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.search-clear:hover { background: rgba(255, 255, 255, 0.14); color: var(--ink-2); }

.status-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.status-pill {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  color: var(--ink-mid);
  letter-spacing: 0.02em;
  transition: all 0.15s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.status-pill .dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
}
.status-pill.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--ink-2);
}

/* ===== Atlas ===== */
.atlas {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.company-section {
  scroll-margin-top: 4.5rem;
}
.company-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.875rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: baseline;
}
.company-h-name {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.company-h-name .dot {
  display: inline-block;
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
}
.company-h-meta {
  font-size: 0.75rem;
  color: var(--ink-mid);
}
.company-h-actions {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .company-header { grid-template-columns: 1fr; }
  .company-h-actions { justify-self: start; }
}

.company-summary {
  font-family: var(--font-prose);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-mid);
  max-width: 60rem;
  margin: 0 0 1.25rem 0;
}

.org-block {
  display: grid;
  gap: 0.625rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--border);
}
.org-block:first-of-type { border-top: 0; padding-top: 0.5rem; }

.org-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.4rem;
}
.org-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}
.org-name .org-abbr {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 500;
  vertical-align: middle;
}
.org-meta {
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.org-summary {
  font-family: var(--font-prose);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 56rem;
  margin: 0 0 0.5rem 0;
}

.team-rows { display: flex; flex-direction: column; }

.team-row {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 5.5rem 2fr;
  gap: 1rem;
  align-items: center;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  text-align: left;
  width: 100%;
  border-left: 2px solid transparent;
  transition: background 160ms var(--ease-out), border-left-color 160ms var(--ease-out);
}
.team-row + .team-row { margin-top: 1px; }
.team-row:hover {
  background: var(--bg-row-hi);
  border-left-color: var(--co-color, var(--accent));
}
.team-row.is-hidden { display: none; }
.team-row.is-squad { padding-left: 2rem; opacity: 0.92; }
.team-row.is-squad .team-name::before {
  content: '↳ ';
  color: var(--ink-soft);
  margin-right: 0.25rem;
}

.team-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-lead {
  font-size: 0.8125rem;
  color: var(--ink-mid);
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-lead.is-tbd { color: var(--ink-dim); }

.team-status {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.team-status .dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
}
.team-focus {
  font-size: 0.8125rem;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-focus .sep { color: var(--ink-dim); margin: 0 0.4em; }
.team-row .team-meta-extras {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

@media (max-width: 880px) {
  .team-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name status"
      "lead lead"
      "focus focus";
    gap: 0.3rem 0.75rem;
    padding: 0.75rem 0.875rem;
  }
  .team-name  { grid-area: name; }
  .team-lead  { grid-area: lead; }
  .team-status{ grid-area: status; }
  .team-focus { grid-area: focus; white-space: normal; }
}

/* Empty state */
.empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

/* ===== Sticky company nav (top of viewport when scrolling) ===== */
.co-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  backdrop-filter: saturate(160%) blur(8px);
  padding: 0.5rem 0;
  margin: 0 -1.25rem 1rem;
  padding-inline: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.co-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--ink-mid);
  white-space: nowrap;
}
.co-nav-pill:hover { color: var(--ink); border-color: var(--border-2); }
.co-nav-pill .dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; }

/* ===== Drawer (unchanged behavior, slightly cleaner) ===== */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.drawer-overlay.is-open { display: flex; }
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.drawer-panel {
  position: relative; z-index: 1;
  width: 100%;
  max-width: 760px;
  max-height: 86vh;
  background: var(--bg-soft);
  border-radius: 1.25rem 1.25rem 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(40px);
  opacity: 0;
  transition: opacity 240ms var(--ease-out), transform 280ms var(--ease-out);
}
.drawer-overlay.is-open .drawer-panel {
  transform: translateY(0);
  opacity: 1;
}
.drawer-head {
  flex-shrink: 0;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--accent-border, var(--border-2));
  background: linear-gradient(135deg, var(--accent-bg-1, rgba(167,139,250,0.1)), var(--accent-bg-2, rgba(167,139,250,0.04)));
}
.drawer-head-row {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 0.75rem;
}
.crumb {
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.crumb b { color: var(--accent-text, var(--accent)); font-weight: 600; }
.drawer-eyebrow {
  font-size: 0.6875rem;
  color: var(--accent-text, var(--accent));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}
.drawer-title {
  font-weight: 800;
  font-size: clamp(1rem, 4vw, 1.4rem);
  color: var(--ink);
  line-height: 1.2;
}
.drawer-actions {
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
}
.status-badge {
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  font-family: var(--font-display);
}
.status-fire   { background: rgba(251,113,133,0.12); border: 1px solid rgba(251,113,133,0.35); color: var(--st-fire); }
.status-active { background: rgba(52,211,153,0.10);  border: 1px solid rgba(52,211,153,0.30);  color: var(--st-active); }
.status-steady { background: rgba(251,191,36,0.10);  border: 1px solid rgba(251,191,36,0.30);  color: var(--st-steady); }
.drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-2);
  border-radius: 0.5rem;
  width: 2rem; height: 2rem;
  color: var(--ink-mid);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.drawer-close:hover { background: rgba(255, 255, 255, 0.12); color: var(--ink); }
.tag-row { margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  background: var(--accent-bg-1, rgba(167,139,250,0.14));
  border: 1px solid var(--accent-border, rgba(167,139,250,0.3));
  border-radius: 0.3rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.6875rem;
  color: var(--accent-text, var(--accent));
  opacity: 0.92;
}
.drawer-body {
  overflow-y: auto;
  padding: 1.5rem 1.625rem 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.drawer-desc {
  font-family: var(--font-prose);
  font-size: 0.9375rem; line-height: 1.75;
  color: var(--ink-3);
}
.drawer-section-title {
  font-weight: 700; font-size: 0.6875rem;
  color: var(--accent-text, var(--accent));
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.drawer-section-title::before, .drawer-section-title::after {
  content: ''; width: 1.25rem; height: 1px;
  background: var(--accent-text, var(--accent)); opacity: 0.5;
}
.drawer-section-title::after { flex: 1; }

.initiatives { display: flex; flex-direction: column; gap: 0.5rem; }
.initiative {
  display: flex; gap: 0.75rem;
  align-items: flex-start;
  padding: 0.625rem 0.875rem;
  background: var(--accent-bg-soft, rgba(167,139,250,0.05));
  border: 1px solid var(--accent-border-soft, rgba(167,139,250,0.18));
  border-radius: 0.625rem;
}
.initiative-dot {
  width: 0.375rem; height: 0.375rem; border-radius: 50%;
  background: var(--accent-text, var(--accent));
  margin-top: 0.45rem; flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent-text, var(--accent));
}
.initiative-text {
  font-family: var(--font-prose);
  font-size: 0.8125rem; line-height: 1.55;
  color: #b0a4cc;
}
.signals-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.625rem;
  padding: 0.875rem 1rem;
}
.signals-box .label {
  font-size: 0.625rem; color: var(--ink-soft);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.signals-box p {
  font-family: var(--font-prose);
  font-style: italic;
  font-size: 0.8125rem; line-height: 1.6;
  color: #7c6fa0;
}
.signals-box a {
  display: inline-block;
  margin-top: 0.5rem; margin-right: 0.75rem;
  font-size: 0.6875rem;
  color: var(--accent);
  border-bottom: 1px dashed var(--accent);
  padding-bottom: 1px;
}
.signals-box a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.squads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}
@media (max-width: 600px) { .squads { grid-template-columns: 1fr; } }
.squad-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 0.75rem 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: background 160ms var(--ease-out);
}
.squad-card:hover { background: rgba(255, 255, 255, 0.04); }
.squad-card h4 {
  font-size: 0.8125rem; font-weight: 700;
  color: var(--ink-2); margin-bottom: 0.2rem;
}
.squad-card .squad-focus {
  font-size: 0.6875rem;
  color: var(--accent-text, var(--accent));
  opacity: 0.78; margin-bottom: 0.4rem;
}
.squad-card p {
  font-family: var(--font-prose);
  font-size: 0.75rem;
  color: var(--ink-mid);
  line-height: 1.55;
}

/* ===== Footer ===== */
.footer {
  margin-top: 4rem;
  text-align: center;
  font-size: 0.6875rem;
  color: var(--ink-faint);
  line-height: 1.7;
}
.footer .ornament { color: var(--ink-dim); }
.footer a { color: var(--ink-soft); border-bottom: 1px dashed transparent; }
.footer a:hover { color: var(--ink-2); border-bottom-color: var(--ink-2); }

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