/*
 * THE token mapping file (docs/HANDOFF.md section 4.2).
 *
 * Each line maps an internal --eoe-* alias to a Webflow site variable, with the
 * Figma value as the fallback. Component CSS uses only the --eoe-* aliases, so
 * when BX supplies the real Webflow Variable names ("Copy CSS" in the Variables
 * panel), only the inner name on each line changes.
 *
 * The inner names below are placeholders from docs/audience-selector/SPEC.md
 * section 4 until BX confirms them. Site variables cross the Shadow DOM
 * boundary because custom properties inherit, so site values win and the
 * fallbacks apply only when the site doesn't define the variable.
 *
 * Applied on .eoe-root, the root element of every component.
 */
.eoe-root {
  /* Typography (SPEC 4.1) */
  --eoe-font-family: var(--font-family-secondary, Inter);
  --eoe-font-size-caption: var(--font-size-caption, 12px);
  --eoe-font-size-body-sm: var(--font-size-body-sm, 14px);
  --eoe-font-size-body-lg: var(--font-size-body-lg, 18px);
  --eoe-font-size-heading-xl: var(--font-size-heading-xl, 40px);

  /* Spacing (SPEC 4.1) */
  --eoe-space-none: var(--space-none, 0);
  --eoe-space-2xs: var(--space-2xs, 4px);
  --eoe-space-xs: var(--space-xs, 8px);
  --eoe-space-sm: var(--space-sm, 12px);
  --eoe-space-md: var(--space-md, 16px);
  --eoe-space-lg: var(--space-lg, 24px);

  /* Radius (SPEC 4.1) */
  --eoe-radius-none: var(--radius-none, 0);
  --eoe-radius-xs: var(--radius-xs, 4px);
  --eoe-radius-sm: var(--radius-sm, 8px);
  --eoe-radius-lg: var(--radius-lg, 16px);
  --eoe-radius-full: var(--radius-full, 999px);

  /* Color (SPEC 4.1) */
  --eoe-color-background-canvas: var(--color-background-canvas, rgba(255, 255, 255, 0.1));
  --eoe-color-background-surface-4: var(--color-background-surface-4, #ecf785);
  --eoe-color-text-link-3: var(--color-text-link-3, #004bd7);
  --eoe-color-border-subtle: var(--color-border-subtle, rgba(255, 255, 255, 0.3));

  /* Values Figma hard-codes, made tokens (SPEC 4.2) */
  --eoe-color-text-on-glass: var(--color-text-on-glass, #ffffff);
  --eoe-color-text-on-glass-muted: var(--color-text-on-glass-muted, rgba(255, 255, 255, 0.5));
  --eoe-color-border-on-glass: var(--color-border-on-glass, rgba(255, 255, 255, 0.5));
  --eoe-color-border-card: var(--color-border-card, rgba(255, 255, 255, 0.9));
  --eoe-shadow-segment-selected: var(--shadow-segment-selected, 0 2px 2px rgba(15, 23, 42, 0.08));
  --eoe-blur-glass: var(--blur-glass, 10px);

  /* Component-level values not in Figma's variables. Internal only: no site variable to follow. */
  --eoe-color-focus-ring: rgba(255, 255, 255, 0.9);
  --eoe-color-option-text: #0e1b3d;
  --eoe-color-option-background: #ffffff;
  --eoe-tracking-title: -0.0036px;
  --eoe-tracking-label: 0.006px;
  --eoe-tracking-count: -0.4px;
  --eoe-size-card-max-width: 460px;
  --eoe-size-avatar: 32px;
  --eoe-size-avatar-overlap: -11px;
  --eoe-size-control-height: 40px;
  --eoe-size-chevron: 14px;
  --eoe-size-hairline: 1px;
  --eoe-size-avatar-border: 1.5px; /* Matt, 2026-10-15: lighter than the 2px in SPEC 3.2 */
  --eoe-size-focus-ring: 2px;

  /*
   * Outcomes Report (docs/outcomes-report/SPEC.md section 5). The glass tokens above are shared.
   * The spec suggests generic names such as --color-text-primary. Those are renamed "on-glass"
   * here so a site's own text colors (meant for white backgrounds) can't leak into the card.
   */
  --eoe-color-accent: var(--color-accent-green, #ecf785);
  --eoe-color-accent-ink: var(--color-accent-green-ink, #3a3f06);
  --eoe-color-text-on-glass-body: var(--color-text-on-glass-body, rgba(255, 255, 255, 0.88));
  --eoe-color-text-on-glass-heading: var(--color-text-on-glass-heading, rgba(255, 255, 255, 0.75));
  --eoe-color-text-on-glass-soft: var(--color-text-on-glass-soft, rgba(255, 255, 255, 0.6));
  --eoe-color-border-tab: var(--color-border-tab, rgba(255, 255, 255, 0.6));
  --eoe-color-fill-tab-number: var(--color-fill-tab-number, rgba(255, 255, 255, 0.15));
  --eoe-color-fill-tab-hover: var(--color-fill-tab-hover, rgba(255, 255, 255, 0.08));
  --eoe-color-divider-on-glass: var(--color-divider-on-glass, rgba(255, 255, 255, 0.3));
  --eoe-color-divider-row-on-glass: var(--color-divider-row-on-glass, rgba(255, 255, 255, 0.2));
  --eoe-color-badge-orange: var(--color-badge-orange, #f5b27a);
  --eoe-color-badge-orange-fill: var(--color-badge-orange-fill, rgba(245, 178, 122, 0.22));
  --eoe-color-badge-purple: var(--color-badge-purple, #d9a8ff);
  --eoe-color-badge-purple-fill: var(--color-badge-purple-fill, rgba(190, 130, 255, 0.18));
  --eoe-color-pill-teal: var(--color-pill-teal, #8ef0cf);
  --eoe-color-pill-teal-fill: var(--color-pill-teal-fill, rgba(110, 230, 190, 0.16));
  --eoe-color-pill-sky: var(--color-pill-sky, #b8d4ff);
  --eoe-color-pill-sky-fill: var(--color-pill-sky-fill, rgba(160, 200, 255, 0.16));

  /* Outcomes Report sizes from the prototype. Internal only. */
  --eoe-or-size-max-width: 994px;
  --eoe-or-size-tab-width: 220px;
  --eoe-or-size-tab-number: 38px;
  --eoe-or-size-tab-number-compact: 30px;
  --eoe-or-size-row-min: 50px;
  --eoe-or-size-subtitle-max: 520px;
  --eoe-or-col-physician: 210px;
  --eoe-or-col-engaged: 260px;
  --eoe-or-col-time: 52px;
  --eoe-or-col-depth: 136px;
  --eoe-or-space-3xs: 2px;
  --eoe-or-space-tab-desc: 10px;
  --eoe-or-space-stack: 20px;
  --eoe-or-space-card-y: 28px;
  --eoe-or-space-card-x: 36px;
  --eoe-or-radius-badge: 6px;
  --eoe-or-font-size-title: 20px;
  --eoe-or-font-size-title-compact: 18px;
  --eoe-or-font-size-stat-value: 24px;
  --eoe-or-font-size-stat-value-compact: 20px;
  --eoe-or-font-size-badge: 12.5px;
  --eoe-or-font-size-pill: 11.5px;
  --eoe-or-font-size-stat-label: 11px;
  --eoe-or-font-size-table: 13px;
  --eoe-or-font-size-table-detail: 11px;
  --eoe-or-font-size-reveal: 10.5px;
  --eoe-or-badge-padding: 4px 10px;
  --eoe-or-pill-padding: 3px 9px;
  --eoe-or-reveal-padding: 1px 7px;
  --eoe-or-tab-padding: 2px 16px 2px 2px;
  --eoe-or-blur-locked: 7px;
  --eoe-or-opacity-locked: 0.55;
  --eoe-or-focus-offset: 3px;
  --eoe-or-duration-reveal: 500ms;
  --eoe-or-duration-tab: 200ms;

  /* ---- Author Roster (docs/author-roster/SPEC.md section 6) ----
   * Inner names follow the Figma variable names (fill/blue-200 -> --fill-blue-200).
   * They are literal palette names, so a matching site variable holds the same value.
   * Fonts: the site's --font-primary / --font-accent win when BX defines them (SPEC 6). */
  --eoe-ar-font-primary: var(--font-primary, "Gotham Pro", system-ui, -apple-system, sans-serif);
  --eoe-ar-font-accent: var(--font-accent, "Tiempos Text", Georgia, serif);
  --eoe-ar-color-blue-200: var(--fill-blue-200, #dde9ff);
  --eoe-ar-color-blue-50: var(--fill-blue-50, #f8faff);
  --eoe-ar-color-blue-800: var(--fill-blue-800, #004bd7);
  --eoe-ar-color-blue-800-15: var(--fill-blue-800-15, rgba(0, 75, 215, 0.15));
  --eoe-ar-color-ink: var(--fill-black, #000000);
  --eoe-ar-color-ink-75: var(--fill-black-75, rgba(0, 0, 0, 0.75));
  --eoe-ar-color-ink-40: var(--fill-black-40, rgba(0, 0, 0, 0.4));
  --eoe-ar-color-stroke-7: var(--stroke-black-7, rgba(0, 0, 0, 0.07));
  --eoe-ar-color-stroke-15: var(--stroke-black-15, rgba(0, 0, 0, 0.15));
  --eoe-ar-color-green: var(--button-green, #ecf785);
  --eoe-ar-color-green-950: var(--fill-green-950, #3a3f06);
  --eoe-ar-color-white: var(--fill-white, #ffffff);
  /* Internal sizes (SPEC 6 element table). No site variable to follow. */
  --eoe-ar-font-size-16: 16px;
  --eoe-ar-font-size-20: 20px;
  --eoe-ar-font-size-32: 32px;
  --eoe-ar-font-size-28: 28px;
  --eoe-ar-font-size-18: 18px;
  --eoe-ar-space-2: 2px;
  --eoe-ar-space-20: 20px;
  --eoe-ar-space-32: 32px;
  --eoe-ar-space-40: 40px;
  --eoe-ar-radius-avatar: 2px;
  --eoe-ar-size-max-width: 1312px;
  --eoe-ar-size-panel-height: 488px;
  --eoe-ar-size-list-height-stacked: 336px;
  --eoe-ar-size-content-height-stacked: 420px;
  --eoe-ar-size-avatar: 44px;
  --eoe-ar-size-board-photo: 200px;
  --eoe-ar-size-board-photo-narrow: 120px;
  --eoe-ar-size-blurb: 346px;
  --eoe-ar-size-thumb: 120px;
  --eoe-ar-size-thumb-narrow: 88px;
  --eoe-ar-size-card-height: 64px;
  --eoe-ar-size-search-height: 46px;
  --eoe-ar-size-icon: 24px;
  --eoe-ar-size-icon-sm: 16px;
  --eoe-ar-size-tab-height: 44px;
  --eoe-ar-size-tab-number: 36px;
  --eoe-ar-size-scrollbar: 6px;
  --eoe-ar-size-scroll-gutter: 14px;
  --eoe-ar-size-focus-ring: 2px;
}

/*
 * Author Roster styles (docs/author-roster/SPEC.md sections 5 and 6).
 * Every value comes from a --eoe-* alias in src/tokens/tokens.css; scripts/check-tokens.ts
 * fails CI on bare colors or pixel sizes here.
 *
 * .ar-root is the single root element and its own size container (HANDOFF 4.6); the
 * @container rules style .ar-layout and everything inside it (a container can't query itself).
 * Wide: two columns (list | panel). Below 760px of component width: stacked.
 */
.ar-root {
  container-type: inline-size;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--eoe-ar-size-max-width);
  font-family: var(--eoe-ar-font-primary);
  font-weight: 400;
  line-height: 1.3;
  color: var(--eoe-ar-color-ink);
  text-align: left;
}

.ar-root *,
.ar-root *::before,
.ar-root *::after {
  box-sizing: border-box;
}

/* Zero-specificity resets, so component classes win without !important. */
:where(.ar-root) :where(p, h3, ul, blockquote) {
  margin: 0;
  padding: 0;
}

:where(.ar-root) :where(ul) {
  list-style: none;
}

:where(.ar-root) :where(button, input) {
  font: inherit;
  color: inherit;
}

.ar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--eoe-space-lg);
}

.ar-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Left column: search or tabs, then the list ---------- */

.ar-people {
  display: flex;
  flex-direction: column;
  gap: var(--eoe-space-sm);
  min-width: 0;
}

.ar-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--eoe-space-2xs);
  padding: var(--eoe-ar-space-2) var(--eoe-ar-space-2) var(--eoe-ar-space-2) var(--eoe-space-sm);
  margin-right: var(--eoe-ar-size-scroll-gutter);
  background: var(--eoe-ar-color-white);
  border: var(--eoe-size-hairline) solid var(--eoe-ar-color-stroke-15);
  border-radius: var(--eoe-radius-xs);
}

.ar-search:focus-within {
  outline: var(--eoe-ar-size-focus-ring) solid var(--eoe-ar-color-blue-800);
  outline-offset: var(--eoe-size-hairline);
}

.ar-search-icon {
  flex-shrink: 0;
  width: var(--eoe-ar-size-icon);
  height: var(--eoe-ar-size-icon);
  color: var(--eoe-ar-color-ink-40);
}

.ar-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: var(--eoe-ar-size-search-height);
  padding: 0;
  font-size: var(--eoe-font-size-body-sm);
  font-weight: 500; /* Matt, 2026-10-16: Gotham Pro Medium (the spec had Regular) */
  line-height: 1.3;
  background: transparent;
  border: 0;
  outline: none;
}

.ar-search-input::placeholder {
  color: var(--eoe-ar-color-ink-40);
  opacity: 1;
}

/* Tabs (Editorial Board): same style as the "Three Levels of Reporting" tabs (SPEC 5.4). */
.ar-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--eoe-space-sm);
  margin-bottom: var(--eoe-ar-space-20);
}

.ar-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--eoe-space-md);
  min-height: var(--eoe-ar-size-tab-height);
  margin: 0;
  padding: var(--eoe-space-2xs) var(--eoe-space-md) var(--eoe-space-2xs) var(--eoe-space-2xs);
  font-size: var(--eoe-font-size-body-sm);
  font-weight: 500;
  color: var(--eoe-ar-color-ink-40);
  background: var(--eoe-ar-color-white);
  border: var(--eoe-size-hairline) solid var(--eoe-ar-color-stroke-7);
  border-radius: var(--eoe-radius-xs);
  cursor: pointer;
}

.ar-tab:hover {
  color: var(--eoe-ar-color-ink-75);
}

.ar-tab-number {
  display: inline-grid;
  place-items: center;
  width: var(--eoe-ar-size-tab-number);
  height: var(--eoe-ar-size-tab-number);
  background: var(--eoe-ar-color-stroke-7);
  border-radius: var(--eoe-ar-radius-avatar);
}

.ar-tab[aria-selected="true"] {
  color: var(--eoe-ar-color-green-950);
  background: var(--eoe-ar-color-green);
  border-color: var(--eoe-ar-color-green);
}

.ar-tab[aria-selected="true"] .ar-tab-number {
  color: var(--eoe-ar-color-green);
  background: var(--eoe-ar-color-green-950);
}

/* The list scrolls inside its own column, with a thin blue pill scrollbar (SPEC 5.1). */
.ar-list-scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: var(--eoe-ar-size-list-height-stacked);
  padding-right: var(--eoe-space-xs);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.ar-list-scroll::-webkit-scrollbar,
.ar-content::-webkit-scrollbar {
  width: var(--eoe-ar-size-scrollbar);
}

.ar-list-scroll::-webkit-scrollbar-track,
.ar-content::-webkit-scrollbar-track {
  background: transparent;
}

.ar-list-scroll::-webkit-scrollbar-thumb,
.ar-content::-webkit-scrollbar-thumb {
  background: var(--eoe-ar-color-blue-800-15);
  border-radius: var(--eoe-radius-full);
}

@supports not selector(::-webkit-scrollbar) {
  .ar-list-scroll,
  .ar-content {
    scrollbar-width: thin;
    scrollbar-color: var(--eoe-ar-color-blue-800-15) transparent;
  }
}

.ar-list {
  display: flex;
  flex-direction: column;
  gap: var(--eoe-space-sm);
}

.ar-row {
  display: flex;
  align-items: center;
  gap: var(--eoe-space-sm);
  width: 100%;
  margin: 0;
  padding: var(--eoe-space-xs) var(--eoe-space-md) var(--eoe-space-xs) var(--eoe-space-xs);
  text-align: left;
  color: var(--eoe-ar-color-ink-40);
  background: var(--eoe-ar-color-white);
  border: var(--eoe-size-hairline) solid var(--eoe-ar-color-stroke-7);
  border-radius: var(--eoe-radius-xs);
  cursor: pointer;
}

.ar-row:hover {
  border-color: var(--eoe-ar-color-stroke-15);
}

.ar-row:hover .ar-row-name {
  color: var(--eoe-ar-color-ink-75);
}

.ar-row[aria-pressed="true"] {
  color: var(--eoe-ar-color-ink-75);
  background: var(--eoe-ar-color-blue-200);
  border-color: var(--eoe-ar-color-blue-200);
}

.ar-row[aria-pressed="true"] .ar-row-name {
  color: var(--eoe-ar-color-ink);
}

.ar-row:focus-visible,
.ar-tab:focus-visible,
.ar-card-link:focus-visible {
  outline: var(--eoe-ar-size-focus-ring) solid var(--eoe-ar-color-blue-800);
  outline-offset: calc(var(--eoe-ar-size-focus-ring) * -1);
}

.ar-avatar {
  flex-shrink: 0;
  width: var(--eoe-ar-size-avatar);
  height: var(--eoe-ar-size-avatar);
  border-radius: var(--eoe-ar-radius-avatar);
  object-fit: cover;
}

.ar-initials {
  display: inline-grid;
  place-items: center;
  font-family: var(--eoe-ar-font-primary);
  font-weight: 500;
  font-size: var(--eoe-font-size-body-sm);
  color: var(--eoe-ar-color-blue-800);
  background: var(--eoe-ar-color-blue-200);
}

.ar-row[aria-pressed="true"] .ar-initials {
  background: var(--eoe-ar-color-white);
}

.ar-row-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--eoe-space-2xs);
  min-width: 0;
}

.ar-row-name {
  font-family: var(--eoe-ar-font-accent);
  font-size: var(--eoe-ar-font-size-16);
  line-height: 1.5;
}

.ar-row-detail {
  font-size: var(--eoe-font-size-caption);
  line-height: 1.3;
}

.ar-row-arrow {
  flex-shrink: 0;
  margin-left: var(--eoe-space-sm);
  width: var(--eoe-ar-size-icon);
  height: var(--eoe-ar-size-icon);
  color: var(--eoe-ar-color-blue-800);
}

.ar-empty {
  padding: var(--eoe-space-md) var(--eoe-space-xs);
  font-size: var(--eoe-font-size-body-sm);
  color: var(--eoe-ar-color-ink-75);
}

/* ---------- Right panel ---------- */

.ar-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--eoe-space-lg);
  min-width: 0;
  padding: var(--eoe-ar-space-20);
  background: var(--eoe-ar-color-blue-200);
  border-radius: var(--eoe-radius-sm);
  scroll-margin-top: var(--eoe-space-md);
}

.ar-eyebrow {
  font-size: var(--eoe-font-size-caption);
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--eoe-ar-color-blue-800);
}

.ar-quote {
  font-family: var(--eoe-ar-font-accent);
  font-size: var(--eoe-ar-font-size-18);
  line-height: 1.4;
  color: var(--eoe-ar-color-ink);
}

.ar-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--eoe-space-sm);
  min-height: 0;
  max-height: var(--eoe-ar-size-content-height-stacked);
  padding-right: var(--eoe-space-xs);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ar-card {
  display: flex;
  flex-shrink: 0;
  min-height: var(--eoe-ar-size-card-height);
  background: var(--eoe-ar-color-blue-50);
  border-radius: var(--eoe-radius-sm);
}

.ar-thumb {
  display: block;
  flex-shrink: 0;
  width: var(--eoe-ar-size-thumb-narrow);
  min-height: var(--eoe-ar-size-card-height);
  object-fit: cover;
  border-radius: var(--eoe-radius-sm) 0 0 var(--eoe-radius-sm);
}

.ar-thumb--empty {
  background: var(--eoe-ar-color-blue-800-15);
}

/* Narrow: title on top (up to 2 lines), link underneath. */
.ar-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: var(--eoe-space-2xs);
  min-width: 0;
  padding: var(--eoe-space-sm) var(--eoe-space-md);
}

/* Matt, 2026-10-16: Medium (the spec had Light) and up to 2 lines at every width (the spec had 1). */
.ar-card-title {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 500;
  font-size: var(--eoe-font-size-body-sm);
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.ar-card-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  align-self: flex-start;
  gap: var(--eoe-space-2xs);
  font-size: var(--eoe-font-size-body-sm);
  line-height: 1.3;
  color: var(--eoe-ar-color-blue-800);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--eoe-radius-xs);
}

.ar-card-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ar-link-icon {
  width: var(--eoe-ar-size-icon-sm);
  height: var(--eoe-ar-size-icon-sm);
}

/* Bio card (Editorial Board). Narrow: photo above the name. */
.ar-bio-header {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: var(--eoe-space-md);
}

.ar-bio-heading {
  display: flex;
  flex-direction: column;
  gap: var(--eoe-space-xs);
  min-width: 0;
}

.ar-bio-name {
  margin-bottom: var(--eoe-space-xs);
  font-family: var(--eoe-ar-font-accent);
  font-size: var(--eoe-ar-font-size-28);
  font-weight: 400;
  line-height: 1.2;
  color: var(--eoe-ar-color-ink);
}

.ar-bio-meta {
  font-size: var(--eoe-font-size-body-sm);
  line-height: 1.3;
  color: var(--eoe-ar-color-ink-75);
}

.ar-bio-photo {
  flex-shrink: 0;
  width: var(--eoe-ar-size-board-photo-narrow);
  height: var(--eoe-ar-size-board-photo-narrow);
  border-radius: var(--eoe-radius-xs);
  object-fit: cover;
}

.ar-bio-photo.ar-initials {
  font-family: var(--eoe-ar-font-accent);
  font-size: var(--eoe-ar-font-size-32);
  font-weight: 400;
  background: var(--eoe-ar-color-blue-50);
}

.ar-bio-blurb {
  max-width: var(--eoe-ar-size-blurb);
  font-size: var(--eoe-ar-font-size-16);
  font-weight: 300;
  line-height: 1.5;
}

/* ---------- Wider than a phone: full-size cards and quote ---------- */
@container (min-width: 480px) {
  .ar-panel {
    padding: var(--eoe-ar-space-32);
  }

  .ar-quote {
    font-size: var(--eoe-ar-font-size-20);
  }

  .ar-thumb {
    width: var(--eoe-ar-size-thumb);
  }

  .ar-card-body {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--eoe-space-sm);
    padding: var(--eoe-ar-space-20);
  }

  .ar-card-title {
    font-size: var(--eoe-ar-font-size-16);
  }

  .ar-card-link {
    align-self: center;
  }

  .ar-bio-header {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--eoe-space-lg);
  }

  .ar-bio-name {
    font-size: var(--eoe-ar-font-size-32);
  }

  .ar-bio-photo {
    width: var(--eoe-ar-size-board-photo);
    height: var(--eoe-ar-size-board-photo);
  }

  .ar-bio-blurb {
    margin-top: var(--eoe-space-md);
  }
}

/* ---------- Two columns (SPEC 6: 2 x 640px, 32px gap, panel 488px tall) ---------- */
@container (min-width: 760px) {
  .ar-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--eoe-ar-space-32);
    align-items: start;
  }

  .ar-people {
    height: var(--eoe-ar-size-panel-height);
  }

  .ar-list-scroll {
    max-height: none;
  }

  .ar-panel {
    height: var(--eoe-ar-size-panel-height);
  }

  .ar-content {
    max-height: none;
  }

  .ar-root--board .ar-panel {
    height: auto;
    min-height: var(--eoe-ar-size-panel-height);
  }

  .ar-bio-blurb {
    margin-top: var(--eoe-ar-space-40);
  }
}

/* Loading and error states for content fetched from Sanity on click (SPEC 5.3). */
.ar-card--skeleton .ar-thumb,
.ar-skeleton-line {
  animation: ar-pulse 1.2s ease-in-out infinite alternate;
}

.ar-skeleton-line {
  display: block;
  width: 70%;
  height: var(--eoe-space-sm);
  border-radius: var(--eoe-radius-xs);
  background: var(--eoe-ar-color-blue-800-15);
}

@keyframes ar-pulse {
  to {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ar-card--skeleton .ar-thumb,
  .ar-skeleton-line {
    animation: none;
  }
}

.ar-load-error {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--eoe-space-sm);
  font-size: var(--eoe-font-size-body-sm);
  color: var(--eoe-ar-color-ink-75);
}

.ar-load-error p {
  margin: 0;
}

.ar-retry {
  padding: var(--eoe-space-xs) var(--eoe-space-md);
  border: var(--eoe-size-hairline) solid var(--eoe-ar-color-blue-800);
  border-radius: var(--eoe-radius-xs);
  background: transparent;
  font: inherit;
  font-weight: 500;
  color: var(--eoe-ar-color-blue-800);
  cursor: pointer;
}

.ar-retry:focus-visible {
  outline: var(--eoe-ar-size-focus-ring) solid var(--eoe-ar-color-blue-800);
  outline-offset: var(--eoe-ar-size-focus-ring);
}

