/* === Variables & Reset === */
:root {
  --green: #5daa62;
  --ink: #202421;
  --muted: #68706a;
  --paper: #fff;
  --soft: #f4f7f3;
  --line: #dfe5df;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 15px;
}

a { color: inherit; }

img {
  max-width: 100%;
  height: auto;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}

/* === Header & Navigation === */
header { background: var(--green); color: #fff; }

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

.brand {
  font-size: 1.12rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

nav { display: flex; gap: 22px; }

nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .64rem;
  font-weight: 700;
}

nav a.active {
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
}

/* === Typography === */
.eyebrow, .label {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .68rem;
  font-weight: 800;
  color: #356c3b;
}

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

h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.04em;
  margin: 12px 0 20px;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 8px 0 14px;
}

h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 7px;
}

.lead {
  font-size: 1rem;
  color: #49514b;
  max-width: 680px;
}

/* === Sections === */
section { padding: 68px 0; }

.section-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.intro {
  font-size: .95rem;
  color: var(--muted);
  max-width: 760px;
}

/* === Hero === */
.hero { padding: 82px 0 74px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 64px;
  align-items: center;
}

.portrait {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  margin-left: auto;
  height: auto;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.links a {
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  font-size: .8rem;
  font-weight: 700;
}

/* === Research Cards === */
.research { background: var(--soft); }

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

.research-card { background: #fff; }

.research-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.research-copy {
  border-top: 2px solid var(--green);
  padding: 17px 18px 20px;
}

.research-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: .9rem;
}

/* === Work List === */
.work-list { border-top: 1px solid var(--line); }

.work-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.year {
  color: #356c3b;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.work-item p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: .9rem;
}

.work-item a {
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--green);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* === Image Band === */
.image-band {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 18px;
  margin-top: 44px;
}

.image-band img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.image-band img[hidden] { display: none; }

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.about-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.about-copy { font-size: .95rem; }

.facts {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.fact strong {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .64rem;
  color: #356c3b;
}

/* === Contact === */
.contact {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 62px 0;
}

.contact h2 {
  max-width: 760px;
  margin: 0 auto 20px;
}

.contact a {
  font-weight: 800;
  font-size: .85rem;
}

/* === Footer === */
footer {
  padding: 25px 0;
  color: var(--muted);
  font-size: .77rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* === Responsive: Tablet === */
@media (max-width: 820px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 62px; gap: 12px; }
  .brand { font-size: .95rem; letter-spacing: .1em; }
  nav { gap: 13px; overflow-x: auto; white-space: nowrap; }
  nav a { font-size: .57rem; letter-spacing: .1em; }
  .hero-grid, .section-head, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; }
  .section-head { gap: 10px; margin-bottom: 30px; }
  .portrait { margin: 0; max-width: 300px; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .work-item { grid-template-columns: 1fr; gap: 7px; padding: 20px 0; }
  .work-item a { justify-self: start; }
  .image-band { grid-template-columns: 1fr; }
  .image-band img { min-height: 180px; max-height: 280px; }
  section { padding: 52px 0; }
  .hero { padding: 56px 0 50px; }
  .links { gap: 13px; margin-top: 22px; }
  .about-grid { gap: 30px; }
  .about-photo { max-width: 320px; }
  .fact { grid-template-columns: 95px 1fr; }
  .contact { padding: 48px 0; }
}

/* === Responsive: Mobile === */
@media (max-width: 560px) {
  body { font-size: 14px; }
  .nav { display: block; padding: 12px 0 10px; }
  .brand { display: block; margin-bottom: 8px; }
  nav { display: flex; gap: 15px; padding-bottom: 2px; }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.65rem; }
  .lead { font-size: .95rem; }
  .portrait { max-width: 100%; }
  .links { flex-direction: column; align-items: flex-start; }
  .research-grid { grid-template-columns: 1fr; }
  .research-copy { padding: 15px 16px 18px; }
  .image-band { margin-top: 32px; }
  .image-band img { min-height: 160px; max-height: 240px; }
  .fact { grid-template-columns: 1fr; gap: 3px; }
  footer { font-size: .72rem; }
}
