/* ==========================================================================
   ARUCA Design System v2 (redesign 2026)
   Digunakan HANYA oleh halaman redesign: index, about, programs, team, contact.
   Halaman legacy (dashboard, masuk, daftar, dll.) tetap memakai style.css.
   ========================================================================== */

:root {
  /* Brand */
  --blue: #34a8de;
  --blue-text: #147cb4;      /* biru lebih gelap, aman untuk teks di latar terang */
  --blue-soft: #e3f3fb;
  --yellow: #ffda68;
  --yellow-deep: #3a2f05;    /* teks di atas tombol kuning */
  --ink: #2e2e2e;
  --muted: #5b6672;

  /* Dark canvas (hero & footer) */
  --space: #070e1a;
  --space-2: #0b1626;
  --space-text: rgba(232, 241, 249, 0.88);
  --space-muted: rgba(232, 241, 249, 0.62);
  --blue-glow: #6cc4ef;

  /* Light canvas (body) */
  --paper: #ffffff;
  --paper-tint: #f3f8fc;
  --line: #e4ebf1;

  /* Shape system: kontainer 20px, elemen interaktif pill, media 24px */
  --r-card: 20px;
  --r-media: 24px;

  --font-sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-pixel: "Silkscreen", monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }

::selection { background: var(--yellow); color: var(--ink); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }

.display-xl { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.display-lg { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.display-md { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }

.pixel { font-family: var(--font-pixel); letter-spacing: 0.02em; }

.text-blue { color: var(--blue-text); }
.text-yellow { color: var(--yellow); }

/* ---------- Buttons ----------
   Pill untuk semua interaktif. Teks CTA maksimal 1 baris. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary { background: var(--blue); color: #06222f; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(52, 168, 222, 0.35);
}

.btn-yellow { background: var(--yellow); color: var(--yellow-deep); }
.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 218, 104, 0.4);
}

.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-ghost-light { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn .btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Link panah kecil (CTA sekunder dalam kartu) */
.link-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--blue-text);
}
.link-more svg, .link-more i { transition: transform 0.25s var(--ease); }
.link-more:hover svg, .link-more:hover i { transform: translateX(4px); }

/* ==========================================================================
   NAVBAR (markup dari components/navbar.php, class dipertahankan)
   ========================================================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(7, 14, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.navbar-logo {
  font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: -0.02em;
  white-space: nowrap;
}
.navbar-logo span { color: var(--blue); }

.navbar-nav { display: flex; align-items: center; gap: 0.25rem; }
.navbar-nav a {
  color: var(--space-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.navbar-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.navbar-extra { display: flex; align-items: center; gap: 0.75rem; }
.navbar-extra > a { color: var(--space-text); display: inline-flex; }
.navbar-extra > a:hover { color: #fff; }

.btn-masuk, .btn-daftar {
  padding: 0.55rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.btn-masuk { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); }
.btn-masuk:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-daftar { background: var(--yellow); color: var(--yellow-deep); }
.btn-daftar:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 218, 104, 0.35); }

#hamburger-menu { display: none; color: #fff; }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(7, 14, 26, 0.6);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); z-index: 98;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* User dropdown (untuk pengguna login) */
.user-menu { position: relative; }
.user-trigger {
  display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color: #fff;
  padding: 0.35rem 0.75rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.25);
}
.profile-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: #06222f;
  display: flex; align-items: center; justify-content: center;
}
.profile-icon svg { width: 16px; height: 16px; }
.user-name-nav { font-weight: 600; font-size: 0.9rem; }
.chevron { width: 16px; transition: transform 0.25s var(--ease); }

.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 0.75rem);
  min-width: 250px; background: #fff; color: var(--ink);
  border-radius: var(--r-card);
  box-shadow: 0 20px 50px rgba(7, 14, 26, 0.25);
  padding: 1.25rem; opacity: 0; transform: translateY(-8px);
  pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.user-dropdown.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.dropdown-header { text-align: center; }
.large-profile-icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 0.6rem;
  background: var(--blue-soft); color: var(--blue-text);
  display: flex; align-items: center; justify-content: center;
}
.user-full-name { font-size: 1rem; }
.user-email { font-size: 0.82rem; color: var(--muted); }
.dropdown-divider { height: 1px; background: var(--line); margin: 1rem 0; }
.dropdown-footer { display: grid; gap: 0.5rem; }
.dropdown-footer a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.9rem; border-radius: 12px; font-weight: 500; font-size: 0.9rem;
  transition: background-color 0.2s var(--ease);
}
.dropdown-footer a:hover { background: var(--paper-tint); }
.dropdown-footer svg { width: 16px; height: 16px; }
.btn-logout-full { color: #c0392b; }

.mobile-only { display: none !important; }

/* ==========================================================================
   HERO (halaman Home)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 90% at 70% 10%, #0f2138 0%, var(--space) 55%);
  color: #fff;
  overflow: hidden;
}

#starfield {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}

/* Nebula: cahaya lembut biru & kuning yang bergerak pelan */
.nebula { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.nebula-blue {
  width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  background: rgba(52, 168, 222, 0.22);
  top: -18%; right: -12%;
  animation: nebula-drift 24s ease-in-out infinite alternate;
}
.nebula-yellow {
  width: 32vw; height: 32vw; max-width: 420px; max-height: 420px;
  background: rgba(255, 218, 104, 0.1);
  bottom: -10%; left: -8%;
  animation: nebula-drift 30s ease-in-out infinite alternate-reverse;
}
@keyframes nebula-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-6%, 8%, 0) scale(1.12); }
}

/* Bintang 4 sudut & kotak pixel mengambang */
.sparkle {
  position: absolute; pointer-events: none;
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  animation: sparkle-float 7s ease-in-out infinite;
}
.pixel-dot { position: absolute; pointer-events: none; animation: sparkle-float 9s ease-in-out infinite; }
@keyframes sparkle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.9; }
  50% { transform: translateY(-16px) rotate(12deg); opacity: 0.5; }
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--space-muted);
  max-width: 52ch;
  margin-bottom: 2.25rem;
}

/* --- Motif "selection box" ala design tool --- */
.select-wrap {
  position: relative;
  display: inline-block;
  padding: 0.05em 0.18em;
  color: var(--yellow);
  border: 1.5px solid var(--blue-glow);
  background: rgba(52, 168, 222, 0.08);
}
.select-wrap .handle {
  position: absolute; width: 9px; height: 9px;
  background: var(--space); border: 1.5px solid var(--blue-glow);
}
.handle-tl { top: -5px; left: -5px; }
.handle-tr { top: -5px; right: -5px; }
.handle-bl { bottom: -5px; left: -5px; }
.handle-br { bottom: -5px; right: -5px; }

.cursor-chip {
  position: absolute;
  top: -1.9em; right: -0.6em;
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--yellow); color: var(--yellow-deep);
  font-family: var(--font-pixel);
  font-size: clamp(0.55rem, 1vw, 0.7rem);
  padding: 0.28em 0.7em; border-radius: 999px;
  animation: chip-bob 4s ease-in-out infinite;
  white-space: nowrap;
}
.cursor-chip::after {
  /* ekor kursor kecil */
  content: ""; position: absolute; bottom: -6px; left: 12px;
  border: 6px solid transparent; border-top-color: var(--yellow);
  border-left-width: 3px; border-right-width: 8px;
}
@keyframes chip-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ==========================================================================
   SECTION: Video "Apa itu ARUCA"
   ========================================================================== */
.video-section .section-head { max-width: 720px; margin-bottom: 2.5rem; }
.video-frame {
  position: relative;
  border-radius: var(--r-media);
  overflow: visible;
}
.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9; /* cegah layout shift sebelum metadata video termuat */
  object-fit: cover;
  border-radius: var(--r-media);
  box-shadow: 0 30px 80px rgba(7, 14, 26, 0.18);
}
/* siku pixel di dua sudut frame */
.video-frame::before, .video-frame::after {
  content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none;
}
.video-frame::before {
  top: -12px; left: -12px;
  border-top: 5px solid var(--yellow); border-left: 5px solid var(--yellow);
}
.video-frame::after {
  bottom: -12px; right: -12px;
  border-bottom: 5px solid var(--blue); border-right: 5px solid var(--blue);
}

/* ==========================================================================
   SECTION: Impact numbers
   ========================================================================== */
.stats-band {
  background: var(--paper-tint);
  border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; text-align: center;
}
.stat-num {
  font-family: var(--font-pixel);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--ink);
  line-height: 1.1;
}
.stat-num .stat-plus { color: var(--blue); }
.stat-label { color: var(--muted); font-weight: 500; margin-top: 0.4rem; }

/* ==========================================================================
   SECTION: About preview (storytelling editorial)
   ========================================================================== */
.story { background: var(--paper); }
.story-statement {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 22ch;
}
.story-statement em { font-style: italic; color: var(--blue-text); line-height: 1.2; padding-bottom: 0.1em; }
.story-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: 3rem;
}
.story-copy p { color: var(--muted); margin-bottom: 1.1rem; }
.story-copy strong { color: var(--ink); }
.story-collage { position: relative; min-height: 420px; }
.story-collage img {
  position: absolute; border-radius: var(--r-card); object-fit: cover;
  box-shadow: 0 20px 50px rgba(7, 14, 26, 0.18);
  transition: transform 0.4s var(--ease);
}
.story-collage img:hover { transform: scale(1.03) rotate(0deg) !important; z-index: 3; }
.collage-1 { width: 68%; aspect-ratio: 4/3; top: 0; left: 0; transform: rotate(-2deg); z-index: 2; }
.collage-2 { width: 52%; aspect-ratio: 1/1; bottom: 8%; right: 0; transform: rotate(3deg); z-index: 1; }
.collage-3 { width: 38%; aspect-ratio: 1/1; bottom: 0; left: 10%; transform: rotate(-4deg); z-index: 3; }

/* ==========================================================================
   SECTION: Programs (bento)
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.bento-card {
  border-radius: var(--r-card);
  padding: 2.25rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.bento-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(7, 14, 26, 0.16); }
.bento-card h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.bento-card p { flex: 1; }
.bento-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.bento-icon svg { width: 26px; height: 26px; }

.bento-featured {
  grid-column: 1 / -1;
  background: linear-gradient(115deg, var(--space) 30%, #123a5c 100%);
  color: #fff;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
}
.bento-featured p { color: var(--space-text); }
.bento-featured .bento-icon { background: rgba(52, 168, 222, 0.2); color: var(--blue-glow); }
.bento-featured-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.bento-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.bento-featured:hover .bento-featured-img img { transform: scale(1.05); }

.bento-yellow { background: linear-gradient(135deg, #fff3cf, #ffe9a3); }
.bento-yellow p { color: #6b5a20; }
.bento-yellow .bento-icon { background: rgba(58, 47, 5, 0.1); color: var(--yellow-deep); }

.bento-blue { background: linear-gradient(135deg, var(--blue-soft), #cdeafa); }
.bento-blue p { color: #2a5872; }
.bento-blue .bento-icon { background: rgba(20, 124, 180, 0.12); color: var(--blue-text); }

/* ==========================================================================
   SECTION: Team preview (kolase berlapis)
   ========================================================================== */
.team-stack {
  display: flex; justify-content: center; align-items: flex-end;
  margin: 3rem 0 2.5rem; min-height: 300px;
}
.member-tile {
  position: relative;
  width: clamp(120px, 14vw, 190px);
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 -1.25rem;
  box-shadow: 0 16px 40px rgba(7, 14, 26, 0.2);
  transition: transform 0.35s var(--ease), z-index 0s;
  background: var(--paper-tint);
}
.member-tile:nth-child(odd) { transform: rotate(-3.5deg) translateY(8px); }
.member-tile:nth-child(even) { transform: rotate(2.5deg) translateY(-10px); }
.member-tile:hover {
  transform: rotate(0deg) translateY(-16px) scale(1.06);
  z-index: 5;
}
.member-tile img { width: 100%; height: 100%; object-fit: cover; }
.member-tile .member-meta {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem 0.75rem 0.75rem;
  background: linear-gradient(to top, rgba(7, 14, 26, 0.85), transparent);
  color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.member-tile:hover .member-meta { opacity: 1; transform: translateY(0); }
.member-meta strong { display: block; font-size: 0.85rem; line-height: 1.25; }
.member-meta span { font-size: 0.72rem; color: rgba(255,255,255,0.75); }

/* ==========================================================================
   SECTION: Partners (marquee)
   ========================================================================== */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  margin-top: 2.5rem;
}
.marquee-track {
  display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5rem);
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track img {
  height: 52px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.55;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.marquee-track img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.08); }

/* ==========================================================================
   PAGE HERO (About, Programs, Team, Contact)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  background: radial-gradient(110% 100% at 75% 0%, #0f2138 0%, var(--space) 60%);
  color: #fff;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 18ch; margin-bottom: 1.25rem; }
.page-hero .lead { color: var(--space-muted); }
.page-hero .container { position: relative; z-index: 2; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.chapter { border-top: 1px solid var(--line); }
.chapter:first-of-type { border-top: 0; }

.pull-quote {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.25;
  max-width: 24ch;
}
.pull-quote .hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-img { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4/3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.mission-list { display: grid; gap: 1rem; margin-top: 2rem; }
.mission-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem; border-radius: var(--r-card);
  background: var(--paper-tint); border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mission-item:hover { transform: translateX(6px); box-shadow: 0 14px 34px rgba(7,14,26,0.08); }
.mission-num {
  font-family: var(--font-pixel); font-size: 0.85rem;
  color: var(--blue-text); padding-top: 0.25rem; flex-shrink: 0;
}
.mission-item h4 { margin-bottom: 0.25rem; }
.mission-item p { color: var(--muted); font-size: 0.95rem; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.value-card {
  padding: 2rem; border-radius: var(--r-card); border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 20px 44px rgba(7,14,26,0.1); }
.value-card .bento-icon { margin-bottom: 1rem; background: var(--blue-soft); color: var(--blue-text); }
.value-card h4 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.value-card p { color: var(--muted); font-size: 0.95rem; }

/* Journey steps (About "cara kami bekerja" & Programs "learning journey") */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; counter-reset: step; }
.journey-step {
  position: relative; padding: 1.75rem 1.5rem;
  border-radius: var(--r-card); background: var(--paper-tint); border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.journey-step:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 18px 40px rgba(7,14,26,0.1); }
.journey-step h4 { margin: 0.75rem 0 0.35rem; font-size: 1.05rem; }
.journey-step p { color: var(--muted); font-size: 0.92rem; }
.step-dot {
  font-family: var(--font-pixel); font-size: 0.8rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--blue); color: #06222f;
}

/* CTA band gelap (dipakai About, Programs, Team) */
.cta-band {
  background: linear-gradient(115deg, var(--space) 35%, #123a5c 100%);
  color: #fff;
  border-radius: var(--r-media);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 22ch; margin: 0 auto 1rem; }
.cta-band p { color: var(--space-muted); max-width: 50ch; margin: 0 auto 2rem; }

/* ==========================================================================
   PROGRAMS PAGE
   ========================================================================== */
.program-jump { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.program-jump a {
  padding: 0.6rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  border: 1.5px solid rgba(255,255,255,0.3); color: #fff;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.program-jump a:hover { background: rgba(52,168,222,0.2); border-color: var(--blue); transform: translateY(-2px); }

.program-block { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.program-block + .program-block { border-top: 1px solid var(--line); }

.program-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-bottom: 3rem; }
.program-tag {
  display: inline-block; font-family: var(--font-pixel); font-size: 0.7rem;
  color: var(--blue-text); background: var(--blue-soft);
  padding: 0.35em 1em; border-radius: 999px; margin-bottom: 1rem;
}
.program-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1rem; }
.program-head .lead { font-size: 1.05rem; }
.program-side {
  border-radius: var(--r-card); padding: 1.75rem;
  background: var(--paper-tint); border: 1px solid var(--line);
}
.program-side h4 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.program-side ul { display: grid; gap: 0.6rem; }
.program-side li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--muted); font-size: 0.93rem; }
.program-side li svg { width: 17px; height: 17px; color: var(--blue-text); flex-shrink: 0; margin-top: 0.2rem; }
.program-side .btn { margin-top: 1.4rem; width: 100%; justify-content: center; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.benefit-card {
  padding: 1.5rem; border-radius: var(--r-card); border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.benefit-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.benefit-card svg { width: 24px; height: 24px; color: var(--blue-text); margin-bottom: 0.75rem; }
.benefit-card h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.benefit-card p { color: var(--muted); font-size: 0.9rem; }

.gallery-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem;
}
.gallery-strip.gallery-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-strip img {
  border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; width: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.gallery-strip img:hover { transform: scale(1.04); box-shadow: 0 18px 40px rgba(7,14,26,0.16); }

.testimonial {
  margin-top: 3rem; display: grid; grid-template-columns: auto 1fr; gap: 1.75rem;
  padding: 2rem; border-radius: var(--r-card);
  background: var(--paper-tint); border: 1px solid var(--line);
  align-items: center;
}
.testimonial img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.testimonial blockquote { font-size: 1.1rem; font-weight: 500; line-height: 1.5; margin-bottom: 0.6rem; }
.testimonial cite { font-style: normal; color: var(--muted); font-size: 0.9rem; }

/* ==========================================================================
   TEAM PAGE
   ========================================================================== */
.division { margin-top: 4rem; }
.division:first-of-type { margin-top: 0; }
.division-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.division-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.division-count { font-family: var(--font-pixel); font-size: 0.8rem; color: var(--blue-text); }

.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.person {
  border-radius: var(--r-card); overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.person:hover { transform: translateY(-8px); box-shadow: 0 26px 56px rgba(7,14,26,0.14); }
.person-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-tint); position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.person:hover .person-photo img { transform: scale(1.06); }
.person-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-pixel); font-size: 2.4rem; color: #fff;
}
.person-body { padding: 1.4rem; }
.person-body h3 { font-size: 1.1rem; }
.person-role { color: var(--blue-text); font-weight: 600; font-size: 0.85rem; margin: 0.2rem 0 0.6rem; }
.person-bio { color: var(--muted); font-size: 0.9rem; }
.person-socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.person-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--muted);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.person-socials a:hover { background: var(--blue); border-color: var(--blue); color: #06222f; transform: translateY(-2px); }
.person-socials svg { width: 15px; height: 15px; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.contact-wrap h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1.25rem; }
.contact-wrap .lead { margin-bottom: 2.25rem; }

.contact-cards { display: grid; gap: 1.25rem; }
.contact-card {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.6rem; border-radius: var(--r-card);
  border: 1px solid var(--line); background: #fff;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 18px 40px rgba(7,14,26,0.1); }
.contact-card .bento-icon { background: var(--blue-soft); color: var(--blue-text); flex-shrink: 0; }
.contact-card h4 { font-size: 1rem; }
.contact-card p { color: var(--muted); font-size: 0.92rem; }

/* ==========================================================================
   FOOTER (components/footer-aruca.php)
   ========================================================================== */
.site-footer {
  background: var(--space);
  color: var(--space-text);
  padding: 4.5rem 0 2rem;
  margin-top: 6rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .navbar-logo { font-size: 1.5rem; }
.footer-brand p { color: var(--space-muted); margin-top: 0.9rem; max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1.1rem; }
.footer-col a {
  display: block; color: var(--space-muted); padding: 0.3rem 0; font-size: 0.93rem;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-col a:hover { color: var(--yellow); transform: translateX(4px); }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2); color: var(--space-text);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-socials a:hover { background: var(--yellow); color: var(--yellow-deep); transform: translateY(-3px); }
.footer-socials svg { width: 17px; height: 17px; }
.footer-credit {
  padding-top: 1.75rem; text-align: center;
  color: var(--space-muted); font-size: 0.85rem;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* anak-anak elemen dengan .reveal-stagger muncul berurutan */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
/* pertahankan transform rotasi tile kolase saat muncul */
.team-stack.reveal-stagger > .member-tile { transform: translateY(24px); }
.team-stack.reveal-stagger.is-visible > .member-tile:nth-child(odd) { transform: rotate(-3.5deg) translateY(8px); }
.team-stack.reveal-stagger.is-visible > .member-tile:nth-child(even) { transform: rotate(2.5deg) translateY(-10px); }
.team-stack.reveal-stagger.is-visible > .member-tile:hover { transform: rotate(0deg) translateY(-16px) scale(1.06); }

/* ==========================================================================
   REDUCED MOTION (juga aktif lewat mode debug ?nofx -> html.no-fx)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
html.no-fx { scroll-behavior: auto; }
html.no-fx *, html.no-fx *::before, html.no-fx *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
html.no-fx .reveal, html.no-fx .reveal-stagger > * { opacity: 1; transform: none; }
/* dalam mode debug (?nofx), tinggi hero dipatok agar full-page screenshot akurat */
html.debug-fx .hero { min-height: 780px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  /* Nav mobile: panel geser dari kanan */
  #hamburger-menu { display: inline-flex; }
  .navbar { background: rgba(7, 14, 26, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .navbar-nav {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: min(78vw, 320px);
    background: var(--space-2);
    flex-direction: column; align-items: flex-start; gap: 0.25rem;
    padding: calc(var(--nav-h) + 1.5rem) 1.75rem 2rem;
    transition: right 0.4s var(--ease);
    z-index: 99;
  }
  .navbar-nav.active { right: 0; }
  .navbar-nav a { width: 100%; font-size: 1.05rem; padding: 0.8rem 1rem; }
  .navbar-logo { font-size: 1.1rem; }
  .btn-masuk { display: none; }
  .btn-daftar { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
  .user-name-nav { display: none; }
  .navbar-extra > a:not(#hamburger-menu):not(.btn-daftar) { display: none; }
  .pixel-dot { display: none; }

  .hero h1 { font-size: clamp(2.2rem, 9vw, 2.9rem); }
  .cursor-chip { top: -1.7em; right: -0.3em; }

  .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-grid, .split, .contact-wrap, .program-head { grid-template-columns: 1fr; }
  .story-collage { min-height: 320px; margin-top: 1rem; }
  .bento { grid-template-columns: 1fr; }
  .bento-featured { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: 1fr; }
  .testimonial { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-stack { flex-wrap: wrap; gap: 1rem; }
  .member-tile { margin: 0; width: calc(33.33% - 0.67rem); }
}
