:root {
  --ink: #17191c;
  --muted: #69717a;
  --line: #dfe3e7;
  --paper: #ffffff;
  --soft: #f5f6f7;
  --dark: #17191c;
  --accent: #315f9e;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:hover {
  color: var(--accent);
  text-decoration: none;
}

.container {
  max-width: var(--max);
}

.narrow {
  max-width: 900px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(23, 25, 28, .96);
  border-bottom: 1px solid #3a3f44;
  backdrop-filter: blur(12px);
}

.nav-links a,
.nav-brand {
  color: #f4f5f6;
}

.nav-links a:hover,
.nav-brand:hover {
  color: #fff;
}

.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: Inter, sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .9rem;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: .9rem;
  font-weight: 600;
}

.hero {
  padding: 110px 0 100px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 90px;
  align-items: center;
}

.eyebrow,
.section-label,
.project-meta,
.timeline-date,
.education-date {
  font-family: Inter, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--muted);
}

.eyebrow {
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1,
.section h2,
.closing h2 {
  font-family: Inter, sans-serif;
  letter-spacing: -.045em;
}

.hero h1 {
  font-size: clamp(3.3rem, 7vw, 5.7rem);
  line-height: .98;
  margin: 0 0 22px;
  font-weight: 700;
}

.hero-title {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-summary {
  max-width: 720px;
  color: #4e565e;
  font-size: 1.15rem;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 6px;
  font-family: Inter, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--ink);
}

.button-primary:hover {
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.button-secondary {
  border: 1px solid var(--line);
}

.text-link {
  font-weight: 600;
  font-size: .95rem;
}

.hero-photo-wrap {
  position: relative;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  filter: saturate(.88);
}

.hero-card {
  position: absolute;
  left: -35px;
  bottom: -28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 15px 40px rgba(23,25,28,.1);
  padding: 18px 20px;
  min-width: 220px;
}

.hero-card span,
.hero-card small {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  /* lets add a comment */
}

.hero-card strong {
  display: block;
  font-family: Inter, sans-serif;
  font-size: .95rem;
  margin: 3px 0;
}

.section {
  padding: 105px 0;
}

.section-soft {
  background: var(--soft);
}

.section-label {
  margin-bottom: 18px;
}

.section h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 28px;
  font-weight: 700;
}

.large-copy {
  font-size: 1.35rem;
  line-height: 1.55;
  color: #3f474f;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 55px;
}

.interest-grid > div {
  border-top: 2px solid var(--ink);
  padding-top: 15px;
}

.interest-grid span {
  display: block;
  font: 700 .7rem Inter, sans-serif;
  color: var(--muted);
  margin-bottom: 20px;
}

.interest-grid strong {
  display: block;
  font: 700 1rem Inter, sans-serif;
}

.interest-grid p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 45px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.project-number {
  font: 600 .8rem Inter, sans-serif;
  color: var(--muted);
  padding-top: 4px;
}

.project-meta {
  margin-bottom: 10px;
  color: var(--accent);
}

.project-card h3 {
  font: 700 1.65rem/1.2 Inter, sans-serif;
  letter-spacing: -.025em;
  margin-bottom: 13px;
}

.project-card p {
  max-width: 850px;
  color: #505960;
  margin-bottom: 16px;
}

.project-result {
  font: 600 .92rem Inter, sans-serif;
  margin-bottom: 17px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  font-size: .88rem;
}

.project-links a {
  font-weight: 700;
}

.project-links span {
  color: var(--muted);
}

.project-featured {
  padding-top: 50px;
}

.project-featured .project-result {
  color: var(--accent);
  font-size: 1rem;
}

.section-dark {
  background: var(--dark);
  color: #f4f5f6;
}

.section-dark .section-label,
.section-dark .section-note,
.section-dark .timeline-date {
  color: #9ca5ae;
}

.section-note {
  font-size: .85rem;
  font-weight: 600;
}

.timeline {
  border-top: 1px solid #3a3f44;
}

.timeline-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 45px;
  padding: 36px 0;
  border-bottom: 1px solid #3a3f44;
}

.timeline-item h3 {
  font: 700 1.45rem Inter, sans-serif;
  margin-bottom: 10px;
}

.timeline-item p {
  max-width: 850px;
  color: #c4c9ce;
  margin: 0;
}

.company-header {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 35px;
}

.company-logo {
  width: 145px;
  height: auto;
  display: block;
  flex-shrink: 0;
  color: #ffffff;
}

.company-logo path {
  fill: currentColor !important;
}
.company-name {
  font: 700 1.15rem Inter, sans-serif;
}

.company-period {
  color: #9ca5ae;
  font-size: .85rem;
  margin-top: 3px;
}

.experience-secondary {
  margin-top: 34px;
  display: flex;
  gap: 22px;
  align-items: center;
  color: #c4c9ce;
  font-size: .9rem;
}

.experience-secondary span:first-child {
  font: 700 .7rem Inter, sans-serif;
  letter-spacing: .14em;
  color: #8f979f;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.education-card {
  border: 1px solid var(--line);
  padding: 34px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 25px;
}

.school-mark {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.school-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.school-mark-tiet {
  width: 70px;
  height: 70px;
}

.education-card h3 {
  font: 700 1.35rem/1.2 Inter, sans-serif;
  margin: 8px 0 5px;
}

.degree {
  font-weight: 600;
  margin-bottom: 6px;
}

.education-card p {
  margin-bottom: 7px;
}

.coursework {
  margin-top: 20px;
  color: var(--muted);
  font-size: .9rem;
}

.closing {
  padding: 100px 0;
  background: #eef1f3;
}

.closing h2 {
  max-width: 720px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 30px;
}

footer {
  background: var(--dark);
  color: #9ca5ae;
  font-size: .82rem;
}

.footer-inner {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-inner div {
  display: flex;
  gap: 22px;
}

.footer-inner a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .hero {
    padding: 75px 0 90px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-photo-wrap {
    max-width: 310px;
  }

  .hero-card {
    left: 25px;
  }

  .interest-grid,
  .education-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  body {
    font-size: 17px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a:nth-child(n+3) {
    display: none;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .section {
    padding: 75px 0;
  }

  .interest-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 45px 1fr;
    gap: 15px;
    padding: 32px 0;
  }

  .project-card h3 {
    font-size: 1.35rem;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row .text-link {
    display: inline-block;
    margin-top: 10px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .education-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 20px 0;
    display: block;
  }

  .footer-inner div {
    margin-top: 8px;
  }
}
