:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #526071;
  --line: #d8dee6;
  --surface: #f6f8fb;
  --surface-strong: #eef4fb;
  --panel: #ffffff;
  --navy: #10233f;
  --teal: #0f766e;
  --gold: #9f7a2e;
  --shadow: 0 20px 60px rgba(16, 35, 63, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #ffffff 100%);
}

a {
  color: inherit;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
main,
.site-footer {
  margin: 0 auto;
  max-width: 1220px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.route-notice {
  align-items: center;
  background: #eef4fb;
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.72rem 0.9rem;
}

.route-notice strong {
  color: var(--navy);
  flex: 0 0 auto;
}

.route-notice span {
  text-align: right;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header:not(.institutional-header) {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  min-height: 78px;
}

.institutional-header {
  padding-top: 0;
}

.header-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.78rem;
  gap: 1rem;
  justify-content: space-between;
  min-height: 38px;
}

.header-main {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 260px minmax(0, 1fr) auto auto;
  min-height: 78px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--navy);
  color: #ffffff;
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
}

.brand small,
.eyebrow,
dt {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav,
.site-header:not(.institutional-header) nav,
.mobile-nav nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.desktop-nav a,
.site-header:not(.institutional-header) nav a,
.mobile-nav a,
.client-access,
.utility-link,
.site-footer a {
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover,
.site-header:not(.institutional-header) nav a:hover,
.utility-link:hover,
.site-footer a:hover {
  color: var(--navy);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  justify-content: end;
}

.utility-link {
  white-space: nowrap;
}

.client-access {
  border: 1px solid var(--line);
  color: var(--navy);
  display: inline-flex;
  padding: 0.58rem 0.85rem;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.client-access:hover {
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-1px);
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  padding: 0.58rem 0.85rem;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  margin-top: 0.5rem;
  min-width: min(320px, calc(100vw - 2.5rem));
  padding: 0.35rem;
  position: absolute;
  right: 1.25rem;
  z-index: 10;
}

.mobile-nav a {
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  padding: 0.85rem;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.hero {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  padding: 5rem 0 4rem;
  position: relative;
}

.private-hero {
  align-items: center;
  padding-bottom: 3rem;
  padding-top: 4rem;
}

.home-hero {
  border-bottom: 0;
  padding-top: 3.25rem;
  isolation: isolate;
}

.home-hero::before {
  background: radial-gradient(circle, rgba(15, 118, 110, 0.11), transparent 68%);
  content: "";
  height: 32rem;
  pointer-events: none;
  position: absolute;
  right: -12rem;
  top: -10rem;
  width: 32rem;
  z-index: -1;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.65rem);
  letter-spacing: -0.015em;
  max-width: 820px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h3 {
  font-size: 1.08rem;
}

.lead,
.copy-stack p,
.contact-band p {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

.lead {
  max-width: 720px;
}

.hero-actions,
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
  padding: 0.72rem 1rem;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button.primary {
  background: var(--navy);
  color: #ffffff;
}

.button.primary:hover {
  background: #18345b;
  box-shadow: 0 10px 24px rgba(16, 35, 63, 0.18);
  transform: translateY(-2px);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--navy);
}

.button.secondary:hover {
  background: var(--surface-strong);
  border-color: #b7c4d3;
  transform: translateY(-2px);
}

.identity-panel {
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.brand-visual {
  align-self: center;
  background: var(--navy);
  border: 1px solid #20375b;
  box-shadow: var(--shadow);
  color: #ffffff;
  display: grid;
  grid-template-rows: auto auto;
  justify-self: end;
  max-width: 430px;
}

.brand-visual.compact {
  max-width: 380px;
}

.brand-visual.compact img {
  padding: 1.5rem;
}

.brand-visual img {
  aspect-ratio: 1;
  background: var(--navy);
  height: auto;
  object-fit: contain;
  padding: 2rem;
  width: 100%;
}

.brand-visual dl {
  background: #ffffff;
  color: var(--ink);
  padding: 1.25rem;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-strip div {
  border-right: 1px solid var(--line);
  min-height: 116px;
  padding: 1.1rem;
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.proof-strip strong {
  color: var(--navy);
  display: block;
  font-size: 1.05rem;
  line-height: 1.35;
}

dl {
  display: grid;
  gap: 1.2rem;
  margin: 0;
}

dd {
  color: var(--navy);
  font-weight: 650;
  margin: 0.28rem 0 0;
}

.section {
  border-top: 1px solid var(--line);
  padding: 4rem 0;
}

.gateway-section {
  padding-bottom: 3rem;
}

.gateway-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gateway-card {
  background: var(--panel);
  border: 1px solid var(--line);
  color: inherit;
  display: grid;
  min-height: 220px;
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gateway-card:hover,
article:hover,
.hours-card:hover {
  border-color: #b7c4d3;
  box-shadow: 0 16px 36px rgba(16, 35, 63, 0.08);
  transform: translateY(-3px);
}

.gateway-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.gateway-card strong {
  color: var(--ink);
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.gateway-card p {
  align-self: end;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.home-summary {
  padding-bottom: 4rem;
}

.summary-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding: 2rem;
}

.split {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.copy-stack {
  display: grid;
  gap: 1rem;
}

.copy-stack p {
  margin: 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 860px;
}

.capability-grid,
.department-grid,
.governance-grid,
.persona-grid,
.insight-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.persona-grid article {
  min-height: 280px;
}

.persona-grid a,
.insight-grid a,
.location-list a {
  color: var(--navy);
  display: inline-block;
  font-weight: 650;
  margin-top: 0.65rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

article {
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 210px;
  padding: 1.25rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

article span {
  color: var(--gold);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

article p {
  color: var(--muted);
  line-height: 1.6;
}

.department-grid article {
  min-height: 240px;
}

.department-grid a {
  color: var(--navy);
  display: block;
  font-weight: 650;
  margin-top: 0.65rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.operations-section {
  background: #fbfcfe;
}

.service-suite {
  background: var(--surface);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 610px);
  padding-right: calc(50vw - 610px);
}

.offering-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  background: #ffffff;
  min-height: 260px;
}

.feature-card h3 {
  font-size: 1.35rem;
}

.editorial-section {
  background: #ffffff;
}

.insight-grid article {
  min-height: 270px;
}

.hours-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hours-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.25rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hours-card dl {
  gap: 1rem;
  margin-top: 1.25rem;
}

.hours-card dd {
  font-weight: 600;
}

.cutoff-table-wrap {
  border: 1px solid var(--line);
  margin-top: 1rem;
  overflow-x: auto;
}

.cutoff-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.cutoff-table th,
.cutoff-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.cutoff-table th {
  background: var(--surface);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-list {
  display: grid;
  gap: 1rem;
}

.location-list article {
  min-height: 0;
}

.governance {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.contact-band {
  align-items: center;
  background: var(--navy);
  color: #ffffff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  margin-bottom: 4rem;
  padding: 2rem;
}

.contact-band h2,
.contact-band .eyebrow,
.contact-band p {
  color: #ffffff;
}

.contact-band p {
  margin-bottom: 0;
  max-width: 760px;
  opacity: 0.84;
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
}

.contact-band .button.primary {
  background: #ffffff;
  color: var(--navy);
  justify-content: center;
}

.site-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.site-footer p {
  margin-bottom: 0;
  max-width: 680px;
}

.site-footer div:last-child {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  justify-content: end;
}

.site-footer section {
  display: grid;
  gap: 0.45rem;
}

.site-footer h3 {
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subpage {
  padding-bottom: 4rem;
  padding-top: 3rem;
}

.subpage-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2.5rem;
}

.subpage-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.subpage-hero p {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
  max-width: 820px;
}

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

.content-grid.wide {
  grid-template-columns: 1fr;
}

.info-table-wrap {
  border: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.info-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.info-table th,
.info-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.info-table th {
  background: var(--surface);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.status-list li {
  border: 1px solid var(--line);
  padding: 0.85rem;
}

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.45);
  outline-offset: 3px;
}

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

@media (max-width: 920px) {
  .header-main,
  .hero,
  .split,
  .summary-panel,
  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .desktop-nav {
    justify-content: start;
  }

  .capability-grid,
  .department-grid,
  .content-grid,
  .governance-grid,
  .persona-grid,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip,
  .offering-layout,
  .gateway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-suite {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hours-layout {
    grid-template-columns: 1fr;
  }

  .contact-band .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer div:last-child {
    grid-template-columns: 1fr;
    justify-content: start;
  }

  .site-header:not(.institutional-header) {
    grid-template-columns: 1fr;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  .site-header:not(.institutional-header) nav {
    flex-wrap: wrap;
    justify-content: start;
  }

  .header-top {
    align-items: start;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.65rem;
    padding-top: 0.65rem;
  }

  .header-main {
    grid-template-columns: 1fr auto;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-nav {
    display: block;
    justify-self: end;
    position: relative;
  }

  .route-notice {
    align-items: start;
    flex-direction: column;
  }

  .route-notice span {
    text-align: left;
  }

  .hero {
    gap: 2rem;
    padding: 2.5rem 0;
  }

  .private-hero {
    padding-bottom: 3rem;
  }

  .brand-visual {
    justify-self: stretch;
  }

  .proof-strip,
  .offering-layout,
  .gateway-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 0;
  }

  h1 {
    font-size: 2.55rem;
  }

  .lead,
  .copy-stack p,
  .contact-band p {
    font-size: 1.05rem;
  }

  .capability-grid,
  .department-grid,
  .content-grid,
  .governance-grid,
  .persona-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .info-table,
  .info-table thead,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
  }

  .info-table thead {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
  }

  .info-table tr {
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
  }

  .info-table td {
    border-bottom: 0;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(7rem, 36%) 1fr;
    padding: 0.45rem 0.9rem;
  }

  .info-table td::before {
    color: var(--muted);
    content: "Detail";
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .info-table td:nth-child(1)::before {
    content: "Area";
  }

  .info-table td:nth-child(2)::before {
    content: "Status";
  }

  .info-table td:nth-child(3)::before {
    content: "Evidence";
  }

  .info-table td:nth-child(4)::before {
    content: "Review";
  }

  article {
    min-height: 0;
  }
}

/* Header refinement: keep the brand and primary action legible at every width. */
@media (min-width: 921px) {
  .header-main {
    gap: clamp(0.4rem, 0.9vw, 0.85rem);
    grid-template-columns: minmax(205px, 0.8fr) minmax(0, 1.7fr) auto;
  }

  .desktop-nav {
    gap: clamp(0.35rem, 0.75vw, 0.7rem);
  }

  .desktop-nav a {
    font-size: clamp(0.72rem, 0.78vw, 0.84rem);
    line-height: 1.2;
    white-space: nowrap;
    word-break: keep-all;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .client-access {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

@media (min-width: 921px) and (max-width: 1120px) {
  .header-actions .utility-link {
    display: none;
  }

  .brand small {
    display: none;
  }
}

@media (max-width: 920px) and (min-width: 621px) {
  .header-main {
    grid-template-columns: minmax(200px, auto) 1fr;
  }

  .desktop-nav {
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    justify-content: start;
  }

  .header-actions {
    grid-column: 2;
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .header-top span:last-child {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .mobile-nav nav {
    left: auto;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    right: 0;
    width: min(320px, calc(100vw - 2rem));
  }

  .mobile-nav summary {
    align-items: center;
    display: inline-flex;
    font-size: 0.86rem;
    gap: 0.45rem;
    min-height: 40px;
  }

  .mobile-nav summary::after {
    content: "⌄";
    font-size: 1rem;
    line-height: 1;
  }

  .mobile-nav[open] summary::after {
    content: "⌃";
  }
}
