:root {
  --ink: #17201b;
  --muted: #58625d;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #d9ddd6;
  --accent: #246b5a;
  --accent-dark: #16483c;
  --gold: #d79b2b;
  --blue: #315f8c;
  --shadow: 0 24px 60px rgba(28, 38, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover,
.footer a:hover {
  color: var(--accent);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(78vh - 72px);
  margin: 0 auto;
  padding: 72px 0 52px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  color: var(--accent-dark);
}

.button.secondary:hover {
  background: #e8f1ed;
}

.intro-content {
  display: grid;
  gap: 22px;
}

.profile-photo {
  width: min(100%, 360px);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
}

.profile-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 58% 48%;
}

.profile-photo figcaption {
  display: block;
  padding: 14px 18px;
  background: var(--surface);
  color: var(--accent-dark);
  font-weight: 800;
  text-align: center;
  white-space: normal;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.intro,
.recruiter-note {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.project {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project-main {
  padding: 36px;
}

.project-label {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.project-main h3 {
  margin: 8px 0 16px;
  max-width: 680px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 800;
}

.project-details {
  padding: 36px;
  background: #eef3ef;
  border-left: 1px solid var(--line);
}

.project-details h4 {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.project-details ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.project-details li + li {
  margin-top: 10px;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.interest-grid article {
  min-height: 220px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.interest-grid h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer a {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 840px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero,
  .hero-content,
  .section-heading,
  .intro,
  .intro-content,
  .recruiter-note,
  .project-main,
  .project-details,
  .interest-grid article,
  .footer {
    text-align: center;
  }

  .hero {
    justify-content: center;
  }

  .hero-content,
  .section-heading,
  .profile-photo {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 4.2rem);
  }

  .intro,
  .recruiter-note,
  .project {
    grid-template-columns: 1fr;
  }

  .project-details {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .project-details ul {
    display: inline-block;
    text-align: left;
  }

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

  .interest-grid article {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero,
  .section,
  .nav,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  .nav-links {
    font-size: 0.92rem;
  }

  .hero {
    padding-bottom: 42px;
    gap: 34px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .project-main,
  .project-details,
  .interest-grid article {
    padding: 24px;
  }

  .profile-photo {
    width: 100%;
  }

  .profile-photo img {
    aspect-ratio: 4 / 3;
  }

  .footer {
    align-items: center;
    flex-direction: column;
  }

  .footer div {
    justify-content: center;
  }
}
