/* ============================================================
   KAMPUNG PROKLIM LESTARI — style.css
   Core design tokens + base layout + components (desktop-first).
   Breakpoint overrides live in responsive.css.
   ============================================================ */

:root{
  /* -- brand tokens (kept from the previous site) -- */
  --deep:#1F3A2E;
  --forest:#2C5236;
  --sage:#8FA876;
  --sage-light:#DCE6D0;
  --off-white:#F6F3EA;
  --amber:#C97A2B;

  /* -- supporting neutrals -- */
  --ink:#20261F;
  --paper:#FFFFFF;
  --line: rgba(31,58,46,0.14);
  --shadow-soft: 0 20px 45px -20px rgba(31,58,46,0.35);

  /* -- type -- */
  --font-head:'Plus Jakarta Sans', sans-serif;
  --font-body:'Inter', sans-serif;

  /* -- layout -- */
  --container-w: 1180px;
  --header-h: 92px; /* refined at runtime by js/main.js */
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--off-white);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }
h1,h2,h3{
  font-family:var(--font-head);
  color:var(--deep);
  margin:0 0 .5em;
  line-height:1.15;
}
p{ margin:0 0 1em; }
p:last-child{ margin-bottom:0; }

::selection{ background:var(--sage); color:var(--deep); }

:focus-visible{ outline:3px solid var(--amber); outline-offset:3px; border-radius:4px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:0.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.001ms !important;
    scroll-behavior:auto !important;
  }
}

/* ---------- layout helpers ---------- */
.container{
  width:100%;
  max-width:var(--container-w);
  margin-inline:auto;
  padding-inline:clamp(1.25rem,4vw,2.5rem);
}

.skip-link{
  position:absolute;
  left:1rem;
  top:-4rem;
  z-index:1000;
  background:var(--deep);
  color:var(--off-white);
  padding:.75rem 1.25rem;
  border-radius:8px;
  font-family:var(--font-head);
  font-weight:600;
  transition:top .2s ease;
}
.skip-link:focus{ top:1rem; }

.kicker{
  font-family:var(--font-head);
  font-weight:700;
  color:var(--forest);
  font-size:.95rem;
  margin-bottom:.5rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.85rem 1.7rem;
  border-radius:999px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:.98rem;
  border:1.5px solid transparent;
  transition:background .25s ease, color .25s ease, transform .2s ease, border-color .25s ease;
}
.btn--primary{ background:var(--forest); color:var(--off-white); }
.btn--primary:hover{ background:var(--deep); transform:translateY(-2px); }
.btn--outline{ border-color:var(--deep); color:var(--deep); }
.btn--outline:hover{ background:var(--deep); color:var(--off-white); }

section[id]{ scroll-margin-top:var(--header-h); }

/* fill helper used inside inline SVGs */
.fill-soft{ fill:var(--sage-light); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(246,243,234,.97);
  border-bottom:1px solid transparent;
  transition:box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-scrolled{
  border-color:var(--line);
  box-shadow:0 12px 30px -22px rgba(31,58,46,.55);
}
.site-header .container{
  /* the nav row carries eight labels plus the brand lockup, so it
     gets more breathing room than the narrower reading-width
     container used by the rest of the page */
  max-width:1400px;
}
.site-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  padding-block:1.05rem;
}

.brand{ display:flex; align-items:center; gap:.65rem; }
.brand__mark{ width:30px; height:30px; color:var(--forest); flex-shrink:0; }
.brand__text{ display:flex; flex-direction:column; line-height:1.2; }
.brand__title{ font-family:var(--font-head); font-weight:800; color:var(--deep); font-size:1.05rem; }
.brand__subtitle{ font-size:.74rem; color:var(--forest); }

.nav__list{
  display:flex;
  align-items:center;
  gap:1.65rem;
  flex-wrap:wrap;
}
.nav__list a{
  position:relative;
  padding-block:.3rem;
  font-size:.94rem;
  font-weight:500;
  color:var(--deep);
}
.nav__list a::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:-2px;
  height:2px;
  background:var(--amber);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s ease;
}
.nav__list a:hover::after,
.nav__list a.is-active::after{ transform:scaleX(1); }
.nav__list a.is-active{ color:var(--forest); font-weight:700; }

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px; height:38px;
  border:none;
  background:transparent;
  cursor:pointer;
  padding:0;
}
.nav-toggle__bar{
  width:100%; height:2px;
  background:var(--deep);
  border-radius:2px;
  transition:transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  padding-block:clamp(2.5rem,6vw,5rem);
  background:linear-gradient(180deg, var(--off-white) 55%, var(--sage-light) 130%);
  overflow:hidden;
}
.hero__inner{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:clamp(2rem,4vw,4rem);
  align-items:center;
}
.hero__location{
  font-family:var(--font-head);
  font-weight:600;
  color:var(--forest);
  font-size:.95rem;
  margin-bottom:1rem;
}
.hero__title{
  font-size:clamp(2.35rem, 1.5rem + 3vw, 3.75rem);
  font-weight:800;
  letter-spacing:-0.01em;
  max-width:15ch;
}
.hero__lede{
  max-width:52ch;
  font-size:1.05rem;
  color:var(--ink);
}
.hero__actions{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:1.75rem;
}

.hero__visual{
  display:flex;
  flex-direction:column;
  align-items:center;
  opacity:0;
  transform:translateY(18px);
  animation:heroIn .8s ease-out .15s forwards;
}
@keyframes heroIn{ to{ opacity:1; transform:translateY(0); } }

.hero__panel{
  position:relative;
  width:100%;
  background:var(--sage-light);
  border-radius:36px 10px 36px 10px;
  padding:clamp(1.5rem,3vw,2.25rem);
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero__tape{
  position:absolute;
  top:-14px; left:38px;
  width:76px; height:26px;
  background:var(--amber);
  opacity:.9;
  transform:rotate(-6deg);
  border-radius:3px;
}
.hero__photo{
  width:100%;
  max-width:380px;
  height:auto;
  filter:drop-shadow(0 22px 28px rgba(31,58,46,.35));
}
.hero__caption{
  margin-top:1rem;
  font-size:.85rem;
  color:var(--forest);
  text-align:center;
  max-width:32ch;
}

/* ============================================================
   TENTANG KAMI
   ============================================================ */
.tentang{ padding-block:clamp(3.5rem,7vw,6rem); }
.tentang__inner{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:clamp(2rem,4vw,4rem);
  align-items:center;
}
.tentang__photo{
  border-radius:8px 32px 8px 32px;
  width:100%;
  height:auto;
  box-shadow:var(--shadow-soft);
}
.tentang__content h2{ font-size:clamp(1.75rem, 1.2rem + 1.6vw, 2.4rem); }
.tentang__content p{ max-width:58ch; }

.tentang__movement{
  margin-top:1.75rem;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:16px;
  padding:1.5rem 1.75rem;
}
.tentang__movement-title{
  font-family:var(--font-head);
  font-weight:700;
  color:var(--deep);
  margin-bottom:.9rem;
}
.tentang__list{
  counter-reset:gerakan;
  display:flex;
  flex-direction:column;
  gap:.75rem;
}
.tentang__list li{
  position:relative;
  padding-left:2.35rem;
  counter-increment:gerakan;
}
.tentang__list li::before{
  content:counter(gerakan);
  position:absolute;
  left:0; top:0;
  width:1.6rem; height:1.6rem;
  border-radius:50%;
  background:var(--sage-light);
  color:var(--forest);
  font-family:var(--font-head);
  font-weight:700;
  font-size:.85rem;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ============================================================
   PROFIL KAMPUNG
   ============================================================ */
.profil{ padding-block:clamp(3.5rem,7vw,6rem) 0; }
.profil__head h2{ font-size:clamp(1.75rem, 1.2rem + 1.6vw, 2.4rem); }

.profil__band{ background:var(--forest); margin-top:2.25rem; }
.profil__stats{
  display:flex;
  flex-wrap:wrap;
  padding-block:clamp(2rem,4vw,3rem);
}
.stat{
  flex:1 1 0;
  padding-inline:1.5rem;
  border-left:1px solid rgba(246,243,234,.25);
}
.stat:first-child{ border-left:none; padding-left:0; }
.stat__value{
  display:block;
  font-family:var(--font-head);
  font-weight:800;
  color:var(--off-white);
  font-size:clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
}
.stat__label{
  display:block;
  color:var(--sage-light);
  font-size:.9rem;
  margin-top:.35rem;
}

.profil__note{
  display:flex;
  align-items:center;
  gap:2rem;
  padding-block:clamp(2.5rem,5vw,4rem);
}
.profil__photo{
  width:220px;
  flex-shrink:0;
  border-radius:24px 6px 24px 6px;
  box-shadow:var(--shadow-soft);
}
.profil__note p{ max-width:56ch; margin:0; }

/* ============================================================
   PROGRAM PROKLIM (preview)
   ============================================================ */
.program{ padding-block:clamp(3.5rem,7vw,6rem); }
.program__intro{ max-width:62ch; margin-top:1rem; margin-bottom:2.25rem; }

.program__list{
  counter-reset:proglist;
  border-top:1px solid var(--line);
}
.program__row{
  counter-increment:proglist;
  display:flex;
  align-items:flex-start;
  gap:1.5rem;
  padding-block:1.75rem;
  border-bottom:1px solid var(--line);
  transition:padding-left .25s ease, background-color .25s ease;
}
.program__row:hover{ padding-left:.5rem; background:rgba(143,168,118,.1); }
.program__row::before{
  content:counter(proglist, decimal-leading-zero);
  font-family:var(--font-head);
  font-weight:800;
  font-size:clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  color:var(--sage);
  min-width:2.2ch;
  flex-shrink:0;
}
.program__icon{ width:34px; height:34px; color:var(--forest); flex-shrink:0; margin-top:.3rem; }
.program__text h3{ font-size:1.15rem; margin-bottom:.3rem; }
.program__text p{ margin:0; max-width:58ch; }

.program__note{
  margin-top:2rem;
  color:var(--forest);
  font-size:.9rem;
  font-style:italic;
}
/* ============================================================
   PETA KAMPUNG
   ============================================================ */
.peta{
  padding-block:clamp(3.5rem,7vw,6rem);
  background:var(--sage-light);
}

.peta__inner{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:clamp(2rem,5vw,5rem);
  align-items:center;
}

.peta__content h2{
  max-width:18ch;
}

.peta__content > p:not(.kicker){
  max-width:58ch;
  margin-block:1rem 1.75rem;
}

.peta__card{
  min-height:320px;
  border:1px solid var(--line);
  border-radius:1.25rem;
  background:var(--off-white);
  box-shadow:var(--shadow-soft);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:2rem;
  position:relative;
  overflow:hidden;
}

.peta__card::before,
.peta__card::after{
  content:'';
  position:absolute;
  border:1px solid rgba(31,58,46,.12);
  border-radius:50%;
}

.peta__card::before{
  width:260px;
  height:260px;
}

.peta__card::after{
  width:170px;
  height:170px;
}

.peta__pin{
  width:76px;
  height:76px;
  border-radius:50% 50% 50% 0;
  background:var(--forest);
  transform:rotate(-45deg);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  z-index:1;
  margin-bottom:2rem;
}

.peta__pin span{
  transform:rotate(45deg);
  color:var(--off-white);
  font-family:var(--font-head);
  font-size:.85rem;
  font-weight:800;
}

.peta__card p{
  position:relative;
  z-index:1;
  margin:0;
  font-family:var(--font-head);
  font-weight:700;
  color:var(--deep);
}
/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background:var(--deep);
  color:var(--off-white);
  margin-top:clamp(3rem,6vw,5rem);
}
.footer__grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:2.5rem;
  padding-block:clamp(3rem,5vw,4rem);
}
.footer__name{ font-family:var(--font-head); font-weight:800; font-size:1.15rem; margin-bottom:.4rem; }
.footer__address{ color:var(--sage-light); max-width:32ch; margin:0; }

.footer__nav{ display:flex; flex-direction:column; gap:.65rem; }
.footer__nav a{ color:var(--sage-light); }
.footer__nav a:hover{ color:var(--off-white); }

.footer__contact-title{ font-family:var(--font-head); font-weight:700; margin-bottom:.65rem; }
.footer__contact p{ margin:0 0 .5rem; color:var(--sage-light); }
.tbd{ color:rgba(246,243,234,.55); font-style:italic; }

.footer__bottom{ border-top:1px solid rgba(246,243,234,.15); padding-block:1.25rem; }
.footer__bottom p{ margin:0; font-size:.85rem; color:rgba(246,243,234,.7); }
