/* Accretive Business Partners
   Navy #13264A  Midnight #0B1730  Steel #4A6E9B  Sterling #9DA5B4
   Platinum #D4D8DF  Mist #C9D2DE  Wash #F2F4F7  Ink #1E293B
   Slate #475569  Brass #A3824F (rules and marks only)
   Oxblood #8E3B3B is reserved for errors and is unused on these pages. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-serif-4-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #13264a;
  --midnight: #0b1730;
  --steel: #4a6e9b;
  --sterling: #9da5b4;
  --platinum: #d4d8df;
  --mist: #c9d2de;
  --wash: #f2f4f7;
  --ink: #1e293b;
  --slate: #475569;
  --brass: #a3824f;
  --white: #ffffff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, Arial, Helvetica, sans-serif;
  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
  --header: 5.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  color-scheme: light;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  font-feature-settings: "tnum" 1, "lnum" 1;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 1px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 0.8rem;
  z-index: 20;
  font-weight: 600;
}

.skip:focus {
  transform: none;
}

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

.wrap {
  width: min(var(--wrap), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--steel);
  margin-right: 0.7rem;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--platinum);
}

section {
  padding: clamp(3.5rem, 7vw, 5.75rem) 0;
}

section[id] {
  scroll-margin-top: var(--header);
}

.lede,
.intro {
  max-width: 42rem;
}

.source {
  margin-top: 0.9rem;
  color: var(--slate);
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 2px solid var(--navy);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  min-height: var(--header);
  padding-block: 0.85rem;
  flex-wrap: wrap;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  display: block;
  height: 42px;
  width: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.45rem 0;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

/* Hero */

.hero {
  background: var(--midnight);
  color: var(--wash);
  padding: clamp(4.25rem, 9vw, 7.25rem) 0 clamp(4.25rem, 8vw, 6.5rem);
}

.hero :focus-visible {
  outline-color: var(--white);
}

.rule {
  width: 1.75rem;
  height: 2px;
  margin-bottom: 1.35rem;
  background: var(--brass);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.05rem, 4.4vw, 3.4rem);
  max-width: 16.5em;
  margin-bottom: 1.35rem;
}

.hero .lede {
  max-width: 38rem;
  margin-bottom: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--wash);
}

/* Services */

.intro {
  margin-top: 1.35rem;
  max-width: 40rem;
}

.levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.level {
  min-width: 0;
  padding: 1.35rem 1.5rem 0.15rem 0;
  border-right: 1px solid var(--navy);
}

.level:last-child {
  border-right: 0;
  padding-right: 0;
}

.level:not(:first-child) {
  padding-left: 1.5rem;
}

.level h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 0.85rem;
}

.level p {
  font-size: 0.9875rem;
  line-height: 1.55;
}

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

.level li {
  position: relative;
  padding-left: 0.95rem;
  margin-top: 0.45rem;
  line-height: 1.45;
}

.level li:first-child {
  margin-top: 0;
}

.level li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--sterling);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 2.5rem 3.25rem;
  align-items: start;
  margin-top: 2rem;
}

.portrait {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--platinum);
  background: var(--wash);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.bio p + p {
  margin-top: 1rem;
}

.bio a {
  font-weight: 500;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 1.75rem 4rem;
  align-items: start;
  margin-top: 1.75rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.email {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 0.15rem;
  overflow-wrap: anywhere;
}

.email:hover,
.email:focus-visible {
  border-bottom-color: var(--navy);
}

.inquiry {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  margin-top: 2.5rem;
}

.inquiry-note {
  margin: 0;
  color: var(--slate);
  font-size: 0.875rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
}

.optional {
  color: var(--slate);
  font-weight: 400;
}

.inquiry input,
.inquiry textarea {
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--platinum);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.inquiry textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.inquiry button {
  justify-self: start;
  margin: 0;
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.inquiry button:hover {
  background: var(--midnight);
}

.form-error {
  margin: 0;
  color: #8e3b3b;
  font-size: 0.875rem;
}

.form-status {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--platinum);
  color: var(--ink);
}

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

/* Missing page */

.missing {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 clamp(5rem, 12vw, 9rem);
}

.missing h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  max-width: 14em;
}

.missing p {
  margin-top: 1rem;
  max-width: 36rem;
}

/* Footer */

.site-footer {
  background: var(--midnight);
  color: var(--platinum);
  padding: 2.75rem 0 2.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.site-footer :focus-visible {
  outline-color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem 2.5rem;
  align-items: center;
}

.footer-logo {
  display: block;
  height: 38px;
  width: auto;
}

.site-footer p + p {
  margin-top: 0.35rem;
}

.site-footer a {
  color: var(--white);
}

@media (max-width: 800px) {
  .levels,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .level,
  .level:not(:first-child),
  .level:last-child {
    border-right: 0;
    padding: 1.2rem 0 0.2rem;
  }

  .level:not(:first-child) {
    border-top: 1px solid var(--navy);
    margin-top: 1.15rem;
  }

  .portrait {
    width: 10.5rem;
  }

  .footer-logo {
    height: 34px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
    padding-block: 0.8rem 0.45rem;
  }

  .logo img {
    height: 34px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 1rem;
    width: 100%;
  }

  .hero {
    padding-top: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .hero,
  .site-footer {
    background: var(--white);
    color: var(--ink);
  }

  .hero h1,
  .hero .lede,
  .site-footer,
  .site-footer a {
    color: var(--navy);
  }

  .rule {
    background: var(--navy);
  }

  a {
    text-decoration: underline;
  }
}
