/* FRONTEND STYLES WITH COMPLETE MODAL & POLISH */

.project[data-id]:hover .open-icon { background: var(--orange, #fd7758); color: #fff; transform: rotate(45deg); }

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 19, 28, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: all; }
body.modal-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════
   MODAL STYLES (for public index.php) — Widescreen Studio View
   ═══════════════════════════════════════════════════════════ */

/* Box: Widescreen, Grand & Legible on Desktop */
.modal-box {
  width: min(1360px, 94vw);
  max-height: 90vh;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  background: var(--paper, #fbfafd);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0,0,0,0.08);
  transform: translateY(24px) scale(.98);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.modal-overlay.is-open .modal-box { transform: none; }

/* Close button */
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(22, 26, 37, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(22, 26, 37, 0.12);
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink, #161a25);
  transition: background .2s, transform .2s, color .2s;
}
.modal-close:hover {
  background: var(--ink, #161a25);
  color: #fff;
  transform: rotate(90deg) scale(1.06);
}

/* Text side */
.modal-body {
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  overflow-y: auto;
  max-height: 90vh;
}
.modal-type {
  font: 11px 'DM Mono', monospace;
  letter-spacing: .15em;
  color: var(--orange, #fd7758);
  text-transform: uppercase;
  margin: 0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.modal-type::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange, #fd7758);
}
.modal-title {
  font-size: 32px;
  letter-spacing: -.04em;
  line-height: 1.18;
  font-weight: 800;
  margin: 0;
  color: var(--ink, #161a25);
}
.modal-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #4b5262;
  margin: 0;
  white-space: pre-line;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Modal action buttons */
.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  border-radius: 14px;
  padding: 14px 20px;
  font: 700 13px Manrope, sans-serif;
  transition: transform .2s, box-shadow .2s;
  gap: 12px;
}
.modal-btn:hover { transform: translateY(-2px); }
.modal-btn.primary {
  background: var(--ink, #161a25);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22,26,37,.18);
}
.modal-btn.primary:hover { box-shadow: 0 10px 26px rgba(22,26,37,.28); background: #000; }
.modal-btn.secondary {
  background: rgba(22,26,37,.05);
  color: var(--ink, #161a25);
  border: 1px solid rgba(22,26,37,.12);
}
.modal-btn.secondary:hover { background: rgba(22,26,37,.10); }
.modal-btn span { font-size: 18px; }

/* ── Responsive ──────────────────────────────────────────── */


/* ── Gallery in Modal (Public Widescreen Showcase) ───────── */
.modal-visual-wrap {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #090c12;
  border-right: 1px solid rgba(22, 26, 37, 0.08);
  height: 100%;
  min-height: 540px;
  position: relative;
}
.modal-visual-stage {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #161b26 0%, #080a10 100%);
  padding: 22px;
  overflow: hidden;
}
.modal-visual {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.modal-visual.coral { background: radial-gradient(circle at center, rgba(245, 173, 153, 0.16) 0%, #080a10 85%); }
.modal-visual.blue  { background: radial-gradient(circle at center, rgba(165, 213, 236, 0.16) 0%, #080a10 85%); }
.modal-visual.lime  { background: radial-gradient(circle at center, rgba(214, 230, 157, 0.16) 0%, #080a10 85%); }
.modal-visual img {
  max-width: 100%;
  max-height: 580px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: opacity .18s ease, transform .2s ease;
}

/* Nav arrows on modal */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 15, 22, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: none;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  transition: background .15s, transform .15s, border-color .15s;
  z-index: 6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.modal-nav-btn:hover {
  background: var(--orange, #fd7758);
  border-color: var(--orange, #fd7758);
  transform: translateY(-50%) scale(1.1);
}
.modal-nav-btn.prev { left: 16px; }
.modal-nav-btn.next { right: 16px; }

/* Photo counter badge on modal */
.modal-photo-counter {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(12, 15, 22, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 6;
  letter-spacing: .08em;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Zoom / Fullscreen Button */
.modal-zoom-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(12, 15, 22, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s, transform .15s, border-color .15s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.modal-zoom-btn:hover {
  background: var(--orange, #fd7758);
  border-color: var(--orange, #fd7758);
  transform: scale(1.05);
}

.modal-gallery {
  display: none;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(6, 8, 12, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) transparent;
  flex-shrink: 0;
}
.gal-thumb {
  flex-shrink: 0;
  width: 82px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s, transform .15s, opacity .15s, box-shadow .15s;
  background: #191d28;
  opacity: 0.55;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { opacity: 0.95; transform: translateY(-2px); }
.gal-thumb.active {
  border-color: var(--orange, #fd7758);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(253,119,88,0.35);
}

/* ── Categorized Work Styles (Develop vs Ilmiah) ────────── */
.projects-container {
  width: 100%;
}
.projects-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.projects-header-bar h2 {
  margin: 0 0 10px;
}
.projects-sub {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}

/* Category Filter Tabs */
.work-filter-tabs {
  display: inline-flex;
  gap: 6px;
  background: rgba(22, 26, 37, 0.05);
  padding: 5px;
  border-radius: 16px;
  border: 1px solid rgba(22, 26, 37, 0.08);
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.filter-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}
.filter-tab.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(22, 26, 37, 0.1);
}
.filter-count {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(22, 26, 37, 0.06);
  color: var(--ink);
}
.filter-tab.active .filter-count {
  background: var(--ink);
  color: #ffffff;
}

/* Work Groups & Headers */
.work-groups {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.work-group {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.work-group-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.wgh-tag {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.work-group-header h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
  margin: 0 0 6px;
  color: var(--ink);
}
.work-group-header p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  max-width: 580px;
  line-height: 1.5;
}
.wgh-pill {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Card Category Badges (Clean, Frosted Glass, No Blue) */
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 3;
}
.badge-cat {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(22, 26, 37, 0.08);
}
.badge-doc {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(22, 26, 37, 0.15);
}

/* Modal Badges */
.badge-modal {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(22, 26, 37, 0.06);
  color: var(--ink);
}
.modal-tag-sep {
  margin: 0 6px;
  color: var(--muted);
}



/* ── Ultra-Premium Mobile & Responsive Styles ─────────────────────────── */

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 960px) {
  .modal-box {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }
  .modal-visual-wrap {
    min-height: 320px;
    border-right: 0;
    border-bottom: 1px solid rgba(22, 26, 37, 0.08);
  }
  .modal-visual-stage { min-height: 280px; padding: 14px; }
  .modal-visual img { max-height: 320px; }
  .modal-body { padding: 26px 22px; max-height: none; }
  .modal-title { font-size: 24px; }
}

@media (max-width: 768px) {
  /* Prevent any horizontal page overflow */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Decorative canvas / orbs scaled to fit mobile */
  .canvas-grid { background-size: 36px 36px; }
  .orb-one { width: 65vw; height: 65vw; top: -20vw; right: -20vw; }
  .orb-two { width: 60vw; height: 60vw; bottom: -20vw; left: -20vw; }

  /* ── Mobile Header & Topbar ── */
  .topbar {
    position: sticky !important;
    top: 10px !important;
    margin: 10px 14px 0 !important;
    padding: 10px 16px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 30px rgba(22, 26, 37, 0.08) !important;
    z-index: 100 !important;
  }
  .brand {
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
  }

  /* Modern Glassmorphism Hamburger Button */
  .nav-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4.5px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: rgba(22, 26, 37, 0.04) !important;
    border: 1px solid rgba(22, 26, 37, 0.08) !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    transition: background 0.2s, transform 0.15s !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .nav-toggle:active {
    transform: scale(0.92) !important;
    background: rgba(22, 26, 37, 0.08) !important;
  }
  .nav-toggle i {
    display: block !important;
    width: 17px !important;
    height: 2px !important;
    background: var(--ink) !important;
    border-radius: 2px !important;
    transition: transform 0.25s ease, opacity 0.2s, width 0.2s !important;
    transform-origin: center !important;
  }
  .nav-toggle.is-open i:first-child {
    transform: translateY(3.25px) rotate(45deg) !important;
  }
  .nav-toggle.is-open i:last-child {
    transform: translateY(-3.25px) rotate(-45deg) !important;
  }

  /* Floating Dropdown Card with Solid Opaque Background */
  .topbar nav {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 8px !important;
    box-shadow: 0 25px 60px rgba(22, 26, 37, 0.22), 0 0 0 1px rgba(22, 26, 37, 0.08) !important;
    display: none !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin: 0 !important;
    z-index: 110 !important;
  }
  .topbar nav.is-open {
    display: flex !important;
    animation: navDrop 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .topbar nav a {
    padding: 13px 18px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    border-radius: 13px !important;
    color: var(--ink) !important;
    background: #f9f9f6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: background 0.15s, color 0.15s, transform 0.1s !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .topbar nav a:active,
  .topbar nav a.active {
    background: #161a25 !important;
    color: #ffffff !important;
  }

  /* ── Hero Section on Mobile ── */
  .hero {
    display: flex !important;
    flex-direction: column !important;
    padding: 40px 18px 32px !important;
    gap: 30px !important;
    min-height: auto !important;
  }
  .hero-copy {
    width: 100% !important;
  }
  .eyebrow {
    font-size: 9.5px !important;
    gap: 7px !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.08em !important;
  }
  .hero h1 {
    font-size: clamp(34px, 8.8vw, 46px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.055em !important;
    margin: 10px 0 16px !important;
  }
  .intro {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    color: var(--muted) !important;
    margin-bottom: 22px !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 18px !important;
  }
  .hero-action-col {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .button {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .button:active {
    transform: scale(0.98) !important;
  }

  .hero-proof {
    display: none !important;
  }

  /* Centered Portrait Card */
  .portrait-wrap {
    width: 100% !important;
    max-width: 320px !important;
    margin: 8px auto 0 !important;
    padding: 0 0 10px 0 !important;
  }
  .portrait-card {
    height: 380px !important;
    border-radius: 26px !important;
    transform: rotate(1deg) !important;
  }
  .portrait-label {
    padding: 9px 12px !important;
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    font-size: 9.5px !important;
  }
  .floating-note {
    right: 4px !important;
    bottom: 4px !important;
    transform: rotate(-2deg) !important;
    padding: 10px 14px !important;
    font-size: 8.5px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 22px rgba(22, 26, 37, 0.18) !important;
  }

  /* ── Content Sections ── */
  .section {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 56px 18px !important;
    border-top: 1px solid var(--line) !important;
  }
  .section-kicker {
    font-size: 10px !important;
    margin-bottom: 2px !important;
    letter-spacing: 0.12em !important;
  }
  .section h2, .contact h2 {
    font-size: clamp(28px, 7.5vw, 38px) !important;
    letter-spacing: -0.05em !important;
    line-height: 1.1 !important;
    margin: 0 0 16px !important;
  }
  .about > div > p {
    font-size: 14.5px !important;
    line-height: 1.85 !important;
    color: var(--muted) !important;
  }

  /* Skill Cards */
  .skill-list {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 24px !important;
  }
  .skill {
    min-height: auto !important;
    padding: 22px 20px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 8px 24px rgba(22, 26, 37, 0.04) !important;
  }
  .skill h3 {
    margin: 18px 0 6px !important;
    font-size: 16px !important;
  }
  .skill p {
    font-size: 11px !important;
  }
  .skill i {
    position: relative !important;
    left: 0 !important;
    bottom: 0 !important;
    margin-top: 16px !important;
    display: block !important;
    width: 100% !important;
  }

  /* Categorized Work Mobile Layout */
  .projects-header-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
  }
  .projects-header-bar h2 {
    font-size: clamp(28px, 7.5vw, 38px) !important;
    margin-bottom: 8px !important;
  }
  .projects-sub {
    font-size: 13.5px !important;
  }
  .work-filter-tabs {
    display: flex !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px !important;
    border-radius: 14px !important;
  }
  .filter-tab {
    flex: 1 !important;
    justify-content: center !important;
    padding: 9px 8px !important;
    font-size: 11px !important;
    gap: 5px !important;
  }
  .filter-count {
    font-size: 9px !important;
    padding: 1px 5px !important;
  }
  .work-groups {
    gap: 40px !important;
  }
  .work-group-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding-bottom: 14px !important;
    margin-bottom: 18px !important;
  }
  .work-group-header h3 {
    font-size: 18px !important;
  }
  .work-group-header p {
    font-size: 12px !important;
  }
  .wgh-pill {
    align-self: flex-start !important;
    font-size: 10px !important;
    padding: 4px 10px !important;
  }

  /* Project Cards */
  .projects {
    padding-bottom: 70px !important;
  }
  .project-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 24px !important;
  }
  .project {
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 26px rgba(22, 26, 37, 0.06) !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .project:active {
    transform: scale(0.985) !important;
  }
  .project-visual {
    height: 220px !important;
  }
  .project-info {
    padding: 16px 18px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .project-info h3 {
    font-size: 17px !important;
    margin: 0 0 4px !important;
  }
  .project-info p {
    font-size: 11.5px !important;
  }
  .project-info b {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
  }

  /* Contact & Footer */
  .contact {
    margin: 0 14px 28px !important;
    padding: 44px 20px !important;
    border-radius: 24px !important;
    text-align: center !important;
  }
  .contact:after {
    display: none !important;
  }
  .contact .button {
    width: 100% !important;
    max-width: 280px !important;
    margin: 18px auto 0 !important;
  }
  footer {
    padding: 22px 18px 36px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    font-size: 11px !important;
  }

  /* ── Widescreen Studio Modal on Mobile (Clean, No-Overlap Layout) ── */
  .modal-overlay {
    padding: 12px !important;
    align-items: center !important;
  }
  .modal-box {
    width: 100% !important;
    max-width: 440px !important;
    max-height: 88vh !important;
    border-radius: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    grid-template-columns: 1fr !important;
  }

  /* Close button: top-right, clean high contrast frosted glass */
  .modal-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(12, 15, 22, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    z-index: 30 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .modal-close:active {
    transform: scale(0.9) !important;
  }

  /* Zoom button: top-LEFT, completely separated from close button */
  .modal-zoom-btn {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    background: rgba(12, 15, 22, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    z-index: 25 !important;
  }

  .modal-visual-wrap {
    min-height: auto !important;
    max-height: 280px !important;
    flex-shrink: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(22, 26, 37, 0.08) !important;
  }
  .modal-visual-stage {
    min-height: 190px !important;
    height: 215px !important;
    padding: 8px !important;
  }
  .modal-visual img {
    max-height: 200px !important;
    max-width: 92% !important;
    object-fit: contain !important;
  }
  .modal-nav-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
  .modal-nav-btn.prev { left: 8px !important; }
  .modal-nav-btn.next { right: 8px !important; }
  .modal-photo-counter {
    bottom: 8px !important;
    font-size: 10.5px !important;
    padding: 3px 10px !important;
  }

  /* Thumbnail gallery scrollbar */
  .modal-gallery {
    padding: 8px 12px !important;
    gap: 8px !important;
    min-height: 56px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .gal-thumb {
    width: 56px !important;
    height: 40px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }

  /* Modal body content */
  .modal-body {
    padding: 18px 16px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex: 1 !important;
  }
  .modal-type {
    font-size: 9.5px !important;
    margin-bottom: 6px !important;
  }
  .modal-title {
    font-size: 19px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }
  .modal-desc {
    font-size: 13.5px !important;
    line-height: 1.7 !important;
    margin-bottom: 18px !important;
  }
  .modal-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    width: 100% !important;
  }
  .modal-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 16px !important;
    font-size: 13px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
  }
  .modal-btn:active {
    transform: scale(0.98) !important;
  }

  /* ── Dashboard Admin Mobile View ── */
  .dash-page {
    overflow-x: hidden !important;
  }
  .sidebar {
    width: 100% !important;
    height: auto !important;
    position: static !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 14px 16px !important;
    border-radius: 0 0 20px 20px !important;
  }
  .sidebar-nav {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 2px !important;
  }
  .sidebar-label {
    display: none !important;
  }
  .sidebar-nav a {
    white-space: nowrap !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
  .sidebar-bottom {
    display: none !important;
  }
  .main-content {
    margin-left: 0 !important;
    padding: 18px 14px 40px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .top-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }
  .top-bar h1 {
    font-size: 26px !important;
  }
  .panel {
    padding: 18px 14px !important;
    border-radius: 18px !important;
  }
  .stat-grid {
    grid-template-columns: 1fr !important;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  .project-fields {
    grid-template-columns: 1fr !important;
  }
  .doc-inputs-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .doc-upload-col, .doc-url-col, .doc-label-col {
    width: 100% !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)) !important;
  }
}


/* Hero action button column & Zero to Hero subtext */
.hero-actions {
  align-items: flex-start;
}
.hero-action-col {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-subtext {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  text-transform: uppercase;
}
.hero-subtext i {
  font-style: normal;
  color: var(--orange);
  font-size: 10px;
}

/* ── Topbar Language Switcher ────────────────────────────────────────── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(22, 26, 37, 0.05);
  border: 1px solid rgba(22, 26, 37, 0.09);
  border-radius: 11px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
  margin-left: 12px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}
.lang-btn {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}
.lang-btn:hover {
  color: var(--ink);
}
.lang-btn.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(22, 26, 37, 0.1);
}

@media (max-width: 720px) {
  .topbar {
    justify-content: flex-start !important;
  }
  .lang-switch {
    margin-left: auto !important;
    margin-right: 8px !important;
    padding: 2.5px !important;
  }
  .lang-btn {
    font-size: 10.5px !important;
    padding: 4px 7px !important;
  }
  .nav-toggle {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ── Eyebrow Status Dot & Text Isolation ────────────────────────────── */
.eyebrow {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin-bottom: 14px !important;
}
.eyebrow .status-dot, .eyebrow i {
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #9bcb53 !important;
  box-shadow: 0 0 0 5px rgba(155, 203, 83, 0.18) !important;
  flex-shrink: 0 !important;
}
.eyebrow-text {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: 'DM Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  color: var(--muted) !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

/* ── Admin Social Links Rows ────────────────────────────────────────── */
.social-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}
.social-row {
  display: grid;
  grid-template-columns: 170px 1fr 38px;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(22, 26, 37, 0.08);
  padding: 12px 14px;
  border-radius: 14px;
}
.social-platform-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font: 600 13px Manrope, sans-serif;
  color: var(--ink);
  cursor: pointer;
}
.social-fields {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
}
.social-fields input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font: 13px Manrope, sans-serif;
  color: var(--ink);
}

@media (max-width: 768px) {
  .social-row {
    grid-template-columns: 1fr;
    gap: 10px;
    position: relative;
    padding-top: 38px;
  }
  .social-row .btn-icon-del {
    position: absolute;
    top: 8px;
    right: 8px;
  }
  .social-fields {
    grid-template-columns: 1fr;
  }
}

/* ── Frontend Contact CTA & Social Pills ────────────────────────────── */
.contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.contact-socials {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(22, 26, 37, 0.1);
  position: relative;
  z-index: 2;
}
.socials-label {
  font: 700 10.5px 'DM Mono', monospace !important;
  letter-spacing: 0.12em !important;
  color: var(--muted) !important;
  text-transform: uppercase !important;
  margin: 0 0 14px 0 !important;
  display: block !important;
}
.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(22, 26, 37, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.social-pill:hover {
  transform: translateY(-3px);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(22, 26, 37, 0.12);
  border-color: #ffffff;
}
.social-pill .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform 0.2s ease, color 0.2s ease;
}
.social-pill:hover .social-icon {
  transform: scale(1.1);
  color: var(--orange);
}
.social-pill .social-name {
  line-height: 1;
}
.social-pill .social-arrow {
  font-size: 11px;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
}
.social-pill:hover .social-arrow {
  color: var(--orange);
  transform: translate(2px, -2px);
}

/* ── Frontend Footer with Social Icons ──────────────────────────────── */
footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
}
.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 11px 'DM Mono', monospace;
  color: var(--muted);
}
.footer-sep {
  opacity: 0.5;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(22, 26, 37, 0.04);
  border: 1px solid rgba(22, 26, 37, 0.06);
  transition: all 0.2s ease;
}
.footer-socials a:hover {
  color: var(--ink);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 26, 37, 0.08);
  border-color: transparent;
}

@media (max-width: 1024px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
    padding: 50px 20px !important;
    gap: 30px !important;
    min-height: auto !important;
  }
  .hero-copy {
    width: 100% !important;
  }
  .portrait-wrap {
    max-width: 380px !important;
    width: 100% !important;
    margin: 20px auto 0 !important;
    align-self: center !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   PREMIUM ULTRA-CLEAN WORK & PUBLIKASI ADMIN STYLES (v3 REFINED)
   ═══════════════════════════════════════════════════════════════════ */




/* ═══════════════════════════════════════════════════════════
   PREMIUM POLISH FOR SOCIAL PILLS & CONTACT CTA
   ═══════════════════════════════════════════════════════════ */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-top: 28px !important;
}

.contact-actions .button.primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  letter-spacing: -0.01em !important;
  padding: 13px 26px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  background: var(--ink) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 24px rgba(22, 26, 37, 0.18) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.contact-actions .button.primary:hover {
  transform: translateY(-2px) scale(1.02) !important;
  background: #000 !important;
  box-shadow: 0 14px 30px rgba(22, 26, 37, 0.26) !important;
  color: #fff !important;
}

.contact-actions .button.primary span[data-i18n="contact.btn"] {
  color: var(--orange) !important;
  font-weight: 800 !important;
}

.contact-socials {
  margin-top: 36px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(22, 26, 37, 0.1) !important;
  position: relative !important;
  z-index: 2 !important;
}

.socials-label {
  font-family: 'DM Mono', monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  color: var(--muted) !important;
  text-transform: uppercase !important;
  margin: 0 0 14px 0 !important;
  display: block !important;
}

.social-links-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: center !important;
}

.social-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  color: #161a25 !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-top: 1.5px solid #ffffff !important;
  box-shadow: 0 4px 16px rgba(22, 26, 37, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  font-family: Manrope, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.social-pill:hover {
  transform: translateY(-3px) scale(1.02) !important;
  background: #ffffff !important;
  color: #161a25 !important;
  border-color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(22, 26, 37, 0.12) !important;
  text-decoration: none !important;
}

.social-pill .social-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 19px !important;
  height: 19px !important;
  color: #161a25 !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
}

.social-pill .social-icon svg {
  width: 19px !important;
  height: 19px !important;
  display: block !important;
}

.social-pill[aria-label*="Instagram"]:hover .social-icon {
  color: #e1306c !important;
  transform: scale(1.12) !important;
}

.social-pill[aria-label*="Threads"]:hover .social-icon {
  color: #000000 !important;
  transform: scale(1.12) !important;
}

.social-pill .social-name {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1 !important;
  color: #161a25 !important;
  text-decoration: none !important;
}

.social-pill .social-arrow {
  font-family: Manrope, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: var(--muted) !important;
  opacity: 0.65 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease !important;
}

.social-pill:hover .social-arrow {
  opacity: 1 !important;
  color: var(--orange) !important;
  transform: translate(2px, -2px) !important;
}

/* Modal Polish */
.modal-overlay {
  z-index: 9999 !important;
}
.modal-box {
  background: #ffffff !important;
}
.modal-visual-wrap {
  background: #0c0f17 !important;
}
.modal-body {
  background: #ffffff !important;
}

/* Footer Social Icons Polish */
.footer-socials {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.footer-socials a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(22, 26, 37, 0.08) !important;
  color: var(--muted) !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.footer-socials a:hover {
  color: #161a25 !important;
  background: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(22, 26, 37, 0.1) !important;
}
.footer-socials a svg {
  width: 17px !important;
  height: 17px !important;
}



/* ═══════════════════════════════════════════════════════════

/* ═══════════════════════════════════════════════════════════
   PREMIUM STUDIO MODAL (PERFECT 2-COLUMN DESKTOP + MOBILE)
   ═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(12, 16, 26, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 99999 !important;
  display: grid !important;
  place-items: center !important;
  padding: 20px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.modal-overlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.modal-box {
  width: min(1200px, 94vw) !important;
  height: min(740px, 90vh) !important;
  max-height: 90vh !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: 1.35fr 1fr !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 32px 80px -12px rgba(10, 14, 26, 0.55), 0 0 0 1px rgba(22, 26, 37, 0.08) !important;
  transform: translateY(20px) scale(0.98) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}
.modal-overlay.is-open .modal-box {
  transform: translateY(0) scale(1) !important;
}

.modal-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 50 !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(22, 26, 37, 0.07) !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(22, 26, 37, 0.1) !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #161a25 !important;
  transition: all 0.2s ease !important;
}
.modal-close:hover {
  background: #161a25 !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.08) !important;
}

/* Left Visual Column */
.modal-visual-wrap {
  background: #0d111a !important;
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
}

.modal-visual-stage {
  flex: 1 !important;
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  position: relative !important;
}

.modal-visual {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-visual img {
  max-width: 95% !important;
  max-height: 95% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.25s ease !important;
}

.modal-zoom-btn {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: rgba(13, 17, 26, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  color: #f0f2f5 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  font-family: Manrope, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s ease !important;
}
.modal-zoom-btn:hover {
  background: #ffffff !important;
  color: #0d111a !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Right Content Column */
.modal-body {
  height: 100% !important;
  max-height: 100% !important;
  padding: 32px 32px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

.modal-header-top {
  flex-shrink: 0 !important;
  padding-right: 36px !important;
}

.modal-type {
  font-family: 'DM Mono', monospace !important;
  font-size: 11.5px !important;
  letter-spacing: 0.12em !important;
  color: var(--orange, #fd7758) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  margin: 0 0 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.modal-type::before {
  content: '' !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: var(--orange, #fd7758) !important;
  flex-shrink: 0 !important;
}

.modal-title {
  font-family: Manrope, sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
  color: #161a25 !important;
  margin: 0 0 12px 0 !important;
}

.modal-scrollable {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding-right: 8px !important;
  margin-bottom: 12px !important;
}

/* Sleek custom scrollbar */
.modal-scrollable::-webkit-scrollbar {
  width: 5px !important;
}
.modal-scrollable::-webkit-scrollbar-track {
  background: rgba(22, 26, 37, 0.04) !important;
  border-radius: 999px !important;
}
.modal-scrollable::-webkit-scrollbar-thumb {
  background: rgba(22, 26, 37, 0.18) !important;
  border-radius: 999px !important;
}
.modal-scrollable::-webkit-scrollbar-thumb:hover {
  background: rgba(22, 26, 37, 0.3) !important;
}

.modal-desc {
  font-family: Manrope, sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: #4b5262 !important;
  margin: 0 !important;
  white-space: pre-line !important;
}

.modal-actions {
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(22, 26, 37, 0.08) !important;
  background: #ffffff !important;
  z-index: 5 !important;
}

.modal-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  font-family: Manrope, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  gap: 10px !important;
}
.modal-btn.primary {
  background: #161a25 !important;
  color: #ffffff !important;
  border: 1px solid #161a25 !important;
  box-shadow: 0 4px 14px rgba(22, 26, 37, 0.15) !important;
}
.modal-btn.primary:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(22, 26, 37, 0.24) !important;
}
.modal-btn.secondary {
  background: rgba(22, 26, 37, 0.04) !important;
  color: #161a25 !important;
  border: 1px solid rgba(22, 26, 37, 0.1) !important;
}
.modal-btn.secondary:hover {
  background: rgba(22, 26, 37, 0.08) !important;
  transform: translateY(-2px) !important;
}

/* Responsive adjustment for tablets & mobile */
@media (max-width: 960px) {
  .modal-box {
    grid-template-columns: 1fr !important;
    height: auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
  .modal-visual-wrap {
    height: 300px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(22, 26, 37, 0.08) !important;
  }
  .modal-visual-stage {
    min-height: 260px !important;
    height: 300px !important;
  }
  .modal-body {
    height: auto !important;
    max-height: none !important;
    padding: 24px 20px !important;
    overflow: visible !important;
  }
  .modal-scrollable {
    flex: none !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
  .modal-actions {
    position: static !important;
  }
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 12px !important;
  }
  .modal-box {
    border-radius: 18px !important;
  }
  .modal-visual-wrap {
    height: 220px !important;
  }
  .modal-visual-stage {
    min-height: 180px !important;
    height: 220px !important;
    padding: 12px !important;
  }
  .modal-visual img {
    max-height: 190px !important;
  }
  .modal-body {
    padding: 20px 16px !important;
  }
  .modal-title {
    font-size: 18px !important;
  }
}


/* ═════════════════════════════════════════════════════════════════
   GATEWAY SHOWCASE BANNERS (For index.php)
   ═════════════════════════════════════════════════════════════════ */
.gateway-showcase {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .gateway-showcase {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.gateway-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 36px rgba(22, 26, 37, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  text-decoration: none;
  color: inherit;
}
.gateway-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(22, 26, 37, 0.12);
  border-color: rgba(253, 119, 88, 0.4);
}
.gateway-card-dev {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(230, 222, 255, 0.45));
}
.gateway-card-dev:hover {
  border-color: rgba(112, 72, 232, 0.45);
}
.gateway-card-ilmiah {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(210, 235, 246, 0.4));
}
.gateway-card-cert {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(231, 238, 186, 0.4));
}
.gateway-card-exp {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(253, 215, 185, 0.4));
}
.gateway-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.gateway-tag {
  font: 700 10px/1 'DM Mono', monospace;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.gateway-tag-dev {
  background: rgba(112, 72, 232, 0.14);
  color: #5f3dc4;
}
.gateway-tag-ilmiah {
  background: rgba(53, 122, 189, 0.12);
  color: #1e5c94;
}
.gateway-tag-cert {
  background: rgba(145, 170, 57, 0.16);
  color: #556c10;
}
.gateway-tag-exp {
  background: rgba(253, 119, 88, 0.16);
  color: #c94b29;
}
.gateway-badge {
  font: 800 10px 'DM Mono', monospace;
  background: #fff;
  padding: 5px 11px;
  border-radius: 20px;
  color: var(--ink, #161a25);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(22, 26, 37, 0.08);
  white-space: nowrap;
  flex-shrink: 0;
}
.gateway-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--ink, #161a25);
}
.gateway-body p {
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted, #727685);
  max-width: 500px;
}
.gateway-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 26, 37, 0.08);
}
.gateway-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 800 13px Manrope, sans-serif;
  color: #fff;
  background: var(--ink, #161a25);
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.2s, transform 0.2s;
}
.gateway-card:hover .gateway-btn {
  background: var(--orange, #fd7758);
}
.gateway-meta {
  font: 600 11px/1.4 'DM Mono', monospace;
  color: var(--muted, #727685);
  text-align: center;
  white-space: normal;
  letter-spacing: 0.02em;
}

/* ═════════════════════════════════════════════════════════════════
   DEDICATED LANDING PAGES (karya-ilmiah.php & sertifikat.php)
   ═════════════════════════════════════════════════════════════════ */
.landing-hero {
  padding: 60px 0 36px;
  border-bottom: 1px solid var(--line, rgba(22, 26, 37, 0.12));
  margin-bottom: 36px;
}
.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 11px 'DM Mono', monospace;
  text-decoration: none;
  color: var(--muted, #727685);
  margin-bottom: 24px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  border: 1px solid rgba(22, 26, 37, 0.08);
  transition: color 0.2s, background 0.2s;
}
.breadcrumb-back:hover {
  color: var(--ink, #161a25);
  background: #fff;
}
.landing-hero h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.06em;
  margin: 12px 0 16px;
  color: var(--ink, #161a25);
}
.landing-hero .landing-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted, #727685);
  max-width: 720px;
  margin: 0 0 24px;
}
.landing-stats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.landing-stat-pill {
  font: 700 11px 'DM Mono', monospace;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(22, 26, 37, 0.09);
  color: var(--ink, #161a25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.landing-stat-pill i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange, #fd7758);
}

/* ═════════════════════════════════════════════════════════════════
   CERTIFICATES GRID & CARDS
   ═════════════════════════════════════════════════════════════════ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
  margin-top: 28px;
  margin-bottom: 60px;
}
.cert-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(22, 26, 37, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(22, 26, 37, 0.11);
  border-color: rgba(253, 119, 88, 0.35);
}
.cert-visual-wrap {
  position: relative;
  height: 210px;
  background: #1a1e29;
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cert-visual-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease, filter 0.3s;
}
.cert-card:hover .cert-visual-wrap img {
  transform: scale(1.05);
}
.cert-visual-wrap .cert-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 28, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.25s ease;
  color: #fff;
  font: 800 11px 'DM Mono', monospace;
  letter-spacing: 0.08em;
}
.cert-card:hover .cert-visual-wrap .cert-hover-overlay {
  opacity: 1;
}
.cert-platform-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font: 800 10px 'DM Mono', monospace;
  padding: 5px 10px;
  border-radius: 7px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.platform-aaii { background: linear-gradient(135deg, #0b3c8a, #1976d2); }
.platform-coursera { background: #0056D2; }
.platform-udemy    { background: #A435F0; }
.platform-myskill  { background: #0EA5E9; }

.cert-date-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font: 700 9px 'DM Mono', monospace;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(16, 19, 28, 0.7);
  backdrop-filter: blur(6px);
  color: #fff;
}
.cert-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.cert-issuer {
  font: 700 11px 'DM Mono', monospace;
  color: var(--orange, #fd7758);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cert-title {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: var(--ink, #161a25);
}
.cert-skills {
  font-size: 11px;
  color: var(--muted, #727685);
  line-height: 1.5;
  margin-bottom: 16px;
}
.cert-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 26, 37, 0.07);
}
.cert-btn-view {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink, #161a25);
  color: #fff;
  border: none;
  font: 800 11px Manrope, sans-serif;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.cert-btn-view:hover {
  background: var(--orange, #fd7758);
}
.cert-btn-verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(22, 26, 37, 0.07);
  color: var(--ink, #161a25);
  text-decoration: none;
  font: 800 11px Manrope, sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}
.cert-btn-verify:hover {
  background: rgba(22, 26, 37, 0.14);
}

/* ═════════════════════════════════════════════════════════════════
   CERTIFICATE PREVIEW MODAL
   ═════════════════════════════════════════════════════════════════ */
#cert-modal .modal-box {
  max-width: 980px;
  grid-template-columns: 1fr;
  max-height: 94vh;
}
#cert-modal .cert-modal-body {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(22, 26, 37, 0.08);
  background: #fff;
}
#cert-modal .cert-modal-visual {
  background: #0f1219;
  display: grid;
  place-items: center;
  padding: 24px;
  max-height: 72vh;
  overflow: auto;
}
#cert-modal .cert-modal-visual img {
  max-width: 100%;
  max-height: 66vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
  .gateway-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gateway-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 16px;
  }
  .gateway-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 18px;
    font-size: 13px;
    box-sizing: border-box;
  }
  .gateway-meta {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.02em;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  #cert-modal .cert-modal-body {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px;
  }
}

@media (max-width: 640px) {
  .gateway-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .gateway-top {
    gap: 8px;
    margin-bottom: 16px;
  }
  .gateway-tag {
    font-size: 9.5px;
    padding: 5px 10px;
    letter-spacing: 0.08em;
  }
  .gateway-badge {
    font-size: 9.5px;
    padding: 4px 9px;
  }
  .gateway-body h3 {
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.25;
  }
  .gateway-body p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   04 / EXPERIENCE & TRACK RECORD SECTION
   ══════════════════════════════════════════════════════════════════ */
.experience-section {
  position: relative;
}
.filter-tabs-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-tabs-wrapper::-webkit-scrollbar {
  display: none;
}
@media (max-width: 640px) {
  .filter-tabs-wrapper {
    padding: 0 14px;
    margin-bottom: 24px;
  }
  .filter-tabs-wrapper .work-filter-tabs {
    display: inline-flex !important;
    width: max-content !important;
    max-width: none !important;
    padding: 4px !important;
  }
  .filter-tabs-wrapper .filter-tab {
    flex: 0 0 auto !important;
    padding: 8px 14px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
}
.experience-page-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 24px;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .experience-page-section {
    padding: 0 14px;
    margin-bottom: 50px;
  }
}
.experience-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.exp-card {
  padding: 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(22, 26, 37, 0.08);
  box-shadow: 0 16px 40px rgba(22, 26, 37, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.exp-card:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 119, 88, 0.3);
  box-shadow: 0 20px 48px rgba(22, 26, 37, 0.08);
}
.exp-grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Left Media Showcase */
.exp-media-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.exp-media-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #080a11;
  box-shadow: 0 12px 28px rgba(15, 20, 34, 0.16);
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
}
.exp-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}
.exp-stage-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease, transform 0.3s ease;
}
.exp-stage-video {
  object-fit: contain;
  background: #000;
}
.exp-stage-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.exp-stage-yt {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exp-frame-caption {
  font: 600 12px/1.4 Manrope, sans-serif;
  color: var(--ink);
  opacity: 0.85;
  padding: 0 4px;
  min-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.exp-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 18, 27, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease;
  user-select: none;
  opacity: 0.85;
}
.exp-slider-btn.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}
.exp-frame-controls.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}
.exp-slider-btn:hover {
  opacity: 1;
  background: #fd7758;
  border-color: #fd7758;
  transform: translateY(-50%) scale(1.1);
}
.exp-slider-btn.prev {
  left: 12px;
  padding-right: 2px;
}
.exp-slider-btn.next {
  right: 12px;
  padding-left: 2px;
}
.exp-frame-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.exp-counter-pill {
  background: rgba(14, 18, 27, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font: 700 10.5px/1 'DM Mono', monospace;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}
.exp-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 18, 27, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font: 700 10.5px/1 'DM Mono', monospace;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}
.exp-expand-btn:hover {
  background: #fd7758;
  border-color: #fd7758;
  transform: translateY(-1px);
}
.exp-media-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}
.exp-badge-cat {
  background: rgba(14, 18, 27, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font: 700 10px/1 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.exp-badge-date {
  background: #fd7758;
  color: #fff;
  font: 700 10px/1 'DM Mono', monospace;
  padding: 6px 11px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(253, 119, 88, 0.35);
}
.exp-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(15, 20, 34, 0.4);
  text-decoration: none;
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.25s ease, background 0.25s ease;
}
.exp-media-frame:hover .exp-play-overlay {
  opacity: 1;
  background: rgba(15, 20, 34, 0.6);
}
.exp-play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fd7758;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(253, 119, 88, 0.5);
  transform: scale(0.95);
  transition: transform 0.2s ease;
  padding-left: 3px;
}
.exp-media-frame:hover .exp-play-icon {
  transform: scale(1.08);
}
.exp-play-text {
  font: 700 11px 'DM Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.exp-thumbs-row {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(253, 119, 88, 0.4) transparent;
  padding: 4px 2px 8px;
}
.exp-thumbs-row::-webkit-scrollbar {
  height: 4px;
}
.exp-thumbs-row::-webkit-scrollbar-track {
  background: transparent;
}
.exp-thumbs-row::-webkit-scrollbar-thumb {
  background: rgba(253, 119, 88, 0.4);
  border-radius: 4px;
}
.exp-thumb-btn {
  flex: 0 0 74px;
  width: 74px;
  min-width: 74px;
  max-width: 74px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(22, 26, 37, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}
.exp-thumb-btn:hover {
  background: #fff;
  border-color: rgba(253, 119, 88, 0.6);
}
.exp-thumb-btn.active {
  border-color: #fd7758;
  background: #fff;
  box-shadow: 0 4px 14px rgba(253, 119, 88, 0.25);
  transform: translateY(-1px);
}
.exp-thumb-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.exp-thumb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.exp-thumb-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 11px;
  border-radius: 6px;
}
.exp-thumb-btn span,
.exp-thumb-caption {
  font: 600 9px/1.2 'DM Mono', monospace;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: block;
}

/* Right Content Column */
.exp-content-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.exp-meta-tag {
  font: 700 11px/1.3 'DM Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fd7758;
  margin-bottom: 8px;
}
.exp-title {
  font-family: var(--serif);
  font-size: clamp(23px, 2.3vw, 29px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}
.exp-details-box {
  background: rgba(22, 26, 37, 0.035);
  border: 1px solid rgba(22, 26, 37, 0.07);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}
.exp-detail-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  line-height: 1.5;
}
.exp-label {
  font: 700 10.5px 'DM Mono', monospace;
  letter-spacing: 0.08em;
  color: var(--muted);
  min-width: 130px;
  flex-shrink: 0;
}
.exp-val {
  color: var(--ink);
}
.exp-desc p {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(22, 26, 37, 0.82);
  margin: 0;
}
.exp-quote-box {
  background: linear-gradient(135deg, rgba(253, 119, 88, 0.08), rgba(207, 195, 245, 0.16));
  border-left: 3.5px solid #fd7758;
  border-radius: 0 16px 16px 0;
  padding: 16px 20px;
}
.exp-quote-kicker {
  font: 700 10.5px 'DM Mono', monospace;
  letter-spacing: 0.1em;
  color: #fd7758;
  margin-bottom: 6px;
}
.exp-quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}
.exp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.exp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Responsive Experience Styles */
@media (max-width: 980px) {
  .exp-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .exp-card {
    padding: 24px 20px;
    border-radius: 24px;
  }
  .exp-detail-row {
    flex-direction: column;
    gap: 4px;
  }
  .exp-label {
    min-width: auto;
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .exp-card {
    padding: 16px 14px;
    border-radius: 20px;
  }
  .exp-media-frame {
    border-radius: 14px;
  }
  .exp-media-badges {
    top: 8px;
    left: 8px;
    right: 8px;
    gap: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .exp-badge-cat,
  .exp-badge-date {
    font-size: 8px;
    padding: 3px 6px;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
  }
  .exp-badge-cat {
    max-width: 48%;
  }
  .exp-badge-date {
    max-width: 50%;
  }
  .exp-slider-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
    background: rgba(14, 18, 27, 0.88);
  }
  .exp-slider-btn.prev {
    left: 6px;
  }
  .exp-slider-btn.next {
    right: 6px;
  }
  .exp-frame-controls {
    bottom: 8px;
    right: 8px;
    gap: 5px;
  }
  .exp-counter-pill,
  .exp-expand-btn {
    font-size: 8.5px;
    padding: 3px 6px;
    white-space: nowrap;
  }
  .exp-expand-btn svg {
    width: 11px;
    height: 11px;
  }
  .exp-play-icon {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .exp-play-text {
    font-size: 9.5px;
  }
  .exp-frame-caption {
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 28px;
  }
  .exp-thumb-btn {
    flex: 0 0 68px;
    width: 68px;
    min-width: 68px;
    max-width: 68px;
    padding: 3px;
  }
  .exp-thumb-btn span,
  .exp-thumb-caption {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
  }
  .exp-title {
    font-size: 19px;
    line-height: 1.3;
  }
  .exp-details-box {
    padding: 12px 12px;
    font-size: 12px;
  }
  .exp-desc p {
    font-size: 13px;
    line-height: 1.65;
  }
  .exp-quote-box {
    padding: 12px 12px;
  }
  .exp-quote-text {
    font-size: 13px;
  }
  .exp-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .exp-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
  }
}

/* Full-Screen Interactive Media Frame Modal ("framenya bisa di geser geser") */
.exp-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 14, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.exp-lightbox-overlay.active {
  display: flex;
  opacity: 1;
}
.exp-modal-box {
  background: rgba(18, 22, 33, 0.96);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75);
  width: 100%;
  max-width: 1060px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: expModalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes expModalPop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.exp-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 17, 26, 0.85);
  gap: 12px;
}
.exp-modal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  min-width: 0;
}
.exp-modal-badge {
  background: #fd7758;
  color: #fff;
  font: 700 10.5px/1 'DM Mono', monospace;
  padding: 6px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.exp-modal-counter {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: 700 10.5px/1 'DM Mono', monospace;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.exp-modal-title {
  font: 700 13.5px Manrope, sans-serif;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.exp-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.exp-modal-close:hover {
  background: #fd7758;
  border-color: #fd7758;
  transform: rotate(90deg);
}
.exp-modal-viewport {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07090f;
  min-height: 360px;
  max-height: 62vh;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}
.exp-modal-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.exp-modal-img {
  max-width: 100%;
  max-height: 58vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  user-select: none;
}
.exp-modal-video {
  max-width: 100%;
  max-height: 58vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.exp-modal-iframe {
  width: 100%;
  max-width: 880px;
  aspect-ratio: 16 / 9;
  max-height: 56vh;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.exp-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(22, 26, 37, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease;
  user-select: none;
}
.exp-modal-nav.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}
.exp-modal-nav:hover {
  background: #fd7758;
  border-color: #fd7758;
  transform: translateY(-50%) scale(1.1);
}
.exp-modal-nav.prev {
  left: 18px;
  padding-right: 3px;
}
.exp-modal-nav.next {
  right: 18px;
  padding-left: 3px;
}
.exp-modal-footer {
  padding: 14px 20px 18px;
  background: rgba(14, 17, 26, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.exp-modal-caption {
  color: #e2e6f2;
  font: 500 13px/1.5 Manrope, sans-serif;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.exp-modal-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px;
}
.exp-modal-thumb-item {
  width: 76px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: #000;
}
.exp-modal-thumb-item.active {
  border-color: #fd7758;
  box-shadow: 0 0 14px rgba(253, 119, 88, 0.6);
  transform: scale(1.06);
}
.exp-modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exp-modal-thumb-item .thumb-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 10px;
}
.exp-modal-hint {
  font: 600 10.5px 'DM Mono', monospace;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  letter-spacing: 0.04em;
}

/* Mobile responsive for modal and card frames */
@media (max-width: 640px) {
  .exp-lightbox-overlay {
    padding: 10px;
  }
  .exp-modal-box {
    border-radius: 18px;
    max-height: 96vh;
  }
  .exp-modal-topbar {
    padding: 12px 14px;
  }
  .exp-modal-title {
    display: none;
  }
  .exp-modal-viewport {
    min-height: 280px;
    max-height: 52vh;
  }
  .exp-modal-img, .exp-modal-video {
    max-height: 50vh;
  }
  .exp-modal-nav {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  .exp-modal-nav.prev { left: 10px; }
  .exp-modal-nav.next { right: 10px; }
  .exp-modal-footer {
    padding: 12px 14px 14px;
    gap: 8px;
  }
  .exp-modal-thumb-item {
    width: 60px;
    height: 38px;
  }
  .exp-slider-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  .exp-frame-controls {
    bottom: 8px;
    right: 8px;
    gap: 6px;
  }
  .exp-counter-pill, .exp-expand-btn {
    font-size: 9.5px;
    padding: 5px 8px;
  }
}

/* Enhanced Skill Cards Layout for Fitriya */
.skill-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px !important;
  margin-top: 36px !important;
}
.skill {
  min-height: 220px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 24px !important;
  padding-bottom: 36px !important;
  position: relative !important;
}
.skill > span {
  font-size: 11px !important;
  font-weight: 700 !important;
  display: block !important;
}
.skill h3 {
  font-size: 17.5px !important;
  margin: 18px 0 8px !important;
  line-height: 1.3 !important;
}
.skill p {
  font-size: 11.5px !important;
  line-height: 1.55 !important;
  margin-bottom: 24px !important;
  color: var(--muted) !important;
}
.skill i {
  position: absolute !important;
  left: 24px !important;
  bottom: 18px !important;
  width: calc(var(--level) - 48px) !important;
  max-width: calc(100% - 48px) !important;
  height: 6px !important;
  border-radius: 6px !important;
}

/* 4-column balanced skill grid */
@media (min-width: 1024px) {
  .skill-list {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
  }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .skill-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

/* Solid Certificate Modal */
#cert-modal.modal-overlay {
  background: rgba(10, 14, 24, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 10000 !important;
}
#cert-modal .modal-box {
  background: #ffffff !important;
  box-shadow: 0 32px 80px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border: none !important;
}
#cert-modal .cert-modal-visual {
  background: #141824 !important;
  min-height: 380px !important;
}
#cert-modal .cert-modal-body {
  background: #ffffff !important;
}
