:root {
  --navy: #0B2D5B;
  --navy-2: #123F78;
  --blue: #0F8CB8;
  --blue-text: #0A6C92;
  --gold: #F4B223;
  --gold-2: #FFC94D;
  --sky: #7ED6E6;
  --mist: #F7F9FB;
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #0B2D5B;
  --body: #2B3F5C;
  --muted: #4A5D78;
  --line: #D9E2EC;
  --success: #0A7A4B;
  --focus: #0F8CB8;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(11, 45, 91, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-text); }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 14px rgba(11, 45, 91, .06);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 230px; height: auto; }
nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; align-items: center; }
nav a { text-decoration: none; color: var(--navy); font-weight: 700; padding-block: .4rem; border-bottom: 2px solid transparent; }
nav a:hover { border-bottom-color: var(--gold); color: var(--navy); }
.menu-button { display: none; background: #fff; border: 1px solid var(--navy); color: var(--navy); font-weight: 700; padding: .6rem .85rem; border-radius: 10px; }
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 4.5rem; background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 3rem; align-items: center; }
.hero-art img { display: block; width: 100%; height: auto; }
.eyebrow { color: var(--blue-text); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .82rem; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); max-width: 950px; margin-bottom: 1.25rem; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }
.lead { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 780px; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.3rem; border-radius: 12px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, transform .15s; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-2); color: var(--navy); transform: translateY(-1px); }
.btn-secondary { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.section { padding: 4.75rem 0; }
.section-muted { background: var(--mist); border-block: 1px solid var(--line); }
.section-dark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #E6EEF8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .values li { color: #E6EEF8; }
.section-dark .values li::before { color: var(--gold); }
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card:nth-child(even) { border-top-color: var(--gold); }
.card p { color: var(--muted); margin-bottom: 0; }
.card .tag { display: inline-block; font-size: .8rem; color: var(--blue-text); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .7rem; }
.portfolio-card { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.portfolio-card a { font-weight: 800; text-decoration: none; color: var(--blue-text); }
.portfolio-card a:hover { text-decoration: underline; color: var(--navy); }
.kicker { color: var(--muted); max-width: 760px; }
.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.values li { display: flex; gap: .8rem; align-items: flex-start; }
.values li::before { content: "✓"; color: var(--success); font-weight: 900; }
.page-hero { padding: 4rem 0 2.5rem; background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); border-bottom: 1px solid var(--line); }
.prose { max-width: 820px; }
.prose h2 { margin-top: 2.4rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 1.2rem; }
form { display: grid; gap: 1rem; max-width: 760px; }
label { font-weight: 750; color: var(--navy); }
input, textarea, select {
  width: 100%;
  border: 1px solid #6B7F99;
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  padding: .85rem .95rem;
  font: inherit;
}
textarea { min-height: 150px; resize: vertical; }
.checkbox-row { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start; }
.checkbox-row input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--navy); }
.form-note { color: var(--muted); font-size: .92rem; }
.notice { padding: 1rem 1.1rem; border-left: 4px solid var(--gold); background: #FFF8E6; color: var(--navy); border-radius: 0 10px 10px 0; }
footer { background: var(--navy); color: #E6EEF8; border-top: 4px solid var(--gold); padding: 2.75rem 0; margin-top: 3rem; }
footer strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 2fr; gap: 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .85rem 1.25rem; align-content: flex-start; }
.footer-links a { color: #CFE0F2; }
.footer-links a:hover { color: var(--gold); }
.small { font-size: .9rem; color: var(--muted); }
footer .small { color: #B9CCE3; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

@media (max-width: 860px) {
  .grid-4, .grid-2, .footer-grid, .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .menu-button { display: inline-flex; }
  nav { display: none; width: 100%; }
  nav.open { display: block; }
  .nav-wrap { flex-wrap: wrap; padding-block: .9rem; }
  nav ul { flex-direction: column; align-items: flex-start; padding: .5rem 0 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.grid-spaced { margin-top: 2rem; }
.consent-label { font-weight: 500; }
