:root {
  --green-950: #102c25;
  --green-900: #183d31;
  --green-800: #1d5c49;
  --green-700: #2f7d61;
  --green-100: #dfeee6;
  --teal-700: #0f6b78;
  --teal-100: #d9eef0;
  --clay-700: #7a5738;
  --clay-500: #a67f59;
  --sand-100: #f4efe6;
  --sand-50: #fbfaf6;
  --white: #ffffff;
  --gray-950: #17201d;
  --gray-800: #2c3431;
  --gray-650: #53605b;
  --gray-200: #d9dfda;
  --focus: #0f8aa0;
  --shadow: 0 16px 36px rgba(20, 54, 45, 0.13);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  color: var(--gray-950);
  background: var(--sand-50);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.nowrap {
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  z-index: 1000;
  background: var(--white);
  color: var(--green-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid rgba(24, 61, 49, 0.12);
  backdrop-filter: blur(14px);
}

.navbar {
  width: min(1240px, calc(100% - 2rem));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-900);
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.05rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.38rem 0.48rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 800;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  background: var(--green-100);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-900);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(94svh - var(--header-height));
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 75% 25%, rgba(217, 238, 240, 0.34), transparent 34rem),
    linear-gradient(135deg, var(--green-950), var(--green-800));
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 74px;
  background: linear-gradient(to bottom, rgba(251, 250, 246, 0), var(--sand-50));
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 44, 37, 0.88) 0%, rgba(24, 61, 49, 0.68) 42%, rgba(24, 61, 49, 0.18) 78%, rgba(24, 61, 49, 0.03) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.04));
  z-index: -1;
}

.hero-content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0 7.5rem;
  color: var(--white);
}

.hero-content > * {
  max-width: 690px;
}

h1,
h2,
h3 {
  font-family: Inter, Arial, sans-serif;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--green-900);
}

.hero h1 {
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: clamp(2.7rem, 7vw, 5.3rem);
  font-weight: 800;
}

.hero-subtitle {
  margin: 0 0 1.25rem;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.22rem, 3vw, 2.05rem);
  line-height: 1.25;
  font-weight: 700;
}

.hero-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.institution-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(24, 61, 49, 0.12);
}

.institution-strip-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  padding: 0.75rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0.75rem 1.05rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.button-primary {
  background: var(--green-700);
  color: var(--white);
}

.button-primary:hover {
  background: var(--green-800);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-900);
}

.button-large {
  margin-top: 1.25rem;
  max-width: 430px;
}

.section {
  padding: 5rem 0;
  background: var(--sand-50);
}

.section-light {
  background: var(--sand-100);
}

.section-accent {
  background: var(--green-950);
  color: var(--white);
}

.section-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 2rem;
}

.section-kicker {
  margin: 0 0 0.65rem;
  color: var(--clay-700);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-accent .section-kicker,
.section-accent h2,
.contact-section .section-kicker,
.contact-section h2 {
  color: var(--white);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

.feature-grid,
.instruction-grid,
.team-grid,
.objectives-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-card,
.instruction-card,
.team-card,
.callout-card,
.timeline-card,
.contact-card,
.objective-card {
  background: var(--white);
  border: 1px solid rgba(24, 61, 49, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.feature-icon,
.instruction-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
}

.feature-icon svg,
.instruction-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.callout-card {
  border-left: 5px solid var(--teal-700);
}

.participation-highlight {
  background: var(--green-800);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  border-left-color: var(--green-100);
}

.participation-highlight h3 {
  color: var(--white);
}

.participation-highlight p {
  color: rgba(255, 255, 255, 0.92);
}

.highlight-label {
  display: inline-flex;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-media {
  margin: 0;
  align-self: center;
  display: flex;
  justify-content: center;
}

.project-media img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-media-placeholder {
  display: grid;
  place-content: center;
  gap: 1rem;
  width: min(100%, 520px);
  min-height: 360px;
  padding: 2rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 25% 20%, rgba(217, 238, 240, 0.9), transparent 16rem),
    linear-gradient(135deg, var(--green-900), var(--teal-700));
  box-shadow: var(--shadow);
  color: var(--white);
  text-align: center;
}

.project-media-placeholder span {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
}

.project-media-placeholder strong {
  max-width: 24rem;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.05rem;
}

.vocabulary-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.vocabulary-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid rgba(24, 61, 49, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 0.93rem;
}

.vocabulary-table th,
.vocabulary-table td {
  padding: 0.7rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
}

.vocabulary-table th {
  background: var(--green-900);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
}

.vocabulary-table td:first-child {
  width: 64px;
  color: var(--green-800);
  font-weight: 800;
}

.vocabulary-table tr:nth-child(even) td {
  background: #f7fbf8;
}

.vocabulary-table tr:last-child td {
  border-bottom: 0;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.steps-list li::before {
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--green-900);
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
}

.steps-list a {
  color: var(--white);
  font-weight: 800;
}

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

.instruction-card ul,
.timeline-card ol {
  margin: 0;
  padding-left: 1.2rem;
}

.instruction-card li,
.timeline-card li {
  margin: 0.55rem 0;
}

.objectives-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.objective-card {
  border-top: 5px solid var(--green-700);
}

.values-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: 2rem;
  border: 1px solid rgba(24, 61, 49, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--white), var(--teal-100));
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.values-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(15, 107, 120, 0.25);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-900);
  font-weight: 800;
}

.timeline-card {
  border-top: 5px solid var(--teal-700);
}

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

.team-grid > .team-card {
  grid-column: span 2;
}

.team-grid > .team-card:nth-child(1) {
  grid-column: 2 / span 2;
  grid-row: 1;
}

.team-grid > .team-card:nth-child(2) {
  grid-column: 4 / span 2;
  grid-row: 1;
}

.team-grid > .team-card:nth-child(3) {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.team-grid > .team-card:nth-child(4) {
  grid-column: 3 / span 2;
  grid-row: 2;
}

.team-grid > .team-card:nth-child(5) {
  grid-column: 5 / span 2;
  grid-row: 2;
}

.team-grid > .team-card:nth-child(6) {
  grid-column: 2 / span 2;
  grid-row: 3;
}

.team-grid > .team-card:nth-child(7) {
  grid-column: 4 / span 2;
  grid-row: 3;
}

.team-card-compact {
  padding: 1rem;
}

.team-card-compact h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.team-card-compact .team-role {
  margin-bottom: 0;
  line-height: 1.45;
}

.team-role {
  color: var(--clay-700);
  font-weight: 800;
}

.contact-section {
  background: var(--green-800);
  color: var(--white);
}

.contact-card {
  color: var(--gray-950);
  font-style: normal;
}

.institution-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 0.9rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 61, 49, 0.12);
}

.institution-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.institution-logo-image {
  width: clamp(96px, 12vw, 146px);
  height: 58px;
  object-fit: contain;
}

.institution-logo-wide {
  width: clamp(124px, 16vw, 200px);
  height: 56px;
}

.contact-card .institution-logo-image {
  width: min(100%, 132px);
  height: 50px;
}

.contact-card .institution-logo-wide {
  width: min(100%, 148px);
  height: 50px;
}

.institution-logo-text {
  min-width: clamp(104px, 14vw, 168px);
  min-height: 68px;
  padding: 0.55rem 1rem;
  border: 2px solid rgba(24, 61, 49, 0.2);
  border-radius: var(--radius);
  background: var(--sand-50);
  color: var(--green-900);
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1;
}

.site-footer {
  padding: 2rem 1rem;
  background: var(--green-950);
  color: var(--white);
  text-align: center;
}

.site-footer p {
  margin: 0.25rem 0;
}

@media (max-width: 1140px) {
  .objectives-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: var(--sand-50);
    border-bottom: 1px solid rgba(24, 61, 49, 0.12);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    min-height: 44px;
    font-size: 0.95rem;
  }

  .two-columns,
  .instruction-grid,
  .values-panel {
    grid-template-columns: 1fr;
  }

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

  .team-grid > .team-card,
  .team-grid > .team-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

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

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
  }

  .navbar,
  .section-inner,
  .hero-content {
    width: min(100% - 1rem, 1180px);
  }

  .hero {
    min-height: calc(92svh - var(--header-height));
    background-size: cover;
    background-position: 66% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(16, 44, 37, 0.96) 0%, rgba(24, 61, 49, 0.84) 100%);
  }

  .hero-content {
    padding: 4.5rem 0 5.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .institution-strip-inner {
    min-height: auto;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .institution-logo-image {
    width: 116px;
    height: 50px;
  }

  .institution-logo-wide {
    width: min(100%, 172px);
    height: 50px;
  }

  .institution-logos {
    gap: 0.55rem;
  }

  .contact-card .institution-logo-image {
    width: min(100%, 96px);
    height: 44px;
  }

  .contact-card .institution-logo-wide {
    width: min(100%, 108px);
    height: 44px;
  }

  .institution-logo-text {
    width: min(100%, 240px);
  }

  .feature-grid,
  .objectives-grid,
  .team-grid,
  .vocabulary-columns {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .values-panel {
    padding: 1.25rem;
  }

  .vocabulary-table {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
