/* LokaPajak — Artikel Static Site
   Shared stylesheet for index, arsip, and detail pages
   Mobile-first responsive · CSS custom properties · vanilla
*/

:root {
  /* Brand */
  --emerald: #1F7A5E;
  --emerald-deep: #155946;
  --terracotta: #B85C3D;
  --plum: #5C2E91;
  --navy: #1A4D7A;
  --mint: #3CE0A8;

  /* Surfaces */
  --paper: #F8F4EC;
  --paper-2: #FBF8F2;
  --cream: #FAF7F0;
  --line: #E8E1D2;
  --line-2: #D8D2C4;

  /* Ink */
  --ink: #0F0E0C;
  --ink-2: #1A1714;
  --ink-3: #3A3530;
  --muted: #5A5249;
  --muted-2: #7A756D;

  /* Type stacks */
  --serif: 'Crimson Pro', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ─── MASTHEAD ──────────────────────────────────────────── */
.mast {
  border-bottom: 3px double var(--ink);
  padding: 18px 56px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(248, 244, 236, 0.94);
}
.mast .logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mast .logo span { color: var(--emerald); }
.mast .vol {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* Category nav */
.catnav {
  border-bottom: 1px solid var(--ink);
  padding: 14px 56px;
  display: flex;
  gap: 28px;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 14px;
  background: var(--paper);
  overflow-x: auto;
  scrollbar-width: none;
}
.catnav::-webkit-scrollbar { display: none; }
.catnav a {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.catnav a.is-active {
  font-weight: 700;
  font-style: italic;
  color: var(--emerald);
  border-bottom-color: var(--emerald);
}
.catnav a .n {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-left: 4px;
  font-style: normal;
  font-weight: 500;
}
.catnav .search {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* ─── KICKER (mono category badge) ──────────────────────── */
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kicker.k-explainer { color: var(--terracotta); }
.kicker.k-panduan { color: var(--emerald); }
.kicker.k-analisis { color: var(--plum); }
.kicker.k-news { color: var(--navy); }
.kicker.k-utama { color: var(--terracotta); }

/* Cat dot */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.c-explainer { background: var(--terracotta); }
.dot.c-panduan { background: var(--emerald); }
.dot.c-analisis { background: var(--plum); }
.dot.c-news { background: var(--navy); }

/* ─── LEAD HERO (landing) ──────────────────────────────── */
.lead {
  padding: 56px 56px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  border-bottom: 1px solid var(--line-2);
}
.lead h1 {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 22px;
  text-wrap: balance;
}
.lead h1 em { color: var(--emerald); font-style: italic; }
.lead .deck {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink-3);
  margin: 0 0 22px;
  max-width: 560px;
}
.lead .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  flex-wrap: wrap;
}
.lead .meta strong { color: var(--ink); }
.lead-img {
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  min-height: 260px;
  max-height: 360px;
  aspect-ratio: 4 / 3;
  position: relative;
}
.lead-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead-img .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(15,14,12,0.85));
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
}

/* ─── SUB-LEADS (3-up) ─────────────────────────────────── */
.subs {
  padding: 36px 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--line-2);
}
.sub {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
  cursor: pointer;
}
.sub.s-explainer { border-top-color: var(--terracotta); }
.sub.s-panduan { border-top-color: var(--emerald); }
.sub.s-analisis { border-top-color: var(--plum); }
.sub.s-news { border-top-color: var(--navy); }
.sub h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 8px;
  text-wrap: balance;
}
.sub p {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.45;
}
.sub .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ─── ARSIP (long list with thumbnails — Detik/Kompas style) ─ */
.arsip {
  padding: 40px 56px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
}
.arsip h2 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--emerald);
  font-weight: 700;
  margin: 0 0 22px;
}
.arsip-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 22px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: opacity 0.2s;
}
.arsip-item:hover { opacity: 0.8; }
.arsip-thumb {
  width: 160px;
  height: 110px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--line);
  position: relative;
}
.arsip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arsip-thumb .tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
}
.arsip-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 8px;
  text-wrap: balance;
}
.arsip-body .deck {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.45;
}
.arsip-body .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.arsip-body .meta .tax {
  color: var(--emerald);
  font-weight: 700;
}
.arsip-arrow {
  font-family: var(--mono);
  color: var(--muted);
  align-self: center;
  font-size: 14px;
}

/* Marginalia */
.margin {
  border-left: 1px solid var(--line-2);
  padding-left: 28px;
  position: sticky;
  top: 140px;
  align-self: start;
  height: fit-content;
}
.margin .quote {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  margin-bottom: 22px;
  line-height: 1.4;
}
.margin .quote-source {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 12px;
  font-style: normal;
}
.margin .collection {
  border-top: 1px solid var(--line-2);
  padding-top: 20px;
}
.margin .collection h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.margin .collection p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
}
.margin .collection .more {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--emerald);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ─── CTA strip ─────────────────────────────────────────── */
.cta-strip {
  background: var(--ink-2);
  color: var(--paper);
  padding: 48px 56px;
  text-align: center;
}
.cta-strip .kicker {
  color: var(--mint);
  margin-bottom: 12px;
}
.cta-strip h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 14px;
  max-width: 640px;
  margin-inline: auto;
  text-wrap: balance;
}
.cta-strip p {
  font-size: 15px;
  color: rgba(248, 244, 236, 0.7);
  margin: 0 auto 22px;
  max-width: 540px;
  line-height: 1.55;
}
.cta-btn {
  background: var(--mint);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
}

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  padding: 32px 56px;
  border-top: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ─── ARSIP / FILTER PAGE (V2 Stream) ───────────────────── */
.stream-hero {
  padding: 40px 56px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.stream-hero h1 {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
.stream-hero h1 em { color: var(--emerald); font-style: italic; }
.stream-hero .kicker { margin-bottom: 12px; }

.filterbar {
  position: sticky;
  top: 0;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(8px);
  padding: 14px 56px;
  border-bottom: 1px solid var(--line);
  z-index: 20;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.filterbar::-webkit-scrollbar { display: none; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 700;
  border: 1.5px solid #E0D8C5;
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chip.is-active.k-explainer { background: var(--terracotta); border-color: var(--terracotta); }
.chip.is-active.k-panduan { background: var(--emerald); border-color: var(--emerald); }
.chip.is-active.k-analisis { background: var(--plum); border-color: var(--plum); }
.chip.is-active.k-news { background: var(--navy); border-color: var(--navy); }
.chip .n { opacity: 0.6; font-size: 10px; margin-left: 4px; }
.search-link {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  white-space: nowrap;
}

.stream {
  padding: 28px 56px 64px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 36px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.stream-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
  font-weight: 700;
  padding-top: 8px;
  position: sticky;
  top: 60px;
  align-self: start;
}
.stream-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.stream-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  position: relative;
  transition: transform 0.15s, border-color 0.15s;
}
.stream-card:hover { transform: translateY(-1px); border-color: var(--ink); }
.stream-card .badge-new {
  position: absolute;
  top: -8px; right: 16px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 3px 8px;
  border-radius: 3px;
}
.stream-card .time {
  border-right: 1px dashed var(--line);
  padding-right: 12px;
}
.stream-card .time-h {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.stream-card .time-r {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted-2);
  letter-spacing: 0.15em;
  margin-top: 4px;
}
.stream-card .body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 6px;
  text-wrap: balance;
}
.stream-card .body p {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* ─── DETAIL PAGE (V3 Focus) ──────────────────────────── */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--emerald);
  z-index: 100;
  width: 0%;
  transition: width 0.1s;
}
.read-widget {
  position: fixed;
  top: 84px;
  right: 32px;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.read-widget .ring { width: 32px; height: 32px; position: relative; }
.read-widget .ring svg { transform: rotate(-90deg); }
.read-widget .ring .pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--emerald);
}
.read-widget .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 600;
}

.detail-hero {
  padding: 56px 56px 32px;
  max-width: 760px;
  margin: 0 auto;
}
.detail-hero h1 {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 18px;
  text-wrap: balance;
}
.detail-hero h1 em { color: var(--emerald); font-style: italic; }
.detail-hero .deck {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  color: var(--ink-3);
  line-height: 1.45;
  margin: 0 0 24px;
}
.detail-hero .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  flex-wrap: wrap;
}

/* View counter — fade in saat sudah ke-fetch (hindari layout shift) */
.view-count {
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
  transition: opacity 240ms ease;
}
.view-count.is-ready { opacity: 1; }
.view-count.is-baru {
  color: var(--emerald);
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* Share buttons — pill style with labels, own row below meta */
.share-row-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0 4px;
  margin: 0 0 8px;
}
.share-row-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--ink-3);
  transition: all 180ms ease;
  text-decoration: none;
}
.share-btn:hover { transform: translateY(-1px); }
.share-btn:active { transform: translateY(0); }
.share-btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}
.share-btn svg { display: block; flex-shrink: 0; }

.share-btn.share-wa { color: #25D366; border-color: #25D366; }
.share-btn.share-wa:hover { background: #25D366; color: #fff; }
.share-btn.share-tw { color: #0F0E0C; border-color: #0F0E0C; }
.share-btn.share-tw:hover { background: #0F0E0C; color: #fff; }
.share-btn.share-copy { color: var(--muted); border-color: var(--line); background: var(--paper-2); }
.share-btn.share-copy:hover { border-color: var(--ink); color: var(--ink); }

/* Legacy: kalau ada peraturan-style share-row (peraturan template) tidak perlu disentuh */
.detail-hero .share-row-detail {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .share-row-detail { gap: 8px; padding: 12px 0 4px; }
  .share-btn { padding: 8px 13px; font-size: 12.5px; }
  .share-row-label { width: 100%; }
}

/* Toast saat link disalin */
.share-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 9999;
  box-shadow: 0 6px 18px rgba(15,14,12,0.25);
}
.share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.detail-hero .meta strong { color: var(--ink); }

.detail-cover {
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 0 56px;
}
.detail-cover img,
.detail-cover .ph {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 340px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--line);
  display: block;
}
@media (max-width: 720px) {
  .detail-cover { padding: 0 16px; margin-bottom: 24px; }
  .detail-cover img,
  .detail-cover .ph { aspect-ratio: 16 / 9; max-height: 240px; border-radius: 6px; }
}

/* Inline calculator widget */
.calc-widget {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 0 56px;
}
.calc-widget .box {
  background: var(--ink-2);
  color: var(--paper);
  border-radius: 14px;
  padding: 22px 26px;
}
.calc-widget .head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--mint);
  font-weight: 700;
}
.calc-widget h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 600;
}
.calc-widget .field-label {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(248, 244, 236, 0.6);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.calc-widget .row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.calc-widget input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(60, 224, 168, 0.3);
  background: rgba(60, 224, 168, 0.06);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14px;
  outline: none;
}
.calc-widget input:focus { border-color: var(--mint); }
.calc-widget button {
  background: var(--mint);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
}
.calc-widget .hint {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(248, 244, 236, 0.6);
}
.calc-widget .result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(248, 244, 236, 0.12);
  font-family: var(--serif);
  font-size: 18px;
  display: none;
}
.calc-widget .result.is-shown { display: block; }
.calc-widget .result strong { color: var(--mint); font-size: 26px; }

/* Article body */
.detail-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 56px 56px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-2);
}
.detail-body p { margin: 0 0 22px; color: var(--ink-3); }
.detail-body p.lead-p { color: var(--ink-2); }
.detail-body p.lead-p::first-letter {
  font-family: var(--serif);
  font-size: 5em;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin-right: 12px;
  margin-top: 8px;
  color: var(--emerald);
  letter-spacing: -0.04em;
}
.detail-body h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 36px 0 14px;
  color: var(--ink);
  text-wrap: balance;
}
.detail-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--ink);
}
.detail-body strong { color: var(--ink); font-weight: 700; }
.detail-body ul, .detail-body ol { padding-left: 22px; margin: 0 0 22px; }
.detail-body li { margin-bottom: 8px; }
.detail-body a {
  color: var(--emerald);
  border-bottom: 1px solid currentColor;
}

/* Inline knowledge box */
.know {
  margin: 28px -16px;
  padding: 18px 22px;
  background: #FFF8E8;
  border: 1px solid #F0D78A;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: #4A3F1A;
}
.know .head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Pullquote */
.pull {
  margin: 32px -24px;
  padding: 26px 30px;
  background: var(--paper-2);
  border-left: 4px solid var(--emerald);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  border-radius: 0 6px 6px 0;
}
.pull .actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pull .share-btn {
  font-family: var(--mono);
  font-size: 10px;
  padding: 5px 10px;
  background: var(--emerald);
  color: var(--paper);
  border: none;
  border-radius: 4px;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.pull .tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

/* Continue prompt */
.continue {
  margin: 36px -16px;
  padding: 20px 24px;
  background: var(--paper-2);
  border: 2px dashed var(--emerald);
  border-radius: 12px;
  text-align: center;
  font-family: var(--sans);
}
.continue .head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--emerald);
  font-weight: 700;
  margin-bottom: 6px;
}
.continue .big {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 4px;
}
.continue .small {
  font-size: 13px;
  color: var(--muted-2);
}

/* End funnel */
.funnel {
  background: var(--ink-2);
  color: var(--paper);
  padding: 56px;
  text-align: center;
}
.funnel-inner { max-width: 640px; margin: 0 auto; }
.funnel .kicker { color: var(--mint); margin-bottom: 12px; }
.funnel h3 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 14px;
  text-wrap: balance;
}
.funnel p {
  font-size: 16px;
  color: rgba(248, 244, 236, 0.7);
  line-height: 1.55;
  margin: 0 0 20px;
}

.related {
  background: var(--ink-2);
  color: var(--paper);
  padding: 0 56px 56px;
}
.related-grid {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 244, 236, 0.12);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.related-card {
  text-align: left;
  padding: 18px;
  background: rgba(248, 244, 236, 0.04);
  border: 1px solid rgba(248, 244, 236, 0.1);
  border-radius: 10px;
  display: block;
}
.related-card .kicker { font-size: 9px; margin-bottom: 8px; }
.related-card h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 6px;
  text-wrap: balance;
}
.related-card .meta {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(248, 244, 236, 0.5);
  letter-spacing: 0.1em;
}

/* ─── MOBILE RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .mast { padding: 14px 20px 12px; }
  .mast .logo { font-size: 22px; }
  .mast .vol { display: none; }
  .catnav { padding: 12px 20px; gap: 18px; font-size: 13px; }
  .catnav .search { display: none; }

  .lead {
    grid-template-columns: 1fr;
    padding: 32px 20px 28px;
    gap: 24px;
  }
  .lead h1 { font-size: 40px; line-height: 1; }
  .lead .deck { font-size: 17px; }
  .lead-img { min-height: 220px; }

  .subs {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 22px;
  }
  .sub h3 { font-size: 22px; }

  .arsip {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 36px;
  }
  .arsip-item {
    grid-template-columns: 110px 1fr;
    gap: 14px;
  }
  .arsip-thumb { width: 110px; height: 80px; }
  .arsip-body h3 { font-size: 17px; }
  .arsip-body .deck { display: none; }
  .arsip-arrow { display: none; }
  .margin {
    border-left: none;
    border-top: 1px solid var(--line-2);
    padding-left: 0;
    padding-top: 24px;
    position: static;
  }

  .cta-strip { padding: 36px 20px; }
  .cta-strip h2 { font-size: 26px; }

  footer { padding: 24px 20px; flex-direction: column; gap: 10px; font-size: 10px; }

  /* Stream / arsip */
  .stream-hero { padding: 28px 20px 18px; }
  .stream-hero h1 { font-size: 34px; }
  .filterbar { padding: 12px 20px; gap: 6px; }
  .chip { padding: 7px 12px; font-size: 10px; }
  .stream {
    grid-template-columns: 1fr;
    padding: 20px 20px 48px;
    gap: 16px;
  }
  .stream-date {
    position: static;
    padding-top: 12px;
    margin-bottom: 4px;
    border-top: 1px solid var(--line);
  }
  .stream-card {
    grid-template-columns: 48px 1fr;
    padding: 14px 16px;
    gap: 14px;
  }
  .stream-card .body h3 { font-size: 17px; }
  .stream-card .body p { font-size: 13px; }

  /* Detail page */
  .read-widget { top: 64px; right: 16px; }
  .read-widget .label { display: none; }
  .detail-hero {
    padding: 32px 20px 22px;
  }
  .detail-hero h1 { font-size: 32px; }
  .detail-hero .deck { font-size: 17px; }
  .detail-cover { padding: 0 20px; margin-bottom: 28px; }
  .calc-widget { padding: 0 20px; }
  .calc-widget h3 { font-size: 19px; }
  .calc-widget .row { flex-direction: column; gap: 8px; align-items: stretch; }
  .calc-widget button { width: 100%; }
  .detail-body {
    padding: 0 20px 40px;
    font-size: 17px;
  }
  .detail-body h2 { font-size: 24px; }
  .detail-body h3 { font-size: 20px; }
  .know { margin: 22px 0; }
  .pull {
    margin: 28px 0;
    padding: 22px 22px;
    font-size: 19px;
  }
  .continue { margin: 28px 0; padding: 18px 20px; }

  .funnel { padding: 36px 20px; }
  .funnel h3 { font-size: 24px; }
  .related { padding: 0 20px 36px; }
  .related-grid { grid-template-columns: 1fr; padding-top: 24px; }
}

@media (max-width: 480px) {
  .lead h1 { font-size: 32px; }
  .detail-hero h1 { font-size: 26px; }
  .stream-hero h1 { font-size: 28px; }
  .arsip-item { grid-template-columns: 92px 1fr; }
  .arsip-thumb { width: 92px; height: 68px; }
  .arsip-body h3 { font-size: 15px; }
}

/* Print-friendly for detail */
@media print {
  .read-progress, .read-widget, .funnel, .related, .mast, .catnav { display: none; }
  .detail-body { max-width: none; padding: 0; }
}
