/* ================================================
   REFORMASI 1998 — Premium Dark Educational Website
   CSS Main Stylesheet
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ───────────────────────────── */
:root {
  --primary:       #0D0D0D;
  --secondary:     #161616;
  --surface:       #1C1C1C;
  --surface-2:     #222222;
  --accent:        #8C6A43;
  --gold:          #B08D57;
  --gold-light:    #C9A96E;
  --text-primary:  #F5F5F5;
  --text-secondary:#B3B3B3;
  --text-muted:    #6B6B6B;
  --border:        rgba(255,255,255,0.07);
  --border-gold:   rgba(176,141,87,0.3);
  --glow-gold:     rgba(176,141,87,0.12);
  --sidebar-w:     200px;
  --transition:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

/* Smooth scroll with custom timing */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  
  * {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
  }
}

body {
  background: var(--primary);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* Custom Scrollbar for Desktop */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--primary);
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

::selection {
  background: var(--gold);
  color: var(--primary);
}

/* ── Custom Cursor ───────────────────────────── */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, width 0.3s var(--transition), height 0.3s var(--transition), background 0.3s;
  mix-blend-mode: difference;
}

#cursor-follower {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(176,141,87,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.15s var(--transition), width 0.4s var(--transition), height 0.4s var(--transition), opacity 0.3s;
}

body:hover #cursor-follower { opacity: 1; }
.cursor-expand #cursor { width: 60px; height: 60px; }
.cursor-expand #cursor-follower { width: 60px; height: 60px; opacity: 0; }

/* ── Scroll Progress Bar ─────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--gold-light));
  z-index: 1000;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--gold);
}

/* ── Loading Screen ──────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: opacity 0.8s var(--transition), visibility 0.8s;
}

#loader.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  text-transform: uppercase;
  animation: fadeInLogo 1s ease 0.3s both;
}

@keyframes fadeInLogo {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.loader-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  animation: fadeInSpinner 0.8s ease 0.5s both;
}

@keyframes fadeInSpinner {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spinRing 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: -0.45s;
  border-top-color: var(--gold);
}

.spinner-ring:nth-child(2) {
  animation-delay: -0.3s;
  border-top-color: var(--gold-light);
  inset: 8px;
}

.spinner-ring:nth-child(3) {
  animation-delay: -0.15s;
  border-top-color: var(--accent);
  inset: 16px;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  animation: fadeCount 1.2s ease 0.7s both;
}

@keyframes fadeCount {
  from { opacity: 0; } to { opacity: 1; }
}

/* ── Layout Wrapper ──────────────────────────── */
#page-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar Navigation ──────────────────────── */
#sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  position: fixed;
  top: 0; left: 0;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 0;
  z-index: 100;
  transform: translateX(0);
  transition: transform 0.5s var(--transition-slow);
}

#sidebar .sidebar-logo {
  padding: 0 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.sidebar-logo .logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.sidebar-logo .logo-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-top: 0.3rem;
}

/* Nav Items */
.sidebar-nav {
  flex: 1;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  position: relative;
  group: true;
}

.nav-item:hover .nav-label { color: var(--text-primary); }
.nav-item:hover .nav-num   { color: var(--gold); }

.nav-item.active .nav-label { color: var(--text-primary); }
.nav-item.active .nav-num   { color: var(--gold); }
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 60%;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gold);
}

.nav-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  transition: color 0.3s;
  min-width: 18px;
}

.nav-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}

/* Sidebar Social */
.sidebar-social {
  padding: 2rem 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
  display: flex;
  gap: 1rem;
}

.sidebar-social a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s;
}
.sidebar-social a:hover { color: var(--gold); }

/* Sidebar Footer */
.sidebar-footer {
  padding: 1.5rem 2rem 0;
}
.sidebar-footer p {
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.6;
  letter-spacing: 0.05em;
}

/* ── Mobile Menu Button ──────────────────────── */
#menu-btn {
  display: none;
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  width: 44px; height: 44px;
  border-radius: 4px;
  cursor: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.3s;
}
#menu-btn span {
  display: block;
  width: 20px; height: 1px;
  background: var(--text-primary);
  transition: all 0.3s;
}
#menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#menu-btn.open span:nth-child(2) { opacity: 0; }
#menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ── Main Content ────────────────────────────── */
#main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
}

/* ── Section Base ────────────────────────────── */
.section {
  min-height: 100vh;
  position: relative;
}

/* ── Reveal Animations ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--transition-slow), transform 0.9s var(--transition-slow);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--transition-slow), transform 0.9s var(--transition-slow);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--transition-slow), transform 0.9s var(--transition-slow);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── Section Label ───────────────────────────── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

/* ── ❶ HERO SECTION ──────────────────────────── */
#hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--primary);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 3;
}

.hero-image-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(70%) contrast(1.1) brightness(0.7);
  transform: scale(1.05);
  transition: filter 0.6s, transform 8s ease;
}

#hero:hover .hero-image-full img {
  filter: grayscale(50%) contrast(1.1) brightness(0.75);
  transform: scale(1.08);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(105deg, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0.6) 50%, rgba(13,13,13,0.4) 100%),
    radial-gradient(ellipse at 60% 50%, rgba(140,106,67,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 0 6rem;
  max-width: 650px;
  margin: 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeUp 1s var(--transition-slow) 1.5s forwards;
}

.hero-eyebrow span {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.hero-eyebrow-line {
  width: 40px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: heroFadeUp 1.1s var(--transition-slow) 1.7s forwards;
}

.hero-title-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin: 1.5rem 0 2.5rem;
  opacity: 0;
  animation: heroFadeUp 1.1s var(--transition-slow) 1.9s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--border-gold);
  background: transparent;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: heroFadeUp 1.1s var(--transition-slow) 2.1s forwards;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition);
  z-index: -1;
}

.hero-cta:hover::before { transform: scaleX(1); }
.hero-cta:hover { color: var(--primary); border-color: var(--gold); }

.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(4px); }

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  right: 4rem; bottom: 4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  opacity: 0;
  animation: heroFadeUp 1s var(--transition-slow) 2.3s forwards;
}

.hero-scroll span {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px; height: 0;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLineGrow 2s var(--transition-slow) 2.5s forwards infinite;
}

@keyframes scrollLineGrow {
  0%   { height: 0; opacity: 1; }
  50%  { height: 50px; opacity: 1; }
  100% { height: 50px; opacity: 0; }
}

/* Vertical progress dots */
.hero-dots {
  position: absolute;
  right: 2rem; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.3s;
}

.hero-dot.active { background: var(--gold); box-shadow: 0 0 6px var(--gold); }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── ❷ PENDAHULUAN ───────────────────────────── */
#pendahuluan {
  background: var(--secondary);
  padding: 10rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
}

.pend-left .section-num {
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(176,141,87,0.06);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
  display: block;
}

.pend-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.pend-left h2 em {
  font-style: italic;
  color: var(--gold);
}

.pend-divider {
  width: 3rem; height: 1px;
  background: var(--gold);
  margin: 2rem 0;
}

.pend-right p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.pend-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat-item {}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ── ❸ PERAN MAHASISWA ───────────────────────── */
#peran-mahasiswa {
  background: var(--primary);
  padding: 10rem 6rem;
  position: relative;
  overflow: hidden;
}

#peran-mahasiswa::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140,106,67,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pm-image-wrap {
  position: relative;
}

.pm-image-frame {
  position: relative;
  border: 1px solid var(--border-gold);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.pm-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
  transition: filter 0.6s, transform 0.6s;
}
.pm-image-frame:hover img { filter: grayscale(20%); transform: scale(1.03); }

.pm-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,13,13,0.8) 100%);
}

.pm-image-caption {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.pm-decor {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 60%; height: 60%;
  border: 1px solid var(--border-gold);
  z-index: -1;
}

.pm-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.pm-content p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.pm-quote {
  margin-top: 2.5rem;
  padding: 2rem 2rem 2rem 1.8rem;
  border-left: 2px solid var(--gold);
  background: rgba(176,141,87,0.05);
  backdrop-filter: blur(10px);
  border-radius: 0 4px 4px 0;
}

.pm-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.pm-quote cite {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: normal;
}

/* ── ❹ TIMELINE ──────────────────────────────── */
#timeline-section {
  background: var(--secondary);
  padding: 10rem 6rem;
  overflow: hidden;
}

.timeline-header {
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.timeline-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
}

.timeline-header p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Horizontal timeline */
.timeline-track {
  position: relative;
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  padding-bottom: 2rem;
}

.timeline-line {
  position: absolute;
  left: 0; right: 0;
  top: 2.5rem;
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.timeline-card {
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
  padding: 5rem 2rem 2rem;
  position: relative;
  cursor: pointer;
  animation: scrollTimeline 40s linear infinite;
}

@keyframes scrollTimeline {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-320px * 7 - 1.5rem * 7));
  }
}

.timeline-track:hover .timeline-card {
  animation-play-state: paused;
}

.tl-dot {
  position: absolute;
  top: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--secondary);
  transition: all 0.3s;
  z-index: 1;
}

.tl-dot::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.3s var(--transition);
}

.timeline-card:hover .tl-dot { box-shadow: 0 0 20px rgba(176,141,87,0.5); }
.timeline-card:hover .tl-dot::before { transform: scale(1); }

.tl-card-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem;
  transition: all 0.4s var(--transition);
  height: 100%;
}

.timeline-card:hover .tl-card-inner {
  border-color: var(--border-gold);
  background: var(--surface-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tl-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--gold);
}

.tl-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.tl-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.tl-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── ❺ KEBEBASAN BERPENDAPAT ─────────────────── */
#kebebasan {
  background: var(--primary);
  padding: 10rem 6rem;
}

.kb-header { margin-bottom: 4rem; }

.kb-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  max-width: 500px;
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.kb-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  transition: all 0.4s var(--transition);
  cursor: none;
}

.kb-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(176,141,87,0.1);
  background: var(--surface-2);
}

.kb-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: all 0.3s;
  background: var(--glow-gold);
}
.kb-card:hover .kb-icon {
  background: rgba(176,141,87,0.15);
  box-shadow: 0 0 20px rgba(176,141,87,0.2);
}

.kb-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.kb-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── ❻ KONFLIK SOSIAL ────────────────────────── */
#konflik-sosial {
  background: var(--secondary);
  padding: 10rem 6rem;
}

.ks-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.ks-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
}

.ks-header p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.ks-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
}

.ks-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: none;
  aspect-ratio: 4/3;
}

.ks-item:first-child {
  grid-row: span 2;
  aspect-ratio: unset;
}

.ks-item-bg {
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--transition);
}

.ks-item-bg svg {
  opacity: 0.06;
  width: 50%; height: auto;
}

.ks-item:hover .ks-item-bg { transform: scale(1.05); }

.ks-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13,13,13,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  transition: background 0.4s;
}

.ks-item:hover .ks-overlay {
  background: linear-gradient(180deg, rgba(140,106,67,0.05) 0%, rgba(13,13,13,0.95) 100%);
}

.ks-tag {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.ks-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.ks-overlay p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition);
}

.ks-item:hover .ks-overlay p { max-height: 80px; }

/* Number overlay */
.ks-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(176,141,87,0.08);
  line-height: 1;
  pointer-events: none;
}

/* ── ❼ DAMPAK REFORMASI ──────────────────────── */
#dampak-reformasi {
  background: var(--primary);
  padding: 10rem 6rem;
}

.dr-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.dr-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  position: sticky;
  top: 5rem;
}

.dr-left h2 em { font-style: italic; color: var(--gold); }

.dr-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dr-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  cursor: none;
  transition: all 0.3s;
}

.dr-item:first-child { border-top: 1px solid var(--border); }

.dr-item:hover { padding-left: 1rem; }

.dr-item-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-top: 0.2rem;
}

.dr-item-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}

.dr-item:hover .dr-item-body h3 { color: var(--gold); }

.dr-item-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── BIG QUOTE SECTION ───────────────────────── */
#quote-section {
  background: var(--secondary);
  padding: 10rem 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#quote-section::before,
#quote-section::after {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 30rem;
  position: absolute;
  color: rgba(176,141,87,0.03);
  line-height: 1;
  top: -4rem;
  pointer-events: none;
}

#quote-section::before { left: -2rem; }
#quote-section::after  { right: -2rem; content: '\201D'; }

.quote-inner { max-width: 800px; position: relative; z-index: 1; }

.quote-inner blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.quote-inner blockquote em { color: var(--gold); }

.quote-line {
  width: 3rem; height: 1px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}

.quote-cite {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── ❽ GALERI SEJARAH ────────────────────────── */
#galeri {
  background: var(--primary);
  padding: 10rem 6rem;
}

.galeri-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.galeri-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
}

.galeri-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 0.3rem;
  transition: gap 0.3s;
}
.galeri-link:hover { gap: 0.8rem; }

/* Masonry Gallery */
.masonry-grid {
  columns: 3;
  column-gap: 1.2rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: none;
}

.masonry-item img {
  width: 100%;
  display: block;
  filter: grayscale(70%) contrast(1.1);
  transition: filter 0.5s, transform 0.5s;
}

.masonry-item:hover img {
  filter: grayscale(20%) contrast(1.1);
  transform: scale(1.04);
}

.masonry-item .item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(13,13,13,0.9));
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  transform: translateY(100%);
  transition: transform 0.4s var(--transition);
}

.masonry-item:hover .item-label { transform: translateY(0); }

/* ── ❾ KESIMPULAN ────────────────────────────── */
#kesimpulan {
  background: var(--secondary);
  padding: 10rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.kes-left {}

.kes-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.kes-left h2 em {
  font-style: italic;
  color: var(--gold);
}

.kes-divider {
  width: 3rem; height: 1px;
  background: var(--gold);
  margin: 2.5rem 0;
}

.kes-right p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.kes-points {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kes-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.3s;
}

.kes-point:hover {
  border-color: var(--border-gold);
  background: var(--surface-2);
}

.kes-point-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.6rem;
}

.kes-point span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── ❾ KELOMPOK DEV ──────────────────────────── */
#kelompok-dev {
  background: var(--primary);
  padding: 10rem 6rem;
}

.dev-container {
  max-width: 1200px;
  margin: 0 auto;
}

.dev-header {
  text-align: center;
  margin-bottom: 5rem;
}

.dev-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.dev-header p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.dev-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s var(--transition);
}

.dev-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  background: var(--surface-2);
}

.dev-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  transition: all 0.3s;
}

.dev-card:hover .dev-avatar {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(176,141,87,0.3);
}

.avatar-placeholder {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.dev-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dev-role {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.dev-nim {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Cormorant Garamond', serif;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--primary);
  border-top: 1px solid var(--border);
  padding: 4rem 6rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.footer-brand .brand-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 220px;
}

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.footer-bottom .heart { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.footer-social a:hover { color: var(--gold); }

/* ── BACK TO TOP ─────────────────────────────── */
#back-top {
  position: fixed;
  bottom: 2.5rem; right: 2.5rem;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: none;
  z-index: 50;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--transition);
}

#back-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-top:hover {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(176,141,87,0.3);
}

/* ── Utilities ───────────────────────────────── */
.gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1200px) {
  :root { --sidebar-w: 180px; }
  #pendahuluan, #peran-mahasiswa, #kebebasan, #konflik-sosial,
  #dampak-reformasi, #galeri, #kesimpulan { padding: 8rem 4rem; }
  #timeline-section, #quote-section { padding: 8rem 4rem; }
  footer { padding: 4rem; }
  .kb-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { columns: 2; }
}

@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }

  #sidebar {
    transform: translateX(-100%);
    width: 260px;
  }

  #sidebar.open { transform: translateX(0); }

  #menu-btn { display: flex; }

  #main-content { margin-left: 0; }

  .hero-content { padding: 0 2.5rem 6rem; max-width: 90%; }

  #pendahuluan { grid-template-columns: 1fr; gap: 3rem; padding: 6rem 2.5rem; }
  #peran-mahasiswa { padding: 6rem 2.5rem; }
  .pm-grid { grid-template-columns: 1fr; gap: 3rem; }

  #timeline-section { padding: 6rem 2.5rem; }
  .timeline-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .timeline-track { 
    flex-direction: column; 
    overflow-x: visible;
    gap: 2rem;
  }
  .timeline-card { 
    min-width: 100%; 
    max-width: 100%;
    padding: 2rem 1rem;
    animation: none;
  }
  .timeline-line { display: none; }
  .tl-dot { 
    top: 1rem; 
    left: 1rem;
    transform: none;
  }

  #kebebasan { padding: 6rem 2.5rem; }
  .kb-grid { grid-template-columns: repeat(2, 1fr); }

  #konflik-sosial { padding: 6rem 2.5rem; }
  .ks-header { grid-template-columns: 1fr; }
  .ks-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ks-item:first-child { grid-row: span 1; aspect-ratio: 4/3; }

  #dampak-reformasi { padding: 6rem 2.5rem; }
  .dr-grid { grid-template-columns: 1fr; gap: 3rem; }

  #quote-section { padding: 6rem 2.5rem; }

  #galeri { padding: 6rem 2.5rem; }
  .galeri-header { grid-template-columns: 1fr; }
  .masonry-grid { columns: 2; }

  #kesimpulan { grid-template-columns: 1fr; gap: 3rem; padding: 6rem 2.5rem; }

  #kelompok-dev { padding: 6rem 2.5rem; }
  .dev-grid { grid-template-columns: 1fr; max-width: 400px; }

  footer { padding: 4rem 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .pend-stats { grid-template-columns: repeat(3, 1fr); }

  #hero { padding: 0; }
}

@media (max-width: 600px) {
  /* Hide scrollbar on mobile */
  ::-webkit-scrollbar {
    display: none;
  }
  
  * {
    scrollbar-width: none;
  }
  
  body {
    -ms-overflow-style: none;
  }

  .kb-grid  { grid-template-columns: 1fr; }
  .ks-grid  { grid-template-columns: 1fr; }
  .masonry-grid { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-scroll { right: 1.5rem; }
  .pend-stats { grid-template-columns: 1fr; gap: 1.5rem; }
}