/* Tumpu, template Gym (Rakitdata.com)
   Bahasa visual: neo-brutal. Poster kompetisi angkat beban dan stiker gym:
   kuning listrik + putih, tinta hitam, garis 3px, bayangan keras tanpa blur, satu oranye-merah untuk stiker.
   Alasan tiap keputusan ada di DESIGN.md. */

@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Rethink Sans"; src: url("../fonts/rethink-sans-latin-wght.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  /* palet inti */
  --yellow: #FFE500;      /* tinta di atasnya 15,5:1 */
  --yellow-soft: #FFF48C; /* hanya untuk hover */
  --white: #FFFFFF;
  --ink: #0A0A0A;         /* di atas putih 19,8:1 */
  --ink-2: #3D3D3D;       /* teks kedua: 10,9:1 di putih, 8,5:1 di kuning */
  --on-ink-2: #BDBDBD;    /* teks kedua di blok hitam, 10,5:1 */
  /* aksen tunggal: stiker */
  --sticker: #FF4D1A;     /* tinta di atasnya 6,0:1. Tidak pernah dipakai sebagai warna teks di atas kuning (2,6:1) atau putih (3,3:1). */

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Rethink Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --bw: 3px;              /* garis tinta */
  --sh: 6px;              /* bayangan keras kartu */
  --r: 8px;               /* tombol, isian */
  --r-card: 10px;         /* kartu */
  --gut: clamp(16px, 4vw, 40px);
  --cw: calc(min(100vw, 1200px) - 2 * var(--gut)); /* lebar isi wrap */
}

/* ---------- dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .94; letter-spacing: .005em; }
h2 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1; }
p { margin: 0; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

a[href], button:not(:disabled), summary, select:not(:disabled), label[for], label:has(> input:not(:disabled)), input[type="radio"]:not(:disabled), input[type="checkbox"]:not(:disabled), [role="tab"] { cursor: pointer; }
:disabled, [aria-disabled="true"] { cursor: not-allowed; }

/* Fokus: garis tinta 3px dengan jarak, kuning di blok hitam. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.jam :focus-visible, .member :focus-visible, .footer :focus-visible { outline-color: var(--yellow); }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gut); }

.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--yellow); color: var(--ink); border: var(--bw) solid var(--ink); padding: 10px 14px; font-weight: 800; }
.skip:focus { top: 12px; }

/* galat bersama: label oranye bertinta, bentuknya sama dengan stiker */
.field__err, .calc__err, .is-err { font-weight: 800; }
.field__err, .calc__err { display: inline-block; justify-self: start; margin-top: 10px; padding: 4px 9px; background: var(--sticker); color: var(--ink); border: 2px solid var(--ink); font-size: .9rem; line-height: 1.35; }
.field__err:empty, .calc__err:empty { display: none; }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 11px 22px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--yellow); color: var(--ink); font: 800 1.02rem/1.15 var(--sans); text-decoration: none; text-align: center; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s, background-color .12s; }
.btn:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--sm { min-height: 44px; padding: 7px 14px; font-size: .95rem; }
.btn--paper { background: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--sticker); }
.btn--ink:hover { color: var(--white); box-shadow: 6px 6px 0 var(--sticker); }
.btn--ink:active { box-shadow: 0 0 0 var(--sticker); }
.btn:disabled { background: #E5E5E5; color: #575757; border-color: #575757; box-shadow: none; transform: none; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.textlink { display: inline-flex; align-items: center; min-height: 48px; padding: 0 6px; font-weight: 800; font-size: 1.05rem; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.textlink:hover { background: var(--ink); color: var(--yellow); text-decoration: none; }

/* ---------- motif: stiker miring ---------- */
.sticker { --rot: -6deg; display: inline-block; padding: 8px 14px 9px; background: var(--sticker); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: 4px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(var(--rot)); font-weight: 700; line-height: 1.2; }
.sticker b { display: block; font: 400 2.15rem/1 var(--display); letter-spacing: .01em; }
/* Ditempel sekali saat pertama terlihat (main.js menambah .is-slap). */
.js [data-slap] { opacity: 0; }
.js [data-slap].is-slap, .sticker.is-slap, .card__stamp { opacity: 1; animation: slap .42s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes slap {
  0% { opacity: 0; transform: rotate(calc(var(--rot) - 16deg)) scale(1.4); }
  60% { opacity: 1; transform: rotate(calc(var(--rot) + 2deg)) scale(.96); }
  100% { opacity: 1; transform: rotate(var(--rot)) scale(1); }
}

/* avatar inisial: kotak bertinta, bukan foto */
.ava { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; background: var(--yellow); color: var(--ink); border: var(--bw) solid var(--ink); font: 400 1.35rem/1 var(--display); letter-spacing: .02em; }
.ava--dark { background: var(--ink); color: var(--yellow); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: var(--bw) solid var(--ink); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; position: relative; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font: 400 2rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.wordmark__sub { font: 700 .85rem/1.1 var(--sans); text-transform: none; letter-spacing: 0; max-width: 8ch; }
.wordmark:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.nav { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border: var(--bw) solid transparent; border-radius: 6px; font-weight: 700; font-size: .98rem; text-decoration: none; }
.nav a:hover { background: var(--yellow); border-color: var(--ink); }
.header__cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header__tel { font: 400 1.25rem/1 var(--display); letter-spacing: .03em; text-decoration: none; padding: 12px 0; }
.header__tel:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.menu-btn { display: none; min-height: 44px; padding: 7px 14px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--white); font-weight: 800; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.menu-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--yellow); transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--yellow); border-bottom: var(--bw) solid var(--ink); padding: clamp(18px, 3vw, 34px) 0 clamp(44px, 5.5vw, 72px); overflow-x: clip; }
.kicker { font-weight: 800; font-size: 1.02rem; margin-bottom: 12px; }
/* Ukuran judul dihitung dari lebar isi supaya huruf Anton memenuhi lebar layar tanpa melewatinya.
   Pembagi = lebar baris terpanjang dalam em (diukur dari Anton) + cadangan. */
.hero__head { --hs: calc(var(--cw) / 5.3); position: relative; }
.hero h1 { font-size: var(--hs); line-height: .9; letter-spacing: 0; }
.hl { display: block; width: fit-content; margin-top: .05em; padding: .04em .1em 0; background: var(--ink); color: var(--yellow); }
/* Stiker hero ditempel sekali saat halaman dibuka (CSS saja, tanpa menunggu JS). */
.sticker--hero { --rot: -5deg; position: relative; z-index: 2; display: table; margin: -12px 4px 0 auto; font-size: .98rem; animation: slap .45s .3s cubic-bezier(.2, .9, .3, 1.2) both; }

.hero__row { display: grid; gap: 30px; margin-top: clamp(26px, 3.5vw, 44px); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.24rem); line-height: 1.5; font-weight: 500; max-width: 44ch; }
.hero__actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__facts { list-style: none; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts li { display: flex; align-items: baseline; gap: 8px; padding: 7px 14px 8px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: 6px; font-weight: 700; }
.hero__facts b { font: 400 1.6rem/1 var(--display); }

/* Foto menembus tepi kanan layar; garis tebal di tiga sisi, bayangan keras jatuh ke kanan bawah. */
.hero__stage { position: relative; margin-right: calc((min(100vw, 1200px) - 100vw) / 2 - var(--gut)); }
.hero__photo { width: 100%; height: auto; aspect-ratio: 4 / 3.1; object-fit: cover; object-position: 66% 50%; border: 4px solid var(--ink); border-right: 0; box-shadow: 12px 12px 0 var(--ink); }

/* papan lantai: papan skor bergaris, menumpang tepi bawah foto */
.status { position: relative; z-index: 2; display: grid; margin-top: -26px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-card); box-shadow: var(--sh) var(--sh) 0 var(--ink); overflow: hidden; }
.status > * { padding: 12px 16px; }
.status > * + * { border-top: var(--bw) solid var(--ink); }
.status__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: var(--white); }
.status__title { font-size: 1.55rem; }
.status__clock { font: 400 1.3rem/1 var(--display); letter-spacing: .03em; background: var(--yellow); color: var(--ink); padding: 6px 9px 5px; border-radius: 4px; white-space: nowrap; }
.status__open { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.status__open::before { content: ""; flex: none; width: 16px; height: 16px; border: var(--bw) solid var(--ink); background: var(--white); }
.status__open.is-open::before { background: var(--ink); box-shadow: inset 0 0 0 3px var(--yellow); }
.status__now { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.status__lbl { font-size: .92rem; font-weight: 700; color: var(--ink-2); }
.status__val { font: 400 1.9rem/1 var(--display); text-transform: uppercase; white-space: nowrap; letter-spacing: .01em; }
.status__val.is-hot { background: var(--sticker); padding: 4px 8px 2px; border: 2px solid var(--ink); }
.mini { list-style: none; display: flex; align-items: flex-end; gap: 3px; height: 72px; }
.mini li { flex: 1; height: var(--v); min-height: 3px; background: var(--ink); }
.mini li.is-hot { background: var(--sticker); box-shadow: inset 0 0 0 2px var(--ink); }
.mini li.is-now { background: var(--yellow); box-shadow: inset 0 0 0 3px var(--ink); }
.mini li.is-now.is-hot { background: var(--sticker); box-shadow: inset 0 0 0 3px var(--ink), 0 -6px 0 var(--ink); }
.status__quiet { font-size: .96rem; line-height: 1.4; font-weight: 600; }
.status__quiet b { display: inline-block; font: 400 1.3rem/1 var(--display); letter-spacing: .02em; }
.status__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 14px; padding-block: 4px !important; }
.status__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration-thickness: 3px; }
.status__link:hover { background: var(--yellow); }
.status__src { font-size: .84rem; font-weight: 600; color: var(--ink-2); }

/* ---------- section umum ---------- */
.section { padding-block: clamp(60px, 8vw, 112px); overflow-x: clip; }

/* ---------- lantai (putih) ---------- */
.lantai__head { margin-bottom: clamp(30px, 4vw, 52px); }
.lantai__head p { margin-top: 18px; font-size: 1.1rem; font-weight: 500; max-width: 52ch; }
.lantai__grid { display: grid; gap: 34px; align-items: start; }
.plan { position: relative; padding: 36px 0 0 36px; }
.plan__dim { position: absolute; display: flex; align-items: center; gap: 8px; font: 400 1.05rem/1 var(--display); letter-spacing: .03em; }
.plan__dim--w { top: 4px; left: 36px; right: 0; justify-content: center; }
.plan__dim--w::before, .plan__dim--w::after { content: ""; flex: 1; border-top: var(--bw) solid var(--ink); }
.plan__dim--h { top: 36px; bottom: 0; left: 0; width: 24px; flex-direction: column; justify-content: center; writing-mode: vertical-rl; transform: rotate(180deg); }
.plan__dim--h::before, .plan__dim--h::after { content: ""; flex: 1; border-left: var(--bw) solid var(--ink); }
.plan__floor { display: grid; gap: var(--bw); background: var(--ink); border: var(--bw) solid var(--ink); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh) var(--sh) 0 var(--ink);
  grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 104px 104px 66px 104px 104px;
  grid-template-areas:
    "rak rak rak dumbel dumbel studio"
    "rak rak rak dumbel dumbel studio"
    "lintasan lintasan lintasan lintasan lintasan studio"
    "mesin mesin kardio kardio kardio loker"
    "mesin mesin coach door door loker"; }
.zone { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; min-width: 0; padding: 10px 12px; border: 0; border-radius: 0; background: var(--white); text-align: left; transition: background-color .12s; }
.zone__no { position: absolute; top: 9px; left: 12px; font: 400 1.2rem/1 var(--display); letter-spacing: .02em; }
.zone b { font-weight: 800; font-size: 1rem; line-height: 1.15; }
.zone small { font-size: .84rem; font-weight: 500; color: var(--ink-2); line-height: 1.25; }
.zone:hover { background: var(--yellow-soft); }
.zone[aria-selected="true"] { background: var(--yellow); }
.zone[aria-selected="true"] .zone__no { top: 7px; left: 8px; padding: 4px 6px 3px; background: var(--ink); color: var(--yellow); }
.zone:focus-visible { outline: 3px solid var(--ink); outline-offset: -9px; }
.zone--rak { grid-area: rak; }
.zone--dumbel { grid-area: dumbel; }
.zone--studio { grid-area: studio; }
/* lintasan 20 m: tanda tiap 4 m di tepi atas, seperti penggaris */
.zone--lintasan { grid-area: lintasan; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 14px 12px 10px 50px;
  background-image: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 20%); background-size: 100% 10px; background-repeat: no-repeat; background-position: 0 0; }
.zone--lintasan .zone__no { top: 50%; transform: translateY(-50%); }
.zone--lintasan[aria-selected="true"] .zone__no { top: 50%; }
.zone--mesin { grid-area: mesin; }
.zone--kardio { grid-area: kardio; }
.zone--loker { grid-area: loker; }
.zone--coach { grid-area: coach; }
.plan__door { grid-area: door; position: relative; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; background: var(--ink); color: var(--white); font-weight: 800; font-size: .88rem; }
.plan__door::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 64px; height: 6px; margin-left: -32px; background: var(--yellow); }

.zpanel { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-card); box-shadow: var(--sh) var(--sh) 0 var(--ink); overflow: hidden; }
.zpanel:focus-visible { outline-offset: 5px; }
.zpanel__head { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--yellow); border-bottom: var(--bw) solid var(--ink); }
.zpanel__no { flex: none; padding: 8px 10px 4px; background: var(--ink); color: var(--yellow); border-radius: 6px; font: 400 3.2rem/.9 var(--display); letter-spacing: .01em; }
.zpanel h3 { font-size: 1.85rem; }
.zpanel__size { margin-top: 4px; font-weight: 800; font-size: .95rem; }
.kit { list-style: none; padding: 2px 18px; }
.kit li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 2px solid var(--ink); font-weight: 600; }
.kit li:last-child { border-bottom: 0; }
.kit b { font: 400 1.7rem/1 var(--display); }
.zpanel__note { padding: 14px 18px; border-top: var(--bw) solid var(--ink); font-weight: 600; font-size: .95rem; }
/* Kartu baru "dibanting" ke tempatnya: bayangan tumbuh dari nol. */
.zpanel.is-swap { animation: thunk .24s cubic-bezier(.3, .7, .2, 1); }
@keyframes thunk { from { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); } to { transform: none; box-shadow: var(--sh) var(--sh) 0 var(--ink); } }

/* ---------- jam ramai (blok hitam) ---------- */
.jam { background: var(--ink); color: var(--white); }
.jam h2 { color: var(--yellow); }
.jam__head { display: grid; gap: 18px 56px; }
.jam__head p { color: var(--on-ink-2); font-size: 1.1rem; max-width: 46ch; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: clamp(30px, 4vw, 48px); }
.day { position: relative; min-width: 0; min-height: 58px; padding: 8px 2px; border: var(--bw) solid var(--white); border-radius: var(--r); background: transparent; color: var(--white); font: 400 1.55rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; transition: transform .12s, box-shadow .12s; }
.day:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--white); }
.day[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: none; box-shadow: 4px 4px 0 var(--white); }
.day.is-today::after, .wday.is-today::after { content: ""; position: absolute; top: 5px; right: 5px; width: 11px; height: 11px; background: var(--sticker); border: 2px solid var(--ink); }
.chart { margin-top: 26px; padding: clamp(18px, 3vw, 30px); border: var(--bw) solid var(--white); border-radius: var(--r-card); }
.chart__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.chart__day { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; font-weight: 600; color: var(--on-ink-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend__sw { width: 16px; height: 16px; background: var(--yellow); }
.legend__sw--hot { background: var(--sticker); }
.legend__src { padding: 2px 8px; border: 2px solid var(--on-ink-2); font-weight: 800; }
.bars { list-style: none; position: relative; display: grid; grid-template-columns: repeat(var(--n, 18), minmax(0, 1fr)); gap: 6px; align-items: end; height: 280px; margin-top: 50px; border-bottom: var(--bw) solid var(--white); }
.bars::before { content: ""; position: absolute; left: 0; right: 0; bottom: 75%; border-top: 3px dashed var(--sticker); pointer-events: none; }
.bars__state { grid-column: 1 / -1; align-self: center; color: var(--on-ink-2); text-align: center; }
.bars__state.is-err { color: var(--ink); background: var(--sticker); padding: 10px 14px; border: 2px solid var(--white); }
.bar { position: relative; height: 100%; display: flex; align-items: flex-end; }
.bar__fill { width: 100%; height: var(--v); min-height: 3px; background: var(--yellow); transition: height .45s cubic-bezier(.3, .7, .2, 1); }
.bar.is-hot .bar__fill { background: var(--sticker); }
.bar__v { position: absolute; left: 50%; bottom: calc(var(--v) + 6px); transform: translateX(-50%); font: 400 1rem/1 var(--display); color: var(--white); transition: bottom .45s cubic-bezier(.3, .7, .2, 1); }
.bar__h { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); font: 400 1rem/1 var(--display); color: var(--on-ink-2); white-space: nowrap; letter-spacing: .02em; }
.bar.is-now .bar__fill { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--white); }
.bar.is-now .bar__h { color: var(--white); }
.bar__now { position: absolute; left: 50%; bottom: calc(var(--v) + 28px); transform: translateX(-50%); padding: 4px 6px; background: var(--white); color: var(--ink); font: 800 .76rem/1 var(--sans); white-space: nowrap; transition: bottom .45s cubic-bezier(.3, .7, .2, 1); }
.chart__sum { margin-top: 54px; font-size: 1.1rem; max-width: 70ch; }
.chart__sum b { font: 400 1.35rem/1 var(--display); color: var(--yellow); letter-spacing: .02em; }

/* ---------- kelas (putih) ---------- */
.kelas__head { display: grid; gap: 34px; margin-bottom: clamp(36px, 5vw, 60px); }
.kelas__intro p { margin-top: 18px; font-size: 1.1rem; font-weight: 500; max-width: 50ch; }
.kelas__intro p b { background: var(--yellow); padding: 0 4px; }
.kelas__ph { position: relative; margin: 0 8px 14px 0; transform: rotate(1.5deg); }
.kelas__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border: var(--bw) solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.kelas__ph figcaption { --rot: -3deg; position: absolute; left: 12px; bottom: -16px; transform: rotate(var(--rot)); padding: 6px 10px; background: var(--ink); color: var(--white); font-weight: 700; font-size: .9rem; }

/* kartu jenis kelas, sekaligus filter jadwal */
.ktypes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 40px; }
.ktypes legend { margin-bottom: 14px; font-weight: 800; font-size: 1rem; }
.ktype { position: relative; display: flex; }
.ktype input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ktype__in { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 16px 16px 14px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-card); box-shadow: var(--sh) var(--sh) 0 var(--ink); transition: transform .12s, box-shadow .12s, background-color .12s; }
.ktype b { font: 400 1.95rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.ktype__d { font-size: .93rem; line-height: 1.45; color: var(--ink-2); }
.ktype__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: auto; }
.lvl { display: inline-flex; gap: 3px; }
.lvl i { width: 14px; height: 14px; border: 2px solid var(--ink); }
.lvl i.on { background: var(--ink); }
.ktype__ok { padding: 2px 7px 3px; background: var(--ink); color: var(--white); font-size: .8rem; font-weight: 800; }
.ktype__ok--soft { padding: 0 6px 1px; background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.ktype__n { padding-top: 10px; border-top: 2px solid var(--ink); font: 400 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.ktype--all { grid-column: 1 / -1; }
.ktype--all .ktype__in { flex-direction: row; align-items: center; justify-content: space-between; min-height: 58px; padding-block: 10px; }
.ktype--all .ktype__n { padding-top: 0; border-top: 0; }
.ktype:hover .ktype__in { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
/* Terpilih: kuning dan "ditekan" (bergeser ke arah bayangan, bayangan menipis). */
.ktype input:checked + .ktype__in { background: var(--yellow); transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.ktype input:checked + .ktype__in .ktype__d { color: var(--ink); }
.ktype input:focus-visible + .ktype__in { outline: 3px solid var(--ink); outline-offset: 5px; }

.wdays { display: none; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-bottom: 16px; }
.wday { position: relative; min-width: 0; min-height: 50px; padding: 6px 2px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--white); font: 400 1.25rem/1 var(--display); text-transform: uppercase; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.wday:hover { background: var(--yellow-soft); }
.wday[aria-pressed="true"] { background: var(--ink); color: var(--yellow); transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }

/* jadwal: tabel besar bergaris tebal */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-card); box-shadow: var(--sh) var(--sh) 0 var(--ink); overflow: hidden; }
.week__state { grid-column: 1 / -1; padding: 32px 20px; font-weight: 600; }
.week__state.is-err { background: var(--sticker); color: var(--ink); }
.wcol { min-width: 0; display: flex; flex-direction: column; border-right: var(--bw) solid var(--ink); }
.wcol:last-child { border-right: 0; }
.wcol.is-today { background: var(--yellow-soft); }
.wcol__h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 6px; min-height: 52px; padding: 10px; background: var(--ink); color: var(--white); border-bottom: var(--bw) solid var(--ink); font-size: 1.45rem; }
.wcol__h b { font-weight: 400; }
.wcol__h small { padding: 3px 5px; background: var(--sticker); color: var(--ink); font: 800 .72rem/1 var(--sans); text-transform: none; }
.wcol.is-today .wcol__h { background: var(--yellow); color: var(--ink); }
.wcol.is-today .wcol__h small { background: var(--ink); color: var(--yellow); }
.wcol__list { list-style: none; display: grid; }
/* Warna sel mengikuti intensitas: putih 1, kuning 2, hitam 3. Tinggi sel mengikuti durasi. */
.cls { display: flex; flex-direction: column; gap: 3px; min-height: calc(48px + var(--m) * 1.5px); padding: 10px; background: var(--white); border-bottom: var(--bw) solid var(--ink); }
.cls__t { font: 400 1.55rem/1 var(--display); letter-spacing: .01em; }
.cls__n { font-weight: 800; font-size: .95rem; line-height: 1.2; }
.cls__m { font-size: .82rem; font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.cls__k { margin-top: auto; padding-top: 4px; font-size: .78rem; font-weight: 800; }
.cls--kekuatan, .cls--tinju { background: var(--yellow); }
.cls--kondisi { background: var(--ink); color: var(--white); }
.cls--kondisi .cls__m { color: var(--on-ink-2); }
.wcol__empty { padding: 14px 10px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }

/* ---------- harga (kuning) ---------- */
.harga { background: var(--yellow); border-block: var(--bw) solid var(--ink); }
.harga__head { margin-bottom: clamp(30px, 4vw, 52px); }
.harga__head h2 { max-width: 12ch; }
.harga__head p { margin-top: 18px; font-size: 1.1rem; font-weight: 500; max-width: 56ch; }
.harga__grid { display: grid; gap: 40px; align-items: start; }
.builder legend { display: block; margin-bottom: 14px; font: 400 1.9rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.builder legend small { font: 700 .95rem var(--sans); text-transform: none; letter-spacing: 0; }

/* pelat beban di batang barbel: makin panjang durasinya, makin besar pelatnya */
.loadbar__bar { --d-max: clamp(112px, 12vw, 152px); position: relative; display: flex; align-items: flex-start; gap: clamp(10px, 2vw, 22px); padding: 6px 0 6px 22px; }
.loadbar__bar::before { content: ""; position: absolute; left: 0; right: -6px; top: calc(6px + var(--d-max) / 2 - 8px); height: 16px; background: var(--ink); border-radius: 3px; }
.plate { position: relative; display: grid; justify-items: center; gap: 12px; }
.plate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plate__disc { --d: var(--d-max); position: relative; display: grid; grid-template-rows: 1fr calc(var(--d) * .26) 1fr; justify-items: center; align-items: center; width: var(--d); height: var(--d); margin-top: calc((var(--d-max) - var(--d)) / 2); border: var(--bw) solid var(--ink); border-radius: 50%; color: var(--ink);
  background: radial-gradient(circle, var(--ink) 0 12%, var(--white) 12.5% 77%, var(--ink) 77.5% 80.5%, var(--white) 81%);
  box-shadow: 5px 5px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.plate__disc b { grid-row: 3; align-self: start; font: 400 calc(var(--d) * .28)/1 var(--display); }
.plate__disc small { grid-row: 1; align-self: end; font-size: max(11px, calc(var(--d) * .1)); font-weight: 800; }
.plate--1 .plate__disc { --d: calc(var(--d-max) * .66); }
.plate--3 .plate__disc { --d: calc(var(--d-max) * .77); }
.plate--6 .plate__disc { --d: calc(var(--d-max) * .88); }
.plate__price { padding: 5px 8px 4px; border: var(--bw) solid transparent; font: 400 1.3rem/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.plate:hover .plate__disc { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.plate input:checked + .plate__disc { background: radial-gradient(circle, var(--ink) 0 12%, var(--sticker) 12.5% 77%, var(--ink) 77.5% 80.5%, var(--sticker) 81%); animation: seat .32s cubic-bezier(.3, .7, .2, 1); }
.plate input:checked ~ .plate__price { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.plate input:focus-visible + .plate__disc { outline: 3px solid var(--ink); outline-offset: 6px; }
@keyframes seat { 0% { transform: translateX(-12px); } 70% { transform: translateX(2px); } 100% { transform: none; } }

.addons { margin-top: 38px; display: grid; gap: 12px; }
.addon { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 62px; padding: 12px 16px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.addon:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.addon:has(input:checked) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.addon:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 5px; }
.addon input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon__box { display: grid; place-items: center; width: 28px; height: 28px; border: var(--bw) solid var(--ink); background: var(--white); }
.addon__box::after { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: translateY(-2px) rotate(-45deg); opacity: 0; }
.addon input:checked + .addon__box { background: var(--ink); }
.addon input:checked + .addon__box::after { opacity: 1; }
.addon__t { font-weight: 700; line-height: 1.3; }
.addon__t small { display: block; font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.addon__p { font: 400 1.3rem/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.addon--student { margin-top: 18px; grid-template-columns: auto minmax(0, 1fr); }
.builder__day { margin-top: 22px; font-weight: 600; }

/* rincian biaya: papan bergaris, bukan struk */
.receipt { position: sticky; top: 100px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-card); box-shadow: 10px 10px 0 var(--ink); }
.receipt__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--ink); color: var(--white); border-radius: 6px 6px 0 0; }
.receipt__top h3 { font-size: 1.8rem; }
.receipt__dur { padding: 6px 9px 4px; background: var(--yellow); color: var(--ink); font: 400 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.receipt__lines { list-style: none; padding: 2px 18px; }
.receipt__lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 2px solid var(--ink); font-weight: 600; }
.receipt__lines li:last-child { border-bottom: 0; }
.receipt__lines li span small { display: block; font-size: .84rem; font-weight: 500; color: var(--ink-2); }
.receipt__lines li b { font: 400 1.3rem/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.receipt__lines li.is-free b, .receipt__lines li.is-minus b { padding: 3px 6px 2px; background: var(--yellow); }
.receipt__lines li.is-free s { margin-right: 6px; font: 500 .9rem var(--sans); color: var(--ink-2); }
.receipt__state { color: var(--ink-2); }
.receipt__state.is-err { margin: 10px 0; padding: 10px 12px !important; background: var(--sticker); color: var(--ink); border: 2px solid var(--ink) !important; }
.receipt__total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--yellow); border-block: var(--bw) solid var(--ink); }
.receipt__total span { font-weight: 800; line-height: 1.25; }
.receipt__total b { font: 400 clamp(2.3rem, 4vw, 3.1rem)/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.receipt__body { display: grid; gap: 12px; padding: 14px 18px 20px; }
.receipt__per { font-weight: 800; text-align: right; }
.receipt__per:empty, .receipt__cuti:empty { display: none; }
.receipt__save { --rot: -2deg; justify-self: start; margin: 4px 0 2px; font-weight: 800; font-size: .96rem; }
.receipt__save:empty { display: none; }
.receipt__cuti { font-size: .94rem; font-weight: 500; color: var(--ink-2); }
.receipt__go { width: 100%; margin-top: 4px; }

/* ---------- pemula (putih) ---------- */
.pemula__head { display: grid; gap: 18px 56px; margin-bottom: clamp(32px, 4vw, 52px); }
.pemula__head p { font-size: 1.1rem; font-weight: 500; max-width: 48ch; }

/* 60 menit pertama: papan jadwal lomba, lima kolom bertanda waktu */
.first60 { list-style: none; display: grid; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-card); box-shadow: var(--sh) var(--sh) 0 var(--ink); overflow: hidden; }
.first60 li { display: grid; grid-template-columns: 96px minmax(0, 1fr); border-bottom: var(--bw) solid var(--ink); }
.first60 li:last-child { border-bottom: 0; }
.first60__t { display: block; padding: 14px 12px; background: var(--ink); color: var(--yellow); font: 400 1.9rem/1 var(--display); letter-spacing: .01em; }
.first60 div { padding: 14px 16px 16px; }
.first60 b { display: block; font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.first60 div span { display: block; margin-top: 6px; font-size: .94rem; line-height: 1.5; color: var(--ink-2); }

.pemula__tools { margin-top: clamp(44px, 6vw, 80px); display: grid; gap: 40px; align-items: start; }
.ph { margin: 0; }
.ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 40%; border: var(--bw) solid var(--ink); box-shadow: var(--sh) var(--sh) 0 var(--ink); }
.ph figcaption { margin-top: 16px; font-weight: 600; font-size: .95rem; max-width: 46ch; }

/* kalkulator pelat: kartu kuning tebal */
.calc { background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: var(--r-card); box-shadow: 10px 10px 0 var(--ink); padding: clamp(20px, 3vw, 30px); }
.calc h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.calc__lead { margin-top: 10px; font-weight: 500; max-width: 50ch; }
.calc__form { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 20px; align-items: end; }
.calc__field label { display: block; font-weight: 800; }
.calc__field label small { font-weight: 500; }
.calc__in { position: relative; margin-top: 8px; }
.calc__in input { width: 100%; height: 68px; padding: 0 56px 0 16px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--ink); font: 400 2.4rem/1 var(--display); box-shadow: 4px 4px 0 var(--ink); -moz-appearance: textfield; appearance: textfield; }
.calc__in input::-webkit-outer-spin-button, .calc__in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__in input[aria-invalid="true"] { border-style: dashed; box-shadow: 4px 4px 0 var(--sticker), 4px 4px 0 3px var(--ink); }
.calc__in span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--display); }
.calc__bar { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__bar legend { display: block; width: 100%; margin-bottom: 8px; font-weight: 800; }
.calc__bar label { position: relative; display: inline-flex; }
.calc__bar input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc__bar span { display: inline-flex; align-items: center; min-height: 68px; padding: 8px 16px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--white); font: 400 1.45rem/1 var(--display); box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.calc__bar label:hover span { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.calc__bar input:checked + span { background: var(--ink); color: var(--yellow); transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.calc__bar input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 5px; }
.calc__quick { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.calc__err { grid-column: 1 / -1; margin-top: 0; }
.calc__out { margin-top: 24px; padding: 16px 18px 18px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r); }
.sleeve { display: flex; align-items: center; height: 128px; overflow: hidden; }
.sleeve__collar { flex: none; width: 18px; height: 50px; background: var(--ink); }
.sleeve__stack { display: flex; align-items: center; gap: 3px; padding-left: 3px; }
.sleeve__rod { flex: 1; min-width: 40px; height: 22px; background: var(--ink); border-radius: 0 4px 4px 0; }
.pl { position: relative; flex: none; width: var(--t); height: var(--h); border-radius: 3px; background: var(--ink); animation: slide .35s cubic-bezier(.3, .7, .2, 1) backwards; animation-delay: calc(var(--i) * 60ms); }
.pl--25 { background: var(--sticker); box-shadow: inset 0 0 0 3px var(--ink); }
.pl--small { background: var(--yellow); box-shadow: inset 0 0 0 3px var(--ink); }
@keyframes slide { from { transform: translateX(60px); opacity: 0; } to { transform: none; opacity: 1; } }
.calc__res { margin-top: 14px; font-size: 1.02rem; line-height: 1.5; font-weight: 500; }
.calc__res b { font: 400 1.3rem/1.1 var(--display); letter-spacing: .01em; }
.calc__res .warn { display: block; width: fit-content; margin-top: 10px; padding: 4px 9px; background: var(--sticker); border: 2px solid var(--ink); font-weight: 800; }
.calc__res.is-empty { color: var(--ink-2); }

/* coach: empat kartu nomor dada */
.coaches { margin-top: clamp(52px, 6vw, 88px); }
.coaches__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 22px; }
.coaches h3 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.coaches__lead { font-weight: 600; max-width: 40ch; }
.coaches ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.coaches li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: start; gap: 12px 14px; padding: 16px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-card); }
.coaches b { display: block; font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.coaches div > span { display: block; margin-top: 2px; font-size: .92rem; color: var(--ink-2); line-height: 1.4; }
.shift { grid-column: 1 / -1; padding-top: 12px; border-top: 2px solid var(--ink); font: 400 1.6rem/1 var(--display); letter-spacing: .02em; }

/* ---------- member (blok hitam) ---------- */
.member { background: var(--ink); color: var(--white); }
.member h2 { max-width: 16ch; }
.story { display: grid; margin: clamp(30px, 4vw, 52px) 0 0; background: var(--yellow); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: var(--r-card); box-shadow: 10px 10px 0 var(--white); overflow: hidden; }
.story__ph { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; object-position: 40% 28%; border-bottom: var(--bw) solid var(--ink); }
.story__body { display: flex; flex-direction: column; gap: 26px; padding: clamp(22px, 4vw, 44px); }
.story blockquote { margin: 0; }
.story blockquote p { font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.38; font-weight: 700; letter-spacing: -.01em; }
.log { padding-top: 16px; border-top: var(--bw) solid var(--ink); }
.log__title { margin-bottom: 12px; font: 400 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.log__rows { list-style: none; display: grid; gap: 8px; }
.log__rows li { display: grid; grid-template-columns: 76px 64px minmax(0, 1fr); gap: 12px; align-items: center; font-size: .92rem; font-weight: 700; }
.log__rows b { font: 400 1.35rem/1 var(--display); letter-spacing: .01em; }
.log__rows i { display: block; height: 20px; width: var(--w); background: var(--ink); }
.log__rows li:last-child i { background: var(--sticker); box-shadow: inset 0 0 0 3px var(--ink); }
.story figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .95rem; font-weight: 500; line-height: 1.4; }
.story figcaption b { display: block; font-size: 1.02rem; font-weight: 800; }
.quotes { margin-top: 30px; display: grid; gap: 24px; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; margin: 0; padding: clamp(20px, 3vw, 28px); background: var(--white); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: var(--r-card); box-shadow: var(--sh) var(--sh) 0 var(--yellow); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1.1rem; line-height: 1.55; font-weight: 600; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .94rem; line-height: 1.4; }
.quote figcaption b { display: block; font-size: 1rem; font-weight: 800; }

/* ---------- tanya (kuning) ---------- */
.tanya { background: var(--yellow); border-bottom: var(--bw) solid var(--ink); }
.tanya__intro { display: grid; gap: 22px 56px; margin-bottom: clamp(30px, 4vw, 48px); }
.tanya__side p { margin-bottom: 18px; font-weight: 600; max-width: 40ch; }
.faq { display: grid; gap: 14px; max-width: 900px; margin-left: auto; }
.faq details { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: 4px 4px 0 var(--ink); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 60px; padding: 12px 16px 12px 18px; border-radius: 5px; font-weight: 800; font-size: 1.08rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: var(--bw) solid var(--ink); background: var(--yellow); font: 400 1.6rem/1 var(--display); }
.faq summary:hover { background: var(--yellow-soft); }
.faq summary:focus-visible { outline-offset: 5px; }
.faq details[open] summary { background: var(--ink); color: var(--white); border-radius: 5px 5px 0 0; }
.faq details[open] summary::after { content: "\2212"; border-color: var(--yellow); color: var(--ink); }
.faq details p { padding: 16px 18px 20px; max-width: 68ch; }

/* ---------- daftar (putih) ---------- */
.daftar__grid { display: grid; gap: 48px; align-items: start; }
.dform { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.dform > * { grid-column: 1 / -1; }
.dform .field--half { grid-column: auto; }
.dform__lead { margin: 16px 0 6px; font-size: 1.05rem; font-weight: 500; max-width: 54ch; }
.chips--form { margin-top: 22px; }
.chips legend { display: block; margin-bottom: 10px; font-weight: 800; font-size: .98rem; }
.chips legend small { font-weight: 500; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; display: inline-flex; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 14px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: 3px 3px 0 var(--ink); font-weight: 700; font-size: .96rem; transition: transform .12s, box-shadow .12s; }
.chips label:hover span { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--yellow); transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 5px; }
.field { margin-top: 20px; display: grid; }
.field label { display: block; margin-bottom: 8px; font-weight: 800; font-size: .98rem; }
.field label small { font-weight: 500; color: var(--ink-2); }
.field input, .field select { width: 100%; min-height: 54px; padding: 10px 14px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r); color: var(--ink); font-size: 1rem; transition: box-shadow .12s; }
.field select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 15px) 52%; background-size: 7px 7px; background-repeat: no-repeat; }
.field input:hover, .field select:hover { box-shadow: 3px 3px 0 var(--ink); }
/* Fokus isian: garis tebal + bayangan bergeser keluar + latar kuning pucat. */
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 5px 5px 0 var(--ink); background-color: #FFFBD1; }
.field input::placeholder { color: #5E5E5E; opacity: 1; }
.field [aria-invalid="true"] { border-style: dashed; box-shadow: 4px 4px 0 var(--sticker), 4px 4px 0 3px var(--ink); }
.field select:disabled { background-color: #E5E5E5; color: #575757; }
.dform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 30px; }
.dform__msg { flex: 1 1 240px; font-size: .98rem; font-weight: 700; }
.dform__msg.is-ok { padding: 10px 12px; background: var(--yellow); border: var(--bw) solid var(--ink); }
.dform__msg.is-err { padding: 10px 12px; background: var(--sticker); color: var(--ink); border: var(--bw) solid var(--ink); }
.dform__msg a { font-weight: 800; }

/* kartu member: tebal, kuning, bayangan keras 12px */
.card-wrap { position: sticky; top: 104px; padding: 0 12px 12px 0; }
.card { position: relative; background: var(--yellow); color: var(--ink); border: 4px solid var(--ink); border-radius: var(--r-card); padding: 22px 22px 18px; box-shadow: 12px 12px 0 var(--ink); }
.card__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 0 104px 14px 0; border-bottom: var(--bw) solid var(--ink); }
.card__brand { font: 400 2.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.card__title { font: 800 .95rem/1.2 var(--sans); text-transform: none; letter-spacing: 0; }
.card__name { margin-top: 18px; min-height: 1em; font: 400 clamp(2rem, 3.6vw, 2.8rem)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.card__name.is-empty { color: var(--ink-2); }
.card__dl { margin: 16px 0 0; background: var(--white); border: var(--bw) solid var(--ink); }
.card__dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 9px 12px; border-bottom: 2px solid var(--ink); }
.card__dl div:last-child { border-bottom: 0; }
.card__dl dt { font-size: .88rem; font-weight: 700; line-height: 1.5; }
.card__dl dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.card__dl dd.is-empty { font-weight: 500; color: var(--ink-2); }
.card__dl div:last-child dd { font: 400 1.45rem/1.05 var(--display); letter-spacing: .01em; }
.card__plate { position: absolute; top: 14px; right: 16px; display: grid; grid-template-rows: 1fr 26% 1fr; justify-items: center; align-items: center; width: 88px; height: 88px; border: var(--bw) solid var(--ink); border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 12%, var(--sticker) 12.5%); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); --rot: 8deg; transform: rotate(var(--rot)); }
.card__plate b { grid-row: 3; align-self: start; font: 400 1.6rem/1 var(--display); }
.card__plate small { grid-row: 1; align-self: end; font-size: .72rem; font-weight: 800; }
.card__no { margin-top: 16px; font-size: .9rem; font-weight: 700; }
.card__no span { margin-left: 4px; font: 400 1.3rem/1 var(--display); letter-spacing: .05em; }
.card__note { margin-top: 10px; font-size: .86rem; font-weight: 500; color: var(--ink-2); }
.card__stamp { --rot: -9deg; position: absolute; right: 16px; bottom: 74px; padding: 6px 12px 4px; background: var(--sticker); color: var(--ink); border: var(--bw) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: rotate(var(--rot)); font: 400 1.7rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- footer (blok hitam) ---------- */
.footer { background: var(--ink); color: var(--white); padding: 40px 0 32px; overflow-x: clip; }
.footer__word { font: 400 min(calc(var(--cw) / 2.72), 26rem)/.82 var(--display); text-transform: uppercase; color: var(--yellow); }
.footer__row { display: grid; gap: 24px 40px; margin-top: 28px; padding-top: 24px; border-top: var(--bw) solid var(--white); }
.footer address { font-style: normal; line-height: 1.7; }
.footer a { color: var(--white); }
.footer a:hover { color: var(--yellow); }
.footer__hours { margin: 0; display: grid; gap: 6px; align-content: start; }
.footer__hours div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 6px; border-bottom: 2px solid #3A3A3A; }
.footer__hours dt { color: var(--on-ink-2); }
.footer__hours dd { margin: 0; font: 400 1.3rem/1.1 var(--display); letter-spacing: .03em; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 18px; align-content: start; }
.footer nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-weight: 700; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.footer__note { margin-top: 24px; display: grid; gap: 8px; max-width: 80ch; font-size: .88rem; color: var(--on-ink-2); }
.footer__note a { color: var(--white); }

/* ---------- toast ---------- */
.toast { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60; max-width: min(360px, calc(100vw - 40px)); padding: 12px 16px; background: var(--yellow); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: 5px 5px 0 var(--ink); font-weight: 700; font-size: .95rem; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-on { opacity: 1; transform: none; }

/* ---------- responsif ---------- */
@media (min-width: 600px) {
  /* tiga baris: LATIHAN SEPULANG / KERJA, / [TANPA ANTRE RAK.] */
  .hero__head { --hs: calc(var(--cw) / 7.35); }
  .hl { display: inline-block; }
  /* Stiker mengisi ruang kosong di kanan "KERJA,": ukurannya ikut ukuran judul supaya tidak menutupi baris lain.
     Celah baris 2 kira-kira 0,87 sampai 1,85 kali ukuran judul; stiker diletakkan di tengahnya. */
  .sticker--hero { position: absolute; right: 2%; top: calc(var(--hs) * 1.36 - 28px); margin: 0; padding: 5px 11px 6px; font-size: clamp(.78rem, calc(var(--hs) * .13), 1rem); }
  .sticker--hero b { font-size: clamp(1.35rem, calc(var(--hs) * .3), 2.15rem); }
  .ktypes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote:nth-child(2) { margin-top: 44px; }
}

@media (min-width: 760px) {
  .first60 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .first60 li { display: flex; flex-direction: column; border-bottom: 0; border-right: var(--bw) solid var(--ink); }
  .first60 li:last-child { border-right: 0; }
  .first60__t { padding: 14px 14px 12px; border-bottom: var(--bw) solid var(--ink); font-size: 2.2rem; }
}

@media (min-width: 900px) {
  .jam__head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
  .kelas__head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .pemula__head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; }
  .tanya__intro { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }
  .footer__row { grid-template-columns: 1.2fr 1fr 1fr; }
  .story { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .story__ph { height: 100%; min-height: 420px; aspect-ratio: auto; border-bottom: 0; border-right: var(--bw) solid var(--ink); }
}

@media (min-width: 980px) {
  .lantai__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; }
  .zpanel { margin-top: 36px; }
  .ktypes { grid-template-columns: minmax(0, .7fr) repeat(4, minmax(0, 1fr)); }
  .ktype--all { grid-column: auto; }
  .ktype--all .ktype__in { flex-direction: column; align-items: flex-start; }
  .ktype--all b { font-size: 1.6rem; }
  .harga__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 52px; }
  .pemula__tools { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
  .ph { margin-top: 20px; }
  .daftar__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; }
  .card { transform: rotate(-1.5deg); }
}

@media (min-width: 1000px) {
  .hero__row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
  .hero__photo { aspect-ratio: auto; height: clamp(380px, 38vw, 470px); object-position: 62% 45%; }
  .status { margin-top: -52px; grid-template-columns: auto auto minmax(170px, 1fr) auto; grid-template-areas: "top now mini foot" "open quiet mini foot"; }
  .status > * + * { border-top: 0; }
  .status__top { grid-area: top; }
  .status__open { grid-area: open; border-top: var(--bw) solid var(--ink) !important; }
  .status__now { grid-area: now; border-left: var(--bw) solid var(--ink); }
  .status__quiet { grid-area: quiet; border-left: var(--bw) solid var(--ink); border-top: var(--bw) solid var(--ink) !important; }
  .mini { grid-area: mini; height: auto; min-height: 80px; border-left: var(--bw) solid var(--ink); padding-bottom: 0 !important; }
  .status__foot { grid-area: foot; flex-direction: column; align-items: flex-start; justify-content: center; border-left: var(--bw) solid var(--ink); padding-block: 12px !important; }
}

@media (min-width: 1100px) {
  /* dua baris: LATIHAN SEPULANG KERJA, / [TANPA ANTRE RAK.] + stiker di ruang kosong kanan */
  .hero__head { --hs: calc(var(--cw) / 10.15); }
  .sticker--hero { top: auto; bottom: calc(var(--hs) * .12); right: 1%; padding: 8px 14px 9px; font-size: 1.05rem; }
  .sticker--hero b { font-size: 2.5rem; }
}

@media (max-width: 1100px) {
  .header__tel { display: none; }
  .bar__v { display: none; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: calc(100% + var(--bw)); left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px var(--gut) 14px; background: var(--white); border-bottom: var(--bw) solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 56px; padding: 0 6px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; font: 400 1.6rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover { border-color: var(--ink); }
}

@media (max-width: 979px) {
  .receipt, .card-wrap { position: relative; top: 0; }
}

@media (max-width: 760px) {
  .plan { padding: 32px 0 0; }
  .plan__dim--h { display: none; }
  .plan__dim--w { left: 0; }
  .plan__floor { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: minmax(88px, auto);
    grid-template-areas: "rak rak" "dumbel studio" "lintasan lintasan" "mesin kardio" "coach loker" "door door"; }
  .zone { padding-top: 34px; }
  .zone--lintasan { min-height: 70px; padding-top: 16px; }
  .plan__door { min-height: 44px; }
  .wdays { display: grid; }
  .week { grid-template-columns: 1fr; }
  .wcol { display: none; border-right: 0; }
  .wcol.is-on { display: flex; }
  .cls { min-height: 0; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 2px 12px; }
  .cls__t { grid-row: span 3; padding-top: 2px; }
  .cls__k { margin-top: 0; padding-top: 0; }
  .bars { height: 220px; gap: 3px; }
  .bar:nth-child(odd) .bar__h { visibility: hidden; }
  .bar.is-now .bar__h { visibility: visible; }
  .calc__form { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .dform { grid-template-columns: 1fr; }
  .dform .field--half { grid-column: 1 / -1; }
  /* empat kolom sama lebar supaya label harga tidak saling menempel */
  .loadbar__bar { --d-max: clamp(62px, 19vw, 100px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding-left: 0; }
  .plate__price { padding: 3px 2px 2px; border-width: 2px; font-size: .86rem; letter-spacing: 0; }
  .plate__disc { box-shadow: 3px 3px 0 var(--ink); }
  .addon { grid-template-columns: auto minmax(0, 1fr); }
  .addon__p { grid-column: 2; font-size: 1.15rem; }
  .first60 li { grid-template-columns: 84px minmax(0, 1fr); }
  .first60__t { font-size: 1.6rem; padding-inline: 10px; }
  .header__in { gap: 10px; }
  .header__cta { gap: 8px; }
  .header__cta .btn--sm { padding-inline: 10px; font-size: .92rem; }
  .wordmark { font-size: 1.75rem; }
  .log__rows li { grid-template-columns: 70px 56px minmax(0, 1fr); gap: 10px; }
  .card { padding: 18px 16px 16px; }
  .card__top { padding-right: 84px; }
  .card__plate { width: 74px; height: 74px; right: 12px; }
  .card__plate b { font-size: 1.35rem; }
  .bar__now { font-size: .68rem; padding: 3px 4px; }
  .days { gap: 4px; }
  .day { font-size: 1.2rem; min-height: 50px; }
  .wdays { gap: 4px; }
  .hero__facts b { font-size: 1.4rem; }
  /* satu kolom; jumlah kelas pindah ke samping nama supaya kartu lebih pendek */
  .ktype__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 14px; }
  .ktype b { grid-column: 1; grid-row: 1; font-size: 1.7rem; }
  .ktype__n { grid-column: 2; grid-row: 1; align-self: center; padding-top: 0; border-top: 0; }
  .ktype__d, .ktype__meta { grid-column: 1 / -1; }
  .ktype--all .ktype__in { display: flex; }
  .day.is-today::after, .wday.is-today::after { top: auto; right: auto; bottom: 4px; left: 50%; width: 16px; height: 6px; margin-left: -8px; border-width: 1.5px; }
  .status__val { font-size: 1.6rem; }
  .receipt__top h3 { font-size: 1.5rem; }
}

@media (max-width: 420px) {
  .wordmark__sub { display: none; }
  .btn { white-space: normal; }
  .header__cta .btn { white-space: nowrap; }
  .zone b { font-size: .95rem; }
  .menu-btn { padding-inline: 11px; }
  /* tujuh tombol hari tetap minimal 44px di layar 360px */
  .days, .wdays { gap: 2px; }
  .day[aria-selected="true"] { box-shadow: 3px 3px 0 var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js [data-slap] { opacity: 1; }
}

/* ---------- Warna tombol & chat Rakitdata ---------- */
/* GANTI: hapus blok ini bersama assets/css/rakitdata.css dan assets/js/rakitdata.js sebelum situs dipakai. */
:root { --rd-main: var(--ink); --rd-on-main: var(--white); --rd-accent: var(--yellow); --rd-on-accent: var(--ink); --rd-surface: #F4F4F4; --rd-bubble: var(--white); --rd-out: var(--yellow); --rd-ink: var(--ink); --rd-muted: #4A4A4A; --rd-line: #CFCFCF; --rd-font: var(--sans); }
