/* Yayasan Hasil Karya Peduli
   Arah desain: "karung beras". Merah dan biru dari logo hati-merpati dicetak di atas
   putih anyaman karung, dengan label karung, jahitan putus-putus, dan kotak sorot biru
   yang dipakai di poster kampanye yayasan. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Warna logo */
  --red: #EE1721;        /* merah logo, hanya untuk dekorasi dan teks besar */
  --red-btn: #D6131D;    /* tombol, teks putih 5,3:1 */
  --red-ink: #C8101A;    /* teks merah di kertas, 5,6:1 */
  --blue: #2663D1;       /* biru logo, teks putih di atasnya 5,5:1 */
  --blue-ink: #1E50B3;   /* teks/tautan biru di kertas, 7:1 */

  --navy: #0E1B36;       /* teks utama 16:1, section gelap */
  --navy-2: #182A50;
  --ink: var(--navy);
  --ink-2: #4A5672;      /* teks sekunder, 7:1 di kertas */
  --paper: #FBF9F4;      /* putih karung */
  --paper-2: #F1ECE1;
  --tint: #EEF3FC;       /* biru sangat muda */
  --white: #FFFFFF;
  --cream: #F6F3EA;      /* teks di navy, 15:1 */
  --mist: #AFC0E0;       /* teks sekunder di navy, 9:1 */
  --sky: #8DB8FF;        /* tautan dan fokus di navy, 8,5:1 */
  --line: rgba(14, 27, 54, 0.14);
  --line-strong: rgba(14, 27, 54, 0.28);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 74rem;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 27, 54, 0.06), 0 10px 30px -14px rgba(14, 27, 54, 0.28);

  /* Anyaman karung: kisi halus dua arah */
  --weave:
    repeating-linear-gradient(0deg, rgba(14, 27, 54, 0.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(14, 27, 54, 0.03) 0 1px, transparent 1px 4px);
  /* Jahitan karung */
  --stitch: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 17px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 {
  margin: 0 0 0.6em;
  font-weight: 800;
  font-stretch: 80%;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.section--navy :focus-visible { outline-color: var(--sky); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.125rem; padding: 0 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 2.75rem; padding: 0 1.15rem; font-size: 0.95rem; }
.btn--red { background: var(--red-btn); color: var(--white); }
.btn--red:hover { background: #B80F18; }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--light { border-color: rgba(246, 243, 234, 0.55); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 0.9rem; font-weight: 700; font-size: 0.95rem; color: var(--red-ink);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 3px; background: var(--stitch); background-size: 17px 3px; }
.lead { font-size: 1.2rem; line-height: 1.55; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(14, 27, 54, 0.5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: block; padding: 0.35rem 0; }
.brand img { width: 110px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; list-style: none; }
.site-nav ul a { color: var(--navy); font-weight: 600; font-size: 0.98rem; text-decoration: none; padding: 0.5rem 0; }
.site-nav ul a:hover { color: var(--red-ink); }
.nav-toggle {
  display: none; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1rem;
  border: 2px solid var(--navy); border-radius: 999px; background: transparent; color: var(--navy);
  font: inherit; font-weight: 700; cursor: pointer;
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 0.5rem 1.25rem 1.5rem; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(14, 27, 54, 0.45);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .btn { align-self: flex-start; }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4.5rem, 7vw, 6rem);
  background-color: var(--paper);
  background-image: var(--weave);
}
.hero::after { /* jahitan di tepi bawah, seperti mulut karung */
  content: ""; position: absolute; left: 0; right: 0; bottom: 1.25rem; height: 3px;
  background: var(--stitch); opacity: 0.85;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__kicker { margin: 0 0 1.1rem; font-weight: 700; color: var(--ink-2); display: flex; align-items: flex-start; gap: 0.6rem; }
.hero__kicker::before { content: ""; width: 0.6rem; height: 0.6rem; margin-top: 0.5em; border-radius: 50%; background: var(--red); flex: none; }
.hero h1 { font-size: clamp(2.6rem, 5.3vw, 4.3rem); font-stretch: 72%; font-weight: 850; line-height: 1.02; margin-bottom: 1.4rem; }
.hero h1 mark {
  background: var(--blue); color: var(--white);
  padding: 0 0.16em; margin-left: -0.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  line-height: 1.18;
}
.hero__lead { font-size: 1.2rem; line-height: 1.55; max-width: 34rem; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1.5rem; }
.hero__legal { display: flex; align-items: center; gap: 0.55rem; margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.hero__legal .icon { color: var(--blue); }

.hero__visual { position: relative; padding: 1.25rem 0 0 1.25rem; }
.hero__photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.hero__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero__photo figcaption {
  position: absolute; left: 0.85rem; top: 0.85rem; max-width: calc(100% - 9rem);
  padding: 0.35rem 0.7rem; border-radius: 6px;
  background: rgba(14, 27, 54, 0.82); color: var(--cream); font-size: 0.8rem; font-weight: 600; line-height: 1.3;
}

/* Label karung (melintang di tepi bawah foto) */
.sack-label {
  position: relative; z-index: 1; margin: -2.75rem 3rem 0 -1.75rem; max-width: 31rem;
  padding: 1.1rem 1.15rem 0; background-color: #FFFDF8; background-image: var(--weave);
  border: 2px solid var(--navy); border-radius: 6px;
  box-shadow: inset 0 0 0 4px #FFFDF8, inset 0 0 0 5px rgba(14, 27, 54, 0.45), 0 22px 40px -22px rgba(14, 27, 54, 0.55);
  transform: rotate(-2deg);
  overflow: hidden;
}
.sack-label::before { /* jahitan atas */
  content: ""; position: absolute; left: 0; right: 0; top: 0.45rem; height: 2px; background: var(--stitch); background-size: 14px 2px;
}
.sack-label__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.35rem 0 0.65rem; border-bottom: 2px solid var(--navy); }
.sack-label__head { display: flex; align-items: center; gap: 0.55rem; }
.sack-label__head img { width: 2.5rem; height: 2.5rem; }
.sack-label__head p { margin: 0; font-weight: 800; font-stretch: 110%; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-ink); line-height: 1; white-space: nowrap; }
.sack-label__head em { display: block; font-family: var(--font-accent); font-size: 1.3rem; letter-spacing: 0.04em; text-transform: none; color: var(--blue); font-weight: 400; margin-top: 0.1rem; }
.sack-label__title {
  margin: 0; max-width: 11rem; text-align: right;
  font-weight: 900; font-stretch: 68%; font-size: 1.4rem; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.01em;
}
.sack-label__rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1rem; margin: 0.35rem 0 0.75rem; line-height: 1.25; }
.sack-label__rows div { padding: 0.4rem 0; border-bottom: 1px dotted var(--line-strong); }
.sack-label__rows div:nth-last-child(-n + 2) { border-bottom: 0; }
.sack-label__rows .sack-label__wide { grid-column: span 2; }
.sack-label__rows dt { font-size: 0.74rem; font-weight: 600; color: var(--ink-2); }
.sack-label__rows dd { margin: 0.1rem 0 0; font-size: 0.9rem; font-weight: 700; }
.sack-label__band {
  margin: 0 -1.15rem; padding: 0.5rem 1rem; background: var(--blue); color: var(--white);
  font-weight: 800; font-stretch: 90%; text-align: center; letter-spacing: 0.02em;
}

/* Cap bulat */
.stamp { position: absolute; top: -0.5rem; right: -1rem; width: 8.25rem; height: 8.25rem; transform: rotate(12deg); filter: drop-shadow(0 8px 14px rgba(14, 27, 54, 0.25)); }
.stamp__disc { fill: var(--white); }
.stamp__ring { fill: none; stroke: var(--red); stroke-width: 2; }
.stamp__text { font-family: var(--font); font-weight: 800; font-size: 12.5px; fill: var(--red-ink); }

/* Angka */
.facts { background: var(--paper-2); border-block: 1px solid var(--line); }
.facts__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts__list li { padding: 1.75rem 1.5rem 1.85rem; border-left: 1px solid var(--line); }
.facts__list li:first-child { border-left: 0; padding-left: 0; }
.facts__list strong { display: block; font-weight: 900; font-stretch: 72%; font-size: clamp(2.6rem, 4.5vw, 3.4rem); line-height: 1; color: var(--blue-ink); margin-bottom: 0.45rem; }
.facts__list li:nth-child(odd) strong { color: var(--red-ink); }
.facts__list span { display: block; font-size: 0.97rem; color: var(--ink-2); line-height: 1.45; max-width: 16rem; }

/* Section dasar */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--tint); }
.section--paper { background: var(--paper-2); }
.section--navy { background: var(--navy); color: var(--cream); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; }
.section-head--split h2 { margin-bottom: 0; }
.section-head--split > p { margin: 0; color: var(--ink-2); }
.section-head--light .eyebrow { color: #FF9AA0; }
.section-head--light > p { color: var(--mist); font-size: 1.15rem; }

/* Tentang */
.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about__story > p:not(.lead):not(.eyebrow) { color: var(--ink-2); }
.torang { margin-top: 2rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.torang p { margin: 0; }
.torang__tag { display: inline-block; margin-bottom: 0.6rem !important; padding: 0.15rem 0.5rem; background: var(--blue); color: var(--white); font-weight: 800; font-stretch: 85%; font-size: 1.3rem; }
.about__aims { display: grid; gap: 1.25rem; }
.aim-card { padding: 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.aim-card h3 { font-size: 1.6rem; }
.aim-card--visi { background: var(--blue); color: var(--white); border-color: var(--blue); }
.aim-card--visi p { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.mission { list-style: none; counter-reset: misi; display: grid; gap: 0.9rem; }
.mission li { counter-increment: misi; display: grid; grid-template-columns: 2.1rem 1fr; gap: 0.5rem; color: var(--ink-2); line-height: 1.5; }
.mission li::before { content: counter(misi, decimal-leading-zero); font-weight: 900; font-stretch: 75%; color: var(--red-ink); font-size: 1.15rem; line-height: 1.35; }

/* Pilar program */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pillar { padding: 1.9rem 1.75rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pillar__icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; margin-bottom: 1.25rem; font-size: 1.45rem; }
.pillar__icon--red { background: #FDE5E6; color: var(--red-ink); }
.pillar__icon--blue { background: #DCE7FB; color: var(--blue-ink); }
.pillar__icon--navy { background: #E3E6EE; color: var(--navy); }
.pillar h3 { font-size: 1.55rem; }
.pillar p { margin: 0; color: var(--ink-2); }

/* Jejak program */
.programs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
.program { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.program img { width: 100%; aspect-ratio: 1280 / 670; object-fit: cover; background: var(--paper-2); }
.program__body { padding: 1.1rem 1.25rem 1.35rem; }
.program__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0 0 0.6rem; font-size: 0.88rem; font-weight: 700; color: var(--ink-2); }
.tag { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.tag--blue { background: #DCE7FB; color: #1A4599; }
.tag--red { background: #FDE5E6; color: #A60D15; }
.tag--navy { background: #E3E6EE; color: var(--navy); }
.program h3 { font-size: 1.12rem; font-stretch: 85%; line-height: 1.2; margin-bottom: 0.5rem; }
.program__place { display: flex; align-items: flex-start; gap: 0.35rem; margin: 0 0 0.6rem; font-size: 0.9rem; font-weight: 600; color: var(--blue-ink); }
.program__place .icon { margin-top: 0.1em; }
.program__body > p:last-child { margin: 0; font-size: 0.95rem; color: var(--ink-2); line-height: 1.5; }
.programs__hint { display: none; }

/* Kegiatan */
.story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.story__photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.story__photo img { width: 100%; }
.story__date { margin: 0 0 0.5rem; font-weight: 700; color: var(--red-ink); font-size: 0.95rem; }
.story__text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.story__text > p { color: var(--ink-2); }
.recipients { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 1.25rem; margin: 0 0 1.75rem; }
.recipients li { position: relative; padding-left: 1.15rem; font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.recipients li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--red); }
.recipients span { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.88rem; }
.quote { margin: 0; padding: 1.4rem 1.5rem 1.3rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.quote p { font-family: var(--font-accent); font-style: italic; font-size: 1.5rem; line-height: 1.3; margin: 0 0 0.75rem; color: var(--navy); }
.quote p::before { content: "\201C"; display: block; font-family: var(--font-accent); font-size: 3.5rem; line-height: 0.6; height: 1.6rem; color: var(--red); }
.quote footer { font-size: 0.92rem; color: var(--ink-2); }
.quote footer strong { color: var(--navy); }

.story-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.story--compact { grid-template-columns: 1fr; margin-bottom: 0; gap: 1.4rem; }
.story--compact .story__photo img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }
.story--compact .story__text h3 { font-size: 1.6rem; }

.video { display: grid; gap: 1.4rem; align-content: start; }
.video__facade { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); color: var(--white); text-decoration: none; aspect-ratio: 16 / 9; }
.video__facade {
  background-image:
    repeating-linear-gradient(0deg, rgba(246, 243, 234, 0.05) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(246, 243, 234, 0.04) 0 1px, transparent 1px 4px);
}
.video__facade::before { /* jahitan */
  content: ""; position: absolute; left: 0; right: 0; top: 1rem; height: 2px; background: var(--stitch); background-size: 14px 2px; opacity: 0.9;
}
.video__poster { position: absolute; left: 1.5rem; top: 2.25rem; display: flex; align-items: center; gap: 0.85rem; }
.video__poster img { width: 3.25rem; height: 3.25rem; padding: 0.3rem; border-radius: 50%; background: var(--white); }
.video__years { font-weight: 900; font-stretch: 68%; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--white); letter-spacing: -0.01em; }
.video__years span { color: var(--sky); padding: 0 0.08em; }
.video__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; background: var(--red-btn); color: var(--white); font-size: 1.6rem; transition: transform 0.15s ease; }
.video__play .icon { margin-left: 0.15em; }
.video__facade:hover .video__play { transform: scale(1.06); }
.video__label { position: absolute; left: 1rem; bottom: 0.9rem; z-index: 1; display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.95rem; }
.video__len { padding: 0.1rem 0.45rem; border-radius: 4px; background: rgba(0, 0, 0, 0.55); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__text h3 { font-size: 1.6rem; }
.video__text p { margin: 0; color: var(--ink-2); }

/* Donasi */
.ways { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.way { display: flex; flex-direction: column; align-items: flex-start; padding: 1.9rem 1.75rem; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(175, 192, 224, 0.18); }
.way h3 { font-size: 1.55rem; color: var(--white); }
.way p { color: var(--mist); }
.way .btn { margin-top: auto; }
.way__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; margin-bottom: 1.2rem; background: rgba(141, 184, 255, 0.14); color: var(--sky); font-size: 1.35rem; }
.way--main { background: var(--paper); background-image: var(--weave); color: var(--ink); border-color: var(--paper); }
.way--main h3 { color: var(--navy); }
.way--main p { color: var(--ink-2); }
.way--main .way__icon { background: #FDE5E6; color: var(--red-ink); }
.way__note { margin: 1rem 0 0; font-size: 0.9rem; }

/* Kontak */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__intro .lead { color: var(--ink-2); }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.socials a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--navy); font-weight: 600; text-decoration: none; }
.socials a:hover { border-color: var(--navy); background: var(--white); }
.contact__cards { list-style: none; display: grid; gap: 1rem; }
.contact-card { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--tint); color: var(--blue-ink); font-size: 1.3rem; }
.contact-card h3 { font-size: 1.15rem; font-stretch: 90%; margin: 0.25rem 0 0.35rem; }
.contact-card p { margin: 0 0 0.4rem; color: var(--ink-2); }
.contact-card p:last-child { margin: 0; }
.contact-card a { font-weight: 700; display: inline-flex; align-items: center; gap: 0.3rem; overflow-wrap: anywhere; }

/* FAQ */
.faq { max-width: 52rem; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__list details { border-bottom: 1px solid var(--line-strong); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.12rem; line-height: 1.35;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .icon { color: var(--blue); font-size: 1.25rem; transition: transform 0.2s ease; }
.faq__list details[open] summary .icon { transform: rotate(180deg); }
.faq__list details p { margin: 0 0 1.35rem; max-width: 44rem; color: var(--ink-2); }

/* Penutup */
.closing { position: relative; padding: clamp(4.5rem, 8vw, 6.5rem) 0; background-color: var(--paper); background-image: var(--weave); text-align: center; }
.closing::before { content: ""; position: absolute; left: 0; right: 0; top: 1.25rem; height: 3px; background: var(--stitch); opacity: 0.85; }
.closing__mark { width: 4.5rem; height: 4.5rem; margin: 0 auto 1.4rem; }
.closing h2 { max-width: 40rem; margin-inline: auto; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; font-size: 0.96rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; }
.site-footer__brand img { width: 140px; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 22rem; color: var(--ink-2); }
.site-footer h2 { font-size: 1rem; font-stretch: 100%; letter-spacing: 0; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.3rem; color: var(--ink-2); }
.site-footer a { display: inline-block; padding: 0.2rem 0; color: var(--navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.site-footer__base p { margin: 0; font-size: 0.88rem; color: var(--ink-2); }

/* Animasi masuk (hanya bila JS aktif dan pengguna tidak meminta gerak dikurangi) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .sack-label[data-reveal] { transform: rotate(-3deg) translateY(24px); transition-delay: 0.15s; }
  .js .sack-label[data-reveal].is-in { transform: rotate(-3deg); }
  .js .stamp { animation: stamp-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both; }
  @keyframes stamp-in {
    from { opacity: 0; transform: rotate(-8deg) scale(1.5); }
    to { opacity: 1; transform: rotate(12deg) scale(1); }
  }
}

/* Responsif */
@media (max-width: 1099px) {
  .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: 1fr 1fr; }
  .way--main { grid-column: 1 / -1; }
}

@media (max-width: 959px) {
  .hero__grid, .about, .story, .story-pair, .contact, .section-head--split { grid-template-columns: 1fr; }
  .hero__visual { max-width: 36rem; padding: 1rem 0 0; }
  .sack-label { margin-left: -0.5rem; }
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 639px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 2rem, var(--container)); }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero__lead, .lead { font-size: 1.08rem; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { padding-top: 0.5rem; }
  .hero__photo figcaption { max-width: calc(100% - 6.5rem); font-size: 0.75rem; }
  .sack-label { margin: -2rem 0.5rem 0 0.5rem; }
  .sack-label__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .sack-label__rows div:nth-last-child(-n + 2) { border-bottom: 1px dotted var(--line-strong); }
  .sack-label__rows .sack-label__wide { border-bottom: 0; }
  .sack-label__title { font-size: 1.3rem; }
  .stamp { width: 6.25rem; height: 6.25rem; right: -0.4rem; top: -1.4rem; }
  .facts__list li { padding: 1.35rem 1rem 1.4rem; }
  .facts__list li:nth-child(odd) { padding-left: 0; }
  /* Jejak program jadi deretan yang digeser ke samping */
  .programs {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 0.75rem;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: -1rem; padding: 0.25rem 1rem 1rem; scroll-padding-inline: 1rem;
  }
  .program { scroll-snap-align: start; }
  .program__body { padding: 1rem 1.1rem 1.15rem; }
  .programs__hint { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.75rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
  .sack-label__top { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .sack-label__title { text-align: left; max-width: none; }
  .recipients { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .way .btn { width: 100%; }
  .closing__actions .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
