:root {
  color-scheme: light;
  --ink: #172b27;
  --muted: #62736e;
  --paper: #f5f7f4;
  --surface: #ffffff;
  --line: #dce5df;
  --green: #123c36;
  --green-light: #d7eee4;
  --coral: #e78366;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-150%);
  background: var(--surface);
  color: var(--green);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.nav-list,
.hero-actions,
.project-heading,
.education-item,
.footer-inner {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 76px;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
}

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

.nav-list {
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.text-link,
.github-link,
.footer-inner a {
  text-decoration: none;
}

.nav-list a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-list a:hover,
.footer-inner a:hover {
  color: var(--green);
}

.resume-link {
  padding: 9px 14px;
  border: 1px solid var(--green);
  border-radius: 3px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.resume-link:hover {
  background: var(--green);
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--green);
  background-image: linear-gradient(115deg, rgb(18 60 54 / 99%) 0%, rgb(18 60 54 / 96%) 58%, rgb(26 81 70 / 90%) 100%);
  color: white;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 88px 78px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow {
  color: #a7d7c4;
}

.hero h1,
.content-section h2,
.side-section h2 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  margin-inline: auto;
}

.hero-role {
  margin: 17px 0 0;
  color: #d7eee4;
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-role span {
  padding-inline: 5px;
  color: var(--coral);
}

.hero-summary {
  max-width: 610px;
  margin: 18px auto 0;
  color: #e0eae5;
  font-size: 1.05rem;
}

.hero-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 17px;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
}

.button-light {
  background: var(--green-light);
  color: var(--green);
}

.button-light:hover {
  background: white;
}

.text-link {
  color: white;
  font-weight: 600;
}

.location {
  margin: 34px 0 0;
  color: #c3d6ce;
  font-size: 0.88rem;
}

.location span {
  margin-right: 8px;
  color: var(--coral);
  font-size: 0.65rem;
}

.hero-mark {
  position: absolute;
  right: 50%;
  bottom: -100px;
  transform: translateX(50%);
  color: rgb(255 255 255 / 4%);
  font-family: var(--font-display);
  font-size: clamp(15rem, 32vw, 31rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 72px;
  padding-block: 28px 80px;
}

.content-section {
  padding-block: 39px;
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin-bottom: 8px;
  color: #528176;
}

.content-section h2,
.side-section h2 {
  margin: 0 0 16px;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
}

.content-section > p:not(.section-kicker) {
  max-width: 700px;
  margin: 12px 0 0;
  color: #435650;
}

.project {
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.project-heading {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
}

.project h3,
.education-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.project-type {
  color: #528176;
  font-size: 0.78rem;
  font-weight: 700;
}

.project > p {
  margin: 8px 0;
  color: #435650;
}

.detail-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 19px;
  color: #435650;
  font-size: 0.92rem;
}

.education-item {
  justify-content: space-between;
  gap: 16px;
  padding-block: 15px;
  border-top: 1px solid var(--line);
}

.education-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.education-item > span {
  flex: 0 0 auto;
  color: #528176;
  font-size: 0.85rem;
  font-weight: 700;
}

.side-column {
  padding-top: 39px;
}

.side-section {
  padding: 23px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--coral);
  border-radius: 4px;
}

.side-section + .side-section {
  margin-top: 20px;
}

.side-section h2 {
  font-size: 1.3rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-list li {
  padding: 5px 9px;
  background: #eaf3ee;
  border-radius: 2px;
  color: #285b4f;
  font-size: 0.8rem;
  font-weight: 600;
}

.subheading {
  margin: 24px 0 4px;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.concepts {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-section {
  background: #edf3ee;
}

.contact-email,
.github-link {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--green);
  font-weight: 700;
}

.contact-email {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.github-link {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer {
  background: var(--green);
  color: #e2eee8;
}

.footer-inner {
  min-height: 70px;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p span {
  color: var(--coral);
}

.footer-inner a {
  color: #e2eee8;
}

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

  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 12px;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 8px 17px;
  }

  .nav-list a {
    font-size: 0.82rem;
  }

  .resume-link {
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .hero-content {
    padding-block: 68px 58px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-role {
    font-size: 1rem;
  }

  .hero-mark {
    right: -25px;
    bottom: -42px;
    font-size: 14rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 48px;
  }

  .side-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
    padding-top: 30px;
  }

  .side-section + .side-section {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .header-inner {
    justify-content: space-between;
  }

  .header-inner nav {
    order: 3;
    width: 100%;
  }

  .nav-list {
    justify-content: space-between;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .side-column {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 14px;
  }
}

@media print {
  :root {
    --paper: #ffffff;
  }

  .site-header,
  .hero-actions,
  .site-footer,
  .skip-link {
    display: none;
  }

  .hero {
    background: white;
    color: var(--ink);
  }

  .hero-content {
    padding-block: 24px;
  }

  .hero-role,
  .hero-summary,
  .location {
    color: var(--ink);
  }

  .hero-mark {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr 240px;
    gap: 30px;
    padding-block: 0;
  }

  .content-section,
  .side-column {
    padding-block: 18px;
  }

  .side-section {
    padding: 14px;
  }

  a {
    text-decoration: none;
  }
}