/* =========================================================
   ROOT
========================================================= */

:root {
  --primary: #FDC243;
  --secondary: #BCA0F9;
  --tertiary: #A7D8C8;
  --quaternary: #EBF4B8;

  --bg: #0c0e14;
  --text: #f4f2ea;
  --muted: #8f8f9c;

  /* dark ink — used for text sitting on top of bright accent fills */
  --ink: #15141a;

  --glass: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .13);

  --ease: cubic-bezier(.22, .61, .36, 1);
}


/* =========================================================
   SWEET
========================================================= */

[data-theme="sweet"] {
  --primary: #F46CEA;
  --secondary: #FDF56D;
  --tertiary: #7878EF;
  --quaternary: #A9F7E3;

  --bg: #170f1c;
}


/* =========================================================
   DEEPLY
========================================================= */

[data-theme="deeply"] {
  --primary: #3E64D6;
  --secondary: #8C5CF2;
  --tertiary: #6896F2;
  --quaternary: #92E2F4;

  --bg: #060a17;
}


/* =========================================================
   RESET
========================================================= */

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


html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;
  overflow-x: hidden;

  background: var(--bg);
  color: var(--text);

  font-family: "DM Sans", sans-serif;

  transition:
    background .6s var(--ease),
    color .6s var(--ease);
}


/* =========================================================
   BACKGROUND
========================================================= */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -10;

  overflow: hidden;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 10% 15%,
      color-mix(in srgb, var(--primary) 20%, transparent),
      transparent 30%
    ),

    radial-gradient(
      circle at 90% 20%,
      color-mix(in srgb, var(--tertiary) 22%, transparent),
      transparent 32%
    ),

    radial-gradient(
      circle at 50% 100%,
      color-mix(in srgb, var(--quaternary) 28%, transparent),
      transparent 38%
    ),

    var(--bg);

  transition: background .7s var(--ease);
}


.page-bg::before {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  top: -170px;
  right: -100px;

  border-radius: 50%;

  background:
    color-mix(
      in srgb,
      var(--primary) 20%,
      transparent
    );

  filter: blur(80px);

  animation:
    backgroundFloat 12s ease-in-out infinite;
}


.page-bg::after {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  left: -130px;
  bottom: -150px;

  border-radius: 50%;

  background:
    color-mix(
      in srgb,
      var(--tertiary) 22%,
      transparent
    );

  filter: blur(80px);

  animation:
    backgroundFloat 15s ease-in-out infinite reverse;
}


@keyframes backgroundFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(25px, -25px) scale(1.08);
  }

}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding:
    24px
    clamp(20px, 5vw, 70px);

  pointer-events: none;
}


.brand-mark {
  pointer-events: auto;

  font-family: "Space Grotesk", sans-serif;

  font-size: 23px;
  font-weight: 700;

  letter-spacing: -1px;
}


.brand-mark span {
  color: var(--secondary);

  transition:
    color .5s var(--ease);
}


/* =========================================================
   THEME SWITCHER
========================================================= */

.theme-switcher {
  pointer-events: auto;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 15px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background:
    var(--glass);

  color: var(--text);

  font-family: "DM Sans", sans-serif;

  cursor: pointer;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 8px 30px rgba(0, 0, 0, .35);

  transition:
    transform .35s var(--ease),
    box-shadow .35s var(--ease),
    background .5s var(--ease);
}


.theme-switcher:hover {
  transform:
    rotate(-4deg)
    translateY(-3px);

  box-shadow:
    0 14px 35px rgba(0, 0, 0, .45);
}


.theme-switcher:active {
  transform:
    rotate(6deg)
    scale(.94);
}


.theme-dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );

  box-shadow:
    0 0 0 4px
    color-mix(
      in srgb,
      var(--primary) 15%,
      transparent
    );

  transition:
    background .5s var(--ease),
    box-shadow .5s var(--ease);
}


.theme-label {
  font-size: 13px;
  font-weight: 600;
}


.theme-arrow {
  font-size: 16px;
  line-height: 1;

  transition:
    transform .35s var(--ease);
}


.theme-switcher:hover .theme-arrow {
  transform:
    translate(3px, -3px)
    rotate(8deg);
}


/* =========================================================
   MAIN
========================================================= */

.main-content {
  min-height: 100vh;

  padding:
    110px
    clamp(18px, 5vw, 70px)
    150px;
}


.page-section {
  display: none;

  min-height:
    calc(100vh - 260px);

  animation:
    pageEnter .65s var(--ease);
}


.page-section.active {
  display: block;
}


@keyframes pageEnter {

  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

}


/* =========================================================
   HOME
========================================================= */

.page-section[data-page="home"] {
  display: none;

  min-height:
    calc(100vh - 260px);

  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.page-section[data-page="home"].active {
  display: flex;
}


.empty-state {
  position: relative;

  width: min(900px, 100%);

  padding: 70px 20px;

  text-align: center;
}


.empty-orbit {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 390px;
  height: 390px;

  border-radius: 50%;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--primary) 35%,
      transparent
    );

  transform:
    translate(-50%, -50%);

  animation:
    orbitSpin 18s linear infinite;

  pointer-events: none;
}


.empty-orbit::before,
.empty-orbit::after {
  content: "";

  position: absolute;

  width: 14px;
  height: 14px;

  border-radius: 50%;
}


.empty-orbit::before {
  top: 30px;
  left: 50%;

  background: var(--primary);

  box-shadow:
    0 0 30px var(--primary);
}


.empty-orbit::after {
  right: 35px;
  bottom: 55px;

  background: var(--secondary);

  box-shadow:
    0 0 30px var(--secondary);
}


@keyframes orbitSpin {

  from {
    transform:
      translate(-50%, -50%)
      rotate(0deg);
  }

  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }

}


.empty-state .eyebrow {
  position: relative;
  z-index: 2;

  display: inline-block;

  margin-bottom: 24px;

  color: var(--secondary);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 4px;
}


.empty-state h1 {
  position: relative;
  z-index: 2;

  font-family: "Space Grotesk", sans-serif;

  font-size:
    clamp(64px, 10vw, 145px);

  line-height: .9;

  letter-spacing: -7px;

  font-weight: 700;
}


.empty-state h1 em {
  display: inline-block;

  color: var(--secondary);

  font-style: normal;

  transform:
    rotate(-3deg)
    translateY(4px);

  transition:
    color .5s var(--ease),
    transform .4s var(--ease);
}


.empty-state h1 em:hover {
  transform:
    rotate(2deg)
    translateY(-5px);
}


.empty-state p {
  position: relative;
  z-index: 2;

  margin-top: 30px;

  color: var(--muted);

  font-size: 14px;
  letter-spacing: .5px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
  max-width: 760px;

  margin:
    30px auto 42px;
}


.section-heading h2 {
  font-family: "Space Grotesk", sans-serif;

  font-size:
    clamp(44px, 7vw, 82px);

  line-height: .95;

  letter-spacing: -4px;
}


.section-heading p {
  max-width: 480px;

  margin-top: 20px;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.7;
}


.section-heading.small {
  margin: 0 auto 34px;
  text-align: left;
}


.section-heading.small h2 {
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: -2px;
}


.section-heading.small p {
  margin-top: 12px;
  font-size: 14px;
}


/* =========================================================
   THINGS I'VE SOLVED
========================================================= */

.solved-block {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1180px;

  margin: 90px auto 0;

  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease);
}


.solved-block.in-view {
  opacity: 1;
  transform: translateY(0);
}


.solved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;

  margin-bottom: 48px;
}


.solved-card {
  padding: 28px 26px 26px;

  border-radius: 22px;

  background: var(--glass);
  border: 1px solid var(--border);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  text-align: left;

  transition:
    transform .4s var(--ease),
    border-color .4s var(--ease),
    box-shadow .4s var(--ease);
}


.solved-card:hover {
  transform: translateY(-6px);

  border-color:
    color-mix(in srgb, var(--secondary) 45%, var(--border));

  box-shadow:
    0 20px 45px rgba(0, 0, 0, .35);
}


.solved-card h3 {
  font-family: "Space Grotesk", sans-serif;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;

  letter-spacing: -.3px;
}


.solved-card p {
  margin-top: 12px;

  color: var(--muted);

  font-size: 13.5px;
  line-height: 1.65;
}


.solved-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;

  margin-top: 18px;
}


.solved-tags span {
  padding: 5px 11px;

  border-radius: 999px;

  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);

  color: var(--muted);

  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .3px;
}


.solved-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-top: 20px;

  color: var(--secondary);

  font-size: 12.5px;
  font-weight: 700;

  text-decoration: none;

  transition: gap .3s var(--ease);
}


.solved-link svg {
  width: 13px;
  height: 13px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform .3s var(--ease);
}


.solved-link:hover {
  gap: 10px;
}


.solved-link:hover svg {
  transform: translate(2px, -2px);
}


/* ---------- FILTER PILLS ---------- */

.portfolio-filters {
  display: flex;
  gap: 8px;

  margin-bottom: 22px;
  padding-bottom: 4px;

  overflow-x: auto;

  scrollbar-width: none;
}


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


.filter-pill {
  flex: 0 0 auto;

  padding: 9px 16px;

  border-radius: 999px;

  border: 1px solid var(--border);
  background: var(--glass);

  color: var(--muted);

  font-family: "DM Sans", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;

  cursor: pointer;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    background .3s var(--ease),
    color .3s var(--ease),
    transform .3s var(--ease),
    border-color .3s var(--ease);
}


.filter-pill:hover {
  transform: translateY(-2px);

  border-color:
    color-mix(in srgb, var(--secondary) 40%, var(--border));
}


.filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);

  color: var(--ink);
}


/* ---------- CAROUSEL ---------- */

.portfolio-carousel {
  position: relative;

  display: flex;
  align-items: center;

  gap: 10px;
}


.portfolio-track {
  display: flex;

  gap: 20px;

  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;

  padding: 6px 2px 20px;

  scrollbar-width: none;
}


.portfolio-track::-webkit-scrollbar {
  display: none;
}


.folio-card {
  flex: 0 0 auto;

  width: min(78vw, 320px);

  scroll-snap-align: start;

  border-radius: 22px;

  background: var(--glass);
  border: 1px solid var(--border);

  overflow: hidden;

  cursor: pointer;

  transition:
    transform .4s var(--ease),
    border-color .4s var(--ease),
    box-shadow .4s var(--ease);
}


.folio-card:hover {
  transform: translateY(-6px);

  border-color:
    color-mix(in srgb, var(--tertiary) 45%, var(--border));

  box-shadow:
    0 20px 45px rgba(0, 0, 0, .35);
}


.folio-card.hidden-filter {
  display: none;
}


.folio-thumb {
  position: relative;

  width: 100%;
  aspect-ratio: 4 / 3;

  display: flex;
  align-items: flex-end;

  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--primary) 28%, transparent),
      color-mix(in srgb, var(--tertiary) 24%, transparent)
    );

  overflow: hidden;
}


.folio-thumb img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


.folio-thumb.img-missing::after {
  content: "Add JPG screenshot";

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 20px;

  color: rgba(255, 255, 255, .55);

  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
}


.folio-cat {
  position: relative;
  z-index: 2;

  margin: 14px;

  padding: 6px 12px;

  border-radius: 999px;

  background: rgba(10, 10, 14, .55);
  border: 1px solid rgba(255, 255, 255, .18);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: #fff;

  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
}


.folio-body {
  padding: 18px 20px 20px;
}


.folio-body h3 {
  font-family: "Space Grotesk", sans-serif;

  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.2px;
}


.folio-body p {
  margin-top: 8px;

  color: var(--muted);

  font-size: 12.5px;
  line-height: 1.6;
}


.folio-figma-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  margin-top: 14px;

  color: var(--tertiary);

  font-size: 11.5px;
  font-weight: 700;

  text-decoration: none;
}


.folio-figma-link:hover {
  text-decoration: underline;
}


.portfolio-nav {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  border: 1px solid var(--border);
  background: var(--glass);

  color: var(--text);

  font-size: 20px;
  line-height: 1;

  cursor: pointer;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    transform .3s var(--ease),
    background .3s var(--ease);
}


.portfolio-nav:hover {
  transform: scale(1.08);
  background: var(--quaternary);
  color: var(--ink);
}


/* ---------- PORTFOLIO LIGHTBOX FRAME ---------- */

.portfolio-frame {
  width: 100%;
}


.portfolio-frame .frame-bar {
  display: flex;
  gap: 7px;

  padding: 12px 16px;

  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-bottom: none;

  border-radius: 16px 16px 0 0;
}


.portfolio-frame .frame-bar span {
  width: 10px;
  height: 10px;

  border-radius: 50%;
}


.portfolio-frame .frame-bar span:nth-child(1) { background: var(--primary); }
.portfolio-frame .frame-bar span:nth-child(2) { background: var(--secondary); }
.portfolio-frame .frame-bar span:nth-child(3) { background: var(--tertiary); }


.portfolio-frame img {
  border-radius: 0 0 16px 16px;

  max-height: 62vh;
  min-height: 220px;
  min-width: min(90vw, 480px);

  background: rgba(255, 255, 255, .04);

  object-fit: contain;
}


.portfolio-frame .lightbox-caption {
  text-align: center;
}


.portfolio-frame .download-btn {
  margin-top: 4px;
}


/* =========================================================
   COMING SOON
========================================================= */

.coming-soon {
  display: flex;
  align-items: center;
  gap: 18px;

  max-width: 760px;

  margin: 100px auto;

  color: var(--secondary);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 3px;
}


.coming-soon .line {
  flex: 1;

  height: 1px;

  background:
    color-mix(
      in srgb,
      var(--secondary) 30%,
      transparent
    );
}


/* =========================================================
   CERTIFICATE TOOLBAR
========================================================= */

.certificates-page {
  max-width: 1180px;
  margin: 0 auto;
}


.certificate-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 18px;
}


.certificate-count {
  color: var(--muted);
  font-size: 13px;
}


.certificate-count strong {
  margin-right: 5px;

  color: var(--text);

  font-family: "Space Grotesk", sans-serif;

  font-size: 22px;
}


.filter-reset {
  border: 1px solid var(--border);
  border-radius: 999px;

  padding: 9px 15px;

  background:
    var(--glass);

  color: var(--text);

  cursor: pointer;

  transition:
    transform .3s var(--ease),
    background .3s var(--ease);
}


.filter-reset:hover {
  transform: translateY(-2px);

  background: var(--quaternary);
  color: var(--ink);
}


/* =========================================================
   TABLE
========================================================= */

.table-wrap {
  width: 100%;

  overflow-x: auto;

  border-radius: 24px;

  background:
    var(--glass);

  border:
    1px solid var(--border);

  box-shadow:
    0 18px 60px rgba(0, 0, 0, .35);
}


.certificate-table {
  width: 100%;
  min-width: 720px;

  border-collapse: collapse;
}


.certificate-table th {
  padding: 18px 20px;

  border-bottom:
    1px solid var(--border);

  color: var(--muted);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 1px;

  text-align: left;
}


.certificate-table th[data-filter] {
  cursor: pointer;
}


.certificate-table th[data-filter]:hover {
  color: var(--secondary);
}


.certificate-table td {
  padding: 20px;

  border-bottom:
    1px solid rgba(255, 255, 255, .08);

  vertical-align: middle;
}


.certificate-table tr:last-child td {
  border-bottom: 0;
}


.certificate-table tbody tr {
  transition:
    background .3s var(--ease);
}


.certificate-table tbody tr:hover {
  background:
    color-mix(
      in srgb,
      var(--quaternary) 30%,
      transparent
    );
}


.certificate-number {
  width: 60px;

  color: var(--muted);

  font-family: "Space Grotesk", sans-serif;
}


.certificate-info {
  min-width: 300px;
}


.certificate-title {
  font-weight: 700;
  line-height: 1.35;
}


.certificate-institution {
  margin-top: 6px;

  color: var(--muted);

  font-size: 12px;
}


.certificate-image-cell {
  width: 150px;
}


.certificate-thumb {
  display: block;

  width: 105px;
  height: 70px;

  object-fit: cover;

  border-radius: 12px;

  cursor: pointer;

  transition:
    transform .35s var(--ease),
    box-shadow .35s var(--ease);
}


.certificate-thumb:hover {
  transform:
    translateY(-5px)
    rotate(2deg);

  box-shadow:
    0 12px 25px rgba(0, 0, 0, .16);
}


.certificate-date {
  width: 130px;

  color: var(--muted);

  font-size: 13px;

  white-space: nowrap;
}


/* =========================================================
   BOTTOM BAR
========================================================= */

.bottom-nav {
  position: fixed;

  left: 50%;
  bottom: 25px;

  z-index: 200;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  padding: 9px;

  border-radius: 28px;

  background:
    var(--glass);

  border:
    1px solid var(--border);

  box-shadow:
    0 20px 55px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(255, 255, 255, .1);

  backdrop-filter:
    blur(24px)
    saturate(150%);

  -webkit-backdrop-filter:
    blur(24px)
    saturate(150%);

  transform:
    translateX(-50%);

  transition:
    background .5s var(--ease);
}


.nav-item {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  border: 0;
  border-radius: 19px;

  background: transparent;

  color: var(--muted);

  cursor: pointer;

  transition:
    transform .4s var(--ease),
    color .4s var(--ease),
    background .4s var(--ease),
    box-shadow .4s var(--ease);
}


.nav-item svg {
  width: 23px;
  height: 23px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform .4s var(--ease);
}


.nav-item span {
  display: none;
}


.nav-item:hover {
  color: var(--text);

  transform:
    translateY(-5px)
    rotate(-3deg);
}


.nav-item.active {
  color: var(--ink);

  background:
    var(--primary);

  box-shadow:
    0 12px 25px
    color-mix(
      in srgb,
      var(--primary) 38%,
      transparent
    );

  transform:
    translateY(-13px);
}


.nav-item.active svg {
  transform: scale(1.1);
}


.nav-item.active::after {
  content: "";

  position: absolute;

  bottom: -9px;
  left: 50%;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--secondary);

  transform: translateX(-50%);
}


/* =========================================================
   WHATSAPP BOUNCE
========================================================= */

.whatsapp-float {
  position: fixed;

  right: clamp(18px, 4vw, 50px);
  bottom: 29px;

  z-index: 180;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;

  border-radius: 50%;

  background:
    var(--secondary);

  box-shadow:
    0 12px 30px
    color-mix(
      in srgb,
      var(--secondary) 40%,
      transparent
    );

  animation:
    whatsappBounce 2.8s ease-in-out infinite;

  transition:
    transform .3s var(--ease);
}


.whatsapp-float:hover {
  animation-play-state: paused;

  transform:
    scale(3)
    rotate(7deg);
}


.whatsapp-float svg {
  width: 25px;
  height: 25px;

  fill: white;
}


@keyframes whatsappBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  10% {
    transform: translateY(-24px);
  }

  20% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px);
  }

  40% {
    transform: translateY(0);
  }

}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
  position: fixed;
  inset: 0;

  z-index: 500;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  background:
    rgba(10, 10, 10, .78);

  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .4s var(--ease),
    visibility .4s var(--ease);
}


.lightbox.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 16px;

  max-width: min(90vw, 900px);
  max-height: 90vh;

  transform: scale(.92) translateY(10px);
  opacity: 0;

  transition:
    transform .45s var(--ease),
    opacity .45s var(--ease);
}


.lightbox.show .lightbox-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}


.lightbox-content img {
  display: block;

  max-width: 100%;
  max-height: 68vh;

  object-fit: contain;

  border-radius: 18px;

  background: rgba(255, 255, 255, .04);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(255, 255, 255, .06);

  transition: opacity .25s var(--ease);
}


.lightbox-caption {
  text-align: center;
}


.lightbox-title {
  font-family: "Space Grotesk", sans-serif;

  font-size: 17px;
  font-weight: 700;

  color: #fff;

  letter-spacing: -.2px;
}


.lightbox-meta {
  margin-top: 6px;

  color: rgba(255, 255, 255, .65);

  font-size: 12.5px;
}


.lightbox-index {
  margin-top: 8px;

  color: rgba(255, 255, 255, .38);

  font-size: 10.5px;
  font-weight: 600;

  letter-spacing: 2px;
  text-transform: uppercase;
}


.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;

  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;

  background:
    rgba(255, 255, 255, .1);

  color: white;

  font-size: 26px;
  line-height: 1;

  cursor: pointer;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    transform .3s var(--ease),
    background .3s var(--ease),
    border-color .3s var(--ease);
}


.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background:
    rgba(255, 255, 255, .22);

  border-color: rgba(255, 255, 255, .3);

  transform: scale(1.08);
}


.lightbox-close:active,
.lightbox-prev:active,
.lightbox-next:active {
  transform: scale(.92);
}


.lightbox-close {
  top: 22px;
  right: 22px;

  width: 42px;
  height: 42px;

  font-size: 22px;
}


.lightbox-prev {
  top: 50%;
  left: 22px;

  transform:
    translateY(-50%);
}


.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.08);
}


.lightbox-prev:active {
  transform: translateY(-50%) scale(.92);
}


.lightbox-next {
  top: 50%;
  right: 22px;

  transform:
    translateY(-50%);
}


.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}


.lightbox-next:active {
  transform: translateY(-50%) scale(.92);
}


.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 120px;

  padding: 11px 18px;

  border-radius: 999px;

  background:
    var(--primary);

  color: var(--ink);

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform .3s var(--ease);
}


.download-btn:hover {
  transform: translateY(-3px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
    
    .table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
  }

  .topbar {
    padding: 18px;
  }


  .brand-mark {
    font-size: 19px;
  }


  .theme-switcher {
    padding: 9px 12px;
  }


  .main-content {
    padding:
      92px
      14px
      130px;
  }


  .empty-orbit {
    width: 270px;
    height: 270px;
  }


  .empty-state {
    padding: 50px 10px;
  }


  .empty-state h1 {
    font-size:
      clamp(58px, 16vw, 90px);

    letter-spacing: -5px;
  }


  .empty-state p {
    font-size: 12px;
  }


  .section-heading h2 {
    font-size: 50px;
  }


  .certificate-table {
    width: 330px;
    min-width: 330px;
    table-layout: fixed;
  }

  /* NO */
  .certificate-table th:nth-child(1),
  .certificate-table td:nth-child(1) {
    width: 15px;
  }

  /* WEBINAR / TRAINING */
  .certificate-table th:nth-child(2),
  .certificate-table td:nth-child(2) {
    width: 100px;
  }

  /* SERTIFIKAT */
  .certificate-table th:nth-child(3),
  .certificate-table td:nth-child(3) {
    width: 90px;
  }

  /* TANGGAL */
  .certificate-table th:nth-child(4),
  .certificate-table td:nth-child(4) {
    width: 90px;
  }

  .certificate-table th,
  .certificate-table td {
    padding: 14px 12px;
  }

  .certificate-info {
    min-width: 0;
  }

  .certificate-title {
    font-size: 13px;
    line-height: 1.35;
  }

  .certificate-institution {
    font-size: 11px;
  }

  .certificate-thumb {
    width: 78px;
    height: 56px;
  }


  .bottom-nav {
    bottom: 16px;
    padding: 8px;
  }


  .nav-item {
    width: 48px;
    height: 48px;
  }


  .nav-item.active {
    transform:
      translateY(-10px);
  }


  .whatsapp-float {
    right: 16px;
    bottom: 22px;

    width: 44px;
    height: 44px;
  }


  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }


  .lightbox {
    padding: 16px;
  }

  .lightbox-content img {
    max-height: 58vh;
    border-radius: 14px;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-title {
    font-size: 15px;
    padding: 0 40px;
  }


  .solved-block {
    margin-top: 60px;
  }


  .section-heading.small h2 {
    font-size: 30px;
  }


  .solved-grid {
    grid-template-columns: 1fr;
    gap: 14px;

    margin-bottom: 32px;
  }


  .solved-card {
    padding: 22px 20px 20px;
  }


  .portfolio-carousel {
    display: block;
  }

  .portfolio-track {
    gap: 14px;
    padding: 2px 0 16px;
    scroll-padding-inline: 0;
  }

  .folio-card {
    width: 100%;
    max-width: none;
  }

  .folio-thumb {
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
  }

  .folio-thumb img {
    object-fit: contain;
    object-position: center;
  }


  .portfolio-nav {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }


  .portfolio-frame img {
    max-height: 48vh;
  }


  .portfolio-frame .frame-bar {
    padding: 10px 14px;
  }

}


@media (max-width: 420px) {

  .bottom-nav {
    gap: 3px;
  }


  .nav-item {
    width: 44px;
    height: 44px;
  }


  .nav-item svg {
    width: 19px;
    height: 19px;
  }

}