:root {
  color-scheme: light;
  --ink: #17352d;
  --muted: #64746d;
  --forest: #123c31;
  --forest-deep: #0c2d25;
  --leaf: #bfdc8d;
  --paper: #f5f4ed;
  --line: #dedfd4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #6b9d44;
  outline-offset: 4px;
}

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

.content-wrap {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 2px;
  color: white;
  background: var(--forest-deep);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 78px);
  border-bottom: 1px solid rgb(23 53 45 / 8%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  color: var(--forest);
  line-height: 1;
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.primary-navigation a {
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-navigation a:hover {
  color: #638f42;
}

.language-switch {
  min-width: 42px;
  padding: 8px 10px;
  border: 1px solid #d5dacd;
  border-radius: 999px;
  color: var(--forest);
  background: transparent;
  cursor: pointer;
  font: 700 11px var(--sans);
  letter-spacing: 0.05em;
}

.menu-toggle {
  display: none;
  padding: 9px 14px;
  border: 1px solid #d5dacd;
  border-radius: 999px;
  color: var(--forest);
  background: #fff;
  cursor: pointer;
  font: 700 12px var(--sans);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100svh - 78px));
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--forest-deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  z-index: 1;
}

.hero-image {
  object-fit: cover;
  object-position: center 54%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgb(9 39 31 / 94%) 0%, rgb(10 42 32 / 82%) 39%, rgb(10 42 32 / 35%) 74%, rgb(10 42 32 / 15%) 100%),
    linear-gradient(0deg, rgb(10 35 28 / 48%), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 84px 0 92px;
}

.eyebrow {
  margin-bottom: 16px;
  color: #618343;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #d7e7be;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(46px, 6.6vw, 86px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero h1 span {
  display: block;
}

.hero-highlight {
  color: var(--leaf);
}

.hero-description {
  max-width: 540px;
  margin-bottom: 30px;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--forest-deep);
  background: var(--leaf);
}

.button-light:hover {
  background: #d0e6a8;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.hero-region {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  color: rgb(255 255 255 / 86%);
  font-size: 11px;
  letter-spacing: 0.025em;
}

.region-mark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 5px rgb(191 220 141 / 16%);
}

.visual-note {
  position: absolute;
  right: max(32px, calc((100% - 1240px) / 2));
  bottom: 20px;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 9px;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100% - 1240px) / 2));
  bottom: 54px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}

.intro-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  padding-block: clamp(76px, 11vw, 142px);
}

.intro-heading h2,
.section-heading h2,
.resources-layout h2,
.contact-section h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 55px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.intro-heading h2 span {
  display: block;
}

.intro-copy {
  max-width: 480px;
  padding-bottom: 4px;
}

.intro-copy > p:first-child {
  margin-bottom: 18px;
  color: #354c43;
  font-size: 17px;
  line-height: 1.8;
}

.location-note {
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.expertise-section {
  padding-block: clamp(72px, 9vw, 118px);
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 44px;
}

.section-intro {
  max-width: 370px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 22px;
}

.expertise-card {
  min-width: 0;
}

.card-image {
  position: relative;
  aspect-ratio: 1.66;
  overflow: hidden;
  background: #d8dfd3;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.expertise-card:hover .card-image img {
  transform: scale(1.035);
}

.card-image > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
  color: #fff;
  background: rgb(12 45 37 / 72%);
  font-size: 10px;
  font-weight: 700;
}

.card-copy {
  padding: 18px 2px 0;
}

.card-copy h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.card-copy p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.program-section {
  padding-block: clamp(76px, 10vw, 132px);
}

.program-section .section-heading {
  margin-bottom: 38px;
}

.program-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
}

.program-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.fellowship-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
  background: var(--forest);
}

.program-label {
  margin-bottom: 22px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.fellowship-card .program-label {
  color: var(--leaf);
}

.program-card h3 {
  max-width: 440px;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.program-card > p:not(.program-label, .status-label),
.agir-copy > p:not(.program-label, .status-label) {
  max-width: 500px;
  margin-bottom: 24px;
  color: rgb(255 255 255 / 83%);
  font-size: 14px;
  line-height: 1.7;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 14px;
  color: #e2edda;
  font-size: 11px;
  font-weight: 650;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
}

.agir-card > img,
.agir-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.agir-card > img {
  object-fit: cover;
  object-position: center 40%;
}

.agir-overlay {
  background: linear-gradient(90deg, rgb(10 38 31 / 88%), rgb(10 38 31 / 52%) 58%, rgb(10 38 31 / 16%));
}

.agir-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
}

.agir-copy .program-label {
  color: #e0edc9;
}

.agir-copy h3,
.agir-copy > p:not(.program-label, .status-label) {
  max-width: 430px;
}

.resources-section {
  padding-block: clamp(64px, 8vw, 108px);
  color: #fff;
  background: var(--forest-deep);
}

.resources-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 8vw, 110px);
  align-items: center;
}

.resources-layout .eyebrow {
  color: var(--leaf);
}

.resources-layout h2 {
  max-width: 390px;
  margin-bottom: 16px;
}

.resource-intro {
  max-width: 430px;
  margin-bottom: 0;
  color: rgb(255 255 255 / 75%);
  font-size: 14px;
}

.resource-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 4%);
}

.resource-icon {
  display: grid;
  width: 56px;
  height: 70px;
  place-items: center;
  border: 1px solid rgb(191 220 141 / 65%);
  color: var(--leaf);
  font-family: var(--serif);
  font-size: 20px;
}

.resource-card .program-label {
  margin-bottom: 2px;
  color: var(--leaf);
}

.resource-date {
  margin-bottom: 10px;
  color: rgb(255 255 255 / 65%);
  font-size: 11px;
}

.resource-card > div:last-child > p:not(.program-label, .resource-date) {
  margin-bottom: 14px;
  color: rgb(255 255 255 / 80%);
  font-size: 13px;
}

.resource-status {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 9vw, 130px);
  align-items: end;
  padding-block: clamp(76px, 10vw, 132px);
}

.contact-section h2 {
  max-width: 580px;
  margin-bottom: 14px;
}

.contact-lead {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-note {
  margin-bottom: 4px;
  padding: 20px 22px;
  border-left: 3px solid #88a965;
  color: #53645b;
  background: var(--paper);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer {
  padding-block: 34px 20px;
  color: #fff;
  background: #09271f;
}

.footer-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-main {
  padding-bottom: 26px;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-subtitle {
  color: rgb(255 255 255 / 68%);
}

.footer-main > p {
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 11px;
}

.back-top {
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  color: rgb(255 255 255 / 68%);
  font-size: 10px;
}

.footer-bottom p {
  max-width: 620px;
  margin: 0;
  text-align: right;
}

@media (max-width: 980px) {
  .primary-navigation {
    gap: 14px;
  }

  .primary-navigation a {
    font-size: 11px;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .content-wrap,
  .hero-content {
    width: min(100% - 40px, 560px);
  }

  .site-header {
    min-height: 72px;
    padding-inline: 20px;
  }

  .brand-name {
    font-size: 24px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 18px rgb(12 45 37 / 10%);
  }

  .primary-navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-navigation a {
    padding-block: 8px;
    font-size: 14px;
  }

  .language-switch {
    align-self: flex-start;
    margin-top: 4px;
  }

  .hero {
    min-height: min(780px, calc(100svh - 72px));
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgb(9 39 31 / 91%), rgb(10 42 32 / 62%) 68%, rgb(10 42 32 / 35%)),
      linear-gradient(0deg, rgb(10 35 28 / 57%), transparent 55%);
  }

  .hero-content {
    padding-block: 72px 100px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(46px, 11vw, 72px);
  }

  .hero-description {
    max-width: 460px;
    font-size: 15px;
  }

  .hero-region {
    max-width: 310px;
    align-items: flex-start;
    margin-top: 32px;
    line-height: 1.6;
  }

  .region-mark {
    flex: 0 0 7px;
    margin-top: 6px;
  }

  .hero-scroll {
    right: 20px;
    bottom: 42px;
  }

  .visual-note {
    right: 20px;
    bottom: 17px;
    left: 20px;
    font-size: 8px;
  }

  .intro-section,
  .resources-layout,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro-section {
    padding-block: 76px;
  }

  .intro-heading h2,
  .section-heading h2,
  .resources-layout h2,
  .contact-section h2 {
    font-size: clamp(36px, 9vw, 48px);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
  }

  .section-intro {
    max-width: 520px;
    margin-bottom: 0;
  }

  .expertise-grid {
    gap: 30px 16px;
  }

  .card-copy h3 {
    font-size: 20px;
  }

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

  .program-card,
  .agir-copy {
    min-height: 330px;
  }

  .resources-layout {
    gap: 30px;
  }

  .resource-card {
    padding: 20px;
  }

  .contact-section {
    padding-block: 76px;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-bottom p {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .card-image {
    aspect-ratio: 1.7;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
