/* ==========================================================================
   Asarasa — landing page Option 1
   Rebuilt from the Figma export (1440px frame, 64px gutters, 1312px column)
   as semantic HTML + this stylesheet. Brand: Asarasa Brand Guideline 2025.
   Breakpoints match design-2/3: 1279 / 991 / 767 / 575px.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --teal: #025464;
  --teal-deep: #013c48;
  --orange: #e57c23;
  --orange-dark: #c9651a;
  --paper: #f8f1f1;
  --ink: #1f2d30;
  --muted: #5e6c6e;
  --white: #fff;

  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Raleway", system-ui, sans-serif;

  --container: 1312px;
  --gutter: 64px;
  --section-gap: 120px;
  --box-pad: 40px;          /* inner padding of the teal / paper boxes */

  --radius: 16px;
  --radius-pill: 100px;
  --hairline: 0.4px solid var(--muted);

  /* Type scale (rem, follows the reader's browser text-size setting).
     Fluid from 360px to the 1440px Figma frame, capped at 1440.
                    360px → 768px → 1440px                                 */
  --fs-watermark: clamp(10rem, 6.667rem + 14.815vw, 20rem);    /* 160 → 220 → 320  "TIM" */
  --fs-display:   clamp(2.5rem, 1.542rem + 4.259vw, 5.375rem);  /* 40 → 57 → 86   hero */
  --fs-h2:        clamp(1.875rem, 1.333rem + 2.407vw, 3.5rem);  /* 30 → 40 → 56   section titles */
  --fs-stat:      clamp(2.5rem, 2.167rem + 1.481vw, 3.5rem);    /* 40 → 46 → 56   numbers */
  --fs-statement: clamp(1.375rem, 1.167rem + 0.926vw, 2rem);    /* 22 → 26 → 32   "Kami bekerja…" */
  --fs-title:     clamp(1.25rem, 1.167rem + 0.37vw, 1.5rem);    /* 20 → 21 → 24   card titles */
  --fs-title-sm:  clamp(1.0625rem, 1.042rem + 0.093vw, 1.125rem); /* 17 → 17 → 18 small titles */
  --fs-body:      1rem;                                         /* 16 */
  --fs-small:     0.875rem;                                     /* 14 */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
em { font-style: italic; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.page { display: flex; flex-direction: column; gap: var(--section-gap); padding-block: var(--section-gap); }

/* ---------- Type ---------- */
.display-1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-display); line-height: 1.2; letter-spacing: -0.02em;
}
.display-2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.02em;
}
.title-lg { font-size: var(--fs-title); line-height: 1.4; font-weight: 600; }
.title-md { font-size: var(--fs-title-sm); line-height: 1.4; font-weight: 600; }
.text-sm  { font-size: var(--fs-small); line-height: 1.5; }
.text-muted { color: var(--muted); }
.text-teal { color: var(--teal); }
.display-1, .display-2, .mission__statement { text-wrap: balance; }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-body); line-height: 1.5; font-weight: 600;
  color: var(--teal); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }

/* Section header: eyebrow, then title + supporting copy on one row */
.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 120px; }
.section-head__aside { flex: 0 0 400px; padding-bottom: 8px; color: var(--muted); }
.section-head--center { align-items: center; text-align: center; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; stroke-width: 1; }
.icon--16 { width: 16px; height: 16px; stroke-width: 1.2; }
.icon--20 { width: 20px; height: 20px; stroke-width: 1.4; }
.icon--24 { width: 24px; height: 24px; stroke-width: 1.2; }
.icon--32 { width: 32px; height: 32px; }
.icon--40 { width: 40px; height: 40px; }

.icon-circle { display: inline-grid; place-items: center; padding: 8px; border-radius: 50%; flex: none; }
.icon-circle--orange { background: var(--orange); color: var(--white); }
.icon-circle--paper { background: var(--paper); color: var(--teal); }
.icon-circle--outline { border: 0.4px solid currentColor; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600; text-transform: uppercase; white-space: nowrap;
  transition: background-color .2s ease, filter .2s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn__icon { display: grid; place-items: center; padding: 8px; border-radius: 50%; flex: none; }
.btn__icon--orange { background: var(--orange); color: var(--white); }
.btn__icon--white { background: var(--white); color: var(--teal); }
.btn--light { background: var(--paper); color: var(--teal); }
.btn--white { background: var(--white); color: var(--teal); }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-dark); filter: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-weight: 600; color: var(--teal); text-transform: uppercase;
}
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translate(2px, -2px); }

.pager { display: flex; align-items: center; gap: 16px; font-weight: 600; }
.pager__btn { display: grid; place-items: center; padding: 8px; border-radius: 50%; transition: opacity .2s ease; }
.pager__btn--prev { border: var(--hairline); color: var(--muted); }
.pager__btn--prev .icon { transform: rotate(180deg); }
.pager__btn--next { background: var(--teal); color: var(--white); }
.pager__btn:disabled { opacity: .4; cursor: default; }
.pager__count { color: var(--teal); white-space: nowrap; }
.pager__count span { color: var(--muted); font-weight: 400; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(1, 60, 72, .55) 0%, rgba(1, 60, 72, .15) 40%, rgba(1, 60, 72, .75) 100%),
    url("https://images.unsplash.com/photo-1643785879506-ec3e637a9f2d?w=2400&h=1500&fit=crop&q=80&auto=format") center / cover;
}
.hero__inner { min-height: 900px; display: flex; flex-direction: column; padding-block: 40px 64px; }

.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 16px; }
.brand { display: inline-flex; align-items: center; gap: 16px; justify-self: start; }
.brand__mark { display: grid; place-items: center; padding: 8px; border-radius: 50%; background: var(--white); }
.brand__mark img { width: 28px; height: 28px; }
/* logo + menu stay in px: they are UI chrome, not reading text */
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: -0.02em; }
.nav__links { display: flex; align-items: center; gap: 40px; font-size: 16px; }
.nav__links a { display: block; padding: 8px 0; white-space: nowrap; }
.nav__links a[aria-current="page"] { padding: 8px 24px; border-radius: var(--radius-pill); background: var(--white); color: var(--teal); font-weight: 600; }
.nav__links a:not([aria-current]):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.nav__cta { padding: 8px 24px; border: 1px solid var(--white); border-radius: var(--radius-pill); font-size: 16px; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.nav__cta:hover { background: var(--white); color: var(--teal); }
.nav__menu { display: grid; place-items: center; padding: 8px; border-radius: 50%; background: var(--white); color: var(--teal); }

.hero__bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero__content { max-width: 800px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero__row { display: flex; align-items: flex-end; gap: 40px; }
.hero__row p { max-width: 520px; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 95px; flex: none; font-size: var(--fs-small); text-transform: uppercase; text-align: center; }
.scroll-cue__pill { padding: 16px 8px; border: 0.4px solid var(--white); border-radius: var(--radius-pill); }
.scroll-cue__pill .icon { transform: rotate(90deg); }

/* Off-canvas drawer */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(1, 60, 72, .6); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%); overflow-y: auto;
  background: var(--teal); color: var(--white);
  padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px;
  animation: drawer-in .3s ease-out;
}
@keyframes drawer-in { from { transform: translateX(100%); } }
.drawer__close { position: absolute; top: 24px; right: 24px; padding: 8px; }
.drawer__links { align-self: stretch; display: flex; flex-direction: column; font-size: var(--fs-title); font-weight: 600; }
.drawer__links a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.drawer__info { display: flex; flex-direction: column; gap: 14px; font-size: var(--fs-small); }
.drawer__info li { display: flex; align-items: center; gap: 12px; }

/* ==========================================================================
   SIAPA KAMI
   ========================================================================== */
.mission { display: flex; flex-direction: column; align-items: center; gap: 64px; }
.mission__intro { max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.mission__statement { font-size: var(--fs-statement); line-height: 1.4; font-weight: 500; text-align: center; }
.mission__statement span { color: var(--muted); }
.mission__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 24px; }

.feature-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 350px; padding: 24px;
  border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.feature-card .title-lg { text-transform: uppercase; }
.feature-card__body { display: flex; flex-direction: column; gap: 8px; }
.feature-card--paper { background: var(--paper); }
.feature-card--paper .title-lg { color: var(--teal); }
.feature-card--image { color: var(--white); }
.feature-card__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.feature-card--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .4) 100%); }
.feature-card--image .icon-circle { align-self: flex-start; }
.feature-card--teal { background: var(--teal); color: var(--white); }
.feature-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.feature-card__foot { display: flex; align-items: flex-end; gap: 24px; color: var(--paper); }
.avatar-stack { display: flex; padding-inline: 8px; flex: none; }
.avatar-stack > * { margin-inline: -8px; }
.avatar-stack img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.avatar-stack__icon { display: grid; place-items: center; padding: 8px; border-radius: 50%; background: var(--paper); color: var(--ink); }

/* ==========================================================================
   TENTANG
   ========================================================================== */
.about { display: flex; flex-direction: column; gap: 40px; }
.about__head { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 8px; }
.about__head .display-2 { max-width: 600px; }
.about__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.about__row p { max-width: 600px; }
.tags { max-width: 521px; display: flex; flex-wrap: wrap; gap: 16px; }
.tag { padding: 8px 16px; border: 1px solid var(--teal); border-radius: var(--radius-pill); color: var(--teal); white-space: nowrap; }

.banner {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 500px; padding: 0 40px 40px;
  display: flex; align-items: flex-end;
  border-radius: var(--radius);
}
.banner__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 60, 72, .8) 0%, rgba(1, 60, 72, .2) 70%); }
.banner__card {
  width: 405px; max-width: 100%; padding: 32px;
  display: flex; flex-direction: column; gap: 40px;
  border-radius: var(--radius); background: var(--white);
}
.banner__kicker { color: var(--teal); font-weight: 600; }
.banner__body { display: flex; flex-direction: column; gap: 16px; }
.banner__body .title-lg { text-transform: uppercase; }

/* ==========================================================================
   MISI EPIC
   ========================================================================== */
.initiatives { display: flex; flex-direction: column; gap: 64px; }
.initiatives__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.initiatives__image { width: 100%; height: 100%; min-height: 600px; border-radius: var(--radius); object-fit: cover; }
.initiatives__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.initiative {
  min-height: 280px; padding: 32px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px;
  border-radius: var(--radius); background: var(--paper);
}
.initiative__body { display: flex; flex-direction: column; gap: 16px; }
.initiative p { color: var(--muted); }

/* ==========================================================================
   DAMPAK (stats box)
   ========================================================================== */
.stats {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: var(--box-pad);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--teal) url("../assets/topo.svg") center / cover no-repeat;
}
.stats__intro { width: 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.stats__list { display: flex; gap: 64px; }
.stat { display: flex; flex-direction: column-reverse; gap: 8px; }
.stat dd { font-size: var(--fs-stat); line-height: 1.1; white-space: nowrap; }
.stat dt { color: var(--paper); max-width: 14ch; }

/* ==========================================================================
   PROYEK (paper box)
   ========================================================================== */
.projects {
  display: flex; flex-direction: column; gap: 48px;
  padding: var(--box-pad);
  border-radius: var(--radius); background: var(--paper);
}
.project {
  display: grid;
  grid-template-columns: minmax(0, 360fr) minmax(0, 400fr) minmax(0, 400fr);
  justify-content: space-between; gap: 24px 40px;
  padding-block: 40px; border-bottom: var(--hairline);
}
.project:first-child { padding-top: 0; }
.project__info { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.project__meta { display: flex; flex-direction: column; gap: 16px; }
.project__location { display: flex; align-items: center; gap: 16px; }
.project__image { width: 100%; aspect-ratio: 8 / 5; height: auto; border-radius: var(--radius); object-fit: cover; }
.project__details { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: var(--hairline); }
.facts > div:last-child { padding-bottom: 0; border-bottom: 0; }
.facts dt { text-transform: uppercase; }
.facts dd { font-weight: 600; text-align: right; }

/* ==========================================================================
   MITRA
   ========================================================================== */
.partners { display: flex; align-items: center; gap: 40px; }
.partners__intro {
  flex: none; display: flex; flex-direction: column; gap: 16px;
  padding: 4px 40px 4px 0; border-right: var(--hairline);
}
.partners__intro p { max-width: 400px; }
/* wordmarks until real logos are supplied; names may wrap to 2 lines */
.partners__logos { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 24px; }
.partners__logos li {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-title-sm); line-height: 1.3;
  color: var(--teal); opacity: .8; text-align: center; text-wrap: balance;
}

/* ==========================================================================
   PERJALANAN DI NGGELA
   ========================================================================== */
.campaigns { display: flex; flex-direction: column; gap: 48px; }
.campaigns__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: center; }
.campaign { display: flex; flex-direction: column; gap: 16px; border-radius: var(--radius); }
.campaign--active { padding: 16px; background: var(--paper); }
.campaign__media { position: relative; border-radius: var(--radius); overflow: hidden; }
.campaign__media img { width: 100%; height: 250px; object-fit: cover; }
.campaign__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(1, 40, 48, .7) 100%); }
.badge {
  position: absolute; z-index: 1; top: 16px; left: 16px;
  padding: 8px 16px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--white); font-weight: 600; text-transform: uppercase;
}
.campaign__body { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; border-bottom: 0.2px solid var(--muted); }
.campaign__title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.campaign__title-row h3 { color: var(--teal); }
.campaign__title-row p { text-align: right; }
.campaign__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.campaign__date { display: flex; flex-direction: column; gap: 8px; }
.campaign__date span { text-transform: uppercase; }
.campaigns__controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* ==========================================================================
   CTA (teal box)
   ========================================================================== */
.cta {
  min-height: 500px; padding: 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 48px;
  border-radius: var(--radius);
  color: var(--white); text-align: center;
  background: var(--teal) url("../assets/topo.svg") center / cover no-repeat;
}
.cta__text { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta__text p { max-width: 600px; color: var(--paper); }

/* ==========================================================================
   TIM
   ========================================================================== */
.team { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 64px; }
.team__watermark {
  position: absolute; top: 0; right: 0; z-index: -1;
  font-size: var(--fs-watermark); line-height: .8; letter-spacing: -0.04em; font-weight: 600;
  color: var(--paper); user-select: none; pointer-events: none;
}
.team__intro { max-width: 400px; padding-top: 16px; display: flex; flex-direction: column; gap: 40px; }
.team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 310px)); justify-content: space-between; gap: 24px; align-items: start; }
.team__grid > :nth-child(odd) { margin-top: 80px; }
/* the pager sits 40px under the 4th (un-staggered) card, inside the grid's last 80px */
.team__controls { display: flex; justify-content: flex-end; margin-top: -104px; }

.member {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 310 / 380;
  display: flex; align-items: flex-end;
  padding: 0 16px 16px;
  border-radius: var(--radius);
  color: var(--white);
}
.member > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.member::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(1, 40, 48, .7) 100%); }
.member__caption { width: 100%; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.member__caption > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.member__social {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  font-weight: 600; color: var(--paper);
  transition: background-color .2s ease;
}
.member__social:hover { background: rgba(255, 255, 255, .15); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: flex; flex-direction: column; align-items: center; gap: 64px; }
.faq__body { width: min(720px, 100%); display: flex; flex-direction: column; gap: 40px; }
.faq__item { padding-block: 40px; border-bottom: var(--hairline); }
.faq__item:first-child { padding-top: 0; }
.faq__item summary {
  display: flex; gap: 24px;
  font-size: var(--fs-title-sm); line-height: 1.4; font-weight: 600;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { margin-top: 4px; }
.faq__item .i-minus, .faq__item[open] .i-plus { display: none; }
.faq__item[open] .i-minus { display: block; }
.faq__item[open] summary { color: var(--teal); }
.faq__item p { padding: 16px 0 0 40px; color: var(--muted); }

.help-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px; border-radius: var(--radius); background: var(--paper);
}
.help-card__text { max-width: 400px; display: flex; flex-direction: column; gap: 8px; }
.help-card__text .title-md { text-transform: uppercase; }
.help-card__text .text-sm { color: var(--teal); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding-block: 64px 48px; background: var(--teal-deep); color: var(--paper); }
.footer__top { display: flex; justify-content: space-between; gap: 64px; padding-bottom: 48px; border-bottom: var(--hairline); }
.footer__brand { width: 400px; max-width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.footer__logo { display: flex; align-items: center; gap: 16px; color: var(--white); }
.footer__logo img { width: 36px; height: 36px; }
.footer__logo .brand__name { font-size: 30px; }
.subscribe { display: flex; flex-direction: column; gap: 16px; color: var(--white); }
.subscribe__field {
  display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 24px;
  border: 0.4px solid var(--paper); border-radius: 30px;
}
.subscribe__field > .icon { color: var(--muted); }
.subscribe__field input { flex: 1; min-width: 0; font-size: var(--fs-body); color: var(--paper); outline: none; }
.subscribe__field input::placeholder { color: var(--muted); }
.subscribe__field button { display: grid; place-items: center; padding: 8px; border-radius: 50%; background: var(--orange); color: var(--paper); }

.footer__cols { display: flex; gap: clamp(40px, 6vw, 120px); }
.footer__col { display: flex; flex-direction: column; gap: 24px; }
.footer__col h2 { color: var(--white); white-space: nowrap; }
.footer__col ul { display: flex; flex-direction: column; gap: 16px; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__col--contact { justify-content: space-between; }
.footer__contact { display: flex; flex-direction: column; gap: 24px; }
.contact-list li { display: flex; align-items: center; gap: 16px; opacity: .9; }
.footer__col .socials { flex-direction: row; gap: 16px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-weight: 600;
}
.socials a:hover { text-decoration: none; background: var(--white); }
.footer__copy { padding-top: 48px; text-align: center; font-weight: 600; color: var(--white); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* Small desktop / tablet landscape */
@media (max-width: 1279px) {
  :root { --gutter: 40px; --section-gap: 96px; }
  .nav { padding-inline: 0; }
  .nav__links { gap: 28px; }   /* logo + 4 links + actions must fit down to 992px */
  .section-head__row { gap: 48px; }
  .section-head__aside { flex-basis: 340px; }

  /* image on top, the 4 EPIC cards 2×2 below */
  .initiatives__grid { grid-template-columns: 1fr; }
  .initiatives__image { height: auto; min-height: 0; aspect-ratio: 16 / 7; }
  .initiative { min-height: 240px; }

  .stats { flex-direction: column; align-items: flex-start; }
  .stats__intro { width: auto; max-width: 420px; flex-direction: row; align-items: center; gap: 24px; }
  .stats__list { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

  /* project: text left (info above details), image right */
  .project { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "info image" "details image"; }
  .project__info { grid-area: info; }
  .project__image { grid-area: image; align-self: start; }
  .project__details { grid-area: details; }

  .partners { flex-direction: column; align-items: stretch; gap: 32px; }
  .partners__intro { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 0 0 32px; border-right: 0; border-bottom: var(--hairline); }

  .cta { padding: 96px 64px; min-height: 0; }

  /* team cards get narrow: move the IG button to the photo's top-right corner */
  .member__social { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, .15); }
  .member__caption { padding: 8px; }

  .footer__top { flex-direction: column; gap: 48px; }
  .footer__brand { width: auto; max-width: 480px; }
}

/* Tablet portrait */
@media (max-width: 991px) {
  :root { --gutter: 32px; --section-gap: 80px; --box-pad: 32px; }

  /* menu button opens the drawer; links + "Dukung Kami" move there */
  .nav { display: flex; justify-content: space-between; padding: 8px 0; }
  .nav__links { display: none; }
  .hero__inner { min-height: 760px; padding-block: 24px 48px; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 28px; }

  .section-head__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head__aside { flex-basis: auto; max-width: 560px; padding-bottom: 0; }

  .mission__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 640px; }
  .feature-card--teal { grid-column: 1 / -1; min-height: 260px; }

  .about__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .about__row { flex-direction: column; align-items: flex-start; gap: 32px; }
  .banner { min-height: 440px; padding: 0 24px 24px; }

  .initiatives { gap: 48px; }
  .initiatives__cards { gap: 24px; }

  .project { grid-template-columns: 1fr; grid-template-areas: "image" "info" "details"; }
  .project__info { gap: 16px; }

  .partners__intro { flex-direction: column; align-items: flex-start; gap: 12px; }
  .partners__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }

  .campaigns__list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .campaign--active { order: -1; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .campaign--active .campaign__media { grid-row: span 2; }

  .cta { padding: 72px 40px; }

  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }

  .faq { gap: 48px; }
}

@media (max-width: 767px) {
  .campaigns__list { grid-template-columns: 1fr; }
  .campaign--active { display: flex; order: 0; }   /* single column: keep #2 → #3 → #4 order */
  .footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__col--contact { grid-column: 1 / -1; gap: 24px; }
}

/* Mobile */
@media (max-width: 575px) {
  :root { --gutter: 20px; --section-gap: 64px; --box-pad: 24px; }

  .nav__cta { display: none; }
  .brand { gap: 12px; }
  .brand__name { font-size: 24px; }
  .hero__inner { min-height: max(600px, 100svh); padding-block: 16px 40px; }
  .scroll-cue { display: none; }
  .drawer__panel { padding: 32px 24px; }
  .drawer__close { top: 16px; right: 16px; }

  .mission { gap: 40px; }
  .mission__intro { gap: 24px; }
  .mission__cards { grid-template-columns: 1fr; }
  .feature-card { min-height: 280px; }
  .feature-card--teal { min-height: 0; }

  .tags { gap: 10px; }
  .tag { padding: 6px 14px; font-size: var(--fs-small); }
  .banner { min-height: 420px; padding: 0 12px 12px; }
  .banner__card { padding: 24px; gap: 28px; }

  .initiatives { gap: 40px; }
  .initiatives__image { aspect-ratio: 4 / 3; }
  .initiatives__cards { grid-template-columns: 1fr; gap: 16px; }
  .initiative { min-height: 0; padding: 24px; flex-direction: row; gap: 20px; }

  .stats { gap: 32px; }
  .stats__intro { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stats__list { grid-template-columns: 1fr; gap: 24px; }
  .stat { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); }
  .stat dt { max-width: none; }

  .projects { gap: 32px; }
  .project { padding-block: 32px; }

  .partners__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }

  /* Journey + team: swipeable rows (one card + a peek of the next) */
  .campaigns { gap: 32px; }
  .campaigns__list, .team__grid {
    display: flex; gap: 16px; align-items: stretch;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .campaigns__list::-webkit-scrollbar, .team__grid::-webkit-scrollbar { display: none; }
  .campaign, .campaign--active { flex: 0 0 84%; scroll-snap-align: start; display: flex; order: 0; }
  .campaign { padding: 16px; background: var(--paper); }   /* all cards boxed, so the row reads evenly */
  .campaign__media img { height: 200px; }
  .campaigns__controls { flex-direction: column; align-items: flex-start; gap: 20px; }

  .cta { padding: 56px 24px; gap: 32px; }

  .team { gap: 40px; }
  .team__grid > :nth-child(n) { flex: 0 0 72%; margin-top: 0; scroll-snap-align: start; }
  .team__controls { margin-top: -16px; }

  .faq__item { padding-block: 28px; }
  .faq__item summary { gap: 16px; }
  .faq__item p { padding-left: 32px; }
  .help-card { flex-direction: column; align-items: flex-start; }

  .footer { padding-block: 56px 40px; }
  .footer__top { padding-bottom: 40px; gap: 40px; }
  .footer__copy { padding-top: 32px; font-size: var(--fs-small); }
  .contact-list a { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
