/* ═══════════════════════════════════════════════════════════
   SYARIF HIDAYAT — PORTFOLIO
   style.css — Core styles, layout, components
═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ───────────────────────────────────────────── */
:root {
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-pale:   #f5e6b8;
  --gold-dim:    rgba(201,168,76,.12);
  --gold-glow:   rgba(201,168,76,.25);

  --bg:          #080808;
  --bg-2:        #0d0d0d;
  --bg-3:        #121212;
  --surface:     #181818;
  --surface-2:   #1e1e1e;

  --text:        #f0ece4;
  --text-muted:  #7a7060;
  --text-dim:    #4a4540;

  --border:      rgba(201,168,76,.18);
  --border-dim:  rgba(201,168,76,.08);

  --radius:      2px;
  --clip-sm:     polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
  --clip-md:     polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,16px 100%,0 calc(100% - 16px));
  --clip-lg:     polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,24px 100%,0 calc(100% - 24px));

  --nav-h:       72px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-out:    cubic-bezier(0,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ─── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }
strong { font-weight: 500; }

/* ─── SCROLLBAR ────────────────────────────────────────── */
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ─── NOISE OVERLAY ────────────────────────────────────── */
#noise-overlay {
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ─── CURSOR ────────────────────────────────────────────── */
#cursor-dot {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s var(--ease), height .2s var(--ease), opacity .2s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(201,168,76,.5);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .35s var(--ease), height .35s var(--ease), opacity .2s;
}
body:has(a:hover) #cursor-dot,
body:has(button:hover) #cursor-dot { width: 16px; height: 16px; }
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { width: 48px; height: 48px; opacity: .4; }

/* ─── LOADER ────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 9995;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem;
}
.loader-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 600;
  color: var(--gold); letter-spacing: .2em;
}
.loader-bar-wrap {
  width: 200px; height: 1px;
  background: var(--surface-2); overflow: hidden;
}
.loader-bar {
  height: 100%; width: 0%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transition: width .1s linear;
}
.loader-pct {
  font-size: .7rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ─── NAVIGATION ────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 3.5rem;
  transition: background .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(20px);
  border-color: var(--border-dim);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--gold); letter-spacing: .12em;
  transition: opacity .3s;
}
.nav-logo:hover { opacity: .7; }

.nav-links {
  display: flex; gap: 2.5rem; align-items: center;
}
.nav-links a {
  font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted);
  transition: color .3s;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1.25rem; }

/* Lang switch */
.lang-switch {
  display: flex; align-items: center; gap: .4rem;
  padding: .3rem .5rem;
  border: 1px solid var(--border-dim); border-radius: 100px;
}
.lang-btn {
  font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  padding: .2rem .5rem; border-radius: 100px;
  transition: all .25s;
}
.lang-btn.active {
  background: var(--gold); color: var(--bg);
  font-weight: 500;
}
.lang-divider { color: var(--text-dim); font-size: .7rem; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none;
  cursor: pointer; padding: .4rem;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--gold); transition: all .3s var(--ease);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; top: 0; right: -100%;
  width: min(320px, 85vw); height: 100vh;
  background: var(--bg-2); z-index: 999;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 4rem 3rem;
  border-left: 1px solid var(--border-dim);
  transition: right .4s var(--ease);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 1.5rem; width: 100%; }
.mobile-drawer a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: .06em;
  transition: color .3s, transform .3s;
  display: block;
}
.mobile-drawer a:hover { color: var(--gold); transform: translateX(8px); }
.drawer-lang {
  margin-top: 3rem; display: flex;
  align-items: center; gap: .5rem;
}
.drawer-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: all .4s;
}
.drawer-overlay.visible { opacity: 1; visibility: visible; }

/* ─── LAYOUT ────────────────────────────────────────────── */
.container {
  max-width: 1160px; margin: 0 auto;
  padding: 0 3.5rem;
}
section { padding: 9rem 0; }
.section-dark { background: var(--bg-2); }

.section-header { margin-bottom: 5rem; }
.section-eyebrow {
  display: block; font-size: .68rem;
  letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700; line-height: 1.08;
  color: var(--text);
}
.gold-rule {
  width: 48px; height: 2px; margin-top: 2rem;
  background: linear-gradient(to right, var(--gold), transparent);
}
.body-text {
  color: var(--text-muted); line-height: 1.9;
  font-size: .92rem; margin-bottom: 1.25rem;
}
.body-text strong { color: var(--text); }
.gold-text { color: var(--gold); font-weight: 500; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center;
  gap: .6rem; padding: .85rem 2.2rem;
  font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 500;
  transition: all .3s var(--ease);
  clip-path: var(--clip-sm); cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--bg);
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,.25);
}
.btn-ghost {
  background: transparent; color: var(--gold);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── HERO ──────────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#three-canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 2rem;
  max-width: 900px;
}
.hero-eyebrow {
  display: flex; align-items: center;
  justify-content: center; gap: 1rem;
  font-size: .7rem; letter-spacing: .4em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem;
}
.eyebrow-line {
  display: block; width: 40px; height: 1px;
  background: var(--gold); opacity: .5;
}
.hero-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(4.5rem, 11vw, 10rem);
  font-weight: 800; line-height: .92;
  letter-spacing: -.02em;
  display: flex; flex-direction: column;
  align-items: center;
}
.name-line { display: block; overflow: hidden; }
.name-line.gold { color: var(--gold); }
.hero-sub {
  margin-top: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic; font-weight: 300;
  color: var(--text-muted); letter-spacing: .1em;
}
.hero-actions {
  margin-top: 3rem;
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: .75rem;
}
.hero-scroll-hint span {
  font-size: .62rem; letter-spacing: .35em;
  text-transform: uppercase; color: var(--text-muted);
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 100px;
  display: flex; justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 6px;
  background: var(--gold); border-radius: 100px;
  animation: scrollWheel 1.8s var(--ease) infinite;
}

/* Floating badges */
.hero-badge {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem;
  background: rgba(8,8,8,.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  font-size: .68rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--text-muted);
  clip-path: var(--clip-sm);
  animation: floatBadge 4s ease-in-out infinite;
}
.badge-icon { color: var(--gold); }
.badge-bnsp    { bottom: 22%; left: 6%; animation-delay: 0s; }
.badge-renjani { bottom: 30%; right: 6%; animation-delay: 1.4s; }

/* ─── ABOUT ─────────────────────────────────────────────── */
#about { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 420px 1fr;
  gap: 6rem; align-items: start;
}
.about-photo-col { position: relative; }

.photo-frame {
  position: relative; width: 100%;
  aspect-ratio: 3/4;
}
.photo-corner {
  position: absolute; width: 20px; height: 20px;
  z-index: 3; pointer-events: none;
}
.photo-corner.tl { top: -8px; left: -8px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.photo-corner.tr { top: -8px; right: -8px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.photo-corner.bl { bottom: -8px; left: -8px; border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.photo-corner.br { bottom: -8px; right: -8px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

.profile-img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top;
  filter: grayscale(15%) contrast(1.05);
  transition: filter .5s;
  position: relative; z-index: 1;
}
.profile-img:hover { filter: grayscale(0%) contrast(1.08); }

.photo-fallback {
  display: none; position: absolute; inset: 0; z-index: 2;
  flex-direction: column; align-items: center;
  justify-content: center; gap: .75rem;
  background: var(--surface); border: 1px dashed var(--border);
  color: var(--text-muted); font-size: .75rem;
  letter-spacing: .1em;
}
.photo-fallback span { font-size: 2.5rem; opacity: .3; }
.photo-frame.no-photo .profile-img { display: none; }
.photo-frame.no-photo .photo-fallback { display: flex; }

.photo-glow {
  position: absolute; bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 80px;
  background: radial-gradient(ellipse, var(--gold-glow), transparent 70%);
  pointer-events: none; z-index: 0;
  filter: blur(20px);
}

.photo-stat-card {
  position: absolute; bottom: -2rem; right: -2rem;
  background: var(--gold); color: var(--bg);
  padding: 1.25rem 1.75rem; z-index: 4;
  clip-path: var(--clip-sm);
  text-align: center;
}
.pstat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700;
  line-height: 1; margin-bottom: .2rem;
}
.pstat-label {
  font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 500;
}

.about-text-col { padding-top: 1rem; }

/* Stats */
.stats-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; margin-top: 3rem;
  border: 1px solid var(--border-dim);
  background: var(--border-dim);
  clip-path: var(--clip-sm);
}
.stat-box {
  background: var(--bg);
  padding: 1.75rem 1.5rem; text-align: center;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.6rem; font-weight: 800;
  color: var(--gold); line-height: 1;
  margin-bottom: .3rem;
}
.stat-lbl {
  font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ─── EXPERIENCE ────────────────────────────────────────── */
#experience {}
.timeline {
  position: relative; padding-left: 3rem;
}
.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 8px; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--border-dim) 60%, transparent 100%);
}
.timeline-item {
  position: relative; margin-bottom: 4.5rem;
}
.timeline-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute; left: -3.35rem; top: 5px;
  width: 10px; height: 10px;
  background: var(--gold); border-radius: 50%;
  border: 2px solid var(--bg-2);
  box-shadow: 0 0 0 4px var(--gold-dim);
}
.tl-year {
  font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .75rem;
}
.tl-tag {
  display: inline-block;
  font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted);
  border: 1px solid var(--border-dim);
  padding: .25rem .8rem; margin-bottom: .75rem;
  clip-path: var(--clip-sm);
}
.tl-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600;
  line-height: 1.2; margin-bottom: .3rem; color: var(--text);
}
.tl-org {
  font-size: .78rem; color: var(--text-muted);
  letter-spacing: .08em; margin-bottom: 1.1rem;
}
.tl-desc {
  color: var(--text-muted); line-height: 1.85;
  font-size: .9rem; max-width: 620px;
  margin-bottom: 1.25rem;
}
.tl-desc strong { color: var(--text); }
.tl-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  font-size: .65rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--border);
  padding: .3rem .85rem;
  clip-path: var(--clip-sm);
  transition: background .25s, color .25s;
}
.pill:hover { background: var(--gold-dim); }

/* ─── EDUCATION ─────────────────────────────────────────── */
#education { background: var(--bg); }
.edu-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
}
.edu-card {
  border: 1px solid var(--border-dim);
  clip-path: var(--clip-md);
  transition: border-color .35s, transform .35s var(--ease);
  position: relative; overflow: hidden;
}
.edu-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.edu-card:hover { border-color: var(--border); transform: translateY(-6px); }
.edu-card:hover::before { transform: scaleX(1); }
.edu-card-inner { padding: 2.5rem; }
.edu-period {
  font-size: .65rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem;
}
.edu-icon { font-size: 2rem; margin-bottom: 1rem; }
.edu-school {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600;
  margin-bottom: .4rem; line-height: 1.3;
}
.edu-major { font-size: .82rem; color: var(--text-muted); }
.edu-divider {
  width: 30px; height: 1px;
  background: var(--border); margin: 1.25rem 0;
}
.edu-note {
  font-size: .72rem; letter-spacing: .1em;
  color: var(--text-dim); text-transform: uppercase;
}

/* ─── SKILLS ────────────────────────────────────────────── */
#skills {}
.skills-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 5rem;
}
.skills-col-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400; font-style: italic;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 2.5rem;
}
.skill-bars { display: flex; flex-direction: column; gap: 1.75rem; }
.skill-item {}
.skill-meta {
  display: flex; justify-content: space-between;
  margin-bottom: .6rem;
  font-size: .78rem; letter-spacing: .06em;
  color: var(--text-muted);
}
.skill-pct { color: var(--gold); font-weight: 500; }
.skill-track {
  height: 1px; background: var(--surface-2);
  overflow: hidden; position: relative;
}
.skill-fill {
  height: 100%; width: 0%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transition: width 1.4s var(--ease-out);
  position: relative;
}
.skill-fill::after {
  content: ''; position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--gold-light); border-radius: 50%;
}

.soft-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: .75rem;
}
.soft-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border-dim);
  font-size: .78rem; letter-spacing: .06em;
  color: var(--text-muted);
  clip-path: var(--clip-sm);
  transition: all .3s var(--ease);
}
.soft-card:hover {
  border-color: var(--border);
  background: var(--surface-2);
  color: var(--text);
  transform: translateX(4px);
}
.soft-icon { font-size: 1rem; }

/* ─── CERTIFICATES ──────────────────────────────────────── */
#certificates { background: var(--bg); }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.cert-card {
  border: 1px solid var(--border-dim);
  clip-path: var(--clip-sm);
  overflow: hidden; cursor: pointer;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
  background: var(--surface);
}
.cert-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}
.cert-thumb {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--surface-2);
}
.cert-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(40%);
  transition: filter .45s var(--ease), transform .45s var(--ease);
}
.cert-card:hover .cert-thumb img {
  filter: grayscale(0%); transform: scale(1.06);
}
.cert-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
  color: var(--text-dim);
}
.cert-thumb-placeholder .ph-icon { font-size: 2rem; opacity: .25; }
.cert-thumb-placeholder small {
  font-size: .65rem; letter-spacing: .1em;
  text-transform: uppercase;
}
.cert-hover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.85) 0%, transparent 50%);
  opacity: 0; transition: opacity .35s;
  display: flex; align-items: flex-end; padding: 1rem;
}
.cert-card:hover .cert-hover-overlay { opacity: 1; }
.cert-hover-label {
  font-size: .65rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
}
.cert-info { padding: 1.1rem 1.25rem; }
.cert-issuer {
  font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .4rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.cert-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: .98rem; font-weight: 600;
  line-height: 1.35; color: var(--text);
  margin-bottom: .3rem;
}
.cert-year {
  font-size: .68rem; color: var(--text-dim);
  letter-spacing: .1em;
}

/* ─── LIGHTBOX ──────────────────────────────────────────── */
#lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
}
#lightbox[hidden] { display: none; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(12px);
}
.lb-panel {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
.lb-panel img {
  max-width: 88vw; max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.lb-close {
  position: absolute; top: -2.5rem; right: 0;
  background: none; border: none; cursor: pointer;
  color: var(--gold); font-size: 1.2rem; padding: .5rem;
  transition: transform .3s, opacity .3s; opacity: .7;
}
.lb-close:hover { transform: rotate(90deg); opacity: 1; }
.lb-caption {
  font-size: .75rem; letter-spacing: .1em;
  color: var(--text-muted); text-align: center;
  max-width: 500px;
}

/* ─── CONTACT ───────────────────────────────────────────── */
#contact {}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 6rem; align-items: start;
}
.contact-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.ci-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.ci-body { display: flex; flex-direction: column; gap: .2rem; }
.ci-label {
  font-size: .62rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--text-dim);
}
.ci-value {
  font-size: .88rem; color: var(--text-muted);
  transition: color .3s;
}
.ci-value:hover { color: var(--gold); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-muted);
}
.form-input, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem; font-weight: 300;
  padding: .85rem 1.1rem; outline: none;
  transition: border-color .3s, background .3s;
  clip-path: var(--clip-sm);
  resize: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: var(--surface-2);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-dim); opacity: .6;
}
.form-input.input-error, .form-textarea.input-error {
  border-color: #c0392b;
  animation: shake .4s var(--ease);
}
.form-submit { align-self: flex-start; margin-top: .5rem; }

/* WA notice */
.wa-notice {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  font-size: .72rem; letter-spacing: .08em;
  color: var(--text-muted);
  clip-path: var(--clip-sm);
}
.wa-icon { font-size: 1rem; }
.wa-btn-icon { font-size: .9rem; }

/* ─── FOOTER ────────────────────────────────────────────── */
#footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-dim);
  padding: 2.5rem 3.5rem;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 2rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--gold); letter-spacing: .15em;
  display: block; margin-bottom: .3rem;
}
.footer-tagline {
  font-size: .65rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-dim);
}
.footer-nav {
  display: flex; gap: 2rem; justify-content: center;
}
.footer-nav a {
  font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted);
  transition: color .3s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: .65rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-dim);
  text-align: right;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-photo-col { max-width: 380px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  #navbar { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 1.5rem; }
  section { padding: 5.5rem 0; }
  .section-header { margin-bottom: 3rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .badge-bnsp, .badge-renjani { display: none; }
  .edu-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; gap: 3rem; }
  .soft-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
  .stats-row { grid-template-columns: repeat(3,1fr); }
  .timeline { padding-left: 2rem; }
  .tl-dot { left: -2.35rem; }
}
@media (max-width: 480px) {
  .hero-name { font-size: clamp(3.5rem, 18vw, 5rem); }
  .cert-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 0; }
}
