/* =========================================================
   Program Persiapan Masa Pensiun (MPP) — MDI Tack
   Design system: "Puncak" (summit) — pine + cream + gold,
   serif display + handwritten script + clean sans.
   Inspired by the visual language of to-top.ch (not a clone).
   Plain CSS, no framework. Mobile-first. Breakpoint 768px.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --pine:        #0e2b1e;
  --pine-2:      #123a28;
  --pine-3:      #1b4a33;
  --pine-deep:   #0a2016;
  --cream:       #f4efe1;
  --bone:        #efe7d3;
  --sage:        #e9eddf;   /* soft sage section bg */
  --sage-panel:  #cdd8bc;
  --butter:      #ece5c2;
  --gold:        #f2c22e;
  --gold-2:      #dda520;   /* darker gold for text/hover on light */
  --gold-ink:    #2a2205;
  --ink:         #15211b;
  --ink-soft:    #2e3c32;
  --white:       #ffffff;
  --line:        #e2dcc9;
  --line-pine:   rgba(255,255,255,.14);

  /* Typography */
  --serif:   "Playfair Display", Georgia, "Times New Roman", serif;
  --script:  "Caveat", "Segoe Script", cursive;
  --sans:    "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 1.125rem;   /* 18px */
  --lh-body: 1.7;
  --measure: 65ch;

  /* Spacing */
  --sp-1:.5rem; --sp-2:1rem; --sp-3:1.5rem; --sp-4:2rem;
  --sp-5:3rem;  --sp-6:4.5rem; --sp-7:6.5rem;

  /* Layout */
  --container: 1180px;
  --r-card: 18px;    /* cards / panels */
  --r-input: 10px;   /* inputs */
  --r-pill: 999px;   /* buttons */

  --btn-h: 54px;
  --tap: 48px;
  --header-h: 76px;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* Four complementary dimensions: connected on desktop, stacked on mobile. */
.dimensions-heading { text-align: center; max-width: 850px; margin: 0 auto var(--sp-5); }
.dimensions-heading .eyebrow { margin-bottom: var(--sp-2); }
.dimensions-heading .lead { margin: var(--sp-2) auto 0; max-width: 720px; }
.dimensions-map { position: relative; display: grid; grid-template-columns: 1fr 210px 1fr; grid-template-rows: repeat(2,minmax(250px,auto)); gap: var(--sp-4) 0; }
.dimensions-connectors { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--pine-3); pointer-events: none; }
.dimension { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.dimension--mind { grid-area: 1 / 1; }
.dimension--health { grid-area: 1 / 3; }
.dimension--finance { grid-area: 2 / 1; }
.dimension--purpose { grid-area: 2 / 3; }
.dimension--mind, .dimension--finance { flex-direction: row-reverse; }
.dimension-copy { flex: 1; min-width: 0; }
.dimension-copy h3 { line-height: 1.12; }
.dimension-copy p { font-size: 1rem; line-height: 1.6; margin: 0; color: var(--ink-soft); }
.dimension-visual { position: relative; flex: 0 0 43%; }
.dimension-photo { width: 100%; aspect-ratio: 1; border-radius: 50%; background-image: url('../assets/images/dimensi-illustrations.png'); background-size: 200% 200%; background-position: 0 0; }
.dimension--health .dimension-photo { background-position: 100% 0; }
.dimension--finance .dimension-photo { background-position: 0 100%; }
.dimension--purpose .dimension-photo { background-position: 100% 100%; }
.dimension-badge { position: absolute; top: -22px; right: -5px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold-2); background: var(--cream); color: var(--gold-2); }
.dimension--mind .dimension-badge, .dimension--finance .dimension-badge { right: auto; left: -5px; }
.dimensions-center { grid-area: 1 / 2 / 3 / 3; position: relative; align-self: center; z-index: 2; }
.dimensions-medallion { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 210px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold-2); box-shadow: inset 0 0 0 5px var(--cream), inset 0 0 0 6px var(--gold-2); background: var(--pine); padding: 25px; text-align: center; }
.dimensions-medallion p { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.12; color: var(--cream); margin: 0; }
.dimensions-petals { position: absolute; inset: -48px; }
.dimensions-petals i { position: absolute; width: 50%; height: 50%; background: var(--sage-panel); opacity: .5; border-radius: 0 85% 0 85%; }
.dimensions-petals i:nth-child(2) { right: 0; transform: rotate(90deg); }
.dimensions-petals i:nth-child(3) { bottom: 0; transform: rotate(90deg); }
.dimensions-petals i:nth-child(4) { bottom: 0; right: 0; }
@media (max-width: 1050px) {
  .dimensions-map { grid-template-columns: 1fr 150px 1fr; }
  .dimensions-medallion { width: 150px; padding: 18px; }
  .dimensions-medallion p { font-size: 1.3rem; }
  .dimension { flex-direction: column; align-items: flex-start; padding: 0 1.5rem; }
  .dimension-visual { width: 145px; flex-basis: auto; align-self: center; }
  .dimensions-petals { inset: -25px; }
}
@media (max-width: 700px) {
  .dimensions-heading { margin-bottom: 2.5rem; }
  .dimensions-heading .lead { font-size: 1.05rem; }
  .dimensions-map { display: flex; flex-direction: column; gap: 2.4rem; }
  .dimensions-connectors, .dimensions-petals { display: none; }
  .dimensions-center { align-self: center; margin-bottom: .5rem; }
  .dimensions-medallion { width: 175px; }
  .dimensions-medallion p { font-size: 1.5rem; }
  .dimension { flex-direction: row; padding: 0; gap: 1.25rem; }
  .dimension-visual { width: auto; flex: 0 0 32%; }
  .dimension-badge { width: 44px; height: 44px; top: -12px; right: -4px; }
  .dimension-badge svg { width: 25px; height: 25px; }
  .dimension--mind .dimension-badge, .dimension--finance .dimension-badge { left: auto; right: -4px; }
  .dimension-copy p { font-size: .95rem; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--pine); line-height: 1.08; font-weight: 700; margin: 0 0 var(--sp-2); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.02em; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 var(--sp-2); }
em { font-style: italic; }

/* Accessibility helpers */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--gold); color: var(--gold-ink); padding: .75rem 1.25rem;
  font-family: var(--sans); font-weight: 700; border-radius: 0 0 var(--r-input) 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--sp-3); }
.narrow { max-width: 820px; }
.section { padding-block: var(--sp-6); position: relative; }
.section-cream { background: var(--cream); }
.section-sage  { background: var(--sage); }
.section-navy  { background: var(--pine); color: var(--white); }   /* repurposed: dark pine block */
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy .lead, .section-navy .choice-card p { color: var(--white); }
.section-head { max-width: 40ch; margin-bottom: var(--sp-5); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: var(--measure); }
.lead-invert { color: var(--white); }

/* Script eyebrow (replaces the old uppercase eyebrow) */
.eyebrow, .eyebrow-script {
  font-family: var(--script); font-weight: 600; text-transform: none;
  letter-spacing: 0; font-size: 1.75rem; line-height: 1; color: var(--gold-2);
  margin: 0 0 var(--sp-1);
}
.section-navy .eyebrow, .section-navy .eyebrow-script { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--btn-h); padding: 0 1.9rem;
  font-family: var(--sans); font-weight: 600; font-size: 1.02rem;
  text-decoration: none; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  /* Transform is composed from custom properties so the magnet (JS, sets
     --magnet-*) and the press state (CSS, sets --press) can coexist — writing
     el.style.transform directly would make one silently overwrite the other. */
  transform: translate(var(--magnet-x, 0px), var(--magnet-y, 0px)) scale(var(--press, 1));
  transition: transform .15s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .3s;
}
.btn:active { --press: .97; }
.btn-primary { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); box-shadow: 0 10px 26px rgba(242,194,46,.26); }
.btn-primary:hover, .btn-primary:focus-visible { background: #ffce45; box-shadow: 0 16px 38px rgba(242,194,46,.4); }
.btn-secondary { background: transparent; color: var(--pine); border-color: rgba(14,43,30,.3); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--pine); background: rgba(14,43,30,.05); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); }
.section-navy .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.4); }
.section-navy .btn-secondary:hover { background: var(--white); color: var(--pine); }
.btn-sm { min-height: var(--tap); padding: 0 1.3rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header .header-inner { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.site-nav { display: none; gap: var(--sp-4); margin-left: auto; }
.site-nav a { font-family: var(--sans); font-weight: 500; text-decoration: none; color: #f2efe6; font-size: 1rem; opacity: .9; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; }
.site-nav a:active { opacity: .6; transition-duration: .08s; }
.header-cta { margin-left: auto; }
/* solid state after scroll */
.site-header.scrolled { background: rgba(12,34,24,.92); backdrop-filter: saturate(1.1) blur(10px); border-bottom-color: var(--line-pine); box-shadow: 0 8px 30px rgba(0,0,0,.18); }

/* ============ HERO — Puncak ============ */
.hero {
  position: relative; min-height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column; isolation: isolate;
  background: linear-gradient(180deg, #0c2b28 0%, #103430 34%, #14413a 55%, #16402c 74%, #16351d 100%);
}
/* Stacked layout: copy sits in the teal band on top, the layered scene is a band below it.
   The scene never overlaps the copy — text is always north of the mountains. */
.hero-scene { position: relative; z-index: 0; order: 0; width: 100%; margin-top: auto; overflow: hidden; }

/* Stage: full-width band, locked to the source frame so all six cut-outs reassemble the scene */
.hero-stage {
  position: relative; width: 100%; margin: 0 auto; z-index: 1;
  aspect-ratio: 2399 / 1680;
  /* full natural aspect — never crop vertically so the couple + mountains are always whole */
  animation: heroDrift 30s ease-in-out infinite alternate; transform-origin: 60% 100%;
  /* melt the scene's baked-in sky into the teal gradient so there is no seam at the top edge */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 8%, #000 20%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 8%, #000 20%);
}
@keyframes heroDrift { from { transform: scale(1); } to { transform: scale(1.035); } }
.hero-l {
  position: absolute; inset: 0;
  background-repeat: no-repeat; background-size: cover; background-position: center bottom;
}
/* bottom → top exactly as specified */
.hero-l1 { background-image: url("../assets/images/hero-l1-lastmount.webp"); }
.hero-l2 { background-image: url("../assets/images/hero-l2-mist.webp"); }
.hero-l3 { background-image: url("../assets/images/hero-l3-forest.webp"); }
.hero-l4 { background-image: url("../assets/images/hero-l4-ridge.webp"); }
.hero-l5 { background-image: url("../assets/images/hero-l5-meadow.webp"); }
.hero-l6 { background-image: url("../assets/images/hero-l6-couple.webp");
  transform: translateY(6%); opacity: 0; transition: opacity 1.1s .5s var(--ease); }
.hero.in .hero-l6 { opacity: 1; }

/* stacked layout: copy is on teal, so the scrim veil and trail path are no longer needed */
.hero-veil, .hero-path { display: none; }

.hero-inner { position: relative; z-index: 10; order: -1; width: 100%;
  padding-top: calc(var(--header-h) + clamp(28px, 7vh, 84px));
  padding-bottom: clamp(20px, 4vh, 44px); }
/* to-top.ch style: centered stack, two-tone display, script tagline under the headline */
.hero-copy { max-width: 1100px; margin: 0 auto; text-align: center; }
.hero h1 { color: #fbf9f2; margin-bottom: .5rem; text-shadow: 0 2px 34px rgba(0,0,0,.4);
  font-size: clamp(3.2rem, 7.8vw, 5.8rem); line-height: 1.02; letter-spacing: -.028em; }
.hero h1 em { font-weight: 400; font-style: normal; font-family: var(--script); font-size: 1.05em; color: rgba(242,194,46,.92); }
.hero h1 .rise { display: block; }
.hero h1 .rise-muted { color: #fbf9f2; white-space: nowrap; }
.hero .eyebrow-script { color: var(--gold); font-size: clamp(1.9rem, 3.4vw, 3rem);
  margin: 0 0 var(--sp-3); }
/* word-by-word cascade reveal (words split by JS into .word > .word-in) */
.hero h1 .word, .hero .eyebrow-script .word { display: inline-block; }
.hero h1 .word-in, .hero .eyebrow-script .word-in {
  display: inline-block; opacity: 0; transform: translateY(0.3em);
  transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: transform, opacity; }
.hero.in h1 .word-in, .hero.in .eyebrow-script .word-in { opacity: 1; transform: none; }
.hero-sub { font-size: 1.2rem; color: #e4eadf; max-width: 52ch; margin: 0 auto var(--sp-4);
  opacity: 0; transform: translateY(14px); transition: .7s 1.35s var(--ease); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2);
  opacity: 0; transform: translateY(14px); transition: .6s 2.05s var(--ease); }
.hero.in .hero-sub, .hero.in .hero-actions { opacity: 1; transform: none; }

/* couple hilltop cutout reveals after load */
.hero.in .hero-couple { opacity: 1; }

/* trust strip on cream torn base */
.hero-torn { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; line-height: 0; }
.hero-torn svg { display: block; width: 100%; height: 96px; }
.hero-trust {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7;
  background: var(--cream); color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; align-items: center; justify-content: center;
  padding: 16px var(--sp-3) 18px; font-size: 1rem; text-align: center;
}
.hero-trust b { font-family: var(--serif); color: var(--pine); font-weight: 700; }
.hero-trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2); display: none; }

/* ---------- Reveal on scroll (progressive enhancement) ----------
   Hidden states apply only when JS is present (.js on <html>).
   Without JS, everything below stays visible. */
:root:not(.js) .reveal,
:root:not(.js) [data-stagger] > *,
:root:not(.js) .hero .eyebrow-script,
:root:not(.js) .hero .hero-sub,
:root:not(.js) .hero .hero-actions,
:root:not(.js) .hero h1 .rise,
:root:not(.js) .hero-couple { opacity: 1 !important; transform: none !important; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(2) { transition-delay: .08s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .16s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .24s; }

/* ---------- Why MPP: photo + numbered benefits ---------- */
/* Benefits: editorial panorama */
.why-head { margin: 0 0 var(--sp-5); text-align: left; }
.why-head h2 { font-size: clamp(2rem, 5.2vw, 3.2rem); line-height: 1.12; margin-bottom: var(--sp-2); }
.why-head .lead { margin: 0; max-width: 80ch; }
.why-grid { display: grid; gap: 32px; }
.why-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 16px; }
.why-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.why-list li { padding: 0 24px; margin: 0; min-width: 0; }
.why-list li:first-child { padding-left: 0; }
.why-list li:last-child { padding-right: 0; }
.why-list li + li { border-left: 1px solid #d5b565; }
.why-num { display: block; font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.5rem); color: var(--gold-2); line-height: 1; margin-bottom: 12px; }
.why-list h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.25; margin: 0 0 16px; }
.why-list p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }
@media (max-width: 999px) {
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .why-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .why-list li:nth-child(2) { padding-right: 0; }
  .why-photo { aspect-ratio: 5 / 2; }
}
@media (max-width: 599px) {
  .why-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .why-list li { padding: 0; }
  .why-list li + li { border-left: 0; border-top: 1px solid #d5b565; padding-top: 24px; }
  .why-photo { aspect-ratio: 16 / 9; object-position: center; }
  .why-head h2 br { display: none; }
}

/* ---------- Definition (dark pine feature block) ---------- */
.definition {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.4; letter-spacing: -.012em; color: #fbf9f2; margin: 0; max-width: 44ch;
}
.section-navy .definition { color: #fbf9f2; }

/* Centred opener + cream stat panel. The panel is the one light surface in
   this dark section, which is what keeps it from reading as a wall of text. */
.about-head { max-width: 760px; margin-inline: auto; text-align: center; }
.about-head .definition { max-width: 56ch; margin-inline: auto; }
.eyebrow-ruled { display: flex; align-items: center; justify-content: center; gap: 1rem; }
/* currentColor so the rules follow the eyebrow's own gold — the darker
   --gold-2 on light sections, the brighter --gold on pine ones. */
.eyebrow-ruled::before, .eyebrow-ruled::after {
  content: ""; height: 1px; width: clamp(28px, 8vw, 96px); background: currentColor; opacity: .45;
}

.stat-panel {
  display: grid; background: var(--cream); border-radius: var(--r-card);
  margin-top: var(--sp-5); overflow: hidden;
}
.stat { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: var(--sp-4) var(--sp-3); }
.stat + .stat { border-top: 1px solid rgba(14,43,30,.14); }
.stat-num { font-family: var(--serif); font-weight: 700; color: var(--pine); font-size: clamp(3rem, 7vw, 4.4rem); line-height: .9; letter-spacing: -.02em; }
.stat-label { color: var(--pine); font-size: 1.05rem; line-height: 1.25; text-align: left; }
.stat-note { text-align: center; color: #dfe6da; font-size: 1rem; margin: var(--sp-3) 0 0; }

/* ---------- Card grids ---------- */
.card-grid { display: grid; gap: var(--sp-3); }
.card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }

/* Dimension cards */
.dim-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--sp-4); box-shadow: 0 14px 34px rgba(14,43,30,.05);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.dim-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(14,43,30,.1); }
/* Line icon, no filled disc: four solid gold circles in a row out-shouted the
   content, and gold is an accent everywhere else on the page. */
.dim-icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-2); margin-bottom: var(--sp-2);
}
/* 34px was too small for the brain's lobes to register — they flattened into
   a capsule. CSS overrides the inline width/height on all four at once. */
.dim-icon svg { width: 42px; height: 42px; }
.dim-card h3 { font-size: 1.25rem; }
.dim-card p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Session lists (curriculum) ---------- */
.session-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); counter-reset: none; }
.session {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: var(--sp-4);
  box-shadow: 0 12px 30px rgba(14,43,30,.05);
}
.session-num {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--pine); color: var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: 1.35rem;
}
.session-num-range { font-size: 1rem; letter-spacing: -.02em; }
.session-with-photo { overflow: hidden; }
.session-mindset-image {
  position: relative; grid-column: 1 / -1; min-height: 220px;
  margin: 0 calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4));
}
.session-mindset-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
}
.session-with-options { overflow: hidden; }
.session-options-mobile { display: grid; }
.session-option-images {
  grid-column: 1 / -1; position: relative;
  gap: 0; min-width: 0; min-height: 350px;
  margin: 0 calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4));
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%);
  mask-image: linear-gradient(to bottom, transparent, #000 25%);
}
@media (min-width: 1000px) {
  .session.session-with-photo,
  .session.session-with-options { grid-template-columns: 52px minmax(0, 1fr) minmax(280px, 34%); }
  .session-with-photo .session-body { align-self: center; }
  .session-with-photo .session-mindset-image,
  .session-with-options .session-option-images {
    grid-column: 3; align-self: stretch;
    margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%);
    mask-image: linear-gradient(to right, transparent 0%, #000 20%);
  }
  .session-options-mobile {
    position: absolute; inset: 0; grid-template-rows: repeat(2, minmax(0, 1fr));
    background: var(--white);
  }
  .session-options-mobile img {
    width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center;
  }
  .session-options-mobile .session-options-board {
    object-fit: contain; padding: .5rem;
  }
}
/* Compact layouts use the image's natural proportions, not the desktop bleed. */
@media (max-width: 999px) {
  .session-with-options .session-option-images {
    position: static; min-height: 0; width: auto;
    margin: 0 calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)); align-self: start;
    -webkit-mask-image: none; mask-image: none;
  }
  .session-options-mobile {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--white);
  }
  .session-options-mobile img {
    display: block; width: 100%; height: auto; aspect-ratio: 1;
    object-fit: cover; object-position: center;
  }
  .session-options-mobile .session-options-board {
    object-fit: contain; padding: clamp(.5rem, 2vw, 1.25rem);
  }
  .session-with-photo .session-mindset-image {
    min-height: 0; aspect-ratio: 4 / 3;
    margin: 0 calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4));
    width: auto; justify-self: stretch;
    overflow: hidden; border-radius: 0;
    -webkit-mask-image: none; mask-image: none;
  }
  .session-mindset-image img {
    inset: 0; width: 100%; max-width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    -webkit-mask-image: none; mask-image: none;
  }
}
@media (min-width: 700px) and (max-width: 999px) {
  .session.session-with-options { grid-template-columns: 52px minmax(0, 1fr); gap: 1rem; }
  .session-with-options .session-option-images { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
  .session.session-with-options, .session.session-with-photo {
    grid-template-columns: minmax(0, 1fr); padding: 1.25rem; gap: 1rem;
  }
  .session-with-options .session-num, .session-with-photo .session-num { width: 42px; height: 42px; }
  .session-with-options .session-body, .session-with-photo .session-body { min-width: 0; }
  .session-with-options .session-option-images { margin: 0 -1.25rem -1.25rem; }
  .session-with-photo .session-mindset-image { margin: 0 -1.25rem -1.25rem; }
}
.session-body h3 { margin-bottom: .4rem; }
.session-body p { color: var(--ink-soft); margin-bottom: .5rem; font-size: 1.02rem; }
.session-points { margin: .35rem 0 0; padding-left: 1.2rem; }
.session-points li { color: var(--ink-soft); margin-bottom: .4rem; font-size: 1.02rem; }
.session-points li:last-child { margin-bottom: 0; }
.session-points strong { color: var(--pine); font-weight: 700; }
.session-desc { margin: .35rem 0 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; }
.session-desc strong { color: var(--pine); font-weight: 700; }
.session-activity { margin-bottom: 0 !important; }
.activity-tag {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  font-size: .8rem; letter-spacing: .01em;
  background: var(--butter); color: var(--gold-ink); padding: .22rem .6rem;
  border-radius: var(--r-pill); margin-right: .5rem;
}

/* Day-2 choice cards */
.choice-title { margin-top: var(--sp-6); font-size: 1.6rem; }
.choice-sub { margin-bottom: var(--sp-4); }
.choice-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--sp-4); box-shadow: 0 12px 30px rgba(14,43,30,.05);
}
.choice-card-accent { background: var(--pine); color: #f2efe6; border-color: var(--pine); }
.choice-card-accent h4 { color: #fff; }
.choice-visit-wrap {
  margin: 1.5rem calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4));
  overflow: hidden;
  border-radius: 0 0 var(--r-card) var(--r-card);
}
.choice-visit {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 55%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}
.choice-gameboard-wrap {
  margin: 1.5rem calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4));
  padding: 0 var(--sp-3) .5rem;
  overflow: hidden;
  border-radius: 0 0 var(--r-card) var(--r-card);
}
.choice-gameboard {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}
.choice-badge {
  display: inline-block; font-family: var(--script); font-weight: 600;
  font-size: 1.4rem; line-height: 1; color: var(--gold-2); margin-bottom: .3rem;
}
.choice-card-accent .choice-badge { color: var(--gold); }
.choice-card h4 { margin-bottom: .5rem; font-size: 1.2rem; }
.choice-card p { margin: 0 0 .8rem; color: var(--ink-soft); font-size: 1.02rem; }
.choice-card p:last-child { margin-bottom: 0; }
.choice-card-accent p { color: var(--white); }
.choice-alt { padding-top: .8rem; border-top: 1px solid var(--line); font-size: .96rem; }
.choice-card-accent .choice-alt { border-top-color: rgba(255,255,255,.2); }
.choice-alt strong { color: var(--pine); }
.choice-card-accent .choice-alt strong { color: var(--gold); }
.choice-link a { color: var(--gold-2); font-weight: 600; }
.session-desc + .session-desc { margin-top: .6rem; }
.session-desc-note a { color: var(--gold-2); font-weight: 600; }

/* ---------- UMKM destinations (on pine) ---------- */
.destinasi-grid { display: grid; gap: var(--sp-4); align-items: center; }
.destinasi-grid img { border-radius: var(--r-card); width: 100%; box-shadow: 0 20px 44px rgba(0,0,0,.3); }
.destinasi-grid h3 { color: #fff; font-size: 1.6rem; }
.destinasi-grid > div > p { color: rgba(255,255,255,.82); }
.umkm-note { color: var(--white); margin: 0 0 var(--sp-3); font-size: 1rem; border-left: 3px solid var(--gold); padding-left: .85rem; }
/* Scroll-stacked cards: each card sticks, the next scrolls over it.
   Sticky alone makes this reversible — no JS, no scroll listener. */
/* Every card is the same fixed height on purpose: a card shorter than the one
   behind it would let that card peek out below, breaking the stack. The fixed
   height also makes the photo's `height:100%` resolvable (an auto row would
   instead be sized by the image's own aspect ratio). */
/* One stack per city: sticky only holds within its own parent, so each city's
   pile releases at the end of its group before the next city begins. */
.umkm-stack { --stack-top: 88px; --card-h: 640px; }
.umkm-stack + .umkm-stack { margin-top: var(--sp-5); }
.umkm-card {
  position: sticky; top: var(--stack-top); height: var(--card-h);
  background: var(--card-bg, var(--pine-2));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-card);
  margin-bottom: var(--sp-3);
  box-shadow: 0 -12px 36px rgba(0,0,0,.42);
  overflow: hidden;
  will-change: transform, opacity;
}
.umkm-card:last-child { margin-bottom: 0; }

/* Per-card ground tone, picked to sit with each photo. */
.umkm-card--bakery  { --card-bg: #3a2415; }
.umkm-card--agri    { --card-bg: #13341f; }
.umkm-card--frozen  { --card-bg: #14303a; }
.umkm-card--laundry { --card-bg: #15293f; }
.umkm-card--coffee  { --card-bg: #33240f; }
.umkm-card--retail  { --card-bg: #3a1620; }
.umkm-card--batik   { --card-bg: #1e2440; }
.umkm-card--aqua    { --card-bg: #123536; }

.city-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city-card-overlay {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-4);
  background: linear-gradient(to top, rgba(10,32,22,.92) 12%, rgba(10,32,22,.55) 45%, rgba(10,32,22,.15) 100%);
}
.city-eyebrow { color: var(--gold); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; margin: 0 0 .4rem; }
.city-card-overlay h3 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; }
.city-card-overlay p { color: var(--white); margin: 0; max-width: 48ch; font-size: 1rem; line-height: 1.6; }
/* Photo bleeds to the card edge and is feathered out with a mask so it melts
   into the card's own ground colour instead of ending on a hard edge. */
.umkm-card-img {
  position: absolute; inset: auto 0 0 0; width: 100%; height: 55%;
  object-fit: cover;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 50%);
}
.umkm-card-body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: var(--sp-3);
}
.umkm-card-body h3 { color: #fff; font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.1; margin-bottom: .15rem; }
.umkm-sector { color: var(--gold); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 0 0 .9rem; }
.umkm-story { color: var(--white); margin: 0 0 .8rem; font-size: 1rem; line-height: 1.6; }
.umkm-learn { color: var(--white); margin: 0; font-size: .96rem; line-height: 1.6; }
.umkm-learn strong { color: var(--gold); font-weight: 600; }

.journey { margin-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.16); padding-top: var(--sp-4); }
.journey-title { color: #fff; font-size: 1.4rem; margin-bottom: var(--sp-3); }
.journey-steps { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.journey-steps li { margin: 0; }
.journey-num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--gold); color: var(--pine); font-weight: 700; font-size: .95rem; margin-bottom: .6rem; }
.journey-steps h4 { color: #fff; font-size: 1.05rem; margin-bottom: .3rem; }
.journey-steps p { color: var(--white); margin: 0; font-size: .96rem; line-height: 1.55; }

/* ---------- Facilitators ---------- */
/* Panel per kota: bentuknya mengikuti data narasumber, yang memang
   disusun per lokasi x modul, bukan per peran. */
.fac-cities { display: grid; gap: var(--sp-3); }
.fac-city {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--sp-4); box-shadow: 0 14px 34px rgba(14,43,30,.05);
}
.fac-city h3 { font-size: 1.45rem; margin-bottom: var(--sp-2); }
.fac-modules { list-style: none; margin: 0; padding: 0; }
.fac-modules > li { padding: var(--sp-2) 0; border-top: 1px solid var(--line); }
.fac-modules > li:first-child { border-top: none; padding-top: 0; }
.fac-modules > li:last-child { padding-bottom: 0; }
.fac-mod {
  font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-2); margin: 0 0 .35rem;
}
.fac-person { margin: 0 0 .45rem; color: var(--ink); font-size: 1.02rem; line-height: 1.4; }
.fac-person:last-child { margin-bottom: 0; }
.fac-person span { display: block; color: var(--ink-soft); font-size: .92rem; }
.fac-tbd { margin: 0; color: var(--ink-soft); font-size: .95rem; font-style: italic; }

/* ---------- Social proof (pine deep) ---------- */
.logo-wall {
  list-style: none; margin: 0 0 var(--sp-5); padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3);
  align-items: center; justify-items: center;
}
/* Logo klien berwarna penuh di atas latar pine: panel putih solid, bukan
   panel tembus .06 — logo yang sudah berlatar putih akan tetap tampak sebagai
   kotak putih, jadi lebih baik dijadikan chip yang memang disengaja. */
.logo-wall img {
  width: 100%; max-width: 220px; margin: 0 auto; display: block;
  background: #fff; border-radius: var(--r-input);
}
.testi-grid { margin-top: 0; }
.testi-card {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-pine);
  border-radius: var(--r-card); padding: var(--sp-4); margin: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.testi-card blockquote { margin: 0 0 var(--sp-3); font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: #fbf9f2; }
.testi-card figcaption { display: flex; align-items: center; gap: var(--sp-2); font-size: .95rem; color: rgba(255,255,255,.82); }
.testi-card figcaption img { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-pine); }
/* Logo klien 2:1 menggantikan avatar bulat — tidak ada nama/jabatan pada
   testimoni ini, dan ikon orang generik akan menyiratkan individu tertentu. */
.testi-card figcaption .testi-logo {
  width: 92px; height: 46px; border-radius: 6px; border: none;
  background: #fff; object-fit: contain; flex: none;
}
.testi-card figcaption strong { color: #fff; font-weight: 600; }
.partner-strip { margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--line-pine); }
.partner-strip > p { color: rgba(255,255,255,.82); }
.partner-strip ul { margin: var(--sp-2) 0 0; padding-left: 1.2rem; }
.partner-strip li { margin-bottom: .6rem; color: rgba(255,255,255,.88); }
.partner-strip strong { color: var(--gold); font-weight: 600; }

/* ---------- Format ---------- */
.format-grid { margin-bottom: var(--sp-4); }
.format-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--sp-4); box-shadow: 0 12px 30px rgba(14,43,30,.05);
}
.format-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--butter); color: var(--gold-ink); margin-bottom: var(--sp-2);
}
.format-card h3 { font-size: 1.25rem; }
.format-card p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.format-cta {
  display: grid; gap: var(--sp-3); align-items: center;
  background: var(--pine); color: #f2efe6; border-radius: var(--r-card);
  padding: var(--sp-5); box-shadow: 0 24px 54px rgba(14,43,30,.2);
}
.format-cta p { margin: 0; font-size: 1.15rem; color: rgba(255,255,255,.9); }
.format-cta strong { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--sp-2); }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  transition: box-shadow .3s;
}
.faq-item[open] { box-shadow: 0 14px 34px rgba(14,43,30,.08); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: var(--sp-3) var(--sp-4);
  min-height: var(--tap); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--pine);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:active { background: rgba(14,43,30,.05); }
.faq-item summary::after {
  content: "+"; font-family: var(--sans); font-size: 1.7rem; line-height: 1; color: var(--gold-2); flex: none; transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 var(--sp-4) var(--sp-4); }
.faq-answer p { margin: 0; color: var(--ink-soft); max-width: var(--measure); }
.faq-answer a { color: var(--gold-2); }

/* ---------- Lead form (on pine) ---------- */
.lead-form {
  display: grid; gap: var(--sp-3); background: var(--cream);
  border-radius: var(--r-card); padding: var(--sp-5); box-shadow: 0 30px 60px rgba(0,0,0,.28);
}
.field {
  /* align-content: start wajib — .field adalah grid item yang diregangkan ke
     tinggi baris form, dan grid container dengan align-content: normal
     berperilaku stretch, sehingga sisa ruang baris diserap label & kontrol.
     Itu yang bikin select #jumlah jadi 65px sementara yang lain 54px. */
  display: grid; gap: .4rem; align-content: start;
}
.field-full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { font-family: var(--sans); font-weight: 600; color: var(--ink); font-size: 1rem; }
.req { color: #b4261a; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1.02rem; color: var(--ink);
  min-height: var(--btn-h); padding: .7rem .9rem;
  border: 1px solid #b9b2a6; border-radius: var(--r-input); background: var(--white); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pine); outline: 2px solid rgba(14,43,30,.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b4261a; }
.error-msg { color: #c62828; font-size: .9rem; min-height: 1.1em; }
.form-note { font-size: .9rem; color: var(--ink-soft); margin: var(--sp-2) 0 0; }
.form-success {
  margin: var(--sp-2) 0 0; padding: var(--sp-2) var(--sp-3); background: #e8f3ec;
  border: 1px solid #9fd0af; border-radius: var(--r-input); color: #1e5631; font-family: var(--sans); font-weight: 600;
}
.form-error {
  margin: var(--sp-2) 0 0; padding: var(--sp-2) var(--sp-3); background: #fdecea;
  border: 1px solid #e0a39c; border-radius: var(--r-input); color: #8d1d13;
  font-family: var(--sans); font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(255,255,255,.82); padding: var(--sp-6) 0 var(--sp-3); }
.footer-grid { display: grid; gap: var(--sp-4); }
.footer-brand img { height: 42px; width: auto; margin-bottom: var(--sp-2); }
.footer-brand p { max-width: 40ch; font-size: 1rem; }
.footer-nap h3, .footer-links h3 { color: #fff; font-size: 1.2rem; }
.footer-nap p { font-size: 1rem; line-height: 1.9; }
.footer-nap a, .footer-links a { color: var(--gold); }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid var(--line-pine); font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* Sub-heading di dalam #bukti. Pakai pola label kecil huruf besar seperti
   .fac-mod, bukan serif besar — di bawah h2 yang sudah 48px, serif lagi akan
   bersaing dan membuat hierarkinya datar. */
/* .section-navy diikutkan: aturan `.section-navy h3 { color: var(--white) }`
   lebih spesifik (0,1,1) daripada .bukti-sub saja (0,1,0), jadi warna emasnya
   akan tertimpa putih tanpa ini. */
.section-navy .bukti-sub, .bukti-sub {
  font-family: var(--sans); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 var(--sp-2); display: flex; align-items: center; gap: var(--sp-2);
}
.bukti-sub::after {
  content: ""; flex: 1; height: 1px; background: currentColor; opacity: .3;
}
.bukti-sub + .galeri, .bukti-sub + .logo-wall, .bukti-sub + .testi-grid { margin-top: 0; }
.galeri + .bukti-sub, .logo-wall + .bukti-sub { margin-top: var(--sp-5); }

/* ---------- Galeri: tiga baris marquee ----------
   Isi tiap track digandakan di markup, lalu digeser tepat -50% sehingga
   titik akhir identik dengan titik awal — loop tanpa sambungan. Arah
   berselang-seling per baris, durasi beda-beda supaya tidak sinkron. */
.galeri { display: grid; gap: var(--sp-2); margin: 0 0 var(--sp-5); }
.galeri-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.galeri-track {
  /* Jarak lewat margin-right tiap item, bukan gap: dengan gap, lebar track =
     n*img + (n-1)*gap, sehingga -50% meleset setengah gap dan loop menyentak.
     Dengan margin, lebar = n*(img+gap) dan -50% jatuh tepat satu siklus. */
  display: flex; width: max-content;
  animation: galeri-scroll var(--galeri-dur, 50s) linear infinite;
  will-change: transform;
}
.galeri-track--rev { animation-direction: reverse; }
.galeri-row:hover .galeri-track { animation-play-state: paused; }
.galeri-track img { flex: none; height: 180px; width: auto; display: block; margin-right: var(--sp-2); }
@keyframes galeri-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sticky WhatsApp CTA ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: var(--tap); padding: 0 1.1rem;
  background: #1fa855; color: var(--white); text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  border-radius: var(--r-pill); box-shadow: 0 8px 24px rgba(0,0,0,.24);
  transition: transform .2s var(--ease), background .2s;
}
.wa-float:hover { background: #178a45; transform: translateY(-2px); }
.wa-float:active { background: #14773b; transform: translateY(0) scale(.96); transition-duration: .1s; }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 768px) {
  .site-nav { display: flex; }
  .header-cta { margin-left: 0; }
  .hero-trust .dot { display: inline-block; }
  .stat-panel { grid-template-columns: repeat(3, 1fr); }
  .stat + .stat { border-top: none; border-left: 1px solid rgba(14,43,30,.14); }

  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .fac-cities { grid-template-columns: repeat(2, 1fr); }
  .destinasi-grid { grid-template-columns: 1fr 1.15fr; }
  /* Text column sets the row height; the photo covers it. Keeps every card
     the same height so a card fully hides the one stacked behind it. */
  .umkm-stack { --card-h: 400px; }
  /* The photo's left edge sits at 48% and only reaches full opacity at ~65%,
     so the text column (ending at 50%) never runs over a visible photo. */
  .umkm-card-img { inset: 0 0 0 auto; width: 52%; height: 100%;
    mask-image: linear-gradient(to right, transparent 0%, #000 32%); }
  .umkm-card-body { height: 100%; justify-content: center; padding: var(--sp-4) 2.5rem; max-width: 50%; }
  .journey-steps { grid-template-columns: repeat(4, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, max-content); justify-content: center; gap: var(--sp-4); }
  .lead-form { grid-template-columns: repeat(2, 1fr); }
  .format-cta { grid-template-columns: 1fr auto; }
  .footer-grid { grid-template-columns: 2fr 1.4fr 1fr; }
}
@media (min-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* smaller screens: immersive scene behind readable copy */
@media (max-width: 640px) {
  .hero { align-items: flex-start; }
  .hero-inner { padding-top: calc(var(--header-h) + 24px); }
  .hero-l { background-position: center 70%; }
  .hero-veil { background:
    linear-gradient(180deg, rgba(9,25,17,.9) 0%, rgba(9,25,17,.66) 34%, rgba(9,25,17,.22) 58%, rgba(9,25,17,.55) 100%); }
  .hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.6); }
  .section-head { margin-bottom: var(--sp-4); }
}

/* ---------- Reduced motion ---------- */
/* Translucency off: the header is the only backdrop-filter surface, so make it
   solid rather than leaving a half-transparent bar with no blur behind it. */
@media (prefers-reduced-transparency: reduce) {
  .site-header.scrolled { background: var(--pine-deep); backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .site-header.scrolled { background: var(--pine-deep); backdrop-filter: none; }
  .site-nav a { opacity: 1; }
  .btn-secondary { border-color: var(--pine); }
  .btn-ghost, .section-navy .btn-secondary { border-color: #fff; }
  .faq-item, .dim-card, .choice-card { border-color: var(--pine); }
  .umkm-card, .stat-panel { border-color: var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Marquee berhenti; barisnya jadi bisa digeser manual agar isinya tetap
     terjangkau, bukan sekadar terpotong. */
  .galeri-track { animation: none; }
  .galeri-row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  /* Reduced motion means a gentler cue, not none: drop the scale but keep a
     non-vestibular press signal so taps still confirm themselves. */
  .btn:active { --press: 1; filter: brightness(.92); }
  .wa-float:active { transform: none; background: #14773b; }
  .hero-scene { animation: none; }
  .hero-path path { animation: none; stroke-dashoffset: 0; }
  .hero .eyebrow-script, .hero .hero-sub, .hero .hero-actions, .hero h1 .rise, .hero-couple,
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}
