/* ============================================================
   PAKEJASAMAS — site.css
   Satu stylesheet untuk semua halaman. Tanpa framework.
   Urutan: 1 font · 2 token · 3 dasar · 4 utilitas · 5 tombol
           6 header · 7 section · 8 beranda · 9 halaman · 10 tutorial
           11 dialog tiket · 12 footer · 13 responsif · 14 motion
   ============================================================ */

/* 1. Font (self-hosted, 2 keluarga) */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-var.woff2') format('woff2-variations'), url('/assets/fonts/archivo-var.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

/* 2. Token */
:root {
  --ink: #141414;
  --ink-2: #1c1c1a;
  --ink-3: #272724;
  --ink-line: #3a3935;
  --paper: #f4f2ed;
  --paper-2: #e9e6de;
  --paper-line: #d6d1c6;
  --text: #141414;
  --text-muted: #55534d;
  --on-ink: #f4f2ed;
  --on-ink-muted: #aeaba3;
  --accent: #f0561d;
  --accent-hover: #ff6b33;
  --accent-ink: #141414;
  --accent-text: #b33a0c; /* aksen untuk teks kecil di atas paper (kontras ≥ 4.5) */
  --ok: #23703e;
  --ok-on-ink: #5cc887;
  --danger: #b42318;
  --danger-on-ink: #ff8a7a;

  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;
  --section-y: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 180ms;
}

/* 3. Dasar */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.35rem + 3.4vw, 4.25rem); font-stretch: 84%; font-weight: 750; letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); font-stretch: 88%; }
h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.005em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--ink); }
main:focus { outline: none; }

/* 4. Utilitas */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.label-on-dark { color: var(--on-ink-muted); }
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 46ch; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 15px; height: 15px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--dur) var(--ease);
}
.text-link:hover { background-size: 100% 1.5px; }
.text-link .icon { transition: transform var(--dur) var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link-light { color: var(--on-ink); }
.link-button {
  background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.link-button:hover { text-decoration-color: var(--accent); }

/* 5. Tombol */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--on-ink); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 20px;
  font-size: .975rem; font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform 120ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: progress; opacity: .75; transform: none; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; gap: 7px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 1.025rem; }
.btn-block { width: 100%; }
.btn-accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-bd: var(--accent); }
.btn-accent:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); }
.btn-dark:hover { --btn-bg: #2b2b28; --btn-bd: #2b2b28; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--on-ink); --btn-bd: var(--ink-line); }
.btn-ghost:hover { --btn-bd: var(--on-ink-muted); --btn-bg: var(--ink-3); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--on-ink); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--on-ink); --btn-bd: #6a6862; }
.btn-outline-light:hover { --btn-bd: var(--on-ink); --btn-bg: rgba(244, 242, 237, .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 6. Header & navigasi */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid var(--ink-line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-logo { width: auto; height: 40px; }
.brand-word { font-weight: 800; font-stretch: 80%; font-size: 1.05rem; letter-spacing: .02em; display: none; }
.primary-nav { margin-right: auto; }
.primary-nav ul { display: flex; gap: 2px; }
.nav-link {
  position: relative; display: block; padding: 10px 11px;
  font-size: .9375rem; font-weight: 500; color: var(--on-ink-muted); text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.nav-link:hover { color: var(--on-ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--on-ink); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.primary-nav + .header-actions { margin-left: 0; }
.menu-toggle {
  display: none; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 1.5px solid var(--ink-line); border-radius: var(--r); color: var(--on-ink); cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.mobile-menu[hidden] { display: none; }
.mnav li + li { border-top: 1px solid var(--ink-line); }
.mnav-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; font-size: 1.25rem; font-weight: 600; font-stretch: 90%; text-decoration: none; color: var(--on-ink);
}
.mnav-link .icon { color: var(--on-ink-muted); }
.mnav-link[aria-current="page"] { color: var(--accent); }
.mobile-actions { display: grid; gap: 10px; }

/* 7. Section */
.section { padding-block: var(--section-y); }
.section-paper { background: var(--paper); }
.section-paper-2 { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink .lead { color: var(--on-ink-muted); }
.section-ink .label { color: var(--on-ink-muted); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 { max-width: 20ch; }
.section-head-aside { display: grid; gap: 18px; justify-items: start; }

.page-hero { background: var(--ink); color: var(--on-ink); padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { max-width: 18ch; }
.page-hero .hero-lead { margin-top: 22px; }
.page-hero .btn-row { margin-top: 32px; }
.hero-lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--on-ink-muted); max-width: 58ch; line-height: 1.55; }

.cta-band { background: var(--ink-2); color: var(--on-ink); padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink-line); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px 48px; align-items: center; }
.cta-inner h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); margin-bottom: 12px; }
.cta-inner p { color: var(--on-ink-muted); max-width: 56ch; }

/* 8. Beranda */
.hero { background: var(--ink); color: var(--on-ink); padding-top: clamp(40px, 6vw, 80px); }
.hero-copy, .hero-gallery { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.4rem); max-width: 14ch; }
.hero-lead { margin-top: 24px; }
.h1-acc { color: var(--accent); display: block; }
.h1-acc .nw { white-space: nowrap; }
.hero-copy .btn-row { margin-top: 34px; }
.hero-track { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--ink-line); max-width: 520px; }
.hero-track label { display: block; font-size: .9rem; color: var(--on-ink-muted); margin-bottom: 10px; }
.hero-track-row { display: flex; gap: 8px; }
.hero-track input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 14px;
  background: var(--ink-2); border: 1.5px solid var(--ink-line); border-radius: var(--r); color: var(--on-ink);
  font-family: var(--mono); font-size: .95rem; text-transform: uppercase;
}
.hero-track input::placeholder { text-transform: none; font-family: var(--font); color: #8a877f; }
.hero-track input:focus { border-color: var(--on-ink-muted); outline: none; }
.hero-track input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hero-gallery { display: grid; gap: 14px; }
/* Galeri foto pelanggan yang bergulir otomatis (marquee) */
.marquee {
  --gap: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  height: clamp(460px, 64vh, 640px); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.marquee-col { min-width: 0; overflow: hidden; }
.marquee-track { display: flex; flex-direction: column; gap: var(--gap); animation: marquee-up 38s linear infinite; will-change: transform; }
.marquee-col-2 .marquee-track { animation-name: marquee-down; animation-duration: 44s; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - var(--gap) / 2)); } }
@keyframes marquee-down { from { transform: translateY(calc(-50% - var(--gap) / 2)); } to { transform: translateY(0); } }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@keyframes marquee-right { from { transform: translateX(calc(-50% - var(--gap) / 2)); } to { transform: translateX(0); } }
.marquee-item a { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-3); aspect-ratio: 3 / 4; color: var(--on-ink); text-decoration: none; }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; transition: transform 500ms var(--ease); }
.marquee-item a:hover img { transform: scale(1.03); }
.hero-gallery-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.marquee-toggle {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  background: transparent; color: var(--on-ink-muted); border: 1px solid var(--ink-line); border-radius: var(--r);
  font-size: .85rem; cursor: pointer; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.marquee-toggle:hover { color: var(--on-ink); border-color: var(--on-ink-muted); }
.marquee-toggle span { display: inline-flex; align-items: center; gap: 7px; }
.marquee-toggle .mt-play, .marquee-toggle[aria-pressed="true"] .mt-pause { display: none; }
.marquee-toggle[aria-pressed="true"] .mt-play { display: inline-flex; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink-line);
}
.hero-facts li { display: flex; gap: 14px; padding: 26px 24px 30px 0; font-size: .975rem; color: var(--on-ink-muted); }
.hero-facts li + li { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.hero-facts strong { color: var(--on-ink); font-weight: 650; }
.hero-facts .icon { color: var(--accent); margin-top: 2px; }

/* Layanan */
.services { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.services-primary { border-top: 1.5px solid var(--ink); }
.svc {
  display: grid; grid-template-columns: 40px 44px minmax(0, 1fr); gap: 0 16px;
  padding: 28px 0 30px; border-bottom: 1px solid var(--paper-line);
}
.svc-num { font-family: var(--mono); font-size: .8rem; color: var(--text-muted); padding-top: 6px; }
.svc-icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1.5px solid var(--ink); border-radius: var(--r); color: var(--ink);
}
.svc h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-stretch: 92%; margin: 6px 0 10px; }
.svc p { color: var(--text-muted); max-width: 54ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li { font-family: var(--mono); font-size: .75rem; padding: 4px 9px; border: 1px solid var(--paper-line); border-radius: var(--r-sm); color: var(--text-muted); background: #fbfaf7; }
.services-secondary { background: var(--paper-2); border-radius: var(--r-lg); padding: 8px 28px; }
.svc-sm { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
.svc-sm + .svc-sm { border-top: 1px solid var(--paper-line); }
.svc-sm .svc-icon { border-color: var(--paper-line); background: var(--paper); }
.svc-sm h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.svc-sm p { color: var(--text-muted); font-size: .95rem; }

/* Strip testimoni (beranda) */
.cs-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cs-tile-link { display: grid; gap: 8px; text-decoration: none; color: var(--on-ink); }
.cs-tile-photo { display: block; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; background: var(--ink-3); margin-bottom: 8px; }
.cs-tile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transition: transform 500ms var(--ease); }
.cs-tile-link:hover .cs-tile-photo img { transform: scale(1.03); }
.cs-tile-code { font-family: var(--mono); font-size: .75rem; color: var(--on-ink-muted); letter-spacing: .04em; }
.cs-tile-title { font-weight: 650; font-size: 1.0625rem; line-height: 1.3; }
.cs-tile-title { font-size: 1.25rem; font-stretch: 92%; }
.cs-tile-quote { color: var(--on-ink-muted); font-size: .925rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cs-tile-link:hover .cs-tile-title { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* Langkah kerja */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.steps-grid li { padding: 22px 22px 30px 0; border-bottom: 1px solid var(--paper-line); }
.steps-grid li:not(:nth-child(4n + 1)) { padding-left: 22px; border-left: 1px solid var(--paper-line); }
.step-num { display: block; font-family: var(--mono); font-size: .8rem; color: var(--accent-text); margin-bottom: 18px; }
.steps-grid h3 { font-size: 1.0625rem; }

/* FAQ */
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-split h2 { margin-bottom: 16px; }
.faq-split .lead { margin-bottom: 24px; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--paper-line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-text); }
.faq-chevron { transition: transform var(--dur) var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p { padding: 0 48px 24px 0; color: var(--text-muted); max-width: 64ch; }

/* Kontak */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.contact-copy h2 { margin-bottom: 18px; max-width: 16ch; }
.contact-list { margin: 34px 0; border-top: 1px solid var(--ink-line); }
.contact-list > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ink-line); }
.contact-list dt { display: flex; align-items: center; gap: 10px; color: var(--on-ink-muted); font-size: .95rem; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list a { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.owner-card { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.owner-handle { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 750; font-stretch: 82%; letter-spacing: -0.02em; line-height: 1; margin-bottom: 18px; overflow-wrap: anywhere; }
.owner-text { color: var(--on-ink-muted); margin-bottom: 28px; max-width: 40ch; }

/* 9. Testimoni page */
.cs-list { display: grid; gap: clamp(56px, 8vw, 104px); }
.cs-item { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; scroll-margin-top: calc(var(--header-h) + 24px); }
.cs-item-flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.cs-item-flip .cs-photo { order: 2; }
.cs-photo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); aspect-ratio: 4 / 5; }
.cs-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.t-quote { margin: 0 0 18px; }
.t-quote p { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.85rem); font-weight: 600; font-stretch: 92%; line-height: 1.3; letter-spacing: -0.01em; text-wrap: pretty; }
.t-name { font-size: 1.125rem; font-stretch: 100%; font-weight: 650; margin-bottom: 26px; display: flex; align-items: center; gap: 12px; }
.t-name::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.cs-facts { border-top: 1.5px solid var(--ink); }
.cs-facts > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--paper-line); }
.cs-facts dt { font-size: .9rem; color: var(--text-muted); }
.cs-facts dd { margin: 0; }
.cs-note { margin-top: 18px; font-size: .95rem; color: var(--text-muted); }
.cs-note a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* SOP page */
.sop-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sop-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.sop-intro h2 { margin-bottom: 16px; }
.sop-intro p { color: var(--text-muted); margin-bottom: 28px; max-width: 42ch; }
.sop-steps { border-top: 1.5px solid var(--ink); }
.sop-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--paper-line); }
.sop-num { font-family: var(--mono); font-size: 1.5rem; color: var(--accent-text); line-height: 1; padding-top: 2px; }
.sop-step h3 { font-size: 1.3rem; font-stretch: 92%; margin-bottom: 10px; }
.sop-step p { color: var(--text-muted); max-width: 60ch; }
.sop-output { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .9rem; color: var(--text) !important; font-weight: 500; }
.qc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.qc-grid h2 { margin-bottom: 16px; max-width: 16ch; }
.qc-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink-line); }
.qc-list li { display: flex; gap: 12px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--ink-line); font-size: .975rem; }
.qc-list li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--ink-line); }
.qc-list .icon { color: var(--accent); margin-top: 3px; }
.terms h2 { margin-bottom: 32px; }
.terms-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.terms-list li { padding: 24px 24px 8px 0; }
.terms-list li + li { padding-left: 24px; border-left: 1px solid var(--paper-line); }
.terms-list h3 { margin-bottom: 10px; }
.terms-list p { color: var(--text-muted); }

/* FAQ page */
.faq-page { display: grid; gap: clamp(48px, 6vw, 72px); max-width: 880px; }
.faq-group h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-bottom: 18px; }

/* 10. Tutorial */
.catalog-tools { display: grid; gap: 18px; margin-bottom: 18px; border: 0; }
.search-field { position: relative; max-width: 560px; }
.search-field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.search-field input {
  width: 100%; min-height: 52px; padding: 0 16px 0 46px;
  background: #fff; border: 1.5px solid var(--paper-line); border-radius: var(--r);
  font-size: 1rem;
}
.search-field input:focus { border-color: var(--ink); outline: none; }
.search-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  background: transparent; border: 1.5px solid var(--paper-line); border-radius: var(--r);
  font-size: .925rem; font-weight: 500; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chip-count { font-family: var(--mono); font-size: .75rem; color: inherit; opacity: .7; }
.catalog-status { font-size: .9rem; color: var(--text-muted); margin: 26px 0 18px; }
.catalog-empty { padding: 48px 0; border-top: 1.5px solid var(--ink); max-width: 640px; }
.catalog-empty h2 { font-size: 1.5rem; margin-bottom: 10px; }
.catalog-empty p { color: var(--text-muted); margin-bottom: 24px; }

.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.t-grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.t-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 24px 22px; background: var(--paper); border: 1px solid var(--paper-line); border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.section-paper .t-card { background: #fbfaf7; }
.t-card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 10px 24px -18px rgba(20, 20, 20, .45); }
.t-card:focus-within { border-color: var(--ink); }
.t-card[hidden] { display: none; }
.t-card-lg { grid-column: span 2; background: var(--ink) !important; border-color: var(--ink); color: var(--on-ink); padding: 32px; justify-content: flex-end; min-height: 280px; }
.t-card-lg h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-stretch: 86%; max-width: 20ch; }
.t-card-lg .t-sum, .t-card-lg .t-meta { color: var(--on-ink-muted); max-width: 60ch; }
.t-card-lg .t-cat { color: var(--accent); }
.t-card-lg:hover { border-color: var(--accent); }
.t-cat { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.t-card h3 { font-size: 1.1875rem; font-stretch: 94%; margin-bottom: 12px; }
.t-card h3 a { text-decoration: none; }
.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }
.t-sum { color: var(--text-muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
.t-meta { margin-top: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .82rem; color: var(--text-muted); }

/* Artikel */
.article-hero { background: var(--ink); color: var(--on-ink); padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); }
.article-hero-inner { max-width: calc(980px + var(--gutter) * 2); margin-left: 0; margin-inline: auto; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 26px; font-size: .9rem; }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: #77756e; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--on-ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
.article-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); max-width: 22ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: .925rem; color: var(--on-ink-muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta span:first-child { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 6vw, 72px); max-width: calc(980px + var(--gutter) * 2); }
.article-aside { position: relative; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); }
.toc ol { border-left: 1.5px solid var(--paper-line); }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent; font-size: .9rem; color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--text); border-left-color: var(--ink); }
.toc a[aria-current="true"] { color: var(--text); border-left-color: var(--accent); font-weight: 600; }
.article-body { min-width: 0; max-width: 700px; }
.article-body section { scroll-margin-top: calc(var(--header-h) + 20px); }
.article-body section + section { margin-top: 48px; }
.article-body h2 { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.article-lead { font-size: 1.25rem; line-height: 1.55; }
.a-list li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.a-list li::before { content: ''; position: absolute; left: 0; top: .68em; width: 8px; height: 1.5px; background: var(--accent); }
.a-checks { counter-reset: c; }
.a-checks li { counter-increment: c; position: relative; padding-left: 38px; margin-bottom: 14px; }
.a-checks li::before { content: counter(c); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; display: grid; place-items: center; font-family: var(--mono); font-size: .78rem; border: 1.5px solid var(--ink); border-radius: 50%; }
.a-steps { border-top: 1.5px solid var(--ink); }
.a-steps > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--paper-line); }
.a-step-num { font-family: var(--mono); font-size: 1.15rem; color: var(--accent-text); }
.a-steps h3 { margin-bottom: 8px; }
.a-steps p { color: #3c3a35; }
.code {
  margin: 14px 0 0; padding: 14px 16px; overflow-x: auto;
  background: var(--ink); color: #f1eee6; border-radius: var(--r);
  font-family: var(--mono); font-size: .875rem; line-height: 1.6; white-space: pre;
}
.callout { background: var(--paper-2); border-radius: var(--r-lg); padding: 26px 28px; }
.callout h2 { font-size: 1.25rem !important; }
.callout-warn { background: #fbe9df; border-left: 4px solid var(--accent); }
.callout-warn h2 .icon { color: var(--accent-text); }
.article-cta { border-top: 1.5px solid var(--ink); padding-top: 32px; }
.article-cta p { color: var(--text-muted); margin-bottom: 22px; max-width: 58ch; }

/* 11. Dialog tiket */
.dialog {
  width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto;
  padding: 28px; border: 0; border-radius: var(--r-lg);
  background: var(--paper); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
}
.dialog::backdrop { background: rgba(14, 14, 13, .72); }
.dialog[open] { animation: dialog-in 200ms var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dialog-head .label { margin-bottom: 6px; }
.dialog-title { font-size: 1.75rem; font-stretch: 88%; }
.dialog-lead { color: var(--text-muted); margin: 12px 0 22px; font-size: .975rem; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; margin: -6px -8px 0 0; background: transparent; border: 0; border-radius: var(--r); cursor: pointer; color: var(--text-muted); }
.icon-btn:hover { background: var(--paper-2); color: var(--text); }
.mock-note { display: flex; gap: 8px; align-items: center; font-size: .85rem; background: #fbe9df; padding: 10px 12px; border-radius: var(--r); margin-bottom: 18px; }
.mock-note[hidden] { display: none; }
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.field input, .field textarea, .search-form input {
  width: 100%; padding: 12px 14px; min-height: 48px;
  background: #fff; border: 1.5px solid var(--paper-line); border-radius: var(--r);
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .search-form input:focus { border-color: var(--ink); outline: none; }
.field input:focus-visible, .field textarea:focus-visible, .search-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-hint { font-size: .85rem; color: var(--text-muted); margin-top: 6px; }
.field-error { font-size: .875rem; color: var(--danger); margin-top: 6px; font-weight: 500; }
.form-alert { padding: 12px 14px; border-radius: var(--r); background: #fde8e6; color: #7a1a12; font-size: .925rem; margin-top: 14px; }
.form .form-alert { margin-top: 0; }
.form-alert[hidden], .field-error[hidden] { display: none; }
.ticket-success { text-align: left; }
.ticket-success:focus { outline: none; }
.success-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ok); margin-bottom: 8px; }
.ticket-id { font-family: var(--mono); font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 500; letter-spacing: .06em; background: var(--ink); color: var(--on-ink); border-radius: var(--r); padding: 16px 18px; margin: 18px 0; text-align: center; word-break: break-all; }
.copy-status { font-size: .875rem; color: var(--text-muted); margin-top: 10px; min-height: 1.2em; }
.search-form { display: flex; gap: 8px; }
.search-form input { font-family: var(--mono); text-transform: uppercase; }
.search-form input::placeholder { text-transform: none; font-family: var(--font); }
.ticket-result { margin-top: 22px; }
.ticket-result[hidden] { display: none; }
.ticket-meta { background: var(--paper-2); border-radius: var(--r); padding: 16px 18px; margin-bottom: 22px; }
.ticket-meta .label { margin-bottom: 6px; }
.ticket-device { font-weight: 650; }
.ticket-name { font-size: .9rem; color: var(--text-muted); margin-top: 4px; }
.timeline li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 6px; top: 20px; bottom: 2px; width: 2px; background: var(--paper-line); }
.timeline li.is-done:not(:last-child)::before { background: var(--ok); }
.timeline .dot { width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: var(--paper-line); border: 2px solid var(--paper-line); }
.timeline .is-done .dot { background: var(--ok); border-color: var(--ok); }
.timeline .is-current .dot { background: var(--paper); border-color: var(--ok); box-shadow: 0 0 0 4px rgba(35, 112, 62, .18); }
.t-title { font-weight: 650; }
.t-desc { font-size: .9rem; color: var(--text-muted); }
.timeline .is-pending .t-title { color: var(--text-muted); font-weight: 500; }
.timeline .is-current .t-title { color: var(--ok); }

.chat-chip {
  position: fixed; right: 92px; bottom: 30px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r);
  font-size: .875rem; font-weight: 600; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5);
  transition: transform var(--dur) var(--ease);
}
.chat-chip:hover { transform: translateY(-2px); }
.chat-chip[hidden], body.menu-open .chat-chip { display: none; }
.chat-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(14, 14, 13, .55); }
.chat-overlay[hidden] { display: none; }

/* 12. Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--ink-line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 120px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; font-size: .95rem; }
.footer-col .label { color: var(--on-ink); }
.footer-col li { margin-bottom: 10px; font-size: .95rem; }
.footer-col a, .footer-col .link-button { color: var(--on-ink-muted); text-decoration: none; text-align: left; }
.footer-col a:hover, .footer-col .link-button:hover { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid var(--ink-line); padding-block: 22px 96px; font-size: .875rem; }

/* 13. Responsif */
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .menu-toggle { display: grid; }
  .brand-word { display: none; }
}
@media (max-width: 1080px) {
  .t-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .hero-grid { grid-template-columns: 1fr; }
  .marquee { grid-template-columns: 1fr; height: auto; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); margin-inline: calc(var(--gutter) * -1); }
  .marquee-track { flex-direction: row; width: max-content; animation-name: marquee-left; animation-duration: 40s; }
  .marquee-col-2 .marquee-track { animation-name: marquee-right; animation-duration: 46s; }
  .marquee-item { width: clamp(150px, 26vw, 210px); flex: none; }
    .marquee-tag-title { display: none; }
  .hero-gallery-bar { margin-top: 4px; }
  .services { grid-template-columns: 1fr; }
  .cs-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid li:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .steps-grid li:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--paper-line); }
  .faq-split, .contact-grid, .sop-grid, .qc-grid, .cta-inner { grid-template-columns: 1fr; }
  .sop-intro { position: static; }
  .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-item, .cs-item-flip { grid-template-columns: 1fr; }
  .cs-item-flip .cs-photo { order: 0; }
  .cs-photo { max-width: 440px; aspect-ratio: 4 / 5; }
  .cs-photo img { object-position: center 70%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { display: none; }
  .terms-list { grid-template-columns: 1fr; }
  .terms-list li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--paper-line); }
}
@media (max-width: 720px) {
  :root { --header-h: 60px; }
  body { font-size: 1rem; }
  .brand-logo { height: 34px; }
  .header-inner { gap: 12px; }
  .header-actions .btn-ghost span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-actions .btn-ghost { width: 40px; padding: 0; }
  .header-actions .btn-sm { min-height: 40px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li, .hero-facts li + li { padding: 18px 0; border-left: 0; }
  .hero-facts li + li { border-top: 1px solid var(--ink-line); }
  .hero-copy .btn-row .btn, .cta-inner .btn, .contact .btn-row .btn { width: 100%; }
  .svc { grid-template-columns: 44px minmax(0, 1fr); }
  .svc-num { display: none; }
  .services-secondary { padding: 4px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid li, .steps-grid li:nth-child(2n) { padding: 18px 0; border-left: 0; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; }
  .step-num { margin: 0; }
  .t-grid, .t-grid-home { grid-template-columns: 1fr; }
  .t-card-lg { grid-column: auto; min-height: 0; padding: 24px; }
    .cs-facts > div, .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
  .qc-list { grid-template-columns: 1fr; }
  .qc-list li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .faq-item p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .dialog { padding: 22px 20px; }
  .btn-row > .btn { flex: 1 1 auto; }
  .btn { white-space: normal; text-align: center; }
  .chat-chip span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-chip { width: 44px; height: 44px; padding: 0; justify-content: center; right: 84px; bottom: 26px; }
}
@media (max-width: 400px) {
  .header-actions .btn-accent span { font-size: .85rem; }
  .search-form { flex-direction: column; }
}

/* 14. Motion & preferensi */
/* Smooth scroll hanya setelah halaman siap (diaktifkan site.js), agar lompatan
   dari halaman lain ke /#kontak langsung tepat, tidak beranimasi ribuan piksel. */
@media (prefers-reduced-motion: no-preference) {
  html.is-ready { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .spinner { animation: spin 1.2s linear infinite !important; }
  /* Galeri tidak bergerak: tampil diam dan bisa digulir manual */
  .marquee-track { animation: none !important; }
  .marquee-col { overflow: auto; }
  .marquee-toggle { display: none; }
}
@media print {
  .site-header, .site-footer, .chat-chip, .cta-band, .article-aside, .dialog { display: none !important; }
  body { background: #fff; }
}
