@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #15212b;
  --muted: #67747e;
  --paper: #f5f6f2;
  --card: #fff;
  --line: #d9dfda;
  --lime: #d7f36b;
  --coral: #ff785f;
  --blue: #87b9f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 246, 242, .95);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.06em;
}

.brand span {
  color: var(--coral);
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.nav-links a {
  color: #66727b;
  transition: color .2s;
}

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

.nav-links .nav-cta {
  background: var(--ink);
  color: white;
  padding: 11px 17px;
  border-radius: 5px;
}

.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

.eyebrow {
  margin: 0 0 18px;
  color: #617078;
  font: 500 11px 'DM Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero {
  padding: 94px 0 105px;
  display: grid;
  grid-template-columns:1.15fr .85fr;
  gap: 90px;
  align-items: center;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .99;
  letter-spacing: -.075em;
  font-weight: 800;
}

h1 em {
  font-style: normal;
  color: var(--coral);
}

.lead {
  max-width: 540px;
  color: #617078;
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 19px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.button.alt {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

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

.hero-card {
  background: var(--lime);
  padding: 28px;
  min-height: 365px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 7px;
}

.hero-card:after {
  content: '';
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  right: -58px;
  bottom: -74px;
  box-shadow: 0 0 0 23px rgba(21, 33, 43, .08), 0 0 0 46px rgba(21, 33, 43, .06);
}

.card-tag {
  font: 500 11px 'DM Mono', monospace;
}

.initials {
  font-size: 130px;
  font-weight: 800;
  letter-spacing: -.14em;
  line-height: .75;
  position: relative;
  z-index: 1;
}

.hero-card small {
  max-width: 230px;
  font-size: 13px;
  font-weight: 700;
}

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}

.strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.strip p {
  margin: 0;
  font: 500 11px 'DM Mono', monospace;
  text-transform: uppercase;
  color: #738087;
  letter-spacing: .08em;
}

.strip strong {
  font-size: 15px;
}

.section {
  padding: 90px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 36px;
}

h2 {
  font-size: clamp(34px, 4vw, 55px);
  letter-spacing: -.07em;
  line-height: 1;
  margin-bottom: 0;
}

.section-head p {
  color: var(--muted);
  max-width: 350px;
  margin-bottom: 0;
  font-size: 14px;
}

.feature-grid, .skill-grid, .contact-grid {
  display: grid;
  grid-template-columns:repeat(3, 1fr);
  gap: 16px;
}

.feature, .skill, .contact-card, .timeline-item {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 6px;
}

.feature {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-num {
  font: 500 11px 'DM Mono', monospace;
  color: var(--coral);
}

.feature h3 {
  font-size: 19px;
  letter-spacing: -.04em;
  margin: 0 0 8px;
}

.feature p, .skill p, .contact-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.arrow {
  font-size: 23px;
  align-self: end;
}

.dark {
  background: var(--ink);
  color: #fff;
}

.dark .eyebrow, .dark .section-head p {
  color: #aab6bc;
}

.dark .feature {
  background: #20303b;
  border-color: #31424d;
}

.dark .feature p {
  color: #b7c0c4;
}

.quote {
  max-width: 870px;
  font-size: clamp(27px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.06em;
}

.page-head {
  padding: 78px 0 68px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(48px, 7vw, 78px);
  max-width: 850px;
  margin-bottom: 22px;
}

.page-head p {
  max-width: 570px;
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.page-body {
  padding: 70px 0 100px;
}

.skill-grid {
  grid-template-columns:repeat(2, 1fr);
}

.skill {
  min-height: 180px;
}

.skill h3 {
  margin: 12px 0 8px;
  font-size: 19px;
  letter-spacing: -.04em;
}

.skill .feature-num {
  color: #81909a;
}

.meter {
  height: 5px;
  background: #e6ebe5;
  margin-top: 19px;
}

.meter span {
  display: block;
  height: 100%;
  background: var(--coral);
}

.timeline {
  max-width: 850px;
  margin-left: auto;
}

.timeline-item {
  display: grid;
  grid-template-columns:145px 1fr;
  gap: 22px;
  margin-bottom: 16px;
}

.date {
  color: var(--coral);
  font: 500 11px 'DM Mono', monospace;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-bottom: 4px;
  font-size: 21px;
  letter-spacing: -.04em;
}

.timeline-item .role {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.education-logo { width: 86px; height: 86px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; background: var(--coral); color: #fff; border-radius: 50%; font-weight: 800; font-size: 19px; letter-spacing: -.08em; line-height: 1; text-align: center; }
.education-logo span { font: 500 6px 'DM Mono', monospace; letter-spacing: .02em; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag {
  background: #edf0ea;
  padding: 5px 9px;
  border-radius: 3px;
  font: 500 10px 'DM Mono', monospace;
}

.contact-layout {
  display: grid;
  grid-template-columns:.75fr 1.25fr;
  gap: 90px;
  align-items: start;
}

.contact-grid {
  grid-template-columns:1fr;
  margin-top: 34px;
}

.contact-card {
  padding: 19px;
}

.contact-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 6px;
}

.form-row {
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 18px;
  color: #58666e;
  font: 500 11px 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .05em;
}

input, textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 13px;
  border-radius: 3px;
  color: var(--ink);
  font: 14px Manrope, sans-serif;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

footer {
  padding: 27px 0;
  border-top: 1px solid var(--line);
  color: #738087;
  font: 500 11px 'DM Mono', monospace;
}

footer .container {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 800px) {
  .container {
    width: min(100% - 32px, 600px);
  }

  .menu {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .hero, .contact-layout {
    grid-template-columns:1fr;
    gap: 40px;
  }

  .hero {
    padding: 65px 0 72px;
  }

  .hero-card {
    min-height: 290px;
  }

  .initials {
    font-size: 100px;
  }

  .feature-grid, .skill-grid {
    grid-template-columns:1fr;
  }

  .section-head, .strip-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline-item, .form-row {
    grid-template-columns:1fr;
    gap: 10px;
  }

  .page-head {
    padding: 57px 0 48px;
  }

  .page-body {
    padding: 50px 0 70px;
  }

  footer .container {
    flex-direction: column;
    gap: 8px;
  }
}
