:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5d6874;
  --line: #d8dfde;
  --paper: #f2f0e9;
  --surface: #ffffff;
  --accent: #006f62;
  --accent-soft: #dceee9;
  --gold: #c7963f;
  --night: #0d2422;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(242, 240, 233, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
}

nav a,
footer a,
.text-link {
  color: var(--accent);
  font-weight: 800;
}

.language-switch {
  align-items: center;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  padding: 4px;
}

.language-switch a {
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.language-switch .active {
  background: var(--night);
  color: white;
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(199, 150, 63, 0.35), transparent 28%),
    linear-gradient(135deg, #f5f1e7 0%, #e7efeb 52%, #cdded7 100%);
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  min-height: calc(100svh - 72px);
  padding: clamp(52px, 8vw, 104px) clamp(20px, 6vw, 80px);
}

.hero-copy {
  animation: rise 650ms ease both;
  max-width: 760px;
}

.eyebrow,
.panel-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 7vw, 92px);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(28px, 4vw, 54px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 16px;
}

h3 {
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
}

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

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  min-height: 48px;
  padding: 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.18);
  color: white;
}

.secondary {
  border: 1px solid rgba(16, 24, 32, 0.22);
  color: var(--ink);
}

.profile-panel,
.contact-panel,
.education-grid article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(16, 24, 32, 0.1);
}

.profile-panel {
  animation: rise 800ms 120ms ease both;
  padding: 32px;
}

.avatar {
  align-items: center;
  background: var(--night);
  border-radius: 50%;
  color: white;
  display: flex;
  font-size: 34px;
  font-weight: 900;
  height: 112px;
  justify-content: center;
  margin-bottom: 28px;
  width: 112px;
}

dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  font-size: 18px;
  font-weight: 800;
  margin: 4px 0 0;
}

.section,
.page {
  padding: clamp(64px, 8vw, 116px) clamp(20px, 6vw, 80px);
}

.intro-grid {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: 1.1fr 0.9fr;
}

.metrics-strip {
  background: var(--night);
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.metrics-strip article {
  background: rgba(255, 255, 255, 0.04);
  padding: clamp(34px, 5vw, 64px);
  transition: background 180ms ease;
}

.metrics-strip article:hover {
  background: rgba(255, 255, 255, 0.09);
}

.metrics-strip span,
.timeline span,
.education-grid span {
  color: var(--gold);
  display: block;
  font-weight: 900;
  margin-bottom: 20px;
}

.metrics-strip p,
.metrics-strip h3 {
  color: white;
}

.feature {
  align-items: center;
  display: grid;
  gap: clamp(36px, 7vw, 96px);
  grid-template-columns: 1fr 1fr;
}

.feature-visual {
  background: #0b1514;
  border-radius: 8px;
  min-height: 380px;
  overflow: hidden;
  padding: 44px;
  position: relative;
}

.signal-line {
  background: linear-gradient(180deg, transparent, rgba(220, 238, 233, 0.8), transparent);
  height: 80%;
  left: 50%;
  position: absolute;
  top: 10%;
  width: 1px;
}

.signal-card {
  background: rgba(220, 238, 233, 0.08);
  border: 1px solid rgba(220, 238, 233, 0.16);
  border-radius: 8px;
  color: white;
  padding: 20px;
  position: absolute;
  transition: transform 180ms ease;
  width: 240px;
}

.feature-visual:hover .signal-card {
  transform: translateY(-4px);
}

.signal-card span {
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.signal-card strong {
  font-size: 20px;
}

.first {
  left: 10%;
  top: 16%;
}

.second {
  right: 10%;
  top: 40%;
}

.third {
  bottom: 14%;
  left: 18%;
}

.page {
  min-height: calc(100svh - 152px);
}

.page-hero {
  max-width: 940px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 82px);
}

.timeline {
  display: grid;
  margin-top: 56px;
  max-width: 960px;
}

.timeline article {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 120px 1fr;
  padding: 36px 0;
}

.education-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}

.education-grid article,
.contact-panel {
  padding: 30px;
}

.contact-page {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

footer {
  align-items: center;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 80px);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    height: auto;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  nav {
    flex-wrap: wrap;
  }

  .language-switch {
    margin-top: 2px;
  }

  .hero,
  .intro-grid,
  .feature,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .metrics-strip,
  .education-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 42px;
  }

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

  .feature-visual {
    min-height: 460px;
    padding: 24px;
  }

  .signal-card {
    left: 24px;
    right: 24px;
    width: auto;
  }

  .first {
    top: 12%;
  }

  .second {
    top: 38%;
  }

  .third {
    bottom: 12%;
  }
}
