/* ═══════════════════════════════════════════════════════════════════
   Harmony for PA Heroes — Global Stylesheet
   ═══════════════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────────────── */
:root {
  color-scheme: light only;
  --navy:     #0C2340;
  --blue:     #1A5276;
  --blue-btn: #1F618D;
  --blue-lt:  #EBF5FB;
  --red:      #B91C1C;
  --red-dk:   #991B1B;
  --white:    #FFFFFF;
  --gray:     #F4F6F9;
  --gray-2:   #E9ECF0;
  --text:     #0C1A2B;
  --text-2:   #4A5568;
  --text-3:   #8A9BB0;
  --border:   #D8E2EC;
  --shadow-sm: 0 1px 3px rgba(12,35,64,.07), 0 4px 12px rgba(12,35,64,.06);
  --shadow-md: 0 4px 6px rgba(12,35,64,.07), 0 10px 30px rgba(12,35,64,.10);
}



/* ── RESET ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
ul { list-style: none; padding: 0; }

/* ── LAYOUT ──────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 32px;
}
@media (max-width: 480px) { .wrap { padding-inline: 20px; } }

/* ── TYPE HELPERS ────────────────────────────────────────────────── */
.raleway { font-family: 'Raleway', sans-serif; }
.tag {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.section-label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 13px 30px;
  border-radius: 4px;
  transition: background .18s, border-color .18s, transform .15s, box-shadow .15s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-blue {
  background: var(--blue-btn);
  color: #fff;
  border-color: var(--blue-btn);
}
.btn-blue:hover { background: #174E75; border-color: #174E75; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(27,82,125,.35); }
.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: #0a1c33; border-color: #0a1c33; transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.85); }
.btn-outline-blue {
  background: transparent;
  color: var(--blue-btn);
  border-color: var(--blue-btn);
}
.btn-outline-blue:hover { background: var(--blue-lt); }
.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-red:hover { background: var(--red-dk); border-color: var(--red-dk); transform: translateY(-1px); }

/* ── ACCENT TOP BAR ──────────────────────────────────────────────── */
.top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 40%, var(--red) 100%);
}

/* ── NAV ─────────────────────────────────────────────────────────── */
.nav {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 4px rgba(12,35,64,.06);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.nav-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-brand-name {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .01em;
}
.nav-brand-sub {
  font-size: .68rem;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: .04em;
}
.nav-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .04em;
  transition: color .18s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta { font-size: .82rem; padding: 9px 22px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background .15s;
}
.nav-hamburger:hover { background: var(--gray); }

.nav-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

/* Animate bars to X when open */
.nav-hamburger--open .nav-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger--open .nav-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger--open .nav-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(12,35,64,.10);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    z-index: 199;
  }
  .nav-links.nav-links--open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  background: var(--gray);
  border-bottom: 1px solid var(--border);
  padding-block: 80px 72px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero-tag-line {
  font-family: 'Raleway', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
  display: block;
}
.hero-h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.08;
  color: var(--navy);
  text-wrap: balance;
  margin-bottom: 20px;
}
.hero-h1 span { color: var(--navy); }
.hero-desc {
  font-size: .97rem;
  color: var(--text-2);
  max-width: 54ch;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Event card inside hero */
.event-card {
  background: #fff;
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
}
.event-card-tag {
  font-family: 'Raleway', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}
.event-card-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 16px;
}
.event-card-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .88rem;
  color: var(--text-2);
}
.event-card-detail strong {
  font-family: 'Raleway', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  min-width: 52px;
  padding-top: 3px;
}
.event-card-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.event-card-link {
  display: block;
  width: 100%;
  text-align: center;
  font-size: .88rem;
  padding: 12px;
}

/* ── IMPACT BAND ─────────────────────────────────────────────────── */
.impact-band {
  background: var(--blue);
  padding-block: 56px;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  text-align: center;
}
@media (max-width: 580px) { .impact-grid { grid-template-columns: 1fr; gap: 32px; } }
.impact-item {
  padding-inline: 24px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.impact-item:last-child { border-right: none; }
@media (max-width: 580px) { .impact-item { border-right: none; } }
.impact-num {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}
.impact-lbl {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  margin-top: 6px;
  line-height: 1.45;
}

/* ── MISSION ─────────────────────────────────────────────────────── */
.mission { padding-block: 96px; background: var(--white); }
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 820px) { .mission-grid { grid-template-columns: 1fr; gap: 48px; } }

.quote-card {
  background: var(--blue-lt);
  border-left: 4px solid var(--blue);
  padding: 36px 32px;
  border-radius: 0 6px 6px 0;
}
.quote-text {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(.9rem, 1.7vw, 1.07rem);
  font-style: italic;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}
.quote-attr {
  font-family: 'Raleway', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.6;
}
.mission-body h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 20px;
}
.mission-body p {
  font-size: .97rem;
  color: var(--text-2);
  margin-bottom: 14px;
  max-width: 58ch;
}
.mission-body p strong { color: var(--text); font-weight: 600; }
.ein-block {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--gray);
  border-radius: 4px;
  font-size: .8rem;
  color: var(--text-3);
  line-height: 1.75;
  border: 1px solid var(--border);
}
.ein-block strong { color: var(--text-2); font-weight: 600; }

/* ── PA WOUNDED WARRIORS ─────────────────────────────────────────── */
.paww { background: var(--gray); padding-block: 88px; }
.paww-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 820px) { .paww-grid { grid-template-columns: 1fr; gap: 40px; } }

.paww-body h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 18px;
}
.paww-body p {
  font-size: .97rem;
  color: var(--text-2);
  margin-bottom: 14px;
  max-width: 56ch;
}
.paww-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Raleway', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue-btn);
  margin-top: 6px;
  border-bottom: 2px solid var(--blue-lt);
  padding-bottom: 2px;
  transition: border-color .18s;
}
.paww-link:hover { border-color: var(--blue-btn); }
.paww-pullout {
  background: var(--navy);
  border-radius: 8px;
  padding: 36px 32px;
  color: #fff;
}
.paww-pullout-label {
  font-family: 'Raleway', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7FB3D8;
  margin-bottom: 14px;
  display: block;
}
.paww-pullout p {
  font-size: .97rem;
  font-style: italic;
  line-height: 1.82;
  color: rgba(255,255,255,.8);
}

/* ── EVENT PROMO ─────────────────────────────────────────────────── */
.event-promo { background: var(--white); padding-block: 96px; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.event-card-full {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.event-card-full:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-card-header {
  background: var(--navy);
  padding: 28px 32px 24px;
}
.event-card-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7FB3D8;
  display: block;
  margin-bottom: 10px;
}
.event-card-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
  color: #fff;
}
.event-card-title em { color: #C5E3F7; font-style: normal; }
.event-card-body {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  background: var(--white);
}
.event-detail-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.event-detail-row:last-of-type { border-bottom: none; }
.edr-key {
  font-family: 'Raleway', sans-serif;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.edr-val {
  font-size: .91rem;
  color: var(--text-2);
  line-height: 1.5;
}
.edr-val strong { color: var(--text); font-weight: 600; }
.edr-val a { color: var(--blue-btn); border-bottom: 1px solid currentColor; }
.event-card-footer {
  padding: 20px 32px 28px;
  background: var(--white);
}

/* ── LEADERSHIP ──────────────────────────────────────────────────── */
.leadership { background: var(--gray); padding-block: 88px; }
.sec-hdr { margin-bottom: 48px; }
.sec-hdr-center { text-align: center; }
.sec-h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
  margin-top: 6px;
}
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(192px,1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .18s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.leader-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.leader-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-lt);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.leader-avatar svg {
  width: 28px;
  height: 28px;
  fill: var(--blue);
  opacity: .6;
}
.leader-info { display: flex; flex-direction: column; gap: 2px; }
.leader-role {
  font-family: 'Raleway', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
}
.leader-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.leader-email {
  font-size: .78rem;
  color: var(--blue-btn);
  border-bottom: 1px solid transparent;
  transition: border-color .18s;
  word-break: break-all;
}
.leader-email:hover { border-color: var(--blue-btn); }
.trustees-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.trustee-label {
  font-family: 'Raleway', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.trustee-chip {
  font-size: .84rem;
  color: var(--text-2);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
}

/* ── SPONSOR SECTION ─────────────────────────────────────────────── */
.sponsor { background: var(--white); padding-block: 80px; text-align: center; }
.sponsor-copy {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-2);
  max-width: 58ch;
  margin-inline: auto;
  line-height: 1.75;
}
.sponsor-copy strong { color: var(--text); font-weight: 600; }

/* ── CONTACT ─────────────────────────────────────────────────────── */
.contact { background: var(--gray); padding-block: 96px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-info h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 28px;
}
.cinfo-item { margin-bottom: 22px; }
.cinfo-label {
  font-family: 'Raleway', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 3px;
}
.cinfo-val {
  font-size: .94rem;
  color: var(--text-2);
  line-height: 1.55;
}
.cinfo-val a { color: var(--blue-btn); border-bottom: 1px solid transparent; transition: border-color .18s; }
.cinfo-val a:hover { border-color: var(--blue-btn); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 480px) { .form-card { padding: 28px 20px; } }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-f { display: flex; flex-direction: column; gap: 6px; }
.form-f label {
  font-family: 'Raleway', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.form-f input,
.form-f textarea,
.form-f select {
  background: var(--gray);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: .94rem;
  padding: 11px 14px;
  width: 100%;
  transition: border-color .18s, background .18s;
}
.form-f input:focus,
.form-f textarea:focus,
.form-f select:focus {
  outline: 2px solid var(--blue-btn);
  outline-offset: 2px;
  border-color: var(--blue-btn);
  background: var(--white);
}
.form-f textarea { min-height: 120px; resize: vertical; line-height: 1.65; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: .78rem; color: var(--text-3); }
.form-submit { font-size: .88rem; padding: 13px 32px; }

/* Blazor form controls — match custom styles */
.form-f .valid.modified { border-color: var(--border); }
.form-f .invalid { border-color: var(--red); }

/* Contact form: validation, alerts, thank-you panel, honeypot */
.form-error { font-size: .78rem; color: var(--red); }
.form-alert {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 4px;
  color: var(--red-dk);
  font-size: .88rem;
  line-height: 1.55;
  padding: 12px 14px;
}
.form-alert a { color: var(--red-dk); text-decoration: underline; }
.form-thanks { text-align: center; padding: 32px 8px; }
.form-thanks h3 { font-weight: 800; font-size: 1.35rem; color: var(--text); margin-bottom: 10px; }
.form-thanks p { color: var(--text-2); font-size: .94rem; }
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── SOCIAL ICONS ────────────────────────────────────────────────── */
.social-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-lt);
  border: 1px solid var(--border);
  transition: background .18s, border-color .18s, transform .15s;
}
.social-btn-light:hover {
  background: var(--gray-2);
  border-color: var(--blue-btn);
  transform: translateY(-2px);
}
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  transition: background .18s, border-color .18s, transform .15s;
  flex-shrink: 0;
}
.social-btn:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}
.social-btn svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,.75);
  display: block;
}
.social-btn:hover svg { fill: #fff; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer { background: var(--navy); padding-block: 56px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 780px) { .footer-inner { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}
.footer-brand-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  max-width: 34ch;
}
.footer-ein {
  font-size: .76rem;
  color: rgba(255,255,255,.3);
  line-height: 1.8;
  margin-top: 6px;
}
.footer-col-head {
  font-family: 'Raleway', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
  display: block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .86rem;
  color: rgba(255,255,255,.55);
  transition: color .18s;
}
.footer-links a:hover { color: #7FB3D8; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .76rem;
  color: rgba(255,255,255,.25);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── BLAZOR VALIDATION MESSAGES ──────────────────────────────────── */
.validation-message { color: var(--red); font-size: .8rem; margin-top: 4px; }

/* ── BLAZOR DEFAULT OVERRIDES ────────────────────────────────────── */
#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

/* ── NON-INTERACTIVE FOCUS SUPPRESSION ───────────────────────────── */
h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, h6:focus,
section:focus, div:focus {
  outline: none;
}

/* ── Dev environment banner ─────────────────────────────────────────── */
.dev-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 400px;
  width: calc(100% - 48px);
  background: #1a1a2e;
  color: #e8eaf0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.30);
  border-left: 4px solid #f5a623;
  transition: opacity .35s ease, transform .35s ease;
}
.dev-banner--hiding {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.dev-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 14px 16px 18px;
}
.dev-banner-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.dev-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: .875rem;
  line-height: 1.4;
}
.dev-banner-text strong {
  font-size: .9rem;
  font-weight: 700;
  color: #f5a623;
  letter-spacing: .01em;
}
.dev-banner-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #9aa0b2;
  font-size: 1.1rem;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: -2px;
  transition: color .15s, background .15s;
}
.dev-banner-close:hover { color: #fff; background: rgba(255,255,255,.08); }

@media (max-width: 480px) {
  .dev-banner { bottom: 16px; right: 16px; width: calc(100% - 32px); }
}

