/* =========================================================
   LAPAK Guide — stylesheet
   Konsep: "buku manual strategi" — kertas grid ala blueprint,
   tinta oranye modern, catatan pinggir berwarna stabilo hangat.
   Display lebar (Archivo Expanded), body serif buat baca panjang,
   mono buat angka patch, stat, dan tier.
   ========================================================= */

/* Layout: masthead bergaya sampul manual, konten di kolom 12 grid,
   kartu panduan bergaris tepi tipis tanpa bayangan, band oranye penuh
   untuk tier list. */
:root {
  /* Warna — terang */
  --paper:   #F8F7F5;   /* kertas netral hangat */
  --sheet:   #FFFFFF;   /* lembar kartu */
  --grid:    rgba(194, 65, 12, .07);  /* garis kertas grid */
  --ink:     #141A33;   /* teks utama */
  --mute:    #5A6380;
  --rule:    rgba(20, 26, 51, .14);
  --accent:  #C2410C;   /* aksen oranye utama */
  --accent-ink: #FFFFFF;
  --marker:  #FB923C;   /* stabilo oranye */
  --marker-soft: rgba(249, 115, 22, .24);

  /* Tier (warna semantik) */
  --t-s: #E5484D;
  --t-a: #F2994A;
  --t-b: #E6C229;
  --t-c: #4CAF7A;

  /* Tipografi */
  --f-display: "Archivo", "Arial Black", "Helvetica Neue", sans-serif;
  --f-body:    "Literata", Georgia, "Times New Roman", serif;
  --f-ui:      "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --t-xs:   .75rem;
  --t-sm:   .875rem;
  --t-base: 1.0625rem;
  --t-lg:   1.25rem;
  --t-xl:   clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem);
  --t-2xl:  clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  --t-hero: clamp(2.6rem, 1.2rem + 5.6vw, 5.5rem);

  /* Ruang */
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1200px;
  --sec: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:   #0D1124;
    --sheet:   #141A33;
    --grid:    rgba(255, 138, 61, .08);
    --ink:     #E7EBF8;
    --mute:    #98A2C3;
    --rule:    rgba(231, 235, 248, .14);
    --accent:  #FF8A3D;
    --accent-ink: #1A1205;
    --marker:  #FF9A45;
    --marker-soft: rgba(255, 154, 69, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper:   #0D1124;
  --sheet:   #141A33;
  --grid:    rgba(255, 138, 61, .08);
  --ink:     #E7EBF8;
  --mute:    #98A2C3;
  --rule:    rgba(231, 235, 248, .14);
  --accent:  #FF8A3D;
  --accent-ink: #1A1205;
  --marker:  #FF9A45;
  --marker-soft: rgba(255, 154, 69, .3);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--f-display); font-weight: 800;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  line-height: 1.02; letter-spacing: -.02em; text-wrap: balance;
}
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--marker-soft); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * 16px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* ---------- Elemen kecil ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: "§"; font-size: 1rem; line-height: 1; }
.meta { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--mute); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.mark { /* stabilo */
  background: linear-gradient(transparent 58%, var(--marker-soft) 58%, var(--marker-soft) 92%, transparent 92%);
  padding-inline: .08em;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.3rem;
  font-family: var(--f-ui); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  border-radius: 4px; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.btn:hover { box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.btn:active { box-shadow: none; transform: none; }
.btn--fill { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--fill:hover { box-shadow: 4px 4px 0 var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .5rem; border: 1px solid var(--rule); border-radius: 3px; color: var(--mute);
  white-space: nowrap;
}
.chip--diff[data-d="1"]::before, .chip--diff[data-d="2"]::before, .chip--diff[data-d="3"]::before {
  content: ""; width: 24px; height: 6px;
  background: linear-gradient(90deg, var(--accent) calc(var(--fill) * 1%), var(--rule) 0);
  border-radius: 2px;
}
.chip--diff[data-d="1"] { --fill: 33.3; }
.chip--diff[data-d="2"] { --fill: 66.6; }
.chip--diff[data-d="3"] { --fill: 100; }

/* ---------- Bar patch (atas header) ---------- */
.patchbar { background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: var(--t-xs); }
.patchbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; flex-wrap: wrap; }
.patchbar a { text-decoration: underline; text-underline-offset: 3px; }
.patchbar .live { display: inline-flex; align-items: center; gap: .5rem; }
.patchbar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--marker); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; }
/* Slot logo — sengaja kosong. Taruh <img> di dalam .brand-logo */
.brand-logo { display: flex; align-items: center; width: 140px; height: 42px; flex-shrink: 0; }
.brand-logo img { max-height: 100%; width: auto; }

.nav { display: flex; align-items: center; gap: 1.75rem; font-family: var(--f-ui); }
.nav a:not(.btn) {
  font-weight: 600; font-size: .95rem; color: var(--mute); padding-block: .35rem; position: relative;
  transition: color .18s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.1rem; height: .45rem; z-index: -1; background: var(--marker-soft);
}
.nav .btn { padding: .55rem 1rem; }
.nav .btn--login { border-color: var(--accent); color: var(--accent); }
.nav .btn--login:hover { background: var(--accent); color: var(--accent-ink); }
.btn--join { border-color: var(--accent); color: var(--accent); }
.btn--join:hover { background: var(--accent); color: var(--accent-ink); }

.nav-toggle {
  display: none; background: transparent; border: 1.5px solid var(--ink); color: var(--ink);
  width: 44px; height: 44px; cursor: pointer; padding: 0; border-radius: 4px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1.5px solid var(--ink);
    padding: .5rem var(--gutter-r) 1.25rem var(--gutter);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding-block: .85rem; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 1rem; }
}

/* ---------- Hero (sampul manual) ---------- */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 3vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.hero-copy { display: grid; gap: 1.5rem; }
.hero h1 { font-size: var(--t-hero); line-height: .98; letter-spacing: -.035em; }
.hero h1 .cob { color: var(--accent); }
.hero .lead { font-size: var(--t-lg); color: var(--mute); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-index {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1.5px solid var(--ink); margin-top: .5rem;
}
.hero-index div { padding: 1rem 1rem 0 0; display: grid; gap: .1rem; }
.hero-index div + div { padding-left: 1rem; border-left: 1px solid var(--rule); }
.hero-index b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-index span { font-family: var(--f-ui); font-size: var(--t-sm); color: var(--mute); }

/* Kartu build (contoh isi panduan) */
.build {
  background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 6px;
  box-shadow: 8px 8px 0 var(--accent);
  display: grid; overflow: hidden;
}
.build-img { position: relative; aspect-ratio: 1; max-width: 100%; }
.build-img img { width: 100%; height: 100%; object-fit: cover; }
.build-img .chip { position: absolute; left: .75rem; top: .75rem; background: var(--sheet); color: var(--ink); border-color: var(--ink); }
.build-body { padding: 1.25rem 1.25rem 1.4rem; display: grid; gap: 1rem; }
.build-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.build-head h2 { font-size: 1.35rem; }
.build-head .meta { display: block; margin-top: .35rem; }
.tier-badge {
  flex-shrink: 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 1.4rem;
  background: var(--t-s); color: #fff; border-radius: 4px;
}
.slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; }
.slot {
  aspect-ratio: 1; max-width: 100%; border: 1.5px dashed var(--rule); border-radius: 4px;
  display: grid; place-items: center; font-family: var(--f-mono); font-size: .62rem; text-align: center; line-height: 1.2;
  color: var(--mute); padding: .2rem;
}
.slot.is-core { border-style: solid; border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.build-stats { display: grid; gap: .45rem; }
.bstat { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 2.5rem; gap: .6rem; align-items: center; font-family: var(--f-ui); font-size: var(--t-sm); }
.bstat .bar { height: 8px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.bstat .bar i { display: block; height: 100%; background: var(--accent); }
.bstat .v { font-family: var(--f-mono); font-size: var(--t-xs); text-align: right; font-variant-numeric: tabular-nums; }
.build-note {
  font-family: var(--f-body); font-style: italic; font-size: var(--t-sm); color: var(--ink);
  border-left: 3px solid var(--marker); padding-left: .75rem;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .build { box-shadow: 6px 6px 0 var(--accent); margin-right: 6px; } }
@media (max-width: 480px) { .hero-index { grid-template-columns: 1fr 1fr 1fr; } .hero-index div + div { padding-left: .6rem; } }

/* ---------- Pilih game (ticker daftar isi) ---------- */
.gamebar { border-block: 1.5px solid var(--ink); background: var(--sheet); }
.gamebar .wrap { display: flex; gap: .5rem; align-items: center; overflow-x: auto; padding-block: .85rem; scrollbar-width: none; }
.gamebar .wrap::-webkit-scrollbar { display: none; }
.gamebar .meta { flex-shrink: 0; margin-right: .5rem; }
.gamebar a {
  flex-shrink: 0; font-family: var(--f-ui); font-weight: 600; font-size: var(--t-sm);
  padding: .4rem .85rem; border: 1px solid var(--rule); border-radius: 999px; transition: border-color .18s, background-color .18s, color .18s;
}
.gamebar a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ---------- Section umum ---------- */
.section { padding-block: var(--sec); }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 3rem; align-items: end;
  margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  padding-bottom: 1.25rem; border-bottom: 1.5px solid var(--ink);
}
.sec-head > div { display: grid; gap: .7rem; }
.sec-head h2 { font-size: var(--t-2xl); }
.sec-head p { color: var(--mute); max-width: 46ch; font-size: var(--t-base); }
.sec-head .link { font-family: var(--f-ui); font-weight: 700; font-size: var(--t-sm); white-space: nowrap; border-bottom: 2px solid var(--marker); padding-bottom: .1rem; }
@media (max-width: 720px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Panduan unggulan ---------- */
.guides { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
.guide {
  grid-column: span 4;
  display: flex; flex-direction: column;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.guide:hover { border-color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.guide figure { aspect-ratio: 1; overflow: hidden; max-width: 100%; border-bottom: 1px solid var(--rule); }
.guide img { width: 100%; height: 100%; object-fit: cover; }
.guide-body { display: grid; gap: .7rem; padding: 1.15rem 1.25rem 1.3rem; flex: 1; align-content: start; }
.guide-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.guide h3 { font-size: 1.2rem; line-height: 1.15; }
.guide p { color: var(--mute); font-size: .95rem; }
.guide-foot {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  margin-top: auto; padding: .8rem 1.25rem; border-top: 1px dashed var(--rule);
}
.guide--lead { grid-column: span 8; flex-direction: column; }
.guide--lead figure { aspect-ratio: 1; flex: none; border-bottom: 1px solid var(--rule); border-right: 0; min-height: 0; }
.guide--lead .guide-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.guide--lead h3 { font-size: var(--t-xl); }
@media (max-width: 960px) {
  .guide { grid-column: span 6; }
  .guide--lead { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .guide, .guide--lead { grid-column: 1 / -1; }
  .guide--lead { flex-direction: column; }
  .guide--lead figure { aspect-ratio: 1; border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- Tier list (band oranye) ---------- */
.band { background: var(--accent); color: var(--accent-ink); position: relative; }
.band::before { /* grid putih tipis */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.band .wrap { position: relative; }
.band .sec-head { border-color: currentColor; }
.band .sec-head p, .band .kicker { color: inherit; opacity: .85; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tabs button {
  font-family: var(--f-ui); font-weight: 700; font-size: var(--t-sm);
  padding: .55rem 1rem; border-radius: 4px; cursor: pointer;
  background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: .75;
  transition: opacity .18s, background-color .18s, color .18s;
}
.tabs button:hover { opacity: 1; }
.tabs button[aria-selected="true"] { opacity: 1; background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.tierlist { display: grid; gap: .5rem; }
.tier-row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr);
  background: var(--sheet); color: var(--ink); border-radius: 4px; overflow: hidden;
}
.tier-row .t {
  display: grid; place-items: center;
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 1.8rem; color: #fff;
}
.tier-row[data-t="S"] .t { background: var(--t-s); }
.tier-row[data-t="A"] .t { background: var(--t-a); }
.tier-row[data-t="B"] .t { background: var(--t-b); color: #1a1a1a; }
.tier-row[data-t="C"] .t { background: var(--t-c); }
.tier-row ul { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem; }
.tier-row li {
  display: grid; gap: .05rem; padding: .45rem .75rem; border: 1px solid var(--rule); border-radius: 4px; min-width: 7.5rem;
}
.tier-row li b { font-family: var(--f-ui); font-size: .95rem; font-weight: 700; }
.tier-row li span { font-family: var(--f-mono); font-size: .68rem; color: var(--mute); text-transform: uppercase; letter-spacing: .05em; }
.tier-row li.up span::after { content: " ▲"; color: var(--t-c); }
.tier-row li.down span::after { content: " ▼"; color: var(--t-s); }
.tier-foot { margin-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-family: var(--f-mono); font-size: var(--t-xs); opacity: .85; }
@media (max-width: 560px) { .tier-row { grid-template-columns: 3rem minmax(0, 1fr); } .tier-row li { min-width: 0; flex: 1 1 calc(50% - .5rem); } }

/* ---------- Indeks game + patch notes ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.toc { counter-reset: none; }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: baseline;
  padding-block: 1rem; transition: padding-left .2s, color .2s;
}
.toc a:hover { padding-left: .5rem; color: var(--accent); }
.toc h3 { font-size: 1.15rem; }
.toc .dots { display: none; }
.toc .meta { white-space: nowrap; }
.toc .n { font-family: var(--f-mono); font-size: var(--t-sm); font-variant-numeric: tabular-nums; min-width: 2.5rem; text-align: right; }

.patches { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 6px; padding: 1.5rem; display: grid; gap: 1rem; }
.patches h3 { font-size: 1.25rem; }
.patch { display: grid; gap: .3rem; padding-top: 1rem; border-top: 1px dashed var(--rule); }
.patch .meta b { color: var(--accent); font-weight: 500; }
.patch p { font-size: .95rem; }
.patch p .mark { font-weight: 600; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Kutipan + gambar ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split-media { position: relative; aspect-ratio: 1; max-width: 100%; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; border: 1.5px solid var(--ink); border-radius: 6px; }
.split-media .note {
  position: absolute; right: -8px; bottom: -18px; max-width: 15rem;
  background: var(--marker); color: #1a1205; padding: .75rem 1rem; border-radius: 3px;
  font-family: var(--f-body); font-style: italic; font-size: var(--t-sm); line-height: 1.4;
  transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--ink);
}
.split-copy { display: grid; gap: 1.1rem; }
.split-copy h2 { font-size: var(--t-2xl); }
.split-copy p { color: var(--mute); max-width: 52ch; }
.ticks { display: grid; gap: .65rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .6rem; font-family: var(--f-ui); font-size: .98rem; }
.ticks li::before { content: "→"; color: var(--accent); font-weight: 700; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media .note { right: 8px; } }

/* ---------- Newsletter ---------- */
.subscribe {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: end;
  background: var(--ink); color: var(--paper); border-radius: 8px;
  padding: clamp(2rem, 1rem + 4vw, 4rem);
}
.subscribe h2 { font-size: clamp(2.1rem, 1.3rem + 3.5vw, 4rem); letter-spacing: -.035em; }
.subscribe h2 .m { color: var(--marker); }
.subscribe p { opacity: .75; max-width: 42ch; margin-top: 1rem; }
.sub-form { display: grid; gap: .6rem; }
.sub-form label { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.sub-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.sub-row input {
  flex: 1 1 14rem; min-width: 0; padding: .85rem 1rem; border-radius: 4px;
  background: transparent; border: 1.5px solid color-mix(in srgb, var(--paper) 40%, transparent); color: var(--paper);
  font-family: var(--f-ui);
}
.sub-row input::placeholder { color: var(--paper); opacity: .5; }
.sub-row input:focus { outline: none; border-color: var(--marker); }
.sub-row .btn { border-color: var(--marker); background: var(--marker); color: #1a1205; }
.sub-row .btn:hover { box-shadow: 4px 4px 0 var(--paper); }
.sub-msg { font-family: var(--f-ui); font-size: var(--t-sm); color: var(--marker); min-height: 1.4em; }
@media (max-width: 860px) { .subscribe { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: 3.5rem 2rem; border-top: 1.5px solid var(--ink); background: var(--paper); font-family: var(--f-ui); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.foot-grid h4 { font-family: var(--f-mono); font-variation-settings: normal; font-weight: 500; font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 1rem; }
.foot-grid ul { display: grid; gap: .5rem; }
.foot-grid a { font-weight: 500; transition: color .18s; }
.foot-grid a:hover { color: var(--accent); }
.foot-brand { display: grid; gap: 1rem; align-content: start; }
.foot-brand p { color: var(--mute); max-width: 36ch; font-size: var(--t-sm); font-family: var(--f-body); }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: var(--t-xs); color: var(--mute);
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Dashboard akses tetap ---------- */
body { padding-bottom: 5.25rem; }
.action-dock {
  position: fixed; inset: auto 0 0; z-index: 70;
  padding: .55rem var(--gutter-r) calc(.55rem + env(safe-area-inset-bottom, 0px)) var(--gutter);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-top: 1px solid var(--rule);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.action-dock-inner {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem;
  width: 100%; max-width: var(--maxw); margin-inline: auto;
}
.action-dock a {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  padding: .55rem .5rem; border: 1px solid var(--accent); border-radius: 4px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--f-ui); font-size: .9rem; font-weight: 700; text-align: center;
  transition: background-color .18s, color .18s, transform .18s;
}
.action-dock a:hover { background: var(--accent-ink); color: var(--accent); transform: translateY(-2px); }
@media (max-width: 420px) {
  .action-dock a { font-size: .78rem; padding-inline: .25rem; }
}

/* =========================================================
   HALAMAN TENTANG
   ========================================================= */
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.crumb { display: flex; gap: .5rem; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--mute); margin-bottom: 1.75rem; letter-spacing: .04em; }
.crumb a:hover { color: var(--ink); }
.crumb [aria-current] { color: var(--accent); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 4rem; align-items: end; }
.page-hero h1 { font-size: var(--t-hero); line-height: .98; letter-spacing: -.035em; }
.page-hero h1 .cob { color: var(--accent); }
.page-hero .lead { font-size: var(--t-lg); max-width: 40ch; }
.page-hero .lead + p { color: var(--mute); margin-top: 1rem; max-width: 46ch; }
.cover { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); position: relative; aspect-ratio: 1; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; border: 1.5px solid var(--ink); border-radius: 6px; }
.cover figcaption { margin-top: .6rem; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* Arti nama (entri kamus) */
.entry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem 4.5rem; align-items: start; }
.dict { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 6px; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); display: grid; gap: .9rem; box-shadow: 6px 6px 0 var(--accent); }
.dict .word { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(2.6rem, 2rem + 2.5vw, 3.75rem); line-height: 1; letter-spacing: -.03em; }
.dict .pron { font-family: var(--f-mono); color: var(--accent); font-size: var(--t-sm); }
.dict ol { list-style: decimal; padding-left: 1.25rem; display: grid; gap: .55rem; color: var(--mute); }
.dict ol li::marker { color: var(--accent); font-family: var(--f-mono); }
.dict ol li em { color: var(--ink); font-style: normal; font-weight: 600; }
.dict .ex { font-size: var(--t-sm); font-style: italic; border-top: 1px dashed var(--rule); padding-top: .9rem; }
.entry-copy { display: grid; gap: 1.1rem; }
.entry-copy h2 { font-size: var(--t-2xl); }
.entry-copy p { color: var(--mute); max-width: 58ch; }
.entry-copy p strong { color: var(--ink); }
@media (max-width: 860px) { .entry { grid-template-columns: 1fr; } .dict { margin-right: 6px; } }

/* Proses menulis (urutan nyata) */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--ink); border-radius: 6px; background: var(--sheet); overflow: hidden; }
.proc { padding: 1.5rem; display: grid; gap: .6rem; align-content: start; }
.proc + .proc { border-left: 1px solid var(--rule); }
.proc .step { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.proc h3 { font-size: 1.2rem; }
.proc p { color: var(--mute); font-size: .95rem; }
.proc .meta { margin-top: .25rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .proc:nth-child(3) { border-left: 0; }
  .proc:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .proc + .proc { border-left: 0; border-top: 1px solid var(--rule); }
}

/* Standar redaksi */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.rule { display: grid; gap: .7rem; align-content: start; padding-top: 1.1rem; border-top: 3px solid var(--ink); }
.rule h3 { font-size: 1.3rem; }
.rule p { color: var(--mute); }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } }

/* Penulis */
.writers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.writer { background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: 1.25rem; display: grid; gap: .75rem; align-content: start; }
.writer .ini {
  width: 3.25rem; height: 3.25rem; border-radius: 4px; display: grid; place-items: center;
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 1.15rem;
  background: var(--accent); color: var(--accent-ink);
}
.writer b { font-family: var(--f-ui); font-size: 1.05rem; display: block; }
.writer .role { color: var(--mute); font-size: var(--t-sm); font-family: var(--f-ui); }
.writer .games { display: flex; flex-wrap: wrap; gap: .35rem; }
.writer .rank { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink); border-top: 1px dashed var(--rule); padding-top: .65rem; }
@media (max-width: 960px) { .writers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .writers { grid-template-columns: 1fr; } }

/* Glosarium */
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.glossary div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.glossary dt { font-family: var(--f-mono); font-weight: 500; color: var(--accent); }
.glossary dd { color: var(--mute); font-size: .97rem; }
@media (max-width: 760px) { .glossary { grid-template-columns: 1fr; } .glossary div { grid-template-columns: 6.5rem minmax(0, 1fr); } }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.gallery figure { position: relative; max-width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border: 1.5px solid var(--ink); border-radius: 6px; }
.gallery figcaption {
  position: absolute; left: .75rem; bottom: .75rem;
  font-family: var(--f-mono); font-size: var(--t-xs); background: var(--sheet); color: var(--ink);
  padding: .3rem .6rem; border: 1px solid var(--ink); border-radius: 3px;
}
.g1, .g2 { grid-column: span 6; aspect-ratio: 1; }
@media (max-width: 760px) { .gallery figure { grid-column: 1 / -1; aspect-ratio: 1; } }

/* ---------- Animasi ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .rise-2 { animation-delay: .1s; }
  .rise-3 { animation-delay: .2s; }
  @keyframes rise { from { transform: translateY(16px); opacity: .001; } to { transform: none; opacity: 1; } }
  .bstat .bar i { animation: grow 1.1s .4s cubic-bezier(.2, .7, .2, 1) both; transform-origin: left; }
  @keyframes grow { from { transform: scaleX(.02); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Tombol garis di atas latar gelap (.subscribe) */
.subscribe .btn--inv { border-color: var(--paper); color: var(--paper); }
.subscribe .btn--inv:hover { box-shadow: 4px 4px 0 var(--marker); }