:root {
  color-scheme: light;
  --ink: #172431;
  --muted: #62717f;
  --line: #ccd6df;
  --paper: #f5f7f8;
  --white: #ffffff;
  --navy: #003b70;
  --navy-dark: #06294b;
  --navy-wash: #eaf1f7;
  --steel: #5f6f7c;
  --steel-dark: #364550;
  --steel-soft: #eef2f4;
  --accent: #a75f2b;
  --accent-soft: #fff1e8;
  --shadow: 0 16px 40px rgba(23, 36, 49, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--steel-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 64px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 1px 0 rgba(23, 36, 49, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 330px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  list-style: none;
}

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

.nav-menu summary span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.nav-menu summary span:first-child {
  margin-top: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--navy);
  background: var(--steel-soft);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--navy-wash);
  font-weight: 800;
}

.hero {
  min-height: 540px;
  padding: 88px 64px;
  background: var(--white);
}

.home-hero {
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 62%, var(--steel-dark) 100%);
}

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

.hero-copy h1 {
  color: var(--white);
  font-size: 64px;
}

.hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero .eyebrow,
.contact .eyebrow {
  color: var(--accent-soft);
}

.hero-actions,
.bio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

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

.button.primary:hover {
  background: var(--navy-dark);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.home-hero .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.46);
}

.home-hero .button.primary {
  background: var(--accent);
}

.home-hero .button.primary:hover {
  background: #87491d;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.section {
  padding: 72px 64px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.directory {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(320px, 1fr);
  gap: 56px;
  padding: 54px 64px 72px;
  background: var(--white);
}

.directory-heading h2 {
  margin-bottom: 0;
  font-size: 34px;
}

.directory-table {
  border-top: 3px solid var(--navy);
}

.directory-table a {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.directory-table a:hover strong {
  color: var(--navy);
  text-decoration: underline;
}

.directory-table span {
  color: var(--steel-dark);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.directory-table strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.page-hero {
  padding: 86px 64px 66px;
  background: var(--white);
}

.compact-hero {
  padding-bottom: 48px;
}

.page-hero h1 {
  max-width: 960px;
  margin-bottom: 24px;
  font-size: 58px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.response-card {
  min-height: 360px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
}

.section-heading h2 {
  color: var(--ink);
}

.split,
.bio-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

.bio-layout {
  grid-template-columns: minmax(260px, 0.45fr) minmax(320px, 1fr);
}

.bio-photo {
  margin-bottom: 0;
}

.photo-placeholder,
.testimonial-photo {
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 1px dashed var(--steel);
  border-radius: 8px;
  color: var(--steel-dark);
  background: linear-gradient(135deg, var(--navy-wash), var(--accent-soft));
  font-weight: 850;
}

.bio-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.bio-copy {
  font-size: 18px;
}

.rich-text {
  color: var(--muted);
  font-size: 18px;
}

.rich-text p {
  max-width: 760px;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.steps span {
  color: var(--accent);
  font-weight: 850;
}

.info-table {
  width: 100%;
  max-width: 1080px;
  border-collapse: collapse;
  border-top: 3px solid var(--navy);
}

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

.info-table th {
  width: 30%;
  padding-right: 28px;
  color: var(--navy-dark);
  font-size: 18px;
  background: var(--steel-soft);
}

.info-table td {
  color: var(--muted);
  font-size: 18px;
}

.services,
.blog-preview,
.blog-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services article,
.blog-preview article,
.post-card,
.media-card,
.testimonial-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 36, 49, 0.04);
}

.services article,
.blog-preview article {
  min-height: 190px;
  padding: 24px;
}

.services p,
.steps p,
.blog-preview p,
.post-card p,
.media-card p,
.archive-card p {
  color: var(--muted);
}

.post-card,
.media-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.post-card img,
.media-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card div,
.media-card div {
  padding: 24px;
}

.blog-preview a,
.blog-grid a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.blog-preview a:hover,
.blog-grid a:hover {
  text-decoration: underline;
}

.post-meta {
  margin-bottom: 10px;
  color: var(--steel-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  gap: 0;
}

.service-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.service-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.service-list span {
  color: var(--accent);
  font-weight: 850;
}

.service-list h2 {
  margin-bottom: 10px;
  font-size: 36px;
}

.service-list p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.archive-grid {
  display: grid;
  gap: 22px;
}

.archive-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.archive-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.archive-card-body {
  padding: 32px;
}

.archive-card-body h2 {
  font-size: 32px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy-dark);
  background: var(--navy-wash);
  font-size: 13px;
  font-weight: 800;
}

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

.testimonial-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.testimonial-photo {
  min-height: 210px;
  border-width: 0;
  border-radius: 0;
}

.testimonial-card blockquote {
  margin: 0;
  padding: 24px;
}

.testimonial-card p {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.testimonial-card cite {
  color: var(--muted);
  font-style: normal;
}

.credential-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--steel);
}

.credential-strip div {
  padding: 24px;
  background: var(--white);
}

.credential-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 850;
}

.credential-strip p {
  margin: 0;
  color: var(--muted);
}

.contact-panel,
.contact-guidance,
.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 36, 49, 0.04);
}

.contact-panel p,
.small-note,
.form-note {
  color: var(--muted);
}

.contact-panel .button {
  margin-right: 12px;
  margin-bottom: 12px;
}

.small-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy-dark);
  font-weight: 800;
}

.contact-form label span {
  color: var(--muted);
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--steel-soft);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  background: var(--white);
}

.checkbox-label {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
}

.checkbox-label input {
  min-height: auto;
  margin-top: 4px;
}

.form-note {
  margin-bottom: 0;
  font-size: 14px;
}

.screening-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 48px 64px;
  padding: 48px;
  color: var(--white);
  background: var(--steel-dark);
  border-radius: 8px;
}

.contact p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.contact h2 {
  margin-bottom: 12px;
}

.contact div {
  max-width: 720px;
}

.contact .button.primary {
  flex: 0 0 auto;
  color: var(--steel-dark);
  background: var(--white);
}

.article-body {
  max-width: 880px;
  padding: 78px 64px 32px;
  background: var(--white);
}

.article-body h1 {
  font-size: 56px;
}

.article-body img {
  width: 100%;
  max-height: 460px;
  margin: 34px 0;
  border-radius: 8px;
  object-fit: cover;
}

.article-lede {
  color: var(--steel-dark);
  font-size: 22px;
  line-height: 1.45;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 18px;
}

.article-callout {
  margin-top: 34px;
  padding: 26px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.article-callout h2 {
  font-size: 28px;
}

.article-callout ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 64px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  h1,
  .page-hero h1,
  .article-body h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .site-header,
  .section,
  .directory,
  .page-hero,
  .hero,
  .article-body {
    padding-right: 32px;
    padding-left: 32px;
  }

  .directory,
  .split,
  .bio-layout,
  .contact-layout,
  .archive-card {
    grid-template-columns: 1fr;
  }

  .services,
  .blog-preview,
  .blog-grid,
  .media-grid,
  .testimonials,
  .credential-strip {
    grid-template-columns: 1fr;
  }

  .archive-card img {
    min-height: 260px;
    max-height: 420px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    margin: 32px;
    padding: 32px;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    max-width: min(270px, 68vw);
  }

  .nav-menu summary {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    min-width: min(260px, 86vw);
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu[open] .site-nav {
    display: grid;
    gap: 3px;
  }

  .site-nav a {
    padding: 12px;
  }

  .home-hero {
    min-height: 500px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-copy > p:not(.eyebrow),
  .page-hero p:not(.eyebrow),
  .article-lede {
    font-size: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .directory-table a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding: 18px 0 4px;
    background: transparent;
  }

  .info-table td {
    padding: 0 0 18px;
  }

  .service-list article,
  .steps div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  h1,
  .page-hero h1,
  .article-body h1 {
    font-size: 38px;
  }

  h2,
  .service-list h2,
  .archive-card-body h2 {
    font-size: 28px;
  }

  .site-header,
  .section,
  .directory,
  .page-hero,
  .hero,
  .article-body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-actions,
  .hero-actions .button,
  .bio-actions,
  .bio-actions .button,
  .contact .button {
    width: 100%;
  }

  .contact-panel,
  .contact-form,
  .archive-card-body,
  .article-callout {
    padding: 22px;
  }

  .photo-placeholder {
    min-height: 280px;
  }

  .post-card img,
  .media-card img {
    height: 190px;
  }

  .archive-card img {
    min-height: 220px;
  }

  .contact {
    margin: 20px;
    padding: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 20px;
    padding-left: 20px;
  }
}
