/* =========================
   Creator Portfolio
   HTML/CSS/JS only (offline-friendly)
========================= */

/* =========================================================
   PINK CUSTOM SCROLLBAR — Browser & Modal
========================================================= */

/* ── Browser / page scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #1a0a12;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff80ab 0%, #e91e8c 50%, #ab47bc 100%);
  border-radius: 99px;
  border: 2px solid #1a0a12;
  box-shadow: 0 0 8px rgba(255, 64, 129, 0.6);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff4081 0%, #c2185b 50%, #8e24aa 100%);
  box-shadow: 0 0 14px rgba(255, 64, 129, 0.9);
}
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #e91e8c #1a0a12;
}

/* ── Modal panel scrollbar (pink, narrower) ── */
.modal__panel::-webkit-scrollbar {
  width: 6px;
}
.modal__panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 99px;
}
.modal__panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff80ab 0%, #ff4081 60%, #ce93d8 100%);
  border-radius: 99px;
  box-shadow: 0 0 8px rgba(255, 64, 129, 0.7);
}
.modal__panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff4081 0%, #c2185b 100%);
}
/* Firefox for modal */
.modal__panel {
  scrollbar-width: thin;
  scrollbar-color: #ff4081 rgba(255,255,255,0.04);
}

:root {
  color-scheme: dark;

  --bg0: #05060d;
  --bg1: #070812;

  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.085);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke2: rgba(255, 255, 255, 0.14);

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);

  --c1: #ff69b4;
  /* hot pink */
  --c2: #e66377;
  /* deep pink */
  --c3: #b84f90;
  /* purple pink */

  --shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
  --shadow2: 0 10px 40px rgba(0, 0, 0, 0.32);

  --glow1:
    0 0 0 1px rgba(255, 105, 180, 0.25), 0 18px 50px rgba(255, 105, 180, 0.1);
  --glow2:
    0 0 0 1px rgba(230, 99, 119, 0.25), 0 18px 50px rgba(230, 99, 119, 0.1);
  --glow3:
    0 0 0 1px rgba(184, 79, 144, 0.25), 0 18px 50px rgba(184, 79, 144, 0.08);

  --radius: 20px;
  --radius2: 28px;

  /* No external fonts */
  --fontA:
    ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --fontB:
    ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --max: 1120px;
}

html[data-theme="light"] {
  color-scheme: light;

  --bg0: #fdecef;
  --bg1: #f7d6e0;

  --panel: rgba(255, 255, 255, 0.7);
  --panel2: rgba(255, 255, 255, 0.85);
  --stroke: rgba(13, 24, 38, 0.1);
  --stroke2: rgba(13, 24, 38, 0.15);

  --text: #0d1826;
  --muted: rgba(13, 24, 38, 0.65);

  --c1: #e66377;
  --c2: #d65a7f;
  --c3: #6f93b3;
  --metallic: linear-gradient(
    90deg,
    #5c3751 0%,
    #e66377 15%,
    #d65a7f 35%,
    #ffffff 50%,
    #d65a7f 65%,
    #7b4a6d 85%,
    #5c3751 100%
  );

  --glow1:
    0 0 0 1px rgba(123, 74, 109, 0.25), 0 18px 50px rgba(123, 74, 109, 0.1);
  --glow2:
    0 0 0 1px rgba(214, 90, 127, 0.25), 0 18px 50px rgba(214, 90, 127, 0.1);
  --glow3:
    0 0 0 1px rgba(111, 147, 179, 0.25), 0 18px 50px rgba(111, 147, 179, 0.08);

  --shadow: 0 18px 70px rgba(13, 24, 38, 0.12);
  --shadow2: 0 10px 40px rgba(13, 24, 38, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fontB);
  color: var(--text);
  /* single, calm base background */
  background:
    radial-gradient(
      900px 520px at 18% 12%,
      color-mix(in srgb, var(--c2) 10%, transparent),
      transparent 66%
    ),
    radial-gradient(
      900px 560px at 82% 18%,
      color-mix(in srgb, var(--c1) 9%, transparent),
      transparent 70%
    ),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: color-mix(in srgb, var(--c2) 20%, transparent);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

.ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  color: #ff69b4;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.grad {
  background: linear-gradient(90deg, var(--c2), var(--c1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad2 {
  background: linear-gradient(90deg, var(--c3), var(--c2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0px;
}

/* =========================
   GLOBAL BG FX
========================= */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      color-mix(in srgb, var(--text) 7%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--text) 7%, transparent) 1px,
      transparent 1px
    );
  background-size: 72px 72px;
  opacity: 0.035;
}

.bg__noise {
  position: absolute;
  inset: -40px;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  transform: translateZ(0);
}

html[data-theme="light"]
/* =========================
   SECTION
   (Single global background)
========================= */

.section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.section__title {
  font-family: var(--fontA);
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3vw, 38px);
  margin: 0;
}

.section__sub {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

/* =========================
   SECTION BACKGROUND (clean + non-intrusive)
   - background tetap per-section, tapi dibuat lebih halus
   - tidak "nabrak" konten karena:
     1) blur tinggi + opacity rendah
     2) ada "veil" halus di belakang konten (lihat .section:not(.hero) .container::before)
========================= */
.section {
  padding: 84px 0;
  position: relative;
  isolation: isolate;
  overflow: clip;
  z-index: 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.28;
  filter: blur(40px);
  transform: translateZ(0);
  background:
    radial-gradient(
      900px 520px at 20% 20%,
      color-mix(in srgb, var(--c2) 16%, transparent),
      transparent 68%
    ),
    radial-gradient(
      900px 560px at 80% 70%,
      color-mix(in srgb, var(--c1) 14%, transparent),
      transparent 72%
    );
}

/* sedikit variasi per section (tetap soft) */
#home.section::before {
  background: url("assets/hero-bg.png") center/cover no-repeat;
  opacity: 1;
  filter: none;
}

#about.section::before {
  background:
    radial-gradient(
      900px 520px at 18% 22%,
      color-mix(in srgb, var(--c2) 14%, transparent),
      transparent 70%
    ),
    radial-gradient(
      820px 520px at 82% 80%,
      color-mix(in srgb, var(--c3) 12%, transparent),
      transparent 74%
    );
}

#projects.section::before {
  background: url("assets/projects-bg-3.png") top center/cover no-repeat;
  opacity: 1;
  filter: none;
}

#resume.section::before {
  background: url("assets/bg-resume.png") bottom center/cover no-repeat;
  opacity: 1;
  filter: none;
}

#contact.section::before {
  opacity: 0.26;
}

#achievements.section::before {
  background: url("assets/achievements-bg-new.png") top center/cover no-repeat;
  opacity: 1;
  filter: none;
}

#contact.section::before {
  background: url("assets/achievements-bg.png") center/cover no-repeat;
  opacity: 1;
  filter: none;
}
#about.section::before {
  background: url("assets/achievements-bg.png") center/cover no-repeat;
  opacity: 1;
  filter: none;
}

#achievements {
  --bg0: #0a0f1a;
  --panel: rgba(255, 255, 255, 0.05);
  --panel2: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke2: rgba(255, 255, 255, 0.15);
  --text: rgba(255, 255, 255, 0.95);
  --muted: rgba(255, 255, 255, 0.65);
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.4);
  color: var(--text);
}

#achievements .section__title,
#achievements .section__sub {
  color: var(--text);
}

#customers.section::before {
  background:
    radial-gradient(
      800px 450px at 50% 50%,
      rgba(230, 99, 119, 0.12),
      transparent 70%
    ),
    radial-gradient(
      600px 400px at 80% 20%,
      rgba(138, 43, 226, 0.15),
      transparent 60%
    ) !important;
  opacity: 1;
  filter: none;
}

#customers.section {
  background: linear-gradient(185deg, #160a2d 0%, #0d051c 100%) !important;
}

#customers {
  --bg0: #0d051c;
  --bg: #0d051c;
  --panel: rgba(230, 99, 119, 0.15);
  --panel2: rgba(230, 99, 119, 0.25);
  --stroke: rgba(230, 99, 119, 0.25);
  --stroke2: rgba(230, 99, 119, 0.35);
  --text: rgba(255, 255, 255, 0.95);
  --muted: rgba(255, 255, 255, 0.6);
  --c1: #ff69b4;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.4);
  color: var(--text);
}

#customers .section__title,
#customers .section__sub {
  color: var(--text);
}
.divider-metallic {
  border: 0;
  height: 8px;
  margin: 0;
  position: relative;
  z-index: 10;
  border-radius: 10px;

  /* Pink Metallic gradient */
  background: linear-gradient(
    90deg,
    #5c3751 0%,
    #7b4a6d 15%,
    #d65a7f 35%,
    #ffffff 50%,
    #d65a7f 65%,
    #7b4a6d 85%,
    #5c3751 100%
  );

  /* 3D cylinder bevel (inset) and floating drop shadows (outer) */
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.9),
    inset 0 -2px 3px rgba(92, 55, 81, 0.7),
    0 15px 25px rgba(0, 0, 0, 0.25),
    0 5px 12px rgba(123, 74, 109, 0.4);

  /* Fade out left and right edges smoothly */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

/* =========================
   Top progress
========================= */
.scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  z-index: 60;
}

.scrollbar__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c2), var(--c1), var(--c3));
  box-shadow: 0 0 16px color-mix(in srgb, var(--c2) 35%, transparent);
}

/* =========================
   NAV
========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--bg0) 74%, transparent);
  border-bottom-color: color-mix(in srgb, var(--text) 8%, transparent);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 30%,
    color-mix(in srgb, var(--text) 95%, transparent),
    color-mix(in srgb, var(--c2) 70%, transparent)
  );
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--text) 12%, transparent),
    0 0 30px color-mix(in srgb, var(--c2) 22%, transparent);
}

.brand__text {
  font-family: var(--fontA);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__muted {
  color: var(--muted);
  font-weight: 700;
}

.nav__links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav__link {
  font-size: 14px;
  color: color-mix(in srgb, var(--text) 78%, transparent);
  padding: 10px 14px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.nav__link:hover {
  color: color-mix(in srgb, var(--text) 92%, transparent);
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.nav__link.active {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: 
  linear-gradient(135deg, rgb(233 27 102 / 82%) 0%, rgb(255 148 204 / 88%) 50%, rgba(150, 80, 160, 0.80) 100%);
  
  box-shadow:
    0 0 0 1px rgba(220, 120, 160, 0.35),
    0 3px 14px rgba(180, 75, 130, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -1px 0 rgba(0, 0, 0, 0.12) inset;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px) scale(1.03);
  position: relative;
  overflow: hidden;
  animation: navActivePulse 3.2s ease-in-out infinite;
}

/* Shimmer sweep — softer */
.nav__link.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 65%
  );
  background-size: 200% 100%;
  animation: navActiveShimmer 2.5s linear infinite;
  border-radius: inherit;
  pointer-events: none;
}

@keyframes navActiveShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes navActivePulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(220, 120, 160, 0.35),
      0 3px 14px rgba(180, 75, 130, 0.35),
      0 1px 0 rgba(255, 255, 255, 0.18) inset,
      0 -1px 0 rgba(0, 0, 0, 0.12) inset;
  }
  50% {
    box-shadow:
      0 0 0 1.5px rgba(220, 120, 160, 0.55),
      0 5px 22px rgba(180, 75, 130, 0.5),
      0 0 14px rgba(200, 100, 150, 0.22),
      0 1px 0 rgba(255, 255, 255, 0.22) inset,
      0 -1px 0 rgba(0, 0, 0, 0.14) inset;
  }
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile */
.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: color-mix(in srgb, var(--text) 85%, transparent);
  margin: 4px 0;
  border-radius: 2px;
}

.nav__mobile {
  display: none;
  border-top: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--bg0) 74%, transparent);
}

.nav__mobile.open {
  display: block;
}

.nav__mobileInner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav__mLink {
  padding: 12px 12px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--stroke);
}

.nav__mActions {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  cursor: pointer;
  transition:
    transform 0.12s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  user-select: none;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--icon {
  width: 42px;
  height: 42px;
  padding: 0;
}

.btn--primary {
  border-color: color-mix(in srgb, var(--c2) 24%, transparent);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--c2) 16%, transparent),
    var(--panel)
  );
  box-shadow: var(--glow2);
}

.btn--primary:hover {
  border-color: color-mix(in srgb, var(--c2) 36%, transparent);
  box-shadow:
    var(--glow2),
    0 16px 50px color-mix(in srgb, var(--c2) 12%, transparent);
}

.btn--ghost:hover {
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border-color: var(--stroke2);
  box-shadow: var(--shadow2);
}

.btn--chip {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--c1) 12%, transparent),
    var(--panel)
  );
  border-color: color-mix(in srgb, var(--c1) 18%, transparent);
  box-shadow: var(--glow1);
}

.btn--chip:hover {
  border-color: color-mix(in srgb, var(--c1) 30%, transparent);
}

.btn__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(
      600px 200px at 20% 0%,
      color-mix(in srgb, var(--c2) 30%, transparent),
      transparent 60%
    ),
    radial-gradient(
      600px 200px at 80% 120%,
      color-mix(in srgb, var(--c1) 22%, transparent),
      transparent 55%
    );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.btn--primary:hover .btn__glow {
  opacity: 1;
}

.w-full {
  width: 100%;
}

/* =========================
   Cards (3D)
========================= */
.card3d {
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--panel2) 92%, var(--bg0)),
    color-mix(in srgb, var(--panel) 92%, var(--bg0))
  );
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.card3d::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      600px 300px at 20% 10%,
      color-mix(in srgb, var(--c2) 14%, transparent),
      transparent 60%
    ),
    radial-gradient(
      600px 300px at 90% 90%,
      color-mix(in srgb, var(--c1) 12%, transparent),
      transparent 60%
    );
  opacity: 0.45;
  pointer-events: none;
}

.card3d > * {
  position: relative;
  z-index: 1;
}

/* =========================
   HERO
========================= */
.hero {
  padding-top: 64px;
  padding-bottom: 54px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
}

.hero__copy {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.hero__title {
  font-family: var(--fontA);
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 14px 0 12px;
  filter: drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.15))
    drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.15))
    drop-shadow(3px 3px 0px rgba(0, 0, 0, 0.15))
    drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.3));
}

.hero__desc {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  font-size: 16px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  color: color-mix(in srgb, var(--text) 82%, transparent);
  width: fit-content;
  box-shadow: var(--shadow2);
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c2), var(--c1), var(--c3));
  box-shadow: 0 0 20px color-mix(in srgb, var(--c2) 35%, transparent);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.stat {
  padding: 14px;
}

.stat__num {
  font-family: var(--fontA);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 22px;
}

.stat__label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.hero__visual {
  display: flex;
  justify-content: flex-end;
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
}

.portrait {
  width: min(420px, 100%);
  padding: 18px;
  border-radius: var(--radius2);
}

.portrait__frame {
  border-radius: 22px;
  padding: 16px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--bg0) 22%, transparent);
  position: relative;
  overflow: hidden;
}

.portrait__shine {
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(
      420px 240px at 30% 20%,
      color-mix(in srgb, var(--c2) 18%, transparent),
      transparent 62%
    ),
    radial-gradient(
      420px 240px at 75% 70%,
      color-mix(in srgb, var(--c3) 12%, transparent),
      transparent 64%
    ),
    radial-gradient(
      420px 240px at 20% 90%,
      color-mix(in srgb, var(--c1) 12%, transparent),
      transparent 62%
    );
  transform: rotate(18deg);
  opacity: 0.85;
}

.portrait__avatar {
  /* height: 220px; */
  height: 280px;
  /* height: auto; */
  border-radius: 18px;
  border: 1px solid var(--stroke);
  overflow: hidden;
  margin-bottom: 14px;
}

.avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(26px);
}

.portrait__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meta__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--stroke);
}

.meta__k {
  color: var(--muted);
  font-size: 12px;
}

.meta__v {
  font-size: 12px;
}

.floating {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
}

.floating--a {
  right: 16px;
  top: 16px;
  transform: rotate(8deg);
}

.floating--b {
  left: 16px;
  bottom: 16px;
  transform: rotate(-10deg);
}

.floating--c {
  right: 86px;
  bottom: 36px;
  transform: rotate(14deg);
  opacity: 0.65;
}

/* =========================
   ABOUT V2 (layout like sample)
========================= */
#about {
  --bg0: #ffffff;
  --bg1: #ffffff;
  --panel: #fdecef;
  --panel2: #f7d6e0;
  --stroke: rgba(13, 24, 38, 0.1);
  --stroke2: rgba(13, 24, 38, 0.15);
  --text: #0d1826;
  --muted: rgba(13, 24, 38, 0.65);
  --shadow: 0 18px 70px rgba(13, 24, 38, 0.12);
  color: var(--text);
}

.about2 {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.about2__storyTop {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.about2__title {
  font-family: var(--fontA);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  border-left: 4px solid var(--c2);
  padding-left: 20px;
}

.about2__text {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}

.text-pink {
  color: var(--c2);
}

.about2__icons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  justify-content: space-between;
  max-width: 480px;
}

.aboutIcon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 11px;
  color: var(--text);
  gap: 12px;
  font-weight: 500;
}

.aboutIcon__circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(214, 90, 127, 0.05);
  border: 1px solid rgba(255, 255, 255, 1);
}

.about2__mini {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.3fr;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 8px 30px rgba(214, 90, 127, 0.05);
  padding: 8px 0;
  width: 100%;
  max-width: 480px;
}

.miniStat {
  padding: 12px 14px;
  position: relative;
}

.miniStat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(214, 90, 127, 0.25);
}

.miniStat__k {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.miniStat__v {
  font-family: var(--fontA);
  font-weight: 800;
  font-size: 15px;
  margin-top: 8px;
  display: block;
  white-space: nowrap;
}

.about2__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about2__card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 8px 30px rgba(214, 90, 127, 0.05);
  display: flex;
  flex-direction: column;
}

.about2__card-content {
  flex: 1;
}

.about2__card-arrow {
  display: none;
}

.about2__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.2);
  box-shadow: 0 4px 12px rgba(214, 90, 127, 0.25);
  margin-bottom: 24px;
  color: var(--text);
}

.about2__card h4 {
  margin: 0 0 12px;
  font-family: var(--fontA);
  font-size: 18px;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 10px;
}

.about2__card h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--c2);
  border-radius: 4px;
}

/* =========================
   Projects
========================= */
#contact {
  background: linear-gradient(180deg, #f7ccd4 0%, #f3d4d4 100%);
}
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 14px;
  flex-wrap: wrap;
}

.filter {
  border-radius: 999px;
  padding: 9px 12px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  cursor: pointer;
  color: color-mix(in srgb, var(--text) 78%, transparent);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter:hover {
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border-color: var(--stroke2);
}

.filter.active {
  color: color-mix(in srgb, var(--text) 96%, transparent);
  border-color: color-mix(in srgb, var(--c2) 22%, transparent);
  background: color-mix(in srgb, var(--c2) 9%, transparent);
  box-shadow: var(--glow2);
}

.filters__spacer {
  flex: 1 1 auto;
}

.search input {
  width: min(320px, 100%);
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--text);
  padding: 10px 14px;
  outline: none;
}

.search input:focus {
  border-color: color-mix(in srgb, var(--c2) 30%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c2) 10%, transparent);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.project {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--stroke);
  cursor: pointer;
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 6, 13, 0.95) 0%,
    rgba(5, 6, 13, 0.6) 40%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.project__thumb {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  border-radius: 0;
  border: none;
  margin: 0;
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

.project__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project:hover .project__thumb img {
  transform: scale(1.05);
}

.project__content {
  position: relative;
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
}

.project__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: color-mix(in srgb, var(--text) 78%, transparent);
}

.tag.tiktok {
  border-color: color-mix(in srgb, var(--c2) 20%, transparent);
  box-shadow: var(--glow2);
}

.tag.instagram {
  border-color: color-mix(in srgb, var(--c3) 20%, transparent);
  box-shadow: var(--glow3);
}

.tag.youtube {
  border-color: color-mix(in srgb, var(--c1) 20%, transparent);
  box-shadow: var(--glow1);
}

.project__title {
  margin: 4px 0 0;
  font-family: var(--fontA);
  letter-spacing: -0.02em;
  font-size: 20px;
  line-height: 1.2;
}

.project__hover-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.4s ease,
    opacity 0.4s ease,
    margin-top 0.4s ease;
}

.project:hover .project__hover-content {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 4px;
}

.project__hover-inner {
  overflow: hidden;
}

.project__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* =========================
   RESUME
========================= */
.resume__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.resume__card {
  padding: 18px;
}

.resume__card h3 {
  margin: 0 0 10px;
  font-family: var(--fontA);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.titem {
  display: flex;
  gap: 12px;
}

.titem__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--c2), var(--c1));
  box-shadow: 0 0 22px color-mix(in srgb, var(--c2) 22%, transparent);
  flex: 0 0 auto;
}

.titem__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.skills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill span {
  font-size: 13px;
  color: color-mix(in srgb, var(--text) 84%, transparent);
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border: 1px solid var(--stroke);
  overflow: hidden;
  margin-top: 6px;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c2), var(--c1), var(--c3));
  box-shadow: 0 0 18px color-mix(in srgb, var(--c2) 18%, transparent);
}

.resume__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}

.chip {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  color: color-mix(in srgb, var(--text) 80%, transparent);
}

.edu__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

/* =========================
   CONTACT (fix padding "nempel")
========================= */
/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: start;
}

.contact__card {
  padding: 18px;
}

.contact__card iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.contact__card h3 {
  margin: 0 0 10px;
  font-family: var(--fontA);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  padding: 10px 12px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
textarea:focus {
  border-color: color-mix(in srgb, var(--c2) 30%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c2) 10%, transparent);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--stroke);
}

.link__l {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link__r {
  color: var(--muted);
}

.link:hover {
  border-color: var(--stroke2);
  box-shadow: var(--shadow2);
}

.availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c2) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--c2) 18%, transparent);
  box-shadow: var(--glow2);
}

.badge i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c2) 90%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--c2) 35%, transparent);
}

.footer {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--stroke);
}

/* =========================
   MODAL
========================= */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 90;
}

.modal.open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

html[data-theme="light"] .modal__backdrop {
  background: rgba(10, 12, 18, 0.28);
}

.modal__panel {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  border-radius: 26px;
  padding: 18px;
  background: var(--panel2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 100px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  cursor: pointer;
}

.modal__content {
  padding-top: 10px;
}

.modal__tag {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  font-size: 12px;
}

.modal__title {
  margin: 12px 0 6px;
  font-family: var(--fontA);
  letter-spacing: -0.02em;
  font-size: 24px;
}

.modal__desc {
  margin: 0;
  color: var(--muted);
}

.modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.metric {
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--bg0) 18%, transparent);
}

.metric__k {
  color: var(--muted);
  font-size: 12px;
  display: block;
}

.metric__v {
  font-family: var(--fontA);
  font-weight: 800;
  margin-top: 6px;
  display: block;
}

.modal__story {
  margin-top: 14px;
}

.modal__story h4 {
  margin: 0 0 8px;
  font-family: var(--fontA);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: color-mix(in srgb, var(--text) 86%, transparent);
  line-height: 1.4;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--c2), var(--c1));
  box-shadow: 0 0 18px color-mix(in srgb, var(--c2) 26%, transparent);
  flex: 0 0 auto;
}

.modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* =========================
   Reveal
========================= */
.reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =========================
   Toast
========================= */
.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  background: color-mix(in srgb, var(--bg0) 75%, transparent);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  color: color-mix(in srgb, var(--text) 88%, transparent);
  max-width: 340px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Floating quick bar
========================= */
.floatbar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floatbar__btn {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--panel2);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.floatbar__btn:hover {
  transform: translateY(-2px);
  border-color: var(--stroke2);
  box-shadow:
    var(--shadow),
    0 0 0 1px color-mix(in srgb, var(--c2) 14%, transparent);
}

.floatbar__btn--wa {
  border-color: color-mix(in srgb, var(--c2) 22%, transparent);
  box-shadow: var(--glow2), var(--shadow2);
}

.floatbar__btn--theme {
  border-color: color-mix(in srgb, var(--c1) 18%, transparent);
  box-shadow: var(--glow1), var(--shadow2);
}

.floatbar__btn::after {
  content: attr(data-label);
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg0) 75%, transparent);
  border: 1px solid var(--stroke);
  color: color-mix(in srgb, var(--text) 88%, transparent);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.floatbar__btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}

/* =========================
   Responsive
========================= */
@media (max-width: 980px) {
  /* Fix hero background: pakai file portrait khusus mobile */
  #home.section::before {
    background: url("assets/hero-bg-mobile-new.png") top center / cover
      no-repeat;
  }

  .hero {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hero__title {
    font-size: 28px;
    filter: drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.1))
      drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
  }

  .hero__desc {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .hero__copy {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero__cta {
    justify-content: flex-start;
  }

  .hero__visual {
    order: 2;
    justify-content: center;
  }

  .portrait__frame {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 20px !important;
    padding: 12px !important;
  }

  .portrait__avatar {
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
    border-radius: 12px;
  }

  .avatar__img {
    border-radius: 12px;
  }

  .portrait__meta {
    gap: 6px;
  }

  .meta__row {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 6px 12px;
    justify-content: space-between;
    width: 100%;
    font-size: 11px;
  }

  .meta__k,
  .meta__v {
    color: var(--text);
  }

  .hero__stats {
    order: 3;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    margin-top: 0;
  }

  .stat {
    flex: 1;
    padding: 10px 6px;
    text-align: center;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
  }

  .stat__num {
    font-size: 18px;
    color: #fff;
  }

  .stat__label {
    font-size: 10px;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.85);
  }

  .about2 {
    grid-template-columns: 1fr;
  }

  .about2__icons {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .aboutIcon {
    flex: 1;
    width: auto;
  }

  .aboutIcon__circle {
    width: 44px;
    height: 44px;
  }

  .aboutIcon svg {
    width: 20px;
    height: 20px;
  }

  .about2__cards {
    grid-template-columns: 1fr;
  }

  .about2__card {
    flex-direction: row;
    align-items: center;
    padding: 16px;
  }

  .about2__icon {
    margin-bottom: 0;
    margin-right: 16px;
    flex-shrink: 0;
  }

  .about2__card h4 {
    margin: 0 0 4px;
    padding-bottom: 8px;
    font-size: 16px;
  }

  .about2__card h4::after {
    bottom: 4px;
  }

  .about2__card p {
    margin: 0;
    font-size: 13px;
  }

  .about2__card-arrow {
    display: block;
    width: 16px;
    height: 16px;
    color: var(--text);
    margin-left: 12px;
    flex-shrink: 0;
  }

  .about2__mini {
    grid-template-columns: 0.8fr 1.1fr 1.3fr;
    padding: 8px 0;
  }

  .miniStat {
    padding: 10px 8px;
  }

  .miniStat__v {
    font-size: 13px;
    margin-top: 4px;
    white-space: normal;
  }

  .projects__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav__links {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .projects__grid {
    grid-template-columns: 1fr;
  }

  .modal__grid {
    grid-template-columns: 1fr;
  }

  .floatbar {
    right: 12px;
    bottom: 12px;
  }

  .floatbar__btn {
    width: 52px;
    height: 52px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .btn,
  .nav,
  .nav__link,
  .floatbar__btn {
    transition: none !important;
  }
}

/* Section spacing tune */
/* .section {
  padding: 92px 0;
} */

.section {
  padding: 80px 0 92px 0;
}

#contact.section {
  padding-bottom: 110px;
}

.section__sub {
  padding-bottom: 24px;
}

/* Navbar selalu stay di atas */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  /* di atas konten */
}

/* Supaya konten tidak ketutup navbar */
:root {
  --nav-h: 80px;
  /* nanti di-set otomatis via JS */
}

body {
  padding-top: var(--nav-h);
}

/* Progress bar tetap paling atas */
.scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* lebih tinggi dari navbar */
}

/* ==============================
   BRANDS SECTION
   Fully integrated with theme system
================================ */

.wp-brands {
  padding: 84px 0;
  background-image: url("assets/bg-brands-new.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  --bg0: #0a0f1a;
  --panel: #fdecef;
  --panel2: #f7d6e0;
  --stroke: rgba(13, 24, 38, 0.1);
  --stroke2: rgba(13, 24, 38, 0.15);
  --text: rgba(255, 255, 255, 0.95);
  --muted: rgba(255, 255, 255, 0.65);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  color: var(--text);
}
.wp-brands .section__title {
  color: var(--text);
}

/* Grid */
/* Swiper Container */
.brands-swiper {
  width: 100%;
  padding: 40px 0 60px; /* space for shadow and pagination */
}

.brands-swiper .swiper-slide {
  width: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; /* Hide far away cards */
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    visibility 0.5s ease;
}

.brands-swiper .swiper-slide-visible {
  opacity: 0.15; /* Fallback for visible but not adjacent */
  visibility: visible;
}

.brands-swiper .swiper-slide-active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.brands-swiper .swiper-slide-next,
.brands-swiper .swiper-slide-prev {
  opacity: 0.8;
  visibility: visible;
  z-index: 4;
}

/* Select the slide after next */
.brands-swiper .swiper-slide-next + .swiper-slide {
  opacity: 0.3;
  visibility: visible;
  z-index: 3;
}

/* Card — Metallic Silver Pink & Glossy */
.wp-brand-card {
  width: 100%;
  background: linear-gradient(
    135deg,
    #f2d5de 0%,
    #ffffff 12%,
    #ffffff 22%,
    #e8bbc9 45%,
    #c9a3b2 75%,
    #b28799 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -4px 10px rgba(130, 80, 100, 0.4),
    inset 2px 0 8px rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 40px 24px 32px;
  text-align: center;
  color: #2a111a;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Glossy Shine Overlay */
.wp-brand-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.4) 15%,
    rgba(255, 255, 255, 0) 30%
  );
  border-radius: 32px;
  pointer-events: none;
  z-index: 0;
}

.wp-brand-card > * {
  position: relative;
  z-index: 1;
}

.swiper-slide-active .wp-brand-card {
  background: linear-gradient(
    135deg,
    #fadfe6 0%,
    #ffffff 12%,
    #ffffff 22%,
    #f4c3d4 45%,
    #dbb0c1 75%,
    #c492a7 100%
  );
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    inset 0 3px 6px rgba(255, 255, 255, 1),
    inset 0 -5px 15px rgba(150, 90, 110, 0.5),
    0 0 20px rgba(251, 151, 166, 0.4);
  border: 1px solid #ffffff;
  transform: scale(1.02);
}

/* Logo Circle - Embossed Metallic */
.wp-brand-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.15),
    inset 0 2px 5px rgba(255, 255, 255, 1),
    inset 0 -2px 5px rgba(200, 200, 200, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.9);
  padding: 12px;
  position: relative;
  z-index: 1;
}

.wp-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Text */
.wp-brand-card h3 {
  margin: 0 0 8px;
  font-family: var(--fontA);
  font-size: 22px;
  font-weight: 800;
  color: #1a0a10;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.6);
}

.wp-brand-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4a2c3a;
  font-weight: 600;
  margin-bottom: 14px;
}

.wp-brand-location i,
.wp-brand-location svg {
  width: 14px;
  height: 14px;
}

.wp-brand-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #331a24;
  font-weight: 500;
  margin-bottom: 28px;
  position: relative;
  padding-top: 14px;
}

.wp-brand-card p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: rgba(0, 0, 0, 0.15);
}

/* Button - Glossy Pink */
.btn-view-project {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f26d8c 0%, #d63d64 100%);
  border: 1px solid #ff9db4;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow:
    0 8px 20px rgba(214, 61, 100, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-view-project:hover {
  background: linear-gradient(135deg, #f984a0 0%, #e84c75 100%);
  box-shadow:
    0 12px 25px rgba(214, 61, 100, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-view-project .ico {
  width: 14px;
  height: 14px;
}

/* Navigation & Pagination */
.brands-nav-prev,
.brands-nav-next {
  width: 44px;
  height: 44px;
  background: rgba(251, 151, 166, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
}

.brands-nav-prev::after,
.brands-nav-next::after {
  display: none;
}

.brands-nav-prev .ico,
.brands-nav-next .ico {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.brands-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.brands-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 20px;
  border-radius: 8px;
}

/* Mobile */
@media (max-width: 768px) {
  .wp-brands {
    padding: 72px 0;
    background-image: url("assets/bg-brands-mobile.png");
  }

  .brands-swiper .swiper-slide {
    width: 280px;
  }

  .wp-brand-card {
    border-radius: 24px;
    padding: 32px 18px 24px;
  }

  .wp-brand-logo {
    width: 76px;
    height: 76px;
    margin-bottom: 14px;
    padding: 10px;
  }

  .wp-brand-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .wp-brand-location {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .wp-brand-card p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 20px;
    padding-top: 10px;
  }

  .btn-view-project {
    padding: 10px 22px;
    font-size: 12px;
  }
}
/* ==============================
   PORTFOLIO REVAMP
================================ */
.wp-portfolio {
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}
.wp-portfolio::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  right: -10%;
  bottom: -20%;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 105, 180, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(255, 105, 180, 0.08) 0%,
      transparent 40%
    );
  pointer-events: none;
  z-index: 0;
}
.wp-portfolio > .container,
.wp-portfolio > .swiper {
  position: relative;
  z-index: 1;
}

/* Filters */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.portfolio-filter {
  background: transparent;
  border: 1px solid #ff69b4;
  color: #ff69b4;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.portfolio-filter:hover {
  background: rgba(255, 105, 180, 0.1);
  color: #ff69b4;
}
.portfolio-filter.active {
  border-color: #ff69b4;
  background: #ff69b4;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

/* Search */
.portfolio-search {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.portfolio-search .search-box {
  position: relative;
  width: 100%;
  max-width: 400px;
}
.portfolio-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 12px 20px 12px 40px;
  color: #fff;
  outline: none;
  font-size: 14px;
}
.portfolio-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.portfolio-search .search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: rgba(255, 255, 255, 0.5);
  fill: none;
}

/* Swiper Carousel */
.projects-swiper {
  width: 100%;
  padding: 40px 0 80px 0;
  perspective: 1200px;
  overflow: hidden;
}
.projects-swiper .swiper-slide {
  width: 380px;
  height: 580px;
  transition: all 0.4s ease;
}
@media (max-width: 1200px) {
  .projects-swiper .swiper-slide {
    width: 340px;
    height: 520px;
  }
}
@media (max-width: 768px) {
  .projects-swiper .swiper-slide {
    width: 280px;
    height: 440px;
  }
}
/* Hide all slides initially */
.projects-swiper .swiper-slide {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}
/* Show active */
.projects-swiper .swiper-slide-active {
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto;
  z-index: 5;
}
/* Show 2 on left, 2 on right */
.projects-swiper .swiper-slide-next,
.projects-swiper .swiper-slide-prev,
.projects-swiper .swiper-slide-next + .swiper-slide,
.projects-swiper .swiper-slide:has(+ .swiper-slide-prev) {
  opacity: 0.6 !important;
  visibility: visible;
  pointer-events: auto;
}

/* Project Card */
.projects-swiper .swiper-slide {
  perspective: 1200px;
}
.wp-project-card {
  width: 100%;
  height: 100%;
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.6s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}
/* Left cards (Parallel) */
.projects-swiper .swiper-slide:has(~ .swiper-slide-active) .wp-project-card {
  transform: rotateY(30deg);
}
/* Right cards (Parallel) */
.projects-swiper .swiper-slide-active ~ .swiper-slide .wp-project-card {
  transform: rotateY(-30deg);
}
/* Active card */
.projects-swiper .swiper-slide-active .wp-project-card {
  transform: rotateY(0deg);
  border-color: #ff69b4;
  box-shadow:
    0 0 30px rgba(255, 105, 180, 0.4),
    inset 0 0 15px rgba(255, 105, 180, 0.2);
}

.wp-project-thumb {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.wp-project-thumb::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(10, 10, 16, 1) 10%,
    rgba(10, 10, 16, 0.8) 40%,
    transparent 100%
  );
  pointer-events: none;
}
.wp-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ff69b4;
  border: 1px solid #ff69b4;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  text-transform: capitalize;
  letter-spacing: 1px;
  z-index: 2;
}
.swiper-slide-active .wp-project-tag {
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

.wp-project-info {
  padding: 20px 24px 24px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: transparent;
}
.wp-project-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
  font-family: serif;
  line-height: 1.2;
}
.wp-project-info .year {
  font-size: 13px;
  color: #ff69b4;
  font-weight: 500;
  margin-bottom: 20px;
}
.wp-project-actions-container {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.wp-project-action-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}
.wp-project-action-circle:hover {
  background: rgba(255, 255, 255, 0.1);
}
.wp-project-action-pill {
  display: none;
  padding: 10px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: capitalize;
  cursor: pointer;
  transition: all 0.3s ease;
}
.wp-project-action-pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Active slide adjustments */
.swiper-slide-active .wp-project-actions-container {
  justify-content: center;
}
.swiper-slide-active .wp-project-action-circle {
  display: none;
}
.swiper-slide-active .wp-project-action-pill {
  display: inline-block;
}

/* Nav */
.projects-nav-prev,
.projects-nav-next {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
}
.projects-nav-prev::after,
.projects-nav-next::after {
  display: none;
}
.projects-nav-prev .ico,
.projects-nav-next .ico {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
}
.projects-pagination {
  bottom: 20px !important;
}
.projects-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
}
.projects-pagination .swiper-pagination-bullet-active {
  background: #ff69b4;
  width: 24px;
  border-radius: 8px;
}

/* Stats */
.portfolio-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: #120917;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 24px 32px;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(252, 165, 165, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff69b4;
  font-size: 24px;
}
.stat-text h4 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.stat-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 768px) {
  .portfolio-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 16px;
  }
  .stat-item {
    min-width: 0;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .stat-text h4 {
    font-size: 20px;
  }
  .projects-swiper .swiper-slide {
    width: 260px;
    height: 440px;
  }
}

/* ==============================
   Crisp Chat — pindah ke kiri bawah
================================ */

/* Widget bubble */
.crisp-client {
  right: auto !important;
  left: 20px !important;
  bottom: 20px !important;
}

/* Jika ada mode expanded / open */
.crisp-client .cc-1xry {
  right: auto !important;
  left: 0 !important;
}

@media (max-width: 640px) {
  .crisp-client {
    left: 12px !important;
    bottom: 12px !important;
  }
}

#crisp-chatbox {
  right: auto !important;
  left: 20px !important;
  bottom: 20px !important;
}

/* Modal Media Slider & Youtube */
.modal__media {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.main-media {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
}
.main-media iframe,
.main-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.thumbnail-gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.thumbnail-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  padding: 4px;
}
.thumbnail-gallery::-webkit-scrollbar {
  display: none;
}
.thumbnail {
  position: relative;
  width: 80px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  opacity: 0.6;
  transition:
    opacity 0.2s,
    border-color 0.2s;
}
.thumbnail.active {
  border-color: var(--c1); /* Use primary color, e.g. gold */
  opacity: 1;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-btn {
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* .nav.hide,
.nav__mobile.hide {
  transform: translateY(-100%);
  transition: .3s ease;
}

.nav__mobile.hide {
  display: none !important;
}

.nav {
  transition: .3s ease;
} */

.nav,
.nav__mobile {
  transition: 0.35s ease;
}

/* state hidden */
.nav.hide,
.nav__mobile.hide {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  background: var(--panel2);
  border: 1px solid var(--stroke);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover {
  background: var(--hover);
}

.page-btn.active {
  background: var(--c1);
  color: white;
  border-color: var(--c1);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--c1) 40%, transparent);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-btn.page-nav {
  font-size: 18px;
}

/* Achievements Timeline */
.achieve-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
  overflow: hidden;
}

/* Main Achievement */
.achieve-tab-content {
  display: none;
  opacity: 0;
  overflow: hidden;
}

.achieve-tab-content.active {
  display: block;
  opacity: 1;
}

.achieve-tab-content .card3d {
  transform-style: flat;
}

.achieve-filters {
  margin-bottom: 0;
}

.main-achieve {
  display: flex;
  background: var(--panel);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 80px;
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.main-achieve__photo {
  width: 50%;
  position: relative;
  min-height: 400px;
}

.main-achieve__photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-achieve__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.main-achieve__photo-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 2;
  color: #fff;
}

.main-achieve__photo-text .small-text {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.main-achieve__photo-text h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
}

.main-achieve__photo-text .signature {
  font-family: "Brush Script MT", cursive;
  font-style: italic;
  font-size: 32px;
  color: #fff;
}

.main-achieve__content {
  width: 50%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-achieve__year {
  font-size: 80px;
  font-family: serif;
  font-weight: 700;
  color: var(--c1);
  line-height: 1;
  margin-bottom: 24px;
}

.main-achieve__badge {
  display: inline-block;
  background: #d32f2f;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  align-self: flex-start;
}

.main-achieve__content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.achieve-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--stroke);
  transform: translateX(-50%);
}

.achieve-item {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.achieve-item:nth-child(even) {
  flex-direction: row-reverse;
}

.achieve-item:last-child {
  margin-bottom: 0;
}

.achieve-item__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c1);
  box-shadow:
    0 0 0 6px var(--panel),
    0 0 16px var(--c1);
  z-index: 2;
}

.achieve-item__year-label {
  position: absolute;
  left: 50%;
  bottom: calc(50% + 24px);
  transform: translateX(-50%);
  border-radius: 20px;
  background: var(--bg);
  border: 2px solid var(--c1);
  color: var(--c1);
  font-weight: 600;
  font-size: 14px;
  padding: 4px 16px;
  box-shadow:
    0 0 0 6px var(--panel),
    0 0 16px rgba(138, 43, 226, 0.2);
  z-index: 2;
  white-space: nowrap;
}

.achieve-item__dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 40px;
  height: 1px;
  background: var(--stroke);
  transform: translateY(-50%);
}

.achieve-item:nth-child(even) .achieve-item__dot::after {
  left: auto;
  right: 100%;
}

.achieve-item__photo,
.achieve-item__text {
  width: calc(50% - 40px);
}

.achieve-item__photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.achieve-item__photo img:hover {
  transform: translateY(-5px);
  border-color: var(--c1);
}

.achieve-item__text {
  position: relative;
  padding: 20px;
}

.achieve-spark {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  color: var(--c1);
  opacity: 0.8;
}

.achieve-text-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.achieve-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.achieve-icon .ico {
  width: 24px;
  height: 24px;
}

.achieve-details h3 {
  font-size: 20px;
  margin-bottom: 8px;
  margin-top: 0px;
  line-height: 1.3;
}

.achieve-date {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c1);
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .achieve-timeline::before {
    left: 20px;
  }

  .achieve-item__dot {
    left: 20px;
    transform: translate(-50%, -50%);
  }

  .achieve-item__year-label {
    left: 20px;
  }

  .achieve-item__dot::after {
    display: none;
  }

  .achieve-item,
  .achieve-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
  }

  .achieve-item__photo,
  .achieve-item__text {
    width: 100%;
  }

  .achieve-item__photo {
    margin-bottom: 20px;
  }

  .achieve-item__photo img {
    height: 180px;
  }

  .achieve-item__text {
    padding: 24px;
  }

  .achieve-text-inner {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 992px) {
  .main-achieve {
    flex-direction: column;
  }
  .main-achieve__photo,
  .main-achieve__content {
    width: 100%;
  }
  .main-achieve__photo {
    min-height: 350px;
  }
  .main-achieve__content {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .main-achieve__photo-text h2 {
    font-size: 24px;
  }
  .main-achieve__photo-text .signature {
    font-size: 28px;
  }
  .main-achieve__year {
    font-size: 60px;
  }
  .main-achieve__content h3 {
    font-size: 24px;
  }
  .main-achieve__content {
    padding: 30px 20px;
  }
}

/* =========================
   Typewriter & Gradient
========================= */
.grad-white-pink {
  background: linear-gradient(90deg, #ffffff 0%, var(--c2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

.typewrite {
  -webkit-text-fill-color: var(--c2);
  color: var(--c2);
}

.typewrite > .wrap {
  border-right: 0.08em solid var(--c2);
  animation: blink-caret 0.75s step-end infinite;
  display: inline-block;
  padding-right: 2px;
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--c2);
  }
}

@media (max-width: 768px) {
  #home.section::before {
    /* background: url('assets/hero-bg-mobile-new.png') top center/cover no-repeat; */
    width: 100%;
    height: 100vh;

    background-image: url("assets/hero-bg-mobile-new.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  #about.section::before {
    background-image: url("assets/hero-bg-mobile-new-3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    filter: none;
  }
}

/* =========================
   CUSTOMER SAY / TESTIMONIAL
========================= */
.csay__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 40px;
}

.csay__header-left {
  flex-shrink: 0;
}

.csay__header-left .section__title {
  text-align: left;
  margin-bottom: 0;
  font-style: italic;
  font-family: "Georgia", serif;
}

.csay__header-right {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

.csay__header-right p {
  text-align: right;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 360px;
}

.csay__nav {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.csay__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--stroke2);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.csay__nav-btn:hover {
  border-color: var(--c1);
  background: rgba(230, 99, 119, 0.1);
  color: var(--c1);
}

.csay__nav-btn .ico {
  width: 18px;
  height: 18px;
}

/* Swiper */
.csay__slider {
  overflow: hidden;
}

.csay-swiper {
  overflow: visible;
  padding: 20px 0;
}

/* Swiper Slide */
.csay-swiper .swiper-slide {
  height: auto;
}

/* Active card glow — matches reference pink neon border */
.csay-swiper .swiper-slide-active .csay__card {
  background: rgba(55, 28, 55, 0.95);
  border-color: #ff69b4;
  box-shadow:
    0 0 15px rgba(255, 105, 180, 0.4),
    0 0 35px rgba(255, 105, 180, 0.2);
  transform: scale(1.04);
  z-index: 5;
}

.csay-swiper .swiper-slide-active .csay__logo {
  border-color: #ff69b4;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.35);
}

/* Card */
.csay__card {
  background: rgba(32, 20, 42, 0.88);
  border: 1px solid rgba(230, 99, 119, 0.25);
  border-radius: 18px;
  padding: 32px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  isolation: isolate;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.csay__card:hover {
  background: rgba(45, 25, 55, 0.92);
  border-color: rgba(230, 99, 119, 0.45);
  transform: translateY(-4px);
}

/* Logo circle */
.csay__logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.csay__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
}

/* Name */
.csay__name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: 0.3px;
}

/* Stars */
.csay__stars {
  color: var(--c1);
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

/* Text */
.csay__text {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  flex: 1;
  margin: 0;
  padding: 0 4px;
}

/* Quote icon */
.csay__quote {
  display: block;
  margin-top: 22px;
  font-size: 28px;
  color: var(--c1);
  opacity: 0.45;
  line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .csay__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .csay__header-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .csay__header-right p {
    text-align: left;
    max-width: 100%;
  }

  .csay__nav {
    align-self: flex-end;
  }

  /* Let Swiper calculate mobile widths smoothly */

  .csay__card {
    padding: 24px 16px 20px;
  }

  .csay__logo {
    width: 68px;
    height: 68px;
  }
}

/* =========================================================
   FEMININE FLORAL & BUTTERFLY PRELOADER (CIWI-CIWI ESTETIK)
========================================================= */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: #080612;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.85s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.85s ease;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 105, 180, 0.32) 0%, rgba(236, 64, 122, 0.14) 45%, rgba(0, 0, 0, 0) 72%);
  border-radius: 50%;
  animation: loaderPulseGlow 3s ease-in-out infinite alternate;
}

@keyframes loaderPulseGlow {
  0% { transform: scale(0.82); opacity: 0.55; }
  100% { transform: scale(1.3); opacity: 1; }
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader-art-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.floral-wreath-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.ring-spinner {
  transform-origin: center;
  animation: ringRotate 2.8s linear infinite;
}

@keyframes ringRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Floating Petals & Sparkles */
.loader-petals {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.petal {
  position: absolute;
  font-size: 16px;
  opacity: 0;
  animation: floatPetal 3.2s ease-in-out infinite;
}

.petal.p1 { top: -12px; left: 48%; animation-delay: 0s; }
.petal.p2 { top: 20%; right: -12px; animation-delay: 0.5s; font-size: 14px; }
.petal.p3 { bottom: 10%; right: 5%; animation-delay: 1s; }
.petal.p4 { bottom: -12px; left: 48%; animation-delay: 1.5s; }
.petal.p5 { bottom: 20%; left: -12px; animation-delay: 2s; font-size: 14px; }
.petal.p6 { top: 15%; left: 5%; animation-delay: 2.5s; }

@keyframes floatPetal {
  0% { transform: translateY(12px) rotate(0deg) scale(0.6); opacity: 0; }
  50% { transform: translateY(-14px) rotate(180deg) scale(1.15); opacity: 1; }
  100% { transform: translateY(-28px) rotate(360deg) scale(0.6); opacity: 0; }
}

/* Butterfly Flapping Animation */
.butterfly-box {
  width: 90px;
  height: 90px;
  position: relative;
  z-index: 5;
  filter: drop-shadow(0 0 18px rgba(255, 105, 180, 0.85));
  animation: butterflyHover 2.5s ease-in-out infinite alternate;
}

@keyframes butterflyHover {
  0% { transform: translateY(-5px) scale(0.95); }
  100% { transform: translateY(7px) scale(1.05); }
}

.butterfly-svg {
  width: 100%;
  height: 100%;
}

.wing {
  transform-origin: 50px 50px;
}

.wing-left {
  animation: flapLeft 0.5s ease-in-out infinite alternate;
}

.wing-right {
  animation: flapRight 0.5s ease-in-out infinite alternate;
}

@keyframes flapLeft {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(-68deg); }
}

@keyframes flapRight {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(68deg); }
}

/* Loader Text & Progress Bar */
.loader-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 6px 0;
  text-shadow: 0 0 24px rgba(255, 105, 180, 0.5);
}

.loader-subtitle {
  font-size: 13.5px;
  font-weight: 500;
  color: #d8c7e2;
  margin: 0 0 18px 0;
  letter-spacing: 0.5px;
}

.loader-progress-track {
  width: 190px;
  height: 4.5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}

.loader-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff80ab 0%, #ec407a 50%, #ab47bc 100%);
  border-radius: 10px;
  box-shadow: 0 0 14px #ff69b4;
  transition: width 1.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   ANIMATED GLOWING PINK BUTTERFLY ON PROFILE PHOTO FRAME
========================================================= */
.hero__visual {
  position: relative !important;
}

.frame-butterfly-ornament {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  z-index: 25;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(255, 64, 129, 0.95)) drop-shadow(0 0 8px #ff80ab);
  animation: frameButterflyFloat 3.2s ease-in-out infinite alternate;
}

@keyframes frameButterflyFloat {
  0% { transform: translateY(0px) rotate(-8deg) scale(0.97); }
  100% { transform: translateY(-12px) rotate(-20deg) scale(1.1); }
}

.frame-butterfly-svg {
  width: 100%;
  height: 100%;
}

.f-wing {
  transform-origin: 50px 50px;
}

.f-wing-left {
  animation: fFlapLeft 0.5s ease-in-out infinite alternate;
}

.f-wing-right {
  animation: fFlapRight 0.5s ease-in-out infinite alternate;
}

@keyframes fFlapLeft {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(-62deg); }
}

@keyframes fFlapRight {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(62deg); }
}

/* About section: landed butterfly gentle idle animation */
@keyframes aboutButterflyLanded {
  0%   { transform: translateY(0px) rotate(-12deg) scale(1); }
  40%  { transform: translateY(-7px) rotate(-6deg) scale(1.06); }
  70%  { transform: translateY(-10px) rotate(-18deg) scale(1.08); }
  100% { transform: translateY(-4px) rotate(-10deg) scale(1.03); }
}
