/* ==========================================================================
   GridLine Nusantara — Company Profile (tahap awal, HTML statis)
   Token warna OKLCH. Hitam/putih = identitas. Biru/hijau = aksen UI saja.
   ========================================================================== */

:root {
  /* Dasar */
  --background: oklch(0.185 0.006 255);
  --foreground: oklch(0.96 0.004 90);
  --surface: oklch(0.222 0.007 255);
  --surface-2: oklch(0.262 0.008 255);
  --muted: oklch(0.75 0.01 255);
  --border: oklch(0.34 0.008 255);

  /* Bidang terang (area logo & variasi) */
  --paper: oklch(0.975 0.004 90);
  --paper-2: oklch(0.94 0.005 90);
  --ink: oklch(0.2 0.006 255);
  --ink-muted: oklch(0.44 0.01 255);
  --border-light: oklch(0.86 0.006 90);

  /* Aksen */
  --primary: oklch(0.52 0.17 254);
  --primary-hover: oklch(0.46 0.17 255);
  --primary-soft: oklch(0.72 0.12 250);
  --accent: oklch(0.72 0.14 158);
  --danger: oklch(0.7 0.16 28);

  --tick: oklch(0.96 0.004 90 / 0.35);
  --grid-line: oklch(1 0 0 / 0.045);

  --radius: 4px;
  --header-h: 96px;
  --container: 1240px;
  /* Jarak tepi untuk area full lebar (header, hero, judul halaman) */
  --edge: clamp(20px, 3.5vw, 64px);

  --font-serif: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Oxanium", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.22;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
/* Full lebar layar: dipakai header, hero, dan judul halaman */
.container--full { max-width: none; padding-inline: var(--edge); }

.visually-hidden {
  position: absolute !important; 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: 16px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Meta teks (label, eyebrow)
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.on-paper .eyebrow { color: var(--ink-muted); }

.sheet-no { font-variant-numeric: tabular-nums; color: var(--primary-soft); }
.on-paper .sheet-no { color: var(--primary); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  padding: 3px 8px; border-radius: 2px; line-height: 1.4;
  border: 1px solid var(--border); color: var(--muted);
}
.badge--demo { border-style: dashed; }
.badge--draft { border-color: oklch(0.72 0.14 158 / 0.55); color: var(--accent); }
.on-paper .badge { border-color: var(--border-light); color: var(--ink-muted); }
.on-paper .badge--draft { color: oklch(0.45 0.12 158); border-color: oklch(0.55 0.12 158 / 0.5); }

/* --------------------------------------------------------------------------
   Tombol
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost { border-color: var(--border); color: var(--foreground); background: transparent; }
.btn--ghost:hover { border-color: var(--foreground); }
.on-paper .btn--ghost { border-color: var(--border-light); color: var(--ink); }
.on-paper .btn--ghost:hover { border-color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 500; text-decoration: none; color: var(--primary-soft);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.on-paper .link-arrow { color: var(--primary); }

/* --------------------------------------------------------------------------
   Header (latar terang agar logo asli terbaca)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--border-light);
}
.site-header__inner { height: calc(var(--header-h) - 1px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand-logo img { height: 56px; width: auto; aspect-ratio: var(--logo-ratio, 575 / 151); object-fit: contain; }
.brand-logo .brand-logo__mark { display: none; height: 44px; aspect-ratio: 1; }

.nav-list { display: flex; gap: clamp(4px, 0.8vw, 16px); list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; height: 52px; padding: 0 16px;
  font-size: 0.9375rem; letter-spacing: 0.14em; font-weight: 500; text-decoration: none; color: var(--ink-muted);
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list li:last-child .nav-link { padding-right: 0; }
.nav-list li:last-child .nav-link::after { right: 0; }
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border-light); border-radius: var(--radius);
  background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Layar laptop kecil: menu dirapatkan agar tetap satu baris */
@media (max-width: 1180px) {
  .nav-link { padding: 0 10px; font-size: 0.8125rem; }
  .nav-link::after { left: 10px; right: 10px; }
  .brand-logo img { height: 48px; }
}
@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .brand-logo img { height: 44px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--border-light);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; padding: 8px var(--edge) 20px; }
  .nav-link { width: 100%; height: 52px; padding: 0; font-size: 0.875rem; border-bottom: 1px solid var(--border-light); }
  .nav-link::after { left: 0; right: auto; width: 32px; bottom: -1px; }
}
@media (max-width: 600px) { :root { --header-h: 68px; } .brand-logo img.brand-logo__full { height: 38px; } }
@media (max-width: 340px) {
  /* Wordmark terlalu kecil: gunakan monogram turunan */
  .brand-logo .brand-logo__full { display: none; }
  .brand-logo .brand-logo__mark { display: block; }
}

/* --------------------------------------------------------------------------
   Seksi
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--surface { background: var(--surface); }
.on-paper { background: var(--paper); color: var(--ink); }
.section + .section:not(.on-paper):not(.section--surface) { border-top: 1px solid var(--border); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head__title { display: grid; gap: 16px; max-width: 720px; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--muted); max-width: 620px; }
.on-paper .section-head p { color: var(--ink-muted); }
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; } }

/* Penggaris — motif tanda tangan (merujuk filosofi “Penggaris” & bentuk L) */
.ruler {
  height: 14px;
  background:
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 8px) bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 40px) bottom / 100% 12px no-repeat;
  border-bottom: 1px solid var(--tick);
}
.on-paper .ruler { --tick: oklch(0.2 0.006 255 / 0.32); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
/* Full lebar + setinggi layar (dikurangi header), tanpa sisa kosong kanan-kiri */
.hero { position: relative; }
.hero__wrap {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: stretch;
  padding-block: clamp(32px, 4vw, 56px);
}
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: stretch; }
.hero__copy { display: grid; gap: clamp(24px, 2.4vw, 36px); align-content: center; }
.hero__company { font-size: clamp(0.8125rem, 0.9vw, 0.9375rem); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-size: clamp(2.25rem, min(5.2vw, 8.2vh), 5.5rem); line-height: 1.08; letter-spacing: -0.01em; }
.hero h1 span { display: block; }
.hero h1 em { font-style: italic; color: var(--primary-soft); }
.hero__lead { font-size: clamp(1.0625rem, 1.2vw, 1.25rem); color: var(--muted); max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { min-height: 54px; padding-inline: 26px; font-size: 1rem; }
/* Lembar visual mengisi tinggi hero */
.hero .sheet { aspect-ratio: auto; min-height: 420px; height: 100%; }
/* Laptop dengan layar pendek: rapatkan agar hero tetap pas satu layar */
@media (min-width: 901px) and (max-height: 820px) {
  .hero__wrap { padding-block: 24px; }
  .hero__copy { gap: 18px; }
  .hero h1 { font-size: clamp(2.25rem, min(4.6vw, 7.6vh), 5rem); }
  .hero__lead { font-size: 1rem; line-height: 1.55; }
  .hero__actions .btn { min-height: 48px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
  .hero__wrap { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero .sheet { aspect-ratio: 5 / 4; min-height: 0; height: auto; }
}

/* Lembar gambar (placeholder visual engineering) */
.sheet {
  position: relative;
  display: grid; grid-template-columns: 28px 1fr; grid-template-rows: 28px 1fr;
  border: 1px solid var(--border); background: var(--surface);
  aspect-ratio: 5 / 4;
}
.sheet__corner { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.sheet__ruler-x {
  border-bottom: 1px solid var(--border);
  background:
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 8px) bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 40px) bottom / 100% 14px no-repeat;
}
.sheet__ruler-y {
  border-right: 1px solid var(--border);
  background:
    repeating-linear-gradient(180deg, var(--tick) 0 1px, transparent 1px 8px) right / 6px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--tick) 0 1px, transparent 1px 40px) right / 14px 100% no-repeat;
}
.sheet__field {
  position: relative; overflow: hidden;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(oklch(1 0 0 / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.08) 1px, transparent 1px);
  background-size: 8px 8px, 8px 8px, 40px 40px, 40px 40px;
}
.sheet__field img { width: 100%; height: 100%; object-fit: cover; }
.splash {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: #1a1f29;
  opacity: 1; transition: opacity .45s var(--ease, ease);
}
.splash--out { opacity: 0; pointer-events: none; }
.splash__stage {
  width: min(78vw, 1080px);
  max-height: 60vh;
}
.splash__stage svg { width: 100%; height: auto; max-height: 60vh; }
.splash__skip {
  position: absolute; right: 24px; bottom: 24px;
  padding: 10px 18px;
  font: inherit; font-size: 0.8125rem; letter-spacing: 0.06em;
  color: oklch(0.96 0.004 90 / 0.75);
  background: transparent; border: 1px solid oklch(0.96 0.004 90 / 0.25);
  cursor: pointer;
}
.splash__skip:hover { color: #fff; border-color: oklch(0.96 0.004 90 / 0.5); }
.splash-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .splash { transition: none; }
}
.sheet__cross {
  position: absolute; left: 50%; top: 44%; width: 120px; height: 120px; transform: translate(-50%, -50%);
}
.sheet__cross::before, .sheet__cross::after { content: ""; position: absolute; background: var(--primary-soft); opacity: .7; }
.sheet__cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.sheet__cross::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.sheet__cross span { position: absolute; inset: 30px; border: 1px solid var(--primary-soft); border-radius: 50%; opacity: .7; }
.sheet__note {
  position: absolute; left: 20px; right: 20px; top: calc(44% + 76px);
  text-align: center; font-size: 0.8125rem; color: var(--muted);
}
.sheet__note strong { display: block; color: var(--foreground); font-weight: 500; margin-bottom: 4px; }
.sheet__block {
  position: absolute; right: 0; top: 0;
  display: grid; grid-template-columns: auto auto; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--background); border-bottom: 1px solid var(--border); border-left: 1px solid var(--border);
}
.sheet__block div { padding: 6px 12px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--muted); }
.sheet__block div:nth-child(2n) { border-right: 0; color: var(--foreground); }
.sheet__block div:nth-last-child(-n+2) { border-bottom: 0; }

/* --------------------------------------------------------------------------
   Bento: pilar layanan
   -------------------------------------------------------------------------- */
.bento-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 16px; }
.bento-pillars > :first-child { grid-row: span 2; }
@media (max-width: 820px) { .bento-pillars { grid-template-columns: 1fr; } .bento-pillars > :first-child { grid-row: auto; } }

.card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: clamp(24px, 3vw, 36px); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--background); text-decoration: none;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.section--surface .card { background: var(--background); }
a.card:hover, button.card:hover { border-color: var(--muted); }
.on-paper .card { background: #fff; border-color: var(--border-light); }
.on-paper a.card:hover { border-color: var(--ink-muted); }

.pillar-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pillar-card__num { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pillar-card h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.pillar-card p { color: var(--muted); }
.pillar-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9375rem; }
.pillar-card li { display: flex; gap: 12px; align-items: baseline; }
.pillar-card li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--accent); transform: translateY(-2px); }
.pillar-card .link-arrow { margin-top: auto; padding-top: 8px; }
.pillar-card--lead { justify-content: flex-start; }
.pillar-card--lead h3 { font-size: clamp(1.625rem, 2.8vw, 2.125rem); }

.icon-box {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; flex: none;
  border: 1px solid var(--border); border-radius: var(--radius); color: var(--foreground);
}
.icon-box svg { width: 26px; height: 26px; }
.on-paper .icon-box { border-color: var(--border-light); color: var(--ink); }

/* --------------------------------------------------------------------------
   Profil singkat (latar terang)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.split__body { display: grid; gap: 20px; color: var(--ink-muted); font-size: 1.0625rem; }
.split__body .lead { color: var(--ink); font-size: 1.1875rem; font-family: var(--font-serif); line-height: 1.6; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.char-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; }
.char-list li { font-size: 0.8125rem; padding: 6px 12px; border: 1px solid var(--border-light); border-radius: 2px; color: var(--ink); }

/* --------------------------------------------------------------------------
   Nilai & pendekatan
   -------------------------------------------------------------------------- */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.values-grid > div { padding: 28px 24px 8px 0; border-right: 1px solid var(--border); display: grid; gap: 12px; align-content: start; }
.values-grid > div + div { padding-left: 24px; }
.values-grid > div:last-child { border-right: 0; }
.values-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.values-grid--3 > div:nth-child(3n) { border-right: 0; }
.values-grid--3 > div:nth-child(3n+1) { padding-left: 0; }
.values-grid .num { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--primary-soft); font-variant-numeric: tabular-nums; }
.values-grid h3 { font-size: 1.1875rem; }
.values-grid p { color: var(--muted); font-size: 0.9375rem; }
.on-paper .values-grid, .on-paper .values-grid > div { border-color: var(--border-light); }
.on-paper .values-grid p { color: var(--ink-muted); }
.on-paper .values-grid .num { color: var(--primary); }
@media (max-width: 900px) {
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-grid > div { padding: 24px 20px 24px 0 !important; border-bottom: 1px solid var(--border); }
  .values-grid > div:nth-child(2n) { border-right: 0; padding-left: 20px !important; }
}
@media (max-width: 540px) {
  .values-grid { grid-template-columns: 1fr; }
  .values-grid > div { border-right: 0; padding-left: 0 !important; }
}

/* Angka capaian (tampil hanya jika data asli tersedia) */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stats div { border-top: 1px solid var(--border); padding-top: 16px; }
.stats strong { display: block; font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
.stats span { color: var(--muted); font-size: 0.875rem; }

/* --------------------------------------------------------------------------
   Bento portofolio
   -------------------------------------------------------------------------- */
.bento-work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); grid-auto-flow: dense; gap: 16px; }
.bento-work .is-wide { grid-column: span 2; }
.bento-work .is-tall { grid-row: span 2; }
@media (max-width: 900px) { .bento-work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .bento-work { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-work .is-wide, .bento-work .is-tall { grid-column: auto; grid-row: auto; }
}

.work-card {
  display: grid; grid-template-rows: minmax(140px, 1fr) auto; padding: 0; overflow: hidden; text-align: left;
  width: 100%; height: 100%; cursor: pointer; font: inherit; color: inherit;
}
.work-card__media { position: relative; border-bottom: 1px solid var(--border); min-height: 140px; }
.work-card__body { padding: 20px 22px 22px; display: grid; gap: 8px; }
.work-card__meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.work-card h3 { font-size: 1.1875rem; }
.work-card p { color: var(--muted); font-size: 0.9375rem; }
.work-card:hover .placeholder-media { background-color: var(--surface-2); }

/* Placeholder gambar yang rapi & mudah diganti */
.placeholder-media {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 14px 16px;
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 16px 16px;
  font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em;
  transition: background-color .25s var(--ease);
}
.placeholder-media::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border: 1px solid oklch(1 0 0 / 0.22);
  background:
    linear-gradient(oklch(1 0 0 / 0.22), oklch(1 0 0 / 0.22)) center / 1px 100% no-repeat,
    linear-gradient(oklch(1 0 0 / 0.22), oklch(1 0 0 / 0.22)) center / 100% 1px no-repeat;
}
.on-paper .placeholder-media {
  background-color: var(--paper-2); color: var(--ink-muted);
  background-image:
    linear-gradient(oklch(0 0 0 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0 0 0 / 0.05) 1px, transparent 1px);
}
.on-paper .placeholder-media::before { border-color: oklch(0 0 0 / 0.2); background:
    linear-gradient(oklch(0 0 0 / 0.2), oklch(0 0 0 / 0.2)) center / 1px 100% no-repeat,
    linear-gradient(oklch(0 0 0 / 0.2), oklch(0 0 0 / 0.2)) center / 100% 1px no-repeat; }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  min-height: 40px; padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  background: transparent; cursor: pointer; font-size: 0.875rem; color: var(--muted);
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.filter-btn:hover { color: var(--foreground); border-color: var(--muted); }
.filter-btn[aria-pressed="true"] { background: var(--foreground); color: var(--background); border-color: var(--foreground); }
.on-paper .filter-btn { border-color: var(--border-light); color: var(--ink-muted); }
.on-paper .filter-btn:hover { color: var(--ink); border-color: var(--ink-muted); }
.on-paper .filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.result-count { font-size: 0.8125rem; color: var(--muted); margin: -12px 0 20px; }
.on-paper .result-count { color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   Publikasi
   -------------------------------------------------------------------------- */
.pub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .pub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pub-grid { grid-template-columns: 1fr; } }

.pub-card { gap: 14px; }
.pub-card__cover { position: relative; aspect-ratio: 16 / 9; margin: -1px -1px 4px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.pub-card .pub-card__cover { margin: calc(-1 * clamp(24px, 3vw, 36px)) calc(-1 * clamp(24px, 3vw, 36px)) 4px; }
.pub-card h3 { font-size: 1.1875rem; }
.pub-card p { color: var(--muted); font-size: 0.9375rem; }
.on-paper .pub-card p { color: var(--ink-muted); }
.pub-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 0.8125rem; color: var(--muted); }
.on-paper .pub-meta { color: var(--ink-muted); }
.pub-card .link-arrow { margin-top: auto; }

.pub-featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 0; overflow: hidden; margin-bottom: 16px; }
.pub-featured__media { position: relative; min-height: 280px; border-right: 1px solid var(--border-light); }
.pub-featured__body { padding: clamp(24px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.pub-featured h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.pub-featured p { color: var(--ink-muted); }
@media (max-width: 820px) {
  .pub-featured { grid-template-columns: 1fr; }
  .pub-featured__media { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--border-light); }
}

.empty-state {
  border: 1px dashed var(--border); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted);
  display: grid; gap: 8px; justify-items: center;
}
.empty-state strong { color: var(--foreground); font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; }
.on-paper .empty-state { border-color: var(--border-light); color: var(--ink-muted); }
.on-paper .empty-state strong { color: var(--ink); }

/* Detail publikasi */
.article { max-width: 760px; }
.article__back { margin-bottom: 32px; }
.article__back svg { transform: rotate(180deg); }
.article__back:hover svg { transform: rotate(180deg) translateX(3px); }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 20px; }
.article__meta { padding-block: 16px; border-block: 1px solid var(--border-light); margin-bottom: 36px; }
.article__body { display: grid; gap: 20px; font-size: 1.0625rem; color: var(--ink); line-height: 1.8; }
.article__body h2 { font-size: 1.5rem; margin-top: 16px; }
.article__aside { margin-top: 48px; padding: 24px; border: 1px solid var(--border-light); border-radius: var(--radius); background: #fff; display: grid; gap: 8px; }
.article__aside h2 { font-size: 1.125rem; }
.article__aside p { color: var(--ink-muted); font-size: 0.9375rem; }

/* --------------------------------------------------------------------------
   Page head (halaman dalam) — bergaya kepala lembar gambar teknik
   -------------------------------------------------------------------------- */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--border); }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.page-head__title { display: grid; gap: 20px; }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.01em; }
.page-head p { color: var(--muted); max-width: 640px; font-size: 1.0625rem; }
.title-block {
  display: grid; grid-template-columns: auto auto; border: 1px solid var(--border);
  font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; min-width: 260px;
}
.title-block div { padding: 8px 14px; border-bottom: 1px solid var(--border); color: var(--muted); }
.title-block div:nth-child(2n+1) { border-right: 1px solid var(--border); }
.title-block div:nth-child(2n) { color: var(--foreground); }
.title-block div:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 820px) { .page-head__grid { grid-template-columns: 1fr; } .title-block { justify-self: start; } }

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */
.identity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.identity__logo {
  display: grid; place-items: center; padding: clamp(32px, 5vw, 64px);
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
}
.identity__logo img { width: 100%; max-width: 420px; height: auto; object-fit: contain; }
.identity__list { display: grid; gap: 16px; }
.identity__item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px; }
.identity__item h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.identity__item p { color: var(--ink-muted); font-size: 0.9375rem; }
@media (max-width: 900px) { .identity { grid-template-columns: 1fr; } }

.vm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.vm .card h3 { font-size: 1.5rem; }
.vm blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.55; }
.vm ol { margin: 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 14px; }
.vm ol li { counter-increment: m; display: grid; grid-template-columns: 32px 1fr; color: var(--muted); }
.vm ol li::before { content: counter(m, decimal-leading-zero); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--primary-soft); padding-top: 4px; }
@media (max-width: 820px) { .vm { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { list-style: none; padding: 24px 24px 0 0; border-top: 2px solid var(--border); position: relative; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--primary-soft); }
.steps h3 { font-size: 1.125rem; }
.steps p { color: var(--muted); font-size: 0.9375rem; }
.steps .num { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--muted); }
.steps-wrap { margin: 0; padding: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   SERVICES
   -------------------------------------------------------------------------- */
.pillar-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pillar-section { padding-block: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--border); }
.pillar-section:nth-of-type(even) { background: var(--surface); }
.pillar-section:target, .pillar-section.is-target { outline: none; }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.pillar__intro { display: grid; gap: 24px; align-content: start; }
.pillar__intro h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.pillar__intro p { color: var(--muted); font-size: 1.0625rem; }
.pillar__media { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pillar__lists { display: grid; gap: 16px; align-content: start; }
.pillar__lists .card { gap: 14px; }
.pillar__lists h3 { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-sans); font-weight: 500; color: var(--muted); }
.pillar__lists ul { list-style: none; margin: 0; padding: 0; display: grid; }
.pillar__lists li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--border); }
.pillar__lists li:last-child { border-bottom: 0; padding-bottom: 0; }
.pillar__lists li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--accent); transform: translateY(-2px); }
.pillar__lists .out li::before { background: transparent; border: 1px solid var(--muted); }
.disclaimer { font-size: 0.8125rem; color: var(--muted); border-left: 2px solid var(--border); padding-left: 14px; }
@media (max-width: 900px) { .pillar { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta { border: 1px solid var(--border); border-radius: var(--radius); display: grid; grid-template-columns: 28px 1fr; grid-template-rows: 28px 1fr; overflow: hidden; }
.cta__body { padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta h2 { font-size: clamp(1.625rem, 3.2vw, 2.5rem); max-width: 760px; }
@media (max-width: 760px) { .cta__body { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info { display: grid; gap: 0; border-top: 1px solid var(--border); }
.contact-info div { padding: 18px 0; border-bottom: 1px solid var(--border); display: grid; gap: 4px; }
.contact-info dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-info dd { margin: 0; }
.contact-info .placeholder { color: var(--muted); font-style: italic; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; border: 1px solid oklch(0.6 0.16 252 / 0.5); background: oklch(0.52 0.17 254 / 0.1);
  border-radius: var(--radius); font-size: 0.9375rem; margin-bottom: 28px;
}
.notice svg { width: 20px; height: 20px; color: var(--primary-soft); margin-top: 2px; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 500; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--background); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary-soft); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 0.8125rem; color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-status { grid-column: 1 / -1; font-size: 0.9375rem; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--border); }
.form-status:empty { display: none; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Modal (dialog native: Escape, fokus terkunci)
   -------------------------------------------------------------------------- */
.modal {
  width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--background); color: var(--foreground);
}
.modal::backdrop { background: oklch(0.1 0.005 255 / 0.72); }
.modal__media { position: relative; aspect-ratio: 16 / 7; border-bottom: 1px solid var(--border); }
.modal__inner { padding: clamp(24px, 4vw, 40px); display: grid; gap: 24px; }
.modal__head { display: grid; gap: 12px; padding-right: 48px; }
.modal__head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); cursor: pointer;
}
.modal__close:hover { border-color: var(--foreground); }
.modal__close svg { width: 18px; height: 18px; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.detail-list div { padding: 16px 0; border-top: 1px solid var(--border); }
.detail-list dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.detail-list dd { margin: 0; font-size: 0.9375rem; }
@media (max-width: 600px) { .detail-list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: oklch(0.155 0.005 255); border-top: 1px solid var(--border); padding-top: clamp(56px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-brand { display: grid; gap: 20px; align-content: start; }
.footer-brand img { height: 44px; width: auto; aspect-ratio: 575 / 151; object-fit: contain; }
.footer-brand p { color: var(--muted); font-size: 0.9375rem; max-width: 380px; }
.footer-legal { font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--foreground) !important; }
.footer-col h2 { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.footer-col a { text-decoration: none; color: var(--foreground); }
.footer-col a:hover { color: var(--primary-soft); }
.footer-col .placeholder { color: var(--muted); font-style: italic; }
.footer-nav a { font-size: 0.8125rem; letter-spacing: 0.12em; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Animasi ringan
   -------------------------------------------------------------------------- */
.page-enter > * { animation: rise .5s var(--ease) both; }
.page-enter > *:nth-child(2) { animation-delay: .06s; }
.page-enter > *:nth-child(3) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
