:root {
  --dark: #15111b;
  --dark-2: #241b2e;
  --dark-3: #2a1420;
  --footer: #100d15;
  --cream: #fbf9f4;
  --white: #ffffff;
  --ink: #1d1721;
  --muted: #6b6270;
  --muted-2: #4e4656;
  --gold: #c29a4b;
  --gold-ink: #96702c;
  --red: #b01e23;
  --line: #e9e2d6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.font-display { font-family: "Playfair Display", Georgia, serif; font-weight: 400; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.site-header .logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; font-size: 14px; font-weight: 500; }
.nav-links a { transition: color 0.3s; }
.nav-links a:hover { color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.btn-join {
  border: 1px solid var(--gold);
  color: var(--gold-ink);
  padding: 8px 16px;
  background: transparent;
}
.btn-join:hover { background: rgba(194, 154, 75, 0.12); }
.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  box-shadow: 0 10px 24px rgba(176, 30, 35, 0.3);
}
.btn-primary:hover { box-shadow: 0 0 0 4px rgba(194, 154, 75, 0.6), 0 10px 24px rgba(176, 30, 35, 0.3); }
.btn-hero {
  background: var(--red);
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(176, 30, 35, 0.3);
}
.btn-hero:hover { box-shadow: 0 0 0 4px rgba(194, 154, 75, 0.6), 0 12px 30px rgba(176, 30, 35, 0.3); }
.btn-hero .arrow { transition: transform 0.3s; }
.btn-hero:hover .arrow { transform: translateX(4px); }

/* ===== HERO / SCRUB ===== */
.hero { position: relative; color: #fff; background: var(--dark); }

.scrub-well {
  position: relative;
  height: 520vh;
  height: 520svh;
  background:
    radial-gradient(2px 2px at 18% 22%, rgba(194,154,75,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 72% 38%, rgba(194,154,75,0.4), transparent 60%),
    radial-gradient(2px 2px at 40% 64%, rgba(194,154,75,0.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 86% 78%, rgba(194,154,75,0.45), transparent 60%),
    radial-gradient(2px 2px at 12% 88%, rgba(194,154,75,0.3), transparent 60%),
    linear-gradient(#15111b, #1a1420 55%, #241b2e);
}
.scrub-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.scrub-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(21,17,27,0.7), rgba(21,17,27,0.1) 50%, rgba(21,17,27,0.8));
}
.dots-layer { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }
.gold-dot {
  position: absolute;
  border-radius: 9999px;
  opacity: 0.9;
  background: radial-gradient(circle at 35% 35%, #ffe9b8, #e7bc66 55%, #c29a4b);
  box-shadow: 0 0 6px 1px #ffd98a, 0 0 16px 4px rgba(231,188,102,0.55);
  will-change: transform, opacity, filter;
  animation: floatDot 10s ease-in-out infinite, twinkle 2.4s ease-in-out infinite;
}
@keyframes floatDot {
  0%, 100% { transform: translate(0); }
  25% { transform: translate(14px, -32px); }
  50% { transform: translate(-10px, -58px); }
  75% { transform: translate(8px, -26px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; filter: brightness(0.85); box-shadow: 0 0 4px 1px #ffd98a, 0 0 10px 2px rgba(231,188,102,0.4); }
  50% { opacity: 1; filter: brightness(1.7); box-shadow: 0 0 10px 3px #ffe9b8, 0 0 26px 8px rgba(231,188,102,0.65); }
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
}
.rise { animation: rise 0.9s cubic-bezier(0.2,0.7,0.2,1) both; }
@keyframes rise { from { transform: translateY(28px); } to { transform: translateY(0); } }
.hero-eyebrow {
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--gold);
}
.hero-copy h1 {
  max-width: 56rem;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.04;
  text-shadow: 0 4px 40px rgba(21,17,27,0.6);
}
.hero-sub {
  margin: 24px auto 0;
  max-width: 36rem;
  font-size: 18px;
  color: rgba(255,255,255,0.8);
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.link-underline {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: all 0.3s;
}
.link-underline:hover { border-color: var(--gold); color: #fff; }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
}

/* Phase cards flying in over the scrub */
.phase-card {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: min(88vw, 380px);
  will-change: transform, opacity;
}
.phase-card.left { left: 20px; }
.phase-card.right { right: 20px; }
.phase-inner {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(16px);
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05) 45%, rgba(21,17,27,0.28));
  box-shadow: 0 0 50px rgba(194,154,75,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
}
.phase-inner img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; opacity: 0.9; }
.phase-body { padding: 16px 24px 24px; }
.phase-num { font-size: 36px; color: rgba(194,154,75,0.6); }
.phase-body h3 { margin-top: 4px; font-size: 24px; font-weight: 400; color: #fff; }
.phase-age { margin-top: 2px; font-size: 12px; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); }
.phase-desc { margin-top: 12px; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.85); }
.phase-link {
  margin-top: 16px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  transition: letter-spacing 0.3s;
}
.phase-link:hover { letter-spacing: 0.3em; }

/* Progress rail */
.scrub-rail {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.rail-track { position: relative; height: 160px; width: 1px; background: rgba(255,255,255,0.15); }
.rail-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%; width: 1px;
  transform-origin: top;
  transform: scaleY(0);
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.rail-dots { display: flex; flex-direction: column; gap: 8px; }
.rail-dots span {
  height: 8px; width: 8px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.25);
  transition: background-color 0.3s;
}
.rail-dots span.on { background: var(--gold); }
@media (min-width: 768px) { .scrub-rail { display: flex; } .phase-card.left { left: 64px; } .phase-card.right { right: 64px; } }

/* Hero stats bar */
.hero-stats {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(21,17,27,0.9);
}
.hero-stats .grid {
  max-width: 1152px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.hero-stats .stat-num { font-size: clamp(26px, 3.4vw, 38px); color: var(--gold); }
.hero-stats .stat-label { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,0.6); }

/* ===== Sections shared ===== */
.sec { position: relative; padding: 96px 0; }
.sec-cream { background: var(--cream); }
.sec-white { background: var(--white); }
.sec-dark { background: linear-gradient(180deg, #15111b, #241b2e); color: #fff; }

.section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  text-align: center;
  font-size: clamp(30px, 5vw, 52px);
  max-width: 42rem;
  margin: 0 auto 16px;
  line-height: 1.15;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 56px;
  font-size: 16px;
}
.sec-dark .section-sub { color: rgba(255,255,255,0.7); }

/* ===== TESTIMONI (scroll-driven marquee) ===== */
.testimoni-sec {
  position: relative;
  overflow: clip;
  background: var(--cream);
}
.testimoni-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  filter: blur(48px);
  opacity: 0.55;
  background:
    radial-gradient(38% 46% at 18% 30%, rgba(194,154,75,0.55), transparent 70%),
    radial-gradient(32% 40% at 62% 22%, rgba(176,30,35,0.28), transparent 70%),
    radial-gradient(40% 44% at 84% 68%, rgba(140,132,148,0.5), transparent 70%),
    radial-gradient(34% 40% at 38% 78%, rgba(194,154,75,0.35), transparent 70%);
}
.testimoni-well { position: relative; height: 300vh; height: 300svh; }
.testimoni-stage {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  height: 100svh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.testimoni-stage h2 {
  margin: 0 auto;
  max-width: 42rem;
  padding: 0 20px;
  text-align: center;
  font-size: clamp(32px, 5.4vw, 60px);
  line-height: 1.12;
  color: var(--ink);
}
.testimoni-track {
  margin-top: 56px;
  display: flex;
  width: max-content;
  align-items: flex-start;
  gap: 24px;
  padding: 0 7vw 24px;
  will-change: transform;
}
.tcard {
  width: 290px;
  flex-shrink: 0;
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(29,23,33,0.12), inset 0 1px 0 rgba(255,255,255,0.4);
}
.tcard blockquote { font-size: 15px; font-weight: 500; line-height: 1.65; }
.tcard figcaption { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.tcard .avatar {
  display: flex;
  height: 40px; width: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--ink);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.tcard .tname { font-size: 14px; font-weight: 700; }
.tcard .trole { font-size: 12px; }

/* three glass variants, cycling — matches neat-ruby */
.tcard.v0 {
  background: linear-gradient(160deg, rgba(255,255,255,0.62), rgba(255,255,255,0.38));
  border: 1px solid rgba(233,226,214,0.95);
}
.tcard.v0 blockquote, .tcard.v0 .tname { color: var(--ink); }
.tcard.v0 .trole { color: var(--muted); }

.tcard.v1 {
  background: linear-gradient(160deg, rgba(140,132,148,0.34), rgba(140,132,148,0.18));
  border: 1px solid rgba(255,255,255,0.55);
}
.tcard.v1 blockquote, .tcard.v1 .tname { color: var(--ink); }
.tcard.v1 .trole { color: var(--muted-2); }

.tcard.v2 {
  background: linear-gradient(160deg, rgba(139,20,24,0.6), rgba(90,14,18,0.45));
  border: 1px solid rgba(194,154,75,0.5);
}
.tcard.v2 blockquote, .tcard.v2 .tname { color: #fff; }
.tcard.v2 .trole { color: rgba(255,255,255,0.7); }

.testimoni-loading { text-align: center; color: var(--muted); padding: 40px; width: 100%; }

/* ===== Timeline (Mesin Waktu) ===== */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 88px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item:nth-child(even) .timeline-img { order: 2; }
.timeline-img img { border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.timeline-body h3 { font-size: 30px; font-weight: 400; margin-bottom: 4px; }
.timeline-age { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 22px; }
.timeline-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
  margin: 18px 0 10px;
}
.timeline-body ul { list-style: none; font-size: 15px; color: rgba(255,255,255,0.8); }
.timeline-body ul li { padding: 6px 0 6px 22px; position: relative; }
.timeline-body ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ===== Layanan ===== */
.layanan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.layanan-card {
  background: var(--white);
  padding: 32px 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(29,23,33,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.layanan-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(29,23,33,0.1); }
.layanan-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e4c878, var(--gold));
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.layanan-card h3 { font-size: 20px; font-weight: 400; margin-bottom: 10px; }
.layanan-card p { font-size: 14.5px; color: var(--muted); }

/* ===== Misi ===== */
.misi-sec { background: var(--white); text-align: center; }
.misi-sec h2 { font-size: clamp(26px, 4vw, 40px); max-width: 52rem; margin: 0 auto 24px; line-height: 1.2; }
.misi-sec .lead { max-width: 42rem; margin: 0 auto 56px; color: var(--muted); }
.misi-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.misi-stats .stat-num { font-size: clamp(30px, 4vw, 44px); color: var(--red); }
.misi-stats .stat-label { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ===== Komitmen ===== */
.komitmen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.komitmen-num { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 14px; }
.komitmen-card h3 { font-size: 20px; font-weight: 400; margin-bottom: 10px; }
.komitmen-card p { font-size: 14.5px; color: var(--muted); }

/* ===== Proses ===== */
.proses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: proses; }
.proses-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
}
.proses-card::before {
  counter-increment: proses;
  content: counter(proses, decimal-leading-zero);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  color: rgba(194,154,75,0.7);
  display: block;
  margin-bottom: 12px;
}
.proses-card h3 { font-size: 18px; font-weight: 400; margin-bottom: 8px; }
.proses-card p { font-size: 14px; color: var(--muted); }

/* ===== Tentang ===== */
.tentang-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.tentang-img img { border-radius: 20px; box-shadow: 0 24px 60px rgba(29,23,33,0.18); }
.tentang-body h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 14px 0 20px; line-height: 1.2; }
.tentang-body > p { color: var(--muted); margin-bottom: 24px; }
.tentang-body ul { list-style: none; font-size: 15px; color: var(--muted); }
.tentang-body ul li { padding: 8px 0 8px 26px; position: relative; }
.tentang-body ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ===== Rekrut ===== */
.rekrut-sec { text-align: center; }
.rekrut-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 48px 0 56px; text-align: left; }
.rekrut-feature h3 { font-size: 18px; font-weight: 400; margin-bottom: 8px; }
.rekrut-feature p { font-size: 14px; color: var(--muted); }
.rekrut-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 44px; }
.rekrut-gallery figure {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 30px rgba(29,23,33,0.12);
}
.rekrut-gallery img { width: 100%; height: 230px; object-fit: cover; }
.rekrut-gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.78));
  color: #fff;
  font-size: 13px;
  text-align: left;
}
.rekrut-gallery figcaption strong { display: block; font-size: 14px; margin-bottom: 3px; }
.note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ===== Langkah ===== */
.langkah-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; }
.langkah-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.langkah-card h3 { font-size: 18px; font-weight: 400; margin-bottom: 8px; }
.langkah-card p { font-size: 14px; color: var(--muted); }

/* ===== CTA ===== */
.cta-sec {
  padding: 112px 0;
  text-align: center;
  background: linear-gradient(180deg, #15111b, #2a1420);
  color: #fff;
  overflow: hidden;
}
.cta-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.35em; color: var(--gold); margin-bottom: 22px; }
.cta-sec h2 { font-size: clamp(30px, 5vw, 48px); margin: 0 auto 20px; max-width: 44rem; line-height: 1.15; }
.cta-sec .lead { color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.cta-sec .note { color: rgba(255,255,255,0.5); }

/* ===== Footer ===== */
.site-footer { padding: 64px 0 28px; background: var(--footer); color: rgba(255,255,255,0.7); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 36px; margin-bottom: 14px; }
.footer-tagline { font-family: "Playfair Display", Georgia, serif; font-style: italic; color: var(--gold); margin-bottom: 16px; }
.footer-contact { font-size: 14px; line-height: 1.9; }
.footer-social { display: flex; gap: 18px; font-size: 14px; justify-content: flex-end; align-items: flex-start; }
.footer-social a { transition: color 0.3s; }
.footer-social a:hover { color: var(--gold); }
.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .layanan-grid, .misi-stats, .komitmen-grid, .proses-grid, .hero-stats .grid,
  .rekrut-features, .rekrut-gallery, .langkah-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-item, .tentang-grid, .footer-top { grid-template-columns: 1fr; }
  .timeline-item:nth-child(even) .timeline-img { order: 0; }
  .footer-social { justify-content: flex-start; margin-top: 16px; }
}
@media (max-width: 560px) {
  .layanan-grid, .misi-stats, .komitmen-grid, .proses-grid, .hero-stats .grid,
  .rekrut-features, .rekrut-gallery, .langkah-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .sec { padding: 72px 0; }
}

/* Respect reduced motion: disable decorative animation, keep content readable */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .gold-dot { animation: none; }
}
