/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:           #FFFFFF;
  --bg-alt:       #F5F6F8;
  --bg-dark:      #0F1623;
  --text:         #1A1A2E;
  --text-muted:   #5A6478;
  --accent:       #1F4E79;
  --accent-light: #2E75B6;
  --accent-pale:  #EEF4FA;
  --border:       #E2E8F0;
  --white:        #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.14);
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── CONTAINER ─────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 2rem 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,117,182,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-tagline {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--accent-pale);
  border-color: var(--accent-light);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Photo */
.hero-photo {
  display: flex;
  justify-content: center;
}
.photo-frame {
  position: relative;
  width: 360px;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Scroll hint */
.hero-scroll-hint {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3rem;
  opacity: 0.6;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── SECTION SHARED ────────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}
section { padding: 100px 0; }
section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}
section h2 em {
  font-style: italic;
  color: var(--accent-light);
}

/* ── ABOUT ─────────────────────────────────────────────── */
.about { background: var(--bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}
.about-main p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.about-main p:last-child { margin-bottom: 0; }
.aside-block {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.aside-block:first-child { padding-top: 0; }
.aside-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.aside-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.aside-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ── NUMBERS ───────────────────────────────────────────── */
.numbers { background: var(--bg); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--accent-light);
}
.stat-card:hover::before { opacity: 1; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.stat-context {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.stat-unit {
  font-size: 1.4rem;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--accent-light);
  letter-spacing: 0;
}

/* ── CONNECT ───────────────────────────────────────────── */
.connect { background: var(--bg-dark); }
.connect .section-label { color: rgba(255,255,255,0.4); }
.connect h2 { color: var(--white); }
.connect h2 em { color: var(--accent-light); }
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.connect-main p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}
.email-link {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}
.email-link:hover { border-color: var(--accent-light); color: var(--accent-light); }
.connect-links { display: flex; flex-direction: column; gap: 0; }
.connect-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all var(--transition);
  cursor: pointer;
}
.connect-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.connect-item:hover { padding-left: 6px; }
.connect-item:hover .connect-arrow { opacity: 1; transform: translateX(4px); }
.connect-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
  letter-spacing: 0;
}
.connect-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.connect-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
}
.connect-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.connect-arrow {
  color: rgba(255,255,255,0.3);
  opacity: 0;
  transition: all var(--transition);
}

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

/* ── ANIMATIONS ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-photo { order: -1; }
  .photo-frame { width: 240px; height: 270px; margin: 0 auto; }
  .hero-tagline { margin: 0 auto 2.5rem; }
  .hero-links { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .connect-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links { display: none; }
}
@media (max-width: 580px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
