:root {
  --ink: #f5f5f5;
  --muted: #9a9da1;
  --subtle: #666a6f;
  --ground: #121212;
  --surface: #18191b;
  --surface-2: #222427;
  --border: #2a2c30;
  --accent: #10B981;
  --radius: 10px;
  --duration: 0.28s;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --mx: 50%;
  --my: 45%;
}

[data-theme="light"] {
  --ink: #111214;
  --muted: #52565c;
  --subtle: #7c8189;
  --ground: #fafafa;
  --surface: #ffffff;
  --surface-2: #f0f1f3;
  --border: #e2e4e8;
}

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

ul[role="list"] {
  list-style: none;
}

html {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 100%;
  scroll-behavior: auto;
}

body {
  background: var(--ground);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.skip {
  position: fixed;
  left: -999px;
  top: 12px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--ground);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  z-index: 999;
}
.skip:focus {
  left: 50%;
  transform: translateX(-50%);
}

.ar {
  display: inline-block;
  margin-left: 3px;
  transition: transform var(--duration) var(--ease-out);
}

a:hover .ar,
button:hover .ar {
  transform: translate(2px, -2px);
}

/* NAV PILL */
.nav {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  transition: transform 0.7s var(--ease-out), opacity 0.6s ease;
}

.js-anim .nav {
  opacity: 0;
  transform: translate(-50%, -22px);
}

.js-anim.is-loaded .nav {
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav__pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 8px 6px 18px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.nav__word {
  font-family: "Archivo", sans-serif;
  font-size: 0.925rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  margin-right: 12px;
}

.nav__toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  transition: color var(--duration), background var(--duration), transform 0.35s var(--ease-out);
}

.nav__toggle:hover {
  color: var(--ink);
  background: var(--surface-2);
  transform: rotate(25deg);
}

.nav__toggle svg {
  width: 17px;
  height: 17px;
}

.nav__toggle .i-moon {
  display: none;
}

[data-theme="light"] .nav__toggle .i-sun {
  display: none;
}

[data-theme="light"] .nav__toggle .i-moon {
  display: block;
}

.nav__menu {
  background: var(--ink);
  color: var(--ground);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform var(--duration), opacity var(--duration);
}

.nav__menu:hover {
  opacity: 0.92;
}

.nav__menu-lines {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  width: 16px;
}

.nav__menu-lines span {
  display: block;
  height: 1.75px;
  background: currentColor;
  transition: transform var(--duration) var(--ease-out);
}

.nav__menu[aria-expanded="true"] .nav__menu-lines span:first-child {
  transform: translateY(2.6px) rotate(45deg);
}

.nav__menu[aria-expanded="true"] .nav__menu-lines span:last-child {
  transform: translateY(-2.6px) rotate(-45deg);
}

/* FULLSCREEN MENU OVERLAY */
.menu {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--ground) 96%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration);
}

.menu.open {
  opacity: 1;
  pointer-events: auto;
}

.menu__inner {
  text-align: center;
}

.menu__link {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  transform: translateY(16px);
  opacity: 0;
  transition: color var(--duration), transform 0.45s var(--ease-out), opacity 0.4s ease;
}

.menu.open .menu__link {
  transform: translateY(0);
  opacity: 1;
}

.menu.open .menu__link:nth-child(1) { transition-delay: 0.04s; }
.menu.open .menu__link:nth-child(2) { transition-delay: 0.08s; }
.menu.open .menu__link:nth-child(3) { transition-delay: 0.12s; }
.menu.open .menu__link:nth-child(4) { transition-delay: 0.16s; }
.menu.open .menu__link:nth-child(5) { transition-delay: 0.2s; }

.menu__link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* =========================================================
   PINNED MORPH STAGE: HERO -> ABOUT
   ========================================================= */
.intro-stage {
  position: relative;
  height: 320vh;
  min-height: 100vh;
}

.intro-stage__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--ground);
}

.hero__code-bg,
[data-code-base],
[data-code-glow] {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  overflow: hidden;
  white-space: pre;
  pointer-events: none;
}

.hero__code-layer {
  position: absolute;
  inset: -24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  line-height: 1.68;
  white-space: pre;
  overflow: hidden;
}

.hero__code-layer--base {
  color: var(--ink);
  opacity: 0.045;
}

.hero__code-layer--glow {
  color: #d1fae5;
  opacity: 0.34;
  -webkit-mask-image: radial-gradient(300px circle at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 100%);
  mask-image: radial-gradient(300px circle at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 100%);
}

[data-theme="light"] .hero__code-layer--base {
  opacity: 0.06;
}

[data-theme="light"] .hero__code-layer--glow {
  color: #065f46;
  opacity: 0.32;
}

/* LAYER 1: HERO */
.hero {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(110px, 15vh, 170px) clamp(20px, 4vw, 48px) 0;
  pointer-events: none;
}

.hero__center {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
}

.hero__title {
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.6rem, 8.2vw, 6.75rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  will-change: transform, opacity;
}

.hero__line-mask {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.12em;
}

.hero__line {
  display: block;
  white-space: nowrap;
  transition: transform 0.85s var(--ease-out), opacity 0.65s ease;
}

.hero__tag {
  display: inline-block;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0.08em;
  transition: transform 0.85s var(--ease-out) 0.16s, opacity 0.6s ease 0.16s;
}

.hero__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(22px, 3.5vh, 36px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  will-change: transform, opacity;
  transition: transform 0.75s var(--ease-out) 0.3s, opacity 0.6s ease 0.3s;
}

.hero__copy {
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero__typed {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.68rem, 0.95vw, 0.82rem);
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: right;
}

/* SINGLE CONTINUOUS MORPHING PORTRAIT */
.stage-portrait {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 0;
  width: clamp(240px, 24vw, 340px);
  height: clamp(290px, 44vh, 430px);
  border-radius: 12px 12px 0 0;
  z-index: 4;
  pointer-events: none;
  will-change: transform, border-radius;
}

.stage-portrait__shutter {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: var(--surface);
  filter: grayscale(1) contrast(1.08);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.38);
  clip-path: inset(0 0% 0 0%);
  transition: clip-path 0.9s var(--ease-out) 0.12s;
}

.stage-portrait__shutter img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* SHUTTER & TITLE ENTRANCE ON LOAD */
.js-anim [data-enter] .hero__line {
  opacity: 0;
  transform: translateY(105%);
}

.js-anim [data-enter] .hero__line-mask:nth-child(2) .hero__line {
  transition-delay: 0.1s;
}

.js-anim [data-enter] .hero__tag--left {
  opacity: 0;
  transform: translateX(34px);
}

.js-anim [data-enter] .hero__tag--right {
  opacity: 0;
  transform: translateX(-34px);
}

.js-anim [data-enter] .hero__meta {
  opacity: 0;
  transform: translateY(14px);
}

.js-anim .stage-portrait__shutter {
  clip-path: inset(0 49.4% 0 49.4%);
}

.js-anim.is-loaded [data-enter] .hero__line {
  opacity: 1;
  transform: translateY(0);
}

.js-anim.is-loaded [data-enter] .hero__tag--left,
.js-anim.is-loaded [data-enter] .hero__tag--right {
  opacity: 1;
  transform: translateX(0);
}

.js-anim.is-loaded [data-enter] .hero__meta {
  opacity: 1;
  transform: translateY(0);
}

.js-anim.is-loaded .stage-portrait__shutter {
  clip-path: inset(0 0% 0 0%);
}

/* LAYER 2: ABOUT */
.about {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.about__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px) 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about__slot {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  max-height: 410px;
}

.about__left,
.about__right {
  opacity: 0;
  will-change: transform, opacity;
}

.about__left h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.5rem, 4.8vw, 3.85rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.about__role {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 10px;
}

.rule {
  width: 100%;
  max-width: 240px;
  height: 1px;
  background: var(--border);
  border: none;
  margin: 24px 0;
}

.about__based {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.about__based-label {
  display: block;
  font-size: 0.78rem;
  color: var(--subtle);
}

.about__based strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
  flex-shrink: 0;
}

.about__statement {
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 28px;
}

.about__statement strong {
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 900px) {
  .intro-stage {
    height: auto;
    min-height: 0;
  }
  .intro-stage__sticky {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .hero {
    position: relative;
    min-height: 92svh;
    justify-content: space-between;
    padding-bottom: 24px;
  }
  .hero__line {
    white-space: normal;
  }
  .hero__title {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }
  .hero__meta {
    position: relative;
    bottom: auto;
    width: 100%;
    padding: 20px 0 0;
  }
  .stage-portrait {
    position: relative;
    left: auto;
    top: auto !important;
    bottom: auto;
    transform: none !important;
    width: clamp(230px, 64vw, 320px);
    height: 320px;
    margin: -12px auto 0;
    border-radius: var(--radius);
  }
  .about {
    position: relative;
    padding: 72px 0;
    border-top: 1px solid var(--border);
    pointer-events: auto;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__slot {
    display: none;
  }
  .about__left,
  .about__right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* SHARED SECTIONS */
.section {
  padding: clamp(84px, 12vw, 132px) 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section__intro {
  color: var(--muted);
  font-size: 1rem;
  max-width: 52ch;
}

/* TECH STACK */
.section__head {
  margin-bottom: 48px;
}

.stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stack__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--duration) var(--ease-out), border-color var(--duration), background var(--duration);
}

.stack__item:hover {
  transform: translateY(-3px);
  border-color: var(--subtle);
  background: var(--surface-2);
}

.stack__item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform var(--duration) var(--ease-out);
}

.stack__item:hover img {
  transform: scale(1.08);
}

.stack__item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.stack__practices {
  font-family: "JetBrains Mono", monospace;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* FEATURED PROJECTS — FOLDER CARDS */
.projects__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}

.link {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--duration);
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out);
}

.link:hover {
  color: var(--ink);
}

.link:hover::after {
  transform: scaleX(1);
}

.folders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 28px;
}

.folder {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration) var(--ease-out);
}

.folder:hover,
.folder:focus-visible {
  transform: translateY(-2px);
}

.folder__tab {
  position: absolute;
  top: 4px;
  left: 0;
  width: 38%;
  height: 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 10px 14px 0 0;
  z-index: 1;
}

.folder__pocket {
  position: relative;
  height: 76px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 0 12px 0 0;
  padding: 12px 16px 0;
  z-index: 2;
}

.paper {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 72px;
  background: #f5f5f5;
  color: #121212;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 6px 6px 0 0;
  padding: 10px 14px;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.42s var(--ease-out);
}

.paper--1 {
  top: 14px;
  transform: translateY(6px) scale(0.94);
  background: #d4d6da;
  z-index: 1;
}

.paper--2 {
  top: 22px;
  transform: translateY(4px) scale(0.97);
  background: #e7e9ec;
  z-index: 2;
}

.paper--3 {
  top: 30px;
  transform: translateY(2px);
  background: #ffffff;
  z-index: 3;
}

.folder:hover .paper--1,
.folder:focus-visible .paper--1 {
  transform: translateY(-28px) rotate(-2deg) scale(0.96);
}

.folder:hover .paper--2,
.folder:focus-visible .paper--2 {
  transform: translateY(-19px) rotate(1.4deg) scale(0.985);
}

.folder:hover .paper--3,
.folder:focus-visible .paper--3 {
  transform: translateY(-10px);
}

.paper__bar {
  display: block;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: #121212;
  opacity: 0.25;
  margin-bottom: 6px;
}

.paper__title {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: #18191b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.folder__body {
  position: relative;
  z-index: 4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: -10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.24);
  transition: border-color var(--duration), transform var(--duration) var(--ease-out);
}

.folder:hover .folder__body,
.folder:focus-visible .folder__body {
  border-color: var(--subtle);
  transform: translateY(2px);
}

.folder__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.folder__name {
  font-family: "Archivo", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.folder__arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--ground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease-out), background var(--duration);
}

.folder__arrow svg {
  width: 16px;
  height: 16px;
}

.folder:hover .folder__arrow {
  transform: translate(2px, -2px);
  background: var(--accent);
  color: #0b0c0d;
}

.folder__line {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.folder__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.folder__meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
}

.folder__link {
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 600;
}

.projects__more {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 820px) {
  .projects__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .folders {
    grid-template-columns: 1fr;
  }
}

/* CONTACT */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.contact__email-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.contact__email {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  color: var(--ink);
}

.social {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.social__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--duration), transform var(--duration) var(--ease-out);
}

.social__link:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.social__link svg {
  width: 20px;
  height: 20px;
}

.form__field {
  margin-bottom: 20px;
}

.form__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form__field input,
.form__field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color var(--duration);
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--ink);
  outline: none;
}

.form__error {
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER & KINETIC GHOST FINALE */
.footer {
  position: relative;
  border-top: 1px solid #e4e6eb;
  overflow: hidden;
}

html[data-theme="dark"] .footer {
  border-top-color: #242629;
}

/* Bagian Atas: Solid & Bersih */
.footer__band {
  position: relative;
  z-index: 2;
  background: #ffffff;
  color: #121215;
  padding: 56px 0 36px;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html[data-theme="dark"] .footer__band {
  background: #0b0b0e;
  color: #f5f5f5;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__word {
  font-family: "Archivo", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 8px;
  color: inherit;
}

.footer__tag {
  color: #52555e;
  font-size: 0.875rem;
}

html[data-theme="dark"] .footer__tag {
  color: #9ca0a8;
}

.footer__h {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #787c87;
  margin-bottom: 14px;
}

html[data-theme="dark"] .footer__h {
  color: #8b8f98;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 120px));
  gap: 10px 24px;
}

.footer__band .link {
  color: #26282e;
  display: inline-block;
  margin-bottom: 8px;
}

.footer__band .link:hover {
  color: #000000;
}

html[data-theme="dark"] .footer__band .link {
  color: #e4e6ea;
}

html[data-theme="dark"] .footer__band .link:hover {
  color: #ffffff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(18, 18, 21, 0.08);
  gap: 16px;
  flex-wrap: wrap;
}

html[data-theme="dark"] .footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.footer__bye {
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: inherit;
}

.footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.8rem;
  color: #52555e;
}

html[data-theme="dark"] .footer__bottom-right {
  color: #9ca0a8;
}

/* Bagian Bawah: Khusus ShapeWaves (<IKHSAN/> Cutout) */
.footer__ghost {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(200px, 23vw, 310px);
  background: #f3f4f7;
  padding: clamp(36px, 5vw, 64px) 0;
  overflow: hidden;
  cursor: pointer;
}

html[data-theme="dark"] .footer__ghost {
  background: #120f17;
}

.footer__waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.footer__ghost .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.footer__ghost-word,
html[data-theme="dark"] .footer__ghost-word {
  color: transparent !important;
  opacity: 0 !important;
  user-select: none;
  pointer-events: none;
}

.footer__ghost-word span {
  display: inline-block;
  transform-origin: 50% 88%;
  will-change: transform, color, opacity;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__ghost {
    min-height: 180px;
  }
}
/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 12px 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--duration) var(--ease-out), opacity var(--duration), background var(--duration);
}

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

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--ink);
  color: var(--ground);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
  padding: 8px 16px;
  min-height: 38px;
  font-size: 0.8rem;
}

.btn--ghost:hover {
  background: var(--surface-2);
}

@media (max-width: 480px) {
  .about__right .btn,
  .form .btn {
    width: 100%;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .paper {
    transform: none !important;
  }
}