@charset "UTF-8";

:root {
  --primary: #087f5b;
  --primary-dark: #055e46;
  --primary-soft: #def6eb;
  --accent: #f5b940;
  --accent-soft: #fff2c9;
  --ink: #10231d;
  --muted: #687871;
  --surface: #ffffff;
  --soft: #f3f8f5;
  --line: #dce9e3;
  --shadow: 0 25px 70px rgba(13, 61, 45, 0.12);
  --radius: 28px;
  --container: 1180px;
}

/* Native Android wrapper context — v1.3.15 */
body.is-mobile-app .pwa-install { display: none !important; }
body.is-mobile-app { padding-bottom: env(safe-area-inset-bottom); }

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfc;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
html.menu-locked { overflow: hidden; overscroll-behavior: none; }
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
a, button, [role="button"], label {
  -webkit-touch-callout: none;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 72%, white);
  outline-offset: 3px;
}
svg {
  width: 20px;
  height: 20px;
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.page-progress {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  box-shadow: 0 0 18px var(--accent);
}
.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(8, 127, 91, 0.07), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}
.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-content: center;
  gap: 18px;
  background: #062f25;
  color: white;
  text-align: center;
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-mark {
  display: flex;
  gap: 7px;
  justify-content: center;
}
.preloader-mark span {
  width: 52px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px 18px 8px 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 950;
  font-size: 24px;
  transform-origin: bottom;
  animation: preloaderBounce 0.8s ease-in-out infinite alternate;
}
.preloader-mark span:nth-child(2) {
  animation-delay: 0.12s;
}
.preloader-mark span:nth-child(3) {
  animation-delay: 0.24s;
}
.preloader p {
  margin: 0;
  color: #bce5d6;
  font-size: 13px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
@keyframes preloaderBounce {
  to {
    transform: translateY(-10px) rotate(2deg);
  }
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s,
    border-color 0.35s,
    box-shadow 0.35s,
    transform 0.35s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(14, 82, 59, 0.1);
  box-shadow: 0 10px 35px rgba(15, 67, 50, 0.08);
  backdrop-filter: blur(20px);
}
.nav-wrap {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 16px 16px 7px 7px;
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 24px rgba(8, 127, 91, 0.25);
  font-weight: 950;
  letter-spacing: -0.04em;
}
.site-logo img.brand-logo-full {
  width: clamp(172px, 17vw, 215px);
  height: 88px;
  object-fit: contain;
  object-position: left center;
}
.logo-copy {
  display: grid;
  line-height: 1.08;
}
.logo-copy strong {
  font-size: 13px;
}
.logo-copy small {
  margin-top: 5px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  color: #30463e;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after,
.nav-item.is-active > a::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-item.is-active > a {
  color: var(--primary);
}
.nav-sub-toggle {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}
.nav-sub-toggle span {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: 0.2s;
}
.submenu {
  position: absolute;
  z-index: 20;
  left: -18px;
  top: calc(100% + 8px);
  width: max-content;
  min-width: 210px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: grid;
  gap: 2px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: 0.2s;
}
.submenu .nav-item {
  display: grid;
}
.submenu .nav-item > a {
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 12px;
}
.submenu .nav-item > a::after {
  display: none;
}
.submenu .nav-item > a:hover {
  background: var(--soft);
  color: var(--primary);
}
.nav-item.has-children:hover > .submenu,
.nav-item.has-children:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-cta {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(16, 35, 29, 0.15);
}
.nav-cta svg {
  width: 17px;
  transition: transform 0.25s;
}
.nav-cta:hover svg {
  transform: translateX(3px);
}
.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #eef8f4);
  place-items: center;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(8, 72, 54, .12), inset 0 1px #fff;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.nav-toggle::before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  transform: translate(19px,-19px);
  transition: transform .35s ease;
}
.nav-toggle:hover { border-color: color-mix(in srgb, var(--primary) 34%, var(--line)); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(8,72,54,.16), inset 0 1px #fff; }
.nav-toggle:active { transform: scale(.95); }
.nav-toggle[aria-expanded="true"] { border-color: color-mix(in srgb, var(--primary) 38%, var(--line)); background: #f4fbf8; }
.nav-toggle[aria-expanded="true"]::before { transform: translate(11px,-11px) scale(1.4); }
.nav-toggle-lines {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 16px;
  display: grid;
  align-content: space-between;
}
.nav-toggle-lines i {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: var(--ink);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .18s ease, width .2s ease;
}
.nav-toggle-lines i:nth-child(2) { width: 15px; justify-self: end; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(2) { width: 0; opacity: 0; transform: translateX(7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .nav-toggle,.nav-toggle::before,.nav-toggle-lines i { transition-duration: .01ms !important; }
}

.hero {
  position: relative;
  min-height: 850px;
  padding: 142px 0 88px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(155deg, #f6fbf8 0%, #fff 45%, #edf8f3 100%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(8, 127, 91, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 127, 91, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
  animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift {
  to {
    background-position: 58px 58px;
  }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.orb-a {
  width: 420px;
  height: 420px;
  right: -100px;
  top: 90px;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(245, 185, 64, 0.26),
    rgba(245, 185, 64, 0)
  );
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.orb-b {
  width: 330px;
  height: 330px;
  left: -150px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(8, 127, 91, 0.19), transparent 70%);
  animation: orbFloat 11s ease-in-out infinite alternate-reverse;
}
.orb-c {
  width: 100px;
  height: 100px;
  left: 48%;
  top: 16%;
  border: 18px solid rgba(8, 127, 91, 0.05);
  animation: spin 15s linear infinite;
}
@keyframes orbFloat {
  to {
    transform: translate(25px, -35px) scale(1.12);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 84px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 23px;
  height: 2px;
  background: var(--accent);
}
.eyebrow.light {
  color: #aee2cf;
}
.hero-title {
  max-width: 690px;
  margin: 22px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(55px, 5.55vw, 82px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
}
.hero-title .word > i {
  display: inline-block;
  font-style: normal;
  transform: translateY(115%);
  animation: wordIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes wordIn {
  to {
    transform: translateY(0);
  }
}
.hero-lead {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.button {
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 850;
  font-size: 14px;
  transition:
    transform 0.25s,
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.button svg {
  width: 18px;
}
.button.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 15px 35px rgba(8, 127, 91, 0.25);
}
.button.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 19px 42px rgba(8, 127, 91, 0.32);
}
.button.ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.button.ghost:hover,
.button.outline:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.button.outline {
  border: 1px solid var(--line);
  background: white;
}
.button.accent {
  background: var(--accent);
  color: var(--ink);
}
.play-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--accent-soft);
}
.play-dot::before {
  content: "";
  margin-left: 2px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--ink);
}
.trust-line {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 38px;
}
.avatar-stack {
  display: flex;
}
.avatar-stack i {
  width: 35px;
  height: 35px;
  margin-left: -8px;
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}
.avatar-stack i:first-child {
  margin-left: 0;
  background: var(--accent-soft);
}
.trust-line p {
  margin: 0;
  display: grid;
  gap: 2px;
  font-size: 12px;
}
.trust-line p span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 590px;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.arch-card {
  position: absolute;
  top: 10px;
  right: 28px;
  left: 28px;
  height: 545px;
  overflow: hidden;
  border: 10px solid white;
  border-radius: 240px 240px 32px 32px;
  background: #0b5f49;
  box-shadow: 0 45px 90px rgba(6, 71, 53, 0.23);
  transform: rotate(1.5deg);
  transition: transform 0.2s ease-out;
}
.arch-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 15%, #f8ce71 0, #f8ce71 3%, transparent 3.4%),
    linear-gradient(#0a5f4a 0%, #188b67 55%, #60b18f 100%);
}
.moon {
  position: absolute;
  right: 70px;
  top: 80px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 60px rgba(245, 185, 64, 0.55);
  animation: moonPulse 4s ease-in-out infinite alternate;
}
.moon::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  left: -16px;
  top: -9px;
  border-radius: 50%;
  background: #0d674f;
}
@keyframes moonPulse {
  to {
    box-shadow: 0 0 90px rgba(245, 185, 64, 0.72);
    transform: scale(1.04);
  }
}
.star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: white;
  animation: twinkle 2s ease-in-out infinite alternate;
}
.star.s1 {
  top: 90px;
  left: 95px;
}
.star.s2 {
  top: 155px;
  left: 175px;
  animation-delay: 0.7s;
}
.star.s3 {
  top: 70px;
  left: 240px;
  animation-delay: 1.2s;
}
@keyframes twinkle {
  to {
    transform: scale(2.5);
    opacity: 0.35;
  }
}
.landscape {
  position: absolute;
  inset: 0;
}
.hill {
  position: absolute;
  border-radius: 50% 50% 0 0;
  transform: rotate(-8deg);
}
.hill.h1 {
  width: 620px;
  height: 310px;
  left: -180px;
  bottom: -90px;
  background: #173f35;
}
.hill.h2 {
  width: 540px;
  height: 270px;
  right: -240px;
  bottom: -45px;
  background: #225e4c;
  transform: rotate(11deg);
}
.path {
  position: absolute;
  left: 44%;
  bottom: -40px;
  width: 55px;
  height: 300px;
  background: #f0c36b;
  clip-path: polygon(45% 0, 58% 0, 100% 100%, 0 100%);
  transform: rotate(10deg);
  opacity: 0.85;
}
.house {
  position: absolute;
  width: 46px;
  height: 32px;
  bottom: 108px;
  background: #f4e4b9;
  box-shadow: inset 14px 0 #e4c981;
}
.house::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -23px;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-bottom: 25px solid #8e4c35;
}
.house::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 16px;
  bottom: 0;
  left: 28px;
  background: #5a372b;
}
.house-a {
  left: 100px;
  transform: scale(0.85);
}
.house-b {
  right: 90px;
  bottom: 142px;
  transform: scale(0.65);
}
.visual-caption {
  position: absolute;
  right: 30px;
  bottom: 25px;
  left: 30px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 18px;
  display: grid;
  gap: 4px;
  color: white;
  background: rgba(7, 46, 36, 0.42);
  backdrop-filter: blur(12px);
}
.visual-caption span {
  color: #bce7d7;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.visual-caption strong {
  font-family: Georgia, serif;
  font-size: 19px;
}
.visual-rings {
  position: absolute;
  inset: 52px 0 auto;
  height: 420px;
}
.visual-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(8, 127, 91, 0.13);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.visual-rings i:nth-child(2) {
  inset: 45px -45px;
  animation-direction: reverse;
  animation-duration: 25s;
}
.visual-rings i:nth-child(3) {
  inset: 90px -75px;
  animation-duration: 30s;
}
.floating-note {
  position: absolute;
  z-index: 5;
  min-width: 205px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 45px rgba(14, 72, 53, 0.14);
  backdrop-filter: blur(14px);
  animation: noteFloat 4s ease-in-out infinite alternate;
}
.floating-note svg {
  width: 27px;
  height: 27px;
  color: var(--primary);
}
.floating-note span {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 11px;
}
.floating-note strong {
  color: var(--ink);
  font-size: 13px;
}
.note-a {
  left: -24px;
  top: 120px;
}
.note-b {
  right: -28px;
  bottom: 70px;
  animation-delay: 1s;
}
@keyframes noteFloat {
  to {
    transform: translateY(-13px);
  }
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.scroll-hint span {
  width: 20px;
  height: 32px;
  border: 1px solid #9bb4aa;
  border-radius: 20px;
}
.scroll-hint span::after {
  content: "";
  width: 3px;
  height: 6px;
  display: block;
  margin: 6px auto;
  border-radius: 3px;
  background: var(--primary);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  to {
    transform: translateY(10px);
    opacity: 0;
  }
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: white;
}
.marquee-track {
  width: max-content;
  padding: 17px 0;
  display: flex;
  align-items: center;
  gap: 31px;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  color: #4d6059;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.marquee-track i {
  width: 7px;
  height: 7px;
  border-radius: 2px 2px 50% 50%;
  background: var(--accent);
  transform: rotate(45deg);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 118px 0;
}
.section-heading {
  max-width: 620px;
}
.section-heading.center {
  margin-inline: auto;
  text-align: center;
}
.section-heading h2 {
  margin: 15px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.section-heading p {
  margin: 19px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.about {
  background: white;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 100px;
  align-items: end;
}
.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.text-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 850;
}
.text-link svg {
  width: 17px;
  transition: transform 0.2s;
}
.text-link:hover svg {
  transform: translateX(4px);
}
.values-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.value-card:hover {
  transform: translateY(-8px);
  border-color: #a8d2c2;
  box-shadow: var(--shadow);
}
.value-card > span {
  position: absolute;
  top: 25px;
  right: 26px;
  color: #b5c6bf;
  font-family: Georgia, serif;
  font-size: 20px;
}
.icon-box {
  width: 57px;
  height: 57px;
  margin-bottom: 36px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}
.icon-box svg {
  width: 25px;
  height: 25px;
}
.value-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: 25px;
}
.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.programs {
  position: relative;
  background: var(--soft);
}
.program-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.program-card {
  position: relative;
  isolation: isolate;
  min-height: 470px;
  padding: 34px;
  border-radius: 32px;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s;
}
.program-card:hover {
  transform: translateY(-12px) rotate(-1deg);
  box-shadow: 0 30px 65px rgba(10, 65, 48, 0.18);
}
.program-card.card-green {
  background: var(--primary);
  color: white;
}
.program-card.card-gold {
  background: var(--accent);
  color: var(--ink);
}
.program-card.card-ink {
  background: var(--ink);
  color: white;
}
.program-no {
  color: currentColor;
  opacity: 0.54;
  font-size: 12px;
  letter-spacing: 0.14em;
}
.program-icon {
  width: 72px;
  height: 72px;
  margin: 50px 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(7px);
}
.card-gold .program-icon {
  border-color: rgba(16, 35, 29, 0.18);
  background: rgba(255, 255, 255, 0.28);
}
.program-icon svg {
  width: 30px;
  height: 30px;
}
.program-card h3 {
  max-width: 260px;
  margin: 0 0 15px;
  font-family: Georgia, serif;
  font-size: 31px;
  line-height: 1.1;
}
.program-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  opacity: 0.78;
  line-height: 1.72;
  font-size: 14px;
}
.program-card > a {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  font-size: 13px;
}
.program-card > a svg {
  width: 17px;
}
.card-pattern {
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 40px solid currentColor;
  border-radius: 50%;
  opacity: 0.07;
}

.impact-section {
  padding: 46px 0 118px;
  background: var(--soft);
}
.impact-wrap {
  padding: 65px;
  border-radius: 40px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  color: white;
  background: linear-gradient(130deg, #063e31, #0a6e52);
  box-shadow: 0 30px 70px rgba(6, 74, 55, 0.22);
}
.impact-wrap h2 {
  margin: 17px 0 0;
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1.12;
}
.impact-steps {
  display: grid;
  gap: 8px;
}
.impact-steps > div {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 18px;
  align-items: center;
}
.impact-steps > div:last-child {
  border-bottom: 0;
}
.impact-steps b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--accent);
  font-size: 11px;
}
.impact-steps span {
  display: grid;
  gap: 4px;
}
.impact-steps strong {
  font-size: 15px;
}
.impact-steps small {
  color: #b9ddcf;
}

.news {
  background: white;
}
.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}
.news-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  transition:
    transform 0.28s,
    box-shadow 0.28s;
}
.news-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}
.news-image {
  position: relative;
  height: 235px;
  overflow: hidden;
  display: block;
  background: var(--soft);
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-card:hover .news-image img {
  transform: scale(1.07);
}
.image-fallback {
  display: grid;
  place-items: center;
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.3),
      transparent 25%
    ),
    linear-gradient(135deg, #087f5b, #0a4b3a);
}
.image-fallback.tone-2 {
  background-image:
    radial-gradient(
      circle at 70% 20%,
      rgba(255, 255, 255, 0.4),
      transparent 25%
    ),
    linear-gradient(135deg, #f5b940, #d8852f);
}
.image-fallback.tone-3 {
  background-image:
    radial-gradient(
      circle at 40% 20%,
      rgba(255, 255, 255, 0.12),
      transparent 25%
    ),
    linear-gradient(135deg, #173d32, #071f19);
}
.fallback-mark {
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 35px 35px 12px 12px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 26px;
  font-weight: 950;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  transform: rotate(-5deg);
}
.news-category {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.news-body {
  position: relative;
  min-height: 280px;
  padding: 26px 26px 64px;
}
.news-body time {
  color: #8a9a94;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.news-body h3 {
  margin: 13px 0 11px;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.22;
}
.news-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.round-link {
  position: absolute;
  left: 26px;
  bottom: 23px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  transition: 0.25s;
}
.round-link svg {
  width: 15px;
}
.round-link:hover {
  color: white;
  background: var(--primary);
  transform: translateX(4px);
}

.gallery {
  background: var(--soft);
}
.gallery-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 15px;
}
.gallery-item {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 22px;
  cursor: zoom-in;
  background: #dceae4;
}
.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 6;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item span {
  position: absolute;
  left: 16px;
  bottom: 15px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(8, 50, 39, 0.76);
  color: white;
  backdrop-filter: blur(8px);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.lightbox {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(3, 20, 15, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox button {
  position: absolute;
  top: 24px;
  right: 28px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 42px;
  cursor: pointer;
}
.lightbox figure {
  max-width: 1000px;
  margin: 0;
}
.lightbox img {
  max-height: 78vh;
  border-radius: 20px;
}
.lightbox figcaption {
  margin-top: 14px;
  color: white;
  text-align: center;
}

.team-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.team-card {
  padding: 18px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  text-align: center;
  transition: 0.28s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.team-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary-soft), #c9e8db);
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 56px;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  margin: 18px 0 5px;
  font-family: Georgia, serif;
  font-size: 20px;
}
.team-card p {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 750;
}

.documents {
  background: var(--soft);
}
.document-list {
  max-width: 860px;
  margin-top: 38px;
  display: grid;
  gap: 10px;
}
.document-item {
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  transition: 0.22s;
}
.document-item:hover {
  border-color: #9bcdb9;
  transform: translateX(5px);
}
.doc-icon {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
}
.document-item > span {
  flex: 1;
  display: grid;
  gap: 4px;
}
.document-item strong {
  font-size: 14px;
}
.document-item small {
  color: var(--muted);
}
.document-item > b {
  color: var(--primary);
  font-size: 12px;
}

.collaborate {
  padding-top: 85px;
  background: white;
}
.collab-wrap {
  position: relative;
  overflow: hidden;
  padding: 70px;
  border-radius: 42px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  background: linear-gradient(135deg, #073b2f, #087f5b);
  color: white;
  box-shadow: 0 35px 85px rgba(7, 77, 57, 0.25);
}
.collab-wrap::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -280px;
  border: 70px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.collab-copy {
  position: relative;
}
.collab-copy h2 {
  margin: 18px 0;
  font-family: Georgia, serif;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.05;
}
.collab-copy > p {
  color: #c0e5d7;
  line-height: 1.75;
}
.collab-points {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.collab-points span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #d3eee4;
  font-size: 11px;
}
.collab-form {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 27px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}
.form-field {
  display: grid;
  gap: 7px;
}
.form-field.wide,
.collab-form .wide {
  grid-column: 1/-1;
}
.form-field span {
  color: #d8eee6;
  font-size: 11px;
  font-weight: 800;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  outline: none;
  padding: 12px 13px;
  color: white;
  background: rgba(0, 0, 0, 0.12);
}
.form-field select option {
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 185, 64, 0.15);
}
.privacy-note {
  grid-column: 1/-1;
  color: #aed8c8;
  text-align: center;
}
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
}
.form-alert {
  grid-column: 1/-1;
  padding: 11px 13px;
  border-radius: 11px;
  font-size: 12px;
}
.form-alert.success {
  background: #dff7e9;
  color: #07573d;
}
.form-alert.error {
  background: #ffe0df;
  color: #8c2828;
}

.site-footer {
  margin-top: 118px;
  padding: 75px 0 28px;
  background: #071f19;
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.65fr 0.9fr 0.9fr;
  gap: 65px;
}
.site-logo.inverse .logo-mark {
  background: var(--accent);
  color: var(--ink);
}
.site-logo.inverse .logo-copy small {
  color: #95ceb9;
}
.footer-brand p,
.footer-grid > div > p {
  color: #91aaa1;
  line-height: 1.7;
  font-size: 13px;
}
.footer-brand p {
  max-width: 290px;
  margin-top: 20px;
}
.footer-grid h4 {
  margin: 0 0 20px;
  font-size: 13px;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-grid a,
.footer-grid span {
  color: #9bb0a8;
  font-size: 12px;
}
.footer-grid a:hover {
  color: white;
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid #27463b;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 10px;
}
.footer-bottom {
  margin-top: 55px;
  padding-top: 23px;
  border-top: 1px solid #1c3a30;
  display: flex;
  justify-content: space-between;
  color: #789187;
  font-size: 11px;
}
.back-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(8, 127, 91, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
}
.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-top svg {
  transform: rotate(-90deg);
}

.inner-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 170px 0 90px;
  display: grid;
  align-items: center;
  background: linear-gradient(145deg, #edf8f3, #fff);
}
.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}
.back-link {
  display: inline-block;
  margin-bottom: 35px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.inner-hero h1 {
  max-width: 850px;
  margin: 18px auto;
  font-family: Georgia, serif;
  font-size: clamp(50px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.inner-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.article-meta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.article-meta svg {
  width: 16px;
}
.article-shell {
  max-width: 900px;
  padding-top: 70px;
}
.article-cover {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 28px;
  margin-bottom: 45px;
}
.prose {
  color: #30463e;
  font-size: 17px;
  line-height: 1.9;
}
.prose h2,
.prose h3 {
  color: var(--ink);
  font-family: Georgia, serif;
  line-height: 1.15;
}
.prose h2 {
  margin: 45px 0 15px;
  font-size: 38px;
}
.prose h3 {
  margin: 35px 0 12px;
  font-size: 26px;
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
}
.prose blockquote {
  margin: 35px 0;
  padding: 25px 30px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  font-family: Georgia, serif;
  font-size: 21px;
}
.prose img {
  border-radius: 20px;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 25px 0;
}
.content-grid > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.content-grid h3 {
  margin-top: 0;
  font-size: 20px;
}
.article-share {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.article-share button {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 13px;
  background: white;
  cursor: pointer;
}
.not-found {
  min-height: 80vh;
  padding: 170px 0 80px;
  display: grid;
  place-items: center;
  text-align: center;
}
.not-found span {
  color: var(--primary);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.3em;
}
.not-found h1 {
  margin: 15px 0;
  font-family: Georgia, serif;
  font-size: 58px;
}
.not-found p {
  margin: 0 0 30px;
  color: var(--muted);
}
.maintenance {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
  background:
    radial-gradient(circle at 50% 0, #dff7ed, transparent 45%), #f7faf8;
}
.maintenance .brand-mark {
  width: 78px;
  height: 78px;
  margin: 0 auto 28px;
  border-radius: 25px 25px 10px 10px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  font-weight: 950;
}
.maintenance h1 {
  max-width: 650px;
  margin: 15px auto;
  font:
    600 54px/1.05 Georgia,
    serif;
}
.maintenance p {
  color: var(--muted);
}

.content-blocks {
  display: grid;
  gap: 22px;
}
.content-heading {
  margin: 18px 0 0 !important;
}
.content-text {
  white-space: normal;
}
.content-action {
  margin: 2px 0;
}
.content-action .button {
  text-decoration: none;
}
.content-image {
  margin: 6px 0;
}
.content-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}
.content-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.content-box,
.content-card,
.content-map {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
}
.content-box h3,
.content-card h3 {
  margin: 0 0 9px;
}
.content-box p,
.content-card p {
  margin: 0;
}
.content-card a {
  display: inline-block;
  margin-top: 12px;
}
.content-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.content-program-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.content-program-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 13px;
}
.content-program-card h3 {
  margin: 14px 0 6px;
  font-size: 19px;
}
.content-program-card p {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.content-progress {
  height: 6px;
  margin: 14px 0 7px;
  border-radius: 999px;
  background: #e5ece9;
  overflow: hidden;
}
.content-progress i {
  height: 100%;
  display: block;
  background: var(--primary);
}
.content-program-card small {
  font-size: 10px;
}
.content-video {
  padding: 40px;
  border-radius: 20px;
  background: var(--ink);
  text-align: center;
}
.content-video a {
  color: #fff;
}
.content-map p {
  margin: 6px 0 15px;
  color: var(--muted);
}
.reveal {
  opacity: 1;
  transform: none;
}
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
  }
  .nav-cta {
    display: none;
  }
  .hero-layout {
    gap: 35px;
  }
  .hero-visual {
    min-height: 530px;
  }
  .arch-card {
    height: 500px;
  }
  .about-grid {
    gap: 60px;
  }
  .collab-wrap {
    gap: 45px;
    padding: 52px;
  }
  .footer-grid {
    gap: 35px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 34px, var(--container));
  }
  .site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
  }
  .nav-wrap {
    min-height: 84px;
  }
  .site-logo img.brand-logo-full {
    width: 170px;
    height: 76px;
  }
  .main-nav {
    position: fixed;
    inset: 84px 17px auto;
    max-height: calc(100vh - 108px);
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    display: grid;
    gap: 2px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.98);
    transition: 0.25s;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-nav a {
    padding: 14px;
    border-radius: 11px;
  }
  .main-nav a:hover {
    background: var(--soft);
  }
  .nav-toggle {
    margin-left: auto;
    display: grid;
  }
  .hero {
    min-height: auto;
    padding-top: 140px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .eyebrow,
  .hero-actions,
  .trust-line {
    justify-content: center;
  }
  .hero-title,
  .hero-lead {
    margin-inline: auto;
  }
  .hero-visual {
    width: min(600px, 100%);
    margin: 35px auto 0;
  }
  .scroll-hint {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .values-grid,
  .program-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .program-grid .program-card:last-child,
  .news-grid .news-card:first-child {
    grid-column: 1/-1;
  }
  .impact-wrap,
  .collab-wrap {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .inner-hero {
    min-height: 500px;
    padding-top: 155px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  .site-logo img.brand-logo-full {
    width: 150px;
    height: 68px;
  }
  .hero {
    padding: 132px 0 70px;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-actions {
    display: grid;
  }
  .button {
    width: 100%;
  }
  .hero-visual {
    min-height: 440px;
  }
  .arch-card {
    right: 12px;
    left: 12px;
    height: 420px;
    border-width: 7px;
  }
  .moon {
    right: 40px;
    top: 60px;
  }
  .floating-note {
    min-width: 0;
    max-width: 170px;
    padding: 11px;
  }
  .floating-note svg {
    width: 21px;
  }
  .note-a {
    left: -4px;
    top: 100px;
  }
  .note-b {
    right: -5px;
    bottom: 50px;
  }
  .visual-caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
  .section {
    padding: 82px 0;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .values-grid,
  .program-grid,
  .news-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .program-grid .program-card:last-child,
  .news-grid .news-card:first-child {
    grid-column: auto;
  }
  .value-card {
    min-height: 260px;
  }
  .program-card {
    min-height: 430px;
  }
  .heading-row {
    align-items: stretch;
    flex-direction: column;
  }
  .heading-row .button {
    width: auto;
    align-self: flex-start;
  }
  .impact-section {
    padding-bottom: 80px;
  }
  .impact-wrap {
    padding: 35px 25px;
    border-radius: 28px;
  }
  .impact-wrap h2 {
    font-size: 35px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item:first-child {
    grid-column: 1/-1;
  }
  .collaborate {
    padding-top: 65px;
  }
  .collab-wrap {
    width: 100%;
    padding: 45px 22px;
    border-radius: 0;
  }
  .collab-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .form-field.wide,
  .collab-form .wide {
    grid-column: auto;
  }
  .privacy-note {
    grid-column: auto;
  }
  .collab-copy h2 {
    font-size: 39px;
  }
  .site-footer {
    margin-top: 80px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .inner-hero h1 {
    font-size: 48px;
  }
  .inner-hero p {
    font-size: 15px;
  }
  .article-shell {
    padding-top: 45px;
  }
  .prose {
    font-size: 16px;
  }
  .prose h2 {
    font-size: 31px;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .not-found h1 {
    font-size: 42px;
  }
}

@media (max-width: 860px) {
  .main-nav > .nav-item {
    display: grid;
    grid-template-columns: 1fr 44px;
  }
  .main-nav > .nav-item > a {
    grid-column: 1;
  }
  .main-nav > .nav-item > .nav-sub-toggle {
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    height: 44px;
  }
  .main-nav > .nav-item > .submenu {
    position: static;
    grid-column: 1/-1;
    width: auto;
    min-width: 0;
    max-height: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      max-height 0.25s,
      padding 0.25s;
  }
  .main-nav > .nav-item.is-sub-open > .submenu {
    max-height: 600px;
    padding: 6px 8px 9px;
  }
  .main-nav > .nav-item.is-sub-open > .nav-sub-toggle span {
    transform: rotate(225deg) translate(-1px, -1px);
  }
  .submenu .nav-item > a {
    padding: 11px 14px;
  }
  .content-program-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .content-program-grid {
    grid-template-columns: 1fr;
  }
  .content-program-card p {
    min-height: 0;
  }
}

@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

/* v1.3.2 — halaman kabar/galeri, navigasi mobile, dan responsif rapat */
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
main, section, header, footer, .container, .nav-wrap, .article-shell { min-width: 0; max-width: 100%; }
.mobile-login { display: none; }
.archive-hero { padding: 170px 0 72px; background: radial-gradient(circle at 85% 20%, #fff0bf, transparent 24%), linear-gradient(135deg, #effaf6, #fff); border-bottom: 1px solid var(--line); }
.archive-hero h1 { margin: 10px 0; font-family: Georgia, serif; font-size: clamp(48px, 7vw, 84px); letter-spacing: -.045em; }
.archive-hero p { max-width: 650px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.archive-search { max-width: 560px; margin: 0 auto 36px; }
.archive-search input { width: 100%; min-height: 52px; padding: 0 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; outline: none; box-shadow: 0 14px 40px #173d300d; }
.archive-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px #087f5b13; }
.archive-news .news-card:first-child { grid-column: auto; }
.news-body h3.is-long { font-size: clamp(18px, 1.8vw, 23px); }
.album-section + .album-section { margin-top: 74px; }
.album-section > .heading-row > span { color: var(--muted); font-size: 12px; }
.album-grid .gallery-item { min-height: 260px; }
.gallery-video { position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #082e25, #0b6d53); }
.gallery-video .video-placeholder { font-size: 44px; color: #fff; }

.home-donation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-donation-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 22px 60px #173d300d; }
.home-donation-card > a { height: 220px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #064735, #0b8a65); }
.home-donation-card > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.home-donation-card:hover > a img { transform: scale(1.04); }
.donation-image-fallback { color: #fff; font-size: 42px; font-weight: 950; }
.home-donation-card > div { padding: 24px; }
.home-donation-card h3 { margin: 8px 0; font-family: Georgia, serif; font-size: 26px; line-height: 1.08; }
.home-donation-card p { min-height: 3.5em; color: var(--muted); font-size: 12px; line-height: 1.7; }
.home-donation-progress { height: 8px; margin: 18px 0 7px; overflow: hidden; border-radius: 20px; background: #eaf1ee; }
.home-donation-progress i { height: 100%; display: block; background: linear-gradient(90deg, var(--primary), #19ad80); }
.home-donation-card small { color: var(--muted); }
.home-donation-card .button { width: 100%; margin-top: 18px; }

.article-shell.post-detail { width: min(1180px, calc(100% - 48px)); max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 58px; align-items: start; }
.post-detail > .article-cover, .post-detail > .prose, .post-detail > .article-share { grid-column: 1; }
.post-detail > .related-news { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 120px; }
.post-content-blocks figure { margin: 35px 0; }
.post-content-blocks figure img { width: 100%; max-height: 720px; object-fit: cover; }
.post-content-blocks figcaption { margin-top: 9px; color: var(--muted); font-size: 12px; text-align: center; }
.post-content-blocks hr { margin: 48px 0; border: 0; border-top: 1px solid var(--line); }
.related-news { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.related-news h2 { margin: 8px 0 18px; font-family: Georgia, serif; font-size: 28px; }
.related-news > a:not(.button) { padding: 14px 0; display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.related-news img { width: 72px; height: 64px; border-radius: 10px; object-fit: cover; }
.related-news a > span { min-width: 0; display: grid; gap: 5px; }
.related-news small { color: var(--primary); font-size: 8px; font-weight: 800; }
.related-news strong { font-size: 12px; line-height: 1.4; }
.related-news .button { width: 100%; margin-top: 18px; }

.socials a { width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; transition: filter .2s, transform .2s; }
.socials a svg { width: 20px; height: 20px; }
.socials a:hover { color: #fff; filter: brightness(1.18); transform: translateY(-2px); }
.social-instagram { background: radial-gradient(circle at 30% 105%, #ffd600 0 22%, #ff7a00 23% 40%, #ff0169 48%, #d300c5 65%, #7638fa 88%); }
.social-facebook { background: #1877f2; }
.social-youtube { background: #ff0000; }
.social-whatsapp { background: #25d366; }

@media (min-width: 861px) and (max-width: 1080px) {
  .nav-cta { display: inline-flex; padding-inline: 18px; }
  .main-nav { gap: 12px; }
}

@media (max-width: 860px) {
  .main-nav { inset: 84px 0 0; width: 100%; max-height: calc(100dvh - 84px); padding: 20px max(18px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); border: 0; border-top: 1px solid var(--line); border-radius: 0; align-content: start; box-shadow: 0 24px 50px #082e2524; }
  .main-nav .nav-item, .main-nav > a { width: 100%; }
  .main-nav a { font-size: 15px; }
  .main-nav .mobile-login { min-height: 50px; margin-top: 12px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 900; }
  .main-nav .mobile-login::after { display: none; }
  .home-donation-grid { grid-template-columns: 1fr 1fr; }
  .article-shell.post-detail { width: min(100% - 34px, var(--container)); display: block; }
  .post-detail > .related-news { position: static; margin-top: 42px; }
}

@media (max-width: 620px) {
  .site-header, .nav-wrap { width: 100%; }
  .nav-wrap { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); gap: 10px; }
  .site-logo { min-width: 0; }
  .site-logo img.brand-logo-full { max-width: 145px; }
  .nav-toggle { flex: 0 0 44px; }
  .archive-hero { padding: 125px 0 48px; }
  .archive-hero h1 { font-size: 48px; }
  .archive-news, .home-donation-grid { grid-template-columns: 1fr; }
  .news-body h3, .news-body h3.is-long { font-size: clamp(19px, 6.2vw, 25px); line-height: 1.1; }
  .album-grid { grid-template-columns: 1fr; }
  .album-grid .gallery-item { min-height: 235px; }
  .home-donation-card p { min-height: 0; }
  .footer-grid { width: 100%; padding-inline: 22px; gap: 36px; }
  .site-footer { overflow: hidden; }
  .article-shell.post-detail { width: min(100% - 28px, var(--container)); }
  .related-news { padding: 19px; }
  .related-news > a:not(.button) { grid-template-columns: 64px minmax(0,1fr); }
  .related-news img { width: 64px; height: 58px; }
  .donation-modal { padding: max(10px, env(safe-area-inset-top)) 8px max(10px, env(safe-area-inset-bottom)); place-items: center; }
  .donation-dialog { width: min(100%, 520px); max-height: 88dvh; border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto minmax(0,1fr); }
  .donation-dialog > header { padding: 13px 16px; }
  .donation-dialog header h2 { font-size: 18px; }
  .donation-dialog header button { width: 34px; height: 34px; }
  .donation-dialog form { min-height: 0; padding: 11px; gap: 10px; overflow-y: auto; overscroll-behavior: contain; }
  .donation-step { padding: 13px; border-radius: 14px; }
  .donation-step h3 { margin-bottom: 10px; font-size: 14px; }
  .amount-presets { gap: 7px; }
  .amount-presets button { min-height: 42px; font-size: 13px; }
  .donation-step input:not([type=radio]):not([type=checkbox]) { min-height: 42px; }
  .donor-fields { gap: 9px; }
  .payment-options label { padding: 9px; }
  .donation-submit { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* v1.3.3 — navigasi adaptif, artikel layar lebar, dan preview video */
.article-shell.post-detail {
  width: calc(100% - 20px);
  max-width: none;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
  column-gap: clamp(24px, 3vw, 58px);
  margin-inline: 10px;
}
.post-detail > .prose {
  max-width: none;
}
.post-detail > .article-cover {
  max-height: min(72vh, 820px);
}

.gallery-video-card {
  isolation: isolate;
  cursor: pointer;
  background: linear-gradient(145deg, #071f19, #0b7056);
}
.gallery-video-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 28, 21, 0.05), rgba(4, 28, 21, 0.72));
  pointer-events: none;
}
.gallery-video-card img,
.gallery-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.5s;
}
.gallery-video-card:hover img,
.gallery-video-card:hover video {
  transform: scale(1.045);
  filter: brightness(0.88);
}
.gallery-video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, #13a97d, transparent 42%), linear-gradient(145deg, #071f19, #0b604a);
}
.gallery-video-fallback span {
  position: static;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,.13);
  font-size: clamp(58px, 8vw, 110px);
  font-weight: 950;
  letter-spacing: -.08em;
}
.gallery-video-card .gallery-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #078a64;
  color: #fff;
  box-shadow: 0 18px 42px rgba(2, 58, 42, .42);
  transform: translate(-50%, -50%);
  transition: transform .25s, background .25s, box-shadow .25s;
}
.gallery-video-card .gallery-play svg {
  width: 25px;
  height: 25px;
  margin-left: 4px;
}
.gallery-video-card:hover .gallery-play {
  background: #0ba879;
  box-shadow: 0 20px 48px rgba(2, 76, 54, .52);
  transform: translate(-50%, -50%) scale(1.08);
}
.gallery-video-card .gallery-video-title {
  z-index: 3;
  right: 16px;
  left: 16px;
  bottom: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.content-video-preview {
  width: 100%;
  min-height: clamp(240px, 46vw, 620px);
  margin: 32px 0;
  display: block;
  aspect-ratio: 16 / 9;
}
.video-lightbox {
  position: fixed;
  z-index: 2300;
  inset: 0;
  padding: 38px;
  display: grid;
  place-items: center;
  background: rgba(2, 17, 13, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.video-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.video-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
}
.video-lightbox-fullscreen {
  position: absolute;
  z-index: 2;
  top: 21px;
  right: 84px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.video-lightbox-dialog {
  width: min(1100px, 100%);
}
.video-lightbox-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: #000;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
}
.video-lightbox-frame iframe,
.video-lightbox-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
}
.video-lightbox-dialog h3 {
  margin: 16px 0 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(20px, 2vw, 30px);
  text-align: center;
}
body.video-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  body.menu-open {
    overflow: hidden;
  }
  .main-nav {
    inset: 84px 0 0;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 18px max(18px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    align-content: start;
    overscroll-behavior: contain;
  }
  .article-shell.post-detail {
    width: calc(100% - 20px);
    margin-inline: 10px;
  }
}

@media (max-width: 860px) and (max-height: 560px) {
  .nav-wrap {
    min-height: 62px;
  }
  .site-logo img.brand-logo-full {
    width: 132px;
    height: 54px;
  }
  .nav-toggle {
    width: 40px;
    height: 40px;
  }
  .main-nav {
    inset: 62px 0 0;
    padding-top: 8px;
    gap: 0;
  }
  .main-nav a {
    padding-block: 8px;
    font-size: 12px;
  }
  .main-nav .mobile-login {
    min-height: 40px;
    margin-top: 5px;
  }
}

@media (max-width: 620px) {
  .video-lightbox {
    padding: 58px 10px 18px;
  }
  .video-lightbox-close {
    top: 9px;
    right: 10px;
  }
  .video-lightbox-fullscreen { top: 11px; right: 62px; min-height: 38px; padding-inline: 12px; }
  .video-lightbox-frame {
    border-radius: 16px;
  }
  .gallery-video-card .gallery-play {
    width: 58px;
    height: 58px;
  }
}

.infaq-page-catalog {
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.infaq-page-card {
  overflow: hidden;
  border: 1px solid #dfe9e5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px #153b2d12;
}
.infaq-page-image {
  position: relative;
  height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #07503d, #087f5b);
  color: #fff !important;
  text-decoration: none !important;
}
.infaq-page-image img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.infaq-page-card:hover .infaq-page-image img { transform: scale(1.035); }
.infaq-page-image > span { font-size: 40px; font-weight: 950; letter-spacing: -.05em; }
.infaq-page-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #041f18a8); }
.infaq-page-image i { position: absolute; z-index: 1; right: 16px; bottom: 15px; padding: 7px 11px; border-radius: 99px; background: #fff; color: var(--primary); font-size: 10px; font-style: normal; font-weight: 900; }
.infaq-page-body { padding: 25px; }
.infaq-page-body > span { color: var(--primary); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.infaq-page-body h2 { margin: 8px 0 10px; font-size: 27px; }
.infaq-page-body h2 a { color: var(--ink); text-decoration: none; }
.infaq-page-body > p { min-height: 50px; margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.infaq-page-money { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.infaq-page-money strong { color: var(--ink); font-size: 17px; }
.infaq-page-money small { color: var(--muted); font-size: 10px; }
.infaq-page-meta { margin: 9px 0 20px; display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.infaq-page-body .button { width: 100%; text-decoration: none; }
.infaq-catalog-empty { padding: 42px 28px; border: 1px dashed #cadbd4; border-radius: 22px; background: var(--soft); text-align: center; }
.infaq-catalog-empty strong { color: var(--ink); }
.infaq-catalog-empty p { margin: 7px 0 0; color: var(--muted); }

.infaq-campaign {
  margin: 30px 0;
  border: 1px solid #dce8e3;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 65px #173d3014;
}
.infaq-visual {
  position: relative;
  height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #063f30, #087f5b);
  color: #fff;
  font-size: 54px;
  font-weight: 950;
}
.infaq-visual img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.infaq-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #041f18a8); }
.infaq-visual i { position: absolute; z-index: 1; left: 22px; bottom: 20px; padding: 7px 11px; border-radius: 20px; background: #ffffffde; color: #087f5b; font-size: 10px; font-style: normal; font-weight: 900; }
.infaq-content { padding: 32px; }
.infaq-eyebrow { color: var(--primary); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.infaq-content h2 { margin: 8px 0 10px; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.infaq-content > p { margin: 0 0 25px; color: #66756f; line-height: 1.75; }
.infaq-money { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.infaq-money strong { font-size: 25px; color: #101f1a; }
.infaq-money span { color: #76827e; font-size: 12px; }
.infaq-progress { height: 12px; margin-top: 12px; overflow: hidden; border-radius: 20px; background: #edf2f0; }
.infaq-progress i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #f5a000, #ffc043); }
.infaq-percent { margin-top: 7px; display: block; color: #27352f; text-align: right; }
.infaq-metrics { margin-top: 25px; padding-top: 24px; border-top: 1px solid #e5ece9; display: grid; grid-template-columns: repeat(3, 1fr); }
.infaq-metrics div { display: grid; gap: 3px; text-align: center; }
.infaq-metrics strong { font-size: 18px; }
.infaq-metrics span { color: #73807b; font-size: 10px; }
.infaq-primary { width: 100%; min-height: 56px; margin-top: 28px; border: 0; border-radius: 14px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 900; cursor: pointer; box-shadow: 0 16px 32px #087f5b2b; }
.infaq-primary:disabled { box-shadow: none; background: #9aa7a2; cursor: not-allowed; }
.infaq-donors { padding: 28px 32px 34px; border-top: 1px solid #e5ece9; background: #fbfcfc; }
.infaq-section-title { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; }
.infaq-section-title h3 { margin: 0; font-size: 17px; }
.infaq-section-title span { color: #77837f; font-size: 10px; }
.infaq-donor-list { display: grid; gap: 5px; }
.infaq-donor-list article { padding: 10px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; border-radius: 12px; }
.infaq-donor-list article:hover { background: #fff; }
.infaq-donor-list article > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #e8edf0; color: #68747f; font-weight: 900; }
.infaq-donor-list div { display: grid; gap: 2px; }
.infaq-donor-list strong { font-size: 13px; }
.infaq-donor-list small { color: #7c8783; font-size: 9px; }
.infaq-donor-list b { font-size: 12px; }
.infaq-no-donor { margin: 0; padding: 20px; border-radius: 13px; background: #fff; color: #77837f; text-align: center; }
.infaq-empty { margin: 24px 0; padding: 24px; border: 1px dashed #d7e4df; border-radius: 18px; background: #f8fbfa; text-align: center; }
.donation-modal { position: fixed; z-index: 1200; inset: 0; padding: 18px; display: grid; place-items: center; overflow-y: auto; background: #031a14d9; opacity: 0; visibility: hidden; transition: .22s; }
.donation-modal.is-open { opacity: 1; visibility: visible; }
.donation-modal-open { overflow: hidden; }
.donation-dialog { width: min(760px, 100%); max-height: 94vh; overflow-y: auto; border-radius: 25px; background: #f6f8f7; box-shadow: 0 35px 100px #0006; transform: translateY(15px) scale(.985); transition: .25s; }
.donation-modal.is-open .donation-dialog { transform: none; }
.donation-dialog > header { position: sticky; z-index: 2; top: 0; padding: 23px 26px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #075b45, #087f5b); color: #fff; }
.donation-dialog header span { color: #bfe9d9; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.donation-dialog header h2 { margin: 4px 0 0; font-size: 22px; }
.donation-dialog header button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #ffffff18; color: #fff; font-size: 25px; cursor: pointer; }
.donation-dialog form { padding: 22px; display: grid; gap: 16px; }
.donation-step { padding: 22px; border: 1px solid #dce6e2; border-radius: 18px; background: #fff; }
.donation-step h3 { margin: 0 0 16px; font-size: 16px; }
.amount-presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amount-presets button { min-height: 52px; border: 1px solid #d8e1de; border-radius: 11px; background: #fff; color: #14251f; font-size: 15px; font-weight: 900; cursor: pointer; }
.amount-presets button.is-selected { border-color: var(--primary); background: #e8f6f0; color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.donation-step label { margin-top: 13px; display: grid; gap: 7px; color: #1c2c26; font-size: 11px; font-weight: 850; }
.donation-step input:not([type=radio]):not([type=checkbox]) { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid #d7e1dd; border-radius: 11px; background: #fbfcfc; font: inherit; outline: none; }
.donation-step input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px #087f5b13; }
.donation-step > small, .proof-field small { color: #e34343; font-size: 9px; }
.donor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.donor-fields label { margin: 0; }
.donor-profile-lock { padding:16px; display:grid; gap:4px; border:1px solid #bfe4d5; border-radius:13px; background:#edf9f4; }
.donor-profile-lock strong { color:#0b563f; font-size:14px; }
.donor-profile-lock span { color:#49675c; font-size:10px; }
.donor-profile-lock small { margin-top:4px; color:#087f5b; font-size:9px; }
.payment-options { display: grid; gap: 9px; }
.payment-options label { margin: 0; padding: 12px; display: grid; grid-template-columns: 18px 44px 1fr; align-items: center; gap: 11px; border: 1px solid #dbe4e1; border-radius: 13px; cursor: pointer; }
.payment-options label:has(input:checked) { border-color: var(--payment-color); box-shadow: inset 0 0 0 1px var(--payment-color); }
.payment-icon { width: 44px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--payment-color); color: #fff; font-size: 10px; font-weight: 950; }
.payment-options label > span:last-child { display: grid; gap: 2px; }
.payment-options strong { font-size: 12px; }
.payment-options small { color: #78847f; font-size: 9px; font-weight: 500; }
.payment-details article { margin-top: 12px; padding: 15px; display: none; border-radius: 13px; background: #f1f7f4; }
.payment-details article.is-visible { display: block; }
.payment-details img { width: min(230px, 100%); margin: 12px auto; display: block; border-radius: 12px; }
.payment-details p { margin: 8px 0; font-size: 12px; line-height: 1.7; }
.payment-details small { color: #65736d; font-size: 10px; line-height: 1.65; }
.proof-field span { color: #d13b3b; }
.donation-consent { display: flex; align-items: flex-start; gap: 9px; color: #58655f; font-size: 10px; line-height: 1.6; }
.donation-consent input { margin-top: 2px; }
.donation-submit { min-height: 54px; border: 0; border-radius: 13px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 900; cursor: pointer; }
.donation-result-page { margin: 0; min-height: 100vh; padding: 22px; display: grid; place-items: center; background: radial-gradient(circle at 10% 0, #dff5eb, transparent 35%), #f3f7f5; }
.donation-result-card { width: min(580px, 100%); padding: 35px; border: 1px solid #dce7e3; border-radius: 27px; background: #fff; box-shadow: 0 30px 80px #153f3017; }
.result-brand { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 16px; background: #f5b940; color: #13251f; font-weight: 950; text-decoration: none; }
.result-status { margin: 27px 0 10px; display: inline-flex; padding: 7px 10px; border-radius: 30px; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.result-status.pending { background: #fff2c9; color: #8b5b00; }
.result-status.error { background: #ffe7e7; color: #a12e2e; }
.donation-result-card h1 { margin: 0; font-size: 32px; line-height: 1.1; }
.donation-result-card p { color: #66736e; line-height: 1.75; }
.donation-result-card dl { margin: 23px 0; display: grid; gap: 9px; }
.donation-result-card dl div { padding: 13px; border-radius: 12px; background: #f5f8f7; }
.donation-result-card dt { color: #7d8984; font-size: 9px; }
.donation-result-card dd { margin: 4px 0 0; font-weight: 850; }
.result-button { width: 100%; min-height: 48px; border: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-weight: 850; text-decoration: none; cursor: pointer; }
.journey-map-section { background: #f4f7f6; }
.map-count { padding: 9px 12px; border-radius: 30px; background: #fff; color: #62716b; font-size: 10px; font-weight: 800; }
.journey-map-shell { position: relative; margin-top: 28px; padding: 8px; border: 1px solid #d4e2dc; border-radius: 25px; background: #fff; box-shadow: 0 24px 65px #173d3014; }
.journey-map { height: min(620px, 68vh); min-height: 430px; border-radius: 18px; background: #16352e; }
.map-legend { position: absolute; z-index: 500; left: 25px; bottom: 25px; padding: 9px 12px; display: flex; align-items: center; gap: 8px; border-radius: 10px; background: #071f19de; color: #fff; font-size: 9px; backdrop-filter: blur(10px); }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; background: #ffad0a; box-shadow: 0 0 0 6px #ffad0a2c; }
@keyframes kdp-map-pulse { 0% { transform: scale(.65); opacity: 1; } 100% { transform: scale(1.65); opacity: 0; } }
.kdp-map-popup small { color: #087f5b; font-size: 9px; font-weight: 850; }
.kdp-map-popup h3 { margin: 5px 0; font-size: 16px; }
.kdp-map-popup strong { font-size: 10px; }
.kdp-map-popup p { margin: 8px 0 0; color: #5e6c66; font-size: 10px; line-height: 1.55; }
@media (min-width: 800px) { .infaq-campaign { display: grid; grid-template-columns: minmax(250px, .75fr) 1.25fr; } .infaq-visual { height: 100%; min-height: 520px; } .infaq-donors { grid-column: 1/-1; } }
@media (max-width: 720px) { .infaq-page-catalog { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .infaq-content, .infaq-donors { padding: 24px 18px; } .infaq-visual { height: 200px; } .infaq-money { align-items: flex-start; flex-direction: column; } .infaq-metrics strong { font-size: 14px; } .infaq-donor-list article { grid-template-columns: 36px 1fr; } .infaq-donor-list article > span { width: 36px; height: 36px; } .infaq-donor-list article > b { grid-column: 2; } .donation-modal { padding: 0; place-items: end center; } .donation-dialog { max-height: 96vh; border-radius: 24px 24px 0 0; } .donation-dialog form { padding: 13px; } .donation-step { padding: 17px 14px; } .donor-fields { grid-template-columns: 1fr; } .journey-map { min-height: 430px; } .infaq-page-image { height: 195px; } .infaq-page-body { padding: 21px 18px; } }

/* v1.3 — program relawan, kartu donasi vertikal, dan judul adaptif */
.inner-hero { min-height: 0; padding: clamp(120px, 14vw, 165px) 0 clamp(52px, 7vw, 88px); }
.inner-hero-content { min-height: 0; }
.inner-hero h1.title-long { max-width: 980px; font-size: clamp(45px, 6vw, 78px); line-height: .98; }
.inner-hero h1.title-compact { max-width: 1050px; font-size: clamp(36px, 4.8vw, 64px); line-height: 1; }
.infaq-campaign { display: block; }
.infaq-visual { width: 100%; height: clamp(240px, 42vw, 480px); min-height: 0; }
.infaq-visual img { object-fit: cover; }
.volunteer-grid { margin: 8px 0 38px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.volunteer-card { overflow: hidden; border: 1px solid #d8e5e0; border-radius: 25px; background: #fff; box-shadow: 0 24px 65px #163f3012; }
.volunteer-card-image { position: relative; height: 270px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #063f31, #087f5b); color: #fff; text-decoration: none; }
.volunteer-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.volunteer-card:hover .volunteer-card-image img { transform: scale(1.035); }
.volunteer-card-image > span { font-size: 44px; font-weight: 950; }
.volunteer-card-image i { position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; border-radius: 30px; background: #fff; color: #20342d; font-size: 10px; font-style: normal; font-weight: 900; }
.volunteer-card-image i.is-open { background: #102c55; color: #fff; }
.volunteer-card-body { padding: 25px; }
.volunteer-card-body > span { color: var(--primary); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.volunteer-card-body h2 { margin: 9px 0 11px; font-size: clamp(22px, 2.5vw, 31px); line-height: 1.08; }
.volunteer-card-body h2 a { color: #10251e; text-decoration: none; }
.volunteer-card-body p { min-height: 3.4em; margin: 0 0 18px; color: #66746f; font-size: 13px; line-height: 1.7; }
.volunteer-card-meta { margin: 0 0 20px; padding: 13px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #e4ece9; border-bottom: 1px solid #e4ece9; color: #61716b; font-size: 10px; }
.volunteer-empty { padding: 34px; border: 1px dashed #bfd3cb; border-radius: 22px; text-align: center; background: #f6faf8; }
.volunteer-empty p { margin-bottom: 0; }
.article-shell.has-volunteer-detail { max-width: 1040px; }
.volunteer-detail-cover { width: 100%; max-height: 560px; object-fit: cover; border-radius: 25px; }
.volunteer-detail-meta { margin: 24px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid #dce7e3; border-radius: 18px; }
.volunteer-detail-meta span { padding: 18px; display: grid; gap: 4px; color: #708079; font-size: 10px; }
.volunteer-detail-meta span + span { border-left: 1px solid #dce7e3; }
.volunteer-detail-meta strong { color: #142a22; font-size: 13px; }
.volunteer-detail-body { color: #34473f; font-size: 15px; line-height: 1.85; }
.volunteer-join-button { width: 100%; margin-top: 28px; border: 0; cursor: pointer; }
.volunteer-closed { margin-top: 25px; padding: 16px; border-radius: 13px; background: #f0f3f2; color: #66746f; text-align: center; font-weight: 800; }
.participation-dialog { width: min(720px, 100%); }
.participation-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.participation-fields label { display: grid; gap: 7px; color: #1c2c26; font-size: 11px; font-weight: 850; }
.participation-fields label.wide { grid-column: 1 / -1; }
.participation-fields input, .participation-fields textarea { width: 100%; padding: 13px; border: 1px solid #d7e1dd; border-radius: 11px; background: #fbfcfc; color: #17241f; font: inherit; outline: none; resize: vertical; }
.participation-fields input:focus, .participation-fields textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px #087f5b13; }
.participation-error { margin: 0; padding: 11px 13px; border-radius: 10px; background: #fff0f0; color: #a02e2e; font-size: 11px; }
.participation-success-card { width: min(500px, 100%); padding: 35px; border-radius: 25px; background: #fff; color: #15271f; text-align: center; box-shadow: 0 35px 90px #0005; }
.participation-success-card > span { color: var(--primary); font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.participation-success-card h2 { margin: 10px 0; font-size: 30px; }
.participation-success-card p { color: #65736d; line-height: 1.7; }
.participation-success-card .button { width: 100%; }
.participation-success-card button { margin-top: 12px; border: 0; background: transparent; color: #68756f; cursor: pointer; }
.maplibre-kdp-marker { position: relative; width: 20px; height: 20px; display: block; border: 3px solid #fff; border-radius: 50%; background: #ffad0a; box-shadow: 0 4px 16px #0008; cursor: pointer; }
.maplibre-kdp-marker::before { content: ""; position: absolute; inset: -8px; border: 2px solid #ffad0aaa; border-radius: 50%; animation: kdp-map-pulse 1.8s infinite; }
.journey-map .maplibregl-popup-content { padding: 16px; border-radius: 14px; }
.journey-map .maplibregl-popup-close-button { padding: 5px 8px; font-size: 18px; }
.map-load-error { height: 100%; margin: 0; padding: 30px; display: grid; place-items: center; color: #fff; text-align: center; }
.pwa-install { margin-top: 16px; padding: 10px 14px; border: 1px solid #ffffff42; border-radius: 11px; background: #ffffff10; color: #fff; font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }
body.modal-open { overflow: hidden; }
@media (max-width: 760px) {
  .inner-hero { padding: 105px 0 45px; }
  .inner-hero h1.title-long, .inner-hero h1.title-compact { font-size: clamp(34px, 11vw, 52px); }
  .volunteer-grid { grid-template-columns: 1fr; }
  .volunteer-card-image { height: 220px; }
  .volunteer-detail-meta { grid-template-columns: 1fr 1fr; }
  .volunteer-detail-meta span + span { border-left: 0; }
  .volunteer-detail-meta span:nth-child(even) { border-left: 1px solid #dce7e3; }
  .volunteer-detail-meta span:nth-child(n+3) { border-top: 1px solid #dce7e3; }
  .participation-fields { grid-template-columns: 1fr; }
  .participation-fields label.wide { grid-column: auto; }
}

/* v1.3.4 — drawer mobile, galeri bertingkat, dan scrollbar ringan */
html { scrollbar-width: thin; scrollbar-color: #f5a000 transparent; }
html::-webkit-scrollbar { width: 6px; height: 6px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { border-radius: 99px; background: #f5a000; }
html::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.footer-brand-mark { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.maintenance .brand-mark { width: 78px; height: 78px; object-fit: contain; border-radius: 0; background: transparent; }
.result-brand { font-size: 0; border-radius: 0; background: transparent url('../branding/admin-mark.svg') center/contain no-repeat; }
.fallback-mark,.donation-image-fallback,.gallery-video-fallback span,.infaq-visual > span,.infaq-page-image > span,.volunteer-card-image > span {
  color: transparent !important;
  background-image: url('../branding/admin-mark.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(42%,72px) auto;
}
.archive-hero.compact { padding-bottom: 52px; }
.gallery-archive-hero .container { text-align: center; }
.gallery-archive-hero p { margin-inline: auto; }
.gallery-breadcrumb { margin-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #64766f; font-size: 12px; }
.gallery-breadcrumb a { color: var(--primary); font-weight: 800; text-decoration: none; }
.gallery-wide-container { width: 100%; max-width: none; margin-inline: auto; padding: 10px; }
.gallery-section { padding: clamp(34px,5vw,72px) 0 18px; }
.gallery-album-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 310px)); justify-content: center; gap: clamp(14px, 2vw, 24px); }
.gallery-album-card { overflow: hidden; border: 1px solid #d7e5df; border-radius: 24px; background: #fff; color: #10251e; text-decoration: none; box-shadow: 0 22px 55px #123a2d12; transition: transform .25s ease, box-shadow .25s ease; }
.gallery-album-card:hover { transform: translateY(-5px); box-shadow: 0 28px 65px #123a2d20; }
.gallery-album-card > img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; transition: transform .35s ease; }
.gallery-album-card:hover > img { transform: scale(1.025); }
.gallery-album-card > div { padding: 20px; }
.gallery-album-card span { color: var(--primary); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.gallery-album-card h2,.gallery-album-card h3 { margin: 8px 0; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 31px); line-height: 1.05; }
.gallery-album-card p { margin: 0; color: #6a7973; font-size: 12px; }
.home-gallery-albums { grid-template-columns: repeat(3, minmax(0,1fr)); }
.gallery-detail-container { max-width: none; }
.gallery-media-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(6px, 1vw, 12px); }
.gallery-square { position: relative; aspect-ratio: 1; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: clamp(10px, 1.5vw, 18px); background: #dfe9e5; cursor: pointer; }
.gallery-square > img,.gallery-square > video,.gallery-square > .gallery-video-fallback { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.gallery-square:hover > img,.gallery-square:hover > video { transform: scale(1.04); }
.gallery-square .gallery-video-fallback { display: grid; place-items: center; background: #092a22; }
.gallery-square .gallery-video-fallback img { width: 54px; height: 54px; }
.gallery-square .gallery-play { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 54px; height: 54px; transform: translate(-50%,-50%); display: grid; place-items: center; border: 3px solid #ffffffbf; border-radius: 50%; background: #059669e8; color: #fff; box-shadow: 0 12px 30px #053d3080; }
.gallery-square .gallery-play svg { display: none; }
.gallery-square .gallery-play::after { content: ""; margin-left: 3px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid #fff; }
.gallery-switch { width: fit-content; margin: 28px auto 0; padding: 5px; display: flex; align-items: center; gap: 5px; border: 1px solid #d4e3dd; border-radius: 16px; background: #fff; box-shadow: 0 13px 34px #173d3012; }
.gallery-switch a { min-width: 110px; min-height: 44px; padding: 0 22px; display: grid; place-items: center; border-radius: 11px; color: #50625b; font-size: 13px; font-weight: 900; transition: background .2s ease,color .2s ease,transform .2s ease; }
.gallery-switch a:hover { color: var(--primary); background: #edf8f3; }
.gallery-switch a.is-active { background: var(--primary); color: #fff; box-shadow: 0 9px 22px color-mix(in srgb,var(--primary) 26%,transparent); }
.gallery-video-library { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,560px)); justify-content:center; gap: clamp(16px,2vw,26px); }
.gallery-video-library-card { min-width: 0; }
.gallery-video-library-card > button { position: relative; width: 100%; aspect-ratio: 16/9; padding: 0; display: block; overflow: hidden; border: 0; border-radius: 20px; background: #082a21; cursor: pointer; box-shadow: 0 18px 44px #102e2518; }
.gallery-video-library-card > button::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%,#031b1570); }
.gallery-video-library-card img,.gallery-video-library-card video,.gallery-video-library-card .gallery-video-fallback { width:100%; height:100%; display:block; object-fit:cover; }
.gallery-video-library-card .gallery-video-fallback { display:grid; place-items:center; background:linear-gradient(135deg,#073f31,#096b52); }
.gallery-video-library-card .gallery-video-fallback img { width:70px; height:70px; object-fit:contain; }
.gallery-video-library-card .gallery-play { position:absolute; z-index:2; inset:50% auto auto 50%; width:52px; height:52px; transform:translate(-50%,-50%); display:grid; place-items:center; border:2px solid #ffffffbd; border-radius:50%; background:#059669eb; box-shadow:0 12px 30px #031d1685; }
.gallery-video-library-card .gallery-play::after { content:""; margin-left:4px; border-top:8px solid transparent; border-bottom:8px solid transparent; border-left:13px solid #fff; }
.gallery-video-library-card h2 { margin:13px 4px 4px; font-family:var(--serif); font-size:clamp(20px,2vw,28px); line-height:1.12; text-align:center; }
.gallery-video-library-card p { margin:0 4px; color:var(--muted); font-size:11px; text-align:center; }
.gallery-empty { margin:20px auto; padding:38px 20px; border:1px dashed #cbdcd5; border-radius:18px; background:#f7faf9; color:var(--muted); text-align:center; }
.gallery-share { width:min(100%,1180px); margin:clamp(28px,3vw,42px) auto 0; }
.gallery-archive-page + .site-footer { margin-top: 24px; }
.media-viewer { position: fixed; z-index: 1200; inset: 0; padding: 28px max(20px,3vw); display: grid; place-items: center; background: #031711f2; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.media-viewer.is-open { opacity: 1; visibility: visible; }
.media-viewer-content { min-width: 0; width:min(920px,100%); max-height: 88vh; margin: auto; display: grid; gap: 10px; }
.media-viewer-stage { width:100%; height:min(62vh,580px); min-height:0; display: grid; place-items: center; }
.media-viewer-stage img { width:auto; height:auto; max-width:100%; max-height:100%; border:0; border-radius:16px; object-fit:contain; background:#000; }
.media-viewer-stage video,.media-viewer-stage iframe { width:100%; height:100%; max-height:100%; border:0; border-radius:16px; object-fit:contain; background:#000; }
.media-viewer-stage iframe { aspect-ratio: 16/9; }
.media-viewer-content p { margin: 0; color: #fff; text-align: center; font-size: 12px; }
.media-viewer-close,.media-viewer-nav { border: 1px solid #ffffff42; display: grid; place-items: center; border-radius: 50%; background: #ffffff16; color: #fff; cursor: pointer; backdrop-filter: blur(10px); }
.media-viewer-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; font-size: 28px; }
.media-viewer-nav { width: 52px; height: 52px; font-size: 36px; }
.media-viewer-controls { display:flex; align-items:center; justify-content:center; gap:12px; }
body.media-viewer-open { position:fixed; inset-inline:0; width:100%; overflow:hidden; overscroll-behavior:none; }
@media (max-width: 860px) {
  .nav-wrap { width: 100% !important; max-width: none !important; margin-inline: 0 !important; padding-right: 10px !important; padding-left: 10px !important; }
  .site-logo { margin-left: 0; }
  body.menu-open::before { content: ""; position: fixed; z-index: 98; inset: 84px 0 0; background: #031b1580; backdrop-filter: blur(2px); }
  .main-nav {
    position: fixed !important;
    z-index: 99 !important;
    inset: 84px auto 0 0 !important;
    width: min(86vw, 370px) !important;
    height: calc(100dvh - 84px) !important;
    max-height: none !important;
    padding: 20px 14px calc(30px + env(safe-area-inset-bottom)) !important;
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-right: 1px solid #d9e5e0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: 24px 0 55px #06291f35 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-105%) !important;
    transition: transform .28s ease, opacity .2s ease, visibility .2s ease !important;
    scrollbar-width: thin;
    scrollbar-color: #f5a000 transparent;
  }
  .main-nav.is-open { opacity: 1 !important; visibility: visible !important; transform: translateX(0) !important; }
  .main-nav::-webkit-scrollbar { width: 4px; }
  .main-nav::-webkit-scrollbar-thumb { border-radius: 99px; background: #f5a000; }
  .main-nav::-webkit-scrollbar-button { display: none; }
  .main-nav > .nav-item,.main-nav > a { width: 100%; margin: 0 0 6px; }
  .main-nav > .nav-item > a,.main-nav > a { min-height: 48px; padding: 0 14px; display: flex; align-items: center; border-radius: 12px; font-size: 15px; }
  .main-nav > .nav-item.is-active > a,.main-nav > a:hover { background: #e9f6f1; color: var(--primary); }
  .main-nav .mobile-login { margin-top: 14px; background: #09261f; color: #fff; }
  .gallery-album-grid,.home-gallery-albums { grid-template-columns: repeat(2,minmax(0,310px)); justify-content:center; gap: 10px; }
  .gallery-album-card { border-radius: 16px; }
  .gallery-album-card > div { padding: 13px; }
  .gallery-album-card h2,.gallery-album-card h3 { font-size: clamp(17px,5vw,23px); }
  .gallery-media-grid { grid-template-columns: repeat(auto-fit,minmax(96px,1fr)); gap: 5px; }
  .gallery-detail-container { padding: 10px !important; }
  .gallery-square { border-radius: 8px; }
  .gallery-square .gallery-play { width: 42px; height: 42px; }
  .media-viewer { padding: 54px 10px 24px; }
  .media-viewer-content { width:min(92vw,760px); max-height:calc(100dvh - 90px); }
  .media-viewer-stage { height:min(56dvh,520px); min-height:0; }
  .media-viewer-nav { width: 42px; height: 42px; font-size: 30px; }
  .gallery-video-library { grid-template-columns:1fr; gap:24px; }
  .gallery-video-library-card > button { border-radius:14px; }
}
@media (max-width:620px) {
  .gallery-wide-container { padding:10px; }
  .gallery-album-grid,.home-gallery-albums { grid-template-columns:minmax(0,1fr); }
  .gallery-switch { margin-top:22px; }
  .gallery-switch a { min-width:100px; min-height:42px; padding-inline:18px; }
  .gallery-video-library { margin-inline:-5px; }
  .gallery-video-library-card h2 { font-size:20px; }
  .gallery-media-grid { grid-template-columns:repeat(auto-fit,minmax(92px,1fr)); }
}
@media (max-width: 860px) and (max-height: 560px) {
  body.menu-open::before { inset: 62px 0 0; }
  .main-nav { inset: 62px auto 0 0 !important; height: calc(100dvh - 62px) !important; padding-top: 8px !important; }
}

/* v1.3.8 — skala publik ringkas, kabar editorial, dan viewer adaptif */
.home-news-layout {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, .88fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
}
.home-news-lead {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(17, 57, 44, .08);
}
.home-news-lead-image {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--soft);
}
.home-news-lead-image img,
.home-news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.home-news-lead:hover img,
.home-news-item:hover img { transform: scale(1.035); }
.home-news-lead > div { padding: clamp(22px, 2.6vw, 34px); }
.home-news-label {
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.home-news-lead h3 {
  margin: 11px 0 12px;
  font-family: Georgia, serif;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.home-news-lead p,
.home-news-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.home-news-lead p { font-size: 13px; }
.home-news-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: #7b8c85;
  font-size: 10px;
  font-weight: 750;
}
.home-news-meta span,
.home-news-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.home-news-meta svg,
.home-news-time svg { width: 14px; height: 14px; }
.home-news-read {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}
.home-news-read svg,
.home-news-all svg { width: 16px; height: 16px; }
.home-news-side {
  min-width: 0;
  padding: 2px 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr)) auto;
  align-content: stretch;
}
.home-news-item {
  min-width: 0;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.home-news-item:first-child { padding-top: 0; }
.home-news-item-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--soft);
}
.home-news-item .fallback-mark { width: 42px; height: 42px; border-radius: 16px 16px 7px 7px; }
.home-news-item h3 {
  margin: 0 0 7px;
  font-family: Georgia, serif;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.12;
}
.home-news-item p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 10px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.home-news-time { margin-top: 8px; color: #83928d; font-size: 9px; font-weight: 750; }
.home-news-all {
  min-height: 44px;
  margin-top: 14px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

@media (min-width: 861px) {
  .nav-wrap { min-height: 78px; }
  .site-logo img.brand-logo-full { width: clamp(158px, 14vw, 190px); height: 68px; }
  .main-nav { gap: 22px; }
  .hero { min-height: 700px; padding: 112px 0 68px; }
  .hero-layout { gap: 58px; }
  .hero-title { font-size: clamp(50px, 4.8vw, 70px); }
  .section { padding: 88px 0; }
  .section-heading h2 { font-size: clamp(38px, 4.3vw, 56px); }
  .inner-hero { min-height: 430px; padding: 126px 0 64px; }
  .inner-hero h1 { font-size: clamp(43px, 5.4vw, 66px); }
  .archive-hero { padding: 128px 0 58px; }
  .archive-hero h1 { font-size: clamp(43px, 5.4vw, 66px); }
  .article-shell.post-detail {
    width: min(1120px, calc(100% - 56px));
    max-width: 1120px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 340px);
    column-gap: clamp(32px, 4vw, 54px);
  }
  .post-detail > .article-cover { max-height: min(57vh, 570px); }
  .post-detail > .prose { font-size: 15px; line-height: 1.82; }
  .post-detail > .related-news { top: 96px; }
}

.video-lightbox { padding: 64px max(34px, 6vw) 28px; }
.video-lightbox-dialog {
  width: min(900px, calc(100vw - 140px), calc((100dvh - 170px) * 1.7778));
  max-height: calc(100dvh - 92px);
  display: grid;
  grid-template-rows: minmax(0, auto) auto;
  gap: 12px;
}
.video-lightbox-frame { max-height: calc(100dvh - 170px); border-radius: 18px; }
.video-lightbox-dialog h3 { margin: 0; font-size: clamp(17px, 1.8vw, 24px); }
body.video-open {
  position: fixed;
  inset-inline: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
.media-viewer { padding: 60px max(34px, 6vw) 24px; }
.media-viewer-content {
  width: min(900px, calc(100vw - 140px));
  height: min(780px, calc(100dvh - 84px));
  max-height: calc(100dvh - 84px);
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 10px;
}
.media-viewer-stage { width: 100%; height: auto; min-height: 0; }
.media-viewer-stage img,
.media-viewer-stage video,
.media-viewer-stage iframe {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.media-viewer-stage video,
.media-viewer-stage iframe { width: 100%; aspect-ratio: 16 / 9; }
.media-viewer-controls { position: static !important; transform: none !important; }
html:has(body.video-open),
html:has(body.media-viewer-open) { overflow: hidden; }

@media (max-width: 860px) {
  .home-news-layout { grid-template-columns: 1fr; gap: 24px; }
  .home-news-side { grid-template-rows: none; }
  .video-lightbox { padding: 58px 10px 18px; }
  .video-lightbox-dialog { width: min(92vw, 760px); max-height: calc(100dvh - 82px); }
  .video-lightbox-frame { max-height: calc(100dvh - 145px); }
  .media-viewer { padding: 54px 10px 24px; }
  .media-viewer-content { width: min(92vw, 760px); height: min(72dvh, 650px); max-height: calc(100dvh - 90px); }
  .media-viewer-stage { height: auto; min-height: 0; }
}

@media (max-width: 620px) {
  .home-news .container { width: calc(100% - 20px); }
  .home-news-layout { margin-top: 28px; }
  .home-news-lead { border-radius: 18px; }
  .home-news-lead-image { aspect-ratio: 16 / 9; }
  .home-news-lead > div { padding: 19px; }
  .home-news-lead h3 { font-size: clamp(25px, 8.5vw, 34px); }
  .home-news-lead p { font-size: 12px; }
  .home-news-item { grid-template-columns: minmax(112px, 40%) minmax(0, 1fr); gap: 13px; padding: 12px 0; }
  .home-news-item h3 { font-size: clamp(16px, 5vw, 20px); }
  .home-news-item p { font-size: 9px; }
  .home-news-all { margin-top: 16px; }
  .video-lightbox-dialog { width: calc(100vw - 20px); }
  .video-lightbox-frame { border-radius: 14px; }
  .media-viewer-content { width: calc(100vw - 20px); height: min(73dvh, 620px); }
}

/* v1.3.10 — viewer berbasis visual viewport dan header transparan */
.site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: rgba(14, 82, 59, .1);
  box-shadow: 0 10px 35px rgba(15, 67, 50, .08);
  backdrop-filter: blur(20px);
}
.media-viewer {
  --viewer-image-max-height: 58dvh;
  --viewer-content-max-width: 960px;
  padding: max(62px, 6dvh) max(12px, 4vw) max(24px, 4dvh);
  place-items: center;
  overflow: hidden;
}
.media-viewer-content {
  width: min(var(--viewer-content-max-width), 100%);
  height: auto;
  max-height: calc(100dvh - 100px);
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: visible;
}
.media-viewer-stage {
  flex: 0 1 auto;
  width: 100%;
  height: auto;
  max-height: var(--viewer-image-max-height);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.media-viewer-stage img,
.media-viewer-stage video,
.media-viewer-stage iframe {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: var(--viewer-image-max-height) !important;
  object-fit: contain !important;
}
.media-viewer-stage video,
.media-viewer-stage iframe {
  width: min(100%, calc(var(--viewer-image-max-height) * 1.7778)) !important;
  aspect-ratio: 16 / 9;
}
.media-viewer-footer {
  position: static !important;
  flex: 0 0 auto;
  width: 100%;
  min-height: 68px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
}
.media-viewer-footer .media-viewer-controls,
.media-viewer-footer > p,
.media-viewer-footer .media-viewer-nav {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}
.media-viewer-footer > p { margin: 0; }

@media (max-width: 860px) {
  .media-viewer { padding: max(56px, 5dvh) 12px max(18px, 3dvh); }
  .media-viewer-content { max-height: calc(100dvh - 76px); }
  .media-viewer-footer { min-height: 62px; }
}

@media (max-width: 620px) {
  .media-viewer { padding-inline: 12px; }
  .media-viewer-content { width: min(var(--viewer-content-max-width), 100%); }
  .media-viewer-footer { min-height: 58px; gap: 4px; }
  .media-viewer-nav { width: 40px; height: 40px; font-size: 28px; }
}

/* v1.3.11 — bahasa publik, mode gelap, RTL, dan scroll menu stabil */
.public-tools {
  position: relative;
  z-index: 1002;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.language-switcher { position: relative; }
.public-tool-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--line));
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ink);
  box-shadow: 0 9px 24px rgba(8, 72, 54, .1);
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.public-tool-button:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 72, 54, .16);
}
.public-tool-button:active { transform: scale(.94); }
.public-tool-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.language-toggle { position: relative; }
.language-toggle span {
  position: absolute;
  right: -3px;
  bottom: -3px;
  min-width: 20px;
  height: 16px;
  padding: 0 4px;
  border: 2px solid var(--surface);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: .04em;
}
.language-menu {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 10px);
  right: 0;
  width: 178px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.language-menu[hidden] { display: none; }
.language-menu button {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.language-menu button:hover,
.language-menu button.is-active { background: var(--primary-soft); color: var(--primary); }
.language-menu button span {
  width: 30px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
  font-size: 8px;
  font-weight: 950;
}
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }

html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .site-logo img.brand-logo-full { object-position: right center; }
html[dir="rtl"] .main-nav { margin-right: auto; margin-left: 0; }
html[dir="rtl"] .main-nav a::after { transform-origin: left; }
html[dir="rtl"] .main-nav a:hover::after,
html[dir="rtl"] .nav-item.is-active > a::after { transform-origin: right; }
html[dir="rtl"] .nav-sub-toggle { margin-right: 3px; margin-left: 0; }
html[dir="rtl"] .submenu { right: -18px; left: auto; text-align: right; }
html[dir="rtl"] .language-menu { right: auto; left: 0; }
html[dir="rtl"] .language-menu button { text-align: right; }
html[dir="rtl"] .nav-cta svg,
html[dir="rtl"] .mobile-login svg,
html[dir="rtl"] .back-link svg,
html[dir="rtl"] .text-link svg,
html[dir="rtl"] .home-news-read svg,
html[dir="rtl"] .home-news-all svg,
html[dir="rtl"] .round-link svg { transform: scaleX(-1); }

html[data-theme="dark"] {
  color-scheme: dark;
  --primary: #4bddaa !important;
  --primary-dark: #22b984;
  --primary-soft: #153d31;
  --accent-soft: #4a3913;
  --ink: #f3faf7;
  --muted: #b8cbc3;
  --surface: #10251e;
  --soft: #153129;
  --line: #315247;
  --shadow: 0 25px 70px rgba(0, 0, 0, .38);
}
html[data-theme="dark"] body { background: #071711; color: var(--ink); }
html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(7, 23, 17, .94);
  border-bottom-color: rgba(126, 220, 184, .16);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .28);
}
html[data-theme="dark"] .site-logo:not(.inverse) {
  padding-inline: 7px;
  border-radius: 16px;
  background: rgba(250, 253, 252, .94);
}
html[data-theme="dark"] .main-nav a { color: #e9f5f0; }
html[data-theme="dark"] .nav-item.is-active > a,
html[data-theme="dark"] .main-nav a:hover { color: var(--primary); }
html[data-theme="dark"] .submenu,
html[data-theme="dark"] .language-menu { background: rgba(13, 36, 28, .98); }
html[data-theme="dark"] .nav-cta,
html[data-theme="dark"] .main-nav .mobile-login { background: var(--accent); color: #10231d; }
html[data-theme="dark"] .nav-toggle {
  border-color: #3b6255;
  background: linear-gradient(145deg, #18382e, #0d241c);
  box-shadow: 0 9px 24px rgba(0, 0, 0, .28), inset 0 1px rgba(255,255,255,.08);
}
html[data-theme="dark"] .nav-toggle[aria-expanded="true"] { background: #173a2e; }
html[data-theme="dark"] .nav-toggle-lines i { background: #f5fbf8; }
html[data-theme="dark"] .public-tool-button {
  border-color: #4a7667;
  background: rgba(14, 42, 32, .88);
  color: #f7fcfa;
  box-shadow: 0 9px 24px rgba(0,0,0,.24);
}
html[data-theme="dark"] .language-toggle span { border-color: #10251e; color: #071711; }
html[data-theme="dark"] .hero {
  background: radial-gradient(circle at 78% 18%, rgba(42, 139, 105, .23), transparent 32%), linear-gradient(155deg, #081a14, #0d251c 48%, #071711);
}
html[data-theme="dark"] .hero-grid-bg { opacity: .22; }
html[data-theme="dark"] :where(.marquee,.news,.collaborate) { background: #071711; }
html[data-theme="dark"] .marquee-track span { color: #c9ddd5; }
html[data-theme="dark"] .floating-note { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] :where(.about,.programs,.home-donations,.home-news,.gallery,.team,.documents,.journey-map-section,.archive-page,.gallery-section,.section) {
  color: var(--ink);
}
html[data-theme="dark"] :where(.about,.home-news,.team,.journey-map-section,.archive-page,.gallery-section) { background-color: #071711; }
html[data-theme="dark"] :where(.programs,.home-donations,.gallery,.documents,.archive-hero,.inner-hero) { background-color: #0b2119; }
html[data-theme="dark"] .archive-hero,
html[data-theme="dark"] .inner-hero { background-image: linear-gradient(145deg, #102d23, #081a14); }
html[data-theme="dark"] :where(.section-heading p,.hero-lead,.about-copy p,.archive-hero p,.inner-hero p,.home-news-item p,.home-news-lead p,.gallery-album-card p,.team-card p,.document-card p,.article-meta,.prose p,.prose li,.related-news small,.gallery-breadcrumb) {
  color: var(--muted) !important;
}
html[data-theme="dark"] :where(.value-card,.home-news-lead,.news-card,.home-donation-card,.gallery-album-card,.team-card,.document-card,.document-item,.related-news,.article-shell,.gallery-empty,.journey-map-shell,.volunteer-card,.donation-result-card,.donation-step,.collab-form) {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 20px 55px rgba(0,0,0,.2);
}
html[data-theme="dark"] :where(.gallery-album-card h2,.gallery-album-card h3,.news-card h3,.home-news-item h3,.home-news-lead h3,.related-news strong,.volunteer-card-body h2 a,.volunteer-detail-meta strong,.prose h1,.prose h2,.prose h3,.prose strong) { color: var(--ink); }
html[data-theme="dark"] :where(.archive-search input,.collab-form input,.collab-form select,.collab-form textarea,.participation-fields input,.participation-fields textarea,.donation-step input,.donation-step select,.donation-step textarea) {
  border-color: var(--line);
  background: #0a1d17;
  color: #f5fbf8;
}
html[data-theme="dark"] :where(input,textarea)::placeholder { color: #8da59b; opacity: 1; }
html[data-theme="dark"] .gallery-switch { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .gallery-switch a { color: #cfe0da; }
html[data-theme="dark"] :where(.gallery-switch a.is-active,.button.primary,.home-donation-card .button,.infaq-primary,.donation-submit) { color: #071711; }
html[data-theme="dark"] .program-card.card-green { color: #062018; }
html[data-theme="dark"] .program-card.card-gold { color: #17231f; }
html[data-theme="dark"] .program-card.card-ink { background: #030d0a; color: #f4fbf8; }
html[data-theme="dark"] :where(.button.outline,.button.ghost,.home-news-all,.article-share button) { border-color: #41685a; color: #dcf1e9; background: transparent; }
html[data-theme="dark"] .site-footer { border-top-color: #23473a; }
html[data-theme="dark"] .preloader { background: #04110d; }

@media (max-width: 1040px) and (min-width: 861px) {
  .nav-wrap { gap: 14px; }
  .public-tool-button { width: 40px; height: 40px; }
  .main-nav { gap: 10px; }
}

@media (max-width: 860px) {
  html.menu-locked,
  body.menu-open { overflow: hidden !important; overscroll-behavior: none; }
  body.menu-open { position: static !important; inset: auto !important; width: auto !important; }
  .public-tools { gap: 6px; }
  .public-tool-button { width: 40px; height: 40px; }
  .public-tool-button svg { width: 19px; height: 19px; }
  html[dir="rtl"] .nav-toggle { margin-right: auto; margin-left: 0; }
  html[dir="rtl"] .main-nav {
    inset: 84px 0 0 auto !important;
    border-right: 0 !important;
    border-left: 1px solid #d9e5e0 !important;
    box-shadow: -24px 0 55px rgba(6, 41, 31, .28) !important;
    text-align: right;
    transform: translateX(105%) !important;
  }
  html[dir="rtl"] .main-nav.is-open { transform: translateX(0) !important; }
  html[dir="rtl"] .main-nav > .nav-item > a,
  html[dir="rtl"] .main-nav > a { justify-content: flex-start; text-align: right; }
  html[data-theme="dark"] .main-nav {
    border-color: #315247 !important;
    background: #0b2119 !important;
    box-shadow: 24px 0 55px rgba(0, 0, 0, .45) !important;
  }
  html[data-theme="dark"][dir="rtl"] .main-nav { box-shadow: -24px 0 55px rgba(0, 0, 0, .45) !important; }
  html[data-theme="dark"] .main-nav > .nav-item.is-active > a,
  html[data-theme="dark"] .main-nav > a:hover { background: #153d31; color: #70e8ba; }
}

@media (max-width: 620px) {
  .site-logo img.brand-logo-full { width: min(35vw, 132px); }
  .nav-wrap { gap: 7px; }
  .public-tool-button { width: 38px; height: 38px; }
  .nav-toggle { flex-basis: 42px; width: 42px; height: 42px; }
  .language-menu { width: 168px; }
}

@media (max-width: 860px) and (max-height: 560px) {
  html[dir="rtl"] .main-nav { inset: 62px 0 0 auto !important; }
}

/* v1.3.12 — arsip kabar ringkas dan terjemahan internal */
.news-archive-hero {
  padding: 122px 0 42px;
}
.news-archive-hero .container {
  text-align: center;
}
.news-archive-hero p {
  margin-inline: auto;
}
.news-archive-section {
  padding-top: 36px;
}
.news-archive-section .archive-search {
  margin-bottom: 32px;
}

@media (max-width: 860px) {
  .news-archive-hero { padding: 112px 0 34px; }
  .news-archive-section { padding-top: 28px; }
}

@media (max-width: 620px) {
  .news-archive-hero { padding: 104px 0 30px; }
  .news-archive-hero h1 { font-size: clamp(42px, 14vw, 58px); }
  .news-archive-section { padding-top: 24px; }
  .news-archive-section .archive-search { margin-bottom: 26px; }
}

/* v1.3.13 — profil dan karya pengurus, serta modal donasi stabil */
.team-card {
  padding: 14px 14px 18px;
  overflow: hidden;
}
.team-profile-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.team-photo {
  aspect-ratio: 4 / 5;
}
.team-photo img {
  object-fit: contain;
  object-position: center bottom;
}
.team-card h3 {
  margin: 15px 0 4px;
}
.team-card-contacts {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.team-card-contacts a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 41, 31, .14);
  transition: transform .2s ease, filter .2s ease;
}
.team-card-contacts a:hover { transform: translateY(-2px); filter: brightness(1.06); }
.team-card-contacts svg { width: 17px; height: 17px; }
.team-contact-email { background: #f59f00; }
.team-contact-phone { background: #087f5b; }

.team-profile-page {
  min-height: 70vh;
  background: radial-gradient(circle at 90% 5%, rgba(245,185,64,.13), transparent 28%), #f8fbfa;
}
.team-profile-hero { padding: 128px 0 58px; }
.team-profile-breadcrumb {
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #6c7b75;
  font-size: 12px;
}
.team-profile-breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 800; }
.team-profile-layout {
  display: grid;
  grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(38px, 6vw, 82px);
}
.team-profile-portrait {
  min-height: 410px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #dbe7e2;
  border-radius: 30px;
  background: linear-gradient(155deg, #fff, #e8f5ef);
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 84px;
  box-shadow: 0 28px 75px rgba(19, 69, 51, .12);
}
.team-profile-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.team-profile-copy { padding-top: 8px; }
.team-profile-copy h1 {
  max-width: 900px;
  margin: 8px 0 7px;
  font-family: Georgia, serif;
  font-size: clamp(38px, 5vw, 67px);
  line-height: 1.02;
  color: var(--ink);
}
.team-profile-position { margin: 0; color: #52635c; font-size: 15px; }
.team-profile-position strong { color: var(--primary); }
.team-profile-contacts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.team-profile-contacts a {
  min-height: 43px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.team-profile-contacts a.is-email { background: #f59f00; }
.team-profile-contacts a.is-phone { background: #087f5b; }
.team-profile-contacts svg { width: 17px; height: 17px; flex: 0 0 auto; }
.team-profile-bio { margin-top: 36px; padding-top: 25px; border-top: 1px solid #d7e4df; }
.team-profile-bio h2 { margin: 0 0 14px; font-size: 22px; }
.team-profile-bio h2::after { content: ""; width: 54px; height: 2px; margin-top: 10px; display: block; background: var(--primary); }
.team-profile-bio p { max-width: 900px; margin: 0; color: #4d5e57; font-size: 15px; line-height: 1.85; }
.team-work-section { padding-top: 55px; background: #fff; }
.team-work-section .section-heading p { margin-inline: auto; }
.team-work-tabs {
  width: min(680px, 100%);
  margin: 36px auto 30px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border: 1px solid #dce7e3;
  border-radius: 18px;
  background: #f5f8f7;
}
.team-work-tabs button {
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #33463e;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}
.team-work-tabs button span { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 20px; background: #e2ebe7; font-size: 10px; }
.team-work-tabs button.is-active { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(8,127,91,.2); }
.team-work-tabs button.is-active span { background: rgba(255,255,255,.18); }
.team-work-panel { display: none; }
.team-work-panel.is-active { display: block; animation: team-work-in .25s ease; }
@keyframes team-work-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.team-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team-work-card { overflow: hidden; border: 1px solid #dce7e3; border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(19,69,51,.08); }
.team-work-card > img, .team-work-cover { width: 100%; height: 210px; }
.team-work-card > img { display: block; object-fit: cover; }
.team-work-cover { display: grid; place-items: center; align-content: center; gap: 12px; background: linear-gradient(145deg, #0b553f, #087f5b); color: #fff; }
.team-work-cover svg { width: 42px; height: 42px; }
.team-work-cover span { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.team-work-body { padding: 21px; }
.team-work-body > span { color: var(--primary); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.team-work-body h3 { margin: 8px 0 10px; font-size: 20px; line-height: 1.25; }
.team-work-body p { margin: 0 0 18px; color: #62716b; font-size: 12px; line-height: 1.7; }
.team-work-links { display: flex; flex-wrap: wrap; gap: 8px; }
.team-work-links a { min-height: 38px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #cfe0d9; border-radius: 10px; color: var(--primary); text-decoration: none; font-size: 10px; font-weight: 850; }
.team-work-links svg { width: 15px; height: 15px; }
.team-work-empty { padding: 48px 20px; border: 1px dashed #c9dad3; border-radius: 22px; color: #6b7b74; background: #f8fbfa; text-align: center; }

html.donation-modal-locked,
body.donation-modal-open { overflow: hidden !important; overscroll-behavior: none; }
body.donation-modal-open { position: fixed !important; left: 0; right: 0; width: 100%; }
.donation-modal {
  inset: auto 0 auto 0 !important;
  top: var(--donation-viewport-offset, 0px) !important;
  width: 100%;
  height: var(--donation-viewport-height, 100dvh);
  min-height: 320px;
  padding: max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom)) !important;
  place-items: center !important;
  overflow: hidden !important;
}
.donation-dialog {
  width: min(760px, 100%) !important;
  max-height: calc(var(--donation-viewport-height, 100dvh) - max(24px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom))) !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr);
}
.donation-dialog form { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.donation-dialog header button {
  position: relative;
  flex: 0 0 auto;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
}
.donation-dialog header button::before {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  background:
    linear-gradient(45deg, transparent 44%, currentColor 45%, currentColor 55%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 45%, currentColor 55%, transparent 56%);
}
.lightbox > button,
.video-lightbox-close,
.media-viewer-close {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
}
.lightbox > button::before,
.video-lightbox-close::before,
.media-viewer-close::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background:
    linear-gradient(45deg, transparent 44%, currentColor 45%, currentColor 55%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 45%, currentColor 55%, transparent 56%);
}
.lightbox > button { width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(255,255,255,.08); }

html[data-theme="dark"] .team-profile-page { background: radial-gradient(circle at 90% 5%, rgba(245,185,64,.1), transparent 28%), #071711; }
html[data-theme="dark"] .team-profile-portrait,
html[data-theme="dark"] .team-work-card,
html[data-theme="dark"] .team-work-tabs,
html[data-theme="dark"] .team-work-empty { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .team-work-section { background: #0b2119; }
html[data-theme="dark"] .team-profile-bio { border-color: var(--line); }
html[data-theme="dark"] :where(.team-profile-position,.team-profile-bio p,.team-work-body p,.team-work-empty) { color: var(--muted); }
html[data-theme="dark"] .team-work-tabs button { color: #dbeae4; }
html[data-theme="dark"] .team-work-tabs button.is-active { color: #071711; }

html[dir="rtl"] .team-profile-bio h2::after { margin-right: 0; margin-left: auto; }

/* Informasi terkini beranda — v1.3.15 */
html.announcement-locked { overflow: hidden !important; overscroll-behavior: none; }
body.announcement-open { position: fixed !important; inset-inline: 0; width: 100%; overflow: hidden !important; }
.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: none;
  place-items: center;
  padding: max(22px, env(safe-area-inset-top)) 16px max(22px, env(safe-area-inset-bottom));
  overflow: hidden;
  background: rgba(2, 27, 20, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.announcement-modal.is-open { display: grid; animation: announcement-fade .24s ease both; }
.announcement-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100dvh - max(44px, env(safe-area-inset-top)) - max(44px, env(safe-area-inset-bottom)));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 28px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(0, 22, 16, .42);
  animation: announcement-rise .3s cubic-bezier(.2,.75,.25,1) both;
}
.announcement-visual {
  min-height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: color-mix(in srgb, var(--primary) 7%, var(--surface));
}
.announcement-visual img {
  width: 100%;
  max-height: min(49dvh, 540px);
  object-fit: contain;
  object-position: center;
}
.announcement-content { padding: clamp(22px, 4vw, 32px); text-align: center; }
.announcement-content .eyebrow { justify-content: center; }
.announcement-content h2 {
  margin: 10px auto 11px;
  font-family: Georgia, serif;
  font-size: clamp(27px, 5vw, 40px);
  line-height: 1.08;
}
.announcement-content p {
  max-width: 470px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}
.announcement-cta { margin-top: 21px; min-width: min(230px, 100%); justify-content: center; }
.announcement-close {
  position: absolute;
  z-index: 2;
  top: 13px;
  inset-inline-end: 13px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: rgba(4,35,27,.78);
  color: #fff;
  box-shadow: 0 8px 26px rgba(0,0,0,.22);
  cursor: pointer;
  font-size: 0;
}
.announcement-close::before {
  content: "";
  width: 17px;
  height: 17px;
  background:
    linear-gradient(45deg, transparent 44%, currentColor 45%, currentColor 55%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 45%, currentColor 55%, transparent 56%);
}
html[data-theme="dark"] .announcement-dialog { border-color: rgba(255,255,255,.13); background: #0b2119; }
html[data-theme="dark"] .announcement-visual { background: #102c22; }
html[data-theme="dark"] .announcement-content p { color: #c1d3cc; }
@keyframes announcement-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes announcement-rise { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .team-profile-hero { padding: 112px 0 48px; }
  .team-profile-layout { grid-template-columns: minmax(190px, 260px) minmax(0, 1fr); gap: 30px; }
  .team-profile-portrait { min-height: 330px; }
  .team-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .announcement-modal { padding-inline: 10px; }
  .announcement-dialog { width: min(100%, 480px); border-radius: 22px; }
  .announcement-visual img { max-height: min(45dvh, 440px); }
  .announcement-content { padding: 20px 17px 22px; }
  .announcement-content h2 { font-size: clamp(25px, 8vw, 34px); }
  .announcement-content p { font-size: 13px; line-height: 1.65; }
  .announcement-close { top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .team-card { padding: 8px 8px 13px; border-radius: 18px; }
  .team-card h3 { margin-top: 11px; font-size: clamp(13px, 3.8vw, 16px); line-height: 1.2; }
  .team-card p { min-height: 2.5em; font-size: 10px; line-height: 1.25; }
  .team-card-contacts { margin-top: 9px; gap: 6px; }
  .team-card-contacts a { width: 34px; height: 34px; }
  .team-card-contacts svg { width: 15px; height: 15px; }
  .team-profile-hero { padding: 102px 0 38px; }
  .team-profile-breadcrumb { margin-bottom: 20px; font-size: 10px; }
  .team-profile-layout { grid-template-columns: 1fr; gap: 25px; }
  .team-profile-portrait { width: min(78vw, 300px); min-height: 0; margin-inline: auto; border-radius: 24px; }
  .team-profile-copy { padding-top: 0; text-align: center; }
  .team-profile-copy h1 { font-size: clamp(34px, 10vw, 48px); }
  .team-profile-contacts { justify-content: center; }
  .team-profile-contacts a { width: 44px; padding: 0; justify-content: center; }
  .team-profile-contacts a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .team-profile-bio { margin-top: 28px; text-align: left; }
  html[dir="rtl"] .team-profile-bio { text-align: right; }
  .team-profile-bio p { font-size: 13px; line-height: 1.75; }
  .team-work-section { padding-top: 45px; }
  .team-work-tabs { margin-top: 28px; padding: 4px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .team-work-tabs button { min-height: 50px; padding: 6px 4px; gap: 4px; flex-wrap: wrap; font-size: 10px; line-height: 1.15; }
  .team-work-tabs button span { min-width: 19px; height: 19px; padding: 0 5px; }
  .team-work-grid { grid-template-columns: 1fr; }
  .team-work-card > img, .team-work-cover { height: 190px; }
  .donation-modal { padding: max(10px, env(safe-area-inset-top)) 8px max(10px, env(safe-area-inset-bottom)) !important; }
  .donation-dialog { width: min(100%, 520px) !important; max-height: calc(var(--donation-viewport-height, 100dvh) - max(20px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-bottom))) !important; border-radius: 22px !important; }
  .donation-dialog > header { padding: 14px 16px !important; }
  .donation-dialog header h2 { font-size: 18px; }
  .donation-dialog header button { width: 36px !important; height: 36px !important; }
  .donation-dialog form { padding: 11px !important; gap: 10px; }
  .donation-step { padding: 14px !important; }
}
