/* ==========================================================================
   UCCCU page components
   ========================================================================== */

/* ---------- Decorative topography ---------- */
.topo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/topo.svg");
  background-size: 1400px auto;
  background-position: center;
  opacity: 0.36;
  pointer-events: none;
}

.topo--light {
  opacity: 0.22;
  filter: grayscale(1) brightness(2.6);
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: 0.055;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest-800);
  color: var(--white);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(44px, 6vw, 94px);
  min-height: calc(100svh - 123px);
  padding-block: clamp(54px, 7vw, 96px) clamp(64px, 8vw, 104px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 24px 0 28px;
  color: var(--white);
}

.hero h1 em {
  color: var(--mint-200);
}

.hero__lede {
  max-width: 49ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: clamp(38px, 5vw, 58px);
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-300);
}

.hero__media {
  position: relative;
  z-index: 2;
  padding: 10px 14px 18px 0;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0 0 34px 34px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 280px 280px 22px 22px;
  pointer-events: none;
}

.hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.75;
  border-radius: 280px 280px 20px 20px;
  background: var(--forest-700);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.03);
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 21, 15, 0) 50%, rgba(4, 21, 15, 0.52) 100%);
}

.hero__caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  max-width: 22ch;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: right;
  color: rgba(255, 255, 255, 0.66);
}

.hero__stat {
  position: absolute;
  left: -34px;
  bottom: 4px;
  z-index: 3;
  width: min(264px, 82%);
  padding: 20px 22px 21px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 46px rgba(4, 21, 15, 0.26);
}

.hero__stat-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-500);
}

.hero__stat-value {
  display: block;
  margin: 7px 0 5px;
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 0.95;
  color: var(--forest-900);
}

.hero__stat-copy {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.hero__badge {
  position: absolute;
  top: -22px;
  right: -18px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: clamp(94px, 9vw, 122px);
  height: clamp(94px, 9vw, 122px);
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--forest-800);
  box-shadow: 0 12px 30px rgba(4, 21, 15, 0.2);
}

.hero__badge svg.ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: rotate 30s linear infinite;
}

.hero__badge text {
  fill: currentColor;
  font-family: var(--font-sans);
  font-size: 8.2px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__badge svg.drop {
  width: 24px;
  height: 24px;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 17px 0;
  background: var(--mint-100);
  border-bottom: 1px solid rgba(11, 15, 12, 0.07);
  color: var(--forest-800);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  flex: none;
  align-items: center;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding: 0 28px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-500);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Intro ---------- */
.intro__label {
  grid-column: 1 / 3;
  padding-top: 10px;
}

.intro__statement {
  grid-column: 3 / 9;
}

.intro__statement h2 {
  max-width: 16ch;
}

.intro__body {
  grid-column: 9 / 13;
  align-self: end;
  padding-bottom: 4px;
}

.intro__body .text-link {
  margin-top: 26px;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.mini-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--forest-800);
}

.mini-stat span {
  display: block;
  margin-top: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ---------- Full-bleed quote band ---------- */
.band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 68vh, 680px);
  overflow: hidden;
  background-color: var(--forest-900);
  background-image: url("../assets/images/training.jpg");
  background-size: cover;
  background-position: center 42%;
  background-attachment: fixed;
  color: var(--white);
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(4, 21, 15, 0.9) 0%,
    rgba(4, 21, 15, 0.68) 48%,
    rgba(4, 21, 15, 0.34) 100%
  );
}

.band .topo {
  z-index: 1;
  opacity: 0.2;
}

.band__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(70px, 9vw, 120px);
}

.band__inner h2 {
  max-width: 16ch;
  font-size: clamp(2.8rem, 5.9vw, 6rem);
  line-height: 0.96;
}

.band__inner h2 em {
  color: var(--mint-200);
}

.band__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.band__foot p {
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- Work cards ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 34px);
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.4s var(--ease);
}

.work-card:nth-child(even) {
  margin-top: 46px;
}

.work-card:hover {
  border-color: rgba(30, 122, 85, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.work-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--mint-100);
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.work-card:hover .work-card__media img {
  transform: scale(1.055);
}

.work-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--forest-800);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.work-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 27px;
}

.work-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.work-card__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--green-500);
}

.work-card__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest-800);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease,
    transform 0.35s var(--ease);
}

.work-card__arrow svg {
  width: 14px;
  height: 14px;
}

.work-card:hover .work-card__arrow {
  background: var(--forest-800);
  border-color: var(--forest-800);
  color: var(--white);
  transform: rotate(45deg);
}

.work-card h3 {
  margin: 10px 0 9px;
  max-width: 18ch;
}

.work-card p {
  max-width: 40ch;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- Impact ---------- */
.impact {
  position: relative;
  overflow: hidden;
  background: var(--forest-800);
  color: var(--white);
}

.impact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.impact__intro h2 {
  max-width: 12ch;
  margin: 20px 0 24px;
}

.impact__intro .lede {
  color: rgba(255, 255, 255, 0.65);
}

.impact__note {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.impact__note strong {
  display: block;
  margin-bottom: 7px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-300);
}

.impact__note p {
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.56);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat {
  padding: 27px 26px 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.stat:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 4.4vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
}

.stat__suffix {
  color: var(--green-300);
}

.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--mint-200);
}

.stat__note {
  display: block;
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Value chain ---------- */
.chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 62px);
  border-top: 1px solid var(--line-strong);
}

.chain__step {
  position: relative;
  padding: 28px 22px 6px 0;
}

.chain__step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px var(--paper);
}

.chain__step--future::before {
  background: var(--paper);
  border: 1px solid var(--green-500);
}

.chain__num {
  display: block;
  margin-bottom: 20px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-500);
}

.chain__step h3 {
  min-height: 2.2em;
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
}

.chain__step p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

.chain__badge {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(30, 122, 85, 0.35);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 46%;
  height: 58%;
  border: 1px solid rgba(30, 122, 85, 0.4);
  border-radius: 14px 14px 0 0;
  pointer-events: none;
}

.split__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(0.92);
}

.split__caption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted-light);
}

.split__caption::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green-500);
}

.split__copy h2 {
  max-width: 14ch;
  margin: 20px 0 24px;
}

.split__copy .prose {
  max-width: 46ch;
}

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

.timeline__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--forest-800);
}

.timeline__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.split__copy .text-link {
  margin-top: 26px;
}

/* ---------- Partner logo row ---------- */
.logo-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.logo-row__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 122px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  transition: background 0.3s ease;
}

.logo-row__item:last-child {
  border-right: 0;
}

.logo-row__item:hover {
  background: var(--paper);
}

.logo-row__item img {
  width: 100%;
  max-width: 132px;
  max-height: 44px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.52;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-row__item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.logo-row__note {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-light);
}

/* ---------- Quote ---------- */
.quote {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.quote__mark {
  display: block;
  height: 56px;
  font-family: var(--font-display);
  font-size: 6.5rem;
  line-height: 1;
  color: var(--green-300);
}

.quote blockquote {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.7vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.quote blockquote em {
  color: var(--green-500);
}

.quote cite {
  display: block;
  margin-top: 30px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--forest-800);
  color: var(--white);
}

.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: end;
  padding-block: clamp(72px, 9vw, 124px);
}

.cta h2 {
  max-width: 14ch;
  margin-top: 20px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.94;
}

.cta h2 em {
  color: var(--mint-200);
}

.cta__aside p {
  max-width: 34ch;
  font-size: 15.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.66);
}

.cta__aside .btn-row {
  margin-top: 26px;
}

.cta__orb {
  position: absolute;
  right: -180px;
  bottom: -300px;
  z-index: 0;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.cta__orb::after {
  content: "";
  position: absolute;
  inset: 70px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(42px, 5vw, 66px) clamp(58px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.page-hero--light {
  background: var(--paper);
}

.page-hero--dark {
  background: var(--forest-800);
  border-bottom: 0;
  color: var(--white);
}

.crumbs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(40px, 5vw, 64px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.crumbs a {
  transition: color 0.2s ease;
}

.crumbs a:hover {
  color: var(--green-500);
}

.crumbs span {
  color: var(--green-500);
}

.page-hero--dark .crumbs {
  color: rgba(255, 255, 255, 0.52);
}

.page-hero--dark .crumbs a:hover,
.page-hero--dark .crumbs span {
  color: var(--mint-200);
}

.page-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(38px, 6vw, 80px);
  align-items: end;
}

.page-hero h1 {
  margin-top: 20px;
  font-size: clamp(3.2rem, 6.2vw, 6.2rem);
}

.page-hero h1 em {
  color: var(--green-500);
}

.page-hero--dark h1 em {
  color: var(--mint-200);
}

.page-hero__aside {
  padding-bottom: 6px;
}

.page-hero__aside p {
  max-width: 38ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-hero--dark .page-hero__aside p {
  color: rgba(255, 255, 255, 0.66);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.page-hero--dark .page-hero__meta {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Fact bar ---------- */
.factbar {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.factbar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: 26px 26px 27px 0;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact + .fact {
  padding-left: 28px;
}

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.7vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
  color: var(--forest-800);
}

.fact span {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ---------- Story / about ---------- */
.story {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.story__side {
  position: sticky;
  top: 120px;
}

.story__side .section-label {
  margin-bottom: 20px;
}

.story__side p {
  max-width: 24ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted-light);
}

.story__body h2 {
  max-width: 15ch;
  margin: 18px 0 30px;
}

.story__body .prose {
  max-width: 62ch;
}

.pullquote {
  margin: 40px 0;
  padding: 26px 0 26px 26px;
  border-left: 2px solid var(--green-400);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 1.2;
  color: var(--forest-800);
}

/* ---------- Vision / mission ---------- */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.vm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(30px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.vm-card--green {
  border-color: transparent;
  background: var(--forest-800);
  color: var(--white);
}

.vm-card__num {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--green-500);
}

.vm-card--green .vm-card__num {
  color: var(--green-300);
}

.vm-card h3 {
  margin: 18px 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.vm-card p {
  max-width: 36ch;
  margin-top: auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.vm-card--green p {
  color: rgba(255, 255, 255, 0.72);
}

.vm-card__mark {
  position: absolute;
  right: 24px;
  bottom: -28px;
  font-family: var(--font-display);
  font-size: 11rem;
  line-height: 1;
  color: rgba(30, 122, 85, 0.08);
  pointer-events: none;
}

.vm-card--green .vm-card__mark {
  color: rgba(255, 255, 255, 0.05);
}

/* ---------- Governance ---------- */
.governance {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 7vw, 94px);
  align-items: center;
}

.governance__media {
  position: relative;
  isolation: isolate;
}

.governance__media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: 14px;
}

.governance__media::after {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid rgba(30, 122, 85, 0.35);
  border-radius: 14px;
  z-index: -1;
}

.governance__copy h2 {
  max-width: 14ch;
  margin: 18px 0 24px;
}

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

.checks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.checks li svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--green-500);
}

.checks strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.checks span {
  display: block;
  margin-top: 3px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted-light);
}

/* ---------- Objectives ---------- */
.objectives {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.objective {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding: 24px 30px 24px 0;
  border-bottom: 1px solid var(--line);
}

.objective:nth-child(even) {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.objective__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--green-500);
}

.objective p {
  max-width: 38ch;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* ---------- Milestones ---------- */
.milestones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  margin-top: 44px;
}

.milestone {
  position: relative;
  padding: 26px 24px 0 0;
}

.milestone::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px var(--paper);
}

.milestone__year {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  color: var(--forest-800);
}

.milestone p {
  max-width: 28ch;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- Image duo ---------- */
.duo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(16px, 2vw, 26px);
  align-items: start;
}

.duo figure {
  margin: 0;
}

.duo img {
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.duo figure:first-child img {
  aspect-ratio: 4 / 3;
}

.duo figure:last-child {
  padding-top: clamp(30px, 5vw, 70px);
}

.duo figure:last-child img {
  aspect-ratio: 4 / 4.3;
}

.duo figcaption {
  margin-top: 12px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ---------- Sticky anchor nav ---------- */
.anchor-nav {
  position: sticky;
  top: 70px;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.anchor-nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-nav__inner::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  flex: none;
  padding: 17px 0;
  border-bottom: 2px solid transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.anchor-nav a.is-active {
  color: var(--forest-800);
  border-color: var(--green-500);
}

/* ---------- Service rows ---------- */
.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 150px;
}

.service:last-of-type {
  border-bottom: 0;
}

.service--reverse .service__media {
  order: 2;
}

.service--reverse .service__copy {
  order: 1;
}

.service__media {
  position: relative;
}

.service__media img {
  width: 100%;
  aspect-ratio: 4 / 3.25;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(0.92);
}

.service__badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 190px;
  padding: 14px 16px;
  border-radius: 9px;
  background: rgba(4, 21, 15, 0.86);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.service__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.service__badge span {
  display: block;
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.service__copy h2 {
  max-width: 15ch;
  margin: 16px 0 20px;
  font-size: clamp(2.1rem, 3.3vw, 3.3rem);
}

.service__copy .prose {
  max-width: 50ch;
}

.service__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.service__stat {
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--line);
}

.service__stat:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.service__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  color: var(--forest-800);
}

.service__stat span {
  display: block;
  margin-top: 5px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted-light);
}

.service__list {
  margin-top: 24px;
}

.service__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}

.service__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--green-500);
}

/* ---------- Project feature ---------- */
.project {
  position: relative;
  overflow: hidden;
  background: var(--forest-900);
  color: var(--white);
}

.project__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
  padding-block: clamp(72px, 9vw, 118px);
}

.project__media {
  position: relative;
}

.project__media img {
  width: 100%;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  border-radius: 14px;
}

.project__copy h2 {
  max-width: 13ch;
  margin: 18px 0 22px;
}

.project__copy .prose p {
  color: rgba(255, 255, 255, 0.68);
}

.project__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.project__stat {
  padding: 18px 16px 0 0;
}

.project__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
}

.project__stat span {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Partner grid ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.partner-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.4s var(--ease);
}

.partner-card:hover {
  border-color: rgba(30, 122, 85, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 30px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.partner-card__logo img {
  width: 100%;
  max-width: 190px;
  max-height: 62px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-card:hover .partner-card__logo img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.partner-card__cat {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
}

.partner-card h3 {
  margin: 8px 0 9px;
  font-size: 1.42rem;
  line-height: 1.12;
}

.partner-card p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

.partner-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-700);
}

.partner-card__link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease);
}

.partner-card:hover .partner-card__link svg {
  transform: translate(2px, -2px);
}

.partner-card--cta {
  justify-content: space-between;
  padding: 30px;
  border-color: transparent;
  background: var(--forest-800);
  color: var(--white);
}

.partner-card--cta h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.7rem, 2.2vw, 2.1rem);
}

.partner-card--cta p {
  color: rgba(255, 255, 255, 0.66);
}

.partner-card--cta .btn {
  align-self: flex-start;
  margin-top: 26px;
}

/* ---------- Partner feature ---------- */
.partner-feature {
  position: relative;
  overflow: hidden;
  background: var(--forest-800);
  color: var(--white);
}

.partner-feature__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  padding-block: clamp(70px, 9vw, 112px);
}

.partner-feature h2 {
  max-width: 14ch;
  margin: 18px 0 22px;
}

.partner-feature .prose p {
  color: rgba(255, 255, 255, 0.68);
}

.partner-feature__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.partner-feature__logos img {
  width: auto;
  max-width: 120px;
  max-height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

.partner-feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: 14px;
}

/* ---------- Value cards ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.value-card {
  padding: 28px 24px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--forest-700);
}

.value-card__icon svg {
  width: 19px;
  height: 19px;
}

.value-card h3 {
  margin-bottom: 10px;
  font-size: 1.32rem;
}

.value-card p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(38px, 5vw, 72px);
  align-items: start;
}

.contact-form-card {
  padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-form-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.contact-form-card > p {
  max-width: 46ch;
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--muted);
}

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

.field--full {
  grid-column: 1 / -1;
}

.contact-form-card .btn {
  width: 100%;
  margin-top: 22px;
}

.contact-form-card .form-note {
  margin-top: 13px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted-light);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--forest-700);
}

.contact-card__icon svg {
  width: 18px;
  height: 18px;
}

.contact-card h3 {
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-500);
}

.contact-card p,
.contact-card address {
  font-size: 14.5px;
  font-style: normal;
  line-height: 1.65;
  color: var(--ink-soft);
}

.contact-card a:hover {
  color: var(--green-500);
}

.contact-card--green {
  border-color: transparent;
  background: var(--forest-800);
  color: var(--white);
}

.contact-card--green h3 {
  color: var(--green-300);
}

.contact-card--green p,
.contact-card--green a {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card--green .contact-card__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--mint-200);
}

.contact-card--green .socials {
  margin-top: 12px;
}

.hours {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.hours:last-child {
  border-bottom: 0;
}

.hours span:last-child {
  font-weight: 600;
  color: var(--ink-soft);
}

.map-wrap {
  position: relative;
  height: clamp(340px, 48vw, 480px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--mint-100);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.5s ease;
}

.map-wrap:hover iframe {
  filter: grayscale(0) contrast(1);
}

.map-card {
  position: absolute;
  left: var(--gutter);
  bottom: 26px;
  z-index: 2;
  max-width: 320px;
  padding: 20px 22px;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.map-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--forest-800);
}

.map-card span {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--green-500);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 66ch;
  padding: 0 40px 22px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 404 ---------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 64vh;
  padding-block: clamp(70px, 10vw, 130px);
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(7rem, 20vw, 18rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--forest-800);
}

.error-page h1 {
  margin: 28px 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.error-page p {
  max-width: 44ch;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
