:root {
  --navy: #102b46;
  --navy-deep: #091d30;
  --slate: #4f6171;
  --ink: #17222b;
  --paper: #f7f8f8;
  --white: #ffffff;
  --line: #d8dee3;
  --brass: #b28a4a;
  --brass-light: #d3b37a;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: white;
  background: var(--navy);
}
.skip-link:focus { top: 1rem; }
.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 {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--navy);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--brass);
  font-family: "Libre Franklin", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .11em;
}
.brand-name {
  font-family: "Libre Franklin", sans-serif;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .015em;
}
.brand-name strong { font-weight: 700; }
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
nav a {
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
  color: #3d4c59;
}
nav a:hover,
nav a:focus-visible { color: var(--navy); }
.nav-contact {
  padding: .62rem 1rem;
  border: 1px solid #aeb8c0;
}
.menu-toggle, .mobile-menu { display: none; }
.hero {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 680px;
  margin: 0 auto;
  padding: 7.5rem 0 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
  gap: 7rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--brass);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin-top: 0;
  font-family: "Libre Franklin", sans-serif;
  line-height: 1.15;
}
h1 {
  max-width: 780px;
  margin-bottom: 2rem;
  color: var(--navy);
  font-size: clamp(3.2rem, 6vw, 5.85rem);
  font-weight: 700;
  letter-spacing: -.055em;
}
h1 span { color: var(--slate); font-weight: 500; }
.hero-intro {
  max-width: 700px;
  margin: 0;
  color: #51606c;
  font-size: 1.16rem;
  line-height: 1.75;
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.button {
  display: inline-block;
  padding: .85rem 1.35rem;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}
.button-primary { color: white; background: var(--navy); }
.button-primary:hover,
.button-primary:focus-visible { background: var(--navy-deep); }
.text-link { font-size: .9rem; font-weight: 600; text-decoration: none; }
.text-link span { margin-left: .35rem; color: var(--brass); }
.hero-panel {
  align-self: stretch;
  max-height: 430px;
  padding: 2.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background: var(--navy);
}
.panel-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--brass-light);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.panel-rule { height: 1px; flex: 1; background: rgba(211,179,122,.45); }
.principles { margin: 2.5rem 0; padding: 0; list-style: none; }
.principles li {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.principles span { color: var(--brass-light); font-size: .72rem; }
.principles strong { font-family: "Libre Franklin", sans-serif; font-size: .96rem; }
.hero-panel > p { margin: 0; color: #cbd5de; font-size: .83rem; }
.section {
  padding: 7.5rem max(1.5rem, calc((100% - var(--max)) / 2));
}
.section-label {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--slate);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.section-label span { color: var(--brass); }
.about { background: var(--white); }
.about-content {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
}
.about h2, .relationships h2, .contact h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -.035em;
}
.about-copy p { margin: 0 0 1.3rem; color: #4e5c67; font-size: 1.05rem; }
.capabilities { color: white; background: var(--navy-deep); }
.section-label.light { color: #b9c7d2; }
.capabilities-heading {
  margin: 3.5rem 0 4rem;
  display: grid;
  grid-template-columns: 1.5fr .75fr;
  gap: 7rem;
  align-items: end;
}
.capabilities-heading h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  letter-spacing: -.045em;
}
.capabilities-heading p { margin: 0; color: #b8c7d3; }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.17);
}
.capability-grid article {
  min-height: 260px;
  padding: 2rem 1.6rem 1.5rem 0;
  border-right: 1px solid rgba(255,255,255,.17);
}
.capability-grid article:not(:first-child) { padding-left: 1.6rem; }
.capability-grid article:last-child { border-right: 0; }
.card-number {
  color: var(--brass-light);
  font-size: .72rem;
  letter-spacing: .1em;
}
.capability-grid h3 { margin: 4rem 0 .8rem; font-size: 1.08rem; }
.capability-grid p { margin: 0; color: #aebdca; font-size: .91rem; }
.relationships { background: #e9edf0; }
.relationship-card {
  padding: 4.2rem;
  display: grid;
  grid-template-columns: .72fr 1.55fr;
  gap: 5rem;
  background: var(--white);
  border-top: 3px solid var(--brass);
  box-shadow: 0 18px 50px rgba(21,37,52,.07);
}
.relationship-body p {
  max-width: 760px;
  margin: 1.8rem 0 0;
  color: #52616d;
  font-size: 1.05rem;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: end;
  background: var(--white);
}
.contact-copy > p:not(.eyebrow):not(.location) {
  max-width: 580px;
  color: #586672;
}
.contact-copy .location {
  margin-top: 1.6rem;
  color: var(--navy);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-email {
  position: relative;
  padding: 1.5rem 3.2rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #aeb8c0;
  text-decoration: none;
}
.contact-email > span:first-child {
  color: var(--slate);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-email strong {
  margin-top: .5rem;
  color: var(--navy);
  font-family: "Libre Franklin", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
}
.contact-email .arrow {
  position: absolute;
  right: 0;
  bottom: 1.6rem;
  color: var(--brass);
  font-size: 1.5rem;
  transition: transform 160ms ease;
}
.contact-email:hover,
.contact-email:focus-visible { border-bottom-color: var(--brass); }
.contact-email:hover .arrow,
.contact-email:focus-visible .arrow { transform: translate(2px, -2px); }
footer {
  min-height: 130px;
  padding: 2rem max(1.5rem, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  color: #aebdca;
  background: var(--navy-deep);
  font-size: .76rem;
}
.footer-brand { color: white; }
footer p { margin: 0; }
footer p:last-child { text-align: right; }

@media (max-width: 860px) {
  .site-header { min-height: 76px; }
  .js nav { display: none; }
  .js .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 11px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { width: 100%; height: 1px; background: var(--navy); }
  .mobile-menu {
    position: absolute;
    z-index: 10;
    width: 100%;
    padding: 1rem 1.5rem 1.5rem;
    display: grid;
    gap: .25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: .7rem 0; color: var(--navy); font-weight: 600; text-decoration: none; }
  html:not(.js) .site-header { padding: 1rem 0; flex-wrap: wrap; gap: 1rem; }
  html:not(.js) nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 1rem;
  }
  html:not(.js) .nav-contact { padding: 0; border: 0; }
  .hero {
    min-height: 0;
    padding: 5.5rem 0 4.5rem;
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .hero-panel { min-height: 390px; }
  .about-content, .capabilities-heading, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-grid article:nth-child(2) { border-right: 0; }
  .capability-grid article:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.17); }
  .relationship-card { padding: 3rem; grid-template-columns: 1fr; gap: 2.5rem; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
  footer p:last-child { text-align: center; }
}

@media (max-width: 560px) {
  .site-header, .hero { width: min(calc(100% - 2rem), var(--max)); }
  .brand-name { font-size: .84rem; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article,
  .capability-grid article:not(:first-child) {
    min-height: 220px;
    padding: 1.7rem 0;
    border-right: 0;
    border-top: 1px solid rgba(255,255,255,.17);
  }
  .capability-grid article:first-child { border-top: 0; }
  .capability-grid h3 { margin-top: 3rem; }
  .relationship-card { padding: 2rem 1.5rem; }
  .contact-email strong { font-size: .91rem; }
  html:not(.js) nav { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-email .arrow { transition: none; }
}
