:root {
  --navy: #243b53;
  --steel: #6f8fa6;
  --cream: #f3f0e8;
  --red-dark: #9b2c2c;
  --red: #c31624;
  --orange: #fa9c27;
  --ink: #14283b;
  --white: #fffdf8;
  --font: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: var(--cream); font-family: var(--font); font-size: 1rem; line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--cream); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { height: 104px; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; background: var(--cream); position: relative; z-index: 20; border-bottom: 1px solid rgba(36,59,83,.15); }
.brand img { width: clamp(220px, 24vw, 340px); height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.75rem); font-size: .92rem; font-weight: 600; letter-spacing: .02em; }
.desktop-nav a { text-decoration: none; }
.desktop-nav a:not(.nav-cta):hover { color: var(--red); }
.nav-cta { color: var(--cream); background: var(--navy); padding: .85rem 1.15rem; }
.nav-cta:hover { background: var(--red); }
.menu-button, .mobile-nav { display: none; }

.hero { min-height: calc(100svh - 104px); position: relative; overflow: hidden; display: grid; align-items: center; color: var(--cream); background: var(--ink); }
.hero-media { position: absolute; inset: 0; background-image: url("assets/hero-blueprint.png"); background-size: cover; background-position: center; filter: saturate(.72) contrast(1.06); transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,35,54,.96) 0%, rgba(21,47,70,.86) 45%, rgba(16,39,58,.48) 76%, rgba(16,39,58,.28) 100%), linear-gradient(0deg, rgba(7,25,40,.38), transparent 48%); }
.hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; padding: 7rem 0; }
.eyebrow { margin-bottom: 1.4rem; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.light { color: var(--orange); }
.hero h1 { max-width: 920px; margin-bottom: 1.8rem; font-size: clamp(4rem, 9vw, 8.8rem); line-height: .84; letter-spacing: -.055em; font-weight: 600; }
.hero h1 span { color: var(--orange); }
.hero-copy { max-width: 620px; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.35; color: rgba(243,240,232,.88); }
.text-link { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.2rem; padding-bottom: .25rem; color: var(--orange); text-decoration: none; font-weight: 600; border-bottom: 1px solid currentColor; }
.text-link.light { color: var(--cream); }
section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 5vw, 5rem); }
.section-dark { color: var(--cream); background: var(--navy); }
.section-grid { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
h2 { margin-bottom: 1.5rem; font-size: clamp(3.15rem, 6vw, 6.8rem); line-height: .92; letter-spacing: -.045em; font-weight: 500; }
.lead { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.32; }
.intro-copy { padding-top: 3.2rem; color: rgba(243,240,232,.82); }
.intro-copy > p:not(.lead) { max-width: 570px; font-size: 1.12rem; }
.principles { width: min(1180px, 100%); margin: clamp(4rem, 8vw, 7rem) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(243,240,232,.28); }
.principles > div { min-height: 235px; padding: 2rem 2.5rem 1rem 0; border-right: 1px solid rgba(243,240,232,.28); }
.principles > div + div { padding-left: 2.5rem; }
.principles > div:last-child { border-right: 0; }
.principles span, .service-number { color: var(--orange); font-size: .72rem; letter-spacing: .12em; }
.principles h3 { margin: 2.9rem 0 .5rem; font-size: 1.55rem; font-weight: 500; }
.principles p { color: rgba(243,240,232,.68); max-width: 250px; }

.services { background: var(--cream); }
.section-heading { width: min(1180px, 100%); margin: 0 auto clamp(4rem, 7vw, 7rem); display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 5rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:last-child { max-width: 430px; align-self: end; font-size: 1.15rem; }
.service-list { width: min(1180px, 100%); margin: 0 auto; border-top: 2px solid var(--navy); }
.service-row { display: grid; grid-template-columns: 60px minmax(220px,.75fr) 1.2fr 40px; gap: 1rem; align-items: center; min-height: 136px; padding: 1.5rem 0; border-bottom: 1px solid rgba(36,59,83,.32); }
.service-row h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.8rem); line-height: 1; font-weight: 500; }
.service-row p { max-width: 490px; margin: 0; color: rgba(36,59,83,.75); }
.service-arrow { font-size: 1.5rem; transition: transform .2s ease; }
.service-row:hover .service-arrow { transform: translate(4px,-4px); color: var(--red); }

.clients { background: var(--steel); color: var(--ink); }
.clients-title { width: min(1180px, 100%); margin: 0 auto 4rem; max-width: 1180px; }
.clients-title .eyebrow { color: var(--ink); }
.clients-title h2 { max-width: 820px; }
.client-cards { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(20,40,59,.25); }
.client-cards article { min-height: 410px; padding: clamp(2rem, 4vw, 4rem); background: var(--cream); display: flex; flex-direction: column; }
.client-cards span { font-size: .78rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.client-cards h3 { min-height: 3em; max-width: 440px; margin: auto 0 1.2rem; font-size: clamp(2.1rem, 4vw, 3.75rem); line-height: 1; font-weight: 500; letter-spacing: -.03em; }
.client-cards p { max-width: 480px; margin-bottom: 0; font-size: 1.08rem; }

.contact { color: var(--cream); background: var(--navy); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 10vw, 10rem); }
.contact h2 { margin: 0; }
.contact-panel { align-self: start; }
.contact-panel p { max-width: 510px; font-size: 1.22rem; color: rgba(243,240,232,.82); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; margin-top: 2.5rem; }
.form-honey { position: absolute; left: -9999px; }
.contact-form .form-note { grid-column: 1 / -1; margin: 0; font-size: .86rem; color: rgba(243,240,232,.72); }
.form-field { display: flex; flex-direction: column; gap: .55rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-size: .82rem; font-weight: 600; letter-spacing: .05em; }
.form-field input, .form-field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(243,240,232,.72); border-radius: 0; padding: .75rem .15rem; color: var(--cream); background: transparent; font: inherit; font-size: 1rem; outline: none; }
.form-field textarea { resize: vertical; min-height: 135px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--orange); box-shadow: 0 1px 0 var(--orange); }
.form-submit { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: .5rem; padding: 1.1rem 0; border: 0; border-top: 1px solid var(--cream); border-bottom: 1px solid var(--cream); color: var(--cream); background: transparent; font: inherit; font-size: 1.2rem; cursor: pointer; }
.form-submit:hover, .form-submit:focus-visible { color: var(--orange); }
.form-submit:disabled { cursor: wait; opacity: .65; }
.contact-form .form-status { grid-column: 1 / -1; min-height: 1.5em; margin: 0; font-size: .95rem; color: var(--cream); }
.contact-form .form-status.is-error { color: #ffcb8b; }

footer { min-height: 125px; padding: 2rem clamp(1.25rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr auto auto auto; gap: 2rem; align-items: center; background: var(--cream); font-size: .82rem; }
footer img { width: 245px; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .site-header { height: 86px; }
  .brand img { width: 225px; }
  .desktop-nav { display: none; }
  .menu-button { display: flex; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--navy); flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
  .menu-button span { width: 20px; height: 2px; background: var(--cream); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 86px; left: 0; right: 0; padding: 1.5rem; display: none; flex-direction: column; gap: .2rem; background: var(--navy); color: var(--cream); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 1rem; text-decoration: none; font-size: 1.2rem; border-bottom: 1px solid rgba(243,240,232,.2); }
  .hero { min-height: calc(100svh - 86px); }
  .section-grid, .section-heading, .contact { grid-template-columns: 1fr; }
  .intro-copy { padding-top: 0; }
  .principles { grid-template-columns: 1fr; }
  .principles > div, .principles > div + div { min-height: auto; padding: 1.8rem 0; border-right: 0; border-bottom: 1px solid rgba(243,240,232,.28); }
  .principles h3 { margin-top: 1.5rem; }
  .section-heading { gap: 1.5rem; }
  .service-row { grid-template-columns: 42px 1fr 30px; }
  .service-row p { grid-column: 2 / 4; }
  .client-cards { grid-template-columns: 1fr; }
  .client-cards article { min-height: 360px; }
  .client-cards h3 { min-height: 0; }
  footer { grid-template-columns: 1fr; gap: .7rem; }
}

@media (max-width: 560px) {
  .site-header { padding-inline: 1rem; }
  .brand img { width: 205px; }
  section { padding: 4.5rem 1.25rem; }
  .hero-content { padding: 5rem 0; }
  .hero-media { background-position: 58% center; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.4rem); }
  .service-row { min-height: 150px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .form-note, .form-field-wide, .form-submit { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
