/* =============================================================
   INVICTUS VETERAN SOLUTIONS, LLC  —  Site styles
   Palette: deep teal #0d4d4d / #115e59, navy #0a2540, pale blue #d6e6ea,
            sand #e9dcc3, ink #111, off-white #fafaf7
   Type:    Headings — Cormorant Garamond / serif. UI/body — Inter.
   ============================================================= */

:root {
  --teal-950: #082d2f;
  --teal-900: #0d3d40;
  --teal-800: #0f4c4c;
  --teal-700: #14606b;
  --teal-600: #1f6f78;
  --teal-500: #2a8891;
  --teal-50:  #d6e6ea;
  /* Navy retained for limited accent use only; primary brand is teal */
  --navy-900: #0d3d40;
  --navy-800: #0f4c4c;
  --navy-700: #14606b;
  --ink-900:  #0b1a1c;
  --sand:     #e9dcc3;
  --sand-50:  #f6efe2;
  --ink:      #15181b;
  --ink-2:    #4b545c;
  --bg:       #fafaf7;
  --bg-2:     #f1ece3;
  --line:     #e3e0d6;
  --white:    #ffffff;
  --shadow-sm: 0 1px 2px rgba(7,25,44,.06), 0 1px 1px rgba(7,25,44,.04);
  --shadow-md: 0 8px 24px rgba(7,25,44,.08), 0 2px 6px rgba(7,25,44,.05);
  --shadow-lg: 0 20px 48px rgba(7,25,44,.16);

  --container: 1240px;
  --container-narrow: 920px;

  --font-display: "Cormorant Garamond", "Source Serif Pro", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-900); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p  { margin: 0 0 1rem; color: var(--ink-2); font-size: 1rem; }
strong { color: var(--ink); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal-700);
  margin: 0 0 .8rem;
  font-family: var(--font-sans);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

section { padding: clamp(56px, 8vw, 110px) 0; scroll-margin-top: 130px; }
section.tight { padding: clamp(40px, 5vw, 70px) 0; }

.section-title {
  margin: 0 0 1rem;
}
.section-subtitle {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 1.05rem;
  margin: 0 0 2.5rem;
}

/* ============================ TOP UTILITY BAR ============================ */
.utility-bar {
  background: var(--teal-900);
  color: #e7f2f2;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: 8px 0;
}
.utility-bar .container {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  text-align: center;
}
.utility-bar strong { color: #fff; font-weight: 600; }

/* ============================ HEADER ============================ */
.header {
  background: #f0f6f6;
  border-bottom: 1px solid #c2d8d8;
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--teal-900);
  text-decoration: none;
}
.brand:hover { color: var(--teal-900); }
.brand-logo {
  height: 58px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.nav-close { display: none; }
/* Header lockup that includes the motto (emblem + wordmark + slogan). */
.header-logo-motto {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.brand-header-motto { gap: 0; }
@media (max-width: 1024px) { .header-logo-motto { height: 60px; } }
@media (max-width: 767px)  { .header-logo-motto { height: 52px; } }
@media (max-width: 400px)  { .header-logo-motto { height: 46px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.45rem; letter-spacing: .04em;
  color: var(--teal-900);
}
.brand-text .sub {
  font-size: .68rem; letter-spacing: .26em;
  color: var(--teal-700); margin-top: 4px; font-weight: 600;
}

.nav-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: 2px;
  flex-wrap: nowrap;
}
.nav-list > li { position: relative; }
.nav-list a {
  color: var(--teal-900);
  font-weight: 500; font-size: .9rem;
  padding: 10px 10px; border-radius: var(--r-sm);
  display: inline-block; white-space: nowrap;
}
.nav-list a:hover, .nav-list > li > a.active {
  color: var(--teal-700);
}
.nav-list a:hover:not(.cta-volunteer) {
  background: rgba(13,77,77,.07);
}
.nav-list .has-dropdown > a::after {
  content: "▾"; margin-left: 6px; font-size: .7rem; opacity: .7;
}
.dropdown {
  position: absolute; top: 100%; right: 0; left: auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  min-width: 280px; padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 60;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 9px 12px; color: var(--teal-900);
  font-size: .9rem; border-radius: var(--r-sm);
}
.dropdown a:hover { background: var(--teal-50); color: var(--teal-800); }
.dropdown .dropdown-group {
  padding: 6px 12px 4px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-top: 4px;
}
.dropdown .dropdown-group:first-child { margin-top: 0; }

/* Match active state for normal nav items only (not the CTA button) */
.nav-list > li > a.active:not(.cta-volunteer) {
  background: rgba(13,77,77,.07);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: var(--teal-800); color: #fff;
  border: 0; padding: 10px 14px; border-radius: var(--r-md);
  font-weight: 600; font-size: .9rem; cursor: pointer;
  min-height: 44px; min-width: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cta-volunteer,
.nav-list a.cta-volunteer,
.nav-list a.cta-volunteer.active {
  background: var(--teal-800) !important;
  color: #fff !important;
  padding: 10px 16px !important;
  border-radius: 999px;
  font-weight: 600 !important;
  letter-spacing: .04em;
  margin-left: 8px;
  white-space: nowrap;
}
.cta-volunteer:hover,
.nav-list a.cta-volunteer:hover { background: var(--teal-900) !important; color:#fff !important; }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  letter-spacing: .03em;
  border: 1.5px solid transparent;
  cursor: pointer; transition: all .18s ease;
  font-family: var(--font-sans);
  text-decoration: none;
}
.btn-primary { background: var(--teal-800); color: #fff; }
.btn-primary:hover { background: var(--teal-900); color:#fff; transform: translateY(-1px); }
.btn-secondary { background: var(--teal-700); color: #fff; }
.btn-secondary:hover { background: var(--teal-900); color:#fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--teal-800); border-color: var(--teal-800); }
.btn-ghost:hover { background: var(--teal-800); color: #fff; }
.btn-light { background: #fff; color: var(--teal-800); }
.btn-light:hover { background: var(--teal-50); color: var(--teal-900); }

.btn-large { padding: 16px 30px; font-size: 1rem; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,45,47,.35) 0%, rgba(13,61,64,.55) 60%, rgba(15,76,76,.82) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; width: 100%;}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  max-width: 18ch; margin: 0 0 .4em;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: #f3f0e6;
  max-width: 38ch;
  margin: 0 0 2rem;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.5rem; }

.hero-overlay-info {
  display: flex; flex-wrap: wrap; gap: 28px;
  background: rgba(8,45,47,.55);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  max-width: 720px;
  backdrop-filter: blur(6px);
}
.hero-overlay-info > div { color: #f3f0e6; font-size: .94rem; }
.hero-overlay-info strong { color:#fff; display:block; font-size:.7rem; letter-spacing:.18em; text-transform: uppercase; margin-bottom: 4px; opacity: .85;}

/* Page hero (smaller heros for interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: #fff;
  padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
}
.page-hero h1 { color:#fff; margin-bottom: .4em; }
.page-hero p { color: #d6e6ea; font-size: 1.1rem; max-width: 60ch; margin: 0;}
.page-hero .eyebrow { color: var(--sand); }
.page-hero .breadcrumb { font-size: .82rem; color: #c3dcdc; margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: #d6e6ea; }

/* ============================ WARRIOR ETHOS ============================ */
.warrior-ethos {
  background: var(--teal-950);
  color: #e7ebf0;
  position: relative;
  overflow: hidden;
}
.warrior-ethos::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(21,115,114,.25), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(13,77,77,.35), transparent 70%);
  pointer-events:none;
}
.warrior-ethos .container { position: relative; z-index: 1; }
.warrior-ethos h2, .warrior-ethos h3 { color: #fff; }
.warrior-ethos .eyebrow { color: #6fcfcb; }
.warrior-ethos p { color: #c6cfd9; }
.warrior-ethos strong { color: #fff; }

.ethos-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px;
  align-items: center;
  margin: 60px 0;
}
.ethos-feature img {
  width: 100%; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}

.tenets {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 30px;
}
.tenet {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 4px solid var(--teal-600);
  padding: 26px 26px;
  border-radius: var(--r-md);
}
.tenet h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 10px;
}
.tenet p { margin: 0; color: #b8c4cf; }

.principles {
  margin-top: 70px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.principles-intro p { font-size: 1.05rem; color: #c6cfd9; line-height: 1.75; }
.principles-list { list-style: none; padding: 0; margin: 0; }
.principles-list li {
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.principles-list li:last-child { border-bottom: 0; }
.principles-list h4 {
  color: #fff; margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.15rem;
}
.principles-list p { margin: 0; color: #b8c4cf; font-size: .96rem; }

.flag-note {
  margin: 32px 0 0;
  padding: 0;
}
.flag-note img {
  display: block;
  width: 160px;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  margin-bottom: 18px;
}
.flag-note figcaption h4 {
  color: #fff; margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.1rem;
  letter-spacing: .01em;
}
.flag-note figcaption p {
  margin: 0; color: #b8c4cf;
  font-size: .94rem; line-height: 1.7;
}

/* Two-photo dental partner layout — uniform, matched pair */
.dental-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.dental-photos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  /* Both photos share the SAME shape so they read as a matched set */
  aspect-ratio: 4 / 3;
}
.dental-photos img:first-child  { object-position: center 30%; }
.dental-photos img:last-child   { object-position: center 35%; }

.warrior-closing {
  margin-top: 50px;
  padding: 30px 36px;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  border-radius: var(--r-lg);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  font-style: italic;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
}

/* ============================ SERVICES GRID ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-700);
}
.service-card .img {
  height: 180px; background-size: cover; background-position: center;
  border-bottom: 4px solid var(--teal-700);
}
.service-card .body { padding: 24px 24px 26px; display:flex; flex-direction:column; flex:1; }
.service-card h3 {
  font-size: 1.2rem;
  margin: 0 0 12px;
  color: var(--teal-900);
}
.service-card p { font-size: .95rem; flex: 1; margin-bottom: 18px; }
.service-card .btn { align-self: flex-start; }

/* ============================ FOUNDER / SPLIT SECTIONS ============================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }
.split img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* ============================ IMPACT GRID ============================ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.impact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal-700);
  padding: 28px 26px;
  border-radius: var(--r-md);
  transition: box-shadow .2s, transform .2s;
}
.impact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.impact-card .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--teal-800);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
}
.impact-card h4 {
  color: var(--teal-900);
  font-size: 1.1rem;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
}
.impact-card p { margin: 0; font-size: .94rem; }
/* Cards with a CTA button: stack as a column so buttons align at the bottom with breathing room above */
.impact-card { display: flex; flex-direction: column; }
.impact-card .btn { margin-top: auto; align-self: flex-start; }
.impact-card p + .btn { margin-top: 22px; }

/* ============================ DONATE CALLOUT ============================ */
.donate {
  background: linear-gradient(135deg, var(--sand-50), var(--bg-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.donate-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center;
}
.donate h2 { margin: 0 0 .4em; }
.donate .disclaimer {
  margin-top: 14px;
  font-size: .82rem; color: var(--ink-2);
  border-left: 3px solid var(--teal-700);
  padding: 8px 14px;
  background: rgba(13,77,77,.04);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* ============================ OPPORTUNITIES ============================ */
.opportunities {
  background: var(--teal-900);
  color: #e7ebf0;
}
.opportunities h2, .opportunities h3 { color: #fff; }
.opportunities .eyebrow { color: #6fcfcb; }
.opportunities .section-subtitle { color: #c6cfd9; }

.opps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.opp-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex; flex-direction: column;
  transition: border-color .2s, background .2s;
}
.opp-card:hover { border-color: var(--teal-600); background: rgba(255,255,255,.08);}
.opp-meta { font-size: .76rem; color: #9fb1c1; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px;}
.opp-card h3 { font-size: 1.15rem; color: #fff; margin: 0 0 14px; }
.opp-row { font-size: .88rem; color: #c6cfd9; margin: 4px 0; display:flex; gap: 8px;}
.opp-row b { color:#fff; min-width: 88px; font-weight:600; }
.status-badge {
  display: inline-block; align-self: flex-start;
  margin: 14px 0 16px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
.status-pursuing { background: #e0a64a; color: #2a1c00; }
.status-interested { background: #6fcfcb; color: #093a3a; }

.opp-card a.opp-link {
  margin-top: auto;
  color: #6fcfcb; font-weight: 600; font-size: .9rem;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
}
.opp-card a.opp-link:hover { color: #fff; }

/* ============================ PARTNERS ============================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display:flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.partner-card .img-slot {
  background: linear-gradient(135deg, var(--teal-50), var(--sand-50));
  height: 180px;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 2rem; color: var(--teal-800);
  letter-spacing: .1em;
  background-size: cover; background-position: center;
}
.partner-card .body { padding: 22px 24px 24px; }
.partner-card .tag {
  display: inline-block; font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--teal-800); background: rgba(13,77,77,.08);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.partner-card h3 { font-size: 1.2rem; margin: 0 0 10px; }
.partner-card p { font-size: .95rem; margin: 0; }

/* ============================ FOOTER ============================ */
.footer {
  background: var(--teal-950);
  color: #b9cccd;
  padding: 70px 0 30px;
  font-size: .9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-sans); font-weight: 700;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  margin: 0 0 18px;
}
.footer a { color: #b9cccd; display:inline-block; padding: 4px 0;}
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin: 4px 0; }
.footer-brand .brand-text .name { color: #fff; }
.footer-brand .brand-text .sub { color: var(--teal-50); }
.footer-brand p { color: #b9cccd; margin-top: 14px; font-size: .9rem; }
.footer .brand-logo {
  height: 64px;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
}
/* Full logo + motto in the footer banner: shown on a white rounded panel so
   the dark-teal wordmark and blackletter motto stay readable on the dark footer. */
.footer .footer-logo-motto {
  height: auto;
  width: 230px;
  max-width: 100%;
  background: #fff;
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.footer .footer-brand-link { display: inline-block; }
@media (max-width: 767px) {
  .footer .footer-logo-motto { width: 200px; }
}

.social-row {
  margin-top: 16px; display:flex; gap: 10px;
}
.social-row a {
  width: 38px; height: 38px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.07);
  border-radius: 999px; padding: 0;
}
.social-row a:hover { background: var(--teal-800); }
.social-row svg { width: 18px; height: 18px; fill: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 50px; padding-top: 24px;
  display:flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .8rem; color: #8aa5a6;
}

/* ============================ BLOG ============================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card .img {
  height: 200px;
  background-size: cover; background-position: center;
}
.blog-card .body { padding: 22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.blog-card .meta { font-size: .76rem; color: var(--teal-800); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.25rem; margin: 0 0 10px; }
.blog-card p  { font-size: .95rem; flex:1; }
.blog-card .read-more { font-weight: 600; color: var(--teal-800); font-size: .9rem; margin-top: 6px; }

.post-body { max-width: 70ch; margin: 0 auto; padding: 60px 24px 80px; }
.post-body h2 { font-size: 1.7rem; margin-top: 2em; }
.post-body p { font-size: 1.05rem; line-height: 1.75; color: var(--ink); margin-bottom: 1.1em; }
.post-body .meta { color: var(--teal-800); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600;}
.post-body ul, .post-body ol { font-size: 1.05rem; line-height: 1.75; color: var(--ink); margin: 0 0 1.4em; padding-left: 1.3em; }
.post-body li { margin-bottom: .85em; }
.post-body .editor-note {
  font-size: .92rem; line-height: 1.7; color: var(--teal-900, #0a3b3b);
  background: #eef4f3; border-left: 4px solid var(--teal-800);
  border-radius: 6px; padding: 16px 20px; margin: 0 0 2em;
}
.post-body .pull-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.9rem; line-height: 1.3; font-style: italic; font-weight: 600;
  color: var(--teal-800); text-align: center;
  border-top: 2px solid var(--teal-800); border-bottom: 2px solid var(--teal-800);
  padding: 28px 12px; margin: 2.2em 0;
}
.post-body ol.references { font-size: .92rem; line-height: 1.65; }
.post-body ol.references li { margin-bottom: .7em; }
.post-body ol.references a { color: var(--teal-800); font-weight: 600; word-break: break-word; }
@media (max-width: 640px){ .post-body .pull-quote { font-size: 1.45rem; } }

/* ============================ FORMS ============================ */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-weight: 600; font-size: .82rem;
  color: var(--teal-900); margin-bottom: 6px;
  letter-spacing: .04em;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 1rem;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(13,77,77,.12);
  background: #fff;
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ============================ ETHICS / PDF EMBED ============================ */
.pdf-embed-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.pdf-embed-wrap iframe,
.pdf-embed-wrap object { width: 100%; height: 720px; border: 0; display: block; }

/* Capability Statement always-on preview (image-based so it renders on every device) */
.cap-preview {
  display: block;
  position: relative;
  max-width: 900px;
  margin: 0 auto 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.cap-preview:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cap-preview img { width: 100%; height: auto; display: block; }
.cap-preview-hint {
  position: absolute;
  bottom: 16px; right: 16px;
  background: var(--teal-900);
  color: #fff;
  font-size: .85rem; font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  opacity: .94;
}
.pdf-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 48px 24px; min-height: 240px;
  background: var(--bg-2);
}
.pdf-fallback p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.download-card {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  color: #fff;
  padding: 30px 36px;
  border-radius: var(--r-lg);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
  margin-bottom: 30px;
}
.download-card h3 { color: #fff; margin: 0; }
.download-card p { color: #d6e6ea; margin: 6px 0 0; font-size: .92rem; }

/* ============================ CAPABILITIES PAGE ============================ */
.capab-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px;
  margin-top: 40px;
}
.data-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.data-table .row {
  display: grid; grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
}
.data-table .row:last-child { border-bottom: 0; }
.data-table .row b {
  color: var(--teal-900); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.data-table .row span { color: var(--ink); font-size: .95rem; word-break: break-word; }

.qr-block {
  margin-top: 30px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}
.qr-block img { width: 200px; margin: 0 auto 12px; }
.qr-block p { font-size: .82rem; margin: 0; color: var(--ink-2); }

/* ============================ CTA BANNERS ============================ */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  color: #fff;
  padding: clamp(40px, 6vw, 70px) 0;
}
.cta-banner h2, .cta-banner h3 { color: #fff; margin: 0 0 .5em; }
.cta-banner p { color: #d6e6ea; max-width: 70ch; margin: 0 auto 1.4rem; }
.cta-banner .inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 6px;
}
.cta-banner .btn-light { color: var(--teal-900); }
.cta-banner .btn-light:hover { color: var(--teal-900); background: #f0f6f6; }
.cta-banner.split-banner .inner {
  flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left;
  gap: 24px;
}
.cta-banner.split-banner .inner .copy { flex: 1 1 460px; }
.cta-banner.split-banner .inner p { margin: 0; }
.cta-banner.alt {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
}

/* NAICS list */
.naics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.naics-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-700);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: .92rem;
  line-height: 1.4;
}
.naics-item b {
  color: var(--teal-900);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .04em;
  display: block;
  margin-bottom: 2px;
  font-size: .85rem;
}

/* Get Connected callout */
.callout {
  background: linear-gradient(135deg, var(--teal-50), #f6efe2);
  border-left: 4px solid var(--teal-700);
  padding: 28px 32px;
  border-radius: var(--r-md);
  margin-top: 24px;
}
.callout h3 { margin: 0 0 8px; color: var(--teal-900); }
.callout p { margin: 0 0 14px; color: var(--ink); }

/* ============================ UTILITIES ============================ */
.lead { font-size: 1.15rem; color: var(--ink); line-height: 1.7; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .ethos-feature, .principles, .split, .donate-inner, .capab-grid {
    grid-template-columns: 1fr; gap: 32px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tenets { grid-template-columns: 1fr; }
}

/* Collapse full nav to a hamburger on PHONES ONLY. Tablets (>=768px) show
   the full desktop nav bar like the PC site (Option C). */
@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none;
    position: fixed; left: 0; right: 0; top: 0; bottom: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 64px 12px 36px; gap: 0;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    z-index: 9999;
  }
  .nav-list.open {
    display: flex;
    /* Fixed full-height panel that always scrolls to the very last item so
       no menu option (e.g. Volunteer With Us) can be cut off. */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 9999;
  }
  /* Close (X) button pinned to the top of the open mobile menu panel */
  .nav-list .nav-close {
    position: absolute; top: 10px; right: 12px;
    width: 48px; height: 48px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 50%; font-size: 1.5rem; line-height: 1;
    color: var(--teal-900); cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  body.nav-open { overflow: hidden; }
  .nav-list a { padding: 12px; border-radius: var(--r-sm); }
  /* Top-level dropdown triggers (Solutions / More) become tap-to-expand
     accordions on mobile so every sub-link is reachable. */
  .nav-list .has-dropdown {
    position: relative;
  }
  .nav-list .has-dropdown > a {
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-list .has-dropdown > a::after {
    content: "▾"; margin-left: 6px; font-size: .8rem; opacity: .7;
    transition: transform .2s ease;
  }
  .nav-list .has-dropdown.dropdown-open > a::after {
    transform: rotate(180deg);
  }
  .dropdown {
    position: static; opacity:1; visibility:visible; transform:none;
    border:0; box-shadow:none; padding: 0 0 0 12px;
    background: var(--bg-2);
    border-radius: var(--r-sm); margin: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-list .has-dropdown.dropdown-open > .dropdown {
    max-height: 1000px;
    padding: 4px 0 6px 12px;
    margin: 2px 0;
  }
  .dropdown a { padding: 8px 10px; font-size: .88rem; }
  .nav { flex-wrap: wrap; }
  .cta-volunteer { margin-left: 0; }
}

/* Tablet range (768-1024px): show full nav like PC, but tighten spacing so
   all links fit on one row without horizontal scroll (Option C). */
@media (min-width: 768px) and (max-width: 1024px) {
  .nav { gap: 8px; }
  .nav-list { gap: 0; }
  .nav-list a { font-size: .74rem; padding: 8px 5px; letter-spacing: 0; }
  .brand-logo { height: 44px; }
  .brand-text .name { font-size: 1.1rem; }
  .brand-text .sub { font-size: .54rem; letter-spacing: .14em; }
  .nav-list a.cta-volunteer, .nav-list a.cta-volunteer.active { padding: 7px 10px !important; font-size: .74rem; margin-left: 4px !important; letter-spacing: .02em; }
}

/* Narrowest tablet (768-860px): trim further so the full nav row never overflows */
@media (min-width: 768px) and (max-width: 860px) {
  .nav { gap: 6px; }
  .nav-list a { font-size: .7rem; padding: 8px 4px; }
  .brand-text .sub { letter-spacing: .1em; }
  .nav-list a.cta-volunteer, .nav-list a.cta-volunteer.active { padding: 7px 9px !important; font-size: .7rem; margin-left: 2px !important; }
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .pdf-embed-wrap iframe,
  .pdf-embed-wrap object { height: 520px; }
}

@media (max-width: 767px) {
  .utility-bar { font-size: .72rem; padding: 6px 0; }
  .utility-bar .container { gap: 8px; }
  .nav { padding: 10px 0; }
}

@media (max-width: 460px) {
  .brand-text .name { font-size: 1.15rem; }
  .brand-text .sub { font-size: .58rem; letter-spacing: .2em; }
  .brand-logo { height: 48px; }
}

/* Print friendliness for capabilities page */
@media print {
  .header, .footer, .utility-bar, .nav-toggle, .download-card { display: none !important; }
  body { background: #fff; color: #000; }
  section { padding: 18px 0; }
  .page-hero { background: #fff; color: #000; padding: 0 0 12px; }
  .page-hero h1, .page-hero p { color: #000; }
  .capab-grid { grid-template-columns: 1fr 1.4fr; }
}

/* ============================ CERT BADGES + ID ROW (About) ============================ */
.cert-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin: 26px auto 8px;
  max-width: 640px;
}
.cert-badge {
  display: inline-block;
  background: var(--teal-50);
  color: var(--teal-900);
  border: 1px solid var(--teal-600);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .02em;
}

/* Certification cards: full name + abbreviation + scope */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px auto 6px;
}
.cert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal-700);
  border-radius: var(--r-md);
  padding: 20px 22px 22px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.cert-scope {
  display: inline-block;
  align-self: flex-start;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 12px;
}
.cert-scope--federal   { background: #e7eef7; color: #1d3a63; }
.cert-scope--state     { background: #eaf3ec; color: #1f5132; }
.cert-scope--corporate { background: #f3ecf7; color: #4a2a63; }
.cert-name {
  font-size: 1.02rem; line-height: 1.3;
  color: var(--navy-800); margin: 0 0 6px;
}
.cert-abbr {
  font-family: var(--font-display, inherit);
  font-size: 1.25rem; font-weight: 700;
  color: var(--teal-800);
  letter-spacing: .03em;
  margin: 0 0 10px;
}
.cert-meta {
  font-size: .86rem; line-height: 1.5;
  color: var(--ink-2); margin: 0;
}
@media (max-width: 980px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cert-grid { grid-template-columns: 1fr; }
}
.id-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
  margin: 22px auto 4px;
}
.id-row > div {
  display: flex; flex-direction: column; align-items: center;
  min-width: 150px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.id-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.id-val   { font-size: 1.1rem; font-weight: 700; color: var(--navy-800); margin-top: 4px; }

/* ============================ FOUNDER BIO PAGE ============================ */
#page-bio .big-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.4;
  color: var(--navy-800);
  max-width: 30ch;
  margin: 0 auto;
}
.ethos-quote {
  background: var(--teal-50);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-attrib {
  margin-top: 18px;
  font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-700); font-weight: 600;
}
.check-list {
  list-style: none; padding: 0; margin: 14px 0 0;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-2);
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px;
  background: var(--teal-700);
  border-radius: 4px;
  clip-path: polygon(42% 70%, 16% 45%, 7% 54%, 42% 88%, 93% 30%, 84% 22%);
}
.check-list li strong { color: var(--ink); }

/* Timeline (work history) */
.timeline { margin-top: 26px; display: grid; gap: 22px; }
.timeline-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-700);
  border-radius: var(--r-md);
  padding: 26px 28px;
}
.timeline-head h3 { font-size: 1.25rem; color: var(--navy-800); margin: 0 0 4px; }
.timeline-head .tl-loc { font-weight: 500; color: var(--ink-2); font-size: 1rem; }
.tl-role { color: var(--teal-700); font-weight: 600; margin: 0 0 10px; font-size: .95rem; }
.tl-sub  { font-size: .9rem; color: var(--ink-2); margin: 0 0 12px; }

/* Secondary button on a dark background */
.btn-on-dark.btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-on-dark.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

/* ===== Service "Includes" lists (solutions.html) ===== */
.includes-label{
  font-family: var(--font-sans);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700);
  margin: 22px 0 10px;
}
.includes-list{
  list-style: none; padding: 0; margin: 0 0 24px;
}
.includes-list li{
  position: relative; padding-left: 26px; margin-bottom: 9px;
  color: var(--ink-2); font-size: .98rem; line-height: 1.55;
}
.includes-list li::before{
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; transform: rotate(45deg);
  background: var(--teal-600);
}

/* ===== Testimonials (solutions.html) ===== */
.testimonial-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
@media (max-width: 800px){ .testimonial-grid{ grid-template-columns: 1fr; } }
.testimonial-card{
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--teal-600);
  border-radius: var(--r-md); padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card blockquote{
  margin: 0 0 18px; padding: 0; border: 0;
  font-family: var(--font-display); font-size: 1.18rem; line-height: 1.55;
  color: var(--ink); font-style: italic;
}
.testimonial-card figcaption{
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.testimonial-card figcaption strong{ color: var(--teal-800); font-size: 1rem; }
.testimonial-card figcaption span{ color: var(--ink-2); font-size: .85rem; }

/* ===== Partnership Advantage / Certifications band (solutions.html) ===== */
.advantage{
  background: linear-gradient(160deg, var(--teal-900), var(--teal-950));
  color: #fff; padding: 84px 0;
}
.advantage h2{ font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.12; }
.advantage h2 em{ color: #6fcfcb; font-style: italic; }
/* Emphasized acronyms (SDVOSB / DVBE etc.) must stay legible on the dark teal background */
.advantage strong{ color: #6fcfcb; font-weight: 700; }
.advantage-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 52px;
}
@media (max-width: 980px){ .advantage-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .advantage-grid{ grid-template-columns: 1fr; } }
.advantage-card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(111,207,203,.22);
  border-top: 3px solid var(--teal-500);
  border-radius: var(--r-md); padding: 22px 20px;
}
.advantage-card h3{
  color: #fff; font-family: var(--font-sans); font-weight: 700;
  font-size: 1.02rem; margin: 0 0 9px;
}
.advantage-card p{ color: #cfe3e4; font-size: .92rem; line-height: 1.55; margin: 0; }
.advantage-card strong{ color: #fff; }

.cert-eyebrow{
  text-align: center; font-family: var(--font-sans);
  font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #6fcfcb; margin: 0 0 22px;
}
.cert-columns{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 980px; margin: 0 auto;
}
@media (max-width: 760px){ .cert-columns{ grid-template-columns: 1fr; } }
.cert-col h4{
  color: #fff; font-family: var(--font-sans); font-size: .92rem;
  font-weight: 700; letter-spacing: .04em;
  padding-bottom: 8px; margin: 0 0 12px;
  border-bottom: 1px solid rgba(111,207,203,.3);
}
.cert-col ul{ list-style: none; padding: 0; margin: 0; }
.cert-col li{
  color: #cfe3e4; font-size: .9rem; line-height: 1.45;
  padding-left: 20px; position: relative; margin-bottom: 10px;
}
.cert-col li::before{
  content: ""; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--teal-500);
}

/* ===== Per-service Partner Benefit callout ===== */
.partner-benefit{
  background: var(--teal-50);
  border-left: 4px solid var(--teal-600);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px; margin: 4px 0 22px;
}
.partner-benefit .pb-tag{
  display: inline-block; font-family: var(--font-sans);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-800);
  margin-bottom: 7px;
}
.partner-benefit p{ margin: 0; color: var(--teal-950); font-size: .95rem; line-height: 1.56; }
.partner-benefit strong{ color: var(--teal-800); }

/* Wide advantage card spans full row */
.advantage-card-wide{
  grid-column: 1 / -1;
  border-top: 3px solid #6fcfcb;
  background: rgba(111,207,203,.08);
}
.advantage-card-wide h3{ font-size: 1.12rem; }

/* ===== Honor Banner (homepage, occasion-driven, approval-gated) ===== */
.honor-banner{
  background: linear-gradient(90deg, var(--teal-950), var(--teal-800));
  color: #fff; border-bottom: 2px solid #6fcfcb;
}
.honor-banner-inner{
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; padding: 11px 0; text-align: center;
}
.honor-banner-star{ color: #6fcfcb; font-size: 1.05rem; }
.honor-banner-text{ font-size: .96rem; line-height: 1.4; }
.honor-banner-link{
  color: #fff; font-weight: 700; font-size: .9rem;
  text-decoration: none; border-bottom: 1px solid #6fcfcb;
  white-space: nowrap;
}
.honor-banner-link:hover{ color: #6fcfcb; }
@media (max-width: 600px){ .honor-banner-text{ font-size: .88rem; } }

/* ===== Clickable address (opens Google Maps) ===== */
.addr-link{
  color: inherit; text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: border-color .15s ease, color .15s ease;
}
.addr-link:hover, .addr-link:focus{
  color: var(--teal-600);
  border-bottom-color: var(--teal-600);
}

/* ============================ FOUNDER PORTRAIT ============================ */
.founder-portrait {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  justify-self: center;
  border: 4px solid #fff;
}

/* ============================ ARTIFACTS & HONORS GALLERY ============================ */
.artifact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.artifact-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.artifact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.artifact-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: var(--teal-950);
  padding: 18px;
}
.artifact-card figcaption {
  padding: 20px 22px 24px;
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.artifact-card figcaption strong {
  display: block;
  color: var(--teal-900);
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.artifact-feature { grid-column: span 2; }
.artifact-feature img { height: 320px; }
/* Jesus painting: portrait devotional artwork — show in full, never crop the halo or feet */
.artifact-jesus { border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.artifact-jesus img {
  height: 460px;
  background: #efe7d6;
  object-fit: contain;
  padding: 24px;
}
.artifact-jesus figcaption strong { font-size: 1.1rem; }

@media (max-width: 720px) {
  .artifact-feature { grid-column: span 1; }
  .artifact-feature img { height: 240px; }
  .artifact-jesus img { height: 380px; }
}

/* ============================ BID BOARD (swappable Excel screenshot) ============================ */
.bid-board {
  margin: 40px auto 0;
  max-width: 1100px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.bid-board img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.bid-board figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: .9rem;
  color: #c6cfd9;
}

/* ============ GEAR / COMING SOON ============ */
.gear-coming {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.gear-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.gear-copy .gear-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.gear-copy h2 {
  font-size: 1.9rem;
  margin: 0 0 14px;
  color: var(--navy-800);
}
.gear-copy p { color: var(--ink-2); line-height: 1.7; }
.gear-motto {
  margin: 26px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--teal-800);
  background: var(--paper, #f6efe2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy-800);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.gear-motto sup { font-style: normal; font-size: .6em; vertical-align: super; }
.gear-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 18px;
}
.gear-note { font-size: .8rem; color: var(--ink-3, #8a96a3); margin: 0; }

@media (max-width: 860px) {
  .gear-coming { grid-template-columns: 1fr; gap: 30px; }
}
