@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-var.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #14213D;
  --navy-dark: #0F1A31;
  --text-muted: #4A5568;
  --text-body: #2D3748;
  --line: #E2E5EA;
  --soft: #F5F6F8;
  --on-navy-muted: #C9D1E0;
  --accent: #B9531B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--navy);
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
a:hover { color: #0A1226; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 128px; padding-bottom: 128px; }
.soft { background: var(--soft); }
.dark { background: var(--navy); color: #FFFFFF; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1.15; }
.logo-main { font-weight: 700; font-size: 20px; letter-spacing: 0.18em; }
.logo-sub { font-weight: 500; font-size: 11px; letter-spacing: 0.42em; color: var(--accent); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 16px 30px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--navy); }
.btn-solid { background: var(--navy); color: #FFFFFF; }
.btn-solid:hover { background: #0A1226; color: #FFFFFF; }
.btn-outline { background: transparent; color: var(--navy); }
.btn-small { padding: 12px 22px; font-size: 14px; }
.nav-links .btn-solid { color: #FFFFFF; }

/* Typography helpers */
.eyebrow { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.dark .eyebrow { color: var(--on-navy-muted); }
.h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; max-width: 760px; }
.rule { width: 64px; height: 3px; background: var(--accent); margin-bottom: 36px; }
.muted { color: var(--text-muted); }

/* Hero */
.hero { padding-top: 128px; padding-bottom: 112px; }
.hero h1 { font-weight: 600; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.15; letter-spacing: -0.01em; max-width: 900px; }
.hero .lead { margin-top: 36px; font-size: 20px; line-height: 1.65; color: var(--text-muted); max-width: 680px; }
.actions { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.stat { border-left: 1px solid #C9CED6; padding-left: 28px; }
.stat-value { font-weight: 600; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.stat-label { margin-top: 12px; color: var(--text-muted); font-size: 15px; }

/* Grids */
.grid-4 { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.grid-2 { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.service { border-top: 1px solid var(--navy); padding-top: 28px; }
.service h3, .step h3 { font-weight: 600; font-size: 21px; line-height: 1.3; margin-bottom: 12px; }
.service p, .step p { color: var(--text-muted); font-size: 15px; }
.step-no { font-weight: 500; font-size: 15px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; }

.card { background: #FFFFFF; color: var(--navy); padding: 48px 40px; }
.card h3 { font-weight: 600; font-size: 24px; line-height: 1.3; }
.card > p { margin-top: 18px; color: var(--text-muted); font-size: 16px; }
.card ul { list-style: none; margin: 24px 0 0; padding: 0; font-size: 15px; font-weight: 500; }
.card li { border-top: 1px solid var(--line); padding: 10px 0; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.portrait { flex: 1 1 320px; max-width: 420px; aspect-ratio: 4 / 5; background: #DDE1E7; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; text-align: center; padding: 24px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 999 1 480px; min-width: 0; }
.about-text .role { margin-top: 6px; font-size: 17px; color: var(--text-muted); }
.about-text .bio { margin-top: 18px; color: var(--text-body); font-size: 16px; }
.about-text .bio:first-of-type { margin-top: 32px; }
.tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-end; justify-content: space-between; }
.contact-text { flex: 1 1 480px; min-width: 0; }
.contact-text h2 { font-weight: 600; font-size: clamp(30px, 4vw, 50px); line-height: 1.2; }
.contact-text p { margin-top: 24px; font-size: 18px; color: var(--on-navy-muted); max-width: 560px; }
.contact-links { flex: 0 1 340px; display: flex; flex-direction: column; gap: 14px; }
.contact-links a { display: flex; align-items: center; min-height: 44px; padding: 17px 24px; font-weight: 600; text-decoration: none; border: 1px solid #FFFFFF; }
.contact-links .primary { background: #FFFFFF; color: var(--navy); }
.contact-links .secondary { color: #FFFFFF; }

/* Footer */
.site-footer { background: var(--navy-dark); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 32px; font-size: 13px; color: var(--on-navy-muted); }
.footer-inner a { color: var(--on-navy-muted); }
.footer-links { display: flex; gap: 28px; }

/* Legal pages */
.legal { padding-top: 96px; padding-bottom: 128px; max-width: 820px; }
.legal h1 { font-weight: 600; font-size: clamp(32px, 4vw, 44px); line-height: 1.2; margin-bottom: 40px; }
.legal h2 { font-weight: 600; font-size: 20px; margin-top: 40px; margin-bottom: 10px; }
.legal p, .legal li { color: var(--text-body); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 8px 0 0; }

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .hero { padding-top: 72px; padding-bottom: 72px; }
  .nav-links { gap: 18px; }
  .card { padding: 32px 24px; }
  .about { gap: 40px; }
}
