:root {
  --hunter-green: #355e3b;
  --hunter-dark: #24452b;
  --cream: #f8f6f0;
  --paper: #ffffff;
  --text: #202720;
  --muted: #5f685f;
  --line: #d5dbd4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: rgba(248, 246, 240, 0.97);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  min-height: 76px;
  display: flex;
  align-items: center;
}

.site-name {
  color: var(--hunter-green);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  padding: 110px 0 80px;
}

.eyebrow,
.work-type {
  margin: 0 0 14px;
  color: var(--hunter-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--hunter-dark);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.intro {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.work-section {
  padding: 0 0 110px;
}

h2 {
  margin: 0 0 24px;
  color: var(--hunter-green);
  font-size: 1.3rem;
  font-weight: 700;
}

.work-card {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-end;
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--hunter-green);
  border-radius: 3px;
  box-shadow: 0 12px 30px rgba(36, 69, 43, 0.07);
}

.work-card h3 {
  margin: 0;
  color: var(--hunter-dark);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.35;
}

.degree {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.thesis-link {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 11px 16px;
  background: var(--hunter-green);
  color: #ffffff;
  border: 2px solid var(--hunter-green);
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.thesis-link:hover {
  background: var(--hunter-dark);
  border-color: var(--hunter-dark);
}

.thesis-link:focus-visible,
.site-name:focus-visible {
  outline: 3px solid #8baa90;
  outline-offset: 4px;
}

footer {
  border-top: 1px solid var(--line);
}

footer .container {
  padding: 28px 0 34px;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 680px) {
  .hero {
    padding: 78px 0 60px;
  }

  .work-section {
    padding-bottom: 78px;
  }

  .work-card {
    align-items: flex-start;
    flex-direction: column;
  }
}