/* ======================================================
   PORTFOLIO — style.css
   Struktur folder:
   portfolio/
   ├── index.html
   ├── style.css       ← file ini
   └── images/         ← semua foto taruh di sini
   ====================================================== */

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

/* ── WARNA — ubah di sini untuk ganti palet ── */
:root {
  --black:       #0D2B27;
  --forest:      #184D47;
  --forest-mid:  #1F5C54;
  --amber:       #FAD586;
  --amber-light: #FCE1A6;
  --offwhite:    #D6EFC7;
  --sage:        #4F7F63;
  --sage-light:  #96BB7C;
  --gray:        #123B37;
  --gray-mid:    #1B4B45;
  --text-muted:  #7CA88C;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--offwhite);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
}

/* ── CUSTOM CURSOR (disembunyikan di HP) ── */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}
.cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid rgba(250,213,134,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
.cursor.hovered  { width: 20px; height: 20px; background: var(--amber-light); }
.cursor-ring.hovered { width: 60px; height: 60px; opacity: 0.3; }

/* ── SPOTLIGHT ── */
.spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle 300px at var(--mx,50%) var(--my,50%), rgba(250,213,134,0.04) 0%, transparent 70%);
  transition: background 0.1s ease;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(13,43,39,0.95) 0%, transparent 100%);
}
.nav-logo {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-decoration: none;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--offwhite);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
  text-transform: uppercase;
}
.nav-links a:hover { opacity: 1; color: var(--amber); }
.nav-cta {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-decoration: none;
  border: 1px solid var(--amber);
  padding: 10px 20px;
  transition: background 0.3s, color 0.3s;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--amber); color: var(--black); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(13,43,39,0.92) 40%, rgba(13,43,39,0.3) 100%),
    linear-gradient(to top, rgba(13,43,39,0.9) 20%, transparent 60%),
    var(--hero-photo, radial-gradient(ellipse 80% 60% at 70% 40%, #184D47 0%, #0D2B27 100%));
  background-size: cover;
  background-position: center;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(250,213,134,0.03) 79px, rgba(250,213,134,0.03) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(250,213,134,0.03) 79px, rgba(250,213,134,0.03) 80px);
}
.hero-lens {
  position: absolute;
  right: 8%; top: 50%;
  transform: translateY(-50%);
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(250,213,134,0.15);
  box-shadow:
    0 0 0 30px rgba(250,213,134,0.04),
    0 0 0 80px rgba(250,213,134,0.025),
    0 0 0 160px rgba(250,213,134,0.01);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-lens::after {
  content: '';
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(250,213,134,0.25);
  box-shadow: inset 0 0 60px rgba(250,213,134,0.08);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 7vw, 70px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-title em { font-style: italic; color: var(--amber); display: block; }
.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 2.5vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--sage-light);
  margin-bottom: 32px;
  line-height: 1.4;
}
.hero-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(214,239,199,0.65);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--amber);
  padding: 16px 32px;
  transition: background 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); }
.btn-secondary {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--offwhite);
  padding: 16px 32px;
  border: 1px solid rgba(214,239,199,0.2);
  transition: border-color 0.3s, color 0.3s;
}
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); }
.hero-scroll {
  position: absolute;
  bottom: 32px; right: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-scroll::before {
  content: '';
  height: 60px; width: 1px;
  background: linear-gradient(to top, var(--amber), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.4; }
}
.hero-stats {
  position: absolute;
  bottom: 80px; right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
  display: block;
}
.stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── SHARED SECTION ── */
section { position: relative; }
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--amber); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--amber); }
.divider { width: 60px; height: 1px; background: linear-gradient(to right, var(--amber), transparent); margin: 24px 0; }

/* ── ABOUT ── */
.about { padding: 120px 48px; background: var(--forest); }
.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-visual { position: relative; }
.about-frame {
  aspect-ratio: 4/5;
  background: var(--forest-mid);
  border: 1px solid rgba(250,213,134,0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-frame-inner {
  width: 85%; height: 85%;
  background: linear-gradient(135deg, #184D47 0%, #1F5C54 40%, #184D47 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-frame-inner::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(250,213,134,0.1);
  border-radius: 2px;
}
.about-icon { font-size: 80px; opacity: 0.2; }
.about-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--amber);
  color: var(--black);
  padding: 16px 24px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.about-corner {
  position: absolute;
  top: -16px; left: -16px;
  width: 80px; height: 80px;
  border-top: 2px solid var(--amber);
  border-left: 2px solid var(--amber);
}
.about-text p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(214,239,199,0.7);
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-text p strong { color: var(--offwhite); font-weight: 500; }
.about-hobbies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.hobby-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--sage-light);
  border: 1px solid rgba(92,107,90,0.4);
  padding: 6px 14px;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}
.hobby-tag:hover { border-color: var(--amber); color: var(--amber); }

/* ── SKILLS ── */
.skills { padding: 120px 48px; background: var(--black); }
.skills-inner { max-width: 1200px; margin: 0 auto; }
.skills-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.skills-desc { font-size: 15px; color: rgba(214,239,199,0.6); line-height: 1.8; padding-top: 20px; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(250,213,134,0.08);
}
.skills-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.skill-card {
  background: var(--black);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  --photo-opacity: 0.12;
}
.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--amber);
  transition: height 0.4s ease;
  z-index: 2;
}
.skill-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: var(--photo-opacity);
  z-index: 0;
  transition: opacity 0.5s ease;
}
/* GANTI FOTO SKILL DI SINI — sesuaikan nama file */
.skill-card:nth-child(1)::after { background-image: url('images/display-photo.jpg'); }
.skill-card:nth-child(2)::after { background-image: url('images/Video.jpg'); }
.skill-card:nth-child(3)::after { background-image: url('images/graphic.jpg'); }
.skill-card:hover { background: var(--forest); --photo-opacity: 0.30; }
.skill-card:hover::before { height: 100%; }
.skill-num, .skill-icon, .skill-name, .skill-desc, .skill-tags { position: relative; z-index: 1; }
.skill-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  opacity: 0.6;
}
.skill-icon { font-size: 36px; margin-bottom: 20px; display: block; }
.skill-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.skill-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(214,239,199,0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--sage-light);
  padding: 4px 10px;
  border: 1px solid rgba(92,107,90,0.3);
  text-transform: uppercase;
}

/* ── PORTFOLIO ── */
.portfolio { padding: 120px 48px; background: var(--forest); }
.portfolio-inner { max-width: 1200px; margin: 0 auto; }
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}
.portfolio-filter { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-btn {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 16px;
  cursor: none;
  transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover { color: var(--black); background: var(--amber); border-color: var(--amber); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.portfolio-item {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background: var(--gray);
  cursor: none;
}
.portfolio-item.wide { grid-column: span 2; aspect-ratio: unset; }
.portfolio-item-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.portfolio-item:hover .portfolio-item-bg { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,43,39,0.92) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.4s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.portfolio-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; }
.p1 { background: linear-gradient(135deg, #0D2B27, #184D47, #123B37); }
.p2 { background: linear-gradient(135deg, #1F5C54, #2C6E5C, #184D47); }
.p3 { background: linear-gradient(135deg, #0D2B27, #123B37, #1B4B45); }
.p4 { background: linear-gradient(135deg, #4A3A17, #8A6B2E, #4A3A17); }
.p5 { background: linear-gradient(135deg, #3B2A50, #6B4E8A, #3B2A50); }
.p6 { background: linear-gradient(135deg, #2E4A28, #4F7F63, #2E4A28); }
.p7 { background: linear-gradient(135deg, #1A2E4A, #2B4E7A, #1A2E4A); }
.p8 { background: linear-gradient(135deg, #4A2A1A, #8A5B2E, #4A2A1A); }
.p9 { background: linear-gradient(135deg, #1F3A40, #2E6E6E, #1F3A40); }
.portfolio-more { text-align: center; margin-top: 48px; }

/* ── WEBDEV NOTE ── */
.webdev-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 28px;
  border: 1px solid rgba(250,213,134,0.12);
  background: rgba(250,213,134,0.03);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.webdev-badge {
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  color: var(--amber);
  flex-shrink: 0;
  opacity: 0.7;
}
.webdev-note p {
  font-size: 13px;
  color: rgba(214,239,199,0.5);
  line-height: 1.6;
}
.webdev-note p strong { color: rgba(214,239,199,0.75); font-weight: 500; }

/* ── SERVICE PICKER ── */
.service-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 40px;
  background: rgba(250,213,134,0.06);
}
.service-card {
  background: var(--black);
  padding: 28px 20px;
  text-align: center;
  cursor: none;
  transition: background 0.3s, transform 0.2s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover::before, .service-card.active::before { transform: scaleX(1); }
.service-card:hover { background: var(--forest); }
.service-card.active { background: var(--forest-mid); border-color: rgba(250,213,134,0.2); }
.service-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.service-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--offwhite);
  margin-bottom: 8px;
}
.service-subs {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 1.7;
  text-transform: uppercase;
}

/* ── PROCESS ── */
.process { padding: 120px 48px; background: var(--black); }
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%;
  width: 80%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(250,213,134,0.3) 20%, rgba(250,213,134,0.3) 80%, transparent);
}
.process-step { padding: 0 32px; position: relative; text-align: center; }
.step-dot {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(250,213,134,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px auto; /* center horizontal */
  font-size: 24px;
  background: var(--black);
  position: relative;
  z-index: 1;
}
.step-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 12px;
  opacity: 0.7;
}
.step-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.step-desc { font-size: 14px; font-weight: 300; color: rgba(214,239,199,0.55); line-height: 1.7; text-align: left; }

/* ── TESTIMONIAL ── */
.testimonial { padding: 120px 48px; background: var(--forest); overflow: hidden; }
.testimonial-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 200px;
  color: rgba(250,213,134,0.06);
  line-height: 0.7;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}
/* Slider wrapper */
.t-slider {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  margin-bottom: 40px;
}

/* Setiap slide */
.t-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.t-slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.t-slide.entering-prev { transform: translateX(-60px); opacity: 0; }
.t-slide.leaving-next  { transform: translateX(-60px); opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease; }
.t-slide.leaving-prev  { transform: translateX(60px);  opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease; }

.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.8vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--offwhite);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid rgba(250,213,134,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.author-name {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--offwhite);
  text-align: left;
  font-weight: 700;
}
.author-role { font-size: 13px; color: var(--text-muted); text-align: left; }

/* Nav: panah + dots */
.t-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.t-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250,213,134,0.25);
  background: rgba(250,213,134,0.06);
  color: var(--amber);
  font-size: 13px;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.t-arrow:hover {
  background: rgba(250,213,134,0.18);
  border-color: var(--amber);
  transform: scale(1.1);
}
.testimonial-dots { display: flex; align-items: center; gap: 8px; }
.t-dot {
  width: 24px; height: 2px;
  background: rgba(250,213,134,0.25);
  cursor: none;
  border: none;
  transition: background 0.3s, width 0.3s;
}
.t-dot.active { background: var(--amber); width: 40px; }

/* Progress bar */
.t-progress {
  width: 160px;
  height: 2px;
  background: rgba(250,213,134,0.12);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px;
}
.t-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--amber);
  border-radius: 2px;
}

/* ── CONTACT ── */
.contact { padding: 120px 48px; background: var(--black); position: relative; overflow: hidden; }
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(250,213,134,0.05), transparent 70%);
}
.contact-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.contact .section-label { justify-content: center; }
.contact .section-label::before { display: none; }
.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 24px;
}
.contact-title em { font-style: italic; color: var(--amber); }
.contact-desc {
  font-size: 16px;
  font-weight: 300;
  color: rgba(214,239,199,0.6);
  line-height: 1.8;
  margin-bottom: 60px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-input, .form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214,239,199,0.1);
  color: var(--offwhite);
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  cursor: none;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-textarea:focus { border-color: var(--amber); }
.form-textarea { resize: none; min-height: 140px; }
.contact-info { display: flex; justify-content: center; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(214,239,199,0.6); }
.contact-item-icon { color: var(--amber); font-size: 18px; }

/* ── FOOTER ── */
footer {
  padding: 48px;
  background: var(--forest);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(250,213,134,0.1);
}
.footer-logo { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.15em; color: var(--amber); }
.footer-copy { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; }
.footer-socials { display: flex; gap: 20px; }
.social-link {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}
.social-link:hover { color: var(--amber); transform: translateY(-3px); }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── SIDEBAR DOTS ── */
.side-nav {
  position: fixed;
  left: 24px; top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(214,239,199,0.2);
  cursor: none;
  transition: background 0.3s, transform 0.3s;
}
.side-dot.active { background: var(--amber); transform: scale(1.5); }


/* ================================================================
   RESPONSIVE — TABLET (max 900px)
   ================================================================ */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-cta { font-size: 10px; padding: 8px 14px; }

  .hero { padding: 0 24px 100px; align-items: flex-end; }
  .hero-lens { display: none; }
  .hero-stats {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 32px;
    gap: 32px;
    text-align: left;
  }
  .hero-scroll { right: 24px; }

  .about { padding: 80px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }

  .skills { padding: 80px 24px; }
  .skills-header { grid-template-columns: 1fr; gap: 24px; }
  .skills-grid, .skills-grid-3 { grid-template-columns: 1fr; }
  .skill-card { padding: 36px 28px; }
  .service-picker { grid-template-columns: 1fr 1fr; }
  .webdev-note { margin-left: 0; margin-right: 0; }

  .portfolio { padding: 80px 24px; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item.wide { grid-column: span 1; }

  .process { padding: 80px 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps::before { display: none; }

  .testimonial { padding: 80px 24px; }
  .contact { padding: 80px 24px; }
  .form-row { grid-template-columns: 1fr; }

  footer { flex-direction: column; gap: 24px; text-align: center; }
  .side-nav { display: none; }
}

/* ================================================================
   RESPONSIVE — HP (max 480px)
   ================================================================ */
@media (max-width: 480px) {
  body { cursor: auto; }
  .cursor, .cursor-ring, .spotlight { display: none; }

  nav { padding: 16px 20px; }
  .nav-cta { display: none; }

  .hero {
    height: 100svh;
    min-height: 560px;
    padding: 0 20px 80px;
    align-items: flex-end;
  }
  .hero-bg {
    /* di HP, gradient ditarik lebih gelap supaya teks tetap terbaca */
    background:
      linear-gradient(to bottom, rgba(13,43,39,0.6) 0%, rgba(13,43,39,0.95) 60%),
      var(--hero-photo, radial-gradient(ellipse 80% 60% at 50% 40%, #184D47 0%, #0D2B27 100%));
  }
  .hero-eyebrow { font-size: 9px; }
  .hero-title { font-size: clamp(36px, 10vw, 52px); }
  .hero-sub { font-size: 15px; }
  .hero-desc { font-size: 13px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; justify-content: center; padding: 14px 24px; }
  .hero-stats {
    position: absolute;
    bottom: 24px; right: 20px;
    flex-direction: row;
    gap: 20px;
    text-align: right;
    margin: 0;
  }
  .stat-num { font-size: 20px; }
  .hero-scroll { display: none; }

  .about { padding: 60px 20px; }
  .about-badge { font-size: 9px; padding: 10px 14px; right: 0; bottom: -12px; }
  .about-corner { width: 50px; height: 50px; top: -10px; left: -10px; }

  .skills { padding: 60px 20px; }
  .skill-card { padding: 28px 20px; }
  .skill-name { font-size: 20px; }
  .skills-grid-3 { grid-template-columns: 1fr; }
  .service-picker { grid-template-columns: 1fr 1fr; gap: 2px; }
  .service-card { padding: 20px 12px; }
  .service-name { font-size: 13px; }
  .service-icon { font-size: 22px; margin-bottom: 8px; }

  .portfolio { padding: 60px 20px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item { aspect-ratio: 4/3; }
  .portfolio-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .portfolio-overlay { opacity: 1; }

  .process { padding: 60px 20px; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-step { padding: 0; }

  .testimonial { padding: 60px 20px; }
  .testimonial-text { font-size: 18px; }
  .quote-mark { font-size: 120px; }

  .contact { padding: 60px 20px; }
  .contact-info { flex-direction: column; align-items: center; gap: 16px; }

  footer { padding: 32px 20px; }
  .footer-socials { justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   YOUTUBE VIDEO ITEMS di portfolio grid
   ══════════════════════════════════════════════════════ */

/* Thumbnail YouTube */
.yt-thumb {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.portfolio-item--video:hover .yt-thumb { transform: scale(1.06); }

/* Tombol play di tengah item */
.yt-play-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,43,39,0.35);
  transition: background 0.3s ease;
}
.portfolio-item--video:hover .yt-play-btn {
  background: rgba(13,43,39,0.55);
}
.yt-play-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(250,213,134,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 0 rgba(250,213,134,0.4);
}
.portfolio-item--video:hover .yt-play-icon {
  transform: scale(1.15);
  background: var(--amber);
  box-shadow: 0 0 0 12px rgba(250,213,134,0.15);
}
.yt-play-icon i {
  color: var(--black);
  font-size: 20px;
  margin-left: 4px; /* optik: icon play sedikit ke kanan */
}

/* Label VIDEO badge di pojok kanan atas */
.portfolio-item--video::before {
  content: 'VIDEO';
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  background: var(--amber);
  color: var(--black);
  padding: 4px 10px;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════
   MODAL YOUTUBE PLAYER
   ══════════════════════════════════════════════════════ */
.yt-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.yt-modal.open {
  opacity: 1;
  pointer-events: all;
}

/* Backdrop gelap */
.yt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,26,23,0.92);
  cursor: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Kotak modal */
.yt-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  background: var(--forest-mid);
  border: 1px solid rgba(250,213,134,0.18);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.yt-modal.open .yt-modal-box {
  transform: translateY(0) scale(1);
}

/* Header modal */
.yt-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(250,213,134,0.1);
}
.yt-modal-meta { flex: 1; }
.yt-modal-cat {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 4px;
}
.yt-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--offwhite);
  margin-bottom: 4px;
}
.yt-modal-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(214,239,199,0.55);
  line-height: 1.5;
}

/* Tombol close */
.yt-modal-close {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(250,213,134,0.1);
  border: 1px solid rgba(250,213,134,0.2);
  color: var(--amber);
  font-size: 16px;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.yt-modal-close:hover {
  background: rgba(250,213,134,0.25);
  transform: rotate(90deg);
}

/* Wrapper iframe — responsive 16:9 */
.yt-modal-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.yt-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Mobile: modal fullscreen */
@media (max-width: 600px) {
  .yt-modal { padding: 0; align-items: flex-end; }
  .yt-modal-box { max-width: 100%; border-radius: 0; border-bottom: none; }
  .yt-play-icon { width: 48px; height: 48px; }
  .yt-play-icon i { font-size: 16px; }
}
