:root {
  --navy: #08243b;
  --navy-deep: #051b2d;
  --blue: #087fae;
  --green: #3daf8b;
  --ink: #152b3a;
  --muted: #5e6e79;
  --paper: #f5f7f8;
  --white: #ffffff;
  --line: #dce3e7;
  --font: "DM Sans", Arial, sans-serif;
  --shell: min(1160px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; color: white; background: var(--blue); transform: translateY(-140%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 82px; color: white; border-bottom: 1px solid rgba(255,255,255,.16); transition: height .25s, background .25s; }
.site-header.is-scrolled { height: 68px; background: rgba(5,27,45,.96); box-shadow: 0 8px 30px rgba(1,16,28,.1); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; gap: 11px; align-items: center; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand small { display: block; margin-top: 5px; color: #aebbc4; font-size: .62rem; font-weight: 500; letter-spacing: .12em; }
.nav { display: flex; gap: 32px; align-items: center; font-size: .88rem; font-weight: 500; }
.nav > a { color: #d4dde3; }
.nav > a:hover { color: white; }
.nav-cta { padding: 9px 18px; border: 1px solid rgba(255,255,255,.5); }
.menu-toggle { display: none; padding: 8px; color: white; border: 0; background: none; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: currentColor; }

.hero { min-height: 840px; color: white; background: var(--navy); }
.hero-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: center; min-height: 840px; padding: 155px 0 90px; }
.eyebrow { margin: 0 0 24px; color: #70d0b5; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.dark { color: var(--blue); }
.hero h1, .section h2, .principles h2, .contact h2 { margin: 0; font-weight: 600; letter-spacing: -.045em; line-height: 1.06; }
.hero h1 { max-width: 760px; font-size: clamp(3.3rem, 5.5vw, 5.4rem); }
.hero-lead { max-width: 670px; margin: 30px 0 38px; color: #c2cdd4; font-size: 1.1rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; font-size: .9rem; font-weight: 600; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-deep); background: white; }
.button-primary:hover { background: #edf4f5; }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,.35); }
.button-secondary:hover { border-color: white; }
.hero-brand { padding-left: 55px; border-left: 1px solid rgba(255,255,255,.18); }
.brand-panel { display: grid; place-items: center; width: 100%; max-width: 390px; min-height: 410px; padding: 56px; background: white; }
.brand-panel img { display: block; width: auto; max-width: 100%; height: auto; max-height: 300px; object-fit: contain; object-position: center; }
.hero-brand > p { margin: 24px 0 0; color: #9fb1bd; font-size: .9rem; }

.statement { border-bottom: 1px solid var(--line); background: white; }
.statement-grid { display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 32px; align-items: center; min-height: 92px; }
.statement p { margin: 0; color: #536875; font-size: .72rem; font-weight: 700; letter-spacing: .15em; }
.statement span { height: 1px; background: var(--line); }

.section { padding: 125px 0; }
.two-column { display: grid; grid-template-columns: .88fr 1.12fr; gap: 130px; }
.section h2, .principles h2 { font-size: clamp(2.6rem, 4.4vw, 4.3rem); }
.prose { padding-top: 50px; color: var(--muted); }
.prose p { max-width: 650px; }
.prose .lead { margin-top: 0; color: var(--ink); font-size: 1.28rem; font-weight: 500; line-height: 1.55; }

.services { background: var(--paper); }
.section-title { display: flex; justify-content: space-between; gap: 80px; align-items: end; margin-bottom: 65px; }
.section-title > p { max-width: 410px; margin: 0 0 8px; color: var(--muted); }
.service-list { border-top: 1px solid #bcc9d0; }
.service { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 40px; align-items: center; padding: 38px 0; border-bottom: 1px solid #cfd9de; }
.service-mark { display: grid; place-items: center; width: 52px; height: 52px; color: var(--blue); border: 1px solid #b8cbd4; }
.service-mark svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.service-label { margin: 0 0 7px; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service h3 { margin: 0; font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; }
.service > p { max-width: 450px; margin: 0; color: var(--muted); font-size: .94rem; }

.method { color: white; background: var(--navy-deep); }
.method-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 130px; }
.method-heading { align-self: start; }
.method-heading h2 { max-width: 540px; }
.method-heading > p:last-child { max-width: 500px; margin-top: 28px; color: #a9b7c1; }
.method-list { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.method-list li { display: grid; grid-template-columns: 150px 1fr; gap: 32px; padding: 31px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.method-list span { color: white; font-weight: 600; }
.method-list p { margin: 0; color: #9eafb9; font-size: .92rem; }

.principles { padding: 110px 0; border-bottom: 1px solid var(--line); }
.principles-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 50px; }
.principles-title h2 { max-width: 500px; font-size: 2.7rem; }
.principle { padding-top: 50px; border-top: 2px solid var(--blue); }
.principle h3 { margin: 0 0 15px; font-size: 1.2rem; }
.principle p { margin: 0; color: var(--muted); font-size: .9rem; }

.contact { padding: 110px 0; color: white; background: #0b5371; }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 120px; align-items: end; }
.contact h2 { max-width: 680px; font-size: clamp(2.8rem, 4.5vw, 4.4rem); }
.contact-action p { margin: 0 0 28px; color: #d1e0e6; }
.button-light { color: var(--navy); background: white; }
.contact-action small { display: block; margin-top: 16px; color: #b7cfd8; font-size: .8rem; }

.footer { padding: 55px 0 28px; color: #9aabb6; background: #041522; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; }
.footer-brand { color: white; }
.footer-main > p { margin: 0; font-size: .86rem; }
.footer nav { display: flex; gap: 28px; font-size: .82rem; }
.footer nav a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  :root { --shell: min(100% - 40px, 760px); }
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 60px; min-height: auto; padding: 125px 0 75px; }
  .hero-brand { display: none; }
  .two-column, .method-layout, .contact-layout { grid-template-columns: 1fr; gap: 60px; }
  .prose { padding-top: 0; }
  .section-title { display: block; }.section-title > p { margin-top: 25px; }
  .service { grid-template-columns: 70px 1fr; }.service > p { grid-column: 2; }
  .principles-grid { grid-template-columns: repeat(3, 1fr); }.principles-title { grid-column: 1 / -1; }.principle { padding-top: 30px; }
  .contact-action { max-width: 580px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 28px); }
  .site-header, .site-header.is-scrolled { height: 66px; background: rgba(5,27,45,.97); }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 66px; right: 14px; left: 14px; display: none; flex-direction: column; gap: 0; align-items: stretch; padding: 10px; background: var(--navy-deep); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .nav.is-open { display: flex; }.nav a { padding: 12px; }.nav-cta { margin-top: 5px; text-align: center; }
  .hero { min-height: auto; }.hero-layout { min-height: auto; padding: 105px 0 62px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }.hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }.button { width: 100%; }
  .statement-grid { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; text-align: center; }.statement span { display: none; }
  .section { padding: 85px 0; }.section h2, .principles h2 { font-size: 2.6rem; }
  .section-title { margin-bottom: 45px; }
  .service { grid-template-columns: 54px 1fr; gap: 20px; padding: 30px 0; }.service-mark { width: 46px; height: 46px; }.service > p { grid-column: 1 / -1; }
  .method-list li { grid-template-columns: 1fr; gap: 8px; }
  .principles { padding: 85px 0; }.principles-grid { grid-template-columns: 1fr; gap: 38px; }.principles-title { grid-column: auto; }.principle { padding-top: 22px; }
  .contact { padding: 85px 0; }.contact h2 { font-size: 2.7rem; }
  .footer-main { grid-template-columns: 1fr; text-align: center; }.footer-brand, .footer nav { justify-content: center; }.footer-bottom { display: block; text-align: center; }.footer-bottom p + p { margin-top: 8px; }
}

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