:root {
  --color-primary: #2E0721;
  --color-surface-dark: #47102F;
  --color-surface-night: #2E0721;
  --color-accent: #F2099C;
  --color-accent-hover: #DA088C;
  --color-accent-light: #F45FB8;
  --color-accent-soft: #FBD9EF;
  --color-accent-lime: #F5D63C;
  --color-accent-pink: #f472b6;
  --color-on-primary: #ffffff;
  --color-ink: #241122;
  --color-ink-muted: #6b7280;
  --color-surface-light: #ffffff;
  --color-surface-press: #f0f0f0;
  --color-hairline-violet: #5C2445;
  --color-hairline-cloud: #e5e7eb;
  --color-on-dark-muted: rgba(255,255,255,0.72);
  --color-on-dark-faint: rgba(255,255,255,0.18);

  --font-display: 'Space Grotesk', -apple-system, system-ui, sans-serif;
  --font-body: 'Rubik', -apple-system, system-ui, sans-serif;

  --spacing-section: 96px;
  --container-max: 1152px;
  --container-wide: 1280px;

  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 10px;
  --rounded-xl: 12px;
  --rounded-xxl: 18px;
  --rounded-full: 9999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; -ms-overflow-style: none; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

.rich-content { font-size: 15px; line-height: 1.7; color: var(--color-ink); }
.rich-content p { margin: 0 0 12px; }
.rich-content ul, .rich-content ol { margin: 0 0 12px; padding-left: 22px; }
.rich-content li { margin-bottom: 4px; }
.rich-content h1, .rich-content h2, .rich-content h3,
.rich-content h4, .rich-content h5 { margin: 20px 0 10px; font-family: var(--font-display); }
.rich-content h3 { font-size: 18px; }
.rich-content a { text-decoration: underline; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.rich-content table td, .rich-content table th { border: 1px solid var(--color-line); padding: 6px 10px; }
.rich-content img { border-radius: 8px; }

img { max-width: 100%; height: auto; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

/* === NAV === */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--color-surface-dark);
  padding: 16px 24px;
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--container-wide); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--color-on-primary); font-family: var(--font-display);
  font-weight: 700; font-size: 20px; text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  color: var(--color-on-dark-muted); font-family: var(--font-body);
  font-size: 14px; font-weight: 500; padding: 8px 14px;
  border-radius: var(--rounded-md); transition: all 0.2s;
  text-decoration: none; position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-on-primary); background: rgba(255,255,255,0.08); }
.nav-toggle { display: none; background: none; border: none; color: var(--color-on-primary); font-size: 28px; cursor: pointer; padding: 4px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-surface-night); flex-direction: column;
    padding: 16px 24px; border-top: 1px solid var(--color-hairline-violet);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; width: 100%; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: 0.2px; text-transform: uppercase;
  padding: 12px 20px; border-radius: var(--rounded-md);
  border: none; cursor: pointer; transition: all 0.2s;
  text-decoration: none; line-height: 1.14;
}
.btn-primary {
  background: var(--color-accent-hover); color: var(--color-on-primary);
}
.btn-primary:hover { background: var(--color-accent); color: var(--color-on-primary); }
.btn-light {
  background: var(--color-on-primary); color: var(--color-ink);
}
.btn-light:hover { background: var(--color-surface-press); }
.btn-ghost {
  background: var(--color-on-dark-faint); color: var(--color-on-primary);
}
.btn-ghost:hover { background: rgba(255,255,255,0.28); }
.btn-outline {
  background: transparent; color: var(--color-accent-hover);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent); color: var(--color-on-primary); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* === SEARCH FORM === */
.search-form { display: flex; gap: 8px; margin-bottom: 32px; max-width: 480px; }
.search-input {
  flex: 1; padding: 10px 16px; border: 2px solid var(--color-hairline);
  border-radius: 8px; font-size: 14px; background: var(--color-on-primary);
  color: var(--color-ink); outline: none; transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--color-accent); }
.search-input::placeholder { color: var(--color-ink-muted); }

/* === HERO === */
.hero {
  background: var(--color-surface-dark);
  padding: 160px 0 96px;
  position: relative; overflow: hidden;
  min-height: 85vh; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(1px 1px at 70% 90%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(1.5px 1.5px at 50% 50%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(1px 1px at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-eyebrow {
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  letter-spacing: 0.2px; text-transform: uppercase;
  color: var(--color-accent-light); margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display); font-size: 72px; font-weight: 700;
  line-height: 1.1; color: var(--color-on-primary); margin-bottom: 24px;
}
.hero h1 .highlight {
  display: inline-block; background: var(--color-accent);
  color: var(--color-on-primary); padding: 0 16px;
  border-radius: var(--rounded-xs); line-height: 1.15;
}
.hero p {
  font-size: 18px; line-height: 2.0; color: var(--color-on-dark-muted);
  margin-bottom: 40px; max-width: 600px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stat { text-align: center; }
.hero-stat-value {
  font-family: var(--font-display); font-size: 48px; font-weight: 700;
  color: var(--color-accent-lime); line-height: 1;
}
.hero-stat-label {
  font-size: 14px; color: var(--color-on-dark-muted);
  margin-top: 8px; letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hero { padding: 120px 0 64px; min-height: auto; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
}
@media (max-width: 576px) {
  .hero h1 { font-size: 32px; }
  .hero h1 .highlight { padding: 0 10px; }
}

/* === SECTIONS === */
.section { padding: var(--spacing-section) 0; }
.section-dark { background: var(--color-surface-dark); color: var(--color-on-primary); }
.section-light { background: var(--color-surface-light); }

.section-header {
  text-align: center; margin-bottom: 56px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.section-eyebrow {
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  letter-spacing: 0.2px; text-transform: uppercase;
  color: var(--color-accent-hover); margin-bottom: 12px;
}
.section-dark .section-eyebrow { color: var(--color-accent-light); }
.section-title {
  font-family: var(--font-display); font-size: 40px; font-weight: 600;
  line-height: 1.15; margin-bottom: 16px;
}
.section-dark .section-title { color: var(--color-on-primary); }
.section-subtitle {
  font-size: 16px; line-height: 1.75; color: var(--color-ink-muted);
}
.section-dark .section-subtitle { color: var(--color-on-dark-muted); }
.section-dark .agenda-date-month,
.section-dark .agenda-info p,
.section-dark .agenda-location { color: var(--color-on-dark-muted); }

@media (max-width: 768px) {
  .section-title { font-size: 28px; }
  .section { --spacing-section: 56px; }
}

/* === CARDS === */
.card {
  background: var(--color-surface-light); border-radius: var(--rounded-xl);
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); }
.card-dark {
  background: var(--color-surface-night); color: var(--color-on-primary);
}
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block; background: var(--color-accent-hover);
  color: var(--color-on-primary); font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--rounded-xs);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px;
}
.card-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  margin-bottom: 8px; line-height: 1.3;
}
.card-text { font-size: 14px; line-height: 1.6; color: var(--color-ink-muted); }
.card-dark .card-text { color: var(--color-on-dark-muted); }
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 992px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }
}

/* === NEWS LIST === */
.news-list { display: flex; flex-direction: column; gap: 32px; }
.news-item {
  display: flex; gap: 24px; background: var(--color-surface-light);
  border-radius: var(--rounded-xl); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.news-item-img {
  width: 280px; min-height: 180px; object-fit: cover; flex-shrink: 0;
}
.news-item-body { padding: 24px 24px 24px 0; display: flex; flex-direction: column; justify-content: center; }
.news-item-date { font-size: 13px; color: var(--color-ink-muted); margin-bottom: 8px; }
.news-item-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  margin-bottom: 8px; line-height: 1.3;
}
.news-item-title a { color: var(--color-ink); }
.news-item-title a:hover { color: var(--color-accent); }
.news-item-excerpt { font-size: 14px; line-height: 1.6; color: var(--color-ink-muted); margin-bottom: 12px; }
.news-item-meta { font-size: 13px; color: var(--color-ink-muted); }

@media (max-width: 768px) {
  .news-item { flex-direction: column; }
  .news-item-img { width: 100%; height: 200px; }
  .news-item-body { padding: 16px; }
  .news-item-title { font-size: 18px; }
}

/* === PRODI GRID === */
.prodi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 780px; margin: 0 auto; }
@media (max-width: 576px) { .prodi-grid { grid-template-columns: 1fr; } }

/* === PRODI CARDS (dark bg) === */
.prodi-card {
  background: rgba(255,255,255,0.06); border: 1px solid var(--color-hairline-violet);
  border-radius: var(--rounded-xl); padding: 32px;
  transition: all 0.3s; text-align: center;
}
.prodi-card:hover {
  background: rgba(255,255,255,0.1); border-color: var(--color-accent-light);
  transform: translateY(-4px);
}
.prodi-card-icon {
  width: 64px; height: 64px; background: var(--color-accent);
  border-radius: var(--rounded-lg); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px; font-size: 28px;
}
.prodi-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.prodi-card p { font-size: 14px; color: var(--color-on-dark-muted); line-height: 1.6; }
.prodi-card .accred {
  display: inline-block; background: var(--color-accent-lime);
  color: var(--color-ink); font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--rounded-full); margin-top: 12px;
}

/* === DOSEN CARD === */
.dosen-card {
  background: var(--color-surface-light); border-radius: var(--rounded-xl);
  text-align: center; padding: 28px 18px;
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.dosen-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.dosen-card-photo {
  width: 108px; height: 108px; border-radius: 50%;
  overflow: hidden; margin-bottom: 14px; flex-shrink: 0;
  border: 3px solid var(--color-accent);
}
.dosen-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dosen-card-body { padding: 0; }
.dosen-card .front-title {
  display: block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--color-accent); margin-bottom: 4px;
}
.dosen-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.dosen-card .position { font-size: 13px; color: var(--color-ink-muted); }
.empty-state { text-align: center; padding: 48px 0; color: var(--color-ink-muted); }

/* === AGENDA === */
.agenda-list { display: flex; flex-direction: column; gap: 16px; }
.agenda-item {
  display: flex; align-items: center; gap: 20px;
  background: var(--color-surface-light); border-radius: var(--rounded-lg);
  padding: 20px 24px; transition: all 0.2s;
  border-left: 4px solid var(--color-accent);
}
.agenda-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.agenda-date {
  text-align: center; min-width: 60px; flex-shrink: 0;
}
.agenda-date-day { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--color-accent); line-height: 1; }
.agenda-date-month { font-size: 12px; text-transform: uppercase; color: var(--color-ink-muted); letter-spacing: 1px; }
.agenda-info { flex: 1; }
.agenda-info h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.agenda-info p { font-size: 14px; color: var(--color-ink-muted); }
.agenda-location { font-size: 13px; color: var(--color-ink-muted); }
.agenda-location::before { content: '📍 '; }

@media (max-width: 576px) {
  .agenda-item { flex-direction: column; align-items: flex-start; }
  .agenda-date { display: flex; gap: 8px; align-items: baseline; }
  .agenda-date-day { font-size: 22px; }
}

/* === GALLERY GRID === */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item {
  position: relative; border-radius: var(--rounded-lg); overflow: hidden;
  cursor: pointer; aspect-ratio: 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; color: white;
  font-size: 14px; font-weight: 500;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

@media (max-width: 768px) { .gallery-grid, .gallery-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .gallery-grid, .gallery-grid-4 { grid-template-columns: 1fr; } }

/* === DOWNLOADS === */
.download-list { display: flex; flex-direction: column; gap: 12px; }
.download-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--color-surface-light); border-radius: var(--rounded-lg);
  padding: 16px 24px; transition: all 0.2s;
  border: 1px solid var(--color-hairline-cloud);
}
.download-item:hover { border-color: var(--color-accent); }
.download-icon {
  font-size: 32px; width: 48px; text-align: center; flex-shrink: 0;
}
.download-info { flex: 1; }
.download-info h4 { font-size: 16px; font-weight: 600; }
.download-info span { font-size: 13px; color: var(--color-ink-muted); }
.download-btn { flex-shrink: 0; }

/* === FAQ === */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(255,255,255,0.06); border: 1px solid var(--color-hairline-violet);
  border-radius: var(--rounded-lg); overflow: hidden;
}
.faq-question {
  width: 100%; padding: 20px 24px; text-align: left;
  background: none; border: none; color: var(--color-on-primary);
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after {
  content: '+'; font-size: 22px; transition: transform 0.3s;
  color: var(--color-accent-light);
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: all 0.3s; font-size: 15px; line-height: 1.7;
  color: var(--color-on-dark-muted);
}
.faq-item.open .faq-answer { padding: 0 24px 20px; max-height: 400px; }

/* === CTA BAND === */
.cta-band {
  background: var(--color-surface-dark); text-align: center;
  padding: 80px 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(1px 1px at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(1px 1px at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-display); font-size: 36px; font-weight: 600;
  color: var(--color-on-primary); margin-bottom: 12px; position: relative;
}
.cta-band p {
  color: var(--color-on-dark-muted); font-size: 16px;
  margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto;
  position: relative;
}
.cta-band .btn { position: relative; }

/* === WHATSAPP FLOAT === */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: var(--rounded-full);
  background: #25d366; color: white !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }

/* === HERO SLIDER === */
.hero-slider {
  padding: 0 !important; position: relative; overflow: hidden;
  width: 100%; display: block; background: none; aspect-ratio: 2/1; min-height: 400px;
}
.hero-slider::before { display: none; }
.hero-slide {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center;
  background-size: cover; background-position: center; opacity: 0;
  transition: opacity 0.8s ease; height: 100%;
  padding: 120px 0 80px;
}
.hero-slide.active { opacity: 1; position: relative; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,16,60,0.92) 0%, rgba(26,16,60,0.5) 45%, rgba(26,16,60,0.1) 70%, transparent 85%);
}
.hero-slide .container {
  position: relative; z-index: 1;
  margin-left: 0; margin-right: auto;
  width: 100%; max-width: 720px;
}
.hero-slide h1 {
  font-family: var(--font-display); font-size: 60px; font-weight: 700;
  line-height: 1.1; color: var(--color-on-primary); margin-bottom: 20px;
  max-width: 640px;
}
.hero-slide p {
  font-size: 18px; line-height: 1.8; color: var(--color-on-dark-muted);
  margin-bottom: 32px; max-width: 500px;
}
.hero-static {
  padding: 160px 0 96px; min-height: 85vh; display: flex; align-items: center;
  background: var(--color-surface-dark);
  position: relative;
}
.hero-static::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(1px 1px at 70% 90%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(1.5px 1.5px at 50% 50%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(1px 1px at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-static .hero-content { position: relative; z-index: 1; max-width: 720px; }

.slider-dots {
  position: absolute; bottom: 40px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px; z-index: 2;
}
.slider-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
  border: 2px solid rgba(0,0,0,0.3);
  transition: all 0.3s;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.slider-dot.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 6px rgba(126,34,206,0.5);
}

/* === STATS SECTION === */
.section-stats {
  background: var(--color-surface-dark);
  padding: 48px 0;
  position: relative;
}
.section-stats::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stats-grid .hero-stat { text-align: center; }
.stats-grid .hero-stat-value {
  font-family: var(--font-display); font-size: 42px; font-weight: 700;
  color: var(--color-accent-lime); line-height: 1;
  margin-bottom: 8px;
}
.stats-grid .hero-stat-label {
  font-size: 14px; font-weight: 500;
  color: var(--color-on-dark-muted); letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .stats-grid .hero-stat-value { font-size: 32px; }
}
@media (max-width: 576px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid .hero-stat-value { font-size: 28px; }
}

@media (max-width: 992px) {
  .hero-slider { aspect-ratio: auto; min-height: 480px; }
  .hero-slide h1 { font-size: 40px; }
  .hero-slide { padding: 100px 0 60px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(26,16,60,0.92) 0%, rgba(26,16,60,0.6) 60%, rgba(26,16,60,0.2) 80%, transparent 100%); }
}
@media (max-width: 576px) {
  .hero-slider { min-height: 380px; }
  .hero-slide h1 { font-size: 28px; }
  .hero-slide p { font-size: 15px; }
  .hero-slide { padding: 80px 0 50px; }
  .hero-slide .container { max-width: 100%; }
  .slider-dots { bottom: 30px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(26,16,60,0.94) 0%, rgba(26,16,60,0.7) 70%, rgba(26,16,60,0.3) 100%); }
}

/* === FOOTER === */
.footer-divider { height: 6px; background: var(--color-accent); }
.footer {
  background: var(--color-surface-dark); color: var(--color-on-primary);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; color: var(--color-on-dark-muted); line-height: 1.7; margin-top: 12px; }
.footer-brand img { height: 40px; width: auto; }
.footer h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--color-on-dark-muted); font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--color-accent-light); }
.footer-contact p { font-size: 14px; color: var(--color-on-dark-muted); margin-bottom: 8px; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: var(--rounded-full);
  background: rgba(255,255,255,0.1); display: flex; align-items: center;
  justify-content: center; color: var(--color-on-primary);
  font-size: 18px; transition: background 0.2s; text-decoration: none;
}
.footer-social a:hover { background: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid var(--color-hairline-violet);
  padding-top: 20px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--color-on-dark-muted); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* === ABOUT === */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
}
.about-image img { border-radius: var(--rounded-xxl); width: 100%; }
.about-content h2 {
  font-family: var(--font-display); font-size: 36px; font-weight: 600;
  margin-bottom: 16px; line-height: 1.15;
}
.about-content p { font-size: 16px; line-height: 1.8; color: var(--color-ink-muted); margin-bottom: 16px; }
.about-desc { font-size: 16px; line-height: 1.8; color: var(--color-ink-muted); }

@media (max-width: 768px) { .about-layout { grid-template-columns: 1fr; gap: 32px; } }

/* === CONTACT === */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--color-hairline-cloud);
  border-radius: var(--rounded-sm); font-family: var(--font-body);
  font-size: 15px; transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--color-accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-icon { width: 48px; height: 48px; background: var(--color-accent-soft); border-radius: var(--rounded-lg); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info-text h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.contact-info-text p { font-size: 14px; color: var(--color-ink-muted); line-height: 1.6; }
.contact-map { margin-top: 40px; border-radius: var(--rounded-xl); overflow: hidden; }

@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } .contact-form .form-row { grid-template-columns: 1fr; } }

/* === LECTURER DETAIL === */
.lecturer-detail { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.lecturer-detail-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rounded-xl); }
.lecturer-detail-meta h1 { font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.lecturer-detail-meta .position { font-size: 16px; color: var(--color-ink-muted); margin: 8px 0 16px; }
.lecturer-detail-meta .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lecturer-detail-meta .info-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-ink-muted); }
.lecturer-detail-meta .info-item .value { font-size: 14px; font-weight: 500; }
.lecturer-detail-meta .social-links { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.lecturer-detail-meta .social-links a { padding: 6px 14px; border-radius: var(--rounded-full); font-size: 13px; background: var(--color-accent-soft); color: var(--color-accent); text-decoration: none; font-weight: 500; }
.lecturer-detail-sections { margin-top: 40px; }
.lecturer-detail-sections section { margin-bottom: 32px; }
.lecturer-detail-sections h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--color-accent); }
.lecturer-detail-sections p, .lecturer-detail-sections li { font-size: 15px; line-height: 1.7; color: var(--color-ink-muted); }

@media (max-width: 768px) { .lecturer-detail { grid-template-columns: 1fr; } .lecturer-detail-photo { max-width: 250px; } }

/* === STUDY PROGRAM DETAIL === */
.prodi-header { margin-bottom: 48px; }
.prodi-header h1 { font-family: var(--font-display); font-size: 36px; font-weight: 600; }
.prodi-header .accred-badge { display: inline-block; margin-top: 12px; background: var(--color-accent-lime); color: var(--color-ink); font-weight: 700; padding: 6px 20px; border-radius: var(--rounded-full); font-size: 14px; }
.prodi-content { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.prodi-content .block { margin-bottom: 32px; }
.prodi-content h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--color-accent); }
.prodi-content p, .prodi-content li { font-size: 15px; line-height: 1.7; color: var(--color-ink-muted); }
.prodi-content ul { padding-left: 20px; }
.prodi-content ul li { margin-bottom: 8px; }
.prodi-content img { max-width: 100%; height: auto; border-radius: var(--rounded-lg); margin: 16px 0; }
.prodi-content .block { font-size: 15px; line-height: 1.7; color: var(--color-ink-muted); }
.prodi-content .block p { margin-bottom: 12px; }
.prodi-content .block ul, .prodi-content .block ol { padding-left: 24px; margin-bottom: 12px; }
.prodi-content .block table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.prodi-content .block th, .prodi-content .block td { border: 1px solid var(--color-hairline); padding: 8px 12px; text-align: left; }

@media (max-width: 768px) { .prodi-content { grid-template-columns: 1fr; } }

/* === NEW DETAIL === */
.news-detail-header { margin-bottom: 32px; }
.news-detail-header .back-link { display: inline-block; margin-bottom: 16px; font-size: 14px; font-weight: 500; color: var(--color-accent); }
.news-detail-header h1 { font-family: var(--font-display); font-size: 36px; font-weight: 600; line-height: 1.15; margin-bottom: 12px; }
.news-detail-header .meta { font-size: 14px; color: var(--color-ink-muted); display: flex; gap: 16px; flex-wrap: wrap; }
.news-detail-thumb { width: 100%; border-radius: var(--rounded-xl); margin-bottom: 32px; max-height: 500px; object-fit: cover; }
.news-detail-body { font-size: 16px; line-height: 1.9; color: var(--color-ink); max-width: 720px; }
.news-detail-body p { margin-bottom: 16px; }
.news-detail-body img { border-radius: var(--rounded-lg); margin: 24px 0; max-width: 100%; height: auto; }
.news-detail-body h2, .news-detail-body h3, .news-detail-body h4 { margin-top: 32px; margin-bottom: 12px; font-family: var(--font-display); font-weight: 600; }
.news-detail-body h2 { font-size: 28px; }
.news-detail-body h3 { font-size: 22px; }
.news-detail-body h4 { font-size: 18px; }
.news-detail-body blockquote { border-left: 4px solid var(--color-accent); padding: 12px 20px; margin: 24px 0; background: var(--color-accent-soft); border-radius: var(--rounded-sm); font-style: italic; }
.news-detail-body ul, .news-detail-body ol { padding-left: 24px; margin-bottom: 16px; }
.news-detail-body li { margin-bottom: 8px; }
.news-detail-body a { color: var(--color-accent); text-decoration: underline; }
.news-detail-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.news-detail-body th, .news-detail-body td { border: 1px solid var(--color-hairline); padding: 8px 12px; text-align: left; }
.news-detail-body th { background: var(--color-surface-muted); font-weight: 600; }
.news-detail-body .note-table { overflow-x: auto; }

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  padding: 8px 16px; border-radius: var(--rounded-md); font-size: 14px;
  font-weight: 500; text-decoration: none; transition: all 0.2s;
}
.pagination a { background: var(--color-surface-light); color: var(--color-ink); border: 1px solid var(--color-hairline-cloud); }
.pagination a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination .active { background: var(--color-accent-hover); color: var(--color-on-primary); border-color: var(--color-accent-hover); }

/* === PAGE HEADER === */
.page-header {
  background: var(--color-surface-dark); padding: 120px 0 64px;
  text-align: center; position: relative;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(1px 1px at 30% 40%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.page-header h1 {
  font-family: var(--font-display); font-size: 48px; font-weight: 700;
  color: var(--color-on-primary); position: relative;
}
.page-header p {
  color: var(--color-on-dark-muted); margin-top: 8px; font-size: 16px;
  position: relative;
}

@media (max-width: 768px) { .page-header h1 { font-size: 32px; } }

/* === ALBUM CARD === */
.album-card {
  border-radius: var(--rounded-xl); overflow: hidden;
  background: var(--color-surface-light); cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.album-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.album-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.album-card-body { padding: 16px; }
.album-card-body h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.album-card-body span { font-size: 13px; color: var(--color-ink-muted); }

/* === ALBUM DETAIL (MASONRY) === */
.masonry { column-count: 3; column-gap: 12px; }
.masonry-item { break-inside: avoid; margin-bottom: 12px; border-radius: var(--rounded-lg); overflow: hidden; cursor: pointer; position: relative; }
.masonry-item img { width: 100%; display: block; }
.masonry-item .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); opacity: 0; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; color: white; font-size: 28px; }
.masonry-item:hover .overlay { opacity: 1; }

@media (max-width: 768px) { .masonry { column-count: 2; } }
@media (max-width: 576px) { .masonry { column-count: 1; } }

/* === LIGHTBOX === */
.lightbox { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--rounded-lg); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 36px; cursor: pointer; background: none; border: none; }

/* === SEARCH === */
.search-box { max-width: 600px; margin: 0 auto 40px; }
.search-box input {
  width: 100%; padding: 14px 20px; border: 2px solid var(--color-hairline-cloud);
  border-radius: var(--rounded-lg); font-family: var(--font-body);
  font-size: 16px; transition: border-color 0.2s;
}
.search-box input:focus { outline: none; border-color: var(--color-accent); }

/* === SHARE BAR === */
.share-section { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--color-hairline-cloud); }
.share-label { font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--color-ink-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.share-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: none; border-radius: 999px; cursor: pointer; text-decoration: none; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: #fff; transition: all 0.2s; }
.share-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.share-btn svg { flex-shrink: 0; }
.share-fb { background: #1877f2; }
.share-x { background: #000; }
.share-wa { background: #25d366; }
.share-tg { background: #0088cc; }
.share-copy { background: var(--color-accent); width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 50%; }
.share-copy.copied { background: var(--color-accent-lime); color: var(--color-ink); }

/* === NEWS DETAIL === */
.news-detail-body { font-size: 17px; line-height: 1.8; color: var(--color-ink); }
.news-detail-body p { margin-bottom: 1.2em; }

/* === UTILITY === */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* === VIDEO EMBED === */
.video-embed-wrap { max-width: 720px; margin-left: auto; margin-right: auto; }
.video-embed {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--rounded-xxl);
}
.video-embed iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: var(--rounded-xxl);
}
.video-embed-poster { cursor: pointer; background: #000; }
.video-embed-poster img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--rounded-xxl);
}
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--color-accent); display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.video-play-btn::after {
  content: ''; width: 0; height: 0; margin-left: 6px;
  border-top: 14px solid transparent; border-bottom: 14px solid transparent;
  border-left: 22px solid var(--color-on-primary);
}
.video-embed-poster:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); background: var(--color-accent-hover); }

/* === SCROLL FRAME ANIMATION === */
.scroll-film { position: relative; }
.scroll-film-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #000;
}
.scroll-film-sticky img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.15);
}
.scroll-film-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 5, 15, 0.82);
  z-index: 1;
}
.scroll-film-content {
  position: relative; z-index: 2;
  pointer-events: none;
}
.scroll-film-content * { pointer-events: auto; }
.scroll-film-section {
  background: rgba(15, 8, 22, 0.88) !important;
  position: relative;
}
.scroll-film-section .section-eyebrow { color: var(--color-accent-light); }
.scroll-film-section .section-title,
.scroll-film-section h2 { color: var(--color-on-primary); }
.scroll-film-section .section-subtitle,
.scroll-film-section > .container > p,
.scroll-film-section .about-content p,
.scroll-film-section .agenda-date-month,
.scroll-film-section .agenda-info p,
.scroll-film-section .agenda-location { color: var(--color-on-dark-muted); }
.scroll-film-section .btn-outline { color: var(--color-on-primary); border-color: var(--color-on-dark-muted); }
.scroll-film-section .section-eyebrow,
.scroll-film-section .section-title,
.scroll-film-section .section-subtitle,
.scroll-film-section h2,
.scroll-film-section > .container > p { text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.scroll-film-spacer { pointer-events: none; }


/* 4K / Wide */
@media (min-width: 1440px) {
  .container { max-width: 1280px; }
  .hero h1 { font-size: 80px; }
}

/* Desktop 1152-1440 */
@media (max-width: 1440px) and (min-width: 1152px) {
  .container { max-width: 1152px; }
}

/* Laptop 992-1151 */
@media (max-width: 1151px) and (min-width: 992px) {
  .hero h1 { font-size: 60px; }
}

/* Tablet 768-991 */
@media (max-width: 991px) and (min-width: 768px) {
  .hero h1 { font-size: 52px; }
  .hero p { font-size: 16px; line-height: 1.8; }
}

/* Mobile Large 640-767 */
@media (max-width: 767px) {
  .hero { min-height: auto; padding: 120px 0 56px; }
  .hero h1 { font-size: 40px; }
}

/* Mobile 576-639 */
@media (max-width: 639px) {
  .hero h1 { font-size: 34px; }
  .hero h1 .highlight { padding: 0 10px; }
  .section-title { font-size: 24px; }
  .page-header h1 { font-size: 28px; }
  .about-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .lecturer-detail { grid-template-columns: 1fr; }
  .prodi-content { grid-template-columns: 1fr; }
}

/* Small Mobile <576 */
@media (max-width: 575px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; }
  .hero-stat-value { font-size: 30px; }
  .nav-links a { padding: 10px 12px; font-size: 13px; }
  .card-grid, .card-grid-4 { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; }
  .news-item-img { width: 100%; height: 180px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid, .gallery-grid-4 { grid-template-columns: 1fr 1fr; }
  .masonry { column-count: 1; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section { --spacing-section: 40px; }
  .page-header { padding: 100px 0 40px; }
  .page-header h1 { font-size: 24px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

