@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-serif-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-serif-600.woff2") format("woff2");
}

:root {
  --navy: #0b244a;
  --navy-deep: #0b244a;
  --paper: #f3f0ea;
  --white: #fffdfb;
  --ink: #0b244a;
  --slate: #444e5e;
  --brass: #a88242;
  --brass-bright: #a88242;
  --brass-btn: #a88242;
  --brass-btn-hover: #b89252;
  --line: #d5dae2;
  --danger: #8e2f2a;
  --serif: "IBM Plex Serif", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --header: 4.75rem;
  --shadow: 0 18px 40px rgba(11, 36, 74, 0.08);
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

main {
  flex: 1;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.35rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.12;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

::selection {
  background: #eadcc4;
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--brass-btn);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

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

.eyebrow {
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-on-dark {
  color: var(--brass-bright);
}

.lede {
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.section {
  padding: 4.75rem 0;
}

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

.section-navy {
  background: var(--navy);
  color: #d7dee6;
}

.section-navy h2,
.section-navy h3 {
  color: white;
}

.section-intro {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  margin-bottom: 2.6rem;
}

.title-block {
  display: grid;
  gap: 0.4rem;
}

.role {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

section[id] {
  scroll-margin-top: 6.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brass-btn);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 68px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
}

.site-nav a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  padding: 0.35rem 0.05rem;
}

.site-nav a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-nav .btn:hover {
  color: var(--navy);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.btn-primary {
  background: var(--brass-btn);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--brass-btn-hover);
}

.btn-primary:active {
  background: #8f6e36;
}

.btn-ghost {
  color: white;
  border-color: rgba(168, 130, 66, 0.9);
}

.btn-ghost:hover {
  background: rgba(168, 130, 66, 0.18);
}

.btn-small {
  min-height: 2.55rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
}

.btn-full {
  width: 100%;
}

.nav-cta {
  margin-left: 0.25rem;
}

a:focus-visible,
button:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.hero {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(168, 130, 66, 0.22), transparent 36%),
    var(--navy);
  color: #d7dee6;
  padding: 4.5rem 0 4rem;
}

.hero .eyebrow {
  margin-bottom: 0.95rem;
}

.hero h1 {
  max-width: 11em;
  margin-bottom: 1.1rem;
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.72fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-lede {
  max-width: 36rem;
  margin-bottom: 1.75rem;
  color: #d7dee6;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 2rem 1.75rem 1.85rem;
  border: 1px solid rgba(168, 130, 66, 0.38);
}

.hero-logo {
  display: block;
  width: min(100%, 300px);
  height: auto;
}

.hero-panel-title {
  color: white;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-panel-text {
  max-width: 22rem;
}

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

.pillar {
  padding: 0 1.75rem;
  border-left: 1px solid var(--line);
}

.pillar:first-child {
  padding-left: 0;
  border-left: 0;
}

.pillar-num {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.pillar h3 {
  margin: 0.45rem 0 0.55rem;
  font-size: 1.55rem;
  line-height: 1.2;
}

.service {
  display: grid;
  grid-template-columns: 4.25rem minmax(13rem, 19rem) minmax(0, 34rem);
  column-gap: 1.25rem;
  align-items: start;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

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

.service-num {
  padding-top: 0.25rem;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.service h3 {
  font-size: 1.45rem;
  line-height: 1.25;
}

.service-copy {
  max-width: 36rem;
}

.engage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(168, 130, 66, 0.38);
}

.engage-card {
  padding: 1.85rem 1.7rem 2rem;
}

.engage-card + .engage-card {
  border-left: 1px solid rgba(168, 130, 66, 0.38);
}

.engage-card h3 {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 2rem;
  line-height: 1.15;
}

.engage-card h3 span {
  color: var(--brass-bright);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 3.5rem;
  align-items: start;
}

.about-grid > *,
.contact-grid > * {
  min-width: 0;
}

.about-grid .section-intro {
  margin-bottom: 0;
}

.fact {
  display: grid;
  grid-template-columns: minmax(8.5rem, 13.5rem) minmax(0, 1fr);
  gap: 0.75rem 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

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

.fact h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.contact-list {
  display: grid;
  gap: 1.4rem;
}

.contact-block h3 {
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-value {
  color: var(--ink);
  font-size: 1.05rem;
}

.badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.45rem;
  padding: 0.12rem 0.42rem;
  border: 1px solid var(--brass);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.placeholder-address {
  color: var(--ink);
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 0.95rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.placeholder-note,
.contact-url {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.text-link {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.text-link:hover {
  color: var(--navy);
}

.form-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass-btn);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.req,
.opt {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.req {
  color: var(--navy);
}

.opt {
  color: var(--slate);
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c9c1b4;
  border-radius: 0;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5c6b78;
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--danger);
}

.field input:-webkit-autofill,
.field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px white inset;
}

.form-note {
  font-size: 0.95rem;
}

.site-footer {
  background: var(--navy-deep);
  color: #d7dee6;
  padding: 2.75rem 0 1.4rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  display: block;
  width: 168px;
  height: auto;
  flex: none;
}

.footer-name {
  color: white;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.footer-place {
  margin-top: 0.2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-nav a {
  color: var(--brass-bright);
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-meta {
  flex-basis: 100%;
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(168, 130, 66, 0.28);
}

.footer-bottom p {
  font-size: 0.92rem;
}

.page-simple {
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5rem;
}

.page-simple .page-copy {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.page-simple h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.page-simple .page-actions {
  margin-top: 0.7rem;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 32rem;
  }

  .pillar {
    padding: 1.2rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pillar:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .service {
    grid-template-columns: 3rem minmax(0, 1fr);
    row-gap: 0.55rem;
  }

  .service-copy {
    grid-column: 2;
  }

  .about-grid .section-intro {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 8.75rem;
  }

  section[id] {
    scroll-margin-top: 8.75rem;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 0.85rem 0 0.7rem;
  }

  .site-nav {
    flex: 1 0 100%;
    justify-content: space-between;
    gap: 0.4rem 0.75rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    padding: 0.45rem 0.1rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 2.75rem 0 2.5rem;
  }

  .brand-logo {
    height: 54px;
  }

  .hero-panel {
    padding: 1.4rem 1.2rem 1.3rem;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(1120px, calc(100% - 2.25rem));
  }

  .section {
    padding: 3.15rem 0;
  }

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

  .engage-card + .engage-card {
    border-left: 0;
    border-top: 1px solid rgba(168, 130, 66, 0.38);
  }

  .footer-grid,
  .footer-nav {
    align-items: flex-start;
  }

  .footer-grid,
  .footer-brand {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .service,
  .fact,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-copy,
  .service h3 {
    grid-column: 1;
  }

  .fact {
    gap: 0.3rem;
  }

  .form-card {
    padding: 1.15rem;
  }
}

@media (max-width: 420px) {
  .hero-actions,
  .page-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-logo {
    height: 48px;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .form-card,
  .skip,
  .footer-nav,
  .page-actions {
    display: none !important;
  }

  .hero,
  .section-navy,
  .site-footer {
    background: white !important;
    color: black !important;
  }

  .hero h1,
  .hero-panel-title,
  .section-navy h2,
  .section-navy h3,
  .footer-name {
    color: black !important;
  }

  body {
    background: white;
    color: black;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
