/* ===========================
   Custom Properties
   =========================== */

:root {
  --bg: #ffffff;
  --surface: #f6f7f8;
  --ink: #1f2328;
  --ink-soft: #3a4048;
  --text: #5b626b;
  --muted: #8a919b;
  --line: #e6e8ec;
  --accent: #2c6e75;
  --accent-deep: #21565c;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 64rem;
}

/* ===========================
   Reset & Base
   =========================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-deep);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

ul {
  list-style: none;
}

/* ===========================
   Layout
   =========================== */

main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
}

main > section + section {
  border-top: 1px solid var(--line);
}

/* ===========================
   Shared Section Headings
   =========================== */

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  max-width: 36rem;
  margin-bottom: 3rem;
}

/* ===========================
   Navigation
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.nav--scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 3px rgba(31, 35, 40, 0.04);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.nav-links a:hover,
.nav-links a.nav-link--active {
  color: var(--accent);
}

/* ===========================
   Hero
   =========================== */

.hero {
  padding: 9rem 0 6rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-name {
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
  max-width: 40rem;
  margin: 0 auto;
}

/* ===========================
   About
   =========================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 3.5rem;
}

.identity-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 0.25rem;
}

.identity-role {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.identity-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.about-body p {
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
}

.about-body p:last-of-type {
  margin-bottom: 0;
}

.about-quote {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ===========================
   Expertise
   =========================== */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.expertise-item {
  min-width: 0;
  border-top: 1px solid var(--ink);
  padding-top: 0.85rem;
}

.expertise-item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.expertise-item p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}

/* ===========================
   Track Record
   =========================== */

.track-record {
  background: var(--surface);
}

.track-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-value {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text);
  margin-top: 0.5rem;
}

.track-note {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

/* ===========================
   Footer
   =========================== */

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-brand {
  font-weight: 600;
  color: var(--ink);
}

.footer-copy {
  margin-left: auto;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.5rem;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 7rem;
  }

  section {
    padding: 4rem 0;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .nav {
    flex-direction: column;
    gap: 0.65rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .expertise-grid {
    gap: 1.5rem 1.25rem;
  }

  .footer-copy {
    margin-left: 0;
    flex-basis: 100%;
  }
}
