/* Standard Black Gold Kacip Style, taken from KacipTablets.
   Layout: full-bleed night gate, an uneven photo mosaic of city life, then the Warga Baru pass as the page's one object. */
:root {
  --gold: #b49a50;
  --gold-bright: #c9b579;
  --gold-muted: #8a7747;
  --text: #efeeeb;
  --muted: #a3a3a6;
  --line: #2a2a2d;
  --line-2: #303033;
  --surface: #191a1c;
  --surface-2: #111213;
  --sunken: #0c0d0e;
  --on-gold: #14130f;
  --ok: #7fbf7a;
  --off: #c9736a;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--sunken);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  -webkit-text-size-adjust: 100%;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--sunken);
}
img { display: block; max-width: 100%; }
a { color: var(--gold-bright); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
[hidden] { display: none !important; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
code {
  font: 500 .9em ui-monospace, Consolas, monospace;
  color: var(--gold-bright);
  overflow-wrap: anywhere;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) {
  :root { --gutter-l: max(32px, env(safe-area-inset-left, 0px)); --gutter-r: max(32px, env(safe-area-inset-right, 0px)); }
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h2 {
  margin-top: 10px;
  font: 700 clamp(32px, 5vw, 54px)/1.08 var(--display);
  text-transform: uppercase;
  letter-spacing: .005em;
  text-wrap: balance;
}
h3 { font-weight: 700; font-size: 18px; line-height: 1.3; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost { border-color: var(--gold-muted); color: var(--text); background: rgba(12, 13, 14, .55); }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-small { min-height: 44px; margin-top: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-block; margin-top: 4px; font-weight: 700; font-size: 14px; }

/* Top bar */
.bar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--sunken);
  border-bottom: 1px solid var(--line);
}
.bar-in {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  min-height: 60px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 700 19px/1 var(--display);
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: var(--gold-bright); }
.lang { display: flex; margin-left: auto; border: 1px solid var(--line-2); }
.nav + .lang { margin-left: 0; }
.lang button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  background: none;
  color: var(--muted);
  font: 700 12px var(--body);
  letter-spacing: .06em;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
@media (max-width: 860px) {
  .nav { display: none; }
  .nav + .lang { margin-left: auto; }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 820px);
  overflow: hidden;
  background: #070a12;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--sunken) 4%, rgba(12, 13, 14, .94) 50%, rgba(12, 13, 14, 0) 76%);
}
.hero-in {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 150px var(--gutter-r) 48px var(--gutter-l);
  display: grid;
  gap: 18px;
}
h1 {
  font: 700 clamp(56px, 8.7vw, 124px)/1 var(--display);
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: -.005em;
}
.nowrap { white-space: nowrap; }
.lede { max-width: 56ch; color: #d8d7d3; font-size: clamp(16px, 1.6vw, 18px); }
.status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-self: start;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  background: rgba(12, 13, 14, .8);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.status strong { color: var(--gold-bright); font: 700 16px var(--display); letter-spacing: .03em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--off); }
.status[data-state="online"] .status-dot { background: var(--ok); }

@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero-img { height: 260px; object-position: 8% 0; }
  .hero::after { background: linear-gradient(180deg, rgba(12, 13, 14, 0) 110px, var(--sunken) 250px); }
  .hero-in { padding-top: 220px; padding-bottom: 40px; }
}

/* City life */
.hidup { padding-block: 72px 80px; }
.mosaic {
  display: grid;
  gap: 4px;
  margin-top: 36px;
  grid-template-columns: repeat(12, 1fr);
}
.tile {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: var(--surface-2);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tile:hover img { transform: scale(1.03); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 9, .94) 8%, rgba(8, 8, 9, .5) 44%, rgba(8, 8, 9, 0) 72%);
}
.tile figcaption {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px max(20px, var(--gutter-r)) 20px max(20px, var(--gutter-l));
}
.tile h3 { font: 700 28px/1.1 var(--display); text-transform: uppercase; color: var(--gold-bright); }
.tile p { max-width: 44ch; margin-top: 6px; font-size: 14px; line-height: 1.5; color: #dddcd8; }
.t-polis { grid-column: span 7; min-height: 430px; }
.t-bomba { grid-column: span 5; min-height: 430px; }
.t-mekanik { grid-column: span 4; }
.t-kereta { grid-column: span 4; }
.t-rumah { grid-column: span 4; }
.t-crew { grid-column: 1 / -1; min-height: 400px; }
.t-crew img { object-position: 50% 30%; }
@media (max-width: 860px) {
  .mosaic > .tile { grid-column: 1 / -1; min-height: 300px; }
}

.season { margin-top: 56px; }
.season-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.season-list img { width: 100%; height: auto; }
@media (max-width: 560px) {
  .season-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.jobs { margin-top: 56px; }
.jobs-title { font: 700 26px/1.2 var(--display); text-transform: uppercase; }
.jobs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.jobs-list li {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  color: #d8d7d3;
  font-size: 14px;
}
.jobs-list .jobs-more { border-color: var(--gold-muted); color: var(--gold-bright); font-weight: 700; }

/* How to join + pass */
.masuk {
  padding-block: 80px;
  background: linear-gradient(115deg, var(--surface-2), var(--surface));
  border-block: 1px solid var(--line);
}
.masuk-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
}
.masuk-steps { min-width: 0; }
.steps { margin-top: 34px; counter-reset: step; display: grid; gap: 28px; }
.steps > li {
  position: relative;
  padding-left: 60px;
  counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -6px;
  width: 42px;
  color: var(--gold);
  font: 700 40px/1 var(--display);
}
.steps p { margin-top: 4px; color: #c9c8c5; font-size: 15px; }
.address {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 8px 8px 14px;
  background: var(--sunken);
  border: 1px solid var(--line-2);
}
.steps .alt-note { margin-top: 16px; }
.address code { flex: 1; min-width: 0; }
.address button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--gold-muted);
  background: none;
  color: var(--text);
  font: 700 12px var(--body);
  cursor: pointer;
}
.kad {
  min-width: 0;
  background: radial-gradient(circle at 100% 0, rgba(180, 154, 80, .2), transparent 58%), var(--sunken);
  border: 1px solid var(--gold-muted);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  gap: 18px;
}
.kad-head { display: flex; align-items: center; gap: 14px; }
.kad-kicker { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.kad-title { font: 700 28px/1.15 var(--display); text-transform: uppercase; }
.kad-rows { display: grid; }
.kad-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.kad-rows dt { color: var(--muted); }
.kad-rows dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.kad-guard p:last-child { margin-top: 3px; color: #c9c8c5; font-size: 14px; line-height: 1.55; }
.kad-guard-title { color: var(--gold-bright); font-weight: 700; font-size: 14px; }
@media (max-width: 860px) {
  .masuk-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Rules */
.peraturan { position: relative; overflow: hidden; padding-block: 88px; }
.band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
  opacity: .28;
}
.peraturan-in { position: relative; }
.rule-list { margin-top: 18px; counter-reset: rule; display: grid; gap: 6px; }
.rule-list li {
  font: 700 clamp(34px, 6.4vw, 72px)/1.14 var(--display);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.rule-foot { margin-block: 22px 20px; color: #d8d7d3; }

/* News */
.berita { padding-block: 72px; border-top: 1px solid var(--line); }
.news-list { margin-top: 24px; }
.news-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.news-list time { color: var(--gold); font-variant-numeric: tabular-nums; min-width: 110px; }
.news-list span { flex: 1 1 280px; min-width: 0; }

/* Team */
.pemerintah { padding-block: 80px; background: var(--surface-2); border-top: 1px solid var(--line); }
.staff-grid {
  display: grid;
  gap: 36px;
  margin-top: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tier { min-width: 0; border-top: 2px solid var(--gold); padding-top: 14px; }
.tier h3 { font: 700 24px/1.2 var(--display); text-transform: uppercase; }
.tier-note { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.tier ul { margin-top: 14px; display: grid; gap: 6px; }
.tier li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  font-size: 15px;
  font-weight: 500;
}
.tag {
  padding: 1px 6px;
  border: 1px solid var(--gold-muted);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sultan { margin-top: 56px; }
.sultan > h3 { font: 700 24px/1.2 var(--display); text-transform: uppercase; }
.sultan-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sultan-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-content: center;
  background: var(--sunken);
  border: 1px solid var(--line);
  padding: 10px;
}
.sultan-list img { grid-row: 1 / 3; width: 96px; height: 108px; object-fit: cover; object-position: top; }
.sultan-rank { align-self: end; color: var(--gold); font: 700 18px/1.1 var(--display); }
.sultan-name { font-weight: 700; font-size: 15px; line-height: 1.3; }
@media (max-width: 860px) {
  .staff-grid, .sultan-list { grid-template-columns: minmax(0, 1fr); }
}

/* Closing + footer */
.akhir { padding-block: 72px; border-top: 1px solid var(--line); }
.akhir-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.akhir h2 { margin: 0; }
.foot { padding-block: 26px; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 16px; }
.foot p { color: var(--muted); font-size: 12px; line-height: 1.55; min-width: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, .btn { transition: none; }
  .tile:hover img { transform: none; }
}
