:root {
  --brand: #2d5c88;
  --brand-dark: #1f4466;
  --text: #333;
  --muted: #6b6b6b;
  --bg: #fff;
  --bg-alt: #f4f6f8;
  --border: #e2e6ea;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #6fa3d6;
    --brand-dark: #8db8e2;
    --text: #e6e6e6;
    --muted: #a0a0a0;
    --bg: #14181c;
    --bg-alt: #1b2026;
    --border: #2c333b;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, .logo {
  font-family: "Righteous", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  color: var(--brand);
  text-decoration: none;
}

.nav { display: flex; gap: 20px; }

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--brand); }

/* Hero */
.hero {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #1f4466, #2d5c88);
  color: #fff;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.portrait {
  width: 280px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0 0 16px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  opacity: 0.85;
}

.lead {
  max-width: 600px;
  font-size: 1.2rem;
  margin: 0 0 32px;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #fff;
  color: #1f4466;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: #e8eef4; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section h2 {
  font-size: 2rem;
  margin: 0 0 32px;
}

.subhead { margin-top: 40px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.card h3 {
  margin: 0 0 8px;
  color: var(--brand);
}

.card p { margin: 0; color: var(--muted); }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.contact-grid h3 { margin: 0 0 8px; }
.contact-grid p { margin: 0; }

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav a { font-size: 0.85rem; }
  .hero { padding: 56px 0 64px; }
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  .portrait { width: 160px; }
  .section { padding: 56px 0; }
}
