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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #f8f9fc;
  color: #5a5a6e;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.accent { color: #8fa8d4; }

.italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
}

/* ===== Soft Blobs ===== */
.soft-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  z-index: 0;
  pointer-events: none;
}

.blob-1 {
  width: 550px; height: 550px;
  background: #d8d4f0;
  top: -180px; right: -150px;
  opacity: 0.6;
  animation: blobFloat 22s ease-in-out infinite;
}

.blob-2 {
  width: 450px; height: 450px;
  background: #d4e3f5;
  bottom: -100px; left: -120px;
  opacity: 0.55;
  animation: blobFloat 28s ease-in-out infinite reverse;
}

.blob-3 {
  width: 380px; height: 380px;
  background: #e0d4f0;
  top: 45%; left: 40%;
  opacity: 0.35;
  animation: blobFloat 25s ease-in-out infinite;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.15); }
}

/* ===== Sparkles ===== */
.sparkle {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  color: #8fa8d4;
  opacity: 0.4;
  animation: sparkleFloat 4s ease-in-out infinite;
  font-size: 1.2rem;
}

.sp-1 { top: 18%; left: 6%; animation-delay: 0s; }
.sp-2 { top: 55%; right: 8%; animation-delay: -1s; font-size: 1rem; color: #b8a8d4; }
.sp-3 { bottom: 25%; left: 10%; animation-delay: -2s; font-size: 1.4rem; }
.sp-4 { top: 35%; right: 15%; animation-delay: -3s; font-size: 0.9rem; }

@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50% { transform: translateY(-15px) rotate(180deg); opacity: 0.8; }
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3.5rem;
  background: rgba(248, 249, 252, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(143, 168, 212, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  padding: 0.9rem 3.5rem;
  background: rgba(248, 249, 252, 0.95);
  box-shadow: 0 8px 30px rgba(143, 168, 212, 0.12);
  border-bottom-color: transparent;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1rem;
  color: #3d3d52;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover { transform: scale(1.03); }

.logo-mark {
  color: #8fa8d4;
  font-size: 1.3rem;
  animation: logoSpin 8s linear infinite;
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(143, 168, 212, 0.6));
}

@keyframes logoSpin { to { transform: rotate(360deg); } }

.logo-text {
  background: linear-gradient(135deg, #3d3d52 0%, #8fa8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.3rem;
  padding: 0.35rem;
  background: rgba(143, 168, 212, 0.06);
  border-radius: 100px;
  border: 1px solid rgba(143, 168, 212, 0.1);
}

.nav-link {
  color: #6e6e88;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
}

.nav-link:hover {
  color: #3d3d52;
  background: rgba(255, 255, 255, 0.8);
}

.nav-link.active {
  color: #fff;
  background: #3d3d52;
  box-shadow: 0 4px 15px rgba(61, 61, 82, 0.25);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: #3d3d52;
  color: #f8f9fc;
  text-decoration: none;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(61, 61, 82, 0.2);
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.nav-cta:hover::before { left: 100%; }

.nav-cta:hover {
  background: #8fa8d4;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(143, 168, 212, 0.4);
}

.cta-arrow { transition: transform 0.4s; position: relative; z-index: 1; }
.nav-cta:hover .cta-arrow { transform: translateX(4px); }
.nav-cta span:first-child { position: relative; z-index: 1; }

/* ============================================ */
/* ===== HERO ===== */
/* ============================================ */
.hero {
  min-height: 100vh;
  padding: 2rem 3.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-text-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-text-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.1em;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-text-item.active { opacity: 1; }

.hero-text-item[data-text="PORTFOLIO"] { font-size: clamp(4rem, 18vw, 20rem); }
.hero-text-item[data-text="YELI KUSMAWATI"] { font-size: clamp(2.5rem, 11vw, 13rem); }

.hero-letter {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #c4c4d4 40%, #8a8aa0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(80px) scale(0.7);
  filter: blur(20px);
  animation: letterReveal 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-letter:nth-child(1)  { animation-delay: 0.05s; }
.hero-letter:nth-child(2)  { animation-delay: 0.10s; }
.hero-letter:nth-child(3)  { animation-delay: 0.15s; }
.hero-letter:nth-child(4)  { animation-delay: 0.20s; }
.hero-letter:nth-child(5)  { animation-delay: 0.25s; }
.hero-letter:nth-child(6)  { animation-delay: 0.30s; }
.hero-letter:nth-child(7)  { animation-delay: 0.35s; }
.hero-letter:nth-child(8)  { animation-delay: 0.40s; }
.hero-letter:nth-child(9)  { animation-delay: 0.45s; }
.hero-letter:nth-child(10) { animation-delay: 0.50s; }
.hero-letter:nth-child(11) { animation-delay: 0.55s; }
.hero-letter:nth-child(12) { animation-delay: 0.60s; }
.hero-letter:nth-child(13) { animation-delay: 0.65s; }

@keyframes letterReveal {
  0% { opacity: 0; transform: translateY(80px) scale(0.7); filter: blur(20px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero-photo-wrapper {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  animation: photoReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.2s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@keyframes photoReveal {
  0% { opacity: 0; transform: translateY(60px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-photo {
  max-height: 120vh;
  max-width: 150%;
  object-fit: contain;
  object-position: bottom center;
  filter:
    drop-shadow(0 40px 80px rgba(61, 61, 82, 0.3))
    drop-shadow(0 0 60px rgba(143, 168, 212, 0.35));
  animation: photoBreath 8s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes photoBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero-corner {
  position: absolute;
  z-index: 3;
  opacity: 0;
  transform: translateY(20px);
  animation: cornerReveal 0.8s ease forwards;
}

@keyframes cornerReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-corner-tl { top: 8%; left: 3.5rem; animation-delay: 2.2s; }
.hero-corner-tr { top: 8%; right: 3.5rem; text-align: right; animation-delay: 2.4s; }
.hero-corner-bl { bottom: 8%; left: 3.5rem; max-width: 340px; animation-delay: 2.6s; }

.hero-corner-br {
  position: absolute;
  bottom: 8%;
  right: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  z-index: 3;
  opacity: 0;
  transform: translateY(20px);
  animation: cornerReveal 0.8s ease forwards;
  animation-delay: 2.8s;
}

.hero-actions-row { display: flex; align-items: center; gap: 0.8rem; }

.hero-role-small {
  font-size: 0.85rem;
  color: #6e6e88;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: 0.95rem;
  color: #5a5a6e;
  line-height: 1.7;
}

.hero-badge-float {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(143, 168, 212, 0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  color: #5a5a6e;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 3;
  opacity: 0;
  animation: cornerReveal 0.8s ease forwards;
  animation-delay: 3s;
  white-space: nowrap;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #6ee7b7;
  border-radius: 50%;
  box-shadow: 0 0 8px #6ee7b7;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== TOMBOL ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: #3d3d52;
  color: #f8f9fc;
  box-shadow: 0 10px 30px rgba(61, 61, 82, 0.15);
}

.btn-primary:hover {
  background: #8fa8d4;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(143, 168, 212, 0.4);
}

.btn-arrow { transition: transform 0.4s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary {
  background: transparent;
  color: #3d3d52;
  border: 1px solid rgba(61, 61, 82, 0.15);
}

.btn-secondary:hover {
  border-color: #8fa8d4;
  color: #8fa8d4;
  background: rgba(143, 168, 212, 0.05);
  transform: translateY(-3px);
}

.btn-audio {
  background: transparent;
  border: 1px solid rgba(143, 168, 212, 0.4);
  color: #6c5ce7;
  padding: 0.7rem 1.3rem;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.8rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.btn-audio:hover {
  background: rgba(108, 92, 231, 0.1);
  border-color: #6c5ce7;
  transform: translateY(-2px);
}

.btn-audio.playing {
  background: #ff7675;
  border-color: #ff7675;
  color: white;
}

/* ===== MARQUEE ===== */
.marquee-section {
  padding: 1.8rem 0;
  border-top: 1px solid rgba(143, 168, 212, 0.1);
  border-bottom: 1px solid rgba(143, 168, 212, 0.1);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}

.marquee {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
  width: max-content;
}

.m-item { font-size: 1.3rem; color: #6e6e88; font-weight: 400; }
.m-item.italic { font-family: 'Fraunces', serif; font-style: italic; color: #8fa8d4; font-size: 1.4rem; }

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

/* ===== SECTION ===== */
.section {
  padding: 7rem 3.5rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-head { margin-bottom: 4rem; }

.section-label {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #8fa8d4;
  display: block;
  margin-bottom: 1rem;
  font-weight: 400;
}

.section-label.center { text-align: center; }

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #3d3d52;
}

/* ============================================ */
/* ===== ABOUT ===== */
/* ============================================ */
.about-section { padding-top: 7rem; padding-bottom: 7rem; }

.about-header { margin-bottom: 4rem; text-align: center; }

.about-greeting {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: #3d3d52;
  line-height: 1.15;
  margin-top: 1rem;
}

.about-greeting .italic {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #8fa8d4 0%, #b8a8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-left { display: flex; flex-direction: column; gap: 1.2rem; }

.about-desc {
  font-size: 0.95rem;
  color: #7a7a90;
  line-height: 1.75;
}

.about-desc strong { color: #3d3d52; font-weight: 600; }
.about-desc em { color: #8fa8d4; font-style: italic; font-family: 'Fraunces', serif; font-weight: 500; }

.about-buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

.btn-icon {
  background: rgba(255, 255, 255, 0.7);
  color: #3d3d52;
  border: 1px solid rgba(143, 168, 212, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background: #fff;
  border-color: #8fa8d4;
  color: #8fa8d4;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(143, 168, 212, 0.2);
}

.highlight-text {
  position: relative;
  font-weight: 600;
  color: #3d3d52;
  z-index: 1;
  white-space: nowrap;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: -2px;
  right: -2px;
  height: 8px;
  background: linear-gradient(90deg, rgba(143, 168, 212, 0.35) 0%, rgba(184, 168, 212, 0.35) 100%);
  border-radius: 3px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-left.visible .highlight-text::after { transform: scaleX(1); }
.about-left.visible .highlight-text:nth-of-type(1)::after { transition-delay: 0.1s; }
.about-left.visible .highlight-text:nth-of-type(2)::after { transition-delay: 0.3s; }
.about-left.visible .highlight-text:nth-of-type(3)::after { transition-delay: 0.5s; }
.about-left.visible .highlight-text:nth-of-type(4)::after { transition-delay: 0.7s; }
.about-left.visible .highlight-text:nth-of-type(5)::after { transition-delay: 0.9s; }
.about-left.visible .highlight-text:nth-of-type(6)::after { transition-delay: 1.1s; }

.about-center { display: flex; justify-content: center; padding-top: 1rem; }

.id-card {
  position: relative;
  width: 100%;
  max-width: 280px;
  background: linear-gradient(160deg, #3d3d52 0%, #2d2d42 100%);
  border-radius: 20px;
  padding: 1.3rem;
  box-shadow: 0 20px 50px rgba(61, 61, 82, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.id-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  animation: cardShine 8s ease-in-out infinite;
}

@keyframes cardShine {
  0%, 100% { transform: translate(-30%, -30%) rotate(0deg); }
  50% { transform: translate(30%, 30%) rotate(180deg); }
}

.id-card:hover { transform: translateY(-6px) rotate(-1deg); }

.id-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; position: relative; z-index: 1; }

.id-card-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.id-card-mark { color: #8fa8d4; font-size: 0.9rem; animation: logoSpin 6s linear infinite; display: inline-block; }

.id-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.id-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: contrast(1.05) saturate(1.1); }

.id-card-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  position: relative;
  z-index: 1;
}

.id-card-role {
  font-size: 0.7rem;
  color: #8fa8d4;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  z-index: 1;
}

.id-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.id-card-info { display: flex; flex-direction: column; gap: 0.15rem; text-align: center; }
.id-card-label { font-size: 0.55rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.id-card-value { font-size: 0.7rem; color: #fff; font-weight: 600; letter-spacing: 0.02em; }

.id-card-barcode {
  display: flex;
  gap: 2px;
  height: 20px;
  align-items: stretch;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.barcode-line { flex: 1; background: rgba(255, 255, 255, 0.7); border-radius: 1px; }
.barcode-line:nth-child(odd) { flex: 0.5; }
.barcode-line:nth-child(3n) { flex: 1.5; }
.barcode-line:nth-child(5n) { background: rgba(255, 255, 255, 0.4); }

.about-right { display: flex; flex-direction: column; gap: 1.5rem; }

.quick-facts {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(143, 168, 212, 0.15);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.quick-facts-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: #8fa8d4;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.fact-row { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.5rem 0; font-size: 0.85rem; }
.fact-label { color: #8a8aa0; font-weight: 500; white-space: nowrap; }
.fact-dots { flex: 1; border-bottom: 1px dashed rgba(143, 168, 212, 0.25); margin: 0 0.3rem; position: relative; top: -4px; }
.fact-value { color: #3d3d52; font-weight: 600; text-align: right; }

.fact-highlight {
  background: linear-gradient(135deg, #8fa8d4 0%, #b8a8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
}

.fact-badge-cumlaude {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
  color: #3d3d52 !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  border-radius: 100px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(255, 179, 71, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.fact-badge-cumlaude::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
  animation: cumlaudeShine 3s ease-in-out infinite;
}

@keyframes cumlaudeShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.about-quote {
  position: relative;
  padding: 1rem 1.3rem;
  background: linear-gradient(135deg, rgba(143, 168, 212, 0.08) 0%, rgba(184, 168, 212, 0.08) 100%);
  border-left: 3px solid #8fa8d4;
  border-radius: 0 12px 12px 0;
}

.about-quote p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: #3d3d52;
  line-height: 1.55;
}

/* ============================================ */
/* ===== SKILLS ===== */
/* ============================================ */
.skills-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
}

.skills-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(143, 168, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.skills-head {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.skills-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #3d3d52;
  letter-spacing: -0.025em;
  margin-top: 1rem;
  line-height: 1.1;
}

.skills-title .italic {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #8fa8d4 0%, #b8a8d4 50%, #d4a8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.skills-title .italic::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8fa8d4, #b8a8d4, transparent);
  border-radius: 2px;
}

.skills-hint {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: #a0a0b8;
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

.skills-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(143, 168, 212, 0.12);
  border-radius: 100px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(61, 61, 82, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  background: transparent;
  border: none;
  color: #8a8aa0;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.filter-btn:hover {
  color: #3d3d52;
  background: rgba(143, 168, 212, 0.1);
}

.filter-btn.active {
  background: linear-gradient(135deg, #3d3d52 0%, #2d2d42 100%);
  color: #fff;
  box-shadow:
    0 8px 20px rgba(61, 61, 82, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.filter-btn.active::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  background: linear-gradient(135deg, #8fa8d4, #b8a8d4);
  opacity: 0.3;
  filter: blur(8px);
  z-index: -1;
}

.skills-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  max-width: 1150px;
  margin: 0 auto;
  align-items: start;
  position: relative;
  z-index: 1;
}

.skills-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.skill-card-group {
  display: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 252, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: 2.2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 4px 6px -1px rgba(143, 168, 212, 0.04),
    0 20px 50px -15px rgba(143, 168, 212, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  animation: fadeInCard 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-card-group::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(143, 168, 212, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.skill-card-group.active {
  display: block;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card-group-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px dashed rgba(143, 168, 212, 0.2);
  position: relative;
}

.card-group-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(143, 168, 212, 0.15) 0%, rgba(184, 168, 212, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  font-size: 1.7rem;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 20px -8px rgba(143, 168, 212, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.skill-card-group:hover .card-group-icon {
  transform: scale(1.08) rotate(-5deg);
  box-shadow:
    0 12px 28px -8px rgba(143, 168, 212, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.skill-card-group[data-category="backend"] .card-group-icon {
  background: linear-gradient(135deg, rgba(168, 152, 212, 0.18) 0%, rgba(196, 184, 232, 0.18) 100%);
}
.skill-card-group[data-category="database"] .card-group-icon {
  background: linear-gradient(135deg, rgba(122, 192, 154, 0.18) 0%, rgba(160, 212, 184, 0.18) 100%);
}
.skill-card-group[data-category="tools"] .card-group-icon {
  background: linear-gradient(135deg, rgba(212, 168, 120, 0.18) 0%, rgba(232, 196, 160, 0.18) 100%);
}
.skill-card-group[data-category="creative"] .card-group-icon {
  background: linear-gradient(135deg, rgba(212, 120, 212, 0.18) 0%, rgba(232, 168, 232, 0.18) 100%);
}
.skill-card-group[data-category="all"] .card-group-icon {
  background: linear-gradient(135deg, rgba(143, 168, 212, 0.25), rgba(184, 168, 212, 0.25));
}

.card-group-title {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: #3d3d52;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card-group-subtitle {
  font-size: 0.83rem;
  color: #a0a0b8;
  font-weight: 500;
  margin-top: 0.2rem;
  letter-spacing: 0.01em;
}

.card-group-count {
  margin-left: auto;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #3d3d52 0%, #2d2d42 100%);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow:
    0 6px 15px -4px rgba(61, 61, 82, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-group-skills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.9rem;
}

.skill-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 0.8rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%);
  border: 1.5px solid rgba(143, 168, 212, 0.12);
  border-radius: 22px;
  cursor: default;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 8px -2px rgba(143, 168, 212, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(circle, rgba(143, 168, 212, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s;
  filter: blur(20px);
  pointer-events: none;
}

.skill-card:hover::before { opacity: 1; }

.skill-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1.5px;
  background: linear-gradient(135deg, #8fa8d4, #b8a8d4);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.skill-card:hover::after { opacity: 1; }

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px -15px rgba(143, 168, 212, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.skill-card-icon {
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 10px rgba(143, 168, 212, 0.25));
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card-icon iconify-icon {
  font-size: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card-icon svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 10px rgba(143, 168, 212, 0.25));
}

.skill-card:hover .skill-card-icon,
.skill-card:hover .skill-card-icon svg,
.skill-card:hover .skill-card-icon iconify-icon {
  transform: scale(1.25) rotate(-8deg);
}

.skill-card[data-brand="capcut"] .skill-card-icon svg { color: #000000; }
.skill-card[data-brand="capcut"]:hover .skill-card-icon svg {
  color: #000000;
  transform: scale(1.25) rotate(-8deg);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.skill-card[data-brand="canva"] .skill-card-icon svg {
  filter: drop-shadow(0 3px 10px rgba(0, 196, 204, 0.3));
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-card[data-brand="canva"]:hover .skill-card-icon svg {
  transform: scale(1.15) rotate(-8deg);
  filter: drop-shadow(0 5px 14px rgba(0, 196, 204, 0.5));
}

.skill-card-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #3d3d52;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.25;
  transition: color 0.3s;
  position: relative;
  z-index: 1;
  word-break: break-word;
}

.skill-card-group[data-category="frontend"] .skill-card::after { background: linear-gradient(135deg, #8fa8d4, #b8c4dc); }
.skill-card-group[data-category="frontend"] .skill-card:hover .skill-card-name { color: #6a8bc4; }

.skill-card-group[data-category="backend"] .skill-card::after { background: linear-gradient(135deg, #a898d4, #c4b8e8); }
.skill-card-group[data-category="backend"] .skill-card:hover .skill-card-name { color: #8a78c4; }

.skill-card-group[data-category="database"] .skill-card::after { background: linear-gradient(135deg, #7ac09a, #a0d4b8); }
.skill-card-group[data-category="database"] .skill-card:hover .skill-card-name { color: #5aa87a; }

.skill-card-group[data-category="tools"] .skill-card::after { background: linear-gradient(135deg, #d4a878, #e8c4a0); }
.skill-card-group[data-category="tools"] .skill-card:hover .skill-card-name { color: #c4905a; }

.skill-card-group[data-category="creative"] .skill-card::after { background: linear-gradient(135deg, #d478d4, #e8a8e8); }
.skill-card-group[data-category="creative"] .skill-card:hover .skill-card-name { color: #c458c4; }

.card-group-empty {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #a0a0b8;
  text-align: center;
  padding: 3rem 2rem;
  line-height: 1.7;
  grid-column: 1 / -1;
}

.card-group-empty strong {
  color: #8fa8d4;
  font-weight: 600;
  font-style: normal;
}

.skills-side {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 100px;
}

.quick-stats {
  background: linear-gradient(145deg, #3d3d52 0%, #2a2a3d 50%, #252538 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 2rem 1.8rem;
  backdrop-filter: blur(10px);
  box-shadow:
    0 20px 60px -20px rgba(61, 61, 82, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.quick-stats::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 20%, rgba(143, 168, 212, 0.2), transparent 50%);
  pointer-events: none;
}

.quick-stats::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(184, 168, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.quick-stats-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-stats-title::before {
  content: '✦';
  color: #8fa8d4;
  font-size: 0.85rem;
  font-style: normal;
}

.stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.7rem 0;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  white-space: nowrap;
  font-size: 0.85rem;
}

.stat-dots {
  flex: 1;
  border-bottom: 1.5px dotted rgba(255, 255, 255, 0.15);
  margin: 0 0.4rem;
  position: relative;
  top: -4px;
}

.stat-value {
  color: #fff;
  font-weight: 600;
  text-align: right;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
}

.stat-highlight {
  background: linear-gradient(135deg, #a8c0e8 0%, #d4b8e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  filter: drop-shadow(0 0 10px rgba(143, 168, 212, 0.4));
}

.stat-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin: 1.4rem 0;
  position: relative;
  z-index: 1;
}

.stat-category {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  position: relative;
  z-index: 1;
  margin-bottom: 0.2rem;
}

.stat-category:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(6px);
}

.stat-cat-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 12px currentColor;
  position: relative;
}

.stat-cat-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.2;
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.5); opacity: 0; }
}

.stat-cat-dot.frontend { background: #8fa8d4; color: #8fa8d4; }
.stat-cat-dot.backend { background: #a898d4; color: #a898d4; }
.stat-cat-dot.database { background: #7ac09a; color: #7ac09a; }
.stat-cat-dot.tools { background: #d4a878; color: #d4a878; }
.stat-cat-dot.creative { background: #d478d4; color: #d478d4; }

.stat-cat-name {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  flex: 1;
  transition: color 0.3s;
}

.stat-category:hover .stat-cat-name { color: #fff; }

.stat-cat-count {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}

.skills-quote {
  position: relative;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 252, 0.9) 100%);
  border: 1px solid rgba(143, 168, 212, 0.15);
  border-left: 3px solid #8fa8d4;
  border-radius: 0 18px 18px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px -10px rgba(143, 168, 212, 0.2);
  transition: all 0.4s;
}

.skills-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -12px rgba(143, 168, 212, 0.35);
}

.skills-quote p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.92rem;
  color: #4a4a62;
  line-height: 1.6;
  position: relative;
}

/* ============================================ */
/* ===== WORK ===== */
/* ============================================ */
.work-section { overflow: hidden; }

.work-hint { font-family: 'Fraunces', serif; font-style: italic; font-size: 0.9rem; color: #a0a0b8; margin-top: 1.2rem; }

.work-scroll-wrapper { position: relative; margin: 0 -3.5rem; padding: 0 3.5rem; }

.work-scroll {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 1rem 0 2.5rem;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: #b8c4dc transparent;
  -webkit-overflow-scrolling: touch;
}

.work-scroll.dragging { cursor: grabbing; scroll-behavior: auto; }

.work-scroll::-webkit-scrollbar { height: 6px; }
.work-scroll::-webkit-scrollbar-track { background: rgba(143, 168, 212, 0.08); border-radius: 10px; margin: 0 3.5rem; }
.work-scroll::-webkit-scrollbar-thumb { background: #b8c4dc; border-radius: 10px; }
.work-scroll::-webkit-scrollbar-thumb:hover { background: #8fa8d4; }

.work-card {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(143, 168, 212, 0.15);
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 61, 82, 0.04);
  user-select: none;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(143, 168, 212, 0.25), 0 0 0 1px rgba(143, 168, 212, 0.25);
  background: #fff;
  border-color: transparent;
}

.work-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #e0d4f0, #d4e3f5);
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover .work-card-image img { transform: scale(1.08); }

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(61, 61, 82, 0.5) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card:hover .work-card-overlay { opacity: 1; }

.work-card-emoji {
  font-size: 2rem;
  transform: translateY(10px);
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.work-card:hover .work-card-emoji { transform: translateY(0) scale(1.1) rotate(10deg); }

.work-card-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  color: #fff;
  background: rgba(61, 61, 82, 0.6);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-weight: 500;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.work-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #8fa8d4;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 100px;
  border: 1px solid rgba(143, 168, 212, 0.3);
  text-transform: uppercase;
  z-index: 3;
}

.work-card:hover .work-card-badge {
  background: #8fa8d4;
  color: #fff;
  border-color: transparent;
}

.work-card-badge.badge-featured {
  background: linear-gradient(135deg, #8fa8d4, #b8a8d4);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(143, 168, 212, 0.4);
}

.work-card-featured {
  border: 1.5px solid rgba(143, 168, 212, 0.35);
  box-shadow: 0 8px 30px rgba(143, 168, 212, 0.15), 0 0 0 1px rgba(143, 168, 212, 0.1);
}

.work-card-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #8fa8d4, #b8a8d4, #d4c4e8);
  transform: scaleX(1);
  z-index: 2;
}

.work-card-featured:hover { box-shadow: 0 30px 60px rgba(143, 168, 212, 0.3), 0 0 0 2px rgba(143, 168, 212, 0.4); }

.work-card-body { padding: 1.8rem 1.8rem 1.5rem; display: flex; flex-direction: column; flex: 1; }

.work-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #3d3d52;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: color 0.3s;
}

.work-card:hover .work-card-title { color: #8fa8d4; }

.work-card-desc { font-size: 0.9rem; color: #7a7a90; line-height: 1.7; margin-bottom: 1.2rem; flex: 1; }

.work-card-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.3rem; }

.work-card-tags span {
  font-size: 0.72rem;
  padding: 0.35rem 0.85rem;
  background: rgba(143, 168, 212, 0.1);
  color: #6e6e88;
  border-radius: 100px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s;
}

.work-card:hover .work-card-tags span { background: rgba(143, 168, 212, 0.18); color: #3d3d52; }

/* ===== ROLE BADGES ===== */
.work-card-roles {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  padding-top: 0.3rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.75rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.role-badge.role-siswa {
  background: rgba(143, 168, 212, 0.12);
  border-color: rgba(143, 168, 212, 0.35);
  color: #5a7bb8;
}

.role-badge.role-guru {
  background: rgba(184, 168, 212, 0.15);
  border-color: rgba(184, 168, 212, 0.35);
  color: #7a68b8;
}

.role-badge.role-admin {
  background: rgba(110, 231, 183, 0.12);
  border-color: rgba(110, 231, 183, 0.35);
  color: #3d9e7a;
}

.work-card:hover .role-badge {
  transform: translateY(-2px);
}

.work-card:hover .role-badge.role-siswa {
  background: rgba(143, 168, 212, 0.2);
  box-shadow: 0 4px 12px rgba(143, 168, 212, 0.25);
}

.work-card:hover .role-badge.role-guru {
  background: rgba(184, 168, 212, 0.22);
  box-shadow: 0 4px 12px rgba(184, 168, 212, 0.25);
}

.work-card:hover .role-badge.role-admin {
  background: rgba(110, 231, 183, 0.2);
  box-shadow: 0 4px 12px rgba(110, 231, 183, 0.25);
}

.work-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(143, 168, 212, 0.2);
  font-size: 0.85rem;
  color: #8fa8d4;
  font-weight: 500;
}

.work-card-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 0.85rem;
  color: #8fa8d4;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(143, 168, 212, 0.2);
}

.work-card-btn:focus-visible { outline: 2px solid #8fa8d4; outline-offset: 4px; border-radius: 8px; }

.work-card-arrow { transition: transform 0.4s; font-size: 1.1rem; }
.work-card:hover .work-card-arrow { transform: translateX(8px); }

.work-nav { display: flex; justify-content: flex-end; gap: 0.7rem; margin-top: 1rem; }

.work-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(143, 168, 212, 0.25);
  color: #3d3d52;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.work-nav-btn:hover {
  background: #3d3d52;
  color: #fff;
  border-color: #3d3d52;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(61, 61, 82, 0.2);
}

/* ============================================ */
/* ===== CERTIFICATES ===== */
/* ============================================ */
.certificates-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
}

.cert-hint {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: #a0a0b8;
  margin-top: 1.2rem;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cert-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid rgba(143, 168, 212, 0.2);
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(61, 61, 82, 0.04);
  position: relative;
  height: 420px;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 168, 212, 0.5);
  box-shadow: 0 15px 35px rgba(143, 168, 212, 0.25);
}

.cert-image {
  position: relative;
  width: 100%;
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #e0d4f0, #d4e3f5);
}

.cert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-card:hover .cert-image img { transform: scale(1.05); }

.cert-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(61, 61, 82, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cert-card:hover .cert-overlay { opacity: 1; }

.cert-view {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #3d3d52;
  letter-spacing: 0.02em;
  transform: translateY(8px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 16px rgba(61, 61, 82, 0.2);
}

.cert-card:hover .cert-view { transform: translateY(0); }

.cert-badge-icon {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  font-size: 1.2rem;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(61, 61, 82, 0.15);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-card:hover .cert-badge-icon {
  transform: scale(1.08) rotate(-8deg);
  box-shadow: 0 6px 18px rgba(143, 168, 212, 0.4);
}

.cert-body {
  padding: 1.3rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  overflow: hidden;
  background: #fff;
}

.cert-cat {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.28rem 0.75rem;
  background: linear-gradient(135deg, rgba(143, 168, 212, 0.12), rgba(184, 168, 212, 0.12));
  border: 1px solid rgba(143, 168, 212, 0.2);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #8fa8d4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cert-title {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #3d3d52;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cert-card:hover .cert-title { color: #8fa8d4; }

.cert-issuer {
  font-size: 0.82rem;
  color: #8a8aa0;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: auto;
}

/* ============================================ */
/* ===== CERT MODAL ===== */
/* ============================================ */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cert-modal.active { display: flex; }

.cert-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cert-modal.active .cert-modal-overlay { opacity: 1; }

.cert-modal-content {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(30px) scale(0.96);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  display: flex;
  flex-direction: column;
}

.cert-modal.active .cert-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cert-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(143, 168, 212, 0.2);
  color: #3d3d52;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cert-modal-close:hover {
  background: #3d3d52;
  color: #fff;
  transform: rotate(90deg);
  border-color: #3d3d52;
}

.cert-modal-body {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: #b8c4dc transparent;
  display: flex;
  flex-direction: column;
}

.cert-modal-body::-webkit-scrollbar { width: 6px; }
.cert-modal-body::-webkit-scrollbar-thumb { background: #b8c4dc; border-radius: 10px; }

.cert-modal-body img {
  width: 100%;
  height: auto;
  display: block;
  background: #f8f9fc;
  max-height: 65vh;
  object-fit: contain;
}

.cert-modal-caption {
  padding: 1.5rem 2rem 1.8rem;
  background: linear-gradient(135deg, #f8f9fc 0%, #f0f2f8 100%);
  border-top: 1px solid rgba(143, 168, 212, 0.15);
  text-align: center;
  position: relative;
}

.cert-modal-caption::before {
  content: '✦';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8fa8d4;
  font-size: 0.7rem;
  box-shadow: 0 4px 12px rgba(143, 168, 212, 0.2);
}

.cert-modal-caption h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #3d3d52;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.cert-modal-caption p {
  font-size: 0.85rem;
  color: #8a8aa0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================ */
/* ===== CONTACT — PILL CENTERED ===== */
/* ============================================ */
.contact-section {
  padding-top: 8rem;
  padding-bottom: 7rem;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(143, 168, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.contact-pill-box {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4.5rem 3rem 3.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 252, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 4px 6px -1px rgba(143, 168, 212, 0.04),
    0 30px 60px -20px rgba(143, 168, 212, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.contact-pill-box::before {
  content: '✦';
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 1rem;
  color: #8fa8d4;
  opacity: 0.5;
  animation: sparkleFloat 4s ease-in-out infinite;
}

.contact-pill-box::after {
  content: '✧';
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 1.1rem;
  color: #b8a8d4;
  opacity: 0.5;
  animation: sparkleFloat 4s ease-in-out infinite;
  animation-delay: -2s;
}

.contact-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(143, 168, 212, 0.1);
  border: 1px solid rgba(143, 168, 212, 0.25);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8fa8d4;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.8rem;
}

.label-dot {
  width: 6px;
  height: 6px;
  background: #6ee7b7;
  border-radius: 50%;
  box-shadow: 0 0 10px #6ee7b7;
  animation: pulse 2s ease-in-out infinite;
}

.contact-pill-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #2d2d42;
  margin: 0 0 1.2rem;
}

.contact-pill-title .italic {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #8fa8d4 0%, #b8a8d4 50%, #d4a8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(143, 168, 212, 0.25));
}

.contact-pill-sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: #7a7a90;
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}

.contact-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.6rem 1rem 1.2rem;
  background: linear-gradient(135deg, #2d2d42 0%, #1f1f30 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 2.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 15px 35px rgba(45, 45, 66, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact-email-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s ease;
  z-index: 1;
  pointer-events: none;
}

.contact-email-pill:hover::before { left: 100%; }

.contact-email-pill:hover {
  background: linear-gradient(135deg, #8fa8d4 0%, #b8a8d4 50%, #d4a8d4 100%);
  transform: translateY(-3px);
  box-shadow:
    0 20px 45px rgba(143, 168, 212, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.email-pill-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 0.95rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all 0.4s;
}

.contact-email-pill:hover .email-pill-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(-10deg) scale(1.05);
}

.email-pill-text {
  position: relative;
  z-index: 2;
  letter-spacing: 0.01em;
}

.email-pill-action {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  position: relative;
  z-index: 2;
  transition: all 0.35s;
  flex-shrink: 0;
}

.contact-email-pill:hover .email-pill-action {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.contact-email-pill.copied .email-pill-action {
  background: rgba(110, 231, 183, 0.3);
  border-color: rgba(110, 231, 183, 0.6);
  color: #6ee7b7;
}

.contact-pill-socials {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(143, 168, 212, 0.25);
  border-radius: 100px;
  color: #4a4a62;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.social-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8fa8d4 0%, #b8a8d4 100%);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: -1;
}

.social-pill:hover {
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(143, 168, 212, 0.4);
}

.social-pill:hover::before { opacity: 1; }

.social-pill-icon {
  font-size: 0.9rem;
  color: #8fa8d4;
  transition: color 0.35s;
}

.social-pill:hover .social-pill-icon { color: #fff; }

.contact-pill-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8fa8d4, transparent);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.contact-pill-signature {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #6e6e88;
  letter-spacing: 0.02em;
}

.contact-pill-signature .italic {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #8fa8d4 0%, #b8a8d4 50%, #d4a8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #2d2d42 0%, #1f1f30 100%);
  border: 1px solid rgba(143, 168, 212, 0.3);
  border-radius: 100px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(143, 168, 212, 0.3);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99999;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  font-size: 1rem;
  filter: drop-shadow(0 0 8px rgba(168, 192, 232, 0.8));
}

@media (max-width: 768px) {
  .contact-section {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .contact-pill-box {
    padding: 3rem 1.8rem 2.5rem;
    border-radius: 24px;
  }

  .contact-pill-title {
    font-size: 2rem;
  }

  .contact-pill-sub {
    font-size: 0.88rem;
    margin-bottom: 2rem;
  }

  .contact-email-pill {
    padding: 0.85rem 1.3rem 0.85rem 1rem;
    font-size: 0.82rem;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  .email-pill-text {
    word-break: break-all;
  }

  .email-pill-icon {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .email-pill-action {
    font-size: 0.6rem;
    padding: 0.25rem 0.6rem;
  }

  .social-pill {
    padding: 0.65rem 1.15rem;
    font-size: 0.78rem;
  }

  .contact-pill-signature {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .contact-pill-box {
    padding: 2.5rem 1.3rem 2rem;
    border-radius: 20px;
  }

  .contact-pill-box::before { left: 1.3rem; top: 1.3rem; font-size: 0.85rem; }
  .contact-pill-box::after { right: 1.3rem; top: 1.3rem; font-size: 0.9rem; }

  .contact-pill-title {
    font-size: 1.75rem;
  }

  .contact-pill-sub {
    font-size: 0.82rem;
  }

  .contact-email-pill {
    font-size: 0.75rem;
    padding: 0.8rem 1.1rem 0.8rem 0.9rem;
    gap: 0.6rem;
  }

  .email-pill-icon {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .contact-pill-socials {
    gap: 0.5rem;
  }

  .social-pill {
    padding: 0.55rem 0.95rem;
    font-size: 0.72rem;
    gap: 0.35rem;
  }

  .social-pill-icon {
    font-size: 0.8rem;
  }

  .contact-pill-divider {
    width: 50px;
  }

  .contact-pill-signature {
    font-size: 0.78rem;
  }
}

/* ===== FOOTER ===== */
footer {
  padding: 2.5rem 3.5rem;
  border-top: 1px solid rgba(143, 168, 212, 0.12);
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 500; color: #3d3d52; }

.footer-top { color: #6e6e88; text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-top:hover { color: #8fa8d4; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================ */
/* ===== PROJECT MODAL ===== */
/* ============================================ */
.project-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 2rem; }
.project-modal.active { display: flex; }

.project-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-modal.active .project-modal-overlay { opacity: 1; }

.project-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(28, 25, 23, 0.3);
  transform: translateY(30px) scale(0.96);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  display: flex;
  flex-direction: column;
}

.project-modal.active .project-modal-content { transform: translateY(0) scale(1); opacity: 1; }

.project-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(143, 168, 212, 0.2);
  color: #3d3d52;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
}

.project-modal-close:hover { background: #3d3d52; color: #fff; transform: rotate(90deg); border-color: #3d3d52; }

.project-modal-body { overflow-y: auto; overflow-x: hidden; padding: 0; scrollbar-width: thin; scrollbar-color: #b8c4dc transparent; }
.project-modal-body::-webkit-scrollbar { width: 6px; }
.project-modal-body::-webkit-scrollbar-thumb { background: #b8c4dc; border-radius: 10px; }

.modal-header-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; background: linear-gradient(135deg, #e0d4f0, #d4e3f5); }

.modal-content { padding: 2.5rem 3rem 3rem; }

.modal-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: linear-gradient(135deg, #8fa8d4, #b8a8d4);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.modal-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 500;
  color: #3d3d52;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.modal-subtitle { font-family: 'Fraunces', serif; font-style: italic; font-size: 1rem; color: #8fa8d4; margin-bottom: 1.5rem; }
.modal-desc { font-size: 1rem; color: #5a5a6e; line-height: 1.8; margin-bottom: 1.5rem; }
.modal-section { margin-bottom: 2rem; }

.modal-section-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #3d3d52;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section-title::before { content: '✦'; color: #8fa8d4; font-size: 0.9rem; }

.modal-features { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }

.modal-features li { position: relative; padding-left: 1.4rem; font-size: 0.92rem; color: #6e6e88; line-height: 1.6; }
.modal-features li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #8fa8d4; font-weight: 700; }

.modal-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.modal-tags span {
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  background: rgba(143, 168, 212, 0.12);
  color: #6e6e88;
  border-radius: 100px;
  font-weight: 500;
  border: 1px solid rgba(143, 168, 212, 0.15);
}

.modal-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }

.modal-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(143, 168, 212, 0.15);
  transition: transform 0.3s;
  cursor: pointer;
}

.modal-gallery img:hover { transform: scale(1.03); }

.modal-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px dashed rgba(143, 168, 212, 0.2); }

.modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.modal-btn-primary { background: #3d3d52; color: #f8f9fc; }
.modal-btn-primary:hover { background: #8fa8d4; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(143, 168, 212, 0.4); }

.modal-btn-secondary { background: transparent; color: #3d3d52; border: 1px solid rgba(61, 61, 82, 0.2); }
.modal-btn-secondary:hover { border-color: #8fa8d4; color: #8fa8d4; background: rgba(143, 168, 212, 0.05); }

.modal-subproject { padding: 2rem 0; border-bottom: 1px dashed rgba(143, 168, 212, 0.25); }
.modal-subproject:last-of-type { border-bottom: none; }

.modal-subproject-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.5rem; flex-wrap: wrap; }

.modal-subproject-number { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.1rem; color: #8fa8d4; font-weight: 500; }
.modal-subproject-title { font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 500; color: #3d3d52; letter-spacing: -0.015em; }

.modal-subproject-subtitle {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #8fa8d4;
  margin-bottom: 1.2rem;
  padding-left: 2rem;
}

.modal-subproject-frame {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow-y: auto;
  border-radius: 16px;
  border: 1px solid rgba(143, 168, 212, 0.15);
  background: #f8f9fc;
  margin-bottom: 1.2rem;
  scrollbar-width: thin;
  scrollbar-color: #b8c4dc transparent;
}

.modal-subproject-frame::-webkit-scrollbar { width: 6px; }
.modal-subproject-frame::-webkit-scrollbar-thumb { background: #b8c4dc; border-radius: 10px; }

.modal-subproject-frame img { width: 100%; display: block; cursor: pointer; transition: transform 0.3s; }
.modal-subproject-frame img:hover { transform: scale(1.02); }

.modal-subproject-frame::after {
  content: '↓ scroll untuk lihat bagian bawah';
  position: sticky;
  bottom: 0;
  display: block;
  text-align: center;
  padding: 0.5rem;
  background: linear-gradient(180deg, transparent, rgba(248, 249, 252, 0.95));
  font-size: 0.72rem;
  color: #8fa8d4;
  font-style: italic;
  font-family: 'Fraunces', serif;
  pointer-events: none;
}

.modal-subproject-desc { font-size: 0.95rem; color: #5a5a6e; line-height: 1.75; margin-bottom: 1rem; }

.modal-subproject-features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.modal-subproject-features li { position: relative; padding-left: 1.4rem; font-size: 0.88rem; color: #6e6e88; line-height: 1.6; }
.modal-subproject-features li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #8fa8d4; font-weight: 700; }

.modal-subproject-role {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.modal-subproject-role.role-pengguna { background: rgba(59, 130, 246, 0.12); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.25); }
.modal-subproject-role.role-admin { background: rgba(168, 85, 247, 0.12); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.25); }

body.modal-open { overflow: hidden; }

/* ============================================ */
/* ===== RESPONSIVE ===== */
/* ============================================ */
@media (max-width: 1024px) {
  .hero-corner-tl, .hero-corner-bl { left: 1.5rem; }
  .hero-corner-tr, .hero-corner-br { right: 1.5rem; }
  .hero-corner-bl { max-width: 260px; }

  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-center { order: -1; padding-top: 0; }
  .id-card { max-width: 300px; }

  .skills-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .skills-side { position: static; }
}

@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; flex-wrap: wrap; gap: 0.8rem; }

  .nav-links {
    gap: 0.3rem;
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar { display: none; }
  .nav-link { font-size: 0.75rem; padding: 0.45rem 0.8rem; white-space: nowrap; }
  .nav-cta { font-size: 0.78rem; padding: 0.55rem 1.1rem; }

  .hero { padding: 1.5rem; min-height: 100vh; }
  .hero-text-item[data-text="PORTFOLIO"] { font-size: 22vw; }
  .hero-text-item[data-text="YELI KUSMAWATI"] { font-size: 13vw; }
  .hero-photo { max-height: 60vh; max-width: 120%; }

  .hero-corner-tl { top: 12%; left: 1.5rem; }
  .hero-corner-tr { top: 12%; right: 1.5rem; }

  .hero-corner-bl {
    bottom: 26%;
    left: 1.5rem;
    right: 1.5rem;
    max-width: 100%;
    text-align: center;
  }

  .hero-desc { font-size: 0.85rem; }

  .hero-corner-br {
    bottom: 4%;
    left: 1.5rem;
    right: 1.5rem;
    align-items: center;
  }

  .hero-badge-float { bottom: 14%; font-size: 0.72rem; }
  .section { padding: 5rem 1.5rem; }

  .about-header { margin-bottom: 2.5rem; }
  .about-layout { gap: 2rem; }
  .id-card { max-width: 260px; padding: 1.1rem; }
  .id-card-name { font-size: 0.9rem; }
  .id-card-role { font-size: 0.65rem; }
  .fact-row { font-size: 0.78rem; }
  .quick-facts { padding: 1.2rem; }
  .about-desc { font-size: 0.88rem; }
  .highlight-text::after { height: 6px; }

  .skills-filters {
    width: 100%;
    padding: 0.5rem;
    border-radius: 20px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .skills-filters::-webkit-scrollbar { display: none; }

  .filter-btn {
    font-size: 0.78rem;
    padding: 0.55rem 1.1rem;
    flex-shrink: 0;
  }

  .skill-card-group {
    padding: 1.6rem 1.4rem;
    border-radius: 24px;
  }

  .card-group-header {
    gap: 0.9rem;
    padding-bottom: 1.2rem;
    margin-bottom: 1.4rem;
  }

  .card-group-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    border-radius: 14px;
  }

  .card-group-title { font-size: 1.2rem; }
  .card-group-subtitle { font-size: 0.78rem; }
  .card-group-count {
    padding: 0.3rem 0.75rem;
    font-size: 0.6rem;
  }

  .card-group-skills {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.7rem;
  }

  .skill-card {
    border-radius: 18px;
    padding: 0.8rem 0.6rem;
    gap: 0.5rem;
  }

  .skill-card-icon,
  .skill-card-icon iconify-icon { font-size: 1.7rem; }
  .skill-card-name { font-size: 0.72rem; }

  .quick-stats {
    padding: 1.6rem 1.4rem;
    border-radius: 24px;
  }

  .skills-quote { padding: 1.2rem 1.3rem; }
  .skills-quote p { font-size: 0.85rem; }

  .sparkle { font-size: 1rem !important; }
  .sp-1, .sp-3 { left: 3%; }
  .sp-2, .sp-4 { right: 3%; }

  .work-scroll-wrapper { margin: 0 -1.5rem; padding: 0 1.5rem; }
  .work-card { flex: 0 0 300px; }
  .work-card-image { aspect-ratio: 4 / 3; }
  .work-card-body { padding: 1.4rem 1.4rem 1.2rem; }
  .work-card-title { font-size: 1.15rem; }
  .work-card-desc { font-size: 0.85rem; }
  .work-nav { justify-content: center; }

  .role-badge {
    font-size: 0.62rem;
    padding: 0.28rem 0.65rem;
  }

  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .cert-card {
    height: auto;
    min-height: 400px;
  }

  .cert-image { height: 220px; }

  .cert-body {
    padding: 1.1rem 1.2rem 1.2rem;
  }

  .cert-title { font-size: 1.05rem; }

  .cert-badge-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    top: 0.7rem;
    right: 0.7rem;
  }

  .cert-view {
    font-size: 0.78rem;
    padding: 0.55rem 1.1rem;
  }

  .cert-modal { padding: 1rem; }
  .cert-modal-content { max-height: 95vh; border-radius: 16px; }
  .cert-modal-body img { max-height: 55vh; }
  .cert-modal-caption { padding: 1.2rem 1.3rem 1.5rem; }
  .cert-modal-caption h3 { font-size: 1.1rem; }
  .cert-modal-caption p { font-size: 0.78rem; }
  .cert-modal-close { top: 0.8rem; right: 0.8rem; width: 38px; height: 38px; }

  .footer-inner { flex-direction: column; text-align: center; }

  .project-modal { padding: 1rem; }
  .project-modal-content { max-height: 95vh; border-radius: 24px; }
  .modal-content { padding: 1.8rem 1.5rem 2rem; }
  .modal-features, .modal-subproject-features { grid-template-columns: 1fr; }
  .modal-gallery { grid-template-columns: 1fr; }
  .modal-title { font-size: 1.5rem; }
  .modal-subproject-title { font-size: 1.15rem; }
  .project-modal-close { top: 0.8rem; right: 0.8rem; width: 38px; height: 38px; }
  .modal-actions { flex-direction: column; }
  .modal-btn { width: 100%; justify-content: center; }
  .modal-subproject { padding: 1.5rem 0; }
  .modal-subproject-frame { max-height: 320px; }
}

@media (max-width: 480px) {
  .hero-text-item[data-text="PORTFOLIO"] { font-size: 26vw; }
  .hero-text-item[data-text="YELI KUSMAWATI"] { font-size: 15vw; }
  .hero-role-small { font-size: 0.75rem; }
  .hero-desc { font-size: 0.78rem; }

  .section-title { font-size: 1.7rem; }

  .btn { padding: 0.7rem 1.2rem; font-size: 0.78rem; }
  .btn-audio { padding: 0.6rem 1rem; font-size: 0.72rem; }

  .hero-corner-br { gap: 0.4rem; }
  .hero-badge-float { bottom: 12%; }

  .skills-title { font-size: 1.6rem; }
  .skills-hint { font-size: 0.82rem; }
  .card-group-count { display: none; }
  .stat-cat-name { font-size: 0.82rem; }

  .card-group-skills {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .skill-card {
    border-radius: 16px;
    padding: 0.7rem 0.5rem;
    gap: 0.4rem;
  }

  .skill-card-icon,
  .skill-card-icon iconify-icon { font-size: 1.4rem; }
  .skill-card-name { font-size: 0.68rem; }
}