:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f3;
  --color-ink: #0e1a26;
  --color-ink-soft: #4a5764;
  --color-muted: #8b95a0;
  --color-accent: #1e4a72;
  --color-accent-hover: #16385a;
  --color-border: #e3e6ea;
  --max-width: 1080px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(14, 26, 38, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Hero */
.hero {
  background: linear-gradient(135deg, #0e1a26 0%, #1e4a72 100%);
  color: #fff;
  padding: 80px 0 96px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: end;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.tagline {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: #fff;
  color: var(--color-accent);
}

.btn-primary:hover {
  background: #f0f4f8;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Hero meta sidebar */
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.hero-meta .meta-label {
  color: rgba(255, 255, 255, 0.6);
}

.meta-value {
  font-size: 15px;
  font-weight: 500;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section h2 {
  font-size: 32px;
  letter-spacing: -0.01em;
  margin: 0 0 40px;
  font-weight: 700;
}

/* About */
.prose {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-ink-soft);
}

.prose p {
  margin: 0 0 16px;
}

.placeholder-note {
  font-style: italic;
  color: var(--color-muted);
  border-left: 3px solid var(--color-accent);
  padding: 4px 0 4px 16px;
  margin-top: 24px !important;
}

.muted-prose {
  color: var(--color-muted);
  font-size: 15px;
  font-style: italic;
}

/* Experience */
.single-column {
  max-width: 760px;
}

.role {
  margin-bottom: 32px;
}

.role-header {
  margin-bottom: 12px;
}

.role h4 {
  font-size: 19px;
  margin: 0 0 4px;
  font-weight: 600;
}

.role-company {
  display: block;
  font-weight: 500;
  color: var(--color-ink-soft);
}

.role-dates {
  display: block;
  font-size: 14px;
  color: var(--color-muted);
  margin-top: 2px;
}

.role-bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--color-ink-soft);
}

.role-bullets li {
  margin-bottom: 6px;
}

/* Credentials */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.credential-group {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.section-alt .credential-group {
  background: #fff;
}

.credential-group h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin: 0 0 16px;
  font-weight: 700;
}

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

.credential-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  line-height: 1.5;
}

.credential-list li:last-child {
  border-bottom: none;
}

.muted {
  color: var(--color-muted);
  font-size: 13px;
}

/* Contact */
.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-lede {
  font-size: 20px;
  margin: 0 0 32px;
  color: var(--color-ink);
  line-height: 1.5;
}

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

.contact-grid > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-grid .meta-label {
  color: var(--color-muted);
}

.contact-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-value {
  font-size: 17px;
  font-weight: 500;
}

/* Footer */
footer {
  padding: 32px 0;
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
  }

  .section {
    padding: 56px 0;
  }

  .section h2 {
    font-size: 26px;
    margin-bottom: 28px;
  }

  .single-column {
    max-width: 100%;
  }

  .contact-card {
    padding: 28px;
  }

  .contact-lede {
    font-size: 17px;
  }
}
