/* ==========================================================================
   Mana Labs — landing page
   Desain: Poster "Hitam Kuning" — hitam pekat + kuning rambu, tipografi
   condensed kapital, section sebagai blok warna, pita hazard.
   Token warna/tipografi ada di :root; blok kuning/terang menimpa token
   secara lokal (lihat bagian "Tema Poster" di akhir file).
   ========================================================================== */

:root {
  --bg: #0d0d0d;          /* hitam pekat */
  --bg-inset: #ffd400;    /* blok kuning */
  --ink: #f2f2f2;         /* teks utama */
  --ink-2: #a6a6a6;       /* teks sekunder */
  --line: #3a3a3a;        /* garis */
  --accent: #ffd400;      /* kuning rambu — aksen */
  --accent-ink: #0d0d0d;  /* teks di atas aksen */

  --font-sans: "Bahnschrift", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;

  --gutter: 16px;
  --maxw: 1240px;
  --header-h: 60px;
  --section-y: clamp(72px, 12vw, 160px);
  --radius: 0;
}

@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --header-h: 68px; } }

/* ---------- Reset ringan ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, dl, dd, blockquote, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
strong { font-weight: 600; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

.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;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.nowrap { white-space: nowrap; }

/* ---------- Tombol & link ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  min-height: 48px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--accent); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }

.link-arrow {
  display: inline-block;
  padding-block: 13px;
  font-size: 15px; font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .2s ease, color .2s ease;
}
.link-arrow:hover { color: var(--accent); text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
@supports not (background: color-mix(in srgb, red, blue)) {
  .site-header { background: var(--bg); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.wordmark {
  font-weight: 650; font-size: 18px; letter-spacing: -0.02em;
  text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}

.nav-toggle { display: none; }

.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-nav ul { display: flex; gap: 24px; flex-wrap: wrap; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 15px; text-decoration: none; color: var(--ink-2);
  transition: color .2s ease;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { color: var(--ink); }

/* Mobile: dengan JS → menu toggle; tanpa JS → tautan tetap tampil membungkus */
@media (max-width: 859px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 4px 0 12px;
    background: none; border: 0; color: var(--ink);
    font: 500 14px/1 var(--font-sans); cursor: pointer;
  }
  .nav-toggle-icon { position: relative; width: 18px; height: 10px; }
  .nav-toggle-icon::before, .nav-toggle-icon::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
    transition: transform .2s ease, top .2s ease;
  }
  .nav-toggle-icon::before { top: 0; }
  .nav-toggle-icon::after { top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 4px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 4px; transform: rotate(-45deg); }

  .js .site-nav {
    display: none;
    width: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px 0 24px;
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a {
    width: 100%; min-height: 52px;
    font-size: 22px; letter-spacing: -0.01em; color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .js .site-nav .btn { justify-content: center; min-height: 48px; }

  .site-nav { width: 100%; gap: 8px 20px; padding-bottom: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 10vw, 128px); padding-bottom: clamp(56px, 8vw, 104px); }
.eyebrow { color: var(--ink-2); margin-bottom: clamp(20px, 3vw, 36px); max-width: 32ch; }
@media (min-width: 640px) { .eyebrow { max-width: none; } }

.hero-title {
  font-size: clamp(40px, 7.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  max-width: 16ch;
  text-wrap: balance;
}
.accent-dot { color: var(--accent); }

.hero-foot {
  margin-top: clamp(36px, 6vw, 72px);
  display: grid; gap: 28px;
}
.hero-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

@media (min-width: 900px) {
  .hero-foot { grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
  .hero-lede { grid-column: 1; }
}

.hero-diagram { margin-top: clamp(56px, 8vw, 96px); }
.hero-diagram svg { width: 100%; height: auto; overflow: visible; }
.hero-diagram figcaption { color: var(--ink-2); margin-top: 12px; }
.d-line { stroke: var(--ink); stroke-width: 1; }
.d-loop { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
.d-node { fill: var(--bg); stroke: var(--ink); stroke-width: 1.25; }
.d-node--accent { fill: var(--accent); stroke: var(--accent); }
.d-label { font-family: var(--font-mono); font-size: 13px; fill: var(--ink-2); letter-spacing: .02em; }
@media (max-width: 639px) {
  .d-label { font-size: 22px; }
  .hero-diagram svg { margin-inline: -4px; width: calc(100% + 8px); }
}

/* ---------- Section editorial ---------- */
.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section--inset { background: var(--bg-inset); border-top-color: transparent; }

.grid-editorial { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .grid-editorial { grid-template-columns: 3fr 9fr; gap: 48px; }
}
.section-meta { display: flex; gap: 14px; align-items: baseline; color: var(--ink-2); }
.section-meta .index { color: var(--accent); }
.section-label { font-weight: 400; text-transform: uppercase; }
@media (min-width: 900px) {
  .section-meta { flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

.section-title {
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 18ch;
  text-wrap: balance;
}
.body-text { color: var(--ink-2); max-width: 56ch; margin-top: 20px; }
.section-title + .body-text { margin-top: 24px; }

/* Filosofi */
.statement p {
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 24ch;
  text-wrap: pretty;
}
.statement + .body-text { margin-top: clamp(28px, 4vw, 48px); }

/* ---------- Ekosistem ---------- */
.eco-list {
  margin-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--ink);
}
.eco-list:focus { outline: none; }
.eco-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px 12px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.eco-num { color: var(--ink-2); padding-top: 10px; }
.eco-head, .eco-desc, .eco-link { grid-column: 2; }
.eco-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.eco-name {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -0.03em; font-weight: 600;
}
.eco-desc { color: var(--ink-2); max-width: 52ch; margin-top: 6px; }
.eco-link {
  justify-self: start;
  display: inline-flex; align-items: center; gap: .35em;
  min-height: 44px;
  font-family: var(--font-mono); font-size: 13px;
  text-decoration: underline; text-underline-offset: 5px;
  text-decoration-color: var(--line);
  transition: color .2s ease, text-decoration-color .2s ease;
}
a.eco-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.eco-link--muted { color: var(--ink-2); text-decoration: none; }

@media (min-width: 900px) {
  .eco-row {
    /* kolom pertama = kolom meta section (3/12), agar nama sejajar dengan judul */
    grid-template-columns: calc((100% - 48px) / 4) 4fr 5fr minmax(150px, 2fr);
    column-gap: 48px;
    align-items: baseline;
    padding-block: 36px;
  }
  .eco-row > * { grid-column: auto; }
  .eco-num { padding-top: 0; }
  .eco-head { flex-direction: column; gap: 10px; }
  .eco-desc { margin-top: 0; }
  .eco-link { justify-self: end; min-height: 0; }
  .eco-row { transition: background-color .25s ease; }
}

/* Status: teks + penanda bentuk, tidak bergantung warna saja */
.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  border: 1.25px solid currentColor;
}
.status--live::before { background: var(--accent); border-color: var(--accent); }
.status--dev::before { background: linear-gradient(90deg, var(--ink-2) 50%, transparent 50%); }
.status--exp::before { border-style: dashed; border-radius: 50%; }

/* ---------- Mana Studio ---------- */
.service-list {
  margin-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--ink);
}
.service {
  display: grid; gap: 4px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.service dt { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.service dd { color: var(--ink-2); max-width: 48ch; }
@media (min-width: 640px) {
  .service { grid-template-columns: 4fr 7fr; gap: 32px; align-items: baseline; }
}

/* ---------- Proses ---------- */
.steps {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid; grid-template-columns: 40px 1fr; gap: 12px;
  align-content: start;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.step-num { color: var(--accent); padding-top: 6px; }
.step p { font-size: clamp(20px, 2vw, 26px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; max-width: 22ch; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step {
    grid-template-columns: 1fr; gap: 28px;
    padding-top: 28px; border-top: 1px solid var(--ink);
  }
  .step::before {
    content: ""; position: absolute; top: -5px; left: 0;
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--bg); border: 1.25px solid var(--ink);
  }
  .step:last-child::before { background: var(--accent); border-color: var(--accent); }
  .step-num { padding-top: 0; }
}
.steps-note { color: var(--ink-2); margin-top: 28px; }
@media (min-width: 900px) { .steps-note { text-align: right; } }

/* ---------- Tentang / pohon struktur ---------- */
.tree {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(20px, 3vw, 32px) 0 0;
  border-top: 1px solid var(--ink);
}
.tree-root { text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.tree-list { position: relative; padding-left: 22px; border-left: 1px solid var(--line); margin-left: 4px; }
.tree-list > li {
  position: relative;
  display: grid; gap: 2px;
  padding: 12px 0;
}
.tree-list > li::before {
  content: ""; position: absolute; left: -22px; top: 26px; width: 14px; border-top: 1px solid var(--line);
}
.tree-name { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.tree-desc { color: var(--ink-2); font-size: 15px; max-width: 52ch; }
@media (min-width: 640px) {
  .tree-list > li { grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; }
}
.tree-current .tree-name { color: var(--accent); }
.tree-name a {
  display: inline-flex; align-items: center; gap: .3em; min-height: 44px; margin-block: -10px;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.tree-name a:hover { color: var(--accent); text-decoration-color: currentColor; }
.tree-current::before { border-top-color: var(--accent) !important; }
.tree-sub {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  margin-top: 10px; padding-left: 18px;
  border-left: 1px solid var(--accent);
  font-family: var(--font-mono); font-size: 13px; color: var(--ink);
}
@media (min-width: 640px) { .tree-sub { grid-column: 2; margin-top: 4px; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--bg);
  padding-block: clamp(56px, 8vw, 96px) 40px;
}
.footer-inner { display: grid; gap: 40px; }
.footer-wordmark { font-size: clamp(34px, 6vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.footer-tag { margin-top: 14px; color: #bdb8ad; max-width: 40ch; }
.footer-tag strong { color: var(--bg); }
.footer-label { color: #a39e93; text-transform: uppercase; margin-bottom: 8px; }
.footer-links a {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px;
  text-decoration: none; font-size: 17px;
  transition: color .2s ease;
}
.footer-links a:hover { color: #e3a07f; }
.footer-note { color: #a39e93; font-size: 14px; }
.site-footer :focus-visible { outline-color: var(--bg); }
.footer-legal { color: #a39e93; padding-top: 24px; border-top: 1px solid #3a3833; }

@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 8fr 4fr; align-items: end; row-gap: 64px; }
  .footer-legal { grid-column: 1 / -1; }
}

/* ==========================================================================
   Ilustrasi (SVG inline, dekoratif). Warna mengikuti token tema:
   .i-fill = warna teks, .i-bg = warna latar, .i-pop = warna aksen.
   ========================================================================== */

.i-fill { fill: currentColor; }
.i-bg { fill: var(--bg); }
.i-pop { fill: var(--accent); }
.i-line { fill: var(--bg); stroke: currentColor; stroke-width: 4; }
.i-popline { fill: var(--accent); stroke: currentColor; stroke-width: 4; stroke-linejoin: round; }
.i-stroke { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; }
.i-dash { fill: none; stroke: currentColor; stroke-width: 3; stroke-dasharray: 6 8; }
.i-teeth { fill: none; stroke: currentColor; }
.i-beam { fill: currentColor; opacity: .12; }

/* Stiker bundar di hero */
.hero .wrap { position: relative; }
.hero-badge {
  position: absolute; z-index: 1;
  top: 0; right: var(--gutter);
  width: clamp(84px, 13vw, 184px); height: auto;
  pointer-events: none;
}
.badge-disc { fill: var(--accent); }
.badge-text {
  fill: var(--accent-ink);
  font-family: var(--font-mono); font-size: 15px; font-weight: 600; letter-spacing: .08em;
}
.badge-star { fill: var(--accent-ink); }
@media (max-width: 639px) {
  .hero .eyebrow { max-width: calc(100% - 100px); }
}

/* Ilustrasi ekosistem */
.eco-art { display: block; width: 60px; height: auto; color: var(--ink); }
@media (max-width: 899px) {
  .eco-row { position: relative; }
  .eco-art { position: absolute; top: 22px; right: 8px; }
  .eco-head { padding-right: 72px; }
}
@media (min-width: 900px) {
  .eco-num { display: flex; flex-direction: column; gap: 18px; }
  .eco-art { width: clamp(96px, 9vw, 132px); }
}

/* Ilustrasi di kolom meta section (desktop) */
.meta-art { display: none; }
@media (min-width: 900px) {
  .meta-art { display: block; width: 100%; max-width: 210px; height: auto; margin-top: 32px; color: var(--ink); }
}

/* ==========================================================================
   Motion — sentuhan kreatif
   Semua aturan di bawah hanya aktif bila script.js menambahkan class .motion
   pada <html> (JS aktif + pengunjung tidak memilih reduced motion).
   Tanpa .motion, halaman tampil statis dan lengkap.
   ========================================================================== */

.d-packet { fill: var(--accent); opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  :root {
    --ease-out: cubic-bezier(.19, 1, .22, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);
    --ease-back: cubic-bezier(.3, 1.6, .5, 1);
  }

  /* --- Reveal umum, dengan stagger lewat --i --- */
  .motion .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity .8s ease, transform 1s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .motion .reveal.is-in { opacity: 1; transform: none; }

  /* --- Judul: kata naik dari balik garis --- */
  .motion .split .w {
    display: inline-block; overflow: hidden; vertical-align: top;
    padding-bottom: .12em; margin-bottom: -.12em;
  }
  .motion .split .w-i {
    display: inline-block; transform: translateY(110%);
    transition: transform 1.1s var(--ease-out);
    transition-delay: calc(var(--i) * 55ms + var(--split-delay, 0ms));
  }
  .motion .split.is-in .w-i { transform: none; }
  .motion .hero-title { --split-delay: 150ms; }

  /* Titik aksen berkedip seperti kursor, lalu diam */
  .motion .hero-title .accent-dot { display: inline-block; }
  .motion .hero-title.is-in .accent-dot { animation: ml-blink 1s steps(1) 1.3s 3; }
  @keyframes ml-blink { 50% { opacity: 0; } }

  /* Lede & tombol hero menyusul */
  .motion .hero-foot > * {
    opacity: 0; transform: translateY(16px);
    transition: opacity .8s ease, transform 1s var(--ease-out);
  }
  .motion .hero.is-in .hero-foot > * { opacity: 1; transform: none; }
  .motion .hero.is-in .hero-lede { transition-delay: .75s; }
  .motion .hero.is-in .hero-actions { transition-delay: .9s; }

  /* --- Diagram hero: garis tergambar, node muncul, paket berjalan --- */
  .motion .d-line {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.8s var(--ease-io) .2s;
  }
  .motion .hero-diagram.is-in .d-line { stroke-dashoffset: 0; }

  .motion .d-node {
    transform-box: fill-box; transform-origin: center; transform: scale(0);
    transition: transform .6s var(--ease-back);
  }
  .motion .d-label { opacity: 0; transition: opacity .6s ease; }
  .motion .hero-diagram.is-in .d-node { transform: scale(1); transition-delay: calc(.25s + var(--i) * .45s); }
  .motion .hero-diagram.is-in .d-label { opacity: 1; transition-delay: calc(.4s + var(--i) * .45s); }

  .motion .d-loop { opacity: 0; transition: opacity 1s ease 2s; }
  .motion .hero-diagram.is-in .d-loop { opacity: 1; }

  .motion .d-packet { transition: opacity .35s ease; }
  .motion .hero-diagram.is-running .d-packet { opacity: 1; }
  .motion .hero-diagram.is-running .d-node--accent { animation: ml-ping 4.6s var(--ease-io); }
  @keyframes ml-ping { 45%, 55% { transform: scale(1.5); } }

  @media (hover: hover) { .motion .hero-diagram svg { cursor: pointer; } }

  /* --- Filosofi: kata menebal mengikuti scroll --- */
  .motion .statement .sw { opacity: .18; transition: opacity .35s ease; }
  .motion .statement .sw.lit { opacity: 1; }

  /* --- Ekosistem: sapuan garis aksen & geser nama saat hover --- */
  .motion .eco-row { position: relative; }
  @media (hover: hover) {
    .motion .eco-row::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
      background: var(--accent);
      transform: scaleX(0); transform-origin: left;
      transition: transform .7s var(--ease-out);
    }
    .motion .eco-row:hover::after { transform: scaleX(1); }
    .motion .eco-name { transition: transform .6s var(--ease-out); }
    .motion .eco-row:hover .eco-name { transform: translateX(10px); }
    .motion .eco-num { transition: color .3s ease; }
    .motion .eco-row:hover .eco-num { color: var(--accent); }
  }

  /* --- Proses: timeline terisi berurutan --- */
  .motion .step { border-top-color: transparent; }
  .motion .step::after {
    content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
    background: var(--line);
    transform: scaleX(0); transform-origin: left;
    transition: transform .9s var(--ease-io);
    transition-delay: calc(var(--i) * .28s);
  }
  .motion .step::before { transform: scale(0); transition: transform .5s var(--ease-back); transition-delay: calc(var(--i) * .28s + .15s); }
  .motion .step p, .motion .step-num {
    opacity: 0; transform: translateY(12px);
    transition: opacity .6s ease, transform .9s var(--ease-out);
    transition-delay: calc(var(--i) * .28s + .3s);
  }
  .motion .steps.is-in .step::after,
  .motion .steps.is-in .step::before { transform: scale(1); }
  .motion .steps.is-in .step p,
  .motion .steps.is-in .step-num { opacity: 1; transform: none; }
  @media (min-width: 900px) {
    .motion .step::after { background: currentColor; opacity: .9; }
  }
  .motion .steps-note span { display: inline-block; }
  .motion .steps.is-in + .steps-note span { animation: ml-spin 1.2s var(--ease-io) 1.4s; }
  @keyframes ml-spin { to { transform: rotate(-360deg); } }

  /* --- Panah & tombol --- */
  .motion a > span[aria-hidden="true"] { display: inline-block; transition: transform .45s var(--ease-out); }
  .motion a:hover > span[aria-hidden="true"] { transform: translate(3px, -3px); }
  .motion .link-arrow:hover > span[aria-hidden="true"] { transform: translateY(4px); }
  .motion .btn { transition: background-color .2s ease, color .2s ease, transform .5s var(--ease-out); }

  /* --- Progress baca tipis di bawah header --- */
  @supports (animation-timeline: scroll()) {
    .motion .site-header::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
      background: var(--accent);
      transform-origin: left; transform: scaleX(0);
      animation: ml-progress linear both;
      animation-timeline: scroll(root);
    }
    @keyframes ml-progress { to { transform: scaleX(1); } }
  }

  /* --- Wordmark footer: huruf naik, bergelombang saat hover --- */
  .motion .footer-wordmark { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
  .motion .fw-word { display: inline-block; white-space: nowrap; }
  .motion .fw-l {
    display: inline-block; transform: translateY(105%);
    transition: transform .9s var(--ease-out);
    transition-delay: calc(var(--i) * 40ms);
  }
  .motion .footer-wordmark.is-in .fw-l { transform: none; }

  /* --- Ilustrasi hidup --- */
  @keyframes ml-rot { to { transform: rotate(360deg); } }
  .motion .badge-spin { transform-box: view-box; transform-origin: 100px 100px; animation: ml-rot 24s linear infinite; }
  .motion .badge-star { transform-box: fill-box; transform-origin: center; animation: ml-breathe 3.2s ease-in-out infinite; }

  .motion .i-gear { transform-box: fill-box; transform-origin: center; animation: ml-rot 16s linear infinite; }
  .motion .i-gear--rev { animation-direction: reverse; animation-duration: 10.7s; }

  .motion .i-breathe { transform-box: fill-box; transform-origin: center; animation: ml-breathe 3.6s ease-in-out infinite; }
  @keyframes ml-breathe { 50% { transform: scale(1.08) rotate(6deg); } }
  .motion .i-twinkle { transform-box: fill-box; transform-origin: center; animation: ml-twinkle 2.6s ease-in-out var(--d, 0s) infinite; }
  @keyframes ml-twinkle { 50% { transform: scale(.45) rotate(45deg); opacity: .5; } }
  .motion .i-dash { animation: ml-dash 6s linear infinite; }
  @keyframes ml-dash { to { stroke-dashoffset: -140; } }

  .motion .i-frame { animation: ml-frame 3.6s steps(1) calc(var(--f) * .45s) infinite; }
  @keyframes ml-frame { 0%, 22%, 100% { fill: var(--bg); } 8% { fill: var(--accent); } }

  .motion .i-flash { animation: ml-flash 4.2s linear infinite; }
  @keyframes ml-flash { 0%, 86%, 100% { opacity: 1; } 88%, 92% { opacity: .1; } 90%, 94% { opacity: 1; } }
  .motion .i-beam { animation: ml-beam 4.2s linear infinite; }
  @keyframes ml-beam { 0%, 86%, 96%, 100% { opacity: .12; } 90% { opacity: .45; } }

  .motion .i-drop { animation: ml-bob 2.8s ease-in-out infinite; }
  @keyframes ml-bob { 50% { transform: translateY(10px); } }

  @media (hover: hover) {
    .motion .eco-art { transition: transform .6s var(--ease-back); }
    .motion .eco-row:hover .eco-art { transform: rotate(-8deg) scale(1.08); }
  }
  @media (hover: hover) {
    .motion .footer-wordmark.is-in:hover .fw-l {
      transform: translateY(-.1em);
      transition: transform .5s var(--ease-back);
      transition-delay: calc(var(--i) * 30ms);
    }
  }
}

/* ==========================================================================
   Tema Poster — Hitam Kuning
   Menimpa gaya dasar di atas: condensed kapital raksasa, stiker, blok warna,
   pita hazard, baris ekosistem membalik warna saat hover.
   ========================================================================== */

body { font-size: 18px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Header */
.wordmark { text-transform: uppercase; font-stretch: 75%; font-weight: 700; font-size: 22px; letter-spacing: 0; }
.site-nav ul a { text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }

/* Stiker eyebrow */
.eyebrow {
  display: inline-block;
  background: var(--accent); color: var(--accent-ink);
  padding: 7px 12px;
  font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}

/* Hero raksasa */
.hero-title {
  font-size: clamp(58px, 12.5vw, 210px);
  line-height: .84;
  letter-spacing: -.01em;
  font-weight: 700;
  font-stretch: 75%;
  text-transform: uppercase;
  max-width: none;
}
.hero-lede { color: var(--ink); font-size: clamp(18px, 1.8vw, 22px); }
.hero-badge { width: clamp(96px, 15vw, 220px); }

/* Tombol */
.btn {
  background: var(--accent); color: var(--accent-ink);
  text-transform: uppercase; font-weight: 700; letter-spacing: .04em;
  min-height: 52px; padding: 0 24px;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-small { min-height: 44px; }
.link-arrow { text-transform: uppercase; letter-spacing: .04em; text-decoration-color: var(--accent); }
.link-arrow:hover { color: var(--accent); }

/* Judul condensed */
.section-title, .eco-name, .service dt, .tree-name, .footer-wordmark, .step p {
  font-stretch: 75%;
  text-transform: uppercase;
  font-weight: 700;
}
.section-title { font-size: clamp(44px, 7.5vw, 120px); line-height: .88; letter-spacing: 0; max-width: 14ch; }
.statement p { font-size: clamp(30px, 4.4vw, 64px); font-weight: 600; font-stretch: 75%; line-height: 1.02; }
.section-meta .index { color: var(--accent); font-size: 20px; }
.section-meta .index::before { content: "NO."; }

/* Ekosistem */
.eco-list { border-top: 3px solid var(--ink); }
.eco-row { padding-inline: 12px; transition: background-color .25s ease, color .25s ease; }
.eco-name { font-size: clamp(38px, 5.6vw, 88px); line-height: .9; letter-spacing: 0; }
.eco-row:hover { background: var(--accent); color: var(--accent-ink); }
.eco-row:hover .eco-desc,
.eco-row:hover .eco-num,
.eco-row:hover .status,
.eco-row:hover .eco-link,
.eco-row:hover .eco-art { color: var(--accent-ink) !important; }
.eco-row:hover .status--live::before { background: var(--accent-ink); border-color: var(--accent-ink); }
.eco-row:hover .i-pop, .eco-row:hover .i-popline { fill: var(--bg); }
.motion .eco-row::after { display: none; }
.status { border: 1px solid currentColor; padding: 3px 8px; }

/* Blok kuning: Mana Studio */
.section--inset {
  --bg: #ffd400; --ink: #0d0d0d; --ink-2: #3b3300; --line: #0d0d0d;
  --accent: #0d0d0d; --accent-ink: #ffd400;
  background: var(--bg); color: var(--ink);
  border-top-color: transparent;
}
.section--inset .i-pop, .section--inset .i-popline { fill: #f2f2f2; }
.section--inset .btn { background: #0d0d0d; color: #ffd400; }
.section--inset .btn:hover { background: #f2f2f2; color: #0d0d0d; }
.service-list { border-top: 3px solid var(--ink); }
.service dt { font-size: clamp(28px, 3vw, 40px); }

/* Blok terang: Proses */
#cara-kami-membangun {
  --bg: #f2f2f2; --ink: #0d0d0d; --ink-2: #444444; --line: #0d0d0d;
  --accent: #0d0d0d; --accent-ink: #f2f2f2;
  background: var(--bg); color: var(--ink);
}
.step-num {
  font-family: var(--font-sans); font-stretch: 75%; font-weight: 700;
  font-size: clamp(56px, 6vw, 96px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px #0d0d0d;
}
.step p { font-size: clamp(22px, 2.2vw, 30px); line-height: 1; }

/* Tentang */
.tree { border-top: 3px solid var(--ink); }
.tree-current .tree-name { color: var(--accent); }

/* Footer kuning */
.site-footer {
  --bg: #ffd400; --ink: #0d0d0d;
  background: #ffd400; color: #0d0d0d;
}
.footer-wordmark { font-size: clamp(64px, 11vw, 190px); line-height: .82; }
.footer-tag, .footer-label, .footer-note, .footer-legal { color: #0d0d0d; }
.footer-tag { opacity: .8; }
.footer-label, .footer-note, .footer-legal { opacity: .65; }
.footer-legal { border-top-color: currentColor; }
.footer-tag strong { color: #0d0d0d; }
.footer-links a:hover { color: #0d0d0d; text-decoration: underline; text-underline-offset: 5px; }
.site-footer :focus-visible { outline-color: #0d0d0d; }

/* Pita hazard di atas blok kuning & footer */
.section--inset, .site-footer { position: relative; }
.section--inset::before, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: repeating-linear-gradient(-45deg, #0d0d0d 0 14px, #ffd400 14px 28px);
}
