:root {
  --green-950: #10251c;
  --green-900: #173326;
  --green-800: #234433;
  --green-100: #e1eadf;
  --cream-50: #fbf8ef;
  --cream-100: #f2ecd9;
  --cream-200: #e6dcc0;
  --ink: #18231d;
  --muted: #647067;
  --line: rgba(23, 51, 38, 0.16);
  --line-strong: rgba(23, 51, 38, 0.28);
  --paper: #fffdf6;
  --shadow: 0 22px 54px rgba(16, 37, 28, 0.14);
  --shadow-small: 0 12px 28px rgba(16, 37, 28, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(251, 248, 239, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-950);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--cream-50);
  font-family: "Lora", Georgia, serif;
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--green-800);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-color: var(--green-800);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
  justify-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(44px, 7vw, 92px) clamp(20px, 7vw, 96px);
  background: var(--green-950);
  color: var(--cream-50);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, rgba(251, 248, 239, 0.08), transparent 62%);
}

.hero::after {
  position: absolute;
  right: clamp(20px, 7vw, 96px);
  bottom: 44px;
  width: min(42vw, 520px);
  height: 1px;
  content: "";
  background: rgba(251, 248, 239, 0.36);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  justify-self: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-100);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section .eyebrow,
.report-shell .eyebrow,
.resume-band .eyebrow,
.contact-section .eyebrow {
  color: var(--green-800);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: inherit;
  line-height: 1.12;
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;
}

h1 {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  max-width: 880px;
  color: var(--green-950);
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  color: var(--green-900);
  font-size: 1.35rem;
}

h4 {
  color: var(--green-950);
  font-size: 1rem;
}

.bio {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(251, 248, 239, 0.88);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.hero-notes span {
  padding: 8px 12px;
  border: 1px solid rgba(251, 248, 239, 0.24);
  border-radius: 999px;
  background: rgba(251, 248, 239, 0.08);
  color: rgba(251, 248, 239, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  background: var(--cream-100);
  color: var(--green-950);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.button.secondary {
  border-color: rgba(251, 248, 239, 0.46);
  color: var(--cream-50);
  background: rgba(251, 248, 239, 0.06);
}

.section .button.secondary,
.resume-band .button.secondary {
  border-color: var(--green-800);
  color: var(--green-900);
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.section,
.research-section,
.resume-band,
.contact-section {
  position: relative;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 7vw, 96px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 34px;
  text-align: center;
}

.section-heading::after {
  width: 96px;
  height: 3px;
  margin: 0 auto;
  content: "";
  background: var(--green-800);
}

.section-heading h2 {
  margin: 0 auto;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) 1fr;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23, 51, 38, 0.055), transparent 35%),
    var(--paper);
  box-shadow: var(--shadow);
}

.project-intro {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(0px, 3vw, 26px);
  border-right: 1px solid var(--line);
}

.project-feature > .project-intro p:last-child {
  color: var(--muted);
}

.project-label {
  margin: 0 0 10px;
  color: var(--green-800);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-panel,
.report-block {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: var(--shadow-small);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-panel:hover,
.activity-list article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(16, 37, 28, 0.14);
}

.project-panel h4::before {
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 14px;
  content: "";
  background: var(--green-800);
}

.project-panel p,
.report-block p,
.activity-list p,
.resume-band p,
.contact-section p {
  color: var(--muted);
}

.partner-list,
.findings-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.partner-list {
  font-size: 0.9rem;
}

.partner-list li + li,
.findings-list li + li {
  margin-top: 8px;
}

.partner-list a {
  color: var(--green-800);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-panel.muted,
.report-block {
  background: #fff9eb;
}

.placeholder-text {
  font-style: italic;
}

.research-section {
  background: var(--green-950);
}

.report-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fffdf6, #fbf6e8);
  box-shadow: var(--shadow);
}

.report-header {
  position: relative;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--green-900);
  text-align: center;
}

.report-header p:last-child {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

.report-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.report-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream-100);
  color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 800;
}

.report-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding-top: 28px;
}

.report-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.report-sidebar div {
  padding: 18px;
  border-left: 4px solid var(--green-800);
  background: linear-gradient(135deg, var(--cream-100), #fff8e9);
  box-shadow: var(--shadow-small);
}

.report-meta-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-content {
  display: grid;
  gap: 16px;
}

.report-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.findings-list {
  font-size: 0.94rem;
}

.report-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 5px;
  background: var(--green-900);
  color: var(--cream-50);
  font-weight: 700;
}

.report-link:hover {
  background: var(--green-800);
}

.activity-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.activity-group {
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green-800);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.68);
  box-shadow: var(--shadow-small);
}

.activity-group h3 {
  margin-bottom: 18px;
}

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-list article {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.activity-list article::before {
  position: absolute;
  top: 20px;
  left: -1px;
  width: 4px;
  height: 34px;
  content: "";
  background: var(--cream-200);
}

.activity-list p {
  margin: 9px 0 0;
  font-size: 0.96rem;
}

.resume-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(90deg, var(--cream-100), #fff8e9);
  border-block: 1px solid var(--line);
  text-align: center;
}

.resume-band div {
  max-width: 740px;
  margin: 0 auto;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  justify-items: center;
  background: var(--green-900);
  color: var(--cream-50);
  text-align: center;
}

.contact-section > div {
  width: min(100%, 720px);
}

.contact-section h2,
.contact-section .eyebrow {
  color: var(--cream-50);
}

.contact-section p {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(251, 248, 239, 0.78);
}

.contact-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 0;
  color: var(--cream-50);
  font-weight: 700;
  border-bottom: 1px solid rgba(251, 248, 239, 0.45);
}

.site-footer {
  padding: 24px clamp(20px, 7vw, 96px);
  background: var(--green-950);
  color: rgba(251, 248, 239, 0.7);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .project-feature,
  .report-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading::after {
    width: 86px;
  }

  .project-intro {
    padding-right: 0;
    padding-bottom: 8px;
    border-right: 0;
  }

  .portrait-card {
    justify-self: start;
  }

  .portrait-placeholder {
    min-height: 360px;
  }

  .activity-groups,
  .report-columns {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .site-nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.84rem;
  }

  .hero-actions,
  .contact-actions,
  .resume-band {
    align-items: stretch;
    flex-direction: column;
  }

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

  .button,
  .contact-link {
    width: 100%;
  }
}
