@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/atkinson-400.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/atkinson-700.woff2") format("woff2");
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/literata-700.woff2") format("woff2");
}

:root {
  --ink: #231c16;
  --muted: #534b43;
  --paper: #f6f1e8;
  --paper-2: #efe8dc;
  --card: #fffdf9;
  --line: #ddd4c6;
  --line-strong: #6f655b;
  --rust: #8e2f22;
  --rust-dark: #6f241b;
  --open: #0e5a30;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

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

a { color: var(--rust); }
a:visited { color: var(--rust); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 30;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
@media (min-width: 800px) {
  .wrap { width: min(1120px, calc(100% - 80px)); }
}

h1, h2, h3 {
  font-family: "Literata", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  margin: 0;
}
h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.85rem;
  background: var(--rust);
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin: 0;
}
h3 { font-size: 1.2rem; margin: 0 0 8px; }

p { margin: 0 0 12px; text-wrap: pretty; }

.lead {
  color: var(--muted);
  max-width: 40rem;
  margin-top: 12px;
}

.kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}

.demo {
  margin: 0;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.4;
}
.demo strong { display: block; font-size: 1rem; }
.demo a,
.demo a:visited { color: var(--paper); }
.demo :focus-visible { outline-color: var(--paper); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand cta"
    "nav nav";
  align-items: center;
  column-gap: 12px;
  padding-block: 8px;
}
.header-inner > * { min-width: 0; }
.brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  justify-content: center;
}
.brand:visited { color: var(--ink); }
.brand-name {
  font-family: "Literata", Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-note {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
  white-space: nowrap;
}
.nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.nav a:visited { color: var(--ink); }
.nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.header-cta { grid-area: cta; }

@media (min-width: 900px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav cta";
    min-height: 76px;
    padding-block: 0;
  }
  .nav { justify-content: flex-end; padding-right: 8px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1.5px solid transparent;
  border-radius: 2px;
  font: 700 1rem/1 "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
}
.btn-primary,
.btn-primary:visited {
  background: var(--rust);
  color: #fff;
  border-color: var(--rust);
}
.btn-primary:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.btn-line,
.btn-line:visited {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper,
.btn-paper:visited {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-paper:hover { background: #fff; }

.hero { padding: 28px 0 8px; }
.hero-grid {
  display: grid;
  gap: 22px;
}
.hero-grid > * { min-width: 0; }
.hero .lead { margin-top: 16px; }
.fact { margin: 16px 0 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.fact a { color: var(--ink); font-weight: 700; }
.fact a:visited { color: var(--ink); }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.hero-photo { margin: 8px 0 0; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { margin-top: 8px; font-size: 0.8rem; color: var(--muted); }

.status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--muted);
}
.status-dot {
  width: 9px;
  height: 9px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status.is-open { color: var(--open); }
.status.is-closed { color: var(--rust); }

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero-actions .btn { width: auto; }
}
@media (min-width: 900px) {
  .hero { padding: 48px 0 28px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
  }
}

section { padding: 56px 0; }
@media (min-width: 800px) { section { padding: 84px 0; } }
.hero { padding-bottom: 36px; }
.band { background: var(--paper-2); }
.section-head { margin-bottom: 28px; max-width: 40rem; }
section[id] { scroll-margin-top: 9.5rem; }
@media (min-width: 900px) {
  section[id] { scroll-margin-top: 6rem; }
}

.jobs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.jobs > li {
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.jobs h3 { margin: 0 0 4px; font-size: 1.25rem; }
.jobs p { margin: 0; color: var(--muted); }
.num {
  color: var(--rust);
  font-variant-numeric: tabular-nums;
  margin-right: 0.45rem;
}
.next { margin: 20px 0 0; font-weight: 700; }

@media (min-width: 800px) {
  .jobs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 48px;
  }
}

.composer-grid {
  display: grid;
  gap: 16px;
}
.composer-grid > * { min-width: 0; }
.composer-fields {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px 16px 4px;
}
fieldset {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
  min-width: 0;
}
legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.hint { margin: 10px 0 0; color: var(--muted); font-size: 0.92rem; }

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 8px;
}
.choice { position: relative; display: block; min-width: 0; }
.choice input,
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice input:focus,
.chip input:focus { outline: none; }
.choice input:focus-visible + span,
.chip input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.choice span,
.chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 12px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}
.choice input:checked + span,
.chip input:checked + span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.choice span:hover,
.chip span:hover { border-color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; max-width: 100%; }

.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.other-field { display: none; margin-top: 12px; }
#keluhan-form:has(#mobil-lain:checked) .other-field { display: block; }

input[type="text"],
textarea {
  width: 100%;
  max-width: 100%;
  font: 400 1rem/1.4 "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  padding: 12px;
  min-height: 48px;
}
textarea { min-height: 96px; resize: vertical; }
::placeholder { color: var(--muted); opacity: 1; }

.ticket {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 18px 18px;
  border-top: 8px solid var(--rust);
}
.ticket h3 { color: var(--paper); margin-bottom: 6px; }
.ticket-note { margin: 0 0 14px; color: #e7dccd; font-size: 0.92rem; }
.ticket :focus-visible { outline-color: var(--paper); }
.preview {
  margin: 0 0 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(246, 241, 232, 0.28);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  min-height: 7.5em;
}
.ticket .btn { width: 100%; }

@media (min-width: 900px) {
  .composer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr);
    gap: 20px;
    align-items: start;
  }
  .composer-fields { padding: 26px 24px 8px; }
  .ticket { position: sticky; top: 6.5rem; }
}

.visit-grid { display: grid; gap: 28px; }
.visit-grid > * { min-width: 0; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1;
  font-family: "Literata", Georgia, serif;
  font-weight: 700;
  color: var(--rust);
  font-size: 1.15rem;
  line-height: 1.2;
}
.steps h3 { grid-column: 2; grid-row: 1; margin: 0; min-width: 0; }
.steps p { grid-column: 2; grid-row: 2; margin: 0; color: var(--muted); min-width: 0; }
.visit-photo { margin: 0; }
.visit-photo img { width: 100%; height: auto; }

@media (min-width: 860px) {
  .visit-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
  }
}

.loc-grid { display: grid; gap: 20px; }
.loc-grid > * { min-width: 0; }
.loc-card h3 { margin-top: 22px; }
.loc-card h3:first-child { margin-top: 0; }
address { font-style: normal; margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; table-layout: fixed; }
.hours th,
.hours td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
  font-weight: 400;
}
.hours th { width: 58%; text-align: left; font-weight: 700; padding-right: 12px; }
.hours td { width: 42%; text-align: right; white-space: nowrap; }
.hours tr.is-today th,
.hours tr.is-today td { font-weight: 700; }
.today-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
}

.map-slot {
  min-height: 240px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px 16px;
  text-align: center;
  background: #e7e0d4;
  border: 1px solid var(--line);
}
.map-slot p { margin: 0; max-width: 26rem; }
.map-slot.is-loaded {
  display: block;
  padding: 0;
  height: 320px;
  min-height: 320px;
}
.map-slot iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link-row { margin: 12px 0 0; }

@media (min-width: 860px) {
  .loc-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
}

.close {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0;
}
.close h2 { color: var(--paper); max-width: 22ch; }
.close p { color: #e7dccd; margin: 10px 0 0; }
.close-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.close .btn { width: 100%; }
.close :focus-visible { outline-color: var(--paper); }
@media (min-width: 700px) {
  .close { padding: 64px 0; }
  .close-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .close .btn { width: auto; }
}

.site-footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-demo { color: var(--ink); }
.credits { margin-bottom: 0; }

::selection { background: #ead7cf; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
