:root {
  --ink: #13201d;
  --muted: #5f6f6a;
  --paper: #f7faf5;
  --white: #ffffff;
  --line: #d9e4df;
  --green: #19784f;
  --green-dark: #0e4939;
  --blue: #1e6f91;
  --cyan: #dff2f4;
  --amber: #f2b84b;
  --coral: #df6a4d;
  --shadow: 0 18px 46px rgba(21, 43, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

img,
iframe {
  max-width: 100%;
  height: auto; /* Заставляет высоту автоматически уменьшаться пропорционально ширине */
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

p,
.class-card li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.04;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(217, 228, 223, 0.82);
  background: rgba(247, 250, 245, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 420px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  max-width: 520px;
  font-size: 14px;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.nav-dropdown-trigger {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: var(--green-dark);
  background: rgba(25, 120, 79, 0.09);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
  transition: transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after,
.nav-dropdown.is-open .nav-dropdown-trigger::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 12px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 50;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  color: var(--green-dark);
  font-size: 13px;
}

.mobile-social-nav {
  display: none;
}

.social-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-nav a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.social-nav a:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.social-nav svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(740px, calc(100vh - 70px));
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 26, 24, 0.83), rgba(8, 26, 24, 0.42) 56%, rgba(8, 26, 24, 0.08)),
    linear-gradient(0deg, rgba(8, 26, 24, 0.24), rgba(8, 26, 24, 0));
}

.hero-content {
  position: relative;
  width: min(1100px, 100%);
  padding: 0 clamp(20px, 6vw, 76px) clamp(54px, 10vh, 104px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bfeeda;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(36px, 5.3vw, 68px);
  line-height: 1.02;
  text-wrap: balance;
}

.hero-lead {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.4;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--amber);
  color: #241704;
  box-shadow: 0 16px 34px rgba(242, 184, 75, 0.22);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: var(--white);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.highlights article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.highlight-intent,
.highlight-class,
.highlight-event {
  border-top: 5px solid var(--coral);
}

.highlight-intent > *,
.highlight-class > *,
.highlight-event > * {
  position: relative;
  z-index: 1;
}

.highlight-intent::before,
.highlight-class::before,
.highlight-event::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.72;
}

.highlight-intent {
  background:
    linear-gradient(135deg, rgba(223, 106, 77, 0.13), rgba(255, 255, 255, 0) 62%),
    var(--white);
}

.highlight-intent::before {
  background:
    radial-gradient(circle, rgba(223, 106, 77, 0.17) 1.4px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(135deg, transparent 0 72%, rgba(223, 106, 77, 0.06) 72% 100%);
}

.highlight-class {
  border-top-color: var(--green);
  background:
    linear-gradient(135deg, rgba(25, 120, 79, 0.12), rgba(255, 255, 255, 0) 62%),
    var(--white);
}

.highlight-class::before {
  background:
    radial-gradient(circle, rgba(25, 120, 79, 0.16) 1.4px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(135deg, transparent 0 72%, rgba(25, 120, 79, 0.06) 72% 100%);
}

.highlight-event {
  border-top-color: var(--amber);
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.14), rgba(255, 255, 255, 0) 62%),
    var(--white);
}

.highlight-event::before {
  background:
    radial-gradient(circle, rgba(242, 184, 75, 0.18) 1.4px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(135deg, transparent 0 72%, rgba(242, 184, 75, 0.07) 72% 100%);
}

.tag-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(25, 120, 79, 0.1);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-badge-coral {
  background: rgba(223, 106, 77, 0.12);
  color: var(--coral);
}

.highlights h2 {
  font-size: clamp(22px, 2.4vw, 34px);
}

.highlights p,
.prose p,
.section-heading p,
.timeline p,
.person-card p,
.resource-grid p,
.video-grid p,
.partner-card p,
.faq-list p,
.school-copy p,
.feature-copy p,
.class-card li {
  color: var(--muted);
}

.highlights p {
  margin-top: 14px;
}

.highlights a,
.resource-grid a,
.partner-card a,
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.highlight-materials {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.highlight-materials summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 2px;
  color: var(--green-dark);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  transition: color 160ms ease;
}

.highlight-materials summary::-webkit-details-marker {
  display: none;
}

.highlight-materials summary:hover,
.highlight-materials summary:focus-visible {
  color: var(--green);
}

.highlight-materials-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.highlight-materials-label > span {
  text-decoration: underline;
  text-decoration-color: rgba(25, 120, 79, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.highlight-materials-label::after {
  content: "↓";
  display: inline-block;
  font-size: 17px;
  transition: transform 180ms ease;
}

.highlight-materials[open] .highlight-materials-label::after {
  transform: rotate(180deg);
}

.highlight-material-count {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(242, 184, 75, 0.2);
  color: var(--green-dark);
  font-size: 12px;
}

.highlight-material-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 14px;
  padding-top: 10px;
}

.highlights .highlight-material-links a {
  display: block;
  margin-top: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.highlights .highlight-material-links a::before {
  content: "↗";
  margin-right: 6px;
  color: var(--coral);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 122px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.prose {
  font-size: 18px;
}

.prose p + p,
.feature-copy p + p {
  margin-top: 16px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.mini-stats a {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  text-decoration: none;
  transform-origin: center;
  animation: projectStatPulse 7.5s ease-in-out infinite;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.mini-stats a:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 120, 79, 0.34);
  box-shadow: var(--shadow);
}

.mini-stats a:nth-child(2) {
  animation-delay: 0.9s;
}

.mini-stats a:nth-child(3) {
  animation-delay: 1.8s;
}

.mini-stats strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.mini-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-band {
  background:
    linear-gradient(90deg, rgba(21, 92, 78, 0.9), rgba(36, 112, 124, 0.78)),
    #edf4f1;
}

.project-band {
  background: var(--white);
}

.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: clamp(26px, 5vw, 70px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(60px, 8vw, 96px) 0;
  align-items: center;
  color: var(--white);
}

.feature-copy .eyebrow {
  color: #bfeeda;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.year-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(242, 184, 75, 0.55);
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.18);
  color: #ffe5a8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(242, 184, 75, 0.12);
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.feature-copy > p:not(.eyebrow):not(.class-name) {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.feature-copy .class-name {
  display: inline-flex;
  margin: 18px 0 4px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.18;
}

.career-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.career-route::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 14%;
  left: 14%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.career-route span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transform-origin: center top;
}

.career-route span::before {
  content: "";
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 12px 28px rgba(4, 22, 18, 0.22);
}

.career-route span:nth-child(2)::before {
  background: var(--coral);
}

.career-route span:nth-child(3)::before {
  background: var(--green);
}

.class-side {
  display: grid;
  gap: 16px;
  align-self: center;
}

.class-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 38px rgba(4, 22, 18, 0.14);
  backdrop-filter: blur(10px);
}

.class-card span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.class-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.class-card li {
  color: #435c57;
}

.class-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 42px;
  width: max-content;
  padding: 10px 15px;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.class-link:hover {
  background: var(--green);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin-top: 14px;
  font-size: 18px;
}

.latest-news-section {
  background: #eef6f0;
  box-shadow: 0 0 0 100vmax #eef6f0;
  clip-path: inset(0 -100vmax);
  padding-bottom: clamp(72px, 9vw, 110px);
}

.latest-news-section .section-heading {
  margin-bottom: 34px;
}

.latest-news-layout {
  display: flex;
  align-items: stretch;
  gap: 16px;
  height: var(--latest-news-height, 500px);
}

.news-card {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  min-height: var(--latest-news-height, 500px);
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: newsCardFocusCycle 9s ease-in-out infinite;
  transition: flex-grow 420ms ease, transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.news-card:nth-child(2) {
  animation-delay: 3s;
}

.news-card:nth-child(3) {
  animation-delay: 6s;
}

.latest-news-layout:hover .news-card,
.latest-news-layout:focus-within .news-card {
  animation: none;
  flex-grow: 0.86;
}

.latest-news-layout .news-card:hover,
.latest-news-layout .news-card:focus-within {
  flex-grow: 1.38;
  transform: translateY(-3px);
  border-color: rgba(25, 120, 79, 0.26);
  box-shadow: 0 22px 48px rgba(21, 43, 37, 0.14);
}

.news-thumb,
.news-list-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(25, 120, 79, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(25, 120, 79, 0.1), rgba(30, 111, 145, 0.08)),
    #eef6f0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-thumb {
  aspect-ratio: var(--latest-news-thumb-aspect, 16 / 9);
  margin-bottom: 18px;
}

.news-thumb img,
.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-date {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  margin-top: 14px;
  font-size: clamp(22px, 2.4vw, 34px);
}

.news-card p {
  overflow: hidden;
  max-height: 0;
  margin-top: 0;
  color: var(--muted);
  opacity: 0;
  animation: newsDescriptionCycle 9s ease-in-out infinite;
  transition: max-height 360ms ease, opacity 320ms ease, margin-top 320ms ease;
}

.news-card:nth-child(2) p {
  animation-delay: 3s;
}

.news-card:nth-child(3) p {
  animation-delay: 6s;
}

.latest-news-layout:hover .news-card p,
.latest-news-layout:focus-within .news-card p {
  animation: none;
}

.news-card:hover p,
.news-card:focus-within p {
  max-height: 150px;
  margin-top: 14px;
  opacity: 1;
}

.news-card a,
.news-list-item a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.news-card a {
  margin-top: auto;
  padding-top: 20px;
}

.news-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
  min-height: 46px;
}

.button.text-button {
  border: 1px solid rgba(25, 120, 79, 0.22);
  background: var(--white);
  color: var(--green-dark);
  box-shadow: 0 12px 28px rgba(21, 43, 37, 0.08);
}

.button.text-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.news-load-more {
  cursor: pointer;
  font: inherit;
}

.news-status {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.news-page-hero {
  background: #eef6f0;
}

.news-page-hero .section {
  padding-top: clamp(68px, 9vw, 112px);
  padding-bottom: clamp(68px, 9vw, 112px);
}

.news-page-hero h1 {
  color: var(--ink);
  font-size: clamp(42px, 6.4vw, 82px);
}

.all-news-section {
  padding-top: clamp(56px, 7vw, 90px);
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-list-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.7fr);
  gap: clamp(24px, 4vw, 46px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(21, 43, 37, 0.08);
  align-items: stretch;
}

.news-list-thumb {
  position: relative;
  width: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 10;
}

.news-list-thumb time {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(21, 43, 37, 0.12);
  backdrop-filter: blur(8px);
}

.news-list-content {
  align-self: center;
}

.news-list-item h2 {
  font-size: clamp(24px, 3vw, 40px);
}

.news-list-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 18px;
}

.post-hero {
  background:
    linear-gradient(135deg, rgba(25, 120, 79, 0.08), rgba(30, 111, 145, 0.06)),
    #eef6f0;
  border-bottom: 1px solid var(--line);
}

.post-hero-inner {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0 clamp(52px, 7vw, 82px);
}

.post-back {
  margin-top: 0;
  margin-bottom: 28px;
}

.post-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.post-date,
.post-category,
.post-author {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.post-date {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(14, 73, 57, 0.16);
}

.post-category {
  border: 1px solid rgba(25, 120, 79, 0.18);
  background: rgba(255, 255, 255, 0.68);
  color: var(--green-dark);
}

.post-author {
  border: 1px solid rgba(30, 111, 145, 0.18);
  background: rgba(255, 255, 255, 0.68);
  color: var(--blue);
}

.post-author[hidden] {
  display: none;
}

.post-hero h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
}

.post-page {
  max-width: 980px;
  padding-top: clamp(44px, 7vw, 76px);
}

.post-figure {
  margin: 0;
}

.post-image {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.post-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
}

.post-image span {
  min-height: 340px;
  display: grid;
  place-items: center;
}

.post-content {
  margin-top: clamp(28px, 5vw, 46px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(21, 43, 37, 0.08);
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px);
}

.post-content > * + * {
  margin-top: 18px;
}

.post-content p {
  margin-bottom: 0;
}

.post-content a {
  color: var(--green);
  font-weight: 900;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(28px, 5vw, 46px);
}

.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.person-card {
  display: block;
  flex: 1 1 430px;
  max-width: 582px;
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.person-card img {
  float: right;
  width: 86px;
  height: 86px;
  margin: 0 0 10px 18px;
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
}

.person-card span,
.resource-grid span,
.timeline-item span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.person-card h3,
.resource-grid h3,
.partner-card h3,
.timeline-item h3 {
  margin-top: 10px;
}

.person-card span,
.person-card h3 {
  padding-right: 104px;
}

.person-card p,
.resource-grid p {
  margin-top: 10px;
}

.material-band {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: #eef6f0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tab {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(25, 120, 79, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--green-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab.is-active {
  background: var(--green-dark);
  color: var(--white);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: panelIn 220ms ease both;
}

.downloads,
.resource-grid,
.video-grid,
.faq-list,
.partner-grid {
  display: grid;
  gap: 16px;
}

.downloads {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.downloads.two-col {
  grid-template-columns: repeat(2, 1fr);
  padding: 16px;
}

.downloads a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 17px 18px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.downloads a:hover {
  background: #f2f8f4;
}

.downloads span {
  color: var(--green);
  white-space: nowrap;
}

.source-list {
  padding: 10px;
}

.resource-grid {
  grid-template-columns: repeat(3, 1fr);
}

.resource-grid article,
.video-grid article,
.timeline-item,
.partner-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.resource-grid article {
  padding: 24px;
}

.podcast-summary {
  margin-top: 16px;
}

.podcast-summary summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(25, 120, 79, 0.18);
  border-radius: 8px;
  background: rgba(25, 120, 79, 0.06);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.podcast-summary summary::-webkit-details-marker {
  display: none;
}

.podcast-summary summary::after {
  content: "+";
  margin-left: 8px;
  font-weight: 900;
}

.podcast-summary[open] summary::after {
  content: "−";
}

.podcast-summary[open] {
  padding-bottom: 4px;
}

.podcast-summary p {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #f2f8f4;
  font-size: 14px;
}

.podcast-summary[open] summary::after {
  content: "-";
}

.podcast-summary.is-revealing p {
  transform-origin: top;
  animation: podcastSummaryReveal 260ms ease both;
}

.podcast-summary.is-revealing p:nth-of-type(2) {
  animation-delay: 50ms;
}

.podcast-summary.is-revealing p:nth-of-type(3) {
  animation-delay: 90ms;
}

@keyframes podcastSummaryReveal {
  from {
    opacity: 0;
    transform: translateY(-6px) scaleY(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

.video-grid {
  grid-template-columns: repeat(3, 1fr);
}

.video-grid article {
  overflow: hidden;
}

.video-grid iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--green-dark);
}

.video-grid h3 {
  padding: 16px 16px 4px;
}

.video-grid p {
  padding: 0 16px 16px;
}

.faq-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.faq-toolbar label {
  color: var(--green-dark);
  font-weight: 900;
}

.faq-toolbar input {
  width: min(480px, 100%);
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
}

.faq-list {
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}

.faq-list details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86px;
  padding: 18px 20px;
}

.faq-list details[open] {
  justify-content: flex-start;
}

.faq-list details[hidden] {
  display: none;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
}

.faq-list p {
  margin-top: 12px;
  animation: faqAnswerIn 180ms ease both;
}

.chain-timeline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  grid-auto-rows: 190px;
  gap: 0;
  padding: 20px 0 10px;
}

.chain-timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 50%;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--blue) 58%, var(--amber));
  transform: translateX(-50%);
}

.chain-timeline.is-collapsed {
  grid-auto-rows: 190px;
}

.chain-timeline.is-collapsed::before {
  bottom: calc(100% - 354px);
}

.chain-timeline.is-collapsed .chain-link:nth-child(n + 3) .chain-dot,
.chain-timeline.is-collapsed .chain-link:nth-child(n + 3) .chain-card {
  display: none;
}

.chain-link {
  display: contents;
}

.chain-link:nth-child(1) .chain-dot,
.chain-link:nth-child(1) .chain-card {
  grid-row: 1;
}

.chain-link:nth-child(2) .chain-dot,
.chain-link:nth-child(2) .chain-card {
  grid-row: 2;
}

.chain-link:nth-child(3) .chain-dot,
.chain-link:nth-child(3) .chain-card {
  grid-row: 3;
}

.chain-link:nth-child(4) .chain-dot,
.chain-link:nth-child(4) .chain-card {
  grid-row: 4;
}

.chain-link:nth-child(5) .chain-dot,
.chain-link:nth-child(5) .chain-card {
  grid-row: 5;
}

.chain-link:nth-child(6) .chain-dot,
.chain-link:nth-child(6) .chain-card {
  grid-row: 6;
}

.chain-link:nth-child(7) .chain-dot,
.chain-link:nth-child(7) .chain-card {
  grid-row: 7;
}

.chain-link:nth-child(8) .chain-dot,
.chain-link:nth-child(8) .chain-card {
  grid-row: 8;
}

.chain-link:nth-child(9) .chain-dot,
.chain-link:nth-child(9) .chain-card {
  grid-row: 9;
}

.chain-link:nth-child(odd) .chain-card {
  grid-column: 1;
  justify-self: end;
  align-self: center;
  margin-right: 22px;
}

.chain-link:nth-child(even) .chain-card {
  grid-column: 3;
  align-self: center;
  margin-left: 22px;
}

.chain-link:nth-child(even) .chain-dot {
  grid-column: 2;
}

.chain-card {
  position: relative;
  width: min(100%, 430px);
  min-height: 142px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chain-card-icon {
  padding-right: 112px;
}

.chain-card-art {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 68px;
  height: 68px;
  object-fit: contain;
  opacity: 0.18;
  pointer-events: none;
}

.chain-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 2px;
  background: var(--line);
  transform: translateY(-50%);
}

.chain-link:nth-child(odd) .chain-card::before {
  right: -23px;
}

.chain-link:nth-child(even) .chain-card::before {
  left: -23px;
}

.chain-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.chain-card h3 {
  margin-top: 10px;
}

.chain-card p {
  margin-top: 10px;
  color: var(--muted);
}

.chain-dot {
  position: relative;
  z-index: 1;
  grid-column: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  align-self: center;
  justify-self: center;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 0 5px rgba(25, 120, 79, 0.16), var(--shadow);
}

.chain-link:nth-child(3n) .chain-dot {
  background: var(--blue);
}

.chain-link:nth-child(3n + 2) .chain-dot {
  background: var(--coral);
}

.timeline-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.timeline-toggle {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(25, 120, 79, 0.24);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(21, 43, 37, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.timeline-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 120, 79, 0.42);
  box-shadow: var(--shadow);
}

.school-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 76px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 112px) 0;
  align-items: center;
  color: var(--ink);
}

.school-band {
  background: #eef6f0;
}

.school-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.school-photo {
  position: relative;
}

.school-copy p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}

.school-copy .eyebrow {
  color: var(--green);
}

.school-copy .text-link {
  color: var(--green);
}

.school-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.school-facts span {
  padding: 8px 11px;
  border: 1px solid rgba(25, 120, 79, 0.16);
  border-radius: 999px;
  background: rgba(25, 120, 79, 0.08);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.partners-section {
  padding-top: clamp(72px, 10vw, 112px);
}

.partner-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.partner-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 120, 79, 0.28);
  box-shadow: 0 20px 46px rgba(21, 43, 37, 0.14);
}

.partner-logo {
  display: grid;
  place-items: center;
  height: 150px;
  margin-bottom: 22px;
  border: 1px solid rgba(25, 120, 79, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.partner-card img {
  width: min(86%, 440px);
  height: 112px;
  object-fit: contain;
}

.partner-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-card p {
  margin-top: 10px;
}

.site-footer-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.footer-overlay {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.footer-overlay-content {
  width: 100%;
  padding: 0 clamp(18px, 4vw, 58px);
}

/* Footer Card (transparent) */
.footer-glass-card {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  pointer-events: auto;
}

/* 2×3 Navigation Grid */
.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  align-content: center;
}

.footer-nav-grid a {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
  display: inline-block;
  white-space: nowrap;
  padding: 2px 0;
}

.footer-nav-grid a:hover {
  color: var(--green);
  transform: translateX(3px);
}

/* Vertical Divider */
.footer-glass-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(14, 73, 57, 0.2), transparent);
  margin: 0 16px;
  align-self: stretch;
}

/* Vertical Social Icons Column */
.footer-socials-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.footer-socials-col a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(14, 73, 57, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--green-dark);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.footer-socials-col a:hover {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
  transform: translateY(-2px);
}

.footer-socials-col svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.svg-footer-container {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: transparent;
}

.svg-footer-container svg,
.svg-footer-container img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer-base {
  background-color: #0e4939; /* Matches the brand --green-dark and bottom of the front hill */
  color: #cee8df;
  padding: 20px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  font-size: 13px;
  color: #8fbfa7;
}

.footer-copyright-section p {
  color: #8fbfa7;
}

/* Inline SVG Animations */
.spin-clockwise-fast-in {
  animation: spin-cw-in 7s linear infinite;
  transform-origin: 0px 0px;
}

.spin-clockwise-slow-in {
  animation: spin-cw-in 11s linear infinite;
  transform-origin: 0px 0px;
}

@keyframes spin-cw-in {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.star-in {
  animation: twinkle-in 3s ease-in-out infinite;
}

.st1 { animation-delay: 0s; }
.st2 { animation-delay: 0.8s; }
.st3 { animation-delay: 1.5s; }
.st4 { animation-delay: 2.2s; }
.st5 { animation-delay: 0.4s; }
.st6 { animation-delay: 1.8s; }
.st7 { animation-delay: 2.7s; }

@keyframes twinkle-in {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.firefly-in {
  animation: pulse-glow-in 5s ease-in-out infinite;
}

.ff1 { animation-delay: 0s; }
.ff2 { animation-delay: 1.2s; }
.ff3 { animation-delay: 2.5s; }
.ff4 { animation-delay: 3.8s; }
.ff5 { animation-delay: 0.7s; }

@keyframes pulse-glow-in {
  0%, 100% { opacity: 0.2; transform: translateY(0px) scale(0.9); }
  50% { opacity: 0.9; transform: translateY(-6px) scale(1.1); }
}

.wind-line-in {
  stroke: #19784f; /* Matches the brand --green */
  stroke-width: 0.8;
  fill: none;
  stroke-dasharray: 120 300;
  animation: wind-flow-in 9s linear infinite;
  pointer-events: none;
}

.w1 { animation-delay: 0s; }
.w2 { animation-delay: 4.5s; }

@keyframes wind-flow-in {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  15% {
    opacity: 0.2;
  }
  85% {
    opacity: 0.2;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-stats a:nth-child(3) {
    grid-column: 1 / -1;
  }

  .footer-overlay {
    position: static;
    padding-top: 20px;
    padding-bottom: 16px;
    background: var(--paper);
  }

  .footer-glass-card {
    flex-direction: row;
    width: auto;
    display: inline-flex;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
  }

  .footer-nav-grid a {
    font-size: 12px;
  }

  .footer-copyright-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .mini-stats {
    grid-template-columns: 1fr;
  }

  .mini-stats a:nth-child(3) {
    grid-column: auto;
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translateX(-0.5%);
  }

  to {
    transform: scale(1.07) translateX(0.8%);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faqAnswerIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes newsCardFocusCycle {
  0%,
  31% {
    flex-grow: 1.38;
    transform: translateY(-3px);
    border-color: rgba(25, 120, 79, 0.26);
    box-shadow: 0 22px 48px rgba(21, 43, 37, 0.14);
  }

  42%,
  100% {
    flex-grow: 1;
    transform: translateY(0);
    border-color: var(--line);
    box-shadow: var(--shadow);
  }
}

@keyframes newsDescriptionCycle {
  0%,
  31% {
    max-height: 150px;
    margin-top: 14px;
    opacity: 1;
  }

  42%,
  100% {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
  }
}

@keyframes projectStatPulse {
  0%,
  22%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(21, 43, 37, 0));
  }

  11% {
    transform: scale(1.045);
    filter: drop-shadow(0 12px 18px rgba(21, 43, 37, 0.12));
  }
}

@keyframes routeStepPulse {
  0%,
  22%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(242, 184, 75, 0));
  }

  11% {
    transform: scale(1.055);
    filter: drop-shadow(0 0 12px rgba(242, 184, 75, 0.28));
  }
}

@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;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-block;
  }

  .hero {
    min-height: calc(100svh - 69px);
  }

  .hero-content {
    padding-bottom: clamp(96px, 16svh, 148px);
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(34px, 7vw, 54px);
  }

  .hero-lead {
    max-width: 650px;
    font-size: clamp(16px, 2.8vw, 20px);
  }

  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 calc(100% - 116px);
  }

  .social-nav {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 69px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown-trigger::after,
  .nav-dropdown:focus-within .nav-dropdown-trigger::after {
    transform: translateY(-2px) rotate(45deg);
  }

  .nav-dropdown.is-open .nav-dropdown-trigger::after {
    transform: translateY(2px) rotate(225deg);
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    gap: 6px;
    margin: 6px 0 4px;
    padding: 8px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    padding: 11px 14px 11px 22px;
    background: rgba(25, 120, 79, 0.05);
  }

  .mobile-social-nav {
    display: flex;
    gap: 8px;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
  }

  .mobile-social-nav a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--green-dark);
  }

  .mobile-social-nav svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
  }

  .highlights,
  .split,
  .feature-inner,
  .people-grid,
  .resource-grid,
  .video-grid,
  .school-section,
  .partner-grid,
  .faq-list,
  .downloads.two-col {
    grid-template-columns: 1fr;
  }

  .latest-news-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .news-card,
  .news-card p {
    animation: none;
  }

  .news-card {
    flex: 0 0 auto;
    min-height: 0;
    transform: none;
  }

  .news-thumb {
    aspect-ratio: auto;
    min-height: 0;
    margin-bottom: 16px;
    background: var(--white);
  }

  .news-thumb img {
    display: block;
    height: auto;
    object-fit: contain;
    background: transparent;
  }

  .news-card p {
    overflow: visible;
    max-height: none;
    margin-top: 12px;
    opacity: 1;
  }

  .news-card a {
    margin-top: 18px;
    padding-top: 0;
  }

  .news-actions {
    margin-top: 28px;
  }

  .latest-news-layout:hover .news-card,
  .latest-news-layout:focus-within .news-card,
  .latest-news-layout .news-card:hover,
  .latest-news-layout .news-card:focus-within {
    flex-grow: 1;
    transform: none;
  }

  .news-card:hover p,
  .news-card:focus-within p {
    max-height: none;
  }

  .chain-timeline {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 26px;
    padding-left: 0;
  }

  .chain-timeline.is-collapsed {
    grid-auto-rows: auto;
  }

  .chain-timeline::before {
    left: 36px;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
  }

  .chain-timeline.is-collapsed::before {
    bottom: 0;
  }

  .chain-timeline.is-collapsed .chain-link:nth-child(n + 3) {
    display: none;
  }

  .chain-link {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
  }

  .chain-timeline .chain-link:nth-child(n) .chain-dot,
  .chain-timeline .chain-link:nth-child(n) .chain-card {
    grid-row: auto !important;
  }

  .chain-link:nth-child(odd) .chain-card,
  .chain-link:nth-child(even) .chain-card {
    grid-column: 2;
    align-self: center;
    justify-self: stretch;
    margin-right: 0;
    margin-left: 0;
  }

  .chain-link:nth-child(even) .chain-dot,
  .chain-dot {
    grid-column: 1;
  }

  .chain-link:nth-child(odd) .chain-card::before,
  .chain-link:nth-child(even) .chain-card::before {
    right: auto;
    left: -15px;
    width: 14px;
  }

  .chain-card-icon {
    padding-right: 20px;
  }

  .chain-card-icon > span,
  .chain-card-icon > h3 {
    padding-right: 86px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .chain-card-icon > p {
    padding-right: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .chain-card-art {
    top: 20px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .class-card {
    width: 100%;
  }

  .class-link {
    grid-column: auto;
    margin-top: 0;
  }

  .news-list-item {
    grid-template-columns: 1fr;
  }

  .news-list-thumb {
    width: 100%;
    max-width: none;
    min-height: 180px;
  }

  .post-hero-inner {
    width: min(100% - 32px, 980px);
  }

  .post-page {
    width: min(100% - 32px, 980px);
  }

  .post-image {
    padding: 8px;
  }

  .post-actions {
    justify-content: stretch;
  }

  .post-actions .button {
    width: 100%;
  }
}

