/* BOM FIXED */
.hamburger-menu, .mobile-nav-overlay { display: none; }
/* =========================================
   VARIABEL WARNA & FONT GLOBAL
   ========================================= */
:root {
  --bg-cream: #fffbef;
  --accent-red: #e40a3e;
  --text-dark: #2b2b2b;
  --font-serif: "Cinzel", serif;
  --font-sans: "Inter", sans-serif;
  --font-sans-alt: "Quicksand", sans-serif;
  --font-script: "Imperial Script", cursive;
  --font-mono: "Space Mono", monospace;
}

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

body {
  background-color: #050505;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  overflow-x: hidden; /* Membunuh scrollbar horizontal selamanya */
}

/* =========================================
   BRUTALIST GALLERY SECTION - Full viewport
   ========================================= */
#gallery-section {
  height: 100dvh !important;
  min-height: 100vh !important;
  max-height: 100dvh !important;
}

#gallery-section iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
}

/* =========================================
   ARSITEKTUR SCRAPBOOK
   ========================================= */
.scrapbook-wrapper {
  width: 100%;
  max-width: 1250px;
  position: relative;
}

/* TABS */
.tabs {
  display: flex;
  gap: 5px;
  padding-left: 0;
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
  align-items: flex-end;
}
.tab {
  background-color: var(--accent-red);
  color: #fffbef;
  padding: 0 50px;
  border-radius: 10px 10px 0 0;
  font-family: "Playball", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  cursor: pointer;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab.active {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  z-index: 3;
  height: 60px;
  border: 1px solid #fffbef;
  border-bottom: none;
}

/* KERTAS UTAMA */
.scrapbook-paper {
  background-color: var(--bg-cream);
  width: 100%;
  border-radius: 0 40px 40px 40px;
  position: relative;
  z-index: 2;
  box-shadow: 10px 25px 50px rgba(0, 0, 0, 0.5);
  padding: 50px 50px 70px 50px;
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 0;
  color: var(--text-dark);
  font-family: var(--font-sans);
}

/* ----- TYPOGRAPHY & ORNAMEN ----- */
.halo-container {
  text-align: center;
  margin-bottom: 25px;
}
.halo-box {
  border: 1.5px solid var(--accent-red);
  padding: 5px 50px;
  display: inline-block;
  position: relative;
}
.title-script {
  font-family: var(--font-script);
  font-size: 5.5rem;
  color: var(--accent-red);
  line-height: 1;
  margin: 0;
  font-weight: 400;
  padding: 10px 0;
}
.corner-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--accent-red);
  border-radius: 50%;
  background-color: var(--bg-cream);
}
.corner-dot.top-left {
  top: -4px;
  left: -4px;
}
.corner-dot.top-right {
  top: -4px;
  right: -4px;
}
.corner-dot.bottom-left {
  bottom: -4px;
  left: -4px;
}
.corner-dot.bottom-right {
  bottom: -4px;
  right: -4px;
}

.body-text {
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--accent-red);
  text-align: justify;
  margin-bottom: 20px;
}
.body-text strong {
  font-weight: 700;
}

.pill-title-container {
  border: 1.5px solid var(--accent-red);
  border-radius: 50px;
  padding: 0px 40px 0px 25px;
  display: inline-block;
  margin-top: 25px;
  margin-bottom: 20px;
  height: fit-content;
}
.pill-title {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--accent-red);
  margin: 0;
  line-height: 0.6;
  font-weight: 400;
}
.drop-cap {
  font-size: 2.2em;
  line-height: 0;
  position: relative;
  top: -2px;
  left: 2px;
  margin-right: -4px;
}

/* KOLOM KIRI (Layout Atas) */
.left-column-top {
  padding-right: 30px;
}
.project-item {
  margin-bottom: 18px;
}
.project-title {
  font-weight: 700;
  color: var(--accent-red);
  font-size: 0.95rem;
  letter-spacing: -0.2px;
}
.project-desc {
  font-size: 0.85rem;
  margin-top: 3px;
  color: var(--accent-red);
  line-height: 1.4;
  font-weight: 500;
}

/* --- BAGIAN BERGARIS --- */
.split-section-left {
  border-right: 4px solid var(--accent-red);
  padding-right: 30px;
}

.skill-bar-container {
  margin-bottom: 15px;
}
.skill-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--accent-red);
}
.skill-bar-bg {
  width: 100%;
  height: 7px;
  background-color: #fffbef;
  border-radius: 10px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background-color: var(--accent-red);
  border-radius: 10px;
}

.hard-skill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8rem;
  list-style-type: none;
  padding-left: 0;
  margin-top: 10px;
  color: var(--accent-red);
  font-weight: 600;
}
.hard-skill-list li {
  position: relative;
  padding-left: 15px;
  line-height: 1.3;
}
.hard-skill-list li::before {
  content: "•";
  color: var(--accent-red);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}

/* --- KOLOM KANAN --- */
.right-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 40px;
  height: 100%;
}

.lanyard-overlay {
  position: absolute;
  z-index: 999;
  pointer-events: none;

  /* 1. KUNCI RUANG AYUN RAKSASA */
  width: 2000px;
  height: 1000px;

  /* 2. KONTROL POSISI */
  top: -50px;
  right: -650px;
}

.lanyard-overlay iframe {
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

/* WRAPPER HOBI */
.hobi-section-wrapper {
  width: 100%;
  margin-top: auto;
  margin-bottom: 25px;
}

/* HOBI GRID */
.hobi-grid {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 10px 60px;
  width: 100%;
  margin-top: 5px;
}
.hobi-grid ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hobi-grid li {
  font-size: 0.8rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

/* SOFTWARE GRID & BOX */
.software-box {
  border: 3px solid var(--accent-red);
  padding: 15px;
  border-radius: 10px;
  width: 75%;
}

/* --- KOREKSI JUDUL SOFTWARE --- */
.software-title {
  font-family: var(--font-sans-alt);
  font-size: 4.5rem;
  color: var(--accent-red);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  line-height: 1;
}
.script-w {
  font-family: var(--font-script);
  font-size: 1.3em;
  font-weight: 400;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.software-icon {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.software-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* RECEIPT IMAGE */
.receipt-image {
  position: absolute;
  right: -100px;
  bottom: 50px;
  width: 420px;
  height: auto;
  transform: rotate(-8deg);
  z-index: 10;
}

/* Mengembalikan tata letak Scrapbook yang mentok kanan */
#scrapbook-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 2600px;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 50px 5vw 50px 10vw;
}

/* =========================================
   ARSITEKTUR TYPOGRAPHY & OVERLAY LAYOUT
   ========================================= */
.overlay-text-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-left: calc(2vw + 150px + 40px);
  padding-right: 5vw;
}

.body-text-hero {
  font-family: "Inter", sans-serif;
  font-size: 1.8rem;
  color: #e0e0e0;
  max-width: 700px;
  font-weight: 500;
  text-shadow: 0px 5px 20px rgba(0, 0, 0, 0.9);
  line-height: 1.6;
}

.drop-cap-hero {
  font-family: "Mea Culpa", cursive;
  font-size: 3.8rem;
  font-weight: 400;
  position: relative;
  top: -5px;
  line-height: 0;
  padding-right: 2px;
  color: #ffffff;
}

.highlight-red {
  color: #e40a3e;
  font-weight: 700;
}

.duality-title {
  font-family: "Cinzel", serif;
  font-size: 8vw;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0px 10px 40px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}

.vangogh-text-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-left: calc(2vw + 150px + 40px);
  padding-right: 15vw;
  padding-bottom: 5vh;
}

.vangogh-title {
  font-family: "Inter", sans-serif;
  font-size: 12vw;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  color: #ffffff;
  text-transform: capitalize;
  margin: 0 0 15px 0;
  text-shadow: 0px 10px 40px rgba(0, 0, 0, 0.8);
}

/* =========================================
   PERLINDUNGAN TYPOGRAPHY SCRAPBOOK (RESTORED)
   ========================================= */
.title-script,
.pill-title {
  text-transform: none !important;
  font-family: var(--font-script) !important;
  color: var(--accent-red) !important;
  letter-spacing: normal !important;
}

.title-script {
  font-size: 5.5rem;
  line-height: 1;
  margin: 0;
  font-weight: 400;
  padding: 10px 0;
}

.pill-title {
  font-size: 3rem;
  margin: 0;
  line-height: 0.6 !important;
  font-weight: 400;
}

.drop-cap {
  font-size: 2.2em;
  line-height: 0;
  position: relative;
  top: -2px;
  left: 2px;
  margin-right: -4px;
  font-family: var(--font-script) !important;
}

/* =========================================
   ARSITEKTUR HERO VIDEO BACKGROUND
   ========================================= */
.hero-section-clean {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #050505;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.8);
}
/* OPTIMASI RENDER GPU UNTUK GSAP */
#hero-text,
#hero-text-1,
#hero-text-2,
#hero-text-3,
#duality-text-layer,
#scrapbook-panel,
#vangogh-content-wrapper {
  will-change: transform, top, opacity;
  transform: translateZ(0);
}

/* STICKY SIDEBAR */
.sidebar {
  position: fixed;
  left: 2vw;
  bottom: 5vh;
  z-index: 9999 !important;
  mix-blend-mode: difference;
}
.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  width: 150px;
  transition: all 0.3s ease;
  text-transform: capitalize;
}
.sidebar a:hover,
.sidebar li.active a {
  color: #ffffff;
}

/* =========================================
   CANVAS CONTAINER (DIKOREKSI UNTUK GSAP)
   ========================================= */
.scroll-section {
  position: relative;
  height: 100vh;
}

.video-container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

/* CANVAS STYLING & WATERMARK REMOVAL */
canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(0.8);
  transform: scale(1.03);
}

/* TEKS OVERLAY */
.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  padding: 10vh 15vw;
}
.text-block {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-block:nth-child(2) {
  justify-content: flex-end;
  padding-bottom: 20vh;
}
h1,
h2 {
  font-family: "Cinzel", serif;
  font-size: 5rem;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -2px;
}
p {
  font-size: 1.5rem;
  max-width: 600px;
  margin-top: 20px;
  font-weight: 300;
  line-height: 1.6;
}

/* =========================================
         PANEL KONTROL TYPOGRAPHY PORTFOLIO
         ========================================= */
.hero-typo-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 350px;
  margin: 0 auto;
  user-select: none;
}

.typo-p {
  position: absolute;
  font-family: "Mea Culpa", cursive;
  font-size: clamp(10rem, 20vw, 20rem);
  color: #e40a3e;
  left: -9%;
  top: -20%;
  z-index: 10;
  line-height: 1;
  text-shadow: 0 0 30px rgba(228, 10, 62, 0.2);
}

.typo-ort {
  position: absolute;
  font-family: "Playfair Display", serif;
  font-size: clamp(6rem, 15vw, 11rem);
  color: #e40a3e;
  left: 25%;
  top: 12%;
  font-style: italic;
  z-index: 5;
  line-height: 1;
  letter-spacing: -10px;
}

.typo-subtitle {
  position: absolute;
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #fffbef;
  left: 5%;
  bottom: 28%;
  z-index: 15;
  font-style: italic;
  letter-spacing: 2px;
}

.typo-year {
  position: absolute;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #b30831;
  right: 23%;
  top: 48%;
  z-index: 5;
  font-weight: 300;
  letter-spacing: 2px;
}

.typo-folio {
  position: absolute;
  font-family: "Playfair Display", serif;
  font-size: clamp(6rem, 15vw, 11rem);
  color: #e40a3e;
  right: -6%;
  bottom: -2%;
  font-style: italic;
  z-index: 6;
  line-height: 1;
  letter-spacing: -10px;
  display: flex;
  align-items: flex-end;
}

.typo-o-last {
  font-family: "Mea Culpa", cursive;
  font-size: 1.2em;
  line-height: 0.65;
  margin-left: 0px;
  position: relative;
}

.typo-sparkle {
  position: absolute;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  color: #ffffff;
  font-family: sans-serif;
  top: 20%;
  right: -15%;
}

/* === STYLING 3 PILAR KOMPETENSI === */
.hero-statements {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1000px;
  z-index: 3;
  text-align: center;
  pointer-events: none;
}

.statement-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.4;
  opacity: 0;
}

.statement-ghost {
  color: rgba(255, 255, 255, 0.15);
}
.statement-ghost .highlight {
  color: rgba(228, 10, 62, 0.2);
  font-weight: 600;
}

.statement-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #ffffff;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.statement-fill .highlight {
  color: #e40a3e;
  font-weight: 600;
}

/* =========================================
   ARSITEKTUR BAB 05: AI TERMINAL
   ========================================= */
#ai-terminal-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url("../../assets/images/renaissance.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 20;
}

#ai-terminal-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.88);
  z-index: 1;
}

.terminal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 60% 40%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.evaluator-zone {
  padding: 15vh 5vw 15vh 8vw;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.zone-label {
  font-family: "Space Mono", monospace;
  color: #e40a3e;
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.terminal-window {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jd-input {
  width: 100%;
  height: 150px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: "Space Mono", monospace;
  font-size: 0.95rem;
  padding: 15px;
  resize: none;
  outline: none;
  transition: border-color 0.3s ease;
  line-height: 1.5;
}

.jd-input:focus {
  border-color: #e40a3e;
}

.brutalist-btn {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  color: #e40a3e;
  border: 1px solid #e40a3e;
  padding: 15px 25px;
  font-family: "Space Mono", monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.brutalist-btn:hover {
  background: #e40a3e;
  color: #050505;
}

.output-console {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  overflow-y: auto;
}

.output-console .blink {
  animation: blinker 1s linear infinite;
  color: #e40a3e;
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.access-zone {
  padding: 15vh 8vw 15vh 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.giant-heading {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: -1px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
  word-wrap: break-word;
  hyphens: auto;
}

/* =========================================
   ARSITEKTUR RENAISSANCE PRELOADER
   ========================================= */
#brutalist-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fffbef;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.loader {
  width: 12em;
  height: 12em;
}

.loader path {
  stroke: #e40a3e;
  stroke-width: 0.6px;
  animation:
    dashArray 4s ease-in-out infinite,
    dashOffset 4s linear infinite;
}

@keyframes dashArray {
  0% {
    stroke-dasharray: 0 1 359 0;
  }
  50% {
    stroke-dasharray: 0 359 1 0;
  }
  100% {
    stroke-dasharray: 359 1 0 0;
  }
}

@keyframes dashOffset {
  0% {
    stroke-dashoffset: 365;
  }
  100% {
    stroke-dashoffset: 5;
  }
}

.loading-counter {
  font-family: "Space Mono", monospace;
  color: #050505;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  display: flex;
  align-items: flex-end;
}

.percent {
  font-size: 0.8rem;
  margin-bottom: 4px;
  margin-left: 5px;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   ARSITEKTUR BAB 06: KONTAK GRID
   ========================================= */
#contact-grid-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../../assets/images/kontak.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 20;
}

#contact-grid-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.85);
  z-index: 1;
}

.giant-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Cinzel", serif;
  font-size: 22vw;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 2;
  line-height: 1;
  letter-spacing: -5px;
}

.grid-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 55vh 45vh;
  height: 100vh;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cell {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    background-color 0.4s ease,
    backdrop-filter 0.4s ease;
  text-decoration: none;
  color: #ffffff;
}

.cell:nth-child(4),
.cell:nth-child(6) {
  border-right: none;
}

.cell.interactive:hover {
  background-color: rgba(228, 10, 62, 0.8);
  backdrop-filter: blur(5px);
  cursor: none;
}

.cell-index {
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  margin-bottom: auto;
  color: #e40a3e;
  font-weight: 700;
  letter-spacing: 2px;
  transition: color 0.4s ease;
}

.cell.interactive:hover .cell-index {
  color: #050505;
}

.cell-title {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1;
  margin-bottom: 15px;
}

.cell-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  opacity: 0.7;
  line-height: 1.5;
}

.cell.statement-room {
  grid-column: span 2;
  justify-content: center;
}

.statement-text {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  line-height: 1.4;
  max-width: 85%;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.statement-text .highlight {
  color: #e40a3e;
  font-weight: 600;
}

.cell.accent-cell {
  background-color: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(10px);
}
.cell.accent-cell:hover {
  background-color: #ffffff;
  color: #050505;
}
.cell.accent-cell:hover .cell-desc {
  color: #050505;
  font-weight: 500;
}

/* =========================================
   ARSITEKTUR TEXT REVEAL SCRUBBING
   ========================================= */
.reveal-section {
  width: 100%;
  min-height: 100vh;
  background-color: #050505 !important;
  position: relative;
  z-index: 2 !important;
  display: flex;
  align-items: center;
  padding: 15vh 5vw 15vh 15vw;
  box-sizing: border-box;
}

.reveal-container {
  width: 100%;
  max-width: 1300px;
  text-align: left;
}

.reveal-paragraph {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.15);
  margin: 0;
  max-width: 1400px;
}

.reveal-word {
  display: inline-block;
  margin-right: 0.3em;
  will-change: color;
}

/* =========================================
   ARSITEKTUR MUTLAK KLONINGAN BANTU-IN
   ========================================= */
.project-bantuin-style {
  position: absolute;
  top: 100vh;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
  will-change: transform;
}

/* =========================================
   ARSITEKTUR CERTIFICATE VAULT
   ========================================= */
#certificate-vault {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 10;
  background-image: url("../../assets/images/background-merah.webp");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.cert-track {
  display: flex;
  width: fit-content;
  height: 100%;
  will-change: transform;
}

.cert-panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8vw;
  padding: 10vh 8vw;
  position: relative;
}

.cert-text-panel {
  width: 20%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-4vw);
}

.cert-label {
  font-family: "Space Mono", monospace;
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.cert-title {
  font-family: "Cinzel", serif;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

.cert-desc {
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 320px;
  font-weight: 500;
}

.cert-frame-wrapper {
  width: 70%;
  max-width: 1400px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-6vw) translateY(2vh);
}

.frame-asset {
  width: 100%;
  max-height: auto;
  object-fit: contain;
  filter: drop-shadow(-20px 30px 40px rgba(0, 0, 0, 0.8));
}

.cert-meta-panel {
  width: 22%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  transform: translateX(-4vw);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-family: "Space Mono", monospace;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.meta-value {
  font-family: "Inter", sans-serif;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
}

.verify-btn {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
}

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.verify-btn:hover {
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
}

.verify-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* ARSITEKTUR GALERI PROYEK */
.project-gallery-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: calc(2vw + 150px + 40px);
  padding-right: 2vw;
  padding-bottom: 20vh;
  gap: 40px;
}

.project-gallery-img {
  width: 100%;
  border-radius: 0px 0 0 0px;
  box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.7);
}

.skip-navigation-wrapper {
  position: absolute;
  bottom: 8vh;
  right: 5vw;
  z-index: 50;
}

/* ARSITEKTUR TOMBOL SKIP KONTEKSTUAL */
.skip-btn-container {
  position: absolute;
  bottom: 4vh;
  right: 3vw;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.skip-btn-container.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.skip-btn {
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(8px);
  padding: 20px 25px;
  font-size: 0.75rem;
  border-radius: 4px;
}

/* =========================================
   THE VAULT - KERTAS PESAN BERJALAN
========================================= */
.marquee-row {
  display: flex;
  width: 100%;
  align-items: center;
}

.marquee-content {
  display: flex;
  gap: 3rem;
  padding: 0 1.5rem;
  width: max-content;
}

.is-scrolling {
  animation: scrollParchment 30s linear infinite;
}

.marquee-row:hover .is-scrolling {
  animation-play-state: paused;
}

@keyframes scrollParchment {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.rotate-1 {
  transform: rotate(-2deg);
}
.rotate-2 {
  transform: rotate(3deg);
}
.rotate-3 {
  transform: rotate(-4deg);
}
.rotate-4 {
  transform: rotate(1deg);
}

/* =========================================
   ARSITEKTUR INFINITE MARQUEE BANNER
   ========================================= */
.marquee-wrapper {
  width: 100%;
  background: linear-gradient(90deg, #e40a3e 0%, #480312 50%, #0f0003 100%);
  padding: 2.5vh 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 15s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 4vw;
  padding-right: 4vw;
  flex-shrink: 0;
}

.marquee-content span {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 1px;
}

.marquee-star {
  width: clamp(20px, 1.5vw, 28px);
  height: clamp(20px, 1.5vw, 28px);
  color: #ffffff;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =========================================
   ARSITEKTUR GLOBAL BRANDING LOGO
   ========================================= */
.brand-logo {
  position: fixed;
  top: 5vh;
  left: 2vw;
  z-index: 9999 !important;
  display: block;
  width: clamp(80px, 6vw, 120px);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.brand-logo img,
.brand-logo svg {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-logo:hover {
  transform: scale(1.08);
}

/* =========================================
   ARSITEKTUR SCROLL INDICATOR
   ========================================= */
.scroll-indicator {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse-icon {
  width: 22px;
  height: 34px;
}

.scroll-text {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
}

.scroll-wheel {
  animation: scrollWheel 1.5s cubic-bezier(0.68, -0.55, 0.26, 1.55) infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* =========================================
   ARSITEKTUR CIRCULAR TEXT CURSOR
   ========================================= */
@media (min-width: 769px) {
  body {
    cursor: none !important;
  }
}

#circular-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}
.cursor-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: #e40a3e;
  border-radius: 50%;
  z-index: 2;
}

.cursor-spin {
  width: 100%;
  height: 100%;
  animation: textSpin 10s linear infinite;
}

.cursor-spin svg {
  width: 100%;
  height: 100%;
  fill: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 2px;
}

@keyframes textSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  #vault-section { height: auto !important; min-height: 100vh !important; display: flex !important; flex-direction: column !important; overflow: auto !important; }
  .master-zone { position: relative !important; width: 100% !important; min-width: 100% !important; height: auto !important; min-height: 100vh !important; padding: 10vh 5vw !important; border-right: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; justify-content: center !important; }
  #vault-marquee-container { position: relative !important; width: 100% !important; height: 100vh !important; z-index: 2 !important; padding: 5vh 0 !important; }

  #circular-cursor {
    display: none !important;
  }
}

/* =========================================
   KOREKSI MUSEUM DOORS (SWISS STYLE)
   ========================================= */
.museum-door {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100vh;
  background-color: #050505;
  z-index: 20;
  will-change: transform;
  overflow: hidden;
}

/* --- ARSITEKTUR PINTU KIRI --- */
.left-door {
  left: 0;
  border-right: 1px solid rgba(228, 10, 62, 0.3);
  position: relative;
}

.sector-label {
  position: absolute;
  bottom: 18vh;
  left: 4vw;
  font-family: "Space Mono", monospace, sans-serif;
  color: #e40a3e;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
  z-index: 30;
}

.giant-index {
  position: absolute;
  bottom: -4vh;
  right: 2vw;
  font-family: "Cinzel", serif;
  font-size: 60vh;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

/* --- ARSITEKTUR PINTU KANAN --- */
.right-door {
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 6vw;
  padding-right: 4vw;
}

.right-content-wrapper {
  max-width: 450px;
}

.door-title {
  font-family: "Cinzel", serif;
  font-size: clamp(2.5rem, 6vw, 6rem);
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1;
  letter-spacing: 2px;
}

.door-subtext {
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  font-weight: 300;
  max-width: 400px;
  margin: 0;
}

/* =========================================
   ARSITEKTUR TIKET MINIMALIS (SWISS DESIGN)
   ========================================= */
.journey-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding: 20px 0 50px 0;
  width: 100%;
}

.clean-ticket {
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.clean-ticket:hover {
  transform: scale(1.02);
}

/* TEMA 1: CRIMSON RED */
.theme-crimson {
  background-color: var(--accent-red);
  color: var(--bg-cream);
}
.theme-crimson .tc-subtitle {
  color: #ffb8c6;
}
.theme-crimson .ticket-stub {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--bg-cream);
  border-left: 2px dashed rgba(255, 255, 255, 0.4);
}

/* TEMA 2: CHARCOAL INK */
.theme-charcoal {
  background-color: var(--text-dark);
  color: var(--bg-cream);
}
.theme-charcoal .tc-subtitle {
  color: #8a8a8a;
}
.theme-charcoal .ticket-stub {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--bg-cream);
  border-left: 2px dashed rgba(255, 255, 255, 0.2);
}

/* TEMA 3: PRUSSIAN BLUE */
.theme-archive-blue {
  background-color: #1a2c3f;
  color: var(--bg-cream);
}
.theme-archive-blue .tc-subtitle {
  color: #8da3b8;
}
.theme-archive-blue .ticket-stub {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--bg-cream);
  border-left: 2px dashed rgba(255, 255, 255, 0.2);
}

/* BAGIAN KIRI: FOTO LANSKAP */
.ticket-image-wrapper {
  width: 40%;
  padding: 20px;
  display: flex;
  align-items: center;
}

.ticket-landscape-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.1);
}

/* BAGIAN TENGAH: TIPOGRAFI & GRID */
.ticket-content {
  width: 45%;
  padding: 25px 20px 25px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tc-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tc-subtitle {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.tc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 10px;
  font-family: var(--font-sans);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  opacity: 0.9;
}

.tc-grid strong {
  display: block;
  font-size: 0.65rem;
  margin-bottom: 2px;
  opacity: 1;
}

.tc-footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* BAGIAN KANAN: BARCODE & TEKS VERTIKAL */
.ticket-stub {
  width: 15%;
  padding: 20px 15px;
  display: flex;
  gap: 12px;
}

.stub-barcode {
  flex: 1;
  background-image: repeating-linear-gradient(
    to bottom,
    currentColor 0,
    currentColor 2px,
    transparent 2px,
    transparent 5px,
    currentColor 5px,
    currentColor 6px,
    transparent 6px,
    transparent 8px,
    currentColor 8px,
    currentColor 12px,
    transparent 12px,
    transparent 14px
  );
  opacity: 0.9;
}

.stub-disclaimer {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-sans);
  font-size: 0.45rem;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: justify;
  opacity: 0.7;
}

/* =========================================
   ARSITEKTUR TAB 3: THE CODEX
   ========================================= */
.codex-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.telemetry-panel {
  border: 2px solid var(--text-dark);
  background-color: transparent;
  padding: 20px;
  position: relative;
}
.telemetry-panel::before {
  content: "LIVE TELEMETRY";
  position: absolute;
  top: -10px;
  left: 15px;
  background-color: var(--bg-cream);
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 2px;
}

.matrix-img {
  width: 100%;
  filter: sepia(30%) contrast(1.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}
.stat-box {
  border: 2px dashed rgba(0, 0, 0, 0.3);
  padding: 10px;
  display: flex;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
}

.repo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

/* =========================================
   ARSITEKTUR MURAL UNTUK KARTU GITHUB (TAB 3)
   ========================================= */
.repo-card {
  border: 2px solid var(--text-dark);
  border-top: 6px solid var(--text-dark);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 5px 8px 0px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  image-rendering: auto;
  backface-visibility: hidden;
}

.repo-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 11px 0px rgba(0, 0, 0, 0.15);
}

.repo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.repo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-cream);
  text-transform: uppercase;
  word-break: break-all;
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.9),
    0px 0px 10px rgba(0, 0, 0, 0.5);
}

.repo-desc {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--bg-cream);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.repo-visibility {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--bg-cream);
  background-color: var(--accent-red);
  padding: 3px 6px;
  border-radius: 3px;
  letter-spacing: 1px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.repo-meta {
  display: flex;
  gap: 15px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bg-cream);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.repo-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background-color: var(--accent-red);
  color: var(--bg-cream);
  text-decoration: none;
  text-align: center;
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--accent-red);
  transition: all 0.2s ease;
  box-shadow: 0px 5px 15px rgba(228, 10, 62, 0.4);
}
.repo-link:hover {
  background-color: var(--bg-cream);
  color: var(--accent-red);
  border-color: var(--bg-cream);
}

/* =========================================
   INJEKSI 4 LUKISAN BERBEDA PADA TIAP KARTU
   ========================================= */

/* KARTU 1 (Gen AI) */
.repo-card:nth-child(1) {
  background-image: url("../../assets/images/landscape5.webp");
}
.repo-card:nth-child(1) .repo-name,
.repo-card:nth-child(1) .repo-desc,
.repo-card:nth-child(1) .repo-meta {
  color: var(--bg-cream);
}
.repo-card:nth-child(1) .repo-visibility {
  color: #ffb8c6;
}
.repo-card:nth-child(1) .repo-link {
  border-color: var(--bg-cream);
  color: var(--bg-cream);
}
.repo-card:nth-child(1) .repo-link:hover {
  background: var(--bg-cream);
  color: var(--accent-red);
}

/* KARTU 2 (Portfolio) */
.repo-card:nth-child(2) {
  background-image: url("../../assets/images/landscape4.jpg");
}
.repo-card:nth-child(2) .repo-name,
.repo-card:nth-child(2) .repo-desc,
.repo-card:nth-child(2) .repo-meta {
  color: var(--bg-cream);
}
.repo-card:nth-child(2) .repo-visibility {
  color: #8a8a8a;
}
.repo-card:nth-child(2) .repo-link {
  border-color: var(--bg-cream);
  color: var(--bg-cream);
}
.repo-card:nth-child(2) .repo-link:hover {
  background: var(--bg-cream);
  color: var(--text-dark);
}

/* KARTU 3 (Y-CGC) */
.repo-card:nth-child(3) {
  background-image: url("../../assets/images/landscape3.webp");
}
.repo-card:nth-child(3) .repo-name,
.repo-card:nth-child(3) .repo-desc,
.repo-card:nth-child(3) .repo-meta {
  color: var(--bg-cream);
}
.repo-card:nth-child(3) .repo-visibility {
  color: #abc2d3;
}
.repo-card:nth-child(3) .repo-link {
  border-color: var(--bg-cream);
  color: var(--bg-cream);
}
.repo-card:nth-child(3) .repo-link:hover {
  background: var(--bg-cream);
  color: #1a2c3f;
}

/* KARTU 4 (Bantu-In) */
.repo-card:nth-child(4) {
  background-image: url("../../assets/images/landscape1.webp");
}
.repo-card:nth-child(4) .repo-name,
.repo-card:nth-child(4) .repo-desc,
.repo-card:nth-child(4) .repo-meta {
  color: var(--bg-cream);
}
.repo-card:nth-child(4) .repo-visibility {
  color: #9ab08c;
}
.repo-card:nth-child(4) .repo-link {
  border-color: var(--bg-cream);
  color: var(--bg-cream);
}
.repo-card:nth-child(4) .repo-link:hover {
  background: var(--bg-cream);
  color: #3b4636;
}

/* =========================================
   OPTIMASI RESPONSIVE MOBILE (a11y & UX)
   ========================================= */
@media (max-width: 768px) {
  #vault-section { height: auto !important; min-height: 100vh !important; display: flex !important; flex-direction: column !important; overflow: auto !important; }
  .master-zone { position: relative !important; width: 100% !important; min-width: 100% !important; height: auto !important; min-height: 100vh !important; padding: 10vh 5vw !important; border-right: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; justify-content: center !important; }
  #vault-marquee-container { position: relative !important; width: 100% !important; height: 100vh !important; z-index: 2 !important; padding: 5vh 0 !important; }

  /* 1. Hamburger Menu Mobile */
  .sidebar { display: none !important; }

  .hamburger-menu { display: flex !important; position: fixed; top: 5vh; right: 5vw; z-index: 10000; flex-direction: column; justify-content: space-between; align-items: center; width: 30px; height: 28px; cursor: pointer; mix-blend-mode: difference; }
  .hamburger-menu span.line { display: block; width: 100%; height: 2px; background: #fff; transition: 0.3s; border-radius: 2px; }
  .hamburger-menu span.dot { display: block; width: 6px; height: 6px; background: #fff; border-radius: 50%; margin-bottom: 2px; transition: 0.3s; }
  .hamburger-menu.active span.dot { opacity: 0; transform: scale(0); }
  .hamburger-menu.active span:nth-child(2) { transform: translateY(8px) rotate(45deg); }
  .hamburger-menu.active span:nth-child(3) { opacity: 0; }
  .hamburger-menu.active span:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }

  .mobile-nav-overlay { display: flex !important; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.95); z-index: 9998; flex-direction: column; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: 0.4s ease; }
  .mobile-nav-overlay.active { opacity: 1; pointer-events: auto; }
  .mobile-nav-overlay ul { list-style: none; text-align: center; padding: 0; }
  .mobile-nav-overlay li { margin: 20px 0; }
  .mobile-nav-overlay a { color: #fff; font-size: 24px; font-family: 'Space Mono', monospace; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; }

  /* 2. Normalkan Padding Konten Utama */
  #hero-text-1,
  #hero-text-2,
  #hero-text-3,
  #duality-text-layer,
  .text-section {
    padding-left: 7vw !important;
    padding-right: 7vw !important;
  }

  .image-section {
    padding-left: 7vw !important;
    padding-right: 7vw !important;
    align-items: center !important;
  }

  /* 3. Perkecil Teks Raksasa di Mobile */
  .hero-statements .statement-wrapper {
    font-size: 1.5rem;
  }

  .skip-btn-container {
    display: none;
  }
}

/* =========================================
   MEDIA QUERIES TAMBAHAN (DIKOREKSI)
   ========================================= */
@media (max-width: 900px) {
  .scrapbook-paper {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    border-radius: 0 30px 30px 30px;
    gap: 30px;
    padding-bottom: 30px;
  }
  .left-column-top,
  .right-column,
  .split-section-left {
    padding: 0;
    border: none;
  }
  .tabs {
    gap: 5px;
  }
  .tab {
    padding: 0 20px;
    font-size: 1.5rem;
  }
  .software-box {
    width: 100%;
  }
  .receipt-image {
    position: relative;
    right: auto;
    bottom: auto;
    transform: rotate(0);
    margin-top: 30px;
    width: 100%;
    max-width: 350px;
    left: 50%;
    transform: translateX(-50%);
  }
  .drop-cap {
    top: 2px;
    font-size: 2.5em;
  }
  .right-column {
    align-items: center;
  }
  .hobi-grid {
    padding-left: 0;
    justify-content: center;
    text-align: center;
    gap: 10px 20px;
  }
  .hobi-section-wrapper {
    margin-bottom: 30px;
  }
  .software-title {
    font-size: 2.5rem;
  }
  #profil-content {
    display: grid;
    grid-template-columns: 38% 62%;
    gap: 0;
    width: 100%;
  }
  .terminal-container {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
  }
  .evaluator-zone {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 70vh;
  }
  .grid-matrix {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }
  .cell.statement-room {
    grid-column: span 2;
    padding: 10vh 5vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .cell {
    height: 250px;
  }
  .cell:nth-child(4),
  .cell:nth-child(6) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }
  .resume-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .stats-grid,
  .repo-grid {
    grid-template-columns: 1fr;
  }
  .clean-ticket {
    flex-direction: column;
    height: auto;
  }
  .ticket-image-wrapper {
    width: 100%;
    padding: 15px;
  }
  .ticket-landscape-img {
    min-height: 180px;
  }
  .ticket-content {
    width: 100%;
    padding: 0 20px 20px 20px;
    gap: 15px;
  }
  .ticket-stub {
    width: 100%;
    border-left: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    height: 120px;
    padding: 15px 20px;
    flex-direction: column;
  }
  .stub-barcode {
    background-image: repeating-linear-gradient(
      to right,
      currentColor 0,
      currentColor 2px,
      transparent 2px,
      transparent 5px,
      currentColor 5px,
      currentColor 6px,
      transparent 6px,
      transparent 8px,
      currentColor 8px,
      currentColor 12px,
      transparent 12px,
      transparent 14px
    );
  }
  .stub-disclaimer {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.5rem;
    text-align: left;
  }
  .theme-crimson .ticket-stub {
    border-top: 2px dashed var(--accent-red);
  }
  .theme-charcoal .ticket-stub {
    border-top: 2px dashed var(--text-dark);
  }
  .theme-archive-blue .ticket-stub {
    border-top: 2px dashed rgba(255, 255, 255, 0.2);
  }
}
/* =========================================
   ARSITEKTUR ID CARD FALLBACK
   ========================================= */
.id-card-fallback {
  position: absolute;
  top: 40px;
  right: 50px;
  width: 600px;
  height: auto;
  z-index: 10;
  transform: rotate(6deg);
  filter: drop-shadow(-8px 15px 25px rgba(0, 0, 0, 0.3));
  border-radius: 15px;
  pointer-events: none;
}

@media (max-width: 900px) {
  .id-card-fallback {
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(4deg);
    top: 30px;
    width: 280px;
  }
}

@media (max-width: 768px) {
  #vault-section { height: auto !important; min-height: 100vh !important; display: flex !important; flex-direction: column !important; overflow: auto !important; }
  .master-zone { position: relative !important; width: 100% !important; min-width: 100% !important; height: auto !important; min-height: 100vh !important; padding: 10vh 5vw !important; border-right: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; justify-content: center !important; }
  #vault-marquee-container { position: relative !important; width: 100% !important; height: 100vh !important; z-index: 2 !important; padding: 5vh 0 !important; }

  /* 1. KUNCI OVERFLOW LAYAR */
  html,
  body {
    overflow-x: hidden !important;
    width: 100vw !important;
  }

  /* =======================================================
     🔥 REKAYASA VEKTOR MUTLAK 2.0
     ======================================================= */
  .hero-typo-wrapper {
    position: absolute !important;
    width: 85vw !important;
    height: 38vw !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .typo-p {
    font-size: 26vw !important;
    left: 2% !important;
    top: -20% !important;
    line-height: 1 !important;
  }
  .typo-ort {
    font-size: 14vw !important;
    left: 30% !important;
    top: 12% !important;
    letter-spacing: -0.5vw !important;
  }
  .typo-subtitle {
    font-size: 2vw !important;
    left: 6% !important;
    bottom: 36% !important;
    max-width: none !important;
    letter-spacing: 0.5vw !important;
  }
  .typo-year {
    font-size: 3.5vw !important;
    right: 25% !important;
    top: 38% !important;
  }
  .typo-folio {
    font-size: 14vw !important;
    right: 8% !important;
    bottom: 14% !important;
    letter-spacing: -0.5vw !important;
    display: flex !important;
    align-items: flex-end !important;
  }
  .typo-o-last {
    font-size: 1.2em !important;
    line-height: 0.65 !important;
    margin-left: 0 !important;
  }
  .typo-sparkle {
    font-size: 3vw !important;
    top: 20% !important;
    right: -12% !important;
  }

  /* =======================================================
     🔥 REKAYASA SECTION 1.5: TEXT REVEAL SCRUBBING
     ======================================================= */
  .reveal-section {
    padding: 10vh 8vw !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .reveal-container {
    text-align: left !important;
    width: 100% !important;
  }

  .reveal-paragraph {
    font-size: 5vw !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
  }

  /* =======================================================
     🔥 REKAYASA SECTION II: THE ARCHITECT (URUTAN KUSTOM)
     ======================================================= */
  #scrapbook-panel {
    padding: 20px 5vw 50px 5vw !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  .scrapbook-paper {
    display: flex !important;
    flex-direction: column !important;
    padding: 30px 20px !important;
    border-radius: 0 20px 20px 20px !important;
    gap: 0 !important;
  }

  .left-column,
  .right-column,
  .left-column-top,
  .split-section-left {
    display: contents !important;
  }

  .right-column > div:first-child {
    display: none !important;
  }
  .lanyard-overlay {
    display: none !important;
  }

  /* =======================================
     4. REKAYASA URUTAN (ORDER)
     ======================================= */
  .halo-container {
    order: -3 !important;
    width: 100% !important;
    margin-bottom: 15px !important;
  }
  .halo-box {
    width: 100% !important;
    padding: 15px 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .title-script {
    font-size: 15vw !important;
    line-height: 0.8 !important;
  }

  .body-text {
    order: -2 !important;
    font-size: 3.5vw !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
    text-align: justify !important;
  }

  .id-card-fallback {
    order: -1 !important;
    display: block !important;
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    transform: rotate(3deg) !important;
    width: 85% !important;
    max-width: 280px !important;
    margin: 0 auto 30px auto !important;
  }

  /* =======================================
     5. MERAPATKAN JARAK SISANYA
     ======================================= */
  .pill-title-container {
    padding: 5px 25px 5px 15px !important;
    border-radius: 50px !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
  }
  .pill-title {
    font-size: 9vw !important;
    line-height: 0.6 !important;
  }
  .drop-cap {
    font-size: 11vw !important;
  }

  .project-item {
    margin-bottom: 15px !important;
  }
  .skill-bar-container {
    margin-bottom: 12px !important;
  }
  .hard-skill-list li {
    margin-bottom: 8px !important;
  }

  .hobi-section-wrapper {
    margin-top: 10px !important;
  }
  .hobi-grid {
    justify-content: space-between !important;
    gap: 10px !important;
  }
  .hobi-grid ul {
    gap: 8px !important;
  }

  .software-box {
    width: 100% !important;
    margin-top: 35px !important;
    padding: 15px !important;
  }
  .software-title {
    font-size: 2.2rem !important;
    margin-bottom: 15px !important;
    letter-spacing: 0 !important;
  }
  .software-grid {
    gap: 10px !important;
  }

  .receipt-image {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    transform: rotate(-3deg) !important;
    width: 100% !important;
    max-width: 250px !important;
    margin: 40px auto 0 auto !important;
  }

  .tabs {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tab {
    font-size: 1.2rem !important;
    padding: 0 20px !important;
  }

  /* =======================================
     6. ANTI-CLIPPING LAZY LOAD
     ======================================= */
  .software-icon {
    aspect-ratio: 1 !important;
    min-height: 12vw !important;
  }
  .receipt-image {
    min-height: 120px !important;
    display: block !important;
  }
  .id-card-fallback {
    min-height: 180px !important;
    display: block !important;
  }

  .scrapbook-paper {
    padding-bottom: 12vh !important;
  }

  /* =======================================================
     🔥 PERLINDUNGAN TAB SCRIPT
     ======================================================= */
  .left-column[style*="none"],
  .right-column[style*="none"] {
    display: none !important;
  }

  .isi-tab {
    padding: 10px 0 !important;
  }
  .journey-container {
    padding: 10px 0 30px 0 !important;
  }
  .tc-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* =======================================================
     🔥 REKAYASA SECTION III: EXHIBITION
     ======================================================= */
  .museum-door {
    width: 50% !important;
  }
  .left-door {
    display: block !important;
  }

  .giant-index {
    font-size: 35vh !important;
    right: 0 !important;
    bottom: 2vh !important;
  }
  .sector-label {
    font-size: 2.5vw !important;
    left: 4vw !important;
    bottom: 15vh !important;
  }

  .right-door {
    padding: 0 4vw 0 2vw !important;
    justify-content: center !important;
  }
  .door-title {
    font-size: 6vw !important;
    margin-bottom: 10px !important;
    letter-spacing: 1px !important;
    word-wrap: break-word !important;
  }
  .door-subtext {
    font-size: 2.8vw !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
  }

  .vangogh-text-container {
    padding-left: 8vw !important;
    padding-right: 8vw !important;
    padding-bottom: 8vh !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .vangogh-title {
    font-size: 12vw !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }
  .body-text-hero {
    font-size: 3.5vw !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }
  .drop-cap-hero {
    font-size: 10vw !important;
  }

  .project-gallery-wrapper {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
    padding-bottom: 15vh !important;
    align-items: center !important;
    gap: 20px !important;
  }
  .project-gallery-img {
    width: 100% !important;
    border-radius: 8px !important;
  }

  .class-container-teks h2,
  .class-container-teks p {
    text-align: left;
  }
  .class-container-teks {
    align-items: flex-start;
  }
}

/* =======================================================
   🔥 KUNCI MUTLAK GAMBAR TIKET PERJALANAN (MOBILE)
   ======================================================= */
@media (max-width: 800px) {
  .ticket-landscape-img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .ticket-image-wrapper {
    padding: 15px 15px 5px 15px !important;
  }
}
/* =======================================================
   🔥 SYSTEM OVERRIDE: KUNCI MUTLAK HIERARKI Z-INDEX & OVERFLOW
   ======================================================= */

/* 1. Menyelamatkan Hero Text yang tenggelam ke bawah layar */
#hero-text {
  top: 0 !important;
}

/* 2. Memaksa setiap section memiliki hierarki anak tangga (Z-Index). 
      Section yang di bawah akan menutupi section yang di atasnya dengan rapi saat di-scroll. */
.hero-section-clean {
  z-index: 10 !important;
  position: relative;
}
#text-reveal-section {
  z-index: 20 !important;
  position: relative;
  background-color: #050505 !important;
}
#duality-scrapbook-sequence {
  z-index: 30 !important;
  position: relative;
  background-color: #050505 !important;
}

/* 3. PENGAMAN MUTLAK PANEL BANTU-IN: Memotong ekor panel yang bocor ke bawah */
#museum-section {
  z-index: 40 !important;
  position: relative;
  overflow: hidden !important;
  background-color: #050505 !important;
}

#certificate-vault {
  z-index: 50 !important;
  position: relative;
}
#ai-terminal-section {
  z-index: 60 !important;
  position: relative;
  height: auto !important;
  min-height: 100vh !important;
}
#contact-grid-section {
  z-index: 70 !important;
  position: relative;
  height: auto !important;
  min-height: 100vh !important;
}
#vault-section {
  z-index: 80 !important;
  position: relative;
}


/* =========================================
   FIX MOBILE RESPONSIVENESS (HOTFIX)
   ========================================= */
@media (max-width: 768px) {
  #vault-section { height: auto !important; min-height: 100vh !important; display: flex !important; flex-direction: column !important; overflow: auto !important; }
  .master-zone { position: relative !important; width: 100% !important; min-width: 100% !important; height: auto !important; min-height: 100vh !important; padding: 10vh 5vw !important; border-right: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; justify-content: center !important; }
  #vault-marquee-container { position: relative !important; width: 100% !important; height: 100vh !important; z-index: 2 !important; padding: 5vh 0 !important; }

  /* Hero Text */
  
  
  
  /* Vibe Coder Badge */
  .vibe-coder-badge {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    display: block !important;
    text-align: center !important;
    margin-top: 10px !important;
    font-size: 0.55rem !important;
  }
  
  /* Services Section */
  .services-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 90vw !important;
    gap: 15px !important;
  }
  .services-header h2 { font-size: clamp(3rem, 12vw, 5rem) !important; }
  .services-header p { font-size: 0.8rem !important; }

  /* ---- CERTIFICATE SECTION: Keep horizontal scroll, just resize content ---- */
  #certificate-vault {
    height: 100vh !important;
    overflow: hidden !important;
  }

  .cert-track {
    display: flex !important;
    flex-direction: row !important;
    width: fit-content !important;
    height: 100% !important;
  }

  .cert-panel {
    width: 100vw !important;
    height: 100vh !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4vw !important;
    padding: 12vh 6vw 8vh !important;
  }

  .cert-text-panel {
    width: 100% !important;
    transform: none !important;
    align-items: flex-start !important;
    text-align: left !important;
    order: 1;
  }

  .cert-label {
    font-size: 0.65rem !important;
    letter-spacing: 3px !important;
    margin-bottom: 8px !important;
  }

  .cert-title {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
  }

  .cert-desc {
    font-size: 0.78rem !important;
    max-width: 100% !important;
    line-height: 1.6 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .cert-frame-wrapper {
    width: 100% !important;
    transform: none !important;
    order: 2;
    overflow: visible !important;
  }

  .frame-asset {
    width: 100% !important;
    height: auto !important;
    max-height: 35vh !important;
    object-fit: contain !important;
  }

  .cert-meta-panel {
    width: 100% !important;
    transform: none !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    order: 3;
  }

  .meta-item {
    flex: 1 1 45% !important;
    min-width: 0 !important;
  }

  .meta-label {
    font-size: 0.6rem !important;
    letter-spacing: 1px !important;
  }

  .meta-value {
    font-size: 0.75rem !important;
  }

  .verify-btn {
    font-size: 0.65rem !important;
    padding: 10px 16px !important;
    letter-spacing: 2px !important;
    white-space: nowrap !important;
  }

  .skip-btn-container {
    display: none !important;
  }

  /*.cert-mobile-nav { display: none; }

  /* Mobile Nav Buttons for Certificates (Swiss Theme) */
  .cert-mobile-nav {
    display: flex !important;
    position: absolute !important;
    bottom: 2vh !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80vw !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 100 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px !important;
  }

  .cert-nav-btn {
    background: none !important;
    border: none !important;
    color: #fff !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 0.85rem !important;
    letter-spacing: 3px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    opacity: 0.8;
  }

  .cert-indicator {
    font-family: 'Cinzel', serif !important;
    font-size: 1.2rem !important;
    color: #fff !important;
    letter-spacing: 2px !important;
  }

  .cert-nav-btn:active {
    opacity: 1;
    transform: scale(0.95);
  }

  /* Compatibility Matrix / Contact Grid */
  .grid-matrix {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto !important;
    height: auto !important;
  }
  .grid-matrix .cell:first-child:empty { display: none !important; }
  .cell {
    padding: 5vw !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    height: auto !important;
    min-height: 18vh !important;
    grid-column: span 1 !important;
  }
  .cell:nth-child(even) { border-right: none !important; }
  .cell.statement-room { grid-column: span 2 !important; padding: 12vh 6vw !important; justify-content: center !important; border-right: none !important; }
  .cell-title { font-size: clamp(1.2rem, 5vw, 2rem) !important; margin-bottom: 8px !important; }
  .cell-desc { font-size: 0.8rem !important; line-height: 1.4 !important; }
  .statement-text { font-size: 1.1rem !important; max-width: 100% !important; line-height: 1.6 !important; text-align: left !important; color: rgba(255, 255, 255, 0.85); }
}

@media (max-width: 768px) {
  #vault-section { height: auto !important; min-height: 100vh !important; display: flex !important; flex-direction: column !important; overflow: auto !important; }
  .master-zone { position: relative !important; width: 100% !important; min-width: 100% !important; height: auto !important; min-height: 100vh !important; padding: 10vh 5vw !important; border-right: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; justify-content: center !important; }
  #vault-marquee-container { position: relative !important; width: 100% !important; height: 100vh !important; z-index: 2 !important; padding: 5vh 0 !important; }

  /* Fix gap in services section */
  .cards-track-wrapper {
    height: 55vh !important;
    margin-top: 2vh !important;
  }
  .services-header {
    margin-bottom: 2vh !important;
  }
  /* Fix drag to explore text position */
  .drag-indicator {
    bottom: 2vh !important;
  }
  /* Remove excessive padding/margin from sections on mobile */
  .section-services {
    min-height: auto !important;
    padding-bottom: 2vh !important;
  }
}
