/* ============================================================
   NAUFAL AL FARIZY — CELESTIAL EDITORIAL PORTFOLIO
   style.css — Modern, Interactive, Galaxy-Inspired (No Purple/No AISlop)
   ============================================================ */

/* ——————————————————————————————————————
   1. RESET & DESIGN TOKENS
—————————————————————————————————————— */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Galaxy Dark Theme (Strictly No Purple / No Neon) */
  --bg-cosmos: #0a0b0e;
  --bg-deep: #0f1117;
  --bg-surface: #141720;
  --bg-card: #181c26;
  --bg-card-hover: #1e2330;
  
  --border-dim: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.18);
  --border-gold: rgba(224, 206, 168, 0.25);
  
  --text-white: #f5f6f8;
  --text-primary: #e6e8ec;
  --text-secondary: #9095a0;
  --text-muted: #5e6472;
  
  --accent-cyan: #64b5f6;       /* Clean cold star cyan */
  --accent-starlight: #e2e8f0;  /* Crisp starlight silver */
  --accent-warm: #d4af37;       /* Refined pale celestial gold */
  
  --radius-xs: 2px;
  --radius-sm: 4px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-cosmos);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'DM Sans', 'Inter', sans-serif;
  background-color: var(--bg-cosmos);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle Canvas Starfield behind everything */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection {
  background-color: var(--text-white);
  color: var(--bg-cosmos);
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* ——————————————————————————————————————
   2. CUSTOM INTERACTIVE CURSOR
—————————————————————————————————————— */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: default;
  }
  
  .cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-white);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .15s ease, height .15s ease, opacity .15s ease;
  }
  
  .cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width .25s cubic-bezier(0.16, 1, 0.3, 1),
                height .25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color .25s ease,
                background-color .25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cursor-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--bg-cosmos);
    opacity: 0;
    transition: opacity 0.2s ease;
    text-transform: uppercase;
  }
  
  /* Cursor Hover States */
  .cursor-ring.cursor-hover {
    width: 48px;
    height: 48px;
    border-color: var(--accent-cyan);
    background-color: rgba(100, 181, 246, 0.08);
  }
  
  .cursor-ring.cursor-active {
    width: 68px;
    height: 68px;
    background-color: var(--text-white);
    border-color: var(--text-white);
  }
  
  .cursor-ring.cursor-active .cursor-label {
    opacity: 1;
  }

  .cursor-ring.cursor-active + .cursor-dot,
  body.has-cursor-active .cursor-dot {
    opacity: 0;
  }
}

@media (hover: none) or (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ——————————————————————————————————————
   3. LAYOUT & CONTAINERS
—————————————————————————————————————— */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }
@media (max-width: 480px) { .container { padding: 0 20px; } }

/* ——————————————————————————————————————
   4. NAVIGATION
—————————————————————————————————————— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}

.nav.nav--scrolled {
  background-color: rgba(10, 11, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border-dim);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) { .nav__inner { padding: 0 24px; height: 64px; } }

.nav__brand {
  font-family: 'Manrope', sans-serif;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity .2s;
}
.nav__brand:hover { opacity: .7; }

.brand-orbit {
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent-cyan);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.brand-orbit::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 3px;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color .25s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-white);
  transition: width .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__link:hover, .nav__link.active { color: var(--text-white); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__coords {
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-white);
  transition: transform .3s, opacity .3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg-cosmos);
  padding: 48px 24px;
  flex-direction: column;
  z-index: 999;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  border-top: 1px solid var(--border-dim);
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile-link {
  font-family: 'Manrope', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--text-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dim);
  display: block;
  transition: opacity .2s;
}
.nav__mobile-link:hover { opacity: .5; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__coords { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }
}

/* ——————————————————————————————————————
   5. HERO SECTION
—————————————————————————————————————— */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border-dim);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: center;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dim);
  border-radius: 20px;
}
.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}
.hero__tag {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero__heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(3.25rem, 7vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
  color: var(--text-white);
  margin-bottom: 20px;
}
.hero__heading em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-starlight);
}

/* Word Rotator */
.hero__rotator-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: 'Space Mono', monospace;
  font-size: 0.9375rem;
}
.rotator-prefix {
  color: var(--text-muted);
}
.rotator-text {
  color: var(--text-white);
  border-bottom: 1px dashed var(--accent-cyan);
  padding-bottom: 2px;
  font-weight: 700;
}
.rotator-cursor {
  color: var(--accent-cyan);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 24px;
}

.hero__location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Photo & Orbital Frame */
.hero__photo-side { display: flex; justify-content: flex-end; }
.hero__photo-frame {
  position: relative;
  width: 400px;
  height: 520px;
  flex-shrink: 0;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.photo-orbital-ring {
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  pointer-events: none;
}

.hero__photo-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xs);
  z-index: 1;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xs);
  z-index: 2;
  filter: contrast(1.02);
}

.hero__photo-badge {
  position: absolute;
  bottom: -16px;
  left: 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-highlight);
  color: var(--text-white);
  padding: 14px 20px;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.hero__photo-badge-name {
  font-family: 'Manrope', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__photo-badge-role {
  font-size: .6875rem;
  color: var(--text-secondary);
  letter-spacing: .03em;
  margin-top: 3px;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  font-size: .625rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollGlow 2s ease-in-out infinite;
}
@keyframes scrollGlow { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr 360px; gap: 48px; }
  .hero__photo-frame { width: 340px; height: 460px; }
}
@media (max-width: 860px) {
  .hero { padding: 90px 0 60px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__photo-side { justify-content: center; }
  .hero__photo-frame { width: 280px; height: 360px; }
  .hero__rotator-wrapper { justify-content: center; }
  .hero__desc { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__location { justify-content: center; }
  .hero__scroll { display: none; }
}

/* ——————————————————————————————————————
   6. BUTTONS & INTERACTIVE ELEMENTS
—————————————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-xs);
  transition: transform .2s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--text-white);
  color: var(--bg-cosmos);
}
.btn--primary:hover {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn--outline {
  border: 1px solid var(--border-highlight);
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.02);
}
.btn--outline:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.btn__arr { transition: transform .2s; }
.btn:hover .btn__arr { transform: translateX(4px); }

/* ——————————————————————————————————————
   7. SLIDER SECTION SYSTEM
—————————————————————————————————————— */
.s-section {
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  z-index: 1;
}

.s-section--starlit {
  background: linear-gradient(180deg, rgba(15, 17, 23, 0.6) 0%, rgba(10, 11, 14, 0.9) 100%);
}

.s-section--deepspace {
  background: rgba(8, 9, 12, 0.85);
}

.s-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 68px;
  padding-bottom: 40px;
}
@media (max-width: 768px) { .s-header { padding-top: 48px; padding-bottom: 28px; } }

.s-header__left { display: flex; flex-direction: column; gap: 8px; }

.s-label {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.s-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.625rem, 3.2vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text-white);
  line-height: 1.1;
}

.s-count {
  font-family: 'Space Mono', monospace;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
}

/* Slider Track */
.slider {
  overflow: hidden;
  cursor: grab;
  position: relative;
}
.slider.is-dragging { cursor: grabbing; }

.slider__track {
  display: flex;
  align-items: flex-start;
  transition: transform .65s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}
.slider__track.no-transition { transition: none !important; }

.slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 1px;
}
.slide__inner { padding: 0 0 64px; }
@media (max-width: 768px) { .slide__inner { padding-bottom: 48px; } }

/* Slider Nav Controls */
.s-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 56px;
  border-top: 1px solid var(--border-dim);
}
@media (max-width: 768px) { .s-nav { padding-bottom: 40px; } }

.s-dots { display: flex; align-items: center; gap: 8px; }
.s-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: width .35s cubic-bezier(.16, 1, .3, 1), background .25s;
  padding: 0;
}
.s-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--text-white);
}

.s-arrows { display: flex; align-items: center; gap: 8px; }
.s-arrow {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
  background: rgba(255, 255, 255, 0.02);
}
.s-arrow:hover {
  background: var(--text-white);
  border-color: var(--text-white);
  color: var(--bg-cosmos);
}
.s-arrow:disabled {
  opacity: .2;
  cursor: not-allowed;
  pointer-events: none;
}

/* ——————————————————————————————————————
   8. SLIDE CONTENTS: ABOUT
—————————————————————————————————————— */
/* Slide 1: Quote */
.slide-quote {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 0 64px;
  position: relative;
}
.slide-quote__divider {
  width: 36px;
  height: 1px;
  background: var(--accent-cyan);
  margin: 0 auto 24px;
}
.slide-quote__text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.4;
  color: var(--text-white);
  max-width: 800px;
  margin-bottom: 28px;
}
.slide-quote__attr {
  font-family: 'Space Mono', monospace;
  font-size: .8125rem;
  color: var(--text-muted);
  letter-spacing: .06em;
}

/* Slide 2: Story */
.slide-story {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.slide-story__photo-wrap {
  position: relative;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: var(--bg-card);
}
.slide-story__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.slide-story__content { padding-top: 6px; }
.slide-story__heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 24px;
}
.slide-story__heading em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-starlight);
}
.slide-story__p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.slide-story__p strong { color: var(--text-white); }

@media (max-width: 900px) {
  .slide-story { grid-template-columns: 1fr; gap: 36px; }
  .slide-story__photo-wrap { max-width: 240px; }
}

/* Slide 3: Biodata */
.slide-biodata__heading {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 32px;
}
.slide-biodata__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
}
.biodata-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dim);
}
.biodata-key {
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  color: var(--text-muted);
}
.biodata-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
}
.biodata-val a {
  color: var(--text-white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-highlight);
  transition: text-decoration-color .2s;
}
.biodata-val a:hover {
  text-decoration-color: var(--accent-cyan);
}

@media (max-width: 768px) {
  .slide-biodata__grid { grid-template-columns: 1fr; gap: 0; }
}

/* ——————————————————————————————————————
   9. SLIDE CONTENTS: PENDIDIKAN
—————————————————————————————————————— */
.slide-edu-hero {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide-edu-hero__label {
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}
.slide-edu-hero__name {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text-white);
  margin-bottom: 24px;
  line-height: 1.05;
}
.slide-edu-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.edu-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
}
.edu-badge--active {
  background: rgba(100, 181, 246, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(100, 181, 246, 0.3);
}
.edu-badge--dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}
.edu-type-badge {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border-dim);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
}
.edu-period {
  font-family: 'Space Mono', monospace;
  font-size: .875rem;
  color: var(--text-muted);
}

.slide-edu-desc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.slide-edu-desc__heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
}
.slide-edu-desc__p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.edu-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dim);
}
.edu-highlight:first-child { border-top: 1px solid var(--border-dim); }
.edu-highlight__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-cyan);
}
.edu-highlight__text {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.edu-highlight__text strong {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 2px;
}

@media (max-width: 860px) {
  .slide-edu-desc { grid-template-columns: 1fr; gap: 36px; }
}

/* ——————————————————————————————————————
   10. SLIDE CONTENTS: KEAHLIAN
—————————————————————————————————————— */
.slide-skill {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.slide-skill__ghost {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(70px, 16vw, 160px);
  font-weight: 800;
  letter-spacing: -.05em;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.slide-skill__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 40px;
  align-items: end;
}
.slide-skill__num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -.06em;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
}
.slide-skill__name {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1;
}
.slide-skill__name em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-starlight);
}
.slide-skill__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 24px;
}
.slide-skill__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-pill {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--border-dim);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  transition: border-color .2s, color .2s;
}
.skill-pill:hover {
  border-color: var(--border-highlight);
  color: var(--text-white);
}

@media (max-width: 768px) {
  .slide-skill__content { grid-template-columns: 50px 1fr; gap: 20px; }
  .slide-skill { min-height: 360px; }
}

/* ——————————————————————————————————————
   11. SLIDE CONTENTS: PENGALAMAN
—————————————————————————————————————— */
.slide-exp__inner {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 40px;
  align-items: start;
  min-height: 320px;
}
.slide-exp__num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -.06em;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
}
.slide-exp__content { padding-top: 10px; }
.slide-exp__title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text-white);
  margin-bottom: 16px;
}
.slide-exp__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.exp-tag {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border-dim);
  background: var(--bg-card);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
}
.slide-exp__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

@media (max-width: 768px) {
  .slide-exp__inner { grid-template-columns: 50px 1fr; gap: 20px; }
}

/* ——————————————————————————————————————
   12. SLIDE CONTENTS: PORTOFOLIO & CARDS
—————————————————————————————————————— */
.slide-portfolio__header { margin-bottom: 32px; }
.slide-portfolio__cat-label {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}
.slide-portfolio__cat-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text-white);
}

.slide-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) { .slide-portfolio__grid { grid-template-columns: 1fr; } }

/* Portfolio Card with 3D Depth & Starlight Outline */
.pcard {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xs);
  transform-style: preserve-3d;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.pcard:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.pcard__img-wrap {
  position: relative;
  padding-bottom: 110%;
  overflow: hidden;
}
.pcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}
.pcard:hover .pcard__img { transform: scale(1.05); }

.pcard__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #131722 0%, #0e1017 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}
.pcard__cosmic-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(100, 181, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.pcard__ph-icon {
  width: 38px;
  height: 38px;
  color: var(--text-muted);
  transition: transform .3s ease, color .3s ease;
}
.pcard:hover .pcard__ph-icon {
  transform: translateY(-3px);
  color: var(--accent-cyan);
}
.pcard__ph-txt {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 14, 0.95) 0%, rgba(10, 11, 14, 0.4) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.pcard__cat {
  font-family: 'Space Mono', monospace;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}
.pcard__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -.01em;
}
.pcard__year {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ——————————————————————————————————————
   13. SLIDE CONTENTS: KONTAK & SOCIAL
—————————————————————————————————————— */
.slide-contact-invite__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.slide-contact-invite__heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text-white);
  line-height: 1.05;
  margin-bottom: 20px;
}
.slide-contact-invite__heading em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-starlight);
}
.slide-contact-invite__sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 400px;
}

.slide-contact-invite__links {
  display: flex;
  flex-direction: column;
}
.clink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-dim);
  transition: opacity .2s, border-color .2s;
}
.clink:first-child { border-top: 1px solid var(--border-dim); }
.clink:hover { opacity: .7; border-color: var(--border-highlight); }
.clink__label {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.clink__val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
}
.clink__arr { color: var(--text-muted); transition: transform .2s; }
.clink:hover .clink__arr { transform: translate(3px, -3px); color: var(--accent-cyan); }

@media (max-width: 860px) {
  .slide-contact-invite__inner { grid-template-columns: 1fr; gap: 40px; }
}

.slide-contact-social__heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 32px;
}
.social-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 600px) { .social-cards { grid-template-columns: 1fr; } }

.scard {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xs);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.scard:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.scard__icon {
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-cyan);
}
.scard__info { flex: 1; }
.scard__platform {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.scard__handle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}
.scard__arr { color: var(--text-muted); transition: transform .2s; }
.scard:hover .scard__arr { transform: translate(3px, -3px); color: var(--text-white); }

/* ——————————————————————————————————————
   14. INTERACTIVE PROJECT MODAL (DEEP CELESTIAL)
—————————————————————————————————————— */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-deep);
  border: 1px solid var(--border-highlight);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(24px);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-xs);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal__img-side {
  position: relative;
  min-height: 440px;
  background: var(--bg-card);
  overflow: hidden;
  border-right: 1px solid var(--border-dim);
}
.modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  display: none;
}
.modal__img-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #181d28 0%, #0f1118 100%);
  color: var(--text-muted);
}
.modal__ph-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(100, 181, 246, 0.15) 0%, transparent 70%);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(15, 17, 23, 0.85);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.modal__close:hover {
  background: var(--text-white);
  color: var(--bg-cosmos);
}

.modal__content {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
}
.modal__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.modal__cat {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.modal__dot-sep { color: var(--text-muted); }
.modal__year {
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  color: var(--text-muted);
}
.modal__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text-white);
  margin-bottom: 16px;
}
.modal__desc {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
}
.modal__note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dim);
  font-size: .8125rem;
  color: var(--text-muted);
}

/* Modal Nav Controls */
.modal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dim);
}
.modal__nav-btn {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.modal__nav-btn:hover { color: var(--text-white); }
.modal__nav-indicator {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .modal { grid-template-columns: 1fr; }
  .modal__img-side { min-height: 240px; border-right: none; border-bottom: 1px solid var(--border-dim); }
  .modal__content { padding: 32px 24px; }
  .modal-overlay { padding: 16px; }
}

/* ——————————————————————————————————————
   15. FOOTER
—————————————————————————————————————— */
.footer {
  background: var(--bg-cosmos);
  padding: 68px 0 44px;
  border-top: 1px solid var(--border-dim);
  position: relative;
  z-index: 1;
}
.footer__inner { display: flex; flex-direction: column; gap: 48px; }
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer__brand {
  font-family: 'Manrope', sans-serif;
  font-size: .9375rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 6px;
}
.footer__loc {
  font-size: .8125rem;
  color: var(--text-muted);
}
.footer__quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 280px;
  text-align: right;
  line-height: 1.6;
}
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__link {
  font-size: .8125rem;
  color: var(--text-secondary);
  transition: color .2s;
}
.footer__link:hover { color: var(--text-white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dim);
}
.footer__copy {
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  color: var(--text-muted);
}
.footer__tag {
  font-family: 'Space Mono', monospace;
  font-size: .6875rem;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .footer__top { flex-direction: column; }
  .footer__quote { text-align: left; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ——————————————————————————————————————
   16. FADE-IN REVEAL ANIMATIONS
—————————————————————————————————————— */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .08s; }
.fade-up.d2 { transition-delay: .16s; }
.fade-up.d3 { transition-delay: .24s; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-cosmos); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }
