/* =========================================================
   Rimbadata — Yayasan Rimbadata Indonesia
   Single-page stylesheet
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --forest: #123D2D;
  --forest-deep: #092D24;
  --cream: #F7F8F2;
  --lime: #D5EE79;
  --gray: #64736B;
  --white: #FFFFFF;

  --line: rgba(18, 61, 45, 0.14);
  --line-light: rgba(247, 248, 242, 0.18);
  --text-soft: rgba(247, 248, 242, 0.66);

  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", "Georgia", serif;

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --container: 1320px;
  --header-h: 5.5rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--forest-deep);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

::selection {
  background: var(--lime);
  color: var(--forest-deep);
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
}

.hero :focus-visible,
.section-dark :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible {
  outline-color: var(--lime);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  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 {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 300;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--forest-deep);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.section-light {
  background: var(--cream);
}

.section-dark {
  background: var(--forest-deep);
  color: var(--cream);
}

/* ---------- Shared typography ---------- */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  text-wrap: balance;
}

h1 em,
h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.018em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

p {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  margin: 0;
  color: var(--forest);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(213, 238, 121, 0.12);
}

.eyebrow-light {
  color: rgba(247, 248, 242, 0.72);
}

.eyebrow-light::before {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(213, 238, 121, 0.1);
}

.lead {
  color: var(--forest);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.68;
}

.micro-label {
  margin: 0 0 0.55rem;
  color: var(--gray);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.35rem 0.9rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition:
    background-color 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft),
    color 0.35s var(--ease-soft),
    transform 0.35s var(--ease-out);
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn-lime {
  background: var(--lime);
  color: var(--forest-deep);
}

.btn-lime:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-lime:hover svg {
  transform: translateY(2px);
}

.btn-dark {
  background: var(--forest);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.text-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s var(--ease-out);
}

.text-link:hover svg {
  transform: translateY(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--cream);
  transition:
    color 0.4s var(--ease-soft),
    background-color 0.4s var(--ease-soft),
    box-shadow 0.4s var(--ease-soft);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(18, 61, 45, 0.11);
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
  transition: min-height 0.4s var(--ease-soft);
}

.site-header.is-scrolled {
  background: rgba(247, 248, 242, 0.91);
  color: var(--forest);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.site-header.is-scrolled .header-inner {
  min-height: 4.35rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.3rem, 2.4vw, 2.4rem);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-decoration: none;
  opacity: 0.76;
  transition: opacity 0.3s var(--ease-soft);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  background: var(--lime);
  transition: right 0.35s var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  opacity: 1;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  right: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem 0.65rem 1.1rem;
  border: 1px solid rgba(247, 248, 242, 0.34);
  border-radius: 999px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background-color 0.3s var(--ease-soft),
    border-color 0.3s var(--ease-soft),
    color 0.3s var(--ease-soft);
}

.header-cta svg {
  width: 0.95rem;
  height: 0.95rem;
}

.site-header.is-scrolled .header-cta {
  border-color: rgba(18, 61, 45, 0.22);
}

.header-cta:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--forest-deep);
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid rgba(247, 248, 242, 0.28);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  place-items: center;
}

.site-header.is-scrolled .menu-toggle {
  border-color: rgba(18, 61, 45, 0.22);
}

.menu-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 1.2rem;
}

.menu-toggle-lines span {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}

.menu-open .site-header {
  background: transparent;
  color: var(--cream);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.menu-open .site-header::after {
  opacity: 0;
}

.menu-open .menu-toggle {
  border-color: rgba(247, 248, 242, 0.28);
}

.menu-open .menu-toggle-lines span:first-child {
  transform: translateY(3.6px) rotate(45deg);
}

.menu-open .menu-toggle-lines span:last-child {
  transform: translateY(-3.6px) rotate(-45deg);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow-y: auto;
  padding: clamp(7.5rem, 18vh, 10rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: var(--forest-deep);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.8rem);
  transition:
    opacity 0.4s var(--ease-soft),
    transform 0.4s var(--ease-out),
    visibility 0s linear 0.4s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.4s var(--ease-soft),
    transform 0.4s var(--ease-out),
    visibility 0s linear;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  width: min(100%, 38rem);
  min-height: calc(100dvh - 10rem);
  margin-inline: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: clamp(2rem, 6vh, 3.5rem);
  border-top: 1px solid var(--line-light);
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--cream);
  font-size: clamp(2.4rem, 10vw, 3.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  text-decoration: none;
  transition: color 0.3s var(--ease-soft);
}

.mobile-menu nav a span {
  color: var(--lime);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mobile-menu nav a:hover {
  color: var(--lime);
}

.mobile-menu-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-top: auto;
  padding-top: 4rem;
}

.mobile-menu-foot .micro-label {
  color: rgba(247, 248, 242, 0.6);
}

.mobile-menu-foot a {
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu-foot a:hover {
  color: var(--lime);
}

.mobile-menu-place {
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.65;
  text-align: right;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(8.5rem, 15vh, 11rem) 0 clamp(5.7rem, 8vh, 7rem);
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background: var(--forest-deep);
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  animation: hero-settle 1.8s var(--ease-out) both;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 45, 36, 0.52) 0%, rgba(9, 45, 36, 0.08) 30%, rgba(9, 45, 36, 0.14) 55%, rgba(9, 45, 36, 0.89) 100%),
    linear-gradient(90deg, rgba(9, 45, 36, 0.46) 0%, rgba(9, 45, 36, 0.12) 52%, rgba(9, 45, 36, 0.04) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-brandline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 clamp(0.85rem, 2vh, 1.25rem);
  color: var(--cream);
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-brandline::after {
  content: "";
  width: clamp(2rem, 4vw, 4rem);
  height: 1px;
  background: rgba(247, 248, 242, 0.42);
}

.hero-eyebrow {
  margin-bottom: clamp(1.4rem, 3vh, 2.1rem);
}

.hero-title {
  max-width: 100%;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.35rem, 10.5vw, 6.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-title span {
  display: block;
}

.hero-title em {
  font-size: 1.045em;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-top: clamp(2.8rem, 6vh, 4.8rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 248, 242, 0.26);
}

.hero-lede {
  max-width: 48ch;
  color: rgba(247, 248, 242, 0.75);
  font-size: clamp(0.93rem, 1.2vw, 1.06rem);
  line-height: 1.72;
}

.hero-action {
  flex: 0 0 auto;
}

.scroll-cue {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: rgba(247, 248, 242, 0.68);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 0.3s var(--ease-soft);
}

.scroll-cue:hover {
  color: var(--lime);
}

.scroll-cue-line {
  position: relative;
  display: block;
  width: 1px;
  height: 2.2rem;
  overflow: hidden;
  background: rgba(247, 248, 242, 0.22);
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--lime);
  animation: scroll-line 2.4s ease-in-out infinite;
}

.hero-place {
  position: absolute;
  right: var(--gutter);
  bottom: 1.65rem;
  z-index: 3;
  margin: 0;
  color: rgba(247, 248, 242, 0.64);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes hero-settle {
  from {
    transform: scale(1.055);
    opacity: 0.55;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scroll-line {
  0% {
    top: -50%;
  }
  55%,
  100% {
    top: 110%;
  }
}

/* ---------- About ---------- */

.about {
  padding-block: clamp(6rem, 12vw, 11.5rem);
}

.about-head {
  display: grid;
  grid-template-columns: minmax(8rem, 0.65fr) minmax(0, 1.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.about-head .eyebrow {
  padding-top: 0.5rem;
}

.about-head h2 {
  max-width: 14ch;
}

.about-head h2 em {
  font-size: 1.06em;
}

.about-body {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: start;
  margin-top: clamp(3.5rem, 8vw, 7rem);
}

.about-figure {
  margin: 0;
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--forest);
}

.about-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(9, 45, 36, 0.12);
  pointer-events: none;
}

.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.about-figure:hover .about-image-wrap img {
  transform: scale(1.025);
}

.image-index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.55rem;
  background: rgba(9, 45, 36, 0.58);
  color: rgba(247, 248, 242, 0.82);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.about-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.66rem;
  letter-spacing: 0.035em;
}

.about-figure figcaption span:last-child {
  text-align: right;
}

.about-copy {
  padding-top: clamp(0.25rem, 4vw, 3rem);
}

.about-copy > p + p {
  margin-top: 1.3rem;
}

.about-copy > p:not(.lead) {
  max-width: 52ch;
  color: var(--gray);
  font-size: clamp(0.96rem, 1.1vw, 1.04rem);
  line-height: 1.78;
}

.values {
  margin: 2.8rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.values li {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.84rem;
  line-height: 1.5;
}

.values strong {
  color: var(--forest);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Focus ---------- */

.focus {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 12vw, 11.5rem);
}

.focus::before {
  content: "";
  position: absolute;
  top: -25vw;
  right: -18vw;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 238, 121, 0.075), transparent 66%);
  pointer-events: none;
}

.focus-inner {
  position: relative;
}

.focus-head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(14rem, 0.55fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
}

.focus-head .eyebrow {
  margin-bottom: 1.6rem;
}

.focus-head h2 {
  max-width: 12ch;
}

.focus-head h2 em {
  font-size: 1.06em;
  color: var(--lime);
}

.focus-intro {
  max-width: 35ch;
  padding-bottom: 0.3rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(4rem, 8vw, 6.5rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.focus-item {
  position: relative;
  min-height: 22rem;
  padding: 2.2rem clamp(1.5rem, 3vw, 2.8rem) 0 0;
  border-right: 1px solid var(--line-light);
}

.focus-item + .focus-item {
  padding-left: clamp(1.5rem, 3vw, 2.8rem);
}

.focus-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.focus-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 0.55s var(--ease-out);
}

.focus-item:hover::before {
  width: 100%;
}

.focus-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.focus-num {
  color: var(--lime);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.focus-icon {
  color: rgba(247, 248, 242, 0.64);
  transition:
    color 0.35s var(--ease-soft),
    transform 0.5s var(--ease-out);
}

.focus-icon svg {
  width: 2.55rem;
  height: 2.55rem;
}

.focus-item:hover .focus-icon {
  color: var(--lime);
  transform: translateY(-3px);
}

.focus-item h3 {
  margin: clamp(3rem, 5vw, 4.5rem) 0 1.15rem;
  color: var(--cream);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.focus-item p {
  max-width: 34ch;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.78;
}

.focus-note {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  color: rgba(247, 248, 242, 0.58);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.focus-note::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--lime);
}

/* ---------- Programs ---------- */

.programs {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 12vw, 11.5rem);
  background:
    radial-gradient(circle at 94% 4%, rgba(213, 238, 121, 0.2), transparent 24rem),
    var(--cream);
}

.programs-head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 0.55fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
}

.programs-head .eyebrow {
  margin-bottom: 1.6rem;
}

.programs-head h2 {
  max-width: 13ch;
}

.programs-head h2 em {
  font-size: 1.06em;
}

.programs-intro {
  max-width: 38ch;
  padding-bottom: 0.3rem;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.8;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(4rem, 8vw, 6.5rem) 0 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.program-card {
  display: flex;
  flex-direction: column;
  min-height: 29rem;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  background: #FCFCF7;
  transition: background-color 0.35s var(--ease-soft);
}

.program-card:hover {
  background: var(--white);
}

.program-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.program-index {
  color: var(--forest);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.program-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.program-status::before {
  content: "";
  flex: 0 0 auto;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: currentColor;
}

.program-status-live {
  background: rgba(18, 61, 45, 0.09);
  color: var(--forest);
}

.program-status-build {
  background: rgba(100, 115, 107, 0.12);
  color: var(--forest);
}

.program-status-open {
  background: rgba(213, 238, 121, 0.46);
  color: var(--forest);
}

.program-kicker {
  margin: 2.7rem 0 0.85rem;
  color: var(--gray);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.program-card h3 {
  max-width: 15ch;
  margin: 0 0 1.15rem;
  color: var(--forest-deep);
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.program-card > p:not(.program-kicker) {
  max-width: 38ch;
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.76;
}

.program-facts {
  display: grid;
  gap: 0.65rem;
  margin: auto 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.program-facts div {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 0.85rem;
}

.program-facts dt {
  color: var(--gray);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.55;
  text-transform: uppercase;
}

.program-facts dd {
  margin: 0;
  color: var(--forest);
  font-size: 0.73rem;
  line-height: 1.55;
}

.verification {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 4.5vw, 3.8rem);
  background: var(--forest-deep);
  color: var(--cream);
}

.verification :focus-visible {
  outline-color: var(--lime);
}

.verification .eyebrow {
  margin-bottom: 1.5rem;
}

.verification h3 {
  max-width: 14ch;
  margin: 0 0 1.25rem;
  color: var(--white);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.verification-copy > p:last-child {
  max-width: 47ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.8;
}

.verification-facts {
  align-self: start;
  margin: 0;
  border-top: 1px solid var(--line-light);
}

.verification-facts div {
  display: grid;
  grid-template-columns: 7.8rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid var(--line-light);
}

.verification-facts dt {
  color: rgba(247, 248, 242, 0.5);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.55;
  text-transform: uppercase;
}

.verification-facts dd {
  margin: 0;
  color: var(--cream);
  font-size: 0.74rem;
  line-height: 1.6;
}

.verification-facts a {
  color: var(--lime);
  text-decoration-color: rgba(213, 238, 121, 0.4);
  text-underline-offset: 0.18em;
}

.verification-facts a:hover {
  color: var(--white);
}

.roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.roadmap-intro .eyebrow {
  margin-bottom: 1rem;
}

.roadmap-intro > p:last-child {
  max-width: 33ch;
  margin: 0;
  color: var(--gray);
  font-size: 0.82rem;
  line-height: 1.75;
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.roadmap-step {
  padding: 1.2rem 1.35rem 0 0;
  border-right: 1px solid var(--line);
}

.roadmap-step + .roadmap-step {
  padding-left: 1.35rem;
}

.roadmap-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.roadmap-phase {
  color: var(--forest);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.roadmap-step h3 {
  max-width: 18ch;
  margin: 0.8rem 0 0.55rem;
  color: var(--forest-deep);
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.roadmap-step p {
  max-width: 27ch;
  margin: 0;
  color: var(--gray);
  font-size: 0.78rem;
  line-height: 1.7;
}

.roadmap-note {
  grid-column: 2;
  margin: 0.9rem 0 0;
  color: var(--gray);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

/* ---------- Commitment ---------- */

.commitment {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(43rem, 94svh, 60rem);
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
}

.commitment-media,
.commitment-shade {
  position: absolute;
  inset: 0;
}

.commitment-media {
  z-index: -2;
}

.commitment-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.commitment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.commitment-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 45, 36, 0.55) 0%, rgba(9, 45, 36, 0.1) 40%, rgba(9, 45, 36, 0.78) 100%),
    linear-gradient(90deg, rgba(9, 45, 36, 0.72) 0%, rgba(9, 45, 36, 0.2) 68%, rgba(9, 45, 36, 0.08) 100%);
}

.commitment-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-block: clamp(5.2rem, 11vh, 8rem);
}

.commitment-main {
  align-self: end;
  max-width: 65rem;
  padding-block: 4rem 2.5rem;
}

.commitment-main h2 {
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--white);
  font-size: clamp(3rem, 7vw, 7.25rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.commitment-main h2 em {
  color: var(--lime);
  font-size: 1.04em;
}

.commitment-main p {
  max-width: 46ch;
  color: rgba(247, 248, 242, 0.76);
  font-size: clamp(0.94rem, 1.25vw, 1.06rem);
  line-height: 1.75;
}

.commitment-foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 42rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 248, 242, 0.26);
}

.commitment-rule {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 1px;
  background: var(--lime);
}

.commitment-foot p {
  color: rgba(247, 248, 242, 0.63);
  font-size: 0.72rem;
  line-height: 1.65;
  letter-spacing: 0.015em;
}

/* ---------- Involved ---------- */

.involved {
  padding-block: clamp(6rem, 12vw, 11.5rem);
}

.involved > .container > .eyebrow {
  margin-bottom: clamp(1.7rem, 4vw, 3rem);
}

.involved-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.55fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.involved-main h2 {
  max-width: 11ch;
}

.involved-main h2 em {
  font-size: 1.06em;
  color: var(--forest);
}

.involved-copy {
  max-width: 53ch;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.involved-copy p {
  color: var(--gray);
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  line-height: 1.8;
}

.involved-copy p + p {
  margin-top: 1.15rem;
}

.involved-action {
  margin-top: 2.5rem;
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-item {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-item a {
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s var(--ease-soft);
}

.contact-item a:hover {
  color: var(--gray);
}

.contact-item address {
  color: var(--forest);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.7;
}

.contact-item > p:last-child {
  color: var(--forest);
  font-size: 0.9rem;
  line-height: 1.7;
}

.legal-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4.5rem, 9vw, 7.5rem);
  background: var(--forest-deep);
  color: var(--cream);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(8rem, 0.42fr) minmax(14rem, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.brand-footer {
  color: var(--cream);
}

.footer-tagline {
  margin: 2rem 0 0;
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.1vw, 2.8rem);
  font-style: italic;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.footer-label {
  margin: 0 0 1.2rem;
  color: rgba(247, 248, 242, 0.58);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: rgba(247, 248, 242, 0.66);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.3s var(--ease-soft);
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-email {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-email:hover {
  color: var(--lime);
}

.footer-contact address {
  margin-bottom: 1.1rem;
  color: rgba(247, 248, 242, 0.58);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.7;
}

.footer-org {
  color: rgba(247, 248, 242, 0.56);
  font-size: 0.72rem;
}

.footer-legal {
  margin-top: 0.35rem;
  color: rgba(247, 248, 242, 0.56);
  font-size: 0.68rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.footer-wordmark {
  margin-top: 0.5rem;
  color: rgba(247, 248, 242, 0.055);
  font-size: clamp(4.8rem, 18vw, 16rem);
  font-weight: 600;
  line-height: 0.7;
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.footer-wordmark::before {
  content: "Rimbadata";
  display: block;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.4rem 1.7rem;
  border-top: 1px solid rgba(247, 248, 242, 0.13);
  color: rgba(247, 248, 242, 0.58);
  font-size: 0.66rem;
  line-height: 1.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(247, 248, 242, 0.6);
  text-decoration: none;
  transition: color 0.3s var(--ease-soft);
}

.footer-bottom a:hover {
  color: var(--lime);
}

/* ---------- Reveal animation ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .about-head {
    grid-template-columns: minmax(7rem, 0.5fr) minmax(0, 2fr);
  }

  .about-body {
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .focus-head {
    grid-template-columns: minmax(0, 1.55fr) minmax(13rem, 0.6fr);
  }

  .programs-head {
    grid-template-columns: minmax(0, 1.45fr) minmax(13rem, 0.6fr);
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .about-head {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .about-head .eyebrow {
    padding-top: 0;
  }

  .about-body {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-figure {
    width: min(100%, 35rem);
  }

  .about-copy {
    padding-top: 0;
  }

  .focus-head {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .focus-intro {
    max-width: 42ch;
  }

  .focus-grid {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .focus-item,
  .focus-item + .focus-item {
    min-height: 0;
    padding: 1.9rem 0 2.3rem;
    border-top: 1px solid var(--line-light);
    border-right: 0;
  }

  .focus-item h3 {
    margin-top: 2.3rem;
  }

  .focus-item p {
    max-width: 52ch;
  }

  .programs-head {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .programs-intro {
    max-width: 46ch;
  }

  .program-list {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: 0;
  }

  .program-card h3 {
    max-width: 18ch;
  }

  .program-card > p:not(.program-kicker) {
    max-width: 54ch;
  }

  .program-facts {
    max-width: 34rem;
  }

  .verification {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .verification h3 {
    max-width: 18ch;
  }

  .verification-facts {
    max-width: 42rem;
  }

  .roadmap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .roadmap-list {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .roadmap-step,
  .roadmap-step + .roadmap-step {
    padding: 1.1rem 0 1.2rem;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .roadmap-step h3 {
    max-width: 24ch;
  }

  .roadmap-step p {
    max-width: 54ch;
  }

  .roadmap-note {
    grid-column: auto;
    margin-top: 0;
  }

  .involved-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .contact-list {
    max-width: 35rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 4.7rem;
  }

  .hero {
    padding-top: 7.5rem;
    padding-bottom: 5.5rem;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.7vw, 3.7rem);
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.7rem;
    margin-top: 2.8rem;
  }

  .hero-lede {
    max-width: 42ch;
  }

  .hero-action,
  .hero-action .btn {
    width: 100%;
  }

  .hero-place {
    display: none;
  }

  .scroll-cue {
    right: var(--gutter);
    bottom: 1.35rem;
    left: auto;
    align-items: flex-end;
    transform: none;
  }

  .scroll-cue-line {
    height: 1.6rem;
  }

  .about-head h2 {
    max-width: 16ch;
  }

  .involved-main h2 {
    max-width: 12ch;
  }

  .commitment {
    min-height: max(38rem, 82svh);
  }

  .commitment-inner {
    padding-block: 4.5rem;
  }

  .commitment-main {
    padding-block: 3.2rem 2rem;
  }

  .commitment-main h2 {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .verification {
    padding: 1.7rem 1.35rem;
  }

  .verification-facts div {
    grid-template-columns: 6.8rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .commitment-foot {
    align-items: flex-start;
  }

  .commitment-foot p {
    max-width: 32ch;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
  }

  .hero-eyebrow {
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 10.8vw, 3rem);
  }

  .hero-lede {
    font-size: 0.9rem;
  }

  h2 {
    font-size: clamp(2.3rem, 10.5vw, 3.3rem);
  }

  .about-figure figcaption {
    flex-direction: column;
    gap: 0.35rem;
  }

  .about-figure figcaption span:last-child {
    text-align: left;
  }

  .values li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .focus-item h3 {
    margin-top: 2rem;
  }

  .program-kicker {
    margin-top: 2rem;
  }

  .program-facts div,
  .verification-facts div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .commitment-main p {
    font-size: 0.91rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.7rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-tagline {
    margin-top: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-wordmark {
    font-size: clamp(4rem, 18vw, 7rem);
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    animation: none;
  }

  .scroll-cue-line::after {
    animation: none;
    top: 30%;
  }
}
