:root {
  --navy: #08243a;
  --navy-2: #0c314f;
  --blue: #235477;
  --gold: #f6b921;
  --gold-dark: #d99d13;
  --white: #feffff;
  --ink: #0a1c2c;
  --muted: #5f6f7d;
  --soft: #f4f7fa;
  --line: rgba(8, 36, 58, 0.14);
  --max: 1180px;
  --shadow: 0 24px 70px rgba(8, 36, 58, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Avenir, "Avenir Next", Montserrat, Arial, Helvetica, sans-serif;
  line-height: 1.55;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1rem; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 190px;
}

.brand-mark {
  background: var(--navy);
  color: #fff;
  padding: 11px 18px 12px;
  min-width: 188px;
  text-align: center;
  line-height: 1.05;
  box-shadow: 0 14px 32px rgba(8,36,58,0.16);
}

.brand-title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  color: #24384a;
}

.nav a {
  position: relative;
  padding: 32px 0;
}

.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 23px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .2s ease;
}

.nav a:hover:after,
.nav a.active:after { width: 100%; }

.more {
  position: relative;
}

.more-menu {
  position: absolute;
  top: 78px;
  right: 0;
  min-width: 220px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .18s ease;
}

.more:hover .more-menu,
.more:focus-within .more-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.more-menu a {
  display: block;
  padding: 12px 14px;
}

.more-menu a:after { display: none; }

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-button span {
  width: 22px;
  height: 2px;
  background: currentColor;
  display: block;
}

.btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 5px;
  border: 1px solid transparent;
  background: var(--gold);
  color: #050505;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(246, 185, 33, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,.1);
  box-shadow: none;
}

.hero {
  min-height: min(820px, calc(100vh - 88px));
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(8, 36, 58, 0.58) 0%, rgba(16, 64, 99, 0.46) 34%, rgba(8, 36, 58, 0.30) 60%, rgba(8, 36, 58, 0.34) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,21,35,.08), rgba(3,21,35,.14));
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero-copy {
  width: min(520px, 100%);
  padding: 42px 0 70px;
}

.hero h1 {
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 300;
  letter-spacing: -0.055em;
  margin-bottom: 4px;
}

.hero .eyebrow {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 68px;
}

.hero .tagline {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.24;
  margin-bottom: 48px;
  max-width: 360px;
}

.page-hero {
  min-height: 410px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(8, 36, 58, .82), rgba(8, 36, 58, .58)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.page-hero h1 { font-size: clamp(46px, 6vw, 74px); font-weight: 400; }
.page-hero p { max-width: 780px; margin-top: 24px; font-size: 21px; color: rgba(255,255,255,.9); }

.section { padding: 96px 0; }
.section-tight { padding: 70px 0; }
.section-title { font-size: clamp(38px, 4vw, 58px); margin-bottom: 28px; }
.section-kicker {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 68px;
  align-items: center;
}

.media-card {
  min-height: 460px;
  background-image: var(--image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.media-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,36,58,.22), rgba(8,36,58,.05));
}

.copy-large {
  font-size: 19px;
  color: #405467;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.feature {
  border-top: 3px solid var(--gold);
  padding-top: 18px;
}

.feature h3 { font-size: 22px; margin-bottom: 10px; color: var(--navy); }
.feature p { color: #536676; font-size: 15px; margin: 0; }

.dark-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.dark-section.bg-image {
  background-image:
    linear-gradient(90deg, rgba(8, 36, 58, .92), rgba(8, 36, 58, .72)),
    var(--image);
  background-size: cover;
  background-position: center;
}

.dark-section .section-title,
.dark-section h2,
.dark-section h3 { color: var(--white); }
.dark-section p { color: rgba(255,255,255,.82); }

.solutions-preview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  padding: 42px;
  backdrop-filter: blur(8px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.14);
  margin-top: 44px;
}

.stat {
  background: rgba(255,255,255,.06);
  padding: 38px 22px;
  min-height: 160px;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.stat span { display: block; margin-top: 18px; color: rgba(255,255,255,.84); font-size: 15px; }

.industry-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.industry-card,
.service-card,
.article-card,
.city-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(8,36,58,0.07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.industry-card:hover,
.service-card:hover,
.article-card:hover,
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.industry-card {
  min-height: 220px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background-image: linear-gradient(180deg, rgba(8,36,58,.2), rgba(8,36,58,.92)), var(--image);
  background-size: cover;
  background-position: center;
}

.industry-card h3 { font-size: 28px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.service-card { padding: 36px; }
.service-card h3 { color: var(--navy); font-size: 28px; margin-bottom: 18px; }
.service-card p { color: #566a7c; }

.cta {
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(8, 36, 58, .95), rgba(8, 36, 58, .72)),
    var(--image);
  background-size: cover;
  background-position: center;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 40px;
  align-items: center;
}

.cta h2 { font-size: clamp(40px, 5vw, 64px); max-width: 760px; }
.cta p { max-width: 680px; color: rgba(255,255,255,.83); font-size: 19px; margin-top: 22px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.form-field.full { grid-column: 1 / -1; }
label { display: block; font-size: 14px; color: #30475a; margin-bottom: 8px; }
input, textarea, select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(8,36,58,.22);
  padding: 13px 15px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border-radius: 2px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(246,185,33,.35); border-color: var(--gold); }

.contact-card {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 40px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 34px;
}

.article-image {
  height: 270px;
  background-image: var(--image);
  background-size: cover;
  background-position: center;
}

.article-body { padding: 30px; }
.article-body h2, .article-body h3 { font-size: 28px; margin-bottom: 16px; color: var(--navy); }
.article-body p { color: #566a7c; }
.article-meta { color: var(--gold-dark); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }

.prose {
  max-width: 860px;
  margin: 0 auto;
  font-size: 19px;
  color: #334b60;
}

.prose h2 { margin: 42px 0 16px; font-size: 34px; color: var(--navy); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 36px;
}
.city-card { padding: 24px; font-size: 20px; color: var(--navy); }

.footer {
  background: #061c2f;
  color: var(--white);
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 42px;
  padding-bottom: 46px;
}

.footer h3 { font-size: 20px; margin-bottom: 18px; }
.footer a, .footer p, .footer li, .footer small { color: rgba(255,255,255,.76); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 10px 0; }
.footer .brand-mark { box-shadow: none; border: 0; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { min-height: 48px; }
.newsletter .btn { min-height: 48px; padding: 0 18px; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  font-weight: 700;
}
.copyright { padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.55); }

.legal {
  font-size: 13px;
  color: #637383;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 48px;
}

@media (max-width: 980px) {
  .container { width: min(var(--max), calc(100% - 34px)); }
  .menu-button { display: inline-flex; }
  .nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px;
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { padding: 14px 0; }
  .nav a:after { bottom: 8px; }
  .more-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 18px; }
  .hero { min-height: 720px; background-position: 57% center; }
  .hero .eyebrow { margin-bottom: 48px; }
  .split-grid, .solutions-preview, .cta-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid, .city-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .brand-mark { min-width: 154px; padding: 10px 12px; }
  .brand-title { font-size: 18px; }
  .brand-subtitle { font-size: 13px; }
  .hero { min-height: 640px; background-position: 62% center; }
  .hero h1 { font-size: 48px; }
  .hero .eyebrow { font-size: 30px; margin-bottom: 36px; }
  .hero .tagline { font-size: 21px; margin-bottom: 34px; }
  .section { padding: 70px 0; }
  .feature-list, .stats-grid, .industry-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .media-card { min-height: 300px; }
  .panel, .service-card, .contact-card { padding: 28px; }
  .newsletter { flex-direction: column; }
}

/* Dark-blue header override
   Keeps the top navigation bar aligned with the Halston Corbin navy brand color. */
.header {
  background: rgba(8, 36, 58, 0.98) !important;
  border-bottom: 1px solid rgba(254, 255, 255, 0.14) !important;
  box-shadow: 0 10px 30px rgba(8, 36, 58, 0.14);
}

.header .brand-mark {
  background: transparent;
  color: var(--white);
  border: 0;
  box-shadow: none;
}

.header .nav,
.header .nav a {
  color: var(--white);
}

.header .nav a:hover,
.header .nav a.active,
.header .more:hover > a {
  color: var(--gold);
}

.header .menu-button {
  background: transparent;
  color: var(--white);
  border-color: rgba(254, 255, 255, 0.38);
}

.header .more-menu {
  background: rgba(8, 36, 58, 0.98) !important;
  border-color: rgba(254, 255, 255, 0.16) !important;
}

.header .more-menu a {
  color: var(--white);
}

.header .more-menu a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .header .nav {
    background: rgba(8, 36, 58, 0.98) !important;
    border-bottom: 1px solid rgba(254, 255, 255, 0.14) !important;
  }

  .header .more-menu {
    background: transparent !important;
    border: 0 !important;
  }
}


/* Logo cleanup: remove the white border/outline from the logo wherever it appears. */
.brand-mark,
.header .brand-mark,
.footer .brand-mark {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.card-note {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(254, 255, 255, 0.82);
  letter-spacing: 0;
}

.form-note {
  margin: 12px 0 0;
  color: #405467;
  font-size: 14px;
}


/* Polish updates: unify the footer/logo background and separate the experience section visually. */
.footer .brand-mark {
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  min-width: 0 !important;
  text-align: left !important;
}

.experience-section {
  background: linear-gradient(180deg, #f4f7fa 0%, #edf3f7 100%);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}

.experience-section .section-title,
.experience-section h2,
.experience-section h3 {
  color: var(--navy);
}

.experience-section p {
  color: #405467;
}

.experience-section .stats-grid {
  background: transparent;
  gap: 16px;
}

.experience-section .stat {
  background: #ffffff;
  border: 1px solid rgba(8, 36, 58, 0.09);
  box-shadow: 0 16px 38px rgba(8, 36, 58, 0.08);
}

.experience-section .stat span {
  color: #405467;
}

@media (max-width: 640px) {
  .footer .brand-mark {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Final spacing and mobile refinements. */
.panel h2,
.panel h3 {
  margin-bottom: 12px;
}

.panel h2 + p,
.panel h3 + p {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .panel {
    padding: 34px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 360px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .page-hero p,
  .copy-large {
    font-size: 17px;
  }

  .panel {
    padding: 26px;
  }

  .contact-card .btn,
  .contact-card button[type="submit"] {
    width: 100%;
  }
}

/* Local image bindings: unique no-people imagery with warmer burgundy/gold accents */
.hero.bg-capitol-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.30) 55%, rgba(0, 0, 0, 0.28) 100%),
    url("../images/capitol-hero.png") !important;
  background-position: 70% center;
}
.hero.bg-capitol-hero:before { background: none; }

.page-hero.bg-page-hero,
.page-hero.bg-insights-hero,
.page-hero.bg-contact-hero,
.page-hero.bg-post-financing,
.page-hero.bg-post-government,
.page-hero.bg-thankyou-hero {
  background-image:
    radial-gradient(circle at 80% 18%, rgba(247, 191, 85, 0.12), transparent 18%),
    linear-gradient(135deg, rgba(24, 16, 24, 0.98) 0%, rgba(9, 15, 28, 0.98) 42%, rgba(100, 38, 43, 0.95) 100%) !important;
}
.page-hero.bg-insights-hero {
  background-image:
    radial-gradient(circle at 18% 18%, rgba(247, 191, 85, 0.12), transparent 17%),
    linear-gradient(135deg, rgba(28, 15, 22, 0.98) 0%, rgba(10, 14, 26, 0.98) 40%, rgba(120, 44, 37, 0.95) 100%) !important;
}
.page-hero.bg-contact-hero {
  background-image:
    radial-gradient(circle at 22% 18%, rgba(247, 191, 85, 0.12), transparent 17%),
    linear-gradient(135deg, rgba(20, 14, 20, 0.98) 0%, rgba(11, 16, 27, 0.98) 45%, rgba(95, 35, 40, 0.95) 100%) !important;
}
.page-hero.bg-post-financing {
  background-image:
    radial-gradient(circle at 78% 18%, rgba(247, 191, 85, 0.13), transparent 18%),
    linear-gradient(135deg, rgba(30, 14, 18, 0.98) 0%, rgba(8, 13, 24, 0.98) 45%, rgba(128, 45, 42, 0.95) 100%) !important;
}
.page-hero.bg-post-government {
  background-image:
    radial-gradient(circle at 78% 20%, rgba(247, 191, 85, 0.12), transparent 18%),
    linear-gradient(135deg, rgba(26, 15, 19, 0.98) 0%, rgba(10, 14, 24, 0.98) 42%, rgba(112, 40, 36, 0.95) 100%) !important;
}
.page-hero.bg-thankyou-hero {
  background-image:
    radial-gradient(circle at 20% 18%, rgba(247, 191, 85, 0.12), transparent 17%),
    linear-gradient(135deg, rgba(20, 15, 20, 0.98) 0%, rgba(9, 15, 26, 0.98) 45%, rgba(104, 36, 43, 0.95) 100%) !important;
}

.dark-section.bg-home-solutions {
  background-image:
    linear-gradient(90deg, rgba(18, 10, 18, 0.74), rgba(14, 14, 26, 0.70)),
    url("../images/home-solutions-bg.png") !important;
}
.dark-section.bg-about-band {
  background-image:
    radial-gradient(circle at 25% 20%, rgba(247, 191, 85, 0.10), transparent 16%),
    linear-gradient(135deg, rgba(17, 14, 24, 0.98) 0%, rgba(27, 15, 22, 0.98) 45%, rgba(97, 38, 45, 0.94) 100%) !important;
}
.dark-section.bg-solutions-band {
  background-image:
    linear-gradient(90deg, rgba(18, 10, 18, 0.78), rgba(14, 14, 26, 0.72)),
    url("../images/solutions-band.png") !important;
}
.cta.bg-home-cta {
  background-image:
    linear-gradient(90deg, rgba(20, 12, 18, 0.76), rgba(12, 15, 26, 0.70)),
    url("../images/home-cta.png") !important;
}

.media-card.bg-home-feature { background-image: url("../images/home-feature-wave.png") !important; }
.media-card.bg-about-media { background-image: url("../images/about-media-v3.png") !important; }
.media-card.bg-solutions-media { background-image: url("../images/solutions-media-v3.png") !important; }

.industry-card.bg-industry-real-estate {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-real-estate-local.png") !important;
}
.industry-card.bg-industry-healthcare {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-healthcare-local.png") !important;
}
.industry-card.bg-industry-services {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-services-local.png") !important;
}
.industry-card.bg-industry-nonprofits {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-nonprofits-local.png") !important;
}

.article-image.bg-insight-nonprofit { background-image: url("../images/insight-nonprofit-v2.png") !important; }
.article-image.bg-insight-financing { background-image: url("../images/insight-financing-v2.png") !important; }
.article-image.bg-insight-government { background-image: url("../images/insight-government-v2.png") !important; }

.page-hero.bg-page-hero,
.page-hero.bg-insights-hero,
.page-hero.bg-contact-hero,
.page-hero.bg-post-financing,
.page-hero.bg-post-government,
.page-hero.bg-thankyou-hero,
.dark-section.bg-home-solutions,
.dark-section.bg-about-band,
.dark-section.bg-solutions-band,
.cta.bg-home-cta,
.media-card.bg-home-feature,
.media-card.bg-about-media,
.media-card.bg-solutions-media,
.industry-card.bg-industry-real-estate,
.industry-card.bg-industry-healthcare,
.industry-card.bg-industry-services,
.industry-card.bg-industry-nonprofits,
.article-image.bg-insight-nonprofit,
.article-image.bg-insight-financing,
.article-image.bg-insight-government {
  background-size: cover;
  background-position: center;
}

/* Give warm contrast to the cream experience section */
.experience-section {
  background: linear-gradient(180deg, #f4f7fa 0%, #eaf0f5 100%);
  color: #08243a;
}
.experience-section .section-kicker {
  color: #d99d13;
}
.experience-section .section-title,
.experience-section .stat strong {
  color: #08243a;
}
.experience-section .stats-grid {
  background: transparent;
  gap: 18px;
}
.experience-section .stat {
  background: #ffffff;
  border: 1px solid rgba(8, 36, 58, 0.10);
  border-top: 4px solid #f6b921;
  box-shadow: 0 18px 42px rgba(8, 36, 58, 0.10);
}
.experience-section .stat span {
  color: #30475a;
}

@media (max-width: 980px) {
  .hero.bg-capitol-hero { background-position: 73% center; }
}


/* Final mobile/header polish */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

.header {
  top: 0 !important;
  border-top: 0 !important;
  outline: 0 !important;
}

.header::before,
.header::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 980px) {
  .header {
    border-top: 0 !important;
    box-shadow: none !important;
  }

  .header-inner {
    border-top: 0 !important;
  }
}

.form-status {
  margin: 12px 0 0;
  font-size: 14px;
  color: #405467;
}

.form-status.is-error,
.newsletter + [data-form-message].is-error {
  color: #b42318;
}

button[disabled] {
  cursor: progress;
  opacity: 0.76;
}


/* Trust/compliance/accessibility refinements */
.skip-link {
  position: absolute;
  left: 12px;
  top: -120px;
  z-index: 9999;
  background: #f6b921;
  color: #061c2e;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #f6b921;
  outline-offset: 3px;
}

.header {
  border-top: 0 !important;
}
body::before,
.header::before,
.site-header::before,
.nav::before {
  display: none !important;
  content: none !important;
}

.legal-page .narrow {
  max-width: 920px;
}
.legal-page h2,
.approach-page h2 {
  color: #08243a;
  margin-top: 34px;
}
.legal-page p,
.legal-page li {
  color: #30475a;
  font-size: 18px;
  line-height: 1.75;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer-legal a {
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.footer-legal a:hover {
  color: #f6b921;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #d99d13;
  font-weight: 700;
}
.trust-split {
  margin-top: 58px;
}
.approach-page .panel {
  background: #ffffff;
  border: 1px solid rgba(8,36,58,.10);
  box-shadow: 0 18px 48px rgba(8,36,58,.10);
}

label {
  color: #08243a;
}
input,
textarea,
select {
  color: #08243a;
}
input::placeholder,
textarea::placeholder {
  color: #5e7081;
}
.form-status[role="status"] {
  margin-top: 14px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .footer-legal {
    display: grid;
    gap: 10px;
  }
  .legal-page p,
  .legal-page li {
    font-size: 16px;
  }
}


/* Professional compact footer: integrate legal links into footer grid */
.footer {
  padding: 58px 0 24px;
}

.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.15fr 1.35fr;
  gap: 34px;
  align-items: start;
}

.footer h3 {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #f6b921;
  margin: 0 0 16px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  margin: 8px 0;
}

.footer p,
.footer li,
.footer a {
  font-size: 14px;
  line-height: 1.55;
}

.footer-legal {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
}

.footer-legal a {
  display: block;
  margin: 8px 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}

.footer .newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 380px;
}

.footer .newsletter input[type="email"] {
  min-width: 0;
}

@media (max-width: 980px) {
  .footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer .newsletter {
    grid-template-columns: 1fr;
  }

  .footer .newsletter .btn {
    width: 100%;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin: 6px 0;
  }
}


/* Small navigation readability increase */
.nav a,
.more-menu a {
  font-size: 16px;
}

@media (max-width: 980px) {
  .nav a,
  .more-menu a {
    font-size: 16px;
  }
}


/* Final mobile/desktop nav line removal */
.header,
.header-inner,
.brand,
.brand-mark,
.menu-button {
  border-top: 0 !important;
  border-bottom: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.header::before,
.header::after,
.header-inner::before,
.header-inner::after,
.brand::before,
.brand::after,
.brand-mark::before,
.brand-mark::after,
.menu-button::before,
.menu-button::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  .header,
  .header-inner,
  .brand,
  .brand-mark,
  .menu-button {
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
  }
}


/* Definitive header/nav hairline removal
   Removes the persistent 1px seam/line visible in mobile and desktop headers. */
:root {
  --header-navy: #08243a;
}

.header {
  background: var(--header-navy) !important;
  background-color: var(--header-navy) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.header .container,
.header-inner {
  background: var(--header-navy) !important;
  background-color: var(--header-navy) !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.header .brand,
.header .brand-mark {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.header .menu-button {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.38) !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.header *,
.header *::before,
.header *::after {
  text-decoration-thickness: auto;
}

.header::before,
.header::after,
.header .container::before,
.header .container::after,
.header-inner::before,
.header-inner::after,
.header .brand::before,
.header .brand::after,
.header .brand-mark::before,
.header .brand-mark::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  .header {
    background: var(--header-navy) !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .header-inner {
    min-height: 88px;
    background: var(--header-navy) !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .header .nav {
    border: 0 !important;
    box-shadow: none !important;
  }
}


/* Mobile-only centering for hero/CTA text and buttons.
   Desktop remains unchanged. */
@media (max-width: 640px) {
  .hero .container,
  .page-hero .container,
  .cta,
  .cta .container,
  .cta-inner,
  .panel,
  .section-heading {
    text-align: center;
  }

  .hero .btn,
  .page-hero .btn,
  .cta .btn,
  .panel .btn,
  .section-heading .btn {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .tagline,
  .hero .eyebrow,
  .page-hero p,
  .cta p,
  .panel p,
  .section-heading p {
    margin-left: auto;
    margin-right: auto;
  }

  .split-grid,
  .solutions-preview,
  .cta-inner {
    justify-items: center;
  }
}


/* Missing-image / spacing correction
   Uses local no-people assets so pages do not depend on external image hosts. */
.page-hero.bg-page-hero {
  background-image:
    linear-gradient(90deg, rgba(8, 36, 58, .82), rgba(8, 36, 58, .58)),
    url("../images/generic-page-hero-local.png") !important;
  background-size: cover;
  background-position: center;
}

.industry-card.bg-industry-real-estate {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-real-estate-local.png") !important;
}
.industry-card.bg-industry-healthcare {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-healthcare-local.png") !important;
}
.industry-card.bg-industry-services {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-services-local.png") !important;
}
.industry-card.bg-industry-nonprofits {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-nonprofits-local.png") !important;
}

/* Mobile-only reduce oversized empty hero space on inner pages while preserving desktop. */
@media (max-width: 640px) {
  .page-hero {
    min-height: 300px;
    padding: 58px 0;
  }

  .media-card {
    min-height: 260px;
  }

  .article-image {
    min-height: 210px;
    height: 210px;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}


/* Once-for-all mobile image and spacing fix
   The earlier mobile centering rule made empty background-only cards shrink to zero width,
   which created large blank vertical gaps. This restores full-width media cards on mobile
   while keeping text and buttons centered only on mobile. */
.page-hero.bg-post-government {
  background-image:
    linear-gradient(90deg, rgba(8, 36, 58, .72), rgba(8, 36, 58, .46)),
    url("../images/capitol-hero.png") !important;
  background-size: cover;
  background-position: center;
}

.page-hero.bg-post-financing {
  background-image:
    linear-gradient(90deg, rgba(8, 36, 58, .76), rgba(8, 36, 58, .52)),
    url("../images/insight-financing-v2.png") !important;
  background-size: cover;
  background-position: center;
}

.page-hero.bg-page-hero {
  background-image:
    linear-gradient(90deg, rgba(8, 36, 58, .82), rgba(8, 36, 58, .58)),
    url("../images/generic-page-hero-local.png") !important;
  background-size: cover;
  background-position: center;
}

.media-card.bg-about-media {
  background-image: url("../images/about-media-v3.png") !important;
}

.media-card.bg-solutions-media {
  background-image: url("../images/solutions-media-v3.png") !important;
}

.industry-card.bg-industry-real-estate {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-real-estate-local.png") !important;
}
.industry-card.bg-industry-healthcare {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-healthcare-local.png") !important;
}
.industry-card.bg-industry-services {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-services-local.png") !important;
}
.industry-card.bg-industry-nonprofits {
  background-image: linear-gradient(180deg, rgba(8, 20, 34, .10), rgba(8, 20, 34, .72)), url("../images/industry-nonprofits-local.png") !important;
}

@media (max-width: 640px) {
  .split-grid,
  .solutions-preview,
  .cta-inner {
    justify-items: stretch !important;
    gap: 28px !important;
  }

  .split-grid > *,
  .solutions-preview > *,
  .cta-inner > *,
  .media-card,
  .panel,
  .article-card,
  .industry-card,
  .service-card,
  .contact-card {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
  }

  .media-card {
    display: block !important;
    min-height: 230px !important;
    height: 230px !important;
    margin: 0 !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .article-image {
    display: block !important;
    width: 100% !important;
    min-height: 210px !important;
    height: 210px !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .section {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .page-hero {
    min-height: 300px !important;
    padding-top: 54px !important;
    padding-bottom: 54px !important;
    align-items: center !important;
  }

  .page-hero + .section {
    padding-top: 54px !important;
  }

  .hero {
    min-height: 610px !important;
  }

  .dark-section.bg-image {
    background-size: cover !important;
    background-position: center !important;
  }
}


/* Mobile-only uniform centering pass.
   Desktop remains unchanged. */
@media (max-width: 640px) {
  main,
  .section,
  .section-tight,
  .dark-section,
  .experience-section,
  .cta,
  .footer {
    text-align: center !important;
  }

  .container,
  .hero .container,
  .page-hero .container,
  .section .container,
  .footer .container {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-copy,
  .section-heading,
  .split-grid > div,
  .solutions-preview > div,
  .cta-inner > div,
  .panel,
  .prose,
  .legal-page .narrow,
  .footer-grid > div {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-title,
  .section-kicker,
  .copy-large,
  .hero h1,
  .hero .eyebrow,
  .hero .tagline,
  .page-hero h1,
  .page-hero p,
  .dark-section h2,
  .dark-section p,
  .panel h2,
  .panel h3,
  .panel p,
  .service-card h3,
  .service-card p,
  .stat strong,
  .stat span,
  .footer h3,
  .footer p,
  .footer li,
  .footer a {
    text-align: center !important;
  }

  .copy-large,
  .hero .tagline,
  .page-hero p,
  .section-heading p,
  .panel p,
  .dark-section p,
  .prose p,
  .service-card p,
  .footer p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .btn,
  button,
  input[type="submit"],
  .hero .btn,
  .page-hero .btn,
  .panel .btn,
  .cta .btn {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .stats-grid {
    justify-items: stretch !important;
    gap: 18px !important;
    background: transparent !important;
  }

  .stat {
    text-align: center !important;
    width: 100% !important;
    min-height: 150px !important;
  }

  .footer .footer-grid {
    justify-items: center !important;
    gap: 34px !important;
  }

  .footer ul {
    text-align: center !important;
  }

  .footer li {
    text-align: center !important;
  }

  .footer .newsletter {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 330px !important;
  }

  .footer .socials {
    justify-content: center !important;
  }

  .footer-bottom {
    justify-content: center !important;
    text-align: center !important;
  }
}


/* Inner-page hero correction
   Restore professional color-only hero backgrounds on all internal pages.
   This intentionally does NOT affect the homepage Capitol hero. */
.page-hero.bg-page-hero,
.page-hero.bg-insights-hero,
.page-hero.bg-contact-hero,
.page-hero.bg-post-financing,
.page-hero.bg-post-government,
.page-hero.bg-thankyou-hero {
  background-image:
    radial-gradient(circle at 82% 18%, rgba(246, 185, 33, 0.12), transparent 18%),
    linear-gradient(135deg, #0b1020 0%, #111827 42%, #57272c 100%) !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Keep the same clean color-only treatment on mobile too. */
@media (max-width: 640px) {
  .page-hero.bg-page-hero,
  .page-hero.bg-insights-hero,
  .page-hero.bg-contact-hero,
  .page-hero.bg-post-financing,
  .page-hero.bg-post-government,
  .page-hero.bg-thankyou-hero {
    background-image:
      radial-gradient(circle at 82% 18%, rgba(246, 185, 33, 0.12), transparent 18%),
      linear-gradient(135deg, #0b1020 0%, #111827 42%, #57272c 100%) !important;
    background-size: cover !important;
    background-position: center !important;
  }
}


/* Targeted additions only: About page approach section and secure upload request page */
.about-approach-section {
  background: #f7f9fb;
}

.approach-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.approach-principles-panel {
  margin-top: 34px;
  background: #ffffff;
  border: 1px solid rgba(8,36,58,.10);
  box-shadow: 0 18px 48px rgba(8,36,58,.08);
}


@media (max-width: 980px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}



/* Targeted city market pages only. Existing homepage, nav, footer, mobile, and core sections remain unchanged. */
.city-seo-page .split-grid {
  align-items: start;
}

.city-content p {
  color: #30475a;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.city-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.city-side-card {
  background: #ffffff;
  border: 1px solid rgba(8,36,58,.12);
  box-shadow: 0 18px 48px rgba(8,36,58,.08);
  padding: 36px;
}

.city-side-card h3 {
  color: var(--navy);
  margin-bottom: 20px;
}

.city-side-card p {
  color: #536676;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 24px;
}

.city-feed-cta {
  background: #f7f9fb;
  text-align: center;
}

.city-feed-cta h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
}

.city-feed-cta p {
  color: #405467;
  max-width: 760px;
  margin: 16px auto 28px;
}

.market-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-card-grid a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 980px) {
  .market-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .city-actions {
    justify-content: center;
  }

  .city-content p,
  .city-side-card p {
    text-align: center;
  }

  .city-side-card {
    padding: 28px;
  }
}


/* Professional polish for city market pages only */
.city-hero .section-kicker {
  color: var(--gold);
}

.city-seo-page .split-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 58px;
}

.city-content {
  background: #ffffff;
}

.city-content .section-title {
  max-width: 900px;
}

.city-content p {
  color: #30475a;
  font-size: 18px;
  line-height: 1.78;
  margin-bottom: 20px;
}

.city-side-card {
  position: sticky;
  top: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,251,.98));
  border: 1px solid rgba(8,36,58,.12);
  border-top: 4px solid var(--gold);
  box-shadow: 0 24px 60px rgba(8,36,58,.10);
  padding: 38px;
}

.city-side-card h3 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 22px;
}

.city-side-card .check-list {
  margin-top: 0;
}

.city-side-card .check-list li {
  color: #30475a;
}

.city-actions {
  border-top: 1px solid rgba(8,36,58,.10);
  padding-top: 30px;
}

.city-feed-cta {
  background: linear-gradient(135deg, rgba(8,36,58,.96), rgba(17,24,39,.96) 48%, rgba(87,39,44,.95));
  color: #ffffff;
}

.city-feed-cta h2 {
  color: #ffffff;
}

.city-feed-cta p {
  color: rgba(255,255,255,.84);
}

.city-market-index .section-title {
  max-width: 920px;
}

.market-card-grid .service-card {
  min-height: 220px;
}

@media (max-width: 980px) {
  .city-seo-page .split-grid {
    grid-template-columns: 1fr;
  }

  .city-side-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .city-seo-page .split-grid {
    gap: 34px;
  }

  .city-content,
  .city-content p,
  .city-side-card,
  .city-side-card h3,
  .city-side-card .check-list li {
    text-align: center !important;
  }

  .city-actions {
    justify-content: center;
  }
}
