/* ==========================================================================
   TEMPLATE 4 — "Mentari" · hangat & playful (cocok untuk SMA swasta yang ramah)
   Krem hangat, jingga-merah, kuning matahari, hijau toska. Bentuk serba bulat,
   stiker miring, dan foto bersudut bulat yang sedikit dimiringkan.
   Ganti warna, font, dan radius sekolahmu di blok token ini saja.
   ========================================================================== */
:root {
  --font-heading: 'Bricolage Grotesque', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --heading-weight: 800;
  --heading-tracking: -0.025em;
  --display-weight: 800;
  --display-tracking: -0.03em;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-2xl: 44px;
  --radius-btn: 9999px;  /* tombol berbentuk pil */

  --background: #fffaf3;
  --foreground: #2a1f14;
  --surface: #ffffff;
  --surface-foreground: #2a1f14;
  --muted: #fbf0e1;
  --muted-foreground: #75654f;
  --border: #f0e2cc;
  --input: #dccab0;
  --primary: #d4410b;
  --primary-foreground: #ffffff;
  --secondary: #ffe3c2;
  --secondary-foreground: #6b2a0a;
  --accent: #0f766e;
  --accent-foreground: #ffffff;

  /* Token khas Mentari: kuning matahari untuk blok warna, stiker, dan bentuk dekoratif */
  --sun: #ffc93c;
  --sun-foreground: #3a2a00;
  --sun-soft: #fff1c9;        /* kuning pucat untuk latar kartu */
  --teal-soft: #d9efec;       /* toska pucat untuk latar kartu */
  --sticker-line: 1.5px;      /* tebal garis tepi stiker */
}
.dark {
  --background: #1a130c;
  --foreground: #f8efe2;
  --surface: #231a11;
  --surface-foreground: #f8efe2;
  --muted: #2d2216;
  --muted-foreground: #b9a88f;
  --border: #3a2d1e;
  --input: #4f3f2c;
  --primary: #ff9248;
  --primary-foreground: #1a130c;
  --secondary: #3a2a18;
  --secondary-foreground: #ffd9b0;
  --accent: #5ed3c6;
  --accent-foreground: #10201e;

  --sun: #ffc93c;
  --sun-foreground: #3a2a00;
  --sun-soft: #3b2f12;
  --teal-soft: #17302d;
}

/* ---------- 1. Penyesuaian komponen bersama ---------- */
.btn { font-weight: 700; }
.eyebrow { font-weight: 700; }
.scroll-progress { height: 4px; background: var(--sun); border-radius: 0 9999px 9999px 0; }
.chip { font-weight: 500; }
@media (min-width: 640px) {
  .btn-lg { height: 3.5rem; padding: 0 1.75rem; font-size: 1rem; }
  .display-lg { font-size: clamp(2.75rem, 6vw, 7rem); line-height: 0.98; }
}

/* Teks kecil di atas blok jingga dibuat sepekat teks utamanya supaya kontrasnya cukup */
.on-brand { --muted-foreground: var(--on-brand); }
.dark .on-brand { --muted-foreground: color-mix(in srgb, var(--on-brand) 82%, var(--brand)); }
.on-brand .chip { background: var(--on-brand); border-color: transparent; color: var(--brand); }

/* Bagian berlatar kuning matahari dan toska: semua komponen di dalamnya ikut menyesuaikan */
.on-sun {
  background: var(--sun); color: var(--sun-foreground);
  --background: var(--sun); --foreground: var(--sun-foreground);
  --surface: color-mix(in srgb, var(--sun-foreground) 6%, var(--sun)); --surface-foreground: var(--sun-foreground);
  --muted: color-mix(in srgb, var(--sun-foreground) 10%, var(--sun));
  --muted-foreground: color-mix(in srgb, var(--sun-foreground) 82%, var(--sun));
  --border: color-mix(in srgb, var(--sun-foreground) 26%, var(--sun));
  --input: color-mix(in srgb, var(--sun-foreground) 40%, var(--sun));
  --primary: var(--sun-foreground); --primary-foreground: var(--sun);
  --primary-hover: color-mix(in srgb, var(--sun-foreground) 88%, var(--sun));
  --primary-soft: color-mix(in srgb, var(--sun-foreground) 12%, var(--sun));
  --ring: var(--sun-foreground);
}
.on-teal {
  background: var(--accent); color: var(--accent-foreground);
  --background: var(--accent); --foreground: var(--accent-foreground);
  --surface: color-mix(in srgb, var(--accent-foreground) 8%, var(--accent)); --surface-foreground: var(--accent-foreground);
  --muted: color-mix(in srgb, var(--accent-foreground) 12%, var(--accent));
  --muted-foreground: color-mix(in srgb, var(--accent-foreground) 90%, var(--accent));
  --border: color-mix(in srgb, var(--accent-foreground) 28%, var(--accent));
  --input: color-mix(in srgb, var(--accent-foreground) 40%, var(--accent));
  --primary: var(--accent-foreground); --primary-foreground: var(--accent);
  --primary-hover: color-mix(in srgb, var(--accent-foreground) 88%, var(--accent));
  --primary-soft: color-mix(in srgb, var(--accent-foreground) 14%, var(--accent));
  --ring: var(--accent-foreground);
}
.on-cream {
  background: var(--secondary); color: var(--secondary-foreground);
  --background: var(--secondary); --foreground: var(--secondary-foreground);
  --muted-foreground: color-mix(in srgb, var(--secondary-foreground) 84%, var(--secondary));
  --border: color-mix(in srgb, var(--secondary-foreground) 22%, var(--secondary));
}

/* Panel bagian: blok warna selebar layar dengan sudut sangat bulat */
.panel { margin-inline: 0.375rem; border-radius: var(--radius-xl); }
@media (min-width: 640px) { .panel { margin-inline: 0.75rem; border-radius: var(--radius-2xl); } }

/* Matahari (ikon <use href="#i-sun">): inti kuning, sinar mengikuti warna utama */
.sun { display: block; width: 100%; height: 100%; overflow: visible; }
.spin-slow { animation: spin 26s linear infinite; }
.spin-slower { animation: spin 60s linear infinite; }

/* Bentuk dekoratif */
.shape-burst { clip-path: polygon(50% 0%, 60.6% 10.4%, 75% 6.7%, 79% 21%, 93.3% 25%, 89.6% 39.4%, 100% 50%, 89.6% 60.6%, 93.3% 75%, 79% 79%, 75% 93.3%, 60.6% 89.6%, 50% 100%, 39.4% 89.6%, 25% 93.3%, 21% 79%, 6.7% 75%, 10.4% 60.6%, 0% 50%, 10.4% 39.4%, 6.7% 25%, 21% 21%, 25% 6.7%, 39.4% 10.4%); }
.shape-spark { clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.spark {
  display: inline-block; flex: none; width: 0.9em; height: 0.9em; background: var(--spark, var(--primary));
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

/* Label bagian: stiker pil kecil yang sedikit miring */
.tag {
  display: inline-flex; align-items: center; gap: 0.4375rem; height: 1.625rem; padding: 0 0.6875rem;
  border: var(--sticker-line) solid var(--foreground); border-radius: 9999px;
  background: var(--sun); color: var(--sun-foreground);
  font-size: 0.6875rem; font-weight: 700; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  transform: rotate(-2deg);
}
.tag svg { width: 0.875rem; height: 0.875rem; }
.tag-plain { background: var(--background); color: var(--foreground); }
.tag-brand { background: var(--brand); color: var(--on-brand); }
.tag-teal { background: var(--accent); color: var(--accent-foreground); }
@media (min-width: 640px) { .tag { height: 2rem; padding: 0 0.875rem; font-size: 0.75rem; } }

/* Gelembung ikon panah di ujung tombol pil */
.btn-ico {
  display: grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; margin-right: -0.4375rem;
  border-radius: 9999px; background: var(--primary-foreground); color: var(--primary);
  transition: transform 0.45s var(--ease-out);
}
.btn .btn-ico svg { width: 0.875rem; height: 0.875rem; }
.btn-outline .btn-ico, .btn-ghost .btn-ico { background: var(--foreground); color: var(--background); }
@media (hover: hover) { .btn:hover .btn-ico { transform: rotate(-45deg) scale(1.06); } }
@media (min-width: 640px) {
  .btn-ico { width: 1.75rem; height: 1.75rem; margin-right: -0.5rem; }
  .btn-lg .btn-ico { width: 2.25rem; height: 2.25rem; margin-right: -1.125rem; }
  .btn-lg .btn-ico svg { width: 1.125rem; height: 1.125rem; }
}

/* Foto miring yang menegak saat disorot */
.tilt { transform: rotate(var(--r, 0deg)); transition: transform 0.6s var(--ease-out); }
@media (hover: hover) { .tilt:hover { transform: rotate(0deg) scale(1.03); } }

/* ---------- 2. Header: pil mengambang yang mengecil saat digulir ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; padding: 0.625rem 0.75rem 0; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.nav-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  width: 100%; max-width: 72rem; height: 3.25rem; margin-inline: auto; padding: 0 0.5rem 0 0.625rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 9999px;
  transform-origin: 50% 0;
  transition: transform 0.55s var(--ease-out), border-color var(--dur-base) ease;
}
.site-header.is-scrolled .nav-pill { transform: scale(0.95); border-color: var(--input); }
.site-header:has(.mobile-menu.is-open) .nav-pill { transform: none; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; }
.brand-mark { display: block; flex: none; width: 2rem; height: 2rem; transition: transform 0.9s var(--ease-out); }
.brand-name { font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
@media (hover: hover) { .brand:hover .brand-mark { transform: rotate(120deg); } }

/* Tautan navigasi: latar pil yang "mengembang" saat disorot atau saat bagiannya terlihat */
.nav-pill .nav-link { isolation: isolate; min-height: 0; height: 2.25rem; padding: 0 0.8125rem; border-radius: 9999px; }
.nav-pill .nav-link::before {
  inset: 0; height: auto; z-index: -1; border-radius: inherit; background: var(--secondary);
  transform: scale(0.6); transform-origin: center; opacity: 0;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) ease;
}
.nav-pill .nav-link:hover, .nav-pill .nav-link.is-active { color: var(--secondary-foreground); }
.nav-pill .nav-link:hover::before, .nav-pill .nav-link.is-active::before { transform: none; opacity: 1; }
.nav-pill .icon-btn { border-color: transparent; background: var(--muted); }
@media (hover: hover) { .nav-pill .icon-btn:hover { background: var(--secondary); } }

/* Tombol menu HP: ikon garis berubah jadi silang saat menu terbuka */
.icon-menu-close, [data-menu-toggle].is-open .icon-menu-open { display: none; }
[data-menu-toggle].is-open .icon-menu-close { display: block; }
.site-header .mobile-menu { max-width: 72rem; margin-inline: auto; }
.nav-sheet {
  margin-top: 0.5rem; padding: 0.375rem 1.125rem 1.125rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
}
.nav-sheet .menu-item { min-height: 3rem; font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.02em; }
.nav-sheet .menu-item svg { width: 1rem; height: 1rem; color: var(--muted-foreground); }
@media (min-width: 640px) {
  .site-header { padding-top: 0.875rem; }
  .nav-pill { height: 3.75rem; padding: 0 0.625rem 0 0.875rem; }
  .site-header.is-scrolled .nav-pill { transform: scale(0.92); }
  .brand-mark { width: 2.25rem; height: 2.25rem; }
  .brand-name { font-size: 1.1875rem; }
}

/* ---------- 3. Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding-top: 5rem; }
.hero-top { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-stage { position: relative; width: 100%; margin-top: 1rem; }
.hero-title { position: relative; z-index: 1; text-wrap: wrap; }
.hero-lead { max-width: 34rem; margin-top: 0.875rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.625rem; margin-top: 1.125rem; }
.hero-note { margin-top: 0.75rem; font-size: 0.6875rem; line-height: 1.5; color: var(--muted-foreground); }

/* Pil foto dan matahari di dalam kalimat judul */
.hero-pill, .hero-sun { position: relative; top: -0.06em; display: inline-block; vertical-align: middle; }
.hero-pill {
  width: max(3.5rem, 1.9em); height: max(1.5rem, 0.78em); margin-inline: 0.06em;
  border: max(1.5px, 0.016em) solid var(--foreground); border-radius: 9999px;
}
.hero-sun { width: max(1.625rem, 0.84em); height: max(1.625rem, 0.84em); margin-inline: 0.04em; }
.js .hero-title .hero-pill, .js .hero-title .hero-sun {
  opacity: 0; transform: scale(0.4) rotate(-24deg);
  transition: opacity 0.4s ease, transform 0.9s var(--ease-out); transition-delay: 0.5s;
}
.js .hero-title .hero-sun { transition-delay: 0.7s; }
.js .hero-title.is-visible .hero-pill, .js .hero-title.is-visible .hero-sun { opacity: 1; transform: none; }

/* Stiker: kartu kecil miring berisi ikon + teks, melayang pelan */
.sticker {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  border: var(--sticker-line) solid var(--foreground); border-radius: 9999px;
  background: var(--surface); color: var(--foreground); text-align: left; white-space: nowrap;
  transform: rotate(var(--r, -6deg));
  animation: bob 6.5s ease-in-out infinite; animation-delay: var(--bob-delay, 0s);
}
.sticker-ico {
  display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 9999px;
  background: var(--primary); color: var(--primary-foreground);
}
.sticker-ico svg { width: 0.9375rem; height: 0.9375rem; }
.sticker-text { display: block; font-size: 0.75rem; font-weight: 700; line-height: 1.15; }
.sticker-text strong { font-family: var(--font-heading); font-size: 1.25em; font-weight: 800; letter-spacing: -0.03em; }
.sticker-sun { background: var(--sun); color: var(--sun-foreground); }
.sticker-sun .sticker-ico { background: var(--sun-foreground); color: var(--sun); }
.sticker-teal { background: var(--accent); color: var(--accent-foreground); }
.sticker-teal .sticker-ico { background: var(--accent-foreground); color: var(--accent); }
.sticker-brand { background: var(--primary); color: var(--primary-foreground); }
.sticker-brand .sticker-ico { background: var(--primary-foreground); color: var(--primary); }
.sticker .live-dot { background: currentColor; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--r, -6deg)); }
  50% { transform: translateY(-7px) rotate(calc(var(--r, -6deg) * 0.55)); }
}
.stickers { display: none; }
/* Stiker muncul setelah judul tampil. Sengaja tanpa data-reveal: di HP daftar ini disembunyikan,
   dan elemen tersembunyi tidak pernah "terlihat" oleh pengamat gulir. */
.js .sticker-in {
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.4s ease, transform 0.8s var(--ease-out); transition-delay: var(--in-delay, 0.6s);
}
.js .hero-title.is-visible ~ .stickers .sticker-in { opacity: 1; transform: none; }
.js .pop-in { animation: pop-in 0.9s var(--ease-out) var(--pop-delay, 0.6s) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(1.5rem) scale(0.92); } }

/* Kolase foto: bersudut sangat bulat, sedikit miring, saling menumpuk */
.hero-collage {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  margin-top: 2rem; padding: 0 1rem 3rem;
}
.hero-dome {
  position: absolute; z-index: -1; left: 50%; top: 22%; width: 170vw; aspect-ratio: 1; margin-left: -85vw;
  border-radius: 9999px; background: var(--secondary);
  animation: dome-rise 1.5s var(--ease-out) both;
}
@keyframes dome-rise { from { transform: translateY(16%) scale(0.86); opacity: 0; } }
.ci { position: relative; flex: none; }
.ci .media { border: 0.25rem solid var(--surface); }
.ci-1 { width: 36%; z-index: 1; }
.ci-2 { width: 44%; margin: 0 -8% 1.25rem; z-index: 2; }
.ci-3 { width: 36%; z-index: 1; }
.ci-4 { display: none; }
.ci-3 .media > img { object-position: 78% 50%; }
.collage-sticker { position: absolute; z-index: 4; }
.cs-1 { left: 0.75rem; top: -0.875rem; }
.cs-2 { right: 0.75rem; bottom: 2.75rem; }

@media (min-width: 640px) {
  .hero { padding-top: 6.5rem; }
  .hero-stage { margin-top: 1.25rem; }
  .hero-title { font-size: clamp(3.75rem, 8.9vw, 11rem); line-height: 0.93; }
  .hero-lead { max-width: 40rem; margin-top: 1.25rem; }
  .hero-cta { gap: 0.75rem; margin-top: 1.5rem; }
  .hero-note { margin-top: 0.875rem; font-size: 0.8125rem; }

  .sticker { gap: 0.625rem; padding: 0.5rem 1rem 0.5rem 0.5rem; }
  .sticker-ico { width: 2.25rem; height: 2.25rem; }
  .sticker-ico svg { width: 1.125rem; height: 1.125rem; }
  .sticker-text { font-size: 0.875rem; }
  .cs-1 { left: var(--gutter); top: -1.25rem; }
  .cs-2 { right: var(--gutter); bottom: 4.5rem; }

  .hero-collage { align-items: flex-start; margin-top: clamp(1.75rem, 3vw, 3.5rem); padding: 0 var(--gutter) clamp(3.5rem, 7vw, 7.5rem); }
  .hero-dome { top: -4vw; width: 100vw; margin-left: -50vw; }
  .ci .media { border-width: 0.375rem; }
  .ci-1 { width: 27vw; margin-top: 4.5vw; }
  .ci-2 { width: 31vw; margin: 0 0 0 -2.2vw; }
  .ci-3 { width: 21vw; margin: 6.5vw 0 0 -1.8vw; z-index: 3; }
  .ci-4 { display: block; width: 17.5vw; margin: 1.2vw 0 0 -1.6vw; z-index: 2; }
  .ci-3 .media > img { object-position: 70% 50%; }
}
@media (hover: hover) { .ci:hover { z-index: 5; } }
@media (min-width: 1024px) {
  .stickers { display: block; }
  .collage-sticker { display: none; }
  .sticker-pos { position: absolute; z-index: 2; }
  .sp-1 { left: 1.5%; top: 9%; }
  .sp-2 { right: 2.5%; top: 2%; }
  .sp-3 { left: 6.5%; bottom: 3%; }
  .sp-4 { right: 4%; bottom: 13%; }
}
@media (min-width: 1280px) {
  .sticker { padding: 0.625rem 1.25rem 0.625rem 0.625rem; }
  .sticker-ico { width: 2.75rem; height: 2.75rem; }
  .sticker-ico svg { width: 1.375rem; height: 1.375rem; }
  .sticker-text { font-size: 1rem; }
}
/* Layar sangat lebar: stiker hero ikut membesar supaya seimbang dengan judul */
@media (min-width: 1680px) {
  .stickers .sticker { gap: 0.75rem; padding: 0.75rem 1.5rem 0.75rem 0.75rem; }
  .stickers .sticker-ico { width: 3.25rem; height: 3.25rem; }
  .stickers .sticker-ico svg { width: 1.625rem; height: 1.625rem; }
  .stickers .sticker-text { font-size: 1.1875rem; }
}

/* ---------- 4. Pita ekskul: dua baris chip berjalan berlawanan arah ---------- */
/* Pembungkus memotong ujung pita yang sengaja lebih lebar dari layar (tanpa menambah lebar halaman) */
.ribbons-wrap {
  --rib-pad: 2.4vw; --rib-lap: 1.5rem;
  position: relative; z-index: 2; overflow: hidden;
  padding-block: var(--rib-pad); margin-block: calc(var(--rib-pad) * -1 - var(--rib-lap)) calc(var(--rib-pad) * -1);
}
.ribbons { display: grid; gap: 0.5rem; width: 108vw; margin-left: -4vw; transform: rotate(-2deg); }
.ribbons .marquee-track { gap: 0.5rem; padding-right: 0.5rem; animation-duration: 92s; }
.ribbon-b .marquee-track { animation-direction: reverse; animation-duration: 108s; }
.ek {
  display: inline-flex; align-items: center; gap: 0.5rem; flex: none; height: 2.5rem; padding: 0 1rem;
  border: var(--sticker-line) solid var(--foreground); border-radius: 9999px; background: var(--surface); color: var(--foreground);
  font-family: var(--font-heading); font-size: 1rem; font-weight: 800; line-height: 1; letter-spacing: -0.025em; white-space: nowrap;
}
.ek-sun { background: var(--sun); color: var(--sun-foreground); }
.ek-brand { background: var(--primary); color: var(--primary-foreground); }
.ek-teal { background: var(--accent); color: var(--accent-foreground); }
.ek-cream { background: var(--secondary); color: var(--secondary-foreground); }
.ek-ink { background: var(--foreground); color: var(--background); }
.ek .spark { width: 0.7em; height: 0.7em; background: currentColor; }
@media (min-width: 640px) {
  .ribbons-wrap { --rib-lap: clamp(1.5rem, 3vw, 3.5rem); }
  .ribbons { gap: clamp(0.625rem, 1vw, 1rem); }
  .ribbons .marquee-track { gap: clamp(0.625rem, 1vw, 1rem); padding-right: clamp(0.625rem, 1vw, 1rem); }
  .ek { height: clamp(3.25rem, 5.2vw, 5.25rem); padding: 0 clamp(1.25rem, 2.2vw, 2.25rem); gap: 0.75rem; font-size: clamp(1.375rem, 2.5vw, 2.625rem); }
}

/* ---------- 5. Kenapa Mentari: bento warna-warni ---------- */
.statement { text-wrap: wrap; }
@media (min-width: 640px) { .statement { line-height: 1.12; } }
.statement .hl { color: var(--primary); }

.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; }
.bc {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
  min-height: 10.5rem; padding: 1rem; border-radius: var(--radius-lg);
  transition: transform 0.55s var(--ease-out);
}
.bc-label {
  display: inline-flex; align-items: center; gap: 0.4375rem; align-self: flex-start;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.bc-label svg { width: 0.9375rem; height: 0.9375rem; }
.bc-num {
  font-family: var(--font-heading); font-weight: 800; font-size: 5.25rem; line-height: 0.78; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.bc-num small { font-size: 0.55em; letter-spacing: -0.03em; vertical-align: 0.5em; }
.bc-title { font-size: 1.0625rem; line-height: 1.15; letter-spacing: -0.03em; }
.bc-text { margin-top: 0.375rem; font-size: 0.8125rem; line-height: 1.45; color: var(--muted-foreground); }
.bc-ico {
  display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 9999px;
  background: var(--foreground); color: var(--background); transition: transform 0.7s var(--ease-out);
}
.bc-ico svg { width: 1.375rem; height: 1.375rem; }
.bc-photo { min-height: 9.5rem; padding: 0; }
/* Matahari besar yang berputar pelan di pojok blok jingga */
.bc-deco-sun { position: absolute; z-index: -1; right: -3.5rem; top: -3.75rem; width: min(62%, 15rem); aspect-ratio: 1; }
/* Lingkaran konsentris di blok kuning */
.bc-rings { position: absolute; z-index: -1; right: -22%; bottom: -34%; width: 70%; aspect-ratio: 1; border: var(--sticker-line) solid currentColor; border-radius: 9999px; opacity: 0.35; transition: transform 0.9s var(--ease-out); }
.bc-rings::before, .bc-rings::after { content: ''; position: absolute; border: var(--sticker-line) solid currentColor; border-radius: inherit; }
.bc-rings::before { inset: 16%; }
.bc-rings::after { inset: 33%; }
.bc-chips { display: flex; flex-wrap: wrap; gap: 0.3125rem; margin-top: 0.625rem; }
.bc-chips span { display: inline-flex; align-items: center; height: 1.375rem; padding: 0 0.5rem; border: 1px solid currentColor; border-radius: 9999px; font-size: 0.6875rem; font-weight: 700; white-space: nowrap; }
@media (hover: hover) {
  .bc:hover { transform: translateY(-6px) rotate(var(--tilt, -1.25deg)); }
  .bc:hover .bc-ico { transform: rotate(-14deg) scale(1.1); }
  .bc:hover .bc-rings { transform: scale(1.14); }
}
@media (min-width: 640px) {
  .bento { gap: 0.875rem; }
  .bc { min-height: 15rem; padding: 1.5rem; border-radius: var(--radius-xl); }
  .bc-label { font-size: 0.75rem; }
  .bc-num { font-size: clamp(6rem, 11vw, 13.5rem); }
  .bc-a .bc-num { font-size: clamp(9rem, 22vw, 26rem); }
  .bc-title { font-size: clamp(1.375rem, 2vw, 2.125rem); }
  .bc-text { margin-top: 0.5rem; font-size: clamp(0.9375rem, 1.05vw, 1.125rem); max-width: 30rem; }
  .bc-ico { width: 3.75rem; height: 3.75rem; }
  .bc-ico svg { width: 1.75rem; height: 1.75rem; }
  .bc-photo { min-height: 15rem; }
  .bc-chips { gap: 0.375rem; margin-top: 0.875rem; }
  .bc-chips span { height: 1.75rem; padding: 0 0.75rem; font-size: 0.75rem; }
}
@media (min-width: 640px) { .bc-deco-sun { right: -5rem; top: -5.5rem; width: min(56%, 21rem); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(16rem, 21vw, 26rem); gap: 1rem; }
  .bc { min-height: 0; padding: clamp(1.5rem, 2vw, 2.25rem); border-radius: var(--radius-2xl); }
  .bc-photo { min-height: 0; padding: 0; }
  .bc-deco-sun { right: -18%; top: -22%; width: 62%; }
}
/* Laptop kecil: sel ekskul lebih pendek, jadi deretan contoh ekskul disembunyikan */
@media (min-width: 1024px) and (max-width: 1279.98px) { .bc-chips { display: none; } }

/* ---------- 6. Tiga langkah: kartu bundar + garis putus-putus yang digambar saat digulir ---------- */
.lk-row { position: relative; }
.lk-list { position: relative; z-index: 1; display: grid; gap: 2.25rem; }
.lk-line { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lk-line path {
  fill: none; stroke: var(--foreground); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 9 11;
  vector-effect: non-scaling-stroke;
}
/* --p (0 -> 1) diisi main.js lewat data-progress pada .lk-row */
.lk-line-v { clip-path: inset(0 0 calc((1 - var(--p, 1)) * 100%) 0); }
.lk-line-h { display: none; clip-path: inset(-10% calc((1 - var(--p, 1)) * 100%) -10% 0); }
.lk-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: min(76vw, 19rem); aspect-ratio: 1; padding: 0 2.125rem; border-radius: 9999px; text-align: center;
  background: var(--lk-bg); color: var(--lk-fg);
  transition: transform 0.6s var(--ease-out);
}
.lk-card:nth-of-type(even) { margin-left: auto; }
.lk-1 { --lk-bg: var(--paper); --lk-fg: var(--ink); --lk-num: var(--brand); }
.lk-2 { --lk-bg: var(--ink); --lk-fg: var(--paper); --lk-num: var(--sun); }
.lk-3 { --lk-bg: var(--brand); --lk-fg: var(--on-brand); --lk-num: var(--sun); }
/* Tema gelap: lingkaran 2 berlatar krem, jadi angkanya memakai jingga tua supaya tetap terbaca */
.dark .lk-2 { --lk-num: color-mix(in srgb, var(--brand) 55%, var(--sun-foreground)); }
.dark .lk-3 { --lk-num: var(--on-brand); }
.lk-num {
  font-family: var(--font-heading); font-weight: 800; font-size: 5.5rem; line-height: 0.74; letter-spacing: -0.06em;
  color: var(--lk-num);
}
.lk-title { margin-top: 0.75rem; font-size: 1.1875rem; line-height: 1.1; letter-spacing: -0.035em; }
.lk-text { margin-top: 0.4375rem; font-size: 0.8125rem; line-height: 1.4; opacity: 0.88; }
.lk-tag { position: absolute; z-index: 2; right: 3%; top: 9%; }
.lk-tag .tag { transform: rotate(8deg); }
.lk-card:nth-of-type(even) .lk-tag { right: auto; left: 3%; }
.lk-card:nth-of-type(even) .lk-tag .tag { transform: rotate(-8deg); }
@media (hover: hover) { .lk-card:hover { transform: scale(1.04) rotate(-2deg); } }
@media (min-width: 640px) {
  .lk-list { gap: 2.5rem; }
  .lk-card { width: 22rem; padding: 0 2.75rem; }
  .lk-num { font-size: 7rem; }
  .lk-title { font-size: 1.5rem; }
  .lk-text { font-size: 0.9375rem; }
}
@media (min-width: 1024px) {
  .lk-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: start; }
  .lk-line-v { display: none; }
  .lk-line-h { display: block; }
  .lk-card, .lk-card:nth-of-type(even) { width: clamp(17rem, 24.5vw, 31rem); margin-inline: auto; padding: 0 clamp(2rem, 3vw, 4rem); }
  .lk-card:nth-of-type(even) { margin-top: 4.5vw; }
  .lk-num { font-size: clamp(5.5rem, 8.6vw, 11rem); }
  .lk-title { margin-top: 1rem; font-size: clamp(1.375rem, 1.9vw, 2.125rem); }
  .lk-text { margin-top: 0.5rem; font-size: clamp(0.875rem, 1.05vw, 1.125rem); }
  .lk-card:nth-of-type(even) .lk-tag { left: auto; right: 3%; }
  .lk-card:nth-of-type(even) .lk-tag .tag { transform: rotate(8deg); }
}

/* ---------- 7. Jalur: tab berbentuk pil ---------- */
.tab-list {
  position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%; max-width: 34rem; padding: 0.25rem;
  border: var(--sticker-line) solid var(--foreground); border-radius: 9999px; background: var(--surface);
}
.tab-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
  height: 2.5rem; padding: 0 0.5rem; border-radius: 9999px;
  font-family: var(--font-heading); font-size: 0.875rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap;
  color: var(--foreground); transition: color var(--dur-base) ease;
}
.tab-btn svg { width: 1rem; height: 1rem; flex: none; }
.tab-btn.is-active { background: var(--primary); color: var(--primary-foreground); }
/* Latar pil yang bergeser ke tab aktif (browser dengan :has); tanpa :has, tab aktif diwarnai langsung */
@supports selector(:has(*)) {
  .tab-btn.is-active { background: transparent; }
  .tab-thumb {
    position: absolute; z-index: -1; left: 0.25rem; top: 0.25rem; bottom: 0.25rem; width: calc((100% - 0.5rem) / 3);
    border-radius: 9999px; background: var(--primary); transition: transform 0.55s var(--ease-out);
  }
  .tab-list:has(.tab-btn:nth-of-type(2).is-active) .tab-thumb { transform: translateX(100%); }
  .tab-list:has(.tab-btn:nth-of-type(3).is-active) .tab-thumb { transform: translateX(200%); }
}
@media (min-width: 640px) {
  .tab-list { padding: 0.375rem; }
  .tab-btn { height: 3.25rem; gap: 0.5rem; font-size: 1.0625rem; }
  .tab-btn svg { width: 1.25rem; height: 1.25rem; }
  @supports selector(:has(*)) { .tab-thumb { left: 0.375rem; top: 0.375rem; bottom: 0.375rem; width: calc((100% - 0.75rem) / 3); } }
}
.jalur-name { font-family: var(--font-heading); font-weight: 800; font-size: 2.75rem; line-height: 0.9; letter-spacing: -0.04em; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6875rem 0; border-top: 1px dashed var(--input); font-size: 0.875rem; line-height: 1.4; }
.check-list li:last-child { border-bottom: 1px dashed var(--input); }
.check-ico { display: grid; place-items: center; flex: none; width: 1.375rem; height: 1.375rem; margin-top: -0.0625rem; border-radius: 9999px; background: var(--accent); color: var(--accent-foreground); }
.check-ico svg { width: 0.8125rem; height: 0.8125rem; stroke-width: 2.5; }
.jalur-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  min-height: 17rem; padding: 1.125rem; border-radius: var(--radius-xl);
}
.jalur-big { font-family: var(--font-heading); font-weight: 800; font-size: 2.5rem; line-height: 0.92; letter-spacing: -0.04em; }
.jalur-card dl { font-size: 0.8125rem; line-height: 1.35; }
.jalur-card dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5625rem 0; border-top: 1px solid var(--border); }
.jalur-card dt { color: var(--muted-foreground); }
.jalur-card dd { font-weight: 700; text-align: right; }
/* Segel bergerigi yang berputar pelan; ikonnya tetap tegak */
.jalur-seal { position: absolute; right: 0.875rem; top: 0.875rem; display: grid; place-items: center; width: 3.75rem; height: 3.75rem; color: var(--background); }
.seal-bg { position: absolute; inset: 0; background: var(--foreground); animation: spin 28s linear infinite; }
.jalur-seal svg { position: relative; width: 1.5rem; height: 1.5rem; }
@media (min-width: 640px) {
  .jalur-name { font-size: clamp(3.5rem, 7.4vw, 9rem); }
  .check-list li { padding: 0.875rem 0; font-size: 1rem; gap: 0.875rem; }
  .check-ico { width: 1.625rem; height: 1.625rem; }
  .jalur-card { min-height: 22rem; padding: 1.75rem; border-radius: var(--radius-2xl); }
  .jalur-big { font-size: clamp(3rem, 5.2vw, 6.25rem); }
  .jalur-card dl { font-size: 0.9375rem; }
  .jalur-card dl > div { padding: 0.75rem 0; }
  .jalur-seal { right: 1.5rem; top: 1.5rem; width: 5rem; height: 5rem; }
  .jalur-seal svg { width: 2rem; height: 2rem; }
}
@media (min-width: 1024px) {
  .jalur-card { height: 100%; min-height: 28rem; padding: clamp(1.75rem, 2.4vw, 2.75rem); gap: 1rem; }
  /* Layar lebar: segel besar mengisi ruang di antara angka dan rincian */
  .jalur-card > div { order: 1; }
  .jalur-seal { position: relative; right: auto; top: auto; order: 2; align-self: flex-end; width: clamp(7rem, 10.5vw, 12rem); height: clamp(7rem, 10.5vw, 12rem); margin-block: auto; }
  .jalur-seal svg { width: 36%; height: 36%; }
  .jalur-card dl { order: 3; }
}

/* Tanpa JavaScript: ketiga panel jalur ditampilkan berurutan dan tab disembunyikan */
html:not(.js) [data-panel][hidden] { display: grid !important; margin-top: 3rem; }
html:not(.js) .tab-list, html:not(.js) [data-gallery-prev], html:not(.js) [data-gallery-next] { display: none; }

/* ---------- 8. Galeri: deretan foto besar yang digeser ke samping ---------- */
.gallery-track { --hgap: 0.625rem; cursor: grab; }
.gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.gallery-track img { -webkit-user-drag: none; user-select: none; }
.slide { position: relative; width: 78vw; aspect-ratio: 4 / 5; border-radius: var(--radius-xl); }
/* Di HP bingkainya tegak: geser titik fokus ke siswa yang sedang membaca (sisi kanan foto) */
.slide-read > img { object-position: 82% 50%; }
.slide-cap {
  position: absolute; left: 0.625rem; bottom: 0.625rem; z-index: 1; display: flex; align-items: center; gap: 0.625rem;
  max-width: calc(100% - 1.25rem); padding: 0.4375rem 0.875rem 0.4375rem 0.4375rem;
  border-radius: 9999px; background: var(--paper); color: var(--ink);
}
.slide-cap b {
  display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 9999px;
  background: var(--sun); color: var(--sun-foreground);
  font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.slide-cap span { display: grid; min-width: 0; }
.slide-cap strong { font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.slide-cap small { font-size: 0.6875rem; line-height: 1.25; opacity: 0.8; }
.slide-cta {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 1.25rem;
  background: var(--brand); color: var(--on-brand); overflow: hidden; isolation: isolate;
}
.slide-cta .slide-sun { position: absolute; z-index: -1; right: -22%; top: -14%; width: 72%; aspect-ratio: 1; }
.gallery-bar { height: 0.25rem; border-radius: 9999px; background: var(--border); overflow: hidden; }
.gallery-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--sun); transform-origin: left; transform: scaleX(var(--gp, 0.12)); transition: transform 0.2s linear; }
.gallery .icon-btn { width: 2.75rem; height: 2.75rem; border-color: var(--border); }
.gallery .icon-btn:disabled { opacity: 0.35; }
@media (hover: hover) { .gallery .icon-btn:not(:disabled):hover { background: var(--sun); border-color: var(--sun); color: var(--sun-foreground); } }
@media (min-width: 640px) {
  .gallery-track { --hgap: 1rem; }
  .slide { width: auto; height: clamp(22rem, 62vh, 46rem); aspect-ratio: var(--ar, 4 / 5); border-radius: var(--radius-2xl); }
  .slide-cap { left: 1rem; bottom: 1rem; max-width: calc(100% - 2rem); padding: 0.5rem 1.125rem 0.5rem 0.5rem; gap: 0.75rem; }
  .slide-cap b { width: 2.5rem; height: 2.5rem; font-size: 0.9375rem; }
  .slide-cap strong { font-size: 1.125rem; }
  .slide-cap small { font-size: 0.8125rem; }
  .slide-cta { padding: 2rem; }
  .gallery .icon-btn { width: 3.5rem; height: 3.5rem; }
  .gallery .icon-btn svg { width: 1.375rem; height: 1.375rem; }
}

/* ---------- 9. Testimoni ---------- */
.testi-list { display: flex; flex-direction: column; gap: 0.875rem; }
.testi { position: sticky; top: calc(4.75rem + var(--i, 0) * 0.875rem); }
.testi-card {
  position: relative; display: flex; flex-direction: column; gap: 1.25rem; height: 100%; padding: 1.25rem;
  border: var(--sticker-line) solid var(--foreground); border-radius: var(--radius-xl); background: var(--surface);
  transition: transform 0.6s var(--ease-out);
}
.testi-sun .testi-card { background: var(--sun-soft); }
.testi-teal .testi-card { background: var(--teal-soft); }
.testi-quote { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: var(--primary); color: var(--primary-foreground); }
.testi-quote svg { width: 1.125rem; height: 1.125rem; }
.testi-text { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.testi-avatar {
  display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: var(--foreground); color: var(--background); font-family: var(--font-heading); font-size: 1rem; font-weight: 800;
}
@media (min-width: 640px) {
  .testi-card { padding: 1.75rem; border-radius: var(--radius-2xl); gap: 1.75rem; }
  .testi-quote { width: 3.5rem; height: 3.5rem; }
  .testi-quote svg { width: 1.375rem; height: 1.375rem; }
  .testi-text { font-size: clamp(1.25rem, 1.85vw, 2rem); line-height: 1.22; }
  .testi-avatar { width: 3rem; height: 3rem; font-size: 1.125rem; }
}
@media (min-width: 1024px) {
  .testi-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
  .testi { position: relative; top: auto; }
  .testi:nth-child(2) { margin-top: 3rem; }
  .testi-card { padding: clamp(1.75rem, 2.4vw, 2.75rem); transform: rotate(var(--r, 0deg)); }
}
@media (hover: hover) and (min-width: 1024px) { .testi-card:hover { transform: rotate(0deg) translateY(-8px); } }

/* ---------- 10. Gelombang + hitung mundur ---------- */
.gel-grid { display: grid; gap: 0.625rem; }
.gel {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 1.25rem;
  padding: 1.125rem; border-radius: var(--radius-xl); background: var(--surface); border: var(--sticker-line) solid var(--foreground);
  transition: transform 0.55s var(--ease-out);
}
.gel.on-brand { background: var(--brand); border-color: transparent; }
.gel.is-closed { opacity: 0.6; }
.gel-idx {
  position: absolute; z-index: -1; right: 0.5rem; top: -0.75rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 7.5rem; line-height: 1; letter-spacing: -0.05em;
  color: color-mix(in srgb, var(--foreground) 9%, var(--background)); font-variant-numeric: tabular-nums; pointer-events: none;
}
.gel.on-brand .gel-idx { color: color-mix(in srgb, var(--on-brand) 16%, var(--brand)); }
.gel-idx { font-size: 5.5rem; }
.gel-status {
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; height: 1.75rem; padding: 0 0.75rem;
  border: 1px solid var(--border); border-radius: 9999px; background: var(--background);
  font-size: 0.6875rem; font-weight: 700; white-space: nowrap;
}
.gel.on-brand .gel-status { background: var(--on-brand); border-color: transparent; color: var(--brand); }
.gel-status .live-dot { display: none; }
.gel.is-open .gel-status .live-dot { display: block; background: currentColor; }
.gel-name { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; }
.gel-date { margin-top: 0.25rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.035em; }
.gel-note { margin-top: 0.5rem; font-size: 0.8125rem; line-height: 1.4; color: var(--muted-foreground); }

/* Hitung mundur: empat gelembung kuning */
.cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4375rem; max-width: 26rem; }
.cd-cell {
  display: grid; place-content: center; justify-items: center; gap: 0.1875rem; aspect-ratio: 1; border-radius: 9999px;
  background: var(--sun); color: var(--sun-foreground); text-align: center;
}
.cd-cell strong { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.cd-cell span { font-size: 0.6875rem; font-weight: 700; line-height: 1; }
.cd-ended { display: none; }
.is-ended .cd, .is-ended .cd-label { display: none; }
.is-ended .cd-ended { display: block; }
.gel-cta { display: none; }
.gel.is-open .gel-cta { display: inline-flex; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: var(--sticker-line) solid var(--foreground); border-radius: var(--radius-xl); background: var(--surface); overflow: hidden; }
.fact { padding: 1rem; border-top: 1px dashed var(--input); }
.fact:nth-child(-n + 2) { border-top: 0; }
.fact:nth-child(even) { border-left: 1px dashed var(--input); }
.fact svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.fact dt { display: grid; gap: 0.625rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); }
.fact dd { margin-top: 0.25rem; font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
.fact small { display: block; margin-top: 0.25rem; font-family: var(--font-body); font-size: 0.75rem; font-weight: 400; line-height: 1.35; letter-spacing: 0; color: var(--muted-foreground); }
@media (hover: hover) { .gel:not(.is-closed):hover { transform: translateY(-5px) rotate(var(--tilt, 0.8deg)); } }
@media (min-width: 640px) {
  .gel-grid { gap: 0.875rem; }
  .gel { padding: 1.75rem; border-radius: var(--radius-2xl); gap: 1.5rem; }
  .gel-idx { right: 1.25rem; top: -0.75rem; font-size: clamp(6.5rem, 8.5vw, 10rem); }
  .gel-status { height: 2rem; font-size: 0.75rem; }
  .gel-name { font-size: 0.9375rem; }
  .gel-date { font-size: clamp(1.75rem, 3vw, 3.5rem); }
  .gel-note { font-size: 0.9375rem; }
  .cd { gap: 0.625rem; max-width: 30rem; }
  .cd-cell strong { font-size: clamp(1.75rem, 2.8vw, 3rem); }
  .cd-cell span { font-size: 0.75rem; }
  .fact { padding: 1.5rem; }
  .fact svg { width: 1.5rem; height: 1.5rem; }
  .fact dt { gap: 1rem; font-size: 0.75rem; }
  .fact dd { font-size: clamp(1.25rem, 1.9vw, 2rem); }
  .fact small { font-size: 0.875rem; }
  .facts { border-radius: var(--radius-2xl); }
}
@media (min-width: 1024px) {
  .gel-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
  .gel { padding: clamp(1.75rem, 2.4vw, 2.75rem); }
  .gel-1 .gel-date { font-size: clamp(2.5rem, 4.4vw, 5.25rem); }
  /* Gelombang yang sedang dibuka: gelembung hitung mundur membentang selebar kartu */
  .gel-1 .cd { max-width: none; gap: clamp(0.625rem, 1vw, 1rem); }
  .gel-1 .cd-cell strong { font-size: clamp(2.25rem, 4.2vw, 5rem); }
  .gel-1 .cd-cell span { font-size: clamp(0.75rem, 1vw, 1rem); }
  .gel-2 .gel-date, .gel-3 .gel-date { font-size: clamp(1.625rem, 2.5vw, 3rem); }
  /* Kartu gelombang berikutnya: status di atas, tanggal menempel di bawah (tidak menyisakan ruang kosong) */
  .gel-2 > div, .gel-3 > div { margin-top: auto; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact, .fact:nth-child(-n + 2) { border-top: 0; border-left: 1px dashed var(--input); }
  .fact:first-child { border-left: 0; }
}

/* ---------- 11. FAQ ---------- */
.faq { display: grid; gap: 0.5rem; }
.faq-item {
  padding-inline: 1rem; border: var(--sticker-line) solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
  transition: background-color var(--dur-base) ease, border-color var(--dur-base) ease;
}
.faq-item:has(.acc-trigger[aria-expanded='true']) { background: var(--secondary); border-color: var(--foreground); }
.faq .acc-trigger { padding: 0.875rem 0; font-family: var(--font-heading); font-size: 1rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.025em; }
.faq-icon {
  position: relative; isolation: isolate; display: grid; place-items: center; flex: none; width: 2rem; height: 2rem;
  border-radius: 9999px; background: var(--muted); color: var(--foreground);
  transition: color var(--dur-base) ease, transform 0.5s var(--ease-out);
}
.faq-icon::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--primary);
  transform: scale(0); transition: transform var(--dur-slow) var(--ease-out);
}
.acc-trigger[aria-expanded='true'] .faq-icon { color: var(--primary-foreground); }
.acc-trigger[aria-expanded='true'] .faq-icon::before { transform: scale(1); }
@media (hover: hover) { .acc-trigger:hover .faq-icon { transform: scale(1.12); } }
/* Segel tanda tanya di samping judul. Diberi jarak dari tepi layar: kotak yang berputar butuh ruang
   selebar diagonalnya, kalau tidak halaman di HP ikut melebar beberapa piksel. */
.faq-seal { position: absolute; right: 0.875rem; top: -0.25rem; display: grid; place-items: center; width: 4rem; height: 4rem; color: var(--sun-foreground); }
.faq-seal .seal-bg { background: var(--sun); }
.faq-seal b { position: relative; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; line-height: 1; transform: rotate(12deg); }
.faq-answer { padding: 0 2.5rem 1.125rem 0; font-size: 0.875rem; line-height: 1.55; color: var(--muted-foreground); }
.faq-item:has(.acc-trigger[aria-expanded='true']) .faq-answer { color: var(--secondary-foreground); }
@media (min-width: 640px) {
  .faq { gap: 0.75rem; }
  .faq-item { padding-inline: 1.75rem; border-radius: var(--radius-xl); }
  .faq .acc-trigger { padding: 1.375rem 0; font-size: clamp(1.1875rem, 1.7vw, 1.75rem); }
  .faq-icon { width: 2.75rem; height: 2.75rem; }
  .faq-answer { padding: 0 4.5rem 1.625rem 0; font-size: 1.0625rem; }
  .faq-seal { right: 1.25rem; top: 0; width: 6rem; height: 6rem; }
  .faq-seal b { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .faq-seal { right: 6%; top: 1rem; width: clamp(5.5rem, 7.4vw, 8.5rem); height: clamp(5.5rem, 7.4vw, 8.5rem); }
  .faq-seal b { font-size: clamp(2.75rem, 3.8vw, 4.5rem); }
}

/* ---------- 12. Ajakan: blok jingga bersudut sangat bulat ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; min-height: 27rem; padding: 1.25rem;
}
.cta-title { position: relative; }
.cta-deco { position: absolute; z-index: -1; pointer-events: none; }
.cta-sun { right: -28%; top: -15%; width: 78%; aspect-ratio: 1; }
.cta-ring { left: -18%; bottom: -24%; width: 60%; aspect-ratio: 1; border: var(--sticker-line) solid var(--border); border-radius: 9999px; }
.cta-ring::before { content: ''; position: absolute; inset: 18%; border: var(--sticker-line) solid var(--border); border-radius: inherit; }
/* HP: titik toska diparkir di pojok kanan bawah, jauh dari tombol dan teks */
.cta-dot { right: 1.125rem; bottom: 1.125rem; width: 2.25rem; aspect-ratio: 1; border-radius: 9999px; background: var(--accent); }
.cta-spark { width: 1.75rem; height: 1.75rem; }
.cta-spark > span { display: block; width: 100%; height: 100%; background: var(--sun); animation: twinkle 3.6s var(--ease-in-out) infinite; }
.cta-spark.s1 { left: 60%; top: 40%; }
.cta-spark.s2 { left: 8%; top: 12%; width: 1.125rem; height: 1.125rem; }
.cta-spark.s2 > span { animation-delay: -1.4s; }
.cta-spark.s3 { display: none; }
.cta-spark.s3 > span { animation-delay: -2.3s; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(0.55) rotate(45deg); } }
.cta-btn {
  display: inline-flex; align-items: center; gap: 0.75rem; height: 3.5rem; padding: 0 0.5rem 0 1.5rem;
  border-radius: 9999px; background: var(--on-brand); color: var(--brand);
  font-family: var(--font-heading); font-size: 1.125rem; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap;
  --fill: var(--sun); --fill-foreground: var(--sun-foreground);
}
.cta-btn .cta-btn-ico {
  display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: var(--brand); color: var(--on-brand); transition: transform 0.5s var(--ease-out), background-color var(--dur-base) ease, color var(--dur-base) ease;
}
.cta-btn-ico svg { width: 1.125rem; height: 1.125rem; }
@media (hover: hover) {
  .cta-btn:hover .cta-btn-ico { transform: rotate(-45deg); background: var(--sun-foreground); color: var(--sun); }
}
@media (min-width: 640px) {
  .cta { border-radius: var(--radius-2xl); min-height: 36rem; padding: 2.5rem; gap: 3.5rem; }
  .cta-sun { right: -9%; top: -30%; width: 46%; }
  .cta-ring { left: -8%; bottom: -46%; width: 38%; }
  .cta-dot { right: 5%; bottom: 9%; width: 3rem; }
  .cta-spark { width: clamp(2rem, 3.4vw, 4rem); height: clamp(2rem, 3.4vw, 4rem); }
  .cta-spark.s1 { left: 60%; top: 40%; }
  .cta-spark.s2 { left: 44%; top: 10%; width: 1.5rem; height: 1.5rem; }
  .cta-spark.s3 { display: block; right: 6%; bottom: 36%; width: 2rem; height: 2rem; }
  .cta-btn { height: clamp(4.25rem, 5.6vw, 6rem); padding: 0 0.75rem 0 clamp(1.75rem, 2.6vw, 3rem); gap: 1.25rem; font-size: clamp(1.375rem, 2.1vw, 2.25rem); }
  .cta-btn .cta-btn-ico { width: clamp(2.75rem, 4vw, 4.5rem); height: clamp(2.75rem, 4vw, 4.5rem); }
  .cta-btn-ico svg { width: 42%; height: 42%; }
}
@media (min-width: 1024px) {
  .cta { min-height: max(76vh, 40rem); padding: clamp(2.5rem, 3.6vw, 4.5rem); }
  .cta-dot { right: 30%; bottom: 14%; width: clamp(4rem, 6vw, 7rem); }
}

/* ---------- 13. Footer: sudut atas bulat + wordmark besar ---------- */
.site-footer { margin: 0 0.375rem; border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; }
.site-footer .nav-link { min-height: 2.25rem; }
.wordmark { color: var(--brand); line-height: 0; overflow: hidden; }
.wordmark svg {
  display: block; width: 100%; height: auto; overflow: visible;
  transform: translate3d(0, calc((1 - var(--p, 1)) * 38%), 0); will-change: transform;
}
/* textLength + lengthAdjust="spacing" di HTML: lebar selalu pas, yang disesuaikan hanya jarak huruf (bentuk huruf tidak ditarik) */
.wordmark text { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.03em; fill: currentColor; }
@media (min-width: 640px) { .site-footer { margin: 0 0.75rem; border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; } }

/* ---------- 14. Halaman formulir ---------- */
.form-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--muted); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.form-hero-sun { position: absolute; z-index: -1; right: -3rem; top: -3.25rem; width: 8.5rem; height: 8.5rem; }
.form-photo { width: 12.5rem; }
.form-photo .media { border: 0.375rem solid var(--surface); }
.form-photo-sticker { position: absolute; left: -2.25rem; bottom: 1.25rem; z-index: 2; }
@media (min-width: 640px) {
  .form-hero { border-radius: 0 0 var(--radius-2xl) var(--radius-2xl); }
  .form-hero-sun { right: 26%; top: -6.5rem; width: 15rem; height: 15rem; }
}
@media (min-width: 1024px) { .form-photo { width: clamp(13rem, 17vw, 19rem); } }

/* Penunjuk langkah: titik lebih besar, garis atas tebal bersudut bulat */
.stepper-bar { height: 0.375rem; }
.stepper-current { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.02em; }
@media (min-width: 1024px) {
  [data-orientation='horizontal'] .stepper-item { border-top-width: 3px; }
  [data-orientation='horizontal'] .stepper-dot { width: 2rem; height: 2rem; }
  [data-orientation='horizontal'] .stepper-text strong { font-weight: 700; }
}
.stepper-item.is-done .stepper-dot { background: var(--accent); color: var(--accent-foreground); }
/* Sentuhan khas formulir: judul tebal, kartu bersudut besar, pilihan berbentuk pil */
.step-title { font-weight: 800; letter-spacing: -0.04em; }
@media (min-width: 640px) { .step-title { font-size: clamp(1.75rem, 2.6vw, 2.75rem); line-height: 1.05; } }
.form-section, .review-card, .ticket { border-radius: var(--radius-xl); }
.form-section > header .sec-icon { border-radius: 9999px; background: var(--sun); color: var(--sun-foreground); }
.form-section h3 { font-size: 1.0625rem; letter-spacing: -0.02em; }
.choice-body { border-radius: var(--radius-lg); }
.choice-icon { border-radius: 9999px; }
.choice input:checked + .choice-body { border-color: var(--primary); }
.pill span { border-radius: 9999px; }
.repeater-item, .drop, .notice, .output-box, .repeater-empty { border-radius: var(--radius-lg); }
.drop-icon { border-radius: 9999px; }
.toast { border-radius: 9999px; padding-inline: 1.125rem; }
.success:focus-visible { outline: none; }
/* Layar pendek: kolom bantuan ikut menggulir supaya isinya tidak terpotong */
@media (max-height: 880px) { main .form-aside { position: static; } }
.aside-card { border: var(--sticker-line) solid var(--foreground); border-radius: var(--radius-xl); background: var(--surface); }
.aside-list li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5625rem 0; border-top: 1px dashed var(--input); font-size: 0.875rem; line-height: 1.4; }
.aside-list li:first-child { border-top: 0; }
/* Setelah formulir terkirim daftar berkas tidak diperlukan lagi: sisakan kartu bantuan saja */
[data-form-shell]:has(.success) .aside-card { display: none; }
[data-form-shell]:has(.success) .aside-card + * { margin-top: 0; }
@media (min-width: 1024px) { [data-form-shell]:has(.success) .form-aside { top: 7rem; } }

/* ---------- 15. Kurangi gerakan ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero-title .hero-pill, .js .hero-title .hero-sun { transform: none; transition: opacity 0.3s ease; transition-delay: 0s; }
  .sticker, .spin-slow, .spin-slower, .seal-bg, .cta-spark > span, .hero-dome, .js .pop-in { animation: none; }
  .js .sticker-in { transform: none; transition: opacity 0.3s ease; transition-delay: 0s; }
  .nav-pill, .site-header.is-scrolled .nav-pill { transform: none; }
  .bc:hover, .lk-card:hover, .gel:hover, .testi-card:hover, .tilt:hover { transform: none; }
  .tilt:hover { transform: rotate(var(--r, 0deg)); }
  .testi-card:hover { transform: rotate(var(--r, 0deg)); }
  .wordmark svg { transform: none; }
  .lk-line-v, .lk-line-h { clip-path: none; }
  .tab-thumb { transition: none; }
}
