:root {
  color-scheme: dark;
  --color-ink: #070b0d;
  --color-panel: #0c1316;
  --color-panel-light: #121c20;
  --color-text: #f1f4f3;
  --color-muted: #a3b0ae;
  --color-red: #72b4f5;
  --color-red-soft: #8cc8ff;
  --color-line: rgba(230, 238, 236, 0.14);
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--color-ink);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

body,
button,
input,
textarea {
  font-family: var(--font-body);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--color-red);
  color: var(--color-ink);
}

:focus-visible {
  outline: 2px solid var(--color-red-soft);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 40;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 1rem;
  transform: translateY(-160%);
  background: var(--color-text);
  color: var(--color-ink);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- NAVBAR (menu atas) ---------- */.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 6vw, 6rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-text);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--color-red);
  color: var(--color-red);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  transform: skewX(-8deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.brand__text small {
  color: var(--color-muted);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.6vw, 2.6rem);
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:not(.site-nav__contact)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--color-red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--color-text);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav .site-nav__contact {
  padding: 0.7rem 1.25rem;
  border: 1px solid rgba(241, 244, 243, 0.4);
  border-radius: 999px;
  color: var(--color-text);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.site-nav .site-nav__contact:hover {
  border-color: var(--color-red);
  background: var(--color-red);
  color: var(--color-ink);
}

.menu-toggle {
  display: none;
}

/* ---------- Indikator samping ---------- */.side-index {
  position: fixed;
  z-index: 25;
  top: 50%;
  right: clamp(1rem, 2.6vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
  transform: translateY(-50%);
}

.side-index a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 160ms ease;
}

.side-index a::after {
  width: 14px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 220ms ease, background-color 220ms ease;
}

.side-index a:hover {
  color: var(--color-text);
}

.side-index a.is-active {
  color: var(--color-text);
}

.side-index a.is-active::after {
  width: 40px;
  background: var(--color-red);
}

/* ---------- HALAMAN 1: HERO / HOME ---------- */.hero {
  position: relative;
  display: flex;
  min-height: max(720px, 100svh);
  align-items: center;
  overflow: hidden;
  padding: 7rem clamp(1.25rem, 9vw, 9rem) 8rem;
  background: #0a1012;
  isolation: isolate;
}

.hero__sky {
  position: absolute;
  z-index: -5;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 58% 22%, rgba(110, 138, 132, 0.5), transparent 70%),
    radial-gradient(ellipse 80% 60% at 70% 90%, rgba(40, 58, 58, 0.55), transparent 70%),
    linear-gradient(180deg, #1a2626 0%, #0d1517 55%, #070b0d 100%);
}

/* Bulan sabit */.hero__moon {
  position: absolute;
  z-index: -4;
  top: 9%;
  left: 54%;
  width: clamp(120px, 15vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset clamp(-30px, -2.6vw, -18px) 6px 0 0 #eef4f1;
  transform: rotate(-12deg);
  filter: drop-shadow(0 0 22px rgba(230, 242, 238, 0.55));
}

/* Siluet tebing di kedua sisi */.hero__ridge {
  position: absolute;
  z-index: -3;
  bottom: 0;
  background: linear-gradient(180deg, #121c1d, #080d0f);
  opacity: 0.9;
}

.hero__ridge--left {
  left: 0;
  width: 34%;
  height: 58%;
  clip-path: polygon(0 18%, 18% 28%, 34% 12%, 55% 38%, 78% 30%, 100% 62%, 100% 100%, 0 100%);
}

.hero__ridge--right {
  right: 0;
  width: 36%;
  height: 72%;
  clip-path: polygon(0 70%, 22% 48%, 40% 52%, 62% 20%, 80% 8%, 100% 0, 100% 100%, 0 100%);
}

/* Gerbang torii dan burung */.hero__torii {
  position: absolute;
  z-index: -3;
  bottom: 14%;
  left: 50%;
  width: clamp(260px, 36vw, 540px);
  fill: #0a1012;
  opacity: 0.85;
}

.hero__birds {
  position: absolute;
  z-index: -3;
  top: 8%;
  left: 46%;
  width: clamp(200px, 30vw, 440px);
  fill: #050809;
  opacity: 0.8;
}

/* Kabut dan gradasi gelap */.hero__fog {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 11, 13, 0.92) 0%, rgba(7, 11, 13, 0.55) 38%, rgba(7, 11, 13, 0) 70%),
    linear-gradient(0deg, rgba(7, 11, 13, 0.95) 0%, rgba(7, 11, 13, 0) 30%),
    radial-gradient(ellipse 50% 14% at 62% 100%, rgba(150, 175, 170, 0.18), transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow__line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--color-red);
}

.eyebrow__dot {
  width: 5px;
  height: 5px;
  background: var(--color-red);
  transform: rotate(45deg);
}

.hero__title {
  margin: 0 0 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.94;
  text-transform: uppercase;
}

.hero__line {
  display: block;
  background: linear-gradient(180deg, #ffffff 15%, #aab4b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.hero__graffiti {
  display: block;
  width: clamp(240px, 33vw, 470px);
  height: auto;
  margin: 0.05em 0 0 -0.04em;
  transform: rotate(-3deg);
  transform-origin: left bottom;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.55)) drop-shadow(0 8px 28px rgba(114, 180, 245, 0.35));
}

.hero__description {
  max-width: 440px;
  margin: 0;
  color: #cdd6d4;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.play-button__circle {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1.5px solid rgba(241, 244, 243, 0.85);
  border-radius: 50%;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.play-button__circle i {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--color-text);
}

.play-button:hover .play-button__circle {
  border-color: var(--color-red);
  background: var(--color-red);
  transform: scale(1.06);
}

.hero__divider {
  width: 1px;
  height: 30px;
  background: var(--color-line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease, gap 160ms ease;
}

.text-link:hover {
  gap: 0.85rem;
  color: var(--color-red-soft);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--color-red);
  color: var(--color-ink);
}

.button--primary:hover {
  background: var(--color-red-soft);
}

/* Fitur di bagian bawah hero */.hero__features {
  position: absolute;
  bottom: 2.2rem;
  left: clamp(1.25rem, 9vw, 9rem);
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1.6rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.hero__features li:first-child {
  padding-left: 0;
}

.hero__features li + li {
  border-left: 1px solid var(--color-line);
}

.hero__features a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.hero__features a:hover,
.hero__features a:focus-visible {
  color: var(--color-red-soft);
}

.hero__features svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-text);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: stroke 160ms ease, transform 200ms ease;
}

.hero__features a:hover svg,
.hero__features a:focus-visible svg {
  stroke: var(--color-red-soft);
  transform: translateY(-2px) scale(1.1);
}

/* Penanda gulir di tengah bawah */.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-muted);
  text-decoration: none;
  transform: translateX(-50%);
}

.hero__scroll-pill {
  display: block;
  width: 22px;
  height: 36px;
  padding-top: 7px;
  border: 1.5px solid rgba(241, 244, 243, 0.7);
  border-radius: 999px;
}

.hero__scroll-pill i {
  display: block;
  width: 2px;
  height: 7px;
  margin: 0 auto;
  background: var(--color-text);
  animation: gulir 1.8s ease-in-out infinite;
}

.hero__scroll-arrow {
  font-size: 0.8rem;
}

@keyframes gulir {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(8px); opacity: 0.2; }
}

/* Stempel di kanan bawah */.hero__stamp {
  position: absolute;
  right: clamp(1.25rem, 6vw, 6rem);
  bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--color-red);
  color: rgba(241, 244, 243, 0.85);
  line-height: 1;
}

.hero__stamp span {
  font-family: "Noto Serif JP", "Yu Mincho", "MS Mincho", serif;
  font-size: 2.1rem;
}

.hero__stamp small {
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
}

/* ---------- Responsif ---------- */@media (max-width: 1100px) {
.hero__scroll {
    display: none;
  }
}

@media (max-width: 900px) {
.side-index {
    display: none;
  }

.hero__fog {
    background:
      linear-gradient(90deg, rgba(7, 11, 13, 0.9) 0%, rgba(7, 11, 13, 0.55) 55%, rgba(7, 11, 13, 0.15) 100%),
      linear-gradient(0deg, rgba(7, 11, 13, 0.95) 0%, rgba(7, 11, 13, 0) 30%);
  }
}

@media (max-width: 760px) {
.site-header {
    min-height: 76px;
    padding: 0 1.25rem;
  }

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0;
    border: 0;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
  }

.menu-toggle__label {
    font-size: 0.82rem;
  }

.menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
  }

.menu-toggle__icon {
    position: relative;
  }

.menu-toggle__icon::before,
  .menu-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

.menu-toggle__icon::before {
    top: -6px;
  }

.menu-toggle__icon::after {
    top: 6px;
  }

.site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.25rem 1.2rem;
    border-bottom: 1px solid var(--color-line);
    background: rgba(7, 11, 13, 0.97);
  }

.site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

.site-nav a {
    padding: 0.8rem 0;
  }

.site-nav a:not(.site-nav__contact)::after {
    display: none;
  }

.site-nav a.is-active {
    color: var(--color-red-soft);
  }

.site-nav .site-nav__contact {
    align-self: flex-start;
    margin-top: 0.5rem;
    padding: 0.55rem 1.05rem;
  }

.hero {
    min-height: max(760px, 100svh);
    align-items: flex-start;
    padding: 8rem 1.25rem 9rem;
  }

.hero__moon {
    top: 11%;
    left: auto;
    right: 8%;
  }

.hero__features {
    bottom: 1.8rem;
    left: 1.25rem;
  }

.hero__features li {
    padding: 0 0.9rem;
    font-size: 0.66rem;
  }

.hero__features svg {
    width: 18px;
    height: 18px;
  }

.hero__stamp {
    display: none;
  }
}

@media (max-width: 480px) {
.eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

.hero__description {
    max-width: 330px;
  }

.hero__actions {
    gap: 1rem;
  }

.hero__divider {
    display: none;
  }

/* Di layar kecil, sosmed tampil sebagai ikon saja */.hero__features li {
    padding: 0 0.8rem;
  }

.hero__features li:first-child {
    padding-left: 0;
  }

.hero__features li span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
*,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.play-button:hover .play-button__circle i {
  border-left-color: var(--color-ink);
}

.hero__tagline { margin-top: 0.4rem; }

/* ============================================================
   Animasi paralaks dan micro interaction
   ============================================================ *//* Bar progres gulir */.scroll-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #8cc8ff, #72b4f5 60%, #fff);
  box-shadow: 0 0 12px rgba(114, 180, 245, 0.7);
  pointer-events: none;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* Header: menempel di atas. Saat digulir, berubah jadi kapsul melayang */.site-header {
  position: fixed;
  left: 50%;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 16px;
  transform: translateX(-50%);
  transition:
    top 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    min-height 0.3s ease,
    padding 0.4s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  top: 14px;
  width: min(1120px, calc(100% - 2rem));
  min-height: 62px;
  padding: 0 0.9rem 0 1.4rem;
  border-color: rgba(140, 200, 255, 0.22);
  background: rgba(10, 17, 20, 0.7);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 26px rgba(114, 180, 245, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

/* Logo sedikit mengecil di mode kapsul */.site-header.is-scrolled .brand__mark {
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
}

@media (max-width: 760px) {
.site-header.is-scrolled {
    top: 10px;
    width: calc(100% - 1.25rem);
    min-height: 56px;
    padding: 0 1.1rem;
  }

/* Menu dropdown ikut tampil sebagai kartu bulat di bawah kapsul */.site-header.is-scrolled .site-nav {
    top: calc(100% + 10px);
    border: 1px solid rgba(140, 200, 255, 0.22);
    border-radius: 16px;
    background: rgba(10, 17, 20, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  }
}

/* Layer paralaks hero */.hero__sky { inset: -12% -4% 0; }

.hero__ridge--left { left: -3%; width: 37%; }

.hero__ridge--right { right: -3%; width: 39%; }

.hero__moon,
.hero__torii,
.hero__birds,
.hero__ridge,
.hero__sky,
.hero__content {
  will-change: translate;
}

/* Animasi masuk hero */@keyframes rise {
  from { opacity: 0; translate: 0 30px; filter: blur(8px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}

.hero__content > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__content > :nth-child(1) { animation-delay: 0.1s; }

.hero__content > :nth-child(2) { animation-delay: 0.25s; }

.hero__content > :nth-child(3) { animation-delay: 0.75s; }

.hero__content > :nth-child(4) { animation-delay: 0.9s; }

.hero__content > :nth-child(5) { animation-delay: 1.05s; }

.hero__features,
.hero__scroll,
.hero__stamp {
  animation: rise 1s ease 1.2s both;
}

/* Graffiti: muncul membal, melayang, membal seperti jelly saat di-hover */@keyframes graffiti-in {
  from { opacity: 0; transform: scale(0.5) rotate(-14deg); }
  60% { opacity: 1; transform: scale(1.07) rotate(-1deg); }
  to { opacity: 1; transform: scale(1) rotate(-3deg); }
}

@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-9px); }
}

/* Jelly & pop memakai properti "rotate" dan "scale" (bukan transform),
   jadi bisa jalan bersamaan dengan float tanpa saling menimpa. */@keyframes jelly {
  0%   { scale: 1 1; rotate: 0deg; }
  25%  { scale: 1.14 0.88; rotate: -1.5deg; }
  45%  { scale: 0.95 1.1; rotate: 1deg; }
  65%  { scale: 1.07 0.96; rotate: -0.5deg; }
  85%  { scale: 0.99 1.02; rotate: 0deg; }
  100% { scale: 1.06 1.06; rotate: 0deg; }
}

/* Hanya keyframe tengah: awal & akhir otomatis mengikuti kondisi elemen
   (normal atau sedang di-hover), jadi tidak ada lompatan. */@keyframes pop {
  40% { rotate: -4deg; scale: 1.2; }
}

/* PENTING: graffiti-in dan float selalu ada di urutan pertama & kedua.
   Hover/klik hanya menambah animasi di urutan ketiga, jadi animasi
   masuk tidak diulang dari awal (itu penyebab logo sempat hilang). */.hero__graffiti {
  cursor: pointer;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.55))
    drop-shadow(0 8px 28px rgba(114, 180, 245, 0.35))
    brightness(1);
  transition:
    scale 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    rotate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.45s ease;
  animation:
    graffiti-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both,
    float 6s ease-in-out 1.6s infinite;
}

/* Hover: membal seperti jelly, lalu menetap sedikit lebih besar dan bersinar */.hero__graffiti:hover {
  scale: 1.06;
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.85))
    drop-shadow(0 12px 38px rgba(114, 180, 245, 0.65))
    brightness(1.08);
  animation:
    graffiti-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both,
    float 6s ease-in-out 1.6s infinite,
    jelly 0.7s cubic-bezier(0.3, 1.2, 0.5, 1);
}

.hero__graffiti.is-pop,
.hero__graffiti.is-pop:hover {
  animation:
    graffiti-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both,
    float 6s ease-in-out 1.6s infinite,
    pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1);
}

/* Bulan bercahaya dan burung melayang */@keyframes moon-glow {
  from { filter: drop-shadow(0 0 16px rgba(230, 242, 238, 0.4)); }
  to { filter: drop-shadow(0 0 38px rgba(230, 242, 238, 0.8)); }
}

@keyframes drift {
  from { transform: translateX(-26px) translateY(0); }
  to { transform: translateX(26px) translateY(-10px); }
}

.hero__moon { animation: moon-glow 5s ease-in-out infinite alternate; }

.hero__birds { animation: drift 14s ease-in-out infinite alternate; }

/* Muncul saat digulir */.js .reveal {
  opacity: 0;
  translate: 0 38px;
  filter: blur(6px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    filter 0.8s ease var(--d, 0ms);
}

.js .reveal--left { translate: -50px 0; }

.js .reveal--right { translate: 50px 0; }

.js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  filter: none;
}

/* Kursor */.cursor-glow {
  position: fixed;
  z-index: 15;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 180, 245, 0.11), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cursor-ring {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(140, 200, 255, 0.75);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, background-color 0.25s ease, opacity 0.3s ease;
}

.cursor-ring.is-link {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(114, 180, 245, 0.14);
}

.cursor-ring.is-down {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  background: rgba(114, 180, 245, 0.4);
}

/* Tombol: magnetis, riak, panah bergeser */.magnetic { transition: translate 0.18s ease-out, background-color 160ms ease, color 160ms ease, border-color 160ms ease; }

.ripple-host {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  transform: scale(0);
  animation: ripple 0.7s ease-out forwards;
}

@keyframes ripple {
  to { transform: scale(1); opacity: 0; }
}

.button span,
.site-nav__contact span,
.text-link span {
  display: inline-block;
  transition: translate 0.2s ease;
}

.button:hover span,
.site-nav__contact:hover span,
.text-link:hover span {
  translate: 3px -3px;
}

.button--primary:hover {
  box-shadow: 0 10px 30px rgba(114, 180, 245, 0.35);
}

/* Percikan bintang saat graffiti/logo diklik */.spark {
  position: fixed;
  z-index: 80;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: #8cc8ff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  pointer-events: none;
  animation: spark 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes spark {
  to { translate: var(--dx) var(--dy); scale: 0; opacity: 0; rotate: 180deg; }
}

/* Logo & indikator samping */.brand__mark {
  transition: transform 0.3s ease, background-color 0.25s ease, color 0.25s ease, translate 0.18s ease-out;
}

.brand:hover .brand__mark {
  background: var(--color-red);
  color: var(--color-ink);
  transform: skewX(-8deg) rotate(-8deg) scale(1.1);
}

.side-index a:hover::after { width: 28px; }

/* Matikan kursor tambahan di layar sentuh */@media (hover: none), (pointer: coarse) {
.cursor-glow,
  .cursor-ring { display: none; }
}

/* ============================================================
   Scrollbar kanan (tema biru malam)
   ============================================================ */html {
  scrollbar-gutter: stable;
}

/* Chrome, Edge, Safari */::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(114, 180, 245, 0.06), rgba(114, 180, 245, 0) 30%),
    var(--color-ink);
  border-left: 1px solid rgba(140, 200, 255, 0.12);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a8d6ff 0%, #72b4f5 45%, #3a7bd5 100%);
  border: 3px solid var(--color-ink);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), inset 0 0 8px rgba(255, 255, 255, 0.25);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #cfe9ff 0%, #8cc8ff 45%, #4f94ee 100%);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #ffffff 0%, #a8d6ff 50%, #72b4f5 100%);
}

::-webkit-scrollbar-corner {
  background: var(--color-ink);
}

/* Firefox (dan browser lain tanpa ::-webkit-scrollbar) */@supports not selector(::-webkit-scrollbar) {
html {
    scrollbar-width: thin;
    scrollbar-color: #72b4f5 var(--color-ink);
  }
}

/* ============================================================
   Tombol ganti tema
   ============================================================ */.theme-toggle {
  display: grid;
  flex: none;
  width: 42px;
  height: 42px;
  margin-left: clamp(0.8rem, 1.6vw, 1.6rem);
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.theme-toggle:hover {
  border-color: var(--color-red);
  background: rgba(114, 180, 245, 0.14);
  transform: rotate(18deg);
}

.theme-toggle svg {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

/* Mode malam menampilkan ikon matahari (untuk pindah ke siang), mode siang menampilkan bulan */.theme-toggle__moon { display: none; }

html[data-theme="light"] .theme-toggle__sun { display: none; }

html[data-theme="light"] .theme-toggle__moon { display: block; }

@media (max-width: 760px) {
.theme-toggle {
    order: 2;
    width: 38px;
    height: 38px;
    margin-right: 1rem;
    margin-left: auto;
  }

.menu-toggle { order: 3; }
}

/* ============================================================
   MODE SIANG
   ============================================================ */html[data-theme="light"] {
  color-scheme: light;
  --color-ink: #f3f7fc;
  --color-panel: #e7eef7;
  --color-panel-light: #ffffff;
  --color-text: #0d1b2a;
  --color-muted: #475a70;
  --color-red: #1f6fd1;
  --color-red-soft: #1a5fb4;
  --color-line: rgba(13, 27, 42, 0.16);
}

/* Header */html[data-theme="light"] .site-nav .site-nav__contact {
  border-color: rgba(13, 27, 42, 0.35);
}

html[data-theme="light"] .site-header.is-scrolled {
  border-color: rgba(31, 111, 209, 0.25);
  background: rgba(243, 247, 252, 0.78);
  box-shadow:
    0 10px 30px rgba(31, 62, 105, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

html[data-theme="light"] .scroll-progress {
  background: linear-gradient(90deg, #8cc8ff, #3a8be8 60%, #1f6fd1);
  box-shadow: 0 0 12px rgba(31, 111, 209, 0.45);
}

/* Hero: langit siang, matahari, tebing berkabut */html[data-theme="light"] .hero {
  background: #cfe4f8;
}

html[data-theme="light"] .hero__sky {
  background:
    radial-gradient(ellipse 60% 55% at 62% 20%, rgba(255, 244, 205, 0.85), transparent 70%),
    radial-gradient(ellipse 80% 60% at 70% 95%, rgba(255, 255, 255, 0.6), transparent 70%),
    linear-gradient(180deg, #6fb2f0 0%, #a9d2f6 50%, #e2effb 100%);
}

html[data-theme="light"] .hero__moon {
  width: clamp(110px, 13vw, 180px);
  background: radial-gradient(circle at 40% 38%, #fffdf0 0%, #ffe9a3 45%, #ffcf5e 100%);
  box-shadow: 0 0 60px 18px rgba(255, 214, 102, 0.55);
  transform: none;
  animation: sun-glow 5s ease-in-out infinite alternate;
}

@keyframes sun-glow {
  from { filter: drop-shadow(0 0 14px rgba(255, 207, 94, 0.55)); }
  to { filter: drop-shadow(0 0 34px rgba(255, 207, 94, 0.95)); }
}

html[data-theme="light"] .hero__ridge {
  background: linear-gradient(180deg, #7fa6cc, #4d7399);
  opacity: 0.85;
}

html[data-theme="light"] .hero__torii {
  fill: #1f3d63;
  opacity: 0.8;
}

html[data-theme="light"] .hero__birds {
  fill: #1f3d63;
  opacity: 0.7;
}

html[data-theme="light"] .hero__fog {
  background:
    linear-gradient(90deg, rgba(243, 247, 252, 0.92) 0%, rgba(243, 247, 252, 0.6) 38%, rgba(243, 247, 252, 0) 70%),
    linear-gradient(0deg, rgba(243, 247, 252, 1) 0%, rgba(243, 247, 252, 0) 30%),
    radial-gradient(ellipse 50% 14% at 62% 100%, rgba(255, 255, 255, 0.55), transparent 80%);
}

@media (max-width: 900px) {
html[data-theme="light"] .hero__fog {
    background:
      linear-gradient(90deg, rgba(243, 247, 252, 0.9) 0%, rgba(243, 247, 252, 0.6) 55%, rgba(243, 247, 252, 0.2) 100%),
      linear-gradient(0deg, rgba(243, 247, 252, 1) 0%, rgba(243, 247, 252, 0) 30%);
  }
}

html[data-theme="light"] .hero__line {
  background: linear-gradient(180deg, #0d1b2a 15%, #3a5272 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.5));
}

html[data-theme="light"] .hero__description {
  color: #2d4057;
}

html[data-theme="light"] .hero__graffiti {
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.9))
    drop-shadow(0 8px 22px rgba(31, 111, 209, 0.35))
    brightness(1);
}

html[data-theme="light"] .hero__graffiti:hover {
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 1))
    drop-shadow(0 12px 32px rgba(31, 111, 209, 0.55))
    brightness(1.04);
}

html[data-theme="light"] .play-button__circle,
html[data-theme="light"] .hero__scroll-pill {
  border-color: rgba(13, 27, 42, 0.7);
}

html[data-theme="light"] .hero__stamp {
  color: rgba(13, 27, 42, 0.85);
}

html[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(31, 111, 209, 0.09), transparent 65%);
}

html[data-theme="light"] .cursor-ring {
  border-color: rgba(31, 111, 209, 0.75);
}

html[data-theme="light"] .spark {
  background: #1f6fd1;
}

html[data-theme="light"] .button--primary:hover {
  box-shadow: 0 10px 30px rgba(31, 111, 209, 0.3);
}

/* Menu mobile */@media (max-width: 760px) {
html[data-theme="light"] .site-nav {
    background: rgba(243, 247, 252, 0.97);
  }

html[data-theme="light"] .site-header.is-scrolled .site-nav {
    border-color: rgba(31, 111, 209, 0.25);
    background: rgba(243, 247, 252, 0.94);
    box-shadow: 0 14px 34px rgba(31, 62, 105, 0.22);
  }
}

/* Scrollbar */html[data-theme="light"] ::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(31, 111, 209, 0.07), rgba(31, 111, 209, 0) 30%),
    var(--color-ink);
  border-left-color: rgba(31, 111, 209, 0.14);
}

html[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8cc8ff 0%, #3a8be8 50%, #1f6fd1 100%);
}

/* ============================================================
   LAYAR LOADING
   ============================================================ */html.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  overflow: hidden;
  color: var(--color-text);
}

html.is-loading .preloader,
.preloader.is-done {
  display: block;
}

/* Animasi hero ditahan sampai loading selesai */html.is-loading .hero__content > *,
html.is-loading .hero__features,
html.is-loading .hero__scroll,
html.is-loading .hero__stamp,
html.is-loading .hero__graffiti {
  animation-play-state: paused;
}

/* Dua panel yang terbelah ke atas dan ke bawah */.preloader__panel {
  position: absolute;
  right: 0;
  left: 0;
  height: 50.5%;
  transition: transform 0.95s cubic-bezier(0.77, 0, 0.18, 1) 0.4s;
}

.preloader__panel--top {
  top: 0;
  background: linear-gradient(180deg, var(--color-panel), var(--color-ink));
}

.preloader__panel--bottom {
  bottom: 0;
  background: linear-gradient(0deg, var(--color-panel), var(--color-ink));
}

.preloader.is-done .preloader__panel--top { transform: translateY(-101%); }

.preloader.is-done .preloader__panel--bottom { transform: translateY(101%); }

/* Cahaya di belakang logo */.preloader__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 38% 34% at 50% 50%, rgba(114, 180, 245, 0.2), transparent 70%);
  animation: pl-breathe 2.4s ease-in-out infinite alternate;
  transition: opacity 0.5s ease;
}

.preloader.is-done .preloader__glow {
  opacity: 0;
}

/* Garis cahaya yang melebar di belahan panel */.preloader__line {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(90deg, transparent, var(--color-red-soft) 20%, var(--color-red-soft) 80%, transparent);
  box-shadow: 0 0 24px var(--color-red), 0 0 60px var(--color-red);
  opacity: 0;
  transform: scaleX(0);
}

.preloader.is-done .preloader__line {
  animation: pl-line 1.2s ease forwards;
}

/* Isi tengah */.preloader__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.preloader.is-done .preloader__center {
  opacity: 0;
  transform: scale(1.08);
}

.preloader__logo {
  position: relative;
  display: grid;
  width: clamp(78px, 10vw, 104px);
  aspect-ratio: 1;
  place-items: center;
  transform: skewX(-8deg);
}

.preloader__logo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.preloader__logo rect {
  fill: none;
  stroke: var(--color-red);
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: pl-draw 1.3s cubic-bezier(0.6, 0, 0.2, 1) 0.15s forwards;
  filter: drop-shadow(0 0 8px rgba(114, 180, 245, 0.7));
}

.preloader__logo span {
  color: var(--color-red);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 3.7rem);
  line-height: 1;
  animation: pl-pop 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) 0.95s both;
}

.preloader__name {
  display: flex;
  margin: 0;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1;
}

.preloader__name span {
  display: inline-block;
  animation: pl-letter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.7s + var(--i) * 0.08s) both;
}

.preloader__meta {
  display: flex;
  width: min(260px, 70vw);
  justify-content: space-between;
  margin-top: 0.4rem;
  margin-bottom: -1rem;
  color: var(--color-muted);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.preloader__meta b {
  color: var(--color-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.preloader__bar {
  width: min(260px, 70vw);
  height: 2px;
  background: var(--color-line);
}

.preloader__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-red-soft), var(--color-red));
  box-shadow: 0 0 12px var(--color-red);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

@keyframes pl-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes pl-pop {
  from { opacity: 0; transform: scale(0.5) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes pl-letter {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes pl-breathe {
  from { opacity: 0.55; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.06); }
}

@keyframes pl-line {
  0% { opacity: 1; transform: scaleX(0); }
  35% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

/* ============================================================
   ANIMASI MENU MOBILE (buka dan tutup, mode siang dan malam)
   Menu tidak lagi muncul mendadak lewat display:none.
   ============================================================ */@media (max-width: 760px) {
.site-nav {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    translate: 0 -10px;
    transform-origin: top center;
    transition:
      opacity 0.28s ease,
      translate 0.38s cubic-bezier(0.2, 0.7, 0.2, 1),
      clip-path 0.38s cubic-bezier(0.2, 0.7, 0.2, 1),
      visibility 0s linear 0.38s;
  }

.site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    clip-path: inset(0 0 -40px 0);
    translate: 0 0;
    transition:
      opacity 0.25s ease,
      translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
      clip-path 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0s;
  }

/* Tiap tautan masuk satu per satu dari atas */.site-nav a {
    opacity: 0;
    translate: 0 -8px;
    transition:
      color 160ms ease,
      background-color 160ms ease,
      border-color 160ms ease,
      opacity 0.2s ease,
      translate 0.2s ease;
  }

.site-nav.is-open a {
    opacity: 1;
    translate: 0 0;
    transition:
      color 160ms ease,
      background-color 160ms ease,
      border-color 160ms ease,
      opacity 0.4s ease var(--d, 0s),
      translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s);
  }

.site-nav.is-open a:nth-child(1) { --d: 0.06s; }

.site-nav.is-open a:nth-child(2) { --d: 0.10s; }

.site-nav.is-open a:nth-child(3) { --d: 0.14s; }

.site-nav.is-open a:nth-child(4) { --d: 0.18s; }

.site-nav.is-open a:nth-child(5) { --d: 0.22s; }

.site-nav.is-open a:nth-child(6) { --d: 0.27s; }

/* Hamburger berubah menjadi X, lalu kembali lagi */.menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    transition: background-color 0.2s ease, top 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), rotate 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 0; rotate: 45deg; }

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 0; rotate: -45deg; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
.site-nav,
  .site-nav.is-open,
  .site-nav a,
  .site-nav.is-open a {
    clip-path: none;
    transition: opacity 0.01s, visibility 0s;
    translate: 0 0;
  }
}

/* ============================================================
   HERO MOBILE: konten utama dan ikon sosmed jadi satu kelompok
   yang berada di tengah layar secara vertikal
   ============================================================ */@media (max-width: 760px) {
.hero {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: max(640px, 100svh);
    padding: 6.5rem 1.25rem 3rem;
  }

.hero__features {
    position: static;
    margin-top: 2.6rem;
  }
}

/* ============================================================
   DESAIN BARU: semua bagian setelah hero
   Pola: kolom judul menempel di kiri, isi di kanan. Satu bahasa visual:
   garis tipis + bayangan biru keras (seperti outline graffiti di hero).
   Warna ikut variabel tema, jadi mode siang otomatis jalan.
   ============================================================ */
.chapter {
  --lift: color-mix(in srgb, var(--color-red) 32%, transparent);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 5vw, 3rem);
}
.chapter + .chapter { border-top: 1px solid var(--color-line); }
.chapter__head { position: sticky; top: 6.5rem; }
.chapter__head h2 {
  margin: 0;
  font: 400 clamp(2.3rem, 4.4vw, 3.8rem) / 1.04 var(--font-display);
  text-transform: uppercase;
  text-wrap: balance;
}
.chapter__head p { max-width: 26ch; margin: 1.1rem 0 0; color: var(--color-muted); }
.chapter__body { min-width: 0; }

.tag {
  display: inline-block;
  margin-bottom: .55rem;
  padding: .12rem .7rem;
  border: 1px solid var(--color-line);
  border-radius: 99px;
  color: var(--color-red-soft);
  font-size: .8rem;
  font-weight: 600;
}

/* ---------- Tentang: foto dicetak miring + fakta singkat ---------- */
.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
.about__photo {
  margin: 0;
  padding: .65rem .65rem 0;
  background: #f4f7fb;
  color: #0d1b2a;
  rotate: -2.2deg;
  box-shadow: 10px 10px 0 var(--lift);
  perspective: 900px;
}
.about__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 36% 40%;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out;
}
.about__photo figcaption { padding: .8rem .2rem .9rem; font-size: .88rem; font-weight: 600; }
.about__intro { margin: 0 0 .6rem; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.about__copy > p { max-width: 62ch; margin: 0 0 1.2rem; color: var(--color-muted); }
.about__copy > p.about__intro { color: var(--color-text); }
.facts { margin: 1.6rem 0; border-top: 1px solid var(--color-line); }
.facts div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--color-line);
}
.facts dt { color: var(--color-muted); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 600; }

/* ---------- Pengalaman: rel waktu (urutannya memang kronologis) ---------- */
.trail { --date: 9.5rem; --gap: 2.4rem; position: relative; margin: 0; padding: 0; list-style: none; }
.trail::before {
  content: "";
  position: absolute;
  top: .5rem;
  bottom: .5rem;
  left: calc(var(--date) + var(--gap) / 2 - 1px);
  width: 2px;
  background: linear-gradient(var(--color-red), var(--color-line));
}
.trail__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--date) 1fr;
  column-gap: var(--gap);
  padding-bottom: 2.4rem;
}
.trail__item:last-child { padding-bottom: 0; }
.trail__item::before {
  content: "";
  position: absolute;
  top: .3rem;
  left: calc(var(--date) + var(--gap) / 2 - 7px);
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-red);
  border-radius: 50%;
  background: var(--color-ink);
}
.trail time { padding-top: .1rem; color: var(--color-muted); font-size: .92rem; font-weight: 600; text-align: right; }
.trail h3 { margin: 0; font-size: 1.3rem; line-height: 1.3; }
.trail p { margin: .15rem 0 0; color: var(--color-muted); }

/* ---------- Skill: editor kode, isinya cuplikan dari website ini ---------- */
.editor {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-panel);
  box-shadow: 10px 10px 0 var(--lift);
}
.editor__tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--color-line); background: var(--color-panel-light); }
.editor__tabs button {
  margin-bottom: -1px;
  padding: .85rem 1.25rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--color-muted);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.editor__tabs button:hover { color: var(--color-text); }
.editor__tabs button[aria-selected="true"] { border-bottom-color: var(--color-red); color: var(--color-text); }
.editor__panel[hidden] { display: none; }
.editor pre {
  margin: 0;
  padding: 1.6rem 1.4rem;
  overflow-x: auto;
  font: .92rem / 1.9 ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  color: var(--color-text);
}
.editor code span { display: block; }
.editor .k { color: var(--color-red); }
.editor .c { color: var(--color-muted); }
.editor__info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
  border-top: 1px solid var(--color-line);
}
.editor__info h3 { margin: 0; font: 400 2rem / 1 var(--font-display); text-transform: uppercase; }
.editor__info p { margin: 0; color: var(--color-muted); }

/* ---------- Proyek: jendela browser + keterangan ---------- */
.work { display: grid; gap: 2.2rem; }
.work__frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-panel);
  box-shadow: 10px 10px 0 var(--lift);
  text-decoration: none;
}
.work__bar { display: flex; gap: .4rem; align-items: center; padding: .65rem .9rem; border-bottom: 1px solid var(--color-line); }
.work__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-line); }
.work__bar b { margin-left: .6rem; color: var(--color-muted); font-size: .8rem; font-weight: 500; }
.work__screen { position: relative; display: grid; place-items: center; aspect-ratio: 1400 / 669; background: #fdf3d8; }
.work__fallback { color: #5a3a12; font: 400 clamp(2rem, 6vw, 4.2rem) var(--font-display); opacity: .5; }
.work__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work__info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem clamp(1.5rem, 4vw, 3rem); }
.work__info h3 { margin: 0; font: 400 clamp(2rem, 3.4vw, 2.8rem) / 1 var(--font-display); text-transform: uppercase; }
.work__lead { margin: .6rem 0 0; font-weight: 700; }
.work__text p { margin: 0 0 1.2rem; color: var(--color-muted); }
.work__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.work__tags li { padding: .15rem .75rem; border: 1px solid var(--color-line); border-radius: 99px; font-size: .84rem; }

/* ---------- Kontak: formulir bergaris bawah ---------- */
.contact-form {
  display: grid;
  gap: 1.7rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-panel);
  box-shadow: 10px 10px 0 var(--lift);
}
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem; }
.contact-form__trap { position: absolute; left: -9999px; }
.form-field { display: grid; gap: .3rem; }
.form-field label { font-size: .9rem; font-weight: 600; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: .7rem 0;
  border: 0;
  border-bottom: 2px solid var(--color-line);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 1rem;
  transition: border-color .2s;
}
.form-field textarea { resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-muted); opacity: .7; }
.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--color-red); outline: 0; }
.contact-form__footer { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-status { margin: 0; color: var(--color-muted); font-size: .92rem; }
.form-status[data-state="success"] { color: var(--color-red-soft); }
.form-status[data-state="error"] { color: #e5675d; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.2rem clamp(1.25rem, 5vw, 3rem) 2.6rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: .92rem;
}
.site-footer p { margin: 0; }
.site-footer__top { color: var(--color-text); font-weight: 600; text-decoration: none; }
.site-footer__top:hover { color: var(--color-red-soft); }

@media (max-width: 900px) {
  .chapter { grid-template-columns: 1fr; row-gap: 2.2rem; }
  .chapter__head { position: static; }
  .chapter__head p { max-width: 46ch; }
  .about__layout, .work__info { grid-template-columns: 1fr; }
  .about__photo { max-width: 26rem; }
}
@media (max-width: 640px) {
  .trail { --date: 0rem; --gap: 0rem; }
  .trail::before { left: 6px; }
  .trail__item { grid-template-columns: 1fr; padding: 0 0 2rem 2.2rem; }
  .trail__item::before { left: 0; }
  .trail time { margin-bottom: .3rem; text-align: left; }
  .contact-form__row { grid-template-columns: 1fr; }
  .editor__info { grid-template-columns: 1fr; gap: .6rem; }
  .facts div { grid-template-columns: 1fr; gap: .1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .about__photo img { transition: none; }
}