/* YKM Design System — quiet, credible, human-centered */
:root {
  --ykm-forest: #17483F;
  --ykm-forest-deep: #123A30;
  --ykm-green: #277264;
  --ykm-green-soft: #E9EFE8;
  --ykm-clay: #925033;
  --ykm-clay-deep: #985039;
  --ykm-paper: #F8F6F0;
  --ykm-white: #FFFFFF;
  --ykm-ink: #253A34;
  --ykm-muted: #495F55;
  --ykm-line: #D8DFD6;
  --ykm-radius-card: 16px;
  --ykm-radius-action: 10px;
  --ykm-shadow: 0 14px 38px rgba(16, 58, 51, .075);
  --ykm-shadow-soft: 0 5px 18px rgba(16, 58, 51, .045);
}

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--ykm-paper);
  color: var(--ykm-ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .font-heading {
  color: var(--ykm-forest-deep);
  font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1 { font-weight: 700; }
h2 { font-weight: 650; }
p { text-wrap: pretty; }
a { text-underline-offset: .22em; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
::selection { background: #D8E9DF; color: var(--ykm-forest-deep); }
main { overflow-x: clip; }
main section[id] { scroll-margin-top: 6.5rem; }
main img { background: #EDF2ED; }
main figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
main figure { background: #EDF2ED; }
main section h2 { line-height: 1.22; letter-spacing: -.04em; }
main section h3 { line-height: 1.3; letter-spacing: -.025em; }

:focus-visible {
  outline: 3px solid #C77A5D;
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--ykm-forest-deep);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

/* Shared navigation */
#site-header { position: relative; z-index: 60; }
#site-header .site-topbar {
  background: var(--ykm-forest-deep);
  color: #DDEAE3;
  font-size: .76rem;
  letter-spacing: .01em;
}
#site-header .site-topbar a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
#site-header .site-topbar a:hover { text-decoration: underline; }
#site-header .site-header-main {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--ykm-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#site-header .site-header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
#site-header .site-brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-width: 0;
  text-decoration: none;
}
#site-header .site-brand-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ykm-forest-deep);
  color: #fff;
  font: 700 .95rem 'Poppins', sans-serif;
  letter-spacing: -.06em;
  box-shadow: 0 5px 14px rgba(16,58,51,.12);
}
#site-header .site-brand-name {
  display: block;
  color: var(--ykm-forest-deep);
  font: 700 .95rem/1.25 'Poppins', sans-serif;
  letter-spacing: -.035em;
}
#site-header .site-brand-sub {
  display: block;
  margin-top: .15rem;
  color: var(--ykm-muted);
  font-size: .67rem;
  line-height: 1.35;
}
#site-header .site-nav-desktop {
  display: none;
  align-items: center;
  gap: .12rem;
}
#site-header .site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .5rem .65rem;
  border-radius: 9px;
  color: #4E6259;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
#site-header .site-nav-link:hover,
#site-header .site-nav-link[aria-current="page"] {
  background: var(--ykm-green-soft);
  color: var(--ykm-forest-deep);
}
#site-header .site-header-actions { display: none; align-items: center; }
#site-header .site-header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: .62rem 1rem;
  border-radius: 10px;
  background: var(--ykm-forest);
  color: #fff;
  font-size: .77rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
#site-header .site-header-actions a:hover {
  background: var(--ykm-forest-deep);
  transform: translateY(-1px);
}
#site-header .site-mobile-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ykm-line);
  border-radius: 11px;
  background: #fff;
  color: var(--ykm-forest-deep);
}
#site-header #mobile-menu {
  max-height: calc(100dvh - 5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--ykm-line);
  background: #fff;
  padding: .75rem 1rem 1.1rem;
  box-shadow: 0 18px 30px rgba(16,58,51,.10);
}
#site-header #mobile-menu[hidden] { display: none !important; }
#site-header #mobile-menu a {
  min-height: 47px;
  display: flex;
  align-items: center;
  padding: .65rem .8rem;
  border-radius: 10px;
  color: var(--ykm-ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
#site-header #mobile-menu a[aria-current="page"] {
  background: var(--ykm-green-soft);
  color: var(--ykm-forest-deep);
}
#site-header .mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-top: .75rem;
  padding-top: .9rem;
  border-top: 1px solid var(--ykm-line);
}
#site-header .mobile-menu-actions a {
  justify-content: center;
  min-height: 45px;
}

/* Home and inner-page introductions */
.home-hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(3.2rem, 7vw, 6rem) !important;
  padding-bottom: clamp(3.4rem, 7vw, 6rem) !important;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(213,231,218,.65), transparent 32%),
    linear-gradient(135deg, #EEF4EE 0%, #F8F6F0 66%, #F3F0E9 100%) !important;
}
.home-hero h1 {
  max-width: 760px;
  color: var(--ykm-forest-deep);
  font-size: clamp(2.25rem, 4.2vw, 3.8rem) !important;
  line-height: 1.13 !important;
  letter-spacing: -.055em;
}
.home-hero p { max-width: 660px; color: #53645C; }
.home-hero figure {
  overflow: hidden;
  border: 6px solid rgba(255,255,255,.88);
  border-radius: 22px !important;
  box-shadow: var(--ykm-shadow);
  transform: none;
}
.home-hero figure img { border-radius: 16px; }
.home-hero .btn-teal,
.home-hero .btn-primary-cta {
  min-height: 53px;
  padding-inline: 1.35rem;
  border-radius: 11px;
}
main > section:first-child:not(.home-hero):not([class*="text-white"]) {
  position: relative;
  padding-top: clamp(2.8rem, 5vw, 4.4rem) !important;
  padding-bottom: clamp(2.8rem, 5vw, 4.4rem) !important;
  background:
    radial-gradient(ellipse at 90% 5%, rgba(213,231,218,.5), transparent 32%),
    linear-gradient(135deg, #EFF4EF 0%, #F8F6F0 100%) !important;
  border-bottom: 1px solid var(--ykm-line);
}
main > section:first-child:not(.home-hero):not([class*="text-white"]) h1 {
  max-width: 900px;
  color: var(--ykm-forest-deep);
  font-size: clamp(2rem, 4vw, 3.05rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -.05em;
}
main > section:first-child:not(.home-hero):not([class*="text-white"]) p {
  max-width: 760px;
  color: #5B6C64;
  font-size: clamp(.98rem, 1.3vw, 1.1rem);
}
main > section:first-child[class*="text-white"] {
  background: var(--ykm-forest-deep) !important;
}
main > section:first-child[class*="text-white"] h1 { color: #fff; }
main > section:first-child[class*="text-white"] p { color: #E0ECE5; }

/* Cards and section rhythm */
main article,
main .bg-white.rounded-2xl,
main .bg-white.rounded-3xl {
  border-color: var(--ykm-line);
  box-shadow: var(--ykm-shadow-soft);
}
main article {
  border-radius: var(--ykm-radius-card);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
main article:hover {
  border-color: #C5D8CC;
  box-shadow: var(--ykm-shadow);
  transform: translateY(-2px);
}
main .rounded-3xl { border-radius: var(--ykm-radius-card); }
main .rounded-2xl { border-radius: 16px; }
main .text-\[\#475569\] { color: var(--ykm-muted) !important; }
main .text-\[\#0A3D3F\] { color: var(--ykm-forest-deep) !important; }
main .text-\[\#0F5C5E\] { color: var(--ykm-green) !important; }
main .bg-\[\#EDF6F6\] { background-color: var(--ykm-green-soft) !important; }
main .border-\[\#D8E2E2\] { border-color: var(--ykm-line) !important; }
main figure { border-color: var(--ykm-line); }
main figure img { transition: transform .4s ease; }
main figure a { display: block; overflow: hidden; }
main figure a:hover img { transform: scale(1.025); }

/* Actions */
.btn-primary-cta, .btn-teal, .btn-outline-teal,
main a[class*="btn-"] {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn-primary-cta { background: var(--ykm-clay); color: #fff; }
.btn-primary-cta:hover {
  background: var(--ykm-clay-deep);
  color: #fff;
  box-shadow: 0 7px 18px rgba(185,103,73,.16);
  transform: translateY(-1px);
}
.btn-teal { background: var(--ykm-forest); color: #fff; }
.btn-teal:hover {
  background: var(--ykm-forest-deep);
  color: #fff;
  box-shadow: 0 7px 18px rgba(23,72,63,.16);
  transform: translateY(-1px);
}
.btn-outline-teal {
  border: 1px solid #BFD2C6;
  background: #fff;
  color: var(--ykm-forest);
}
.btn-outline-teal:hover {
  background: var(--ykm-green-soft);
  color: var(--ykm-forest-deep);
  transform: translateY(-1px);
}

/* Forms — checkbox/radio remain compact and native */
input:not([type="checkbox"]):not([type="radio"]),
select, textarea {
  width: 100%;
  min-height: 47px;
  border: 1px solid #D6E1D9;
  border-radius: 10px;
  background: #fff;
  color: var(--ykm-ink);
  padding: .72rem .9rem;
}
textarea { min-height: 125px; resize: vertical; }
input[type="checkbox"], input[type="radio"] {
  width: 1.08rem;
  height: 1.08rem;
  min-height: 1.08rem;
  accent-color: var(--ykm-green);
  flex: 0 0 auto;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--ykm-green);
  outline: 3px solid rgba(39,114,100,.13);
}
label:not(.flex) {
  display: block;
  margin-bottom: .38rem;
  color: #334A40;
  font-weight: 700;
}
button:disabled, input:disabled, select:disabled, textarea:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.accordion-content[hidden] { display: none !important; }
[data-accordion-trigger] {
  min-height: 62px;
  gap: 1rem;
  cursor: pointer;
}
[data-accordion-icon] {
  display: inline-flex;
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ykm-green-soft);
  color: var(--ykm-forest-deep);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}

/* Footer and persistent mobile actions */
#site-footer footer {
  margin-top: 0;
  background: var(--ykm-forest-deep) !important;
}
#site-footer footer h3 { color: #CDE1D4 !important; }
#site-footer footer p { color: #E0ECE5; }
#site-footer footer a { text-underline-offset: .22em; }
#site-footer footer .border-t { border-color: rgba(213,235,223,.2) !important; }
#site-footer .site-footer-grid { display: grid; gap: 2.2rem; }
#site-footer .site-footer-heading {
  margin-bottom: .8rem;
  color: #CDE1D4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#site-footer .site-footer-link {
  display: block;
  width: fit-content;
  margin: .52rem 0;
  color: #F5FAF6;
  font-size: .86rem;
  text-decoration: none;
}
#site-footer .site-footer-link:hover { color: #CDE1D4; text-decoration: underline; }
#site-footer .site-footer-bottom { border-top: 1px solid rgba(213,235,223,.2); }
#site-footer .mobile-action-bar {
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--ykm-line);
  box-shadow: 0 -8px 22px rgba(16,58,51,.09);
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  backdrop-filter: blur(12px);
}
#site-footer .mobile-action-bar a {
  min-height: 45px;
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
#site-footer .mobile-action-whatsapp {
  border: 1px solid #C9DCCF;
  background: var(--ykm-green-soft);
  color: var(--ykm-forest-deep);
}

@media (min-width: 768px) {
  #site-footer .site-footer-grid { grid-template-columns: 1.25fr 1fr 1fr 1fr; }
  #site-footer .mobile-action-bar { display: none; }
}
@media (min-width: 1200px) {
  #site-header .site-nav-desktop { display: flex; }
  #site-header .site-header-actions { display: flex; }
  #site-header .site-mobile-toggle { display: none; }
}
@media (max-width: 767px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    font-size: 15px;
  }
  #site-header .site-topbar { font-size: .68rem; }
  #site-header .site-topbar > div { justify-content: center; }
  #site-header .site-topbar > div > span { display: none; }
  #site-header .site-header-inner { min-height: 76px; }
  #site-header .site-brand-mark { width: 39px; height: 39px; flex-basis: 39px; border-radius: 11px; }
  #site-header .site-brand-name { font-size: .86rem; }
  #site-header .site-brand-sub { font-size: .61rem; }
  .home-hero { padding-top: 2.8rem !important; padding-bottom: 3rem !important; }
  .home-hero h1 { font-size: clamp(2.15rem, 9.5vw, 2.85rem) !important; }
  .home-hero figure { margin-top: .25rem; border-width: 5px; border-radius: 18px !important; }
  main > section:first-child:not(.home-hero):not([class*="text-white"]) h1 {
    font-size: clamp(1.9rem, 8.2vw, 2.5rem) !important;
  }
  main .rounded-3xl { border-radius: 18px; }
  main .p-8 { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Gallery lightbox */
.gallery-item { display:block; width:100%; overflow:hidden; padding:0; border:1px solid var(--ykm-line); border-radius:16px; background:#fff; color:var(--ykm-forest-deep); text-align:left; box-shadow:var(--ykm-shadow-soft); cursor:zoom-in; }
.gallery-item img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .25s ease; }
.gallery-item:hover img { transform:scale(1.025); }
.gallery-item span { display:block; padding:.75rem .85rem; color:var(--ykm-ink); font-size:.82rem; font-weight:650; line-height:1.45; }
.lightbox-image { cursor: zoom-in; }
.site-image-lightbox {
  width: min(94vw, 1100px);
  max-width: 94vw;
  max-height: 92dvh;
  margin: auto;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: #102F2A;
  color: #fff;
}
.site-image-lightbox::backdrop { background: rgba(5,19,16,.82); }
.site-image-lightbox .lightbox-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: .75rem;
}
.site-image-lightbox button {
  min-height: 40px;
  padding: .5rem 1rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 9px;
  background: #277264;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
}
.site-image-lightbox img {
  display: block;
  width: 100%;
  max-height: 78dvh;
  object-fit: contain;
  border-radius: 10px;
  background: #0B211D;
}
.site-image-lightbox p { margin-top: .7rem; color: #fff; font-size: .85rem; }

@media (max-width:767px) { .gallery-lightbox { padding:.65rem; border-radius:13px; } }


/* Official Yayasan Kasih Mulia logo — larger for clear brand visibility */
#site-header .site-brand-logo { display:block; width: clamp(180px, 16vw, 230px); height: auto; max-height: 74px; object-fit: contain; object-position: left center; }
#site-footer .site-footer-logo { display:block; width:176px; height:auto; max-height:62px; object-fit:contain; object-position:left center; padding:.2rem; border-radius:8px; background:#fff; }
@media (max-width:767px) { #site-header .site-header-inner { min-height:84px; } #site-header .site-brand-logo { width:180px; max-height:66px; } }


/* Restrained line icons for service and program cards */
.ykm-card-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  border: 1px solid #D7E5DC;
  border-radius: 13px;
  background: var(--ykm-green-soft);
  color: var(--ykm-forest);
}
.ykm-card-icon svg {
  display: block;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ykm-card-icon--warm {
  border-color: #EBCAC0;
  background: #FCEFE9;
  color: var(--ykm-clay-deep);
}


/* Homepage hero */
.page-home { background:var(--ykm-paper); }
.page-home main { overflow:clip; }
.home-hero { display:grid; align-items:center; min-height:clamp(480px,48vw,660px); overflow:hidden; }
.home-hero > .max-w-7xl { width:100%; }
.home-hero-background {
  position:absolute;
  z-index:-2;
  inset:-12% 0;
  background:url("../assets/img/home1.jpg") center center / cover no-repeat;
  transform:translateY(var(--hero-offset, 0px));
}
.home-hero::after {
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,rgba(10,33,30,.9),rgba(10,33,30,.68) 54%,rgba(10,33,30,.2));
  content:"";
}
.home-hero-copy { max-width:660px; }
.home-eyebrow { display:inline-flex; align-items:center; gap:.6rem; margin:0 0 1.35rem; padding:.55rem .9rem; border:1px solid rgba(39,114,100,.17); border-radius:999px; background:rgba(255,255,255,.72); color:var(--ykm-forest); font-size:.72rem; font-weight:800; letter-spacing:.075em; line-height:1.4; text-transform:uppercase; }
.home-eyebrow-dot { width:8px; height:8px; border-radius:50%; background:var(--ykm-clay); box-shadow:0 0 0 4px rgba(185,103,73,.12); }
.home-hero h1 { max-width:760px; margin:0 0 1.45rem; color:#fff; font-family:'Poppins','Plus Jakarta Sans',sans-serif; font-size:clamp(2.65rem,5.2vw,4.65rem); font-weight:700; letter-spacing:-.065em; line-height:1.09; text-wrap:balance; }
.home-hero .home-hero-lead { max-width:630px; margin:0; color:#fff; font-size:clamp(1rem,1.25vw,1.16rem); line-height:1.8; }
.home-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.8rem; margin-top:2rem; }
.home-cta-primary,.home-cta-secondary { display:inline-flex; align-items:center; justify-content:center; gap:.75rem; min-height:54px; padding:.9rem 1.3rem; border-radius:999px; font-size:.9rem; font-weight:800; text-decoration:none; transition:transform .22s ease,box-shadow .22s ease,background .22s ease; }
.home-cta-primary { background:var(--ykm-forest); color:#fff; box-shadow:0 10px 24px rgba(23,72,63,.18); }
.home-cta-primary:hover { background:var(--ykm-forest-deep); color:#fff; transform:translateY(-2px); box-shadow:0 14px 28px rgba(23,72,63,.22); }
.home-cta-secondary { border:1px solid rgba(23,72,63,.16); background:rgba(255,255,255,.56); color:var(--ykm-forest); }
.home-cta-secondary:hover { background:#fff; color:var(--ykm-forest-deep); transform:translateY(-2px); }
.home-hero-note { display:flex; align-items:flex-start; gap:.65rem; max-width:550px; margin-top:1.35rem; color:#F1F6F0; font-size:.8rem; line-height:1.55; }
.home-note-mark { display:inline-grid; flex:0 0 21px; width:21px; height:21px; place-items:center; border-radius:50%; background:#DCEBE1; color:var(--ykm-forest); font-size:.72rem; font-weight:900; }
.home-trust-band { position:relative; z-index:2; padding:1.4rem 0 1.6rem; border-bottom:1px solid var(--ykm-line); background:rgba(255,255,255,.85); }
.home-trust-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.home-trust-item { padding:1rem .85rem; }
.home-trust-kicker { display:block; margin-bottom:.45rem; color:var(--ykm-clay-deep); font-size:.65rem; font-weight:850; letter-spacing:.11em; text-transform:uppercase; }
.home-trust-item h2 { margin:0 0 .35rem; color:var(--ykm-forest-deep); font-size:.98rem; font-weight:750; letter-spacing:-.025em; }
.home-trust-item p { margin:0; color:var(--ykm-muted); font-size:.78rem; line-height:1.6; }
.page-home main>section:not(.home-hero):not(.home-trust-band) { scroll-margin-top:7rem; }
.page-home main>section:not(.home-hero):not(.home-trust-band) { padding-top:clamp(3.5rem,6vw,5.5rem); padding-bottom:clamp(3.5rem,6vw,5.5rem); }
.page-home main>section.bg-white { background:#fff; }
.page-home main section h2 { letter-spacing:-.045em; }
.page-home .home-card,.page-home .home-step-card { border-radius:22px; box-shadow:0 8px 26px rgba(16,58,51,.045); transition:border-color .24s ease,box-shadow .24s ease; }
.page-home .home-card:hover,.page-home .home-step-card:hover { border-color:rgba(39,114,100,.34); box-shadow:0 18px 38px rgba(16,58,51,.09); }
.page-home .home-card--warm { background:#F7EEE8; border-color:#E9D8CC; }
.page-home .home-step-card { background:#F5F7F1; }
.page-home .home-card img { transition:transform .55s cubic-bezier(.2,.75,.25,1); }
.page-home .home-card:hover img { transform:scale(1.035); }
.word-mask { display:inline-block; overflow:hidden; vertical-align:bottom; padding-bottom:.06em; margin-bottom:-.06em; }
.word-mask-inner { display:inline-block; will-change:transform,opacity; }
@media(max-width:767px){
  .home-hero{min-height:0;padding:3.25rem 0 3.2rem!important}
  .home-hero::after{background:rgba(10,33,30,.8)}
  .home-hero h1{font-size:clamp(2.45rem,11vw,3.3rem)!important;line-height:1.08}.home-hero-lead{font-size:.98rem;line-height:1.72}
  .home-hero-actions{display:grid;grid-template-columns:minmax(0,1fr);margin-top:1.55rem}.home-cta-primary,.home-cta-secondary{width:100%;min-height:52px}
  .home-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.home-trust-item{padding:.75rem .25rem}
  .home-trust-item h2{font-size:.88rem}.home-trust-item p{font-size:.72rem}
}
@media(max-width:380px){#site-header .site-header-container{padding-left:10px;padding-right:10px}.home-eyebrow{font-size:.61rem;letter-spacing:.04em}.home-hero h1{font-size:2.25rem!important}.home-trust-grid{gap:.35rem}}
@media(prefers-reduced-motion:reduce){.home-hero-background{inset:0;transform:none}.word-mask-inner{transform:none!important;opacity:1!important}.page-home .home-card,.page-home .home-step-card{transition:none!important}}

/* Shared typography, actions and mobile spacing */
main section h1.font-heading, .home-hero h1,
main section h2.font-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
}
main section h2.font-heading { line-height: 1.2; }
.home-hero h1 { font-size: clamp(3.2rem, 6vw, 5.5rem) !important; }
.home-hero-copy { max-width: 44rem; }
.home-cta-primary, .home-cta-secondary, main a[class*="btn-"],
#site-header .site-header-actions a, main button[type="submit"] {
  border-radius: var(--ykm-radius-action);
  min-height: 46px;
}
.home-cta-primary { background: #F9F6EB; color: var(--ykm-forest-deep); }
.home-cta-primary:hover { background: #fff; color: var(--ykm-forest-deep); }
.home-cta-secondary { background: #183C33; color: white; border-color: #92A99A; }
.action-arrow { width: 1em; height: 1em; flex: none; }
.ykm-card-icon { border-radius: 10px; }
.home-trust-item p { font-size: .9rem; }
#pengumuman-pelatihan dl { row-gap: 1.25rem; }
#pengumuman-pelatihan dt { margin-bottom: .25rem; }
@media (max-width: 767px) {
  #site-header .site-header-inner { min-height: 64px; }
  .home-hero h1 { font-size: clamp(2.7rem, 10vw, 3.5rem) !important; }
  .home-trust-item p { font-size: .875rem; }
  .home-trust-grid { gap: 1rem; }
  #pengumuman-pelatihan dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #pengumuman-pelatihan .btn-teal { width: 100%; }
}
@media (max-width: 380px) {
  #pengumuman-pelatihan dl { grid-template-columns: 1fr; }
}

main > .donation-layout:first-child {
  background: transparent !important;
  border-bottom: 0;
}

.about-history p {
  max-width: 70ch;
}

.about-history p + p {
  margin-top: 1.2rem;
}

@media (min-width: 1024px) {
  .about-history {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
    column-gap: 3rem;
  }

  .about-history p {
    grid-column: 2;
  }

  .about-history h2 {
    grid-column: 1;
    grid-row: 1 / span 5;
  }
}
