:root {
  color-scheme: light;
  --navy: #101d33;
  --deep: #0b1425;
  --ink: #152640;
  --muted: #4b6076;
  --line: #dbe4ed;
  --paper: #f1f5f8;
  --accent: #83e3d9;
  --link: #12635d;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: white;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #187b72; outline-offset: 4px; }
h1, h2, h3, p, ul, ol, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 5vw, 4.6rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p, li, figcaption { line-height: 1.65; }
img { display: block; max-width: 100%; }
.wrap { width: min(74rem, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-160%); background: white; padding: .7rem; z-index: 10; }
.skip:focus { transform: none; }

.site-header { background: var(--deep); color: #d9e3ee; position: relative; z-index: 2; }
.support-strip, .nav-row, .header-actions, .support-strip div, .desktop-nav, .actions { display: flex; align-items: center; }
.support-strip { justify-content: space-between; gap: .75rem; min-height: 2.55rem; font-size: .875rem; }
.support-strip div { gap: 1.25rem; }
.support-strip a { color: #e5eef7; }
.support-strip a:last-child { color: var(--accent); }
.head-main { background: white; color: var(--ink); }
.nav-row { min-height: 5rem; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .52rem; color: inherit; font-weight: 750; text-decoration: none; letter-spacing: -.035em; white-space: nowrap; }
.brand img { width: 6rem; height: auto; }
.desktop-nav, .header-actions { gap: clamp(.75rem, 2.2vw, 1.8rem); }
.desktop-nav a, .mobile-menu nav a { color: var(--ink); font-weight: 620; text-decoration: none; }
.desktop-nav a:hover, .mobile-menu nav a:hover, a[aria-current="page"] { color: var(--link); text-decoration: underline; }
.site-header .button { background: var(--navy); color: white; min-height: 2.75rem; padding: .55rem .95rem; font-size: .9rem; }
.site-header .button:hover { background: #24405a; }
.mobile-menu { display: none; }
.mobile-menu summary { cursor: pointer; padding: .55rem .25rem; font-weight: 650; white-space: nowrap; }
.mobile-menu nav { position: absolute; top: 100%; inset-inline: 0; padding: 1rem 1.5rem; background: white; box-shadow: 0 .8rem 1.3rem #10223d25; }
.mobile-menu nav a { display: block; padding: .7rem 0; }

.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; min-height: 3.15rem; border-radius: .45rem; background: var(--accent); color: #102c37; font: inherit; font-weight: 750; text-decoration: none; padding: .7rem 1.1rem; cursor: pointer; text-align: center; }
.button:hover { background: #acf4eb; }
.button-secondary { background: transparent; border-color: #718499; color: white; }
.button-secondary:hover { color: var(--deep); background: white; }
.actions { gap: .8rem 1.2rem; flex-wrap: wrap; }
.hero {
  position: relative;
  isolation: isolate;
  color: white;
  background: radial-gradient(ellipse at 84% 10%, #174b51, transparent 58%), linear-gradient(140deg, #0a1528, #101f36);
  border-bottom: 1px solid #2e696d;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#80eadd16 1px, transparent 1px), linear-gradient(90deg, #80eadd16 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  mask-image: linear-gradient(115deg, transparent 15%, black 80%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 4.5vw, 4rem);
  padding-block: clamp(3rem, 6.2vw, 6rem);
}
.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero h1 em { color: var(--home-mint); font-style: normal; }
.hero-copy > p:not(.eyebrow) { color: #c8d7e7; font-size: 1.13rem; max-width: 32rem; margin-bottom: 1.75rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.25rem;
  color: var(--home-mint);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.eyebrow span { flex: 0 0 1.4rem; height: 2px; background: currentColor; box-shadow: 0 0 .7rem #80f0de90; }
.hero-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 1px solid #78c7c397;
  border-radius: 1.15rem;
  background: #22354b;
  box-shadow: 0 1.2rem 3rem #050f207a, 0 0 2.4rem #57e2cc27;
}
.hero-visual img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 68% center; }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 .38rem #9beee924;
  pointer-events: none;
}
.section { padding-block: clamp(2.75rem, 6vw, 5.6rem); }
.section-lead { color: var(--muted); max-width: 41rem; font-size: 1.1rem; margin-bottom: 1.75rem; }
.cards, .directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); gap: 1rem; }
.capability-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.card { border: 1px solid var(--line); border-radius: .65rem; padding: 1.55rem; background: white; }
.card h3 { margin-bottom: .6rem; }
.card h3 a { color: var(--ink); }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.process-list { margin: 0; padding: 0; list-style: none; }
.proof-section { background: var(--paper); }
.home-proof, .contact-grid, .quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; }
.quote { min-width: 0; margin: 0; border-left: .23rem solid #47a49b; background: #e2efef; padding: 1.5rem; }
.quote blockquote { margin: 0 0 1rem; font-size: 1.4rem; line-height: 1.35; }
.quote figcaption { color: var(--muted); }
.callout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; background: var(--navy); color: white; border-radius: .7rem; padding: clamp(1.5rem, 4.5vw, 3.25rem); }
.callout h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); }
.callout p { margin: 0; color: #c8d7e7; }

.home-page {
  --home-mint: #8cf3df;
  --home-dark: #102239;
}
.home-page .hero .button:not(.button-secondary), .home-page .callout .button {
  background: var(--home-mint);
  box-shadow: 0 .35rem 1.4rem #5fe9d130;
}
.home-page .hero .button:not(.button-secondary):hover, .home-page .callout .button:hover { background: #bbfff1; }
.home-page .hero .button-secondary { border-color: #b0ded58c; }
.home-page .hero .button, .home-page .callout .button { border-radius: .6rem; }
.home-page .hero .button:focus-visible, .home-page .callout .button:focus-visible { outline-color: var(--home-mint); }
.home-page .proof-section { background: #eff6f7; }
.home-page .home-proof { align-items: start; }
.home-page .quote {
  border: 1px solid #28515a;
  border-left: .25rem solid #56bea9;
  border-radius: .85rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  color: white;
  background: radial-gradient(ellipse at 100% 0%, #1c414b, transparent 75%), var(--home-dark);
  box-shadow: 0 .75rem 1.5rem #132b4314;
}
.home-page .quote figcaption { color: #c8d7e7; }
.home-page .quote figcaption strong { color: var(--home-mint); }
.home-page .capability-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.home-page .capability-grid .card { grid-column: span 2; }
.home-page .capability-grid .card:first-child { grid-column: span 4; background: #e9f8f5; }
.home-page .card {
  position: relative;
  border-radius: .85rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 .4rem 1rem #132b430a;
}
.home-page .card:is(:hover, :focus-within) { border-color: #368b80; box-shadow: 0 .65rem 1.4rem #132b4319; }
.home-page .card h3 { font-size: clamp(1.28rem, 2.3vw, 1.65rem); padding-inline-end: 1.8rem; }
.home-page .card h3 a { text-decoration-color: #5caaa0; }
.home-page .card h3 a::after {
  content: "";
  position: absolute;
  top: calc(clamp(1.2rem, 3vw, 2rem) + .4rem);
  right: clamp(1.2rem, 3vw, 2rem);
  width: .7rem;
  height: .7rem;
  border-top: 2px solid var(--link);
  border-right: 2px solid var(--link);
  background: linear-gradient(135deg, transparent calc(50% - 1px), var(--link) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) border-box;
}
.home-page .callout {
  background: radial-gradient(ellipse at 92% 0%, #245d60, transparent 64%), var(--home-dark);
  border: 1px solid #2e696d;
  border-radius: 1.15rem;
  box-shadow: 0 1rem 2rem #132b431b;
}

.page-intro { background: var(--navy); color: white; padding-block: clamp(2.25rem, 5vw, 4.75rem); }
.page-intro h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 18ch; }
.page-intro p { color: #c8d7e7; font-size: 1.16rem; max-width: 39rem; margin-bottom: 0; }
.page-intro .actions { margin-top: 1.5rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.25rem; font-size: .92rem; }
.breadcrumbs a { color: var(--accent); }
.breadcrumbs a + a::before { content: "/"; color: #c8d7e7; display: inline-block; margin-right: .65rem; }
.prose { max-width: 45rem; }
.prose h2 { font-size: 1.65rem; margin-bottom: .6rem; }
.prose p { color: var(--muted); }
.prose p + h2 { margin-top: 2rem; }
.directory { margin: 0; padding: 0; list-style: none; }
.directory li { border: 1px solid var(--line); border-radius: .55rem; padding: 1rem 1.15rem; overflow-wrap: anywhere; }
.directory li span, .directory li > a { display: block; }
.directory li span { color: var(--muted); }
.team-group + .team-group { margin-top: clamp(2.25rem, 5vw, 4rem); }
.team-group h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
.team-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.team-card { overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: white; }
.team-photo { aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.team-card-copy { padding: .85rem 1rem; }
.team-card-copy strong, .team-card-copy span { display: block; }
.team-card-copy a { color: var(--ink); }
.team-card-copy span { color: var(--muted); font-size: .9rem; }
.bio-intro { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.bio-photo { flex: 0 0 clamp(6rem, 18vw, 12rem); aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid #718499; border-radius: .65rem; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.content-with-image { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.content-image { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; }
.content-image-illustration { background: var(--paper); }
.content-image-illustration img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.content-image-logo { display: grid; justify-items: center; gap: .6rem; padding: clamp(1.1rem, 3.5vw, 2.75rem); }
.content-image-logo img { max-width: min(100%, 17rem); max-height: 14rem; object-fit: contain; }
.content-image figcaption { color: var(--muted); font-size: .875rem; line-height: 1.5; text-align: center; }
.badge-grid { display: flex; flex-wrap: wrap; gap: .65rem; padding: 0; margin: 1.25rem 0; list-style: none; }
.badge-grid li { display: grid; place-items: center; width: 8.5rem; height: 5.5rem; border: 1px solid var(--line); border-radius: .45rem; padding: .65rem; }
.badge-grid img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.archive-link { margin: 1rem 0 0; }
.reference-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.reference-grid h2 { font-size: 1.3rem; }
.reference-grid ul { padding-left: 1.15rem; }
.article-list { list-style: none; padding: 0; margin-bottom: 1.75rem; max-width: 53rem; }
.article-list li { border-bottom: 1px solid var(--line); padding: 1.1rem 0; display: flex; align-items: baseline; gap: 1rem; }
.article-list li:first-child { border-top: 1px solid var(--line); }
.article-list h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.article-list p { color: var(--muted); margin: 0; }
.article-list time { color: var(--muted); font-variant-numeric: tabular-nums; }
.pagination { display: flex; gap: .5rem; }
.pagination a { border: 1px solid var(--line); padding: .55rem .9rem; border-radius: .35rem; }
.pagination a[aria-current] { background: var(--paper); font-weight: 700; }
.search-form label { display: block; margin-bottom: .5rem; font-weight: 650; }
.search-form input { width: min(100%, 28rem); border: 1px solid #8499a9; border-radius: .4rem; min-height: 3.15rem; padding: .6rem .8rem; font: inherit; }
#search-status { margin: 1.2rem 0; }
.consultation-page .page-intro, .consultation-page .section { padding-block: clamp(1.75rem, 4vw, 3rem); }
.consultation-page h1 { max-width: 25ch; }
.consultation-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.consultation-grid h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.consultation-aside { background: var(--paper); }
.consultation-aside ul { padding-inline-start: 1.2rem; }
.form-field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.form-field label { font-weight: 650; }
.form-field span, .form-field small, .consultation-form > p { color: var(--muted); }
.form-field span { font-weight: 400; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #8499a9; border-radius: .4rem; min-height: 3rem; padding: .65rem .8rem; font: inherit; }
.form-field textarea { resize: vertical; }
#consultation-status { margin: .85rem 0; }
.site-footer { background: var(--deep); color: #c8d7e7; padding: 3.5rem 0 1.3rem; }
.site-footer a { color: #dbeaed; }
.site-footer .brand { margin-bottom: .9rem; background: white; border-radius: .3rem; padding-inline: .35rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 2rem 1rem; }
.footer-grid h2 { font-size: 1rem; letter-spacing: 0; color: white; }
.footer-grid a:not(.brand) { display: block; width: fit-content; margin-bottom: .65rem; }
.footer-grid p { margin-bottom: .65rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #36475b; font-size: .88rem; }

@media (prefers-reduced-motion: no-preference) {
  .home-page .card { transition: border-color .18s ease, box-shadow .18s ease; }
  .home-page .hero .button, .home-page .callout .button { transition: background-color .18s ease, color .18s ease; }
}

@media (max-width: 52rem) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .home-page .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .capability-grid .card { grid-column: auto; }
  .home-page .capability-grid .card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 46rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { aspect-ratio: 3 / 2; }
}

@media (max-width: 39rem) {
  .wrap { width: calc(100% - 2rem); }
  .nav-row { min-height: 4.25rem; gap: .5rem; }
  .brand { gap: .35rem; font-size: .95rem; }
  .brand img { width: 5rem; }
  .header-actions { gap: .55rem; }
  .site-header .button { padding-inline: .55rem; font-size: .82rem; }
  .support-strip { justify-content: flex-end; }
  .support-strip div { flex-wrap: wrap; justify-content: flex-end; gap: .35rem .85rem; padding-block: .35rem; }
  .support-strip > span { display: none; }
  .home-proof, .contact-grid, .quote-grid, .reference-grid { grid-template-columns: 1fr; }
  .home-page .cards { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .team-card-copy { padding: .55rem .65rem; overflow-wrap: anywhere; }
  .content-with-image { grid-template-columns: minmax(0, 1fr); }
  .content-image { max-width: 31rem; }
}
