@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --navy: #1B3A6B;
  --navy-dark: #12284B;
  --navy-light: #E8EDF5;
  --accent: #3E7CB1;
  --text: #1F2933;
  --muted: #52606D;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;
  --border: #D9E2EC;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 48px; width: auto; }
.brand-text { font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; }
.brand-text span { display: block; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; font: inherit; color: var(--navy); cursor: pointer; }

.site-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 6px;
  text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem;
}
.site-nav a:hover { background: var(--navy-light); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.site-nav a.nav-cta { background: var(--navy); color: #fff; }
.site-nav a.nav-cta:hover { background: var(--navy-dark); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 96px 0 88px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,0.05);
}
.hero .eyebrow { color: #A9C1E3; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.15; margin: 0 0 20px; max-width: 760px; }
.hero p.lead { font-size: 1.15rem; max-width: 640px; color: #DCE6F4; margin: 0 0 32px; }

.page-hero { padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  margin: 0 0 12px;
}

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 8px;
  font-weight: 600; text-decoration: none; font-size: 0.98rem;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
}
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--navy-light); }
.btn-outline-light { border-color: rgba(255,255,255,0.6); color: #fff; margin-left: 10px; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }

/* Sections */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.25; margin: 0 0 14px; color: var(--navy); }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

h2, h3 { color: var(--navy); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 10px 30px rgba(27,58,107,0.08); transform: translateY(-2px); }
.card h3 { margin: 18px 0 10px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.94rem; }
.card ul li { margin-bottom: 6px; }

.icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--navy-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.icon svg { width: 26px; height: 26px; }

/* Stats band */
.stats { background: var(--navy); color: #fff; padding: 56px 0; }
.stats .grid-4 { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 700; line-height: 1.1; }
.stat-label { color: #C3D3EA; font-size: 0.92rem; margin-top: 6px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.25; margin: 0 0 18px; }
.split p { color: var(--muted); }

.panel {
  background: var(--navy-light); border-radius: var(--radius); padding: 36px;
}
.panel h3 { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Service detail blocks */
.service-block {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 40px 0; border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block h2 { margin: 0 0 10px; font-size: 1.5rem; }
.service-block p { color: var(--muted); margin: 0 0 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag { background: var(--navy-light); color: var(--navy); font-size: 0.82rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; }

/* About */
.bio { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.bio-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; }
.bio-card h3 { color: #fff; margin: 0 0 4px; font-size: 1.25rem; }
.bio-card .creds { color: #C3D3EA; font-size: 0.88rem; margin-bottom: 18px; }
.bio-card .role { font-weight: 600; margin-bottom: 18px; }
.bio-card ul { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; color: #DCE6F4; }
.bio-card li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.initials {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 700; margin-bottom: 20px;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item h3 { margin: 0 0 4px; font-size: 1rem; }
.contact-item p { margin: 0; color: var(--muted); }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; font-size: 0.95rem; background: #fff;
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hidden { display: none; }

/* CTA band */
.cta-band { background: var(--navy-light); text-align: center; padding: 72px 0; }
.cta-band h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: var(--muted); margin: 0 auto 28px; max-width: 600px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #C3D3EA; padding: 56px 0 28px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 0.95rem; }
.site-footer a { color: #C3D3EA; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-tagline { font-style: italic; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px; font-size: 0.82rem; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .bio, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 12px 24px 20px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 72px 0 64px; }
  .btn-outline-light { margin: 12px 0 0; }
  .service-block { grid-template-columns: 1fr; }
}

/* Logo */
.brand img { height: 72px; }
.header-inner { min-height: 92px; }
@media (max-width: 900px) { .site-nav { top: 92px; } .brand img { height: 56px; } }

/* Calculator illustration */
.calc-mock { background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 20px 50px rgba(27,58,107,0.12); overflow: hidden; }
.calc-bar { background: var(--navy); padding: 12px 16px; display: flex; align-items: center; gap: 6px; }
.calc-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.calc-title { color: #fff; font-weight: 600; font-size: 0.85rem; margin-left: 10px; }
.calc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px; }
.calc-field { margin-bottom: 12px; }
.calc-field label { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; }
.calc-input { border: 1px solid var(--border); border-radius: 6px; padding: 7px 10px; font-size: 0.88rem; font-weight: 600; color: var(--navy); background: var(--bg-alt); }
.calc-result { background: var(--navy-light); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; }
.calc-label { font-size: 0.75rem; font-weight: 600; color: var(--navy); }
.calc-bars { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 22px; min-height: 130px; padding-top: 10px; }
.calc-bars > div { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.calc-bars .bar { width: 44px; background: #9FB3D1; border-radius: 4px 4px 0 0; }
.calc-bars .bar.new { background: var(--navy); }
.calc-bars span { font-size: 0.7rem; color: var(--muted); margin-top: 6px; }
.calc-save { margin-top: 10px; font-size: 0.8rem; color: var(--navy); text-align: center; }
.calc-save strong { font-size: 1.1rem; }
.calc-note { font-size: 0.7rem; color: var(--muted); text-align: right; padding: 0 16px 10px; font-style: italic; }
.split .checklist li { color: var(--muted); }
.split .checklist strong { color: var(--text); }
@media (max-width: 600px) { .calc-body { grid-template-columns: 1fr; } }

/* Headshot */
.headshot { width: 100%; border-radius: 8px; margin-bottom: 22px; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.gallery img { width: 100%; height: 280px; object-fit: cover; }
.gallery .g-wide { grid-column: 1 / -1; }
.gallery .g-wide img { height: 380px; }
.gallery figcaption { padding: 12px 16px; font-size: 0.88rem; font-weight: 500; color: var(--navy); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .g-wide img { height: 260px; } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }
@media (min-width: 901px) {
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery figure { grid-column: span 2; }
  .gallery figure:nth-child(5), .gallery figure:nth-child(6) { grid-column: span 3; }
  .gallery figure:nth-child(5) img, .gallery figure:nth-child(6) img { height: 340px; }
  .gallery .g-wide { grid-column: 1 / -1; }
}
@media (min-width: 901px) {
  .gallery figure:nth-child(5), .gallery figure:nth-child(6) { grid-column: span 2; }
  .gallery figure:nth-child(5) img, .gallery figure:nth-child(6) img { height: 280px; }
}
.gallery img.pos-low { object-position: center 55%; }

/* Publications */
.pubs { list-style: none; padding: 0; margin: 0; max-width: 900px; }
.pubs li { padding: 16px 0 16px 20px; border-left: 3px solid var(--navy); margin-bottom: 14px; background: var(--bg-alt); border-radius: 0 8px 8px 0; padding-right: 20px; color: var(--muted); font-size: 0.95rem; }
.pubs strong { color: var(--text); font-weight: 600; }
.card h3:first-child { margin-top: 0; }
@media (min-width: 901px) {
  .gallery figure:nth-child(8), .gallery figure:nth-child(9) { grid-column: span 3; }
  .gallery figure:nth-child(8) img, .gallery figure:nth-child(9) img { height: 340px; }
}
.gallery img.pos-top { object-position: center 30%; }
