/* Contoh bengkel. Warna dari foto ruangnya: plester krem, hijau pintu lipat, merah tenda, abu baja. */
@font-face { font-family: 'Big Shoulders'; src: url('/huruf/big-shoulders.woff2') format('woff2'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: Barlow; src: url('/huruf/barlow-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url('/huruf/barlow-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
:root { --krem: #efe6d6; --hijau: #16392b; --gelap: #101f18; --merah: #c2332a; --baja: #7d868a; --lubang: #cabda6; --lantai: #d5d6d3; --tepi: clamp(20px, 4.6vw, 76px); }
html { scroll-behavior: smooth; }
body { background: var(--krem); color: var(--gelap); font: 400 18px/1.5 Barlow, 'Segoe UI', sans-serif; }
a { color: var(--hijau); text-underline-offset: 5px; }
h1, h2 { font-family: 'Big Shoulders', Impact, sans-serif; font-weight: 900; color: var(--hijau); text-transform: uppercase; }
h2 { font-size: clamp(42px, 4.6vw, 72px); line-height: 0.92; }

.depan { position: relative; display: flex; flex-direction: column; min-height: min(56vw, 880px); background: #cfc2ae; overflow: hidden; }
.depan picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 70%; }
.kepala { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 30px; max-width: 33vw; padding: 24px 0 24px var(--tepi); }
.nama { padding: 5px 0; font: 900 34px/1.1 'Big Shoulders', Impact, sans-serif; color: var(--hijau); text-decoration: none; text-transform: uppercase; }
.kepala nav { display: flex; gap: 22px; }
.kepala nav a { padding: 11px 0; font-weight: 600; text-decoration: none; }
.kepala nav a:hover { text-decoration: underline; }
.sapa { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; width: 28.6vw; margin-left: var(--tepi); padding: 0 0 7vw; }
h1 { font-size: clamp(40px, 5.7vw, 112px); line-height: 0.86; }
.sapa p { max-width: 23em; font-size: clamp(17px, 1.35vw, 21px); }
.merah { display: inline-flex; align-items: center; min-height: 56px; padding: 8px 26px; background: var(--merah); color: #fff; font: 800 25px/1 'Big Shoulders', Impact, sans-serif; text-decoration: none; }
.merah:hover { background: var(--gelap); }

/* Papan alat: lubang-lubang kecil, kunci pas tergantung, panjangnya mengikuti lama pengerjaan. */
.papan { padding: clamp(50px, 6vw, 96px) var(--tepi); background: radial-gradient(circle, var(--lubang) 2.6px, transparent 3.2px) 0 0 / 28px 28px var(--krem); border-block: 14px solid var(--hijau); }
.papan .judul { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 36px; margin-bottom: 30px; }
.papan .judul p { font-size: 20px; font-weight: 600; }
.papan h2, .papan .judul p, .catatan, .papan th, .papan td:nth-child(n + 3), .k15, .k25, .k30, .k45, .k60, .khari { background: linear-gradient(var(--krem), var(--krem)) 0 50% / 100% 100% no-repeat; }
.papan td:nth-child(2) { background: none; }
.papan td b { padding: 2px 8px; margin-left: -8px; background: var(--krem); font-weight: 600; }
.pola { position: absolute; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; font-weight: 400; vertical-align: middle; }
thead th { padding: 0 18px 10px 0; font-weight: 600; }
tbody tr { border-top: 2px solid var(--hijau); }
tbody tr:last-child { border-bottom: 2px solid var(--hijau); }
tbody th { width: 21%; padding: 20px 18px 20px 0; font: 800 clamp(23px, 2vw, 30px)/1.05 'Big Shoulders', Impact, sans-serif; color: var(--hijau); }
tbody td { padding: 12px 18px 12px 0; }
tbody td:nth-child(2) { display: flex; align-items: center; gap: 16px; min-height: 84px; font-weight: 600; white-space: nowrap; }
tbody td:nth-child(n + 3), thead th:nth-child(n + 3) { width: 13%; text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
tbody td:nth-child(n + 3) { font: 800 clamp(26px, 2.3vw, 34px)/1 'Big Shoulders', Impact, sans-serif; white-space: nowrap; }
.alat { display: flex; align-items: center; min-width: 92px; filter: drop-shadow(0 4px 0 rgb(16 31 24 / 0.22)); }
.alat svg { flex: none; width: 40px; height: 40px; fill: var(--baja); }
.alat i { flex: 1; height: 13px; margin: 0 -7px; background: linear-gradient(#a6adb0 0 5px, var(--baja) 5px); }
.k15 .alat { width: 20%; } .k25 .alat { width: 29%; } .k30 .alat { width: 34%; } .k45 .alat { width: 48%; } .k60 .alat { width: 62%; } .khari .alat { flex: 1; }
.catatan { margin-top: 24px; font-weight: 600; }

.bekas { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); align-items: center; background: #fff; }
.bekas img { width: 100%; height: 100%; object-fit: cover; }
.bekas div { display: flex; flex-direction: column; gap: 18px; padding: clamp(40px, 5vw, 80px) var(--tepi) clamp(40px, 5vw, 80px) clamp(24px, 5vw, 76px); }
.bekas p { font-size: 20px; max-width: 26em; }

.cek { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 30px clamp(30px, 6vw, 100px); align-items: center; padding: clamp(50px, 6vw, 92px) var(--tepi); background: var(--lantai); }
.cek ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 6px 40px; }
.cek li { position: relative; padding: 11px 0 11px 44px; font-size: 20px; }
.cek li::before { content: ''; position: absolute; left: 0; top: 13px; width: 26px; height: 26px; border: 3px solid var(--hijau); background: #fff; }
.cek li::after { content: ''; position: absolute; left: 9px; top: 7px; width: 10px; height: 20px; border: solid var(--merah); border-width: 0 5px 5px 0; transform: rotate(40deg); }

.antre { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 4fr); background: var(--hijau); color: #fff; }
.antre div { display: flex; flex-direction: column; gap: 16px; padding: clamp(50px, 6vw, 96px) clamp(20px, 3vw, 50px) clamp(50px, 6vw, 96px) var(--tepi); }
.antre div + div { padding-left: clamp(20px, 3vw, 50px); border-left: 2px solid rgb(255 255 255 / 0.28); }
.antre h2 { color: #fff; }
.antre p { max-width: 24em; }
.nomor { margin-top: auto; padding-top: 10px; font: 800 clamp(34px, 3.1vw, 50px)/1 'Big Shoulders', Impact, sans-serif; white-space: nowrap; }
.antre img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

.tempat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); align-items: center; background: #cfe3ee; }
.tempat img { width: 100%; height: 100%; max-height: 920px; object-fit: cover; object-position: 50% 100%; }
.tempat > div { display: flex; flex-direction: column; gap: 22px; padding: clamp(46px, 6vw, 96px) clamp(24px, 5vw, 90px) clamp(46px, 6vw, 96px) var(--tepi); }
.tempat p { font-size: 20px; max-width: 28em; }
dl { border-top: 2px solid var(--hijau); max-width: 560px; }
dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 20px; padding: 12px 0; border-bottom: 2px solid var(--hijau); }
dd { font-weight: 600; font-variant-numeric: tabular-nums; }

.kaki { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 40px; padding: 30px var(--tepi); background: var(--gelap); color: #fff; }
.kaki .nama { color: #fff; }

@media (max-width: 1080px) {
  .bekas, .cek { grid-template-columns: minmax(0, 1fr); }
  .bekas div { padding-left: var(--tepi); }
  .antre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .antre img { grid-column: 1 / -1; max-height: 380px; min-height: 0; object-position: 50% 62%; }
}
@media (max-width: 820px) {
  .depan { min-height: 0; background: #ded3c1; }
  .depan picture { order: 3; }
  .depan picture img { position: static; height: auto; aspect-ratio: 1000 / 868; }
  .sapa { width: auto; margin: 0 var(--tepi); padding: 10px 0 32px; }
  h1 { font-size: clamp(48px, 16.5vw, 104px); }
  .kepala { justify-content: space-between; max-width: none; padding: 14px var(--tepi) 4px; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table, tbody { display: block; }
  tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; padding: 16px 0 18px; }
  tbody th { grid-column: 1 / -1; width: auto; padding: 0; font-size: 27px; }
  tbody td, tbody td:nth-child(2) { padding: 0; min-height: 56px; }
  tbody td:nth-child(2) { grid-column: 1 / -1; }
  tbody td:nth-child(n + 3) { width: auto; min-height: 0; text-align: left; font-size: 29px; }
  tbody td:nth-child(n + 3)::before { content: attr(data-jenis); display: block; font: 400 16px/1.5 Barlow, sans-serif; }
  .antre, .tempat { grid-template-columns: minmax(0, 1fr); }
  .antre div, .antre div + div { padding: 44px var(--tepi); border-left: 0; }
  .antre div + div { border-top: 2px solid rgb(255 255 255 / 0.28); }
  .tempat img { aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
