:root {
  --navy: #0a2540;
  --navy-2: #11365e;
  --ink: #0a2540;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --line: #e2e6ed;
  --line-strong: #cbd2dd;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --accent: #1d4ed8;
  --accent-dark: #1e40af;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.08);
  --maxw: 1140px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--ink); margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.6rem); font-weight: 700; line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.1rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow.on-dark { color: #93c5fd; }

.lede { font-size: 1.1rem; max-width: 60ch; }
.section-lede { font-size: 1.05rem; color: var(--ink-soft); max-width: 60ch; margin: -10px 0 32px; }
.muted { color: var(--ink-mute); font-size: 0.88rem; }
.on-dark { color: #cbd5e1; }

/* Brand mark — solid navy square with accent stripe */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--ink); text-decoration: none;
  letter-spacing: -0.005em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px;
  background: var(--navy);
  position: relative;
  border-radius: 2px;
}
.brand-mark::before,
.brand-mark::after {
  content: ""; position: absolute; left: 6px; right: 6px;
  height: 2px; background: var(--accent);
}
.brand-mark::before { top: 8px; }
.brand-mark::after  { bottom: 8px; background: #93c5fd; }
.brand-mark-light { background: #e2e8f0; }
.brand-mark-light::before { background: var(--navy); }
.brand-mark-light::after  { background: var(--accent); }
.brand-name { font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ink); font-weight: 500; font-size: 0.92rem;
  text-decoration: none;
}
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav a.btn-primary,
.nav a.btn-primary:hover { color: #fff; }
@media (max-width: 880px) {
  .nav a:not(.btn) { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.5);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 0.86rem; }
.btn-block { display: flex; width: 100%; margin-top: 12px; padding: 14px 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: 540px; display: flex; align-items: center; padding: 120px 0; }
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background-image: url('/img/hero.jpg');
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,37,64,0.92) 0%, rgba(10,37,64,0.78) 55%, rgba(10,37,64,0.55) 100%);
}
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; }
.hero .lede { color: #cbd5e1; }
.cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* Strip under hero — credibility row */
.strip {
  background: var(--navy);
  color: #cbd5e1;
  border-bottom: 1px solid #0a1f37;
}
.strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 22px 24px;
}
.strip-inner > div {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 14px; border-left: 2px solid var(--accent);
}
.strip-inner strong { color: #fff; font-weight: 700; font-size: 0.95rem; }
.strip-inner span { color: #94a3b8; font-size: 0.83rem; }
@media (max-width: 780px) { .strip-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .strip-inner { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--surface-soft); border-block: 1px solid var(--line); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, border-color .2s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-2px); }
.card-media {
  height: 200px;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
}
.card-body { padding: 24px 24px 28px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card-body p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
  margin-top: 32px;
}
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.pillar h3 { margin-bottom: 6px; font-size: 1.05rem; }
.pillar p  { margin: 0; font-size: 0.95rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-media {
  width: 100%; aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.about-copy h3 { margin-top: 22px; color: var(--navy); }
.about-copy h3:first-of-type { margin-top: 8px; }

/* Contact */
.section-contact {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}
.contact-inner { max-width: 640px; }
.contact-card {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-row {
  display: flex; gap: 16px; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.contact-row:last-of-type { border-bottom: none; }
.contact-label {
  flex: 0 0 80px;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-mute); font-weight: 700;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: var(--surface);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-inner .muted { margin: 0; }
