:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: rgba(11, 23, 39, 0.78);
  --panel: rgba(13, 26, 43, 0.82);
  --panel-strong: rgba(18, 33, 54, 0.96);
  --text: #f4f0e8;
  --muted: #b4bfd0;
  --line: rgba(245, 240, 232, 0.12);
  --accent: #f6b84d;
  --accent-2: #4dd4c6;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(77, 212, 198, 0.14), transparent 28%),
    radial-gradient(circle at right 20%, rgba(246, 184, 77, 0.16), transparent 26%),
    linear-gradient(180deg, #09101a 0%, #07111f 45%, #050b14 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
  opacity: 0.35;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
  opacity: 0.75;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(246, 184, 77, 0.4), transparent 70%);
  top: -90px;
  right: -40px;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(77, 212, 198, 0.28), transparent 70%);
  left: -80px;
  top: 28%;
}

.topbar,
.hero,
.section,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 12, 21, 0.7);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(246, 184, 77, 0.98), rgba(77, 212, 198, 0.88));
  color: #08111f;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  background: linear-gradient(135deg, var(--accent), #f08d58);
  color: #0a1220;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: 0 18px 35px rgba(240, 141, 88, 0.18);
}

.cta-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 72px 0 28px;
  align-items: center;
}

.section {
  padding: 84px 0 0;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.95;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  max-width: 14ch;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.lede,
.section-copy p,
.timeline-item p,
.card p,
.profile-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.lede {
  max-width: 62ch;
  margin: 18px 0 0;
}

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

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero-highlights article,
.card,
.timeline-item,
.contact-card,
.profile-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-highlights article {
  padding: 16px;
}

.hero-highlights strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-highlights span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-panel {
  align-self: stretch;
}

.profile-card {
  height: 100%;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(246, 184, 77, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(14, 28, 46, 0.98), rgba(8, 16, 27, 0.96));
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(77, 212, 198, 0.13);
  border: 1px solid rgba(77, 212, 198, 0.22);
  color: #bdf7f0;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.profile-card h2 {
  margin-bottom: 14px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.metric-grid div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-grid span {
  display: block;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.metric-grid small {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.section-title {
  position: sticky;
  top: 98px;
}

.section-copy {
  padding-top: 4px;
}

.section-copy p + p {
  margin-top: 16px;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 22px 24px;
}

.timeline-date {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding-top: 2px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  padding: 22px;
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--panel);
}

.focus-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.focus-pill {
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(77, 212, 198, 0.18);
  background: rgba(77, 212, 198, 0.08);
  color: #cdfdf6;
}

.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: center;
}

.contact-card {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.contact-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card a::after {
  content: "↗";
  color: var(--accent-2);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .topbar,
  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .nav {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero {
    padding-top: 46px;
  }

  .section-title {
    position: static;
  }

  .hero-highlights,
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar,
  .hero,
  .section,
  .footer {
    width: min(100% - 20px, 1120px);
  }

  .topbar {
    padding: 16px;
  }

  .brand-copy small {
    display: none;
  }

  .section {
    padding-top: 64px;
  }

  .hero {
    gap: 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
