/* Shared public-site theme, inspired by the supplied reference. */
:root {
  --site-paper: #e7e7e3;
  --site-ink: #202529;
  --site-blue: #007fc5;
  --site-dark: #24272b;
  --site-muted: #adb5b9;
  --site-line: rgba(255, 255, 255, .13);
  --site-header-height: 192px;
}

html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { background: var(--site-paper); color: var(--site-ink); }
button, input, summary { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--site-blue);
  outline-offset: 6px;
}
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 3000; padding: 10px 18px; color: #fff; background: var(--site-blue); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Three evenly spaced primary links share the same size and alignment. */
.header, .header.scrolled {
  position: relative;
  background: var(--site-paper);
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.header-inner.container {
  width: 100%;
  max-width: 1600px;
  height: 192px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 258px minmax(0, 880px) minmax(100px, 1fr);
  column-gap: 28px;
  align-items: center;
}
.header .logo { margin-left: 28px; width: fit-content; flex-shrink: 0; }
.header-logo { width: 176px; height: auto; opacity: .78; object-fit: contain; }
.nav { min-width: 0; }
.nav ul { display: flex; position: static; width: auto; height: auto; gap: 0; background: transparent; backdrop-filter: none; }
.nav ul li { flex: 1; text-align: center; }
.nav ul li a {
  display: inline-block;
  padding: 14px 12px;
  border-radius: 0;
  color: var(--site-ink);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: .6px;
  white-space: nowrap;
  background: transparent;
  transition: color .2s;
}
.nav ul li a:hover, .nav ul li a.active { color: var(--site-blue); background: transparent; }
.header-check-link {
  position: absolute;
  right: 0;
  top: calc(83px + 20vh);
  top: calc(83px + 20svh);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(280px, 22vw, 360px);
  height: 64px;
  padding: 16px 28px;
  border: 0;
  background: var(--site-blue);
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  transition: background .2s;
}
.header-check-link:focus-visible { outline-offset: -5px; outline-color: #fff; }
.header-check-link:hover { background: #006ba9; border-color: #006ba9; color: #fff; }
.header-check-link:active { background: #005c93; border-color: #005c93; }
.header-cta-stack { --contact-step: 48px; position: absolute; right: 0; top: calc(83px + 20vh); top: calc(83px + 20svh); width: clamp(280px, 22vw, 360px); display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.header-cta-stack .header-check-link { position: static; width: 100%; }
.header-contact-links { display: flex; flex-direction: column; align-items: flex-end; gap: 0; width: 100%; }
.header-contact-button { display: flex; align-items: center; justify-content: flex-start; width: calc(100% - var(--contact-step)); height: 64px; padding: 16px 28px; border: 0; border-radius: 0; background: #dce0e2; color: #3e4a52; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: left; white-space: nowrap; cursor: pointer; transition: background .2s; }
.header-contact-button + .header-contact-button { width: calc(100% - var(--contact-step) - var(--contact-step)); box-shadow: inset 0 1px 0 rgba(32, 37, 41, .22); }
.header-contact-button.header-admin-link { width: calc(100% - var(--contact-step) - var(--contact-step) - var(--contact-step)); box-shadow: inset 0 1px 0 rgba(32, 37, 41, .22); }
.header-contact-button:hover { background: #cdd3d7; }
.header-contact-button:active { background: #bec7cd; }
.header-contact-button:focus-visible { outline-offset: -5px; }
.hamburger { display: none; appearance: none; border: 0; background: transparent; border-radius: 0; position: relative; z-index: 1002; }
.hamburger span { background: var(--site-ink); }
.site-nav-open { overflow: hidden; }

/* Give the header and brief introduction 85% of the first screen. */
.home-page { --site-paper: #f7f7f4; background: var(--site-dark); color: #f4f5ef; }
.home-page .container:not(.header-inner) { width: 100%; max-width: 1320px; padding-left: 60px; padding-right: 60px; }
.home-page .hero {
  margin-top: 0;
  min-height: calc(85vh - var(--site-header-height));
  min-height: calc(85svh - var(--site-header-height));
  padding: 24px 0 32px;
  background: var(--site-paper);
  color: var(--site-ink);
  border-bottom: 0;
}
.home-page .hero::before, .home-page .hero::after { display: none; }
.home-page .hero > .container { max-width: 1480px; grid-template-columns: 1.45fr 1fr; gap: 112px; padding-top: 0; padding-bottom: 0; align-items: center; }
.home-page .hero-text, .home-page .hero-text > * { animation: none; }
.home-page .hero-badge { padding: 0; border: 0; border-radius: 0; margin-bottom: 18px; color: var(--site-blue); background: transparent; font-size: 13px; letter-spacing: 2px; }
.home-page .hero-badge i { font-size: 5px; animation: none; }
.home-page .hero-text h1 { font-size: clamp(40px, 4.8vw, 72px); font-weight: 550; line-height: 1.2; color: var(--site-ink); letter-spacing: 2px; margin-bottom: 24px; }
.home-page .hero-text h1 .gradient { color: var(--site-blue); background: none; -webkit-text-fill-color: currentColor; }
.home-page .hero-text p { max-width: 620px; color: #64747d; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.85; margin-bottom: 28px; }
.home-page .btn { border-radius: 0; box-shadow: none; padding: 12px 24px; font-size: 13px; font-weight: 500; }
.home-page .hero .btn { padding: 14px 28px; font-size: 15px; }
.home-page .btn:hover { transform: none; box-shadow: none; }
.home-page .btn-primary { background: #197fae; color: #fff; }
.home-page .btn-primary:hover { background: #248fbf; }
.home-page .btn-outline { color: #e0e5e4; border: 1px solid #647078; background: transparent; }
.home-page .btn-outline:hover { color: #fff; border-color: #a9b7bd; }
.home-page .hero .btn-outline { color: #385260; border-color: #aebec6; }
.home-page .hero .btn-outline:hover { color: var(--site-blue); border-color: var(--site-blue); }
.home-page .hero-stats { margin-top: 36px; gap: 52px; }
.home-page .hero-stat { text-align: left; }
.home-page .hero-stat .num { color: #314550; background: none; -webkit-text-fill-color: currentColor; font-size: 36px; font-weight: 500; letter-spacing: 1px; }
.home-page .hero-stat .label { margin-top: 10px; font-size: 13px; color: #6e7d84; }
.hero-aside { padding: 14px 0 0 48px; border-left: 1px solid #d3dbde; }
.hero-index { color: #7d909b; font-size: 12px; letter-spacing: 2px; margin-bottom: 32px; }
.hero-aside-title { color: #3b535f; font-size: 34px; line-height: 1.7; font-weight: 400; letter-spacing: 3px; }
.hero-aside-title span { display: block; }
.hero-aside-links { display: flex; flex-direction: column; gap: 0; margin-top: 40px; max-width: 300px; }
.hero-aside-links a { display: flex; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid #d4dfe1; color: #5b707c; font-size: 16px; }
.hero-aside-links a:hover { color: var(--site-blue); }
.hero-aside-links span { color: #7796a5; }

/* Carry the charcoal palette through the existing public content. */
.home-page .section { padding: 90px 0; }
.home-page .services, .home-page .about, .home-page .testimonial, .home-page .mission { background: var(--site-dark); border-bottom: 1px solid var(--site-line); }
.home-page .section-head { text-align: left; margin-bottom: 45px; }
.home-page .section-tag { padding: 0; margin-bottom: 18px; border-radius: 0; color: #8abfda; background: transparent; font-size: 11px; font-weight: 500; letter-spacing: 1.5px; }
.home-page .section-title { color: #edf0eb; font-size: clamp(25px, 3vw, 36px); font-weight: 500; letter-spacing: 1px; }
.home-page .section-sub { color: #a6b1b7; margin-left: 0; max-width: 720px; font-size: 14px; }
.home-page .services-grid { gap: 42px; }
.home-page .service-card { padding: 30px 0; border: 0; border-top: 1px solid #637079; border-radius: 0; background: transparent; }
.home-page .service-card::after { display: none; }
.home-page .service-card:hover { transform: none; box-shadow: none; border-color: #8abfda; }
.home-page .service-icon, .home-page .service-card:hover .service-icon { width: auto; height: 30px; display: block; margin-bottom: 26px; color: #8abfda; background: transparent; box-shadow: none; border-radius: 0; font-size: 24px; }
.home-page .service-card h3 { color: #e3e9e6; font-size: 19px; font-weight: 500; }
.home-page .service-card p, .home-page .about-content p, .home-page .testimonial-card p, .home-page .tab-pane p { color: #aab5bb; }
.home-page .numbers { padding: 52px 0; background: #202528; border-bottom: 1px solid var(--site-line); }
.home-page .numbers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-page .number-item { padding: 12px 20px; border-right: 1px solid var(--site-line); }
.home-page .number-item:last-child { border-right: 0; }
.home-page .number-item .num { color: #e3eae8; font-size: 38px; font-weight: 500; background: none; -webkit-text-fill-color: currentColor; }
.home-page .number-item .suffix { color: #8abfda; font-size: 18px; font-weight: 400; }
.home-page .number-item .label { color: #a7b1b6; font-size: 12px; margin-top: 14px; }
.home-page .about-grid { max-width: none; }
.home-page .about-content { max-width: 840px; }
.home-page .about-tag { border-color: #52636c; border-radius: 0; background: transparent; color: #8abfda; }
.home-page .testimonial-card { padding: 0; margin: 0; max-width: 840px; border: 0; border-radius: 0; background: transparent; text-align: left; }
.home-page .testimonial-card .quote-icon { color: #738e9c; }
.home-page .testimonial-card h3 { color: #e1e8e7; font-weight: 500; }
.home-page .testimonial-card p { max-width: none; }
.home-page .testi-dots { justify-content: flex-start; }
.home-page .tab-nav { padding: 0; border: 0; border-bottom: 1px solid #52636c; border-radius: 0; background: transparent; gap: 12px; }
.home-page .tab-nav button { padding: 14px 4px; border-radius: 0; color: #a3b2ba; font-weight: 400; }
.home-page .tab-nav button.active { color: #c5e5f2; background: transparent; box-shadow: inset 0 -2px #8abfda; }
.home-page .mission-img { border-radius: 0; box-shadow: none; opacity: .8; }
.footer { background: #1f2427; color: #b3bec3; border-top: 1px solid var(--site-line); }
.footer h4, .footer .logo { color: #e3e9e7; }
.footer .logo span { color: #8abfda; }
.footer-brand p, .footer ul li a, .footer-bottom a, .footer-bottom p { color: #aab7bd; }
.footer-bottom { border-color: #3f4c53; }
.footer ul li a:hover, .footer-bottom a:hover { color: #8bc4df; }

/* Public interior pages share the header and keep their forms readable. */
.interior-page .hero { margin-top: 0; padding: 34px 0 48px; background: var(--site-paper); }
.interior-page .hero h1 { color: var(--site-ink); font-weight: 550; }
.interior-page .hero p { color: #6c7574; }
.interior-page .content { padding-top: 32px; padding-bottom: 88px; background: var(--site-paper); }
.interior-page .card, .interior-page .report-card { background: #f8f8f2; border-radius: 4px; box-shadow: none; }
.interior-page .report-card { border: 1px solid #cfd5ce; }
.interior-page .report-card fieldset { border-color: #dce0d7; border-radius: 0; }
.interior-page .report-card legend { color: var(--site-ink); }

@media (min-width: 1101px) and (max-width: 1400px) {
  /* Keep the decorative label clear of the right-edge ribbon. */
  .hero-aside { padding-top: 64px; padding-left: 24px; }
  .hero-aside-links { max-width: 220px; }
  .hero-index { visibility: hidden; }
}

@media (max-width: 1100px) {
  body { --site-header-height: calc(max(192px, 20svh) + 112px); }
  .home-page { --site-header-height: calc(max(192px, 20svh) + 224px); }
  .header-inner.container { grid-template-columns: 200px minmax(0, 1fr) 100px; column-gap: 12px; padding: 0 24px; }
  .header-check-link { position: relative; top: auto; right: auto; width: clamp(240px, 40vw, 320px); height: 56px; margin: max(0px, calc(20svh - 192px)) 0 0 auto; padding: 14px 28px; font-size: 15px; }
  .header-cta-stack { --contact-step: 32px; position: relative; top: auto; right: auto; width: clamp(240px, 40vw, 320px); margin: max(0px, calc(20svh - 192px)) 0 0 auto; }
  .header-cta-stack .header-check-link { margin: 0; }
  .header-contact-button { height: 56px; padding: 14px 28px; font-size: 15px; }
  .header .logo { margin-left: 16px; }
  .header-logo { width: 160px; }
  .nav ul li a { padding: 14px 6px; font-size: 16px; }
  .home-page .hero > .container { gap: 56px; }
  .home-page .container:not(.header-inner) { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 768px) {
  body { --site-header-height: calc(max(108px, 20svh) + 104px); }
  .home-page { --site-header-height: calc(max(108px, 20svh) + 208px); }
  .header-inner.container { height: 108px; grid-template-columns: minmax(0, 1fr) 24px; column-gap: 12px; padding: 0 20px; }
  .header .logo { margin-left: 24px; }
  .header-logo { width: 136px; }
  .nav { position: absolute; width: 0; }
  .nav ul { display: none; position: fixed; inset: 0; width: 100%; height: 100dvh; padding: 100px 28px; z-index: 1001; flex-direction: column; justify-content: center; align-items: stretch; gap: 14px; background: var(--site-paper); overflow-y: auto; }
  .nav ul.open { display: flex; }
  .nav ul li { flex: none; text-align: left; }
  .nav ul li a { display: block; padding: 14px 16px; font-size: 23px; font-weight: 550; }
  .header-check-link { width: min(60vw, 240px); min-width: 180px; height: 52px; margin-top: max(0px, calc(20svh - 108px)); padding: 12px 24px; font-size: 14px; }
  .header-cta-stack { --contact-step: 24px; width: min(60vw, 240px); min-width: 180px; margin-top: max(0px, calc(20svh - 108px)); }
  .header-contact-button { height: 52px; padding: 12px 24px; font-size: 14px; }
  .hamburger { display: flex; grid-column: 2; padding: 6px 0; justify-self: end; }
  .hamburger span { width: 24px; transition: transform .2s, opacity .2s; }
  .hamburger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .hamburger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .home-page .container:not(.header-inner) { padding-left: 28px; padding-right: 28px; }
  .home-page .hero { min-height: calc(85vh - var(--site-header-height)); min-height: calc(85svh - var(--site-header-height)); padding: 20px 0; }
  .home-page .hero > .container { grid-template-columns: 1fr; text-align: left; gap: 20px; }
  .home-page .hero-badge { font-size: 11px; margin-bottom: 12px; }
  .home-page .hero-text h1 { font-size: 40px; line-height: 1.18; margin-bottom: 16px; }
  .home-page .hero-text p { margin-left: 0; font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
  .home-page .hero .btn { padding: 10px 16px; font-size: 14px; }
  .home-page .hero-btns, .home-page .hero-stats { justify-content: flex-start; }
  .home-page .hero-stats { gap: 28px; margin-top: 24px; }
  .home-page .hero-stat .num { font-size: 28px; }
  .home-page .hero-stat .label { font-size: 12px; }
  .hero-aside { padding: 16px 0 0; border-left: 0; border-top: 1px solid #d3dbde; }
  .hero-index { display: none; }
  .hero-aside-title { display: flex; gap: 18px; font-size: 18px; line-height: 1.5; letter-spacing: 1px; }
  .hero-aside-links { flex-direction: row; justify-content: space-between; gap: 12px; max-width: none; margin-top: 10px; }
  .hero-aside-links a { padding: 0; font-size: 11px; border-bottom: 0; gap: 5px; }
  .home-page .section { padding: 62px 0; }
  .home-page .services-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-page .numbers-grid { grid-template-columns: 1fr; gap: 0; }
  .home-page .number-item { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--site-line); }
  .home-page .number-item:last-child { border-bottom: 0; }
  .home-page .number-item .num { font-size: 30px; }
  .home-page .number-item .label { font-size: 11px; }
  .home-page .mission-grid { gap: 32px; }
  .interior-page .content { padding-top: 20px; padding-bottom: 56px; }
  .interior-page .report-card { padding: 22px 16px; }
  .interior-page .report-card fieldset { padding: 22px 12px; }
  .interior-page .hero { padding: 24px 0 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
