﻿/* f32 — editorial ticket + laporan riset */

:root {
  --ink: #1c1612;
  --ink-soft: #4a4038;
  --mute: #7a6e64;
  --paper: #f3ece2;
  --sheet: #fffaf3;
  --line: #e4d8c8;
  --brick: #9c3b24;
  --brick-deep: #7a2c1a;
  --leaf: #2c4a3e;
  --gold: #c4a06a;
  --warn-bg: #f8ead6;
  --ok-bg: #e8efe8;
  --display: "Newsreader", "Georgia", serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --measure: 38.5rem;
  --rail: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brick);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brick-deep);
}

.nx-skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.nx-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

.nx-wrap {
  width: min(100% - 2rem, var(--rail));
  margin-inline: auto;
}

/* masthead — like a small evening paper, not a product navbar */
.nx-mast {
  border-bottom: 1px solid var(--ink);
  background: var(--sheet);
}

.nx-mast-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.nx-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.nx-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid var(--ink);
  background: var(--sheet);
  flex-shrink: 0;
}

.nx-brand b {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.2rem;
}

.nx-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nx-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.nx-links a:hover,
.nx-links a.is-on {
  color: var(--brick);
}

.nx-cta {
  display: flex;
  gap: 0.45rem;
}

.nx-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.nx-pill-line {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.nx-pill-line:hover {
  background: var(--ink);
  color: var(--sheet);
}

.nx-pill-fill {
  border: 1px solid var(--brick);
  background: var(--brick);
  color: #fff7f2;
}

.nx-pill-fill:hover {
  background: var(--brick-deep);
  color: #fff;
}

.nx-ham {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--ink);
  background: var(--sheet);
  cursor: pointer;
}

.nx-ham span,
.nx-ham span::before,
.nx-ham span::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
}

.nx-ham span::before,
.nx-ham span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nx-ham span::before { top: -5px; }
.nx-ham span::after { top: 5px; }

.nx-drawer {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0 1rem;
}

.nx-drawer.is-open { display: block; }

.nx-drawer .nx-links {
  flex-direction: column;
  gap: 0.65rem;
  padding-bottom: 0.85rem;
}

.nx-drawer .nx-cta {
  padding-bottom: 0.4rem;
}

/* opening column */
.nx-open {
  padding: 2.6rem 0 0.4rem;
}

.nx-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: baseline;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.nx-kicker time {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.875rem;
}

.nx-title {
  margin: 0 0 1.1rem;
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(2.15rem, 5.2vw, 3.55rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.nx-byline {
  margin: 0 0 1.8rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--sheet);
}

.nx-byline b {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.nx-byline span {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.nx-byline small {
  display: block;
  margin-top: 0.55rem;
  color: var(--mute);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.nx-kutip {
  margin: 0 0 1.35rem;
  padding: 0.15rem 0 0.15rem 1.05rem;
  border-left: 3px solid var(--brick);
}

.nx-kutip p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.55;
}

.nx-isi {
  margin: 0 0 1.8rem;
  padding: 0.9rem 1.1rem 1.05rem;
  border: 1px solid var(--line);
  background: var(--sheet);
}

.nx-isi p {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.nx-isi ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
}

.nx-isi a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nx-isi a:hover {
  color: var(--brick);
}

.nx-cari {
  display: block;
  width: 100%;
  max-width: var(--measure);
  margin: 0 0 1.6rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--ink);
  background: var(--sheet);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
}

.nx-cari::placeholder {
  color: var(--mute);
}

.nx-cari:focus {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}

.nx-kosong {
  display: none;
  max-width: var(--measure);
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
}

.nx-kosong.is-on {
  display: block;
}

.nx-story .nx-isi ul {
  padding-left: 0;
  max-width: none;
}

.nx-story .nx-isi p {
  max-width: none;
}

.nx-lead {
  max-width: 40rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

/* two-pane: story + ticket */
.nx-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19.5rem;
  gap: 2.5rem;
  align-items: start;
  padding: 2.2rem 0 3.5rem;
}

.nx-story h2 {
  margin: 2.4rem 0 0.7rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.25;
}

.nx-story h2:first-child { margin-top: 0; }

.nx-story h3 {
  margin: 1.5rem 0 0.45rem;
  font-size: 1.05rem;
}

.nx-story p {
  margin: 0 0 1rem;
  max-width: var(--measure);
}

.nx-story ul,
.nx-story ol {
  margin: 0 0 1.1rem;
  padding-left: 1.15rem;
  max-width: var(--measure);
}

.nx-story li { margin: 0.28rem 0; }

.nx-aside {
  color: var(--ink-soft);
  border-left: 2px solid var(--gold);
  margin: 1.25rem 0 1.4rem;
  padding: 0.15rem 0 0.15rem 1rem;
  font-size: 0.98rem;
  max-width: 34rem;
}

.nx-merek {
  max-width: 40rem;
  margin: 0.75rem 0 1rem;
  padding: 0.95rem 1.05rem;
  background: var(--sheet);
  border-left: 3px solid var(--ink);
}

.nx-merek h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.nx-merek p,
.nx-merek ol {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.nx-merek ol {
  margin-top: 0.45rem;
  padding-left: 1.15rem;
}

/* ticket card */
.nx-ticket {
  position: sticky;
  top: 1rem;
  background: var(--sheet);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.nx-ticket-head {
  padding: 1rem 1.05rem 0.85rem;
  border-bottom: 1px dashed var(--line);
}

.nx-ticket-head span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.nx-ticket-head strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--display);
  font-size: 1.45rem;
}

.nx-ticket-body {
  padding: 0.95rem 1.05rem 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.nx-file {
  display: block;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
}

.nx-file:hover {
  border-color: var(--brick);
  color: var(--brick-deep);
}

.nx-file b {
  display: block;
  font-size: 0.92rem;
}

.nx-file small {
  color: var(--mute);
  font-size: 0.78rem;
}

.nx-file.is-main {
  border-color: var(--ink);
  background: #fff4ea;
}

.nx-ticket-foot {
  padding: 0 1.05rem 1.05rem;
  display: grid;
  gap: 0.45rem;
}

.nx-ticket p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--mute);
  line-height: 1.5;
}

/* walkthrough */
.nx-walk {
  list-style: none;
  margin: 1.1rem 0 1.4rem;
  padding: 0;
  max-width: 40rem;
  border-top: 1px solid var(--line);
}

.nx-walk li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.7rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.nx-num {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--brick);
  line-height: 1.2;
}

.nx-walk h3 {
  margin: 0 0 0.25rem;
}

.nx-walk p { margin: 0; }

.nx-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1rem 0 1.3rem;
  max-width: 40rem;
}

.nx-pair article {
  background: var(--sheet);
  border-top: 3px solid var(--ink);
  padding: 0.95rem 1rem 1rem;
}

.nx-pair h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.nx-pair p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nx-note,
.nx-soft {
  max-width: var(--measure);
  margin: 1.1rem 0 1.3rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}

.nx-note {
  background: var(--warn-bg);
}

.nx-soft {
  background: var(--ok-bg);
}

.nx-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1rem 0 1.4rem;
  max-width: 40rem;
}

.nx-tiles div {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 0.85rem 0.8rem 0.9rem;
}

.nx-tiles b {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
}

.nx-tiles span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--mute);
}

.nx-salah {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.65rem;
  margin: 1rem 0 1.4rem;
  max-width: 40rem;
}

.nx-salah article {
  background: var(--sheet);
  padding: 0.9rem 0.85rem 1rem;
  border-top: 3px solid var(--brick);
}

.nx-salah h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.nx-salah p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.nx-suara {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
  max-width: 40rem;
}

.nx-suara article {
  background: var(--sheet);
  border-top: 3px solid var(--gold);
  padding: 0.95rem 1rem 1rem;
}

.nx-suara h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.nx-suara p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.nx-ya {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 1rem 0 1.4rem;
  max-width: 40rem;
}

.nx-ya section {
  padding: 0.9rem 1rem 1rem;
}

.nx-ya .ok { background: var(--ok-bg); }
.nx-ya .no { background: var(--warn-bg); }

.nx-ya h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.nx-ya ul {
  margin: 0;
  padding-left: 1.05rem;
}

.nx-ya li {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.nx-cek {
  list-style: none;
  margin: 1rem 0 1.4rem;
  padding: 0;
  max-width: 40rem;
  border: 1px solid var(--line);
  background: var(--sheet);
}

.nx-cek li {
  margin: 0;
  padding: 0.7rem 0.9rem 0.7rem 2.3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 0.92rem;
}

.nx-cek li:last-child { border-bottom: none; }

.nx-cek li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.9rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 1.5px solid var(--ink);
}

.nx-merek-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 1rem 0 1.3rem;
  max-width: 40rem;
}

.nx-merek-grid .nx-merek { margin: 0; }

.nx-tabel {
  width: 100%;
  max-width: 40rem;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.88rem;
  background: var(--sheet);
}

.nx-tabel th,
.nx-tabel td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.nx-tabel th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 650;
}

.nx-tabel em {
  font-style: normal;
  color: var(--brick);
  font-weight: 650;
}

.nx-gejala {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.4rem;
  max-width: 40rem;
}

.nx-gejala article {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.8rem;
  background: var(--sheet);
  border-left: 3px solid var(--ink);
  padding: 0.75rem 0.9rem;
}

.nx-gejala h3 {
  margin: 0;
  font-size: 0.88rem;
}

.nx-gejala p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.nx-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1.5rem 0;
  max-width: 40rem;
}

.nx-shots figure { margin: 0; }

.nx-shots img,
.nx-sq img,
.nx-picrow img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #d8d0c6;
}

.nx-shots figcaption,
.nx-sq figcaption {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--mute);
  line-height: 1.4;
}

.nx-sq {
  margin: 1.5rem 0;
  max-width: 18rem;
}

.nx-picrow {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 1rem;
  align-items: start;
  max-width: 40rem;
  margin: 1.4rem 0 1.6rem;
}

.nx-picrow p {
  margin: 0;
  font-size: 0.95rem;
}

.nx-frame {
  margin: 1.5rem 0;
  max-width: 18rem;
}

.nx-frame figcaption {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--mute);
}

.nx-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #d8d0c6;
}

/* questions */
.nx-q {
  margin: 0.55rem 0;
  max-width: 40rem;
  border-bottom: 1px solid var(--line);
}

.nx-q summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1.6rem 0.85rem 0;
  font-weight: 650;
  position: relative;
}

.nx-q summary::-webkit-details-marker { display: none; }

.nx-q summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.8rem;
  font-family: var(--display);
  font-weight: 500;
  color: var(--brick);
}

.nx-q[open] summary::after { content: "–"; }

.nx-q p {
  margin: 0 0 0.95rem;
  color: var(--ink-soft);
}

/* closing strip */
.nx-end {
  margin: 2.2rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--ink);
  max-width: 40rem;
}

.nx-end p { margin: 0 0 1rem; }

.nx-end-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* footer */
.nx-foot {
  border-top: 2px solid var(--ink);
  background: #1c1612;
  color: #efe6da;
  padding: 2.2rem 0 5.5rem;
}

.nx-foot a { color: #f0d2b8; }

.nx-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.6rem;
}

.nx-foot h2 {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4a06a;
}

.nx-foot p,
.nx-foot li {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #d9cbbd;
}

.nx-foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nx-foot li { margin: 0.28rem 0; }

.nx-copy {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid #3a322c;
  font-size: 0.8rem;
  color: #b7a99c;
}

/* mobile dock */
.nx-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 250, 243, 0.96);
  border-top: 1px solid var(--ink);
}

@media (max-width: 980px) {
  .nx-split {
    grid-template-columns: 1fr;
  }

  .nx-ticket {
    position: static;
    order: -1;
    max-width: 24rem;
  }

  .nx-foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nx-salah { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nx-links.nx-desk,
  .nx-cta.nx-desk { display: none; }

  .nx-ham { display: inline-flex; align-items: center; justify-content: center; }

  .nx-title { max-width: none; }

  .nx-pair,
  .nx-ya,
  .nx-merek-grid,
  .nx-picrow,
  .nx-gejala article { grid-template-columns: 1fr; }

  .nx-tiles,
  .nx-salah,
  .nx-shots { grid-template-columns: 1fr 1fr; }

  .nx-sq,
  .nx-frame { max-width: 16rem; }

  .nx-foot {
    padding-bottom: 6.2rem;
  }

  .nx-foot-grid { grid-template-columns: 1fr; }

  .nx-dock { display: flex; }

  .nx-dock .nx-pill { flex: 1; }
}

@media (min-width: 761px) {
  .nx-drawer.is-open { display: none; }
}
