/* ==============================================================
   GREENVILLE TRIUMPH MATCH DAY GUIDE, BRANDPAD-EXACT EDITION
   Comparison build: every value below is either documented on
   https://brandpad.io/greenville-triumph/ or the kit is silent
   (in which case the most conservative reading is used).

   Hard rules implemented literally:
   - Seven palette colors only. No tints, no alpha, no grays,
     no off-palette hex anywhere ("Don't introduce colors
     outside this palette").
   - Two fonts only: Fabiola Capitals (headings) + Inter (body).
     No mono face ("Don't introduce additional fonts").
   - Fabiola carries H1/H2/H3 at the kit's displayed scale,
     weight 400. H4 is Inter Black 24px. Body is Inter 300 16px
     ("Body - Inter Regular - 16px (Regular, 300)").
   - One accent color in the layout (Light Green). Electric Lime
     is never used ("Don't combine both accent colors in the
     same layout").
   - Main logo lockup as the default brand mark in the hero
     ("Use this as the default in all brand communications
     where space and context allow").
   ============================================================== */

@font-face {
  font-family: 'Fabiola Capitals';
  src: url('fonts/Fabiola-Capitals.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-VariableFont.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: only light;

  /* The seven documented brand colors. Nothing else exists. */
  --greenville-blue: #002855;
  --triumph-green:   #61a631;
  --upstate-fog:     #f2fafa;
  --morning-mist:    #d2e6e5;
  --deep-night:      #020022;
  --light-green:     #97d700;   /* the ONE accent in this layout */
  /* Electric Lime #69b3e7 is deliberately unused: the kit bans
     combining both accent colors in the same layout. */

  --font-display: 'Fabiola Capitals', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  /* app.js emits a few inline var(--font-mono) references. The kit
     documents no mono face, so mono resolves to Inter. */
  --font-mono:    'Inter', system-ui, sans-serif;

  /* Inline-style tokens app.js expects */
  --text-xs: 0.875rem;
  --color-accent: var(--greenville-blue);
  --color-text-muted: var(--greenville-blue);

  --content-max: 1200px;
  --nav-h: 58px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--upstate-fog);
  color-scheme: only light;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;            /* kit: body 16px */
  font-weight: 300;           /* kit label: "(Regular, 300)" */
  line-height: 1.5;
  color: var(--deep-night);
  background: var(--upstate-fog);
  overflow-x: clip;
  /* Fabiola is a single-weight OTF; refuse synthetic bolding. */
  font-synthesis: none;
}

a { color: var(--greenville-blue); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--triumph-green); text-decoration-thickness: 2px; }
img, svg { display: block; max-width: 100%; }
b, strong { font-weight: 700; color: var(--deep-night); }
::selection { background: var(--morning-mist); }
:focus-visible { outline: 2px solid var(--triumph-green); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* ==============================================================
   HEADING SCALE, exactly as Brandpad displays it
   H1 Fabiola 8.7rem / 0.8 / tracking normal
   H2 Fabiola 4.2rem / 1.1 / -1.2px
   H3 Fabiola 2.7rem / 1.25 / -0.3px
   H4 Inter Black 24px
   ============================================================== */

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: var(--upstate-fog);
  border-bottom: 1px solid var(--morning-mist);
  display: flex; align-items: center; overflow-x: auto; scrollbar-width: none;
  padding: 0 clamp(1rem, 0.6rem + 1.5vw, 2rem);
}
.nav::-webkit-scrollbar { display: none; }
.nav-brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-right: auto; padding-right: 1.25rem; white-space: nowrap;
  /* Fabiola is the heading font; a nav label is not a heading,
     so the brand label is Inter. */
  font-family: var(--font-sans); font-size: 1rem; font-weight: 700;
  color: var(--greenville-blue);
}
.nav-brand img { height: 24px; width: auto; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; height: 100%; }
.nav a {
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600;
  color: var(--greenville-blue); text-decoration: none;
  padding: 0 0.85rem; height: 100%;
  display: flex; align-items: center;
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.nav a:hover { border-bottom-color: var(--morning-mist); }
.nav a.active { border-bottom-color: var(--triumph-green); }
.nav-controls { display: none; }

/* ============ SECTION RHYTHM ============ */
.section { padding-block: clamp(3rem, 2.2rem + 2.5vw, 5rem); scroll-margin-top: var(--nav-h); }
.section:nth-child(odd of .section) { background: var(--upstate-fog); }
.section:nth-child(even of .section) { background: var(--morning-mist); }
.section-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 clamp(1.25rem, 1rem + 2vw, 2.5rem); }

/* Brandpad eyebrow style: Inter Light 1.2rem, no caps, no tracking */
.section-num {
  position: sticky; top: var(--nav-h); z-index: 40;
  display: block;
  font-family: var(--font-sans); font-size: 1.2rem; font-weight: 300;
  color: var(--greenville-blue);
  padding: 0.8rem 0; margin-bottom: 1.5rem;
  background: var(--upstate-fog);
  border-bottom: 1px solid var(--morning-mist);
}
.section:nth-child(even of .section) .section-num { background: var(--morning-mist); border-bottom-color: var(--upstate-fog); }

/* H2: Fabiola 4.2rem / 1.1 / -1.2px, heading color Greenville Blue */
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.5rem, 2rem + 1.6vw, 4.2rem);
  line-height: 1.1; letter-spacing: -1.2px;
  color: var(--greenville-blue);
  margin-bottom: 1.25rem;
}
.section-desc { font-size: 1rem; font-weight: 300; max-width: 62ch; margin-bottom: 2.5rem; }

.subsection { margin-bottom: 3rem; }
.subsection:last-child { margin-bottom: 0; }

/* H3: Fabiola 2.7rem / 1.25 / -0.3px */
.subsection-title {
  display: flex; align-items: baseline; gap: 0.8rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 1.7rem + 0.8vw, 2.7rem);
  line-height: 1.25; letter-spacing: -0.3px;
  color: var(--greenville-blue);
  margin: 0 0 1.25rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--morning-mist);
}
.subsection-title::before { content: ''; width: 12px; height: 12px; background: var(--triumph-green); flex-shrink: 0; align-self: center; }
.subsection-title span { margin-left: auto; font-family: var(--font-sans); }

/* ============ HERO: navy band, Main lockup, brand Pattern ============ */
.hero-section {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--greenville-blue);
  border-bottom: 6px solid var(--triumph-green);
}
.hero-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("images/brand/triumph-weave-tile.png");
  background-repeat: repeat; background-size: 300px auto; background-position: center;
  opacity: 0.08;
}
.hero-inner {
  position: relative; z-index: 1; max-width: var(--content-max); margin: 0 auto;
  padding: clamp(2.5rem, 1.8rem + 2.6vw, 4rem) clamp(1.25rem, 1rem + 2vw, 2.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
/* Main lockup: the documented default wherever space and context allow */
.hero-crest { height: clamp(84px, 64px + 4vw, 132px); width: auto; margin-bottom: clamp(1.2rem, 0.9rem + 1.2vw, 2rem); }
.hero-kicker {
  font-family: var(--font-sans); font-size: 1.2rem; font-weight: 300;
  color: var(--morning-mist);
  margin-bottom: clamp(1rem, 0.75rem + 1vw, 1.6rem);
}
.hero-fixture { display: flex; flex-direction: column; align-items: center; gap: clamp(0.6rem, 0.4rem + 0.7vw, 1rem); width: 100%; }
/* H1: Fabiola at the kit's displayed poster scale, 0.8 leading */
.hero-side {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.9rem, 1rem + 7.8vw, 8.7rem);
  line-height: 0.8; letter-spacing: normal;
  color: var(--upstate-fog); text-wrap: balance;
}
.hero-vsrow { display: flex; align-items: center; justify-content: center; gap: 0.9rem; width: min(360px, 68%); }
.hero-vsrow::before, .hero-vsrow::after { content: ""; height: 1px; flex: 1; background: var(--morning-mist); }
.hero-vs { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--upstate-fog); }
.hero-when {
  margin-top: clamp(1.2rem, 0.9rem + 1vw, 1.8rem);
  font-size: 1rem; font-weight: 300; color: var(--morning-mist);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.2rem 0.7rem; max-width: 60ch;
}
.hero-when .w-strong { color: var(--upstate-fog); font-weight: 700; }
.hero-when .w-div { color: var(--morning-mist); }
.hero-billing {
  margin-top: 0.8rem;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 300;
  color: var(--morning-mist);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 0.2rem;
}
.hero-billing .b-seg { white-space: nowrap; }
.hero-billing .b-dot { margin: 0 0.55em; }
.hero-billing .b-sponsor { color: var(--upstate-fog); font-weight: 600; }
.hero-rail {
  display: grid; grid-template-columns: repeat(4, 1fr); width: 100%;
  margin-top: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem);
  border-top: 1px solid var(--morning-mist);
}
.rail-item {
  display: flex; flex-direction: column; gap: 0.35rem; align-items: flex-start; text-align: left;
  padding: clamp(0.9rem, 0.65rem + 0.8vw, 1.3rem) clamp(0.9rem, 0.6rem + 0.9vw, 1.5rem);
  border-left: 1px solid var(--morning-mist); min-width: 0;
}
.rail-item:first-child { border-left: none; }
.rail-k { font-size: 0.875rem; font-weight: 600; color: var(--morning-mist); }
.rail-v { font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.6rem); font-weight: 700; color: var(--upstate-fog); font-variant-numeric: tabular-nums; line-height: 1.05; }
.rail-v.is-text { font-weight: 700; font-size: clamp(1rem, 0.88rem + 0.55vw, 1.3rem); }
.rail-sub { font-size: 0.875rem; font-weight: 300; color: var(--morning-mist); line-height: 1.2; }
.rail-live .rail-v { color: var(--light-green); }
.rail-live .cd-num { color: var(--light-green); font-weight: 600; margin: 0 0.05em 0 0.02em; }

@media (max-width: 600px) {
  .hero-rail { grid-template-columns: repeat(2, 1fr); }
  .rail-item { border-top: 1px solid var(--morning-mist); }
  .rail-item:nth-child(odd) { border-left: none; }
  .rail-item:nth-child(1), .rail-item:nth-child(2) { border-top: none; }
}

/* ============ NOW WIDGET ============ */
.now-widget { border-left: 4px solid var(--triumph-green); padding: 0.6rem 0 0.6rem 1.1rem; margin-bottom: 2rem; }
.now-widget-label { font-size: 1rem; font-weight: 700; color: var(--greenville-blue); margin-bottom: 0.45rem; display: flex; align-items: center; gap: 0.45rem; }
.now-dot { width: 10px; height: 10px; background: var(--triumph-green); }
/* H4: Inter Black 24px */
.now-activity { font-size: 24px; font-weight: 900; color: var(--deep-night); margin-bottom: 0.15rem; }
.now-meta { font-size: 1rem; font-weight: 300; color: var(--greenville-blue); }
.now-next { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--morning-mist); font-size: 1rem; font-weight: 300; color: var(--greenville-blue); }
.now-next strong { font-weight: 700; }

/* ============ KEY CONTACTS ============ */
.key-contacts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.9rem; margin-bottom: 3rem; }
.key-contact {
  border: 1px solid var(--morning-mist); background: var(--upstate-fog);
  padding: 1rem 0.85rem; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.4rem; cursor: pointer; text-decoration: none; color: inherit;
}
.key-contact:hover { border-color: var(--greenville-blue); }
.key-contact-avatar { width: 44px; height: 44px; background: var(--greenville-blue); color: var(--upstate-fog); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; }
.key-contact-name { font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--deep-night); }
.key-contact-role { font-size: 0.875rem; font-weight: 300; color: var(--greenville-blue); line-height: 1.3; }

/* ============ KPI ============ */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem 3rem; margin-bottom: 3rem; }
.kpi-item { border-top: 2px solid var(--greenville-blue); padding: 0.8rem 0 0; }
.kpi-label { font-size: 1rem; font-weight: 700; color: var(--greenville-blue); margin-bottom: 0.45rem; }
/* H4 treatment for the figure: Inter Black 24px */
.kpi-value { font-size: 24px; font-weight: 900; color: var(--deep-night); font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi-sub { font-size: 0.95rem; font-weight: 300; color: var(--greenville-blue); margin-top: 0.3rem; }

/* ============ INFO ROWS ============ */
.info-row { display: flex; justify-content: space-between; gap: 1.25rem; padding: 0.7rem 0; border-bottom: 1px solid var(--morning-mist); font-size: 1rem; }
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--greenville-blue); font-weight: 300; }
.info-value { font-weight: 600; text-align: right; max-width: 64%; color: var(--deep-night); }

/* ============ TABLE ============ */
.data-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.data-table th { text-align: left; font-weight: 700; color: var(--greenville-blue); padding: 0.65rem 0.85rem; border-bottom: 2px solid var(--greenville-blue); }
.data-table td { padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--morning-mist); font-weight: 300; color: var(--deep-night); }
.data-table tr:hover td { background: var(--morning-mist); }
.data-table .num { font-variant-numeric: tabular-nums; }

/* ============ TIMELINE ============ */
.tl-section { margin-bottom: 2rem; }
.tl-section-header { font-size: 1rem; font-weight: 700; color: var(--greenville-blue); padding: 0.7rem 0; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--greenville-blue); cursor: pointer; user-select: none; }
.tl-section-header-left { display: flex; align-items: center; gap: 0.5rem; }
.tl-toggle-arrow { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor; flex-shrink: 0; }
.tl-section-header.collapsed .tl-toggle-arrow { transform: rotate(-90deg); }
.tl-count { font-size: 0.875rem; color: var(--greenville-blue); font-weight: 600; }
.tl-body { overflow: hidden; max-height: 6000px; opacity: 1; }
.tl-body.collapsed { max-height: 0; opacity: 0; }
.tl-list { position: relative; padding-left: 1.5rem; }
.tl-list::before { content: ''; position: absolute; left: 5px; top: 0.35rem; bottom: 0.35rem; width: 2px; background: var(--morning-mist); }
.tl-item { display: grid; grid-template-columns: 108px 1fr; gap: 0.9rem; padding: 0.6rem 0; font-size: 1rem; position: relative; }
.tl-item::before { content: ''; position: absolute; left: -19px; top: 14px; width: 10px; height: 10px; background: var(--greenville-blue); border: 2px solid var(--upstate-fog); z-index: 1; }
.section:nth-child(even of .section) .tl-item::before { border-color: var(--morning-mist); }
.tl-time { font-size: 0.9rem; font-weight: 600; color: var(--greenville-blue); text-align: right; line-height: 1.35; font-variant-numeric: tabular-nums; padding-top: 1px; }
.tl-activity { font-weight: 500; line-height: 1.4; color: var(--deep-night); }
.tl-detail { font-size: 0.95rem; font-weight: 300; color: var(--greenville-blue); margin-top: 3px; }
.tl-item.highlight { border-left: 4px solid var(--triumph-green); padding-left: 0.85rem; margin: 0.3rem 0; margin-left: -1px; }
.tl-item.highlight .tl-activity { color: var(--greenville-blue); font-weight: 700; }
.tl-item.highlight::before { background: var(--triumph-green); }
.tl-item.tl-now { border-left: 4px solid var(--light-green); padding-left: 0.85rem; margin: 0.3rem 0; margin-left: -1px; }
.tl-now-badge { display: inline-block; font-size: 0.8rem; font-weight: 700; background: var(--light-green); color: var(--deep-night); padding: 2px 7px; margin-left: 0.4rem; vertical-align: middle; }

/* ============ SEARCH ============ */
.search-wrap { position: relative; margin-bottom: 2rem; max-width: 420px; }
.search-wrap input { width: 100%; padding: 0.7rem 0 0.7rem 1.9rem; border: 0; border-bottom: 2px solid var(--morning-mist); background: transparent; color: var(--deep-night); font-family: inherit; font-size: 1rem; outline: 0; }
.search-wrap input:focus { border-bottom-color: var(--triumph-green); }
.search-wrap input::placeholder { color: var(--greenville-blue); font-weight: 300; }
.search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--greenville-blue); }
.search-count { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 0.875rem; color: var(--greenville-blue); font-weight: 600; }

/* ============ CONTACTS ============ */
.contact-row { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--morning-mist); }
.contact-row:last-child { border-bottom: none; }
.contact-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.75rem; }
.contact-avatar { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; background: var(--greenville-blue); color: var(--upstate-fog); }
.contact-avatar.vn { background: var(--morning-mist); color: var(--greenville-blue); }
.contact-text { min-width: 0; }
.contact-name { font-size: 1rem; font-weight: 600; color: var(--deep-night); }
.contact-title { font-size: 0.95rem; font-weight: 300; color: var(--greenville-blue); line-height: 1.35; }
.phone-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--greenville-blue); color: var(--upstate-fog); border: none; cursor: pointer; flex-shrink: 0; margin-left: 0.75rem; min-width: 44px; min-height: 44px; padding: 0; font-family: inherit; }
.phone-btn:active { background: var(--triumph-green); color: var(--deep-night); }

/* ============ RADIO ============ */
.radio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0.9rem; margin-bottom: 2rem; }
.radio-chip { border: 1px solid var(--morning-mist); background: var(--upstate-fog); padding: 0.9rem 0.6rem; text-align: center; min-width: 0; }
.radio-chip:hover { border-color: var(--greenville-blue); }
.radio-ch { font-size: 24px; font-weight: 900; color: var(--greenville-blue); font-variant-numeric: tabular-nums; line-height: 1; }
.radio-dept { font-size: 0.875rem; color: var(--deep-night); font-weight: 600; margin-top: 0.45rem; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }

/* ============ WRISTBANDS ============ */
.wb-row { display: flex; align-items: center; gap: 0.9rem; padding: 0.65rem 0; border-bottom: 1px solid var(--morning-mist); }
.wb-row:last-child { border-bottom: none; }
/* Physical band colors are named in text, not swatched: hex swatches
   for orange/yellow/red would introduce colors outside the palette. */
.wb-swatch { border: 2px solid var(--greenville-blue); color: var(--greenville-blue); font-weight: 700; font-size: 0.875rem; padding: 0.3rem 0.6rem; white-space: nowrap; flex-shrink: 0; }
.wb-name { font-size: 1rem; font-weight: 600; color: var(--deep-night); }
.wb-meaning { font-size: 0.95rem; font-weight: 300; color: var(--greenville-blue); }

/* ============ ELEMENT ROWS ============ */
.el-row { padding: 0.7rem 0; border-bottom: 1px solid var(--morning-mist); font-size: 1rem; }
.el-row:last-child { border-bottom: none; }
.el-name { font-weight: 600; color: var(--deep-night); }
.el-meta { color: var(--greenville-blue); font-weight: 300; font-size: 0.95rem; margin-top: 4px; line-height: 1.45; }
.el-item { padding: 0.34rem 0; font-size: 1rem; font-weight: 300; }

/* ============ CHIPS + STATS ============ */
.chip-wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--morning-mist); background: var(--upstate-fog); padding: 0.5rem 0.8rem; font-size: 0.95rem; font-weight: 300; color: var(--deep-night); }
.chip:hover { border-color: var(--greenville-blue); }
.chip b { font-weight: 700; }
.chip .chip-poc { font-size: 0.875rem; color: var(--greenville-blue); }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 1px; background: var(--morning-mist); border: 1px solid var(--morning-mist); }
.stat-cell { background: var(--upstate-fog); padding: 0.9rem 0.75rem; text-align: center; }
.stat-num { font-size: 24px; font-weight: 900; color: var(--greenville-blue); font-variant-numeric: tabular-nums; line-height: 1; }
.stat-lab { font-size: 0.875rem; font-weight: 600; color: var(--deep-night); margin-top: 0.4rem; }

/* ============ ROSTER ============ */
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.7rem; }
.roster-card { border: 1px solid var(--morning-mist); background: var(--upstate-fog); padding: 0.7rem; display: flex; align-items: center; gap: 0.7rem; }
.roster-card:hover { border-color: var(--greenville-blue); }
.roster-num { width: 32px; height: 32px; background: var(--greenville-blue); color: var(--upstate-fog); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.roster-pname { font-size: 1rem; font-weight: 500; color: var(--deep-night); }

/* ============ STAFF ============ */
.staff-card { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid var(--morning-mist); background: var(--upstate-fog); padding: 0.6rem 0.85rem; margin: 0 0.4rem 0.4rem 0; }
.staff-card:hover { border-color: var(--greenville-blue); }
.staff-avatar { width: 36px; height: 36px; background: var(--greenville-blue); color: var(--upstate-fog); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
.staff-name { font-size: 1rem; font-weight: 600; color: var(--deep-night); }
.staff-role { font-size: 0.875rem; font-weight: 300; color: var(--greenville-blue); }

/* ============ PA CALLOUT ============ */
.pa-callout { margin-top: 0.85rem; padding: 0.5rem 0 0.5rem 1.1rem; border-left: 4px solid var(--triumph-green); font-size: 1rem; font-weight: 300; line-height: 1.55; }
.pa-label { font-size: 1rem; font-weight: 700; color: var(--greenville-blue); margin-bottom: 0.45rem; display: block; }

/* ============ MAPS ============ */
.map-group-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 1.7rem + 0.8vw, 2.7rem);
  line-height: 1.25; letter-spacing: -0.3px;
  color: var(--greenville-blue);
  margin: 0 0 1.25rem; display: flex; align-items: center; gap: 0.65rem;
}
.map-group-title::before { content: ''; width: 12px; height: 12px; background: var(--triumph-green); flex-shrink: 0; }
.map-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) { .map-grid { grid-template-columns: 1fr 1fr; } }
.map-card { border: 1px solid var(--morning-mist); background: var(--upstate-fog); overflow: hidden; display: flex; flex-direction: column; }
.map-card:hover { border-color: var(--greenville-blue); }
.map-figure { margin: 0; position: relative; cursor: zoom-in; background: var(--upstate-fog); line-height: 0; }
.map-figure img { width: 100%; height: auto; }
.map-zoom { position: absolute; top: 0.6rem; right: 0.6rem; display: flex; align-items: center; gap: 0.3rem; background: var(--greenville-blue); color: var(--upstate-fog); font-size: 0.875rem; font-weight: 600; padding: 0.34rem 0.6rem; }
.map-cap { padding: 1rem 1.1rem 1.15rem; }
/* H4: Inter Black 24px */
.map-cap-title { font-size: 24px; font-weight: 900; color: var(--deep-night); margin-bottom: 0.35rem; line-height: 1.2; }
.map-cap-text { font-size: 0.95rem; font-weight: 300; color: var(--greenville-blue); line-height: 1.5; }
.map-subgroup { margin-bottom: 3rem; }
.map-subgroup:last-child { margin-bottom: 0; }

/* ============ CREDENTIALS ============ */
.cred-intro { font-size: 1rem; font-weight: 300; line-height: 1.5; margin-bottom: 1.25rem; max-width: 62ch; }
.cred-grouplabel { font-size: 1rem; font-weight: 700; color: var(--greenville-blue); margin: 0 0 0.75rem; }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 1rem 0.9rem; margin-bottom: 2rem; }
.cred-grid:last-child { margin-bottom: 0; }
.cred-card { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.cred-figure { position: relative; cursor: zoom-in; border: 1px solid var(--morning-mist); overflow: hidden; line-height: 0; background: var(--morning-mist); }
.cred-figure:hover { border-color: var(--greenville-blue); }
.cred-figure img { width: 100%; height: auto; }
/* Flat pass tile for designs with no screenshot (renderer fallback). */
.cred-swatch { aspect-ratio: 0.62; border: 1px solid var(--morning-mist); display: flex; align-items: center; justify-content: center; padding: 0.6rem; }
.cred-swatch span { font-weight: 700; font-size: 0.95rem; color: var(--upstate-fog); text-align: center; line-height: 1.3; }
.cred-zoom { position: absolute; top: 0.4rem; right: 0.4rem; display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; background: var(--greenville-blue); color: var(--upstate-fog); }
.cred-name { font-size: 0.95rem; font-weight: 600; color: var(--deep-night); line-height: 1.25; }
.cred-note { font-size: 0.875rem; font-weight: 300; color: var(--greenville-blue); margin-top: -0.25rem; }
@media (max-width: 640px) { .cred-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; background: var(--deep-night); opacity: 0; pointer-events: none; padding: 1rem; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; height: auto; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 1px solid var(--morning-mist); background: var(--greenville-blue); color: var(--upstate-fog); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-cap { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); font-size: 0.9rem; font-weight: 300; color: var(--upstate-fog); text-align: center; max-width: 90%; }

/* ============ CONTACT SHEET ============ */
.contact-sheet { position: fixed; inset: 0; z-index: 500; display: flex; align-items: flex-end; justify-content: center; background: var(--deep-night); opacity: 0; pointer-events: none; }
.contact-sheet.open { opacity: 1; pointer-events: auto; }
.contact-sheet-card { background: var(--upstate-fog); border-top: 6px solid var(--triumph-green); padding: 1.75rem 1.4rem; padding-bottom: max(2rem, env(safe-area-inset-bottom, 2rem)); width: 100%; max-width: 420px; text-align: center; transform: translateY(100%); }
.contact-sheet.open .contact-sheet-card { transform: translateY(0); }
.contact-sheet-avatar { width: 58px; height: 58px; background: var(--greenville-blue); color: var(--upstate-fog); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; margin: 0 auto 0.85rem; }
/* H4: Inter Black 24px */
.contact-sheet-name { font-size: 24px; font-weight: 900; color: var(--deep-night); margin-bottom: 0.3rem; }
.contact-sheet-title { font-size: 0.95rem; font-weight: 300; color: var(--greenville-blue); margin-bottom: 0.35rem; line-height: 1.5; }
.contact-sheet-phone { font-size: 1rem; color: var(--deep-night); margin-bottom: 1.4rem; font-variant-numeric: tabular-nums; }
.contact-sheet-actions { display: flex; gap: 0.75rem; justify-content: center; width: 100%; max-width: 320px; margin: 0 auto; }
.contact-sheet-action { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 700; font-size: 0.95rem; padding: 0.85rem 1.25rem; text-decoration: none; min-height: 48px; flex: 1; }
.cs-call { background: var(--triumph-green); color: var(--deep-night); }
.cs-text { background: transparent; color: var(--greenville-blue); border: 2px solid var(--greenville-blue); }

/* ============ FOOTER: the second navy band ============ */
.site-foot { padding: clamp(3rem, 2.2rem + 2.5vw, 5rem) 1.5rem; text-align: center; color: var(--morning-mist); font-size: 1rem; font-weight: 300; line-height: 1.9; background: var(--greenville-blue); border-top: 6px solid var(--triumph-green); }
.site-foot .foot-accent { color: var(--light-green); }

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
  .nav-brand { font-size: 0.9rem; padding-right: 0.75rem; }
  .nav-brand img { height: 20px; }
  .nav a { font-size: 0.8rem; padding: 0 0.55rem; }
  .key-contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .radio-grid { grid-template-columns: repeat(3, 1fr); }
  .roster-grid { grid-template-columns: 1fr 1fr; }
  .tl-item { grid-template-columns: 74px 1fr; gap: 0.65rem; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

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