/* Bank Papua PBD Run — "Pagi di Teluk Sorong".
   Biru Bank Papua = langit & laut, latar = langit pagi, kuning = matahari pagi (aksi & sorotan),
   merah tanah + hijau hutan hanya di ornamen Papua. */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/Jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/Jakarta-Italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #2A388A;          /* biru Bank Papua (dari logo) */
  --blue-700: #222E78;
  --blue-900: #161D58;
  --blue-950: #0F1442;
  --blue-50: #EEF0FA;
  --blue-100: #DCE0F5;
  --blue-200: #BCC4EC;
  --on-blue: #FFFFFF;
  --on-blue-2: #BFC7F0;     /* teks sekunder di atas biru */
  --sun: #FFCD05;           /* kuning Bank Papua: aksi & sorotan */
  --sun-hover: #FFD93D;
  --sun-press: #F0BE00;
  --sun-ink: #1E1A05;
  --sun-50: #FFF7D6;
  --sky: #F4F6FC;           /* langit pagi: tint biru brand */
  --paper: #FFFFFF;
  --ink: #161B3D;
  --ink-2: #474D6E;
  --ink-3: #676C88;
  --rule: #E6E3DA;
  --rule-strong: #C9CBD8;
  --ochre: #D2452C;         /* merah tanah – ornamen */
  --leaf: #1F8A4C;          /* hijau hutan – ornamen & status ok */
  --ok: #1C7A45;
  --ok-bg: #E4F4EA;
  --warn: #8A5A00;
  --warn-bg: #FFF4D1;
  --bad: #B42318;
  --bad-bg: #FCE8E5;
  --focus: #2A388A;

  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgb(22 29 88 / .06), 0 2px 8px rgb(22 29 88 / .05);
  --shadow: 0 2px 4px rgb(22 29 88 / .04), 0 16px 36px -12px rgb(22 29 88 / .18);
  --shadow-lg: 0 4px 8px rgb(15 20 66 / .08), 0 28px 60px -16px rgb(15 20 66 / .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;
  --t-xs: .8125rem; --t-sm: .875rem; --t-base: 1rem; --t-md: 1.125rem; --t-lg: 1.375rem; --t-xl: 1.75rem; --t-2xl: 2.25rem; --t-3xl: 3rem;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--blue-200) var(--sky); }
body {
  margin: 0;
  font-family: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--sky);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
}
::selection { background: var(--sun); color: var(--sun-ink); }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .22em; text-decoration-thickness: 1.5px; text-decoration-color: rgb(42 56 138 / .35); transition: color .15s var(--ease), text-decoration-color .15s var(--ease); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.num, .sounding { font-variant-numeric: tabular-nums; }
.sounding { font-style: italic; font-weight: 700; }
.icon { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s3); top: -60px; background: var(--sun); color: var(--sun-ink); padding: var(--s2) var(--s4); border-radius: 999px; z-index: 50; font-weight: 700; }
.skip:focus { top: var(--s3); }
[hidden] { display: none !important; }

/* ornamen Papua: pita spiral + gigi */
.orn { height: 40px; background: url("../img/ornamen-gelap.svg") repeat-x center / auto 40px; }
.orn-light { height: 28px; background: url("../img/ornamen-terang.svg") repeat-x center / auto 28px; }

/* ---------- header ---------- */
.shell { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.shell-in {
  max-width: 1200px; margin: 0 auto; padding: var(--s3) var(--s4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 72px;
}
.brand { display: flex; align-items: center; gap: var(--s3); color: inherit; text-decoration: none; min-width: 0; }
.brand-logos { display: flex; align-items: center; gap: var(--s3); flex: none; }
.brand-logo { height: 34px; width: auto; }
.brand-pemprov { height: 42px; width: auto; }
.brand-logos i { width: 1px; height: 32px; background: var(--rule-strong); }
.brand-word { font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: var(--t-sm); color: var(--blue); white-space: nowrap; }
.brand-event { font-weight: 800; font-size: var(--t-md); white-space: nowrap; color: var(--blue); letter-spacing: -.01em; padding-left: var(--s3); border-left: 1px solid var(--rule-strong); line-height: 1.1; }
.brand-year { font-weight: 500; font-style: italic; color: var(--ink-3); }
.shell-nav { display: flex; gap: var(--s1); align-items: center; }
.shell-nav a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--t-sm); white-space: nowrap;
  padding: 0 var(--s4); border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; position: relative;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.shell-nav a:hover { background: var(--blue-50); color: var(--blue); }
.shell-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-50); }
.shell-nav a.nav-cta { background: var(--sun); color: var(--sun-ink); }
.shell-nav a.nav-cta:hover { background: var(--sun-hover); }
@media (max-width: 720px) { .brand-event { display: none; } }
@media (max-width: 480px) {
  .shell-in { gap: var(--s2); padding-inline: var(--s3); min-height: 64px; }
  .brand-logos { gap: var(--s2); }
  .brand-logo { height: 26px; }
  .brand-pemprov { height: 34px; }
  .brand-logos i { height: 26px; }
  .shell-nav a { padding: 0 10px; font-size: var(--t-xs); }
  .shell-nav a:not(.nav-cta):not([aria-current]) { display: none; }
}

/* ---------- page ---------- */
.page { max-width: 1200px; margin: 0 auto; padding: var(--s6) var(--s4) var(--s8); }
.page-narrow { max-width: 780px; margin: 0 auto; padding: var(--s5) var(--s4) var(--s8); }

.foot { background: var(--blue-950); color: var(--on-blue-2); margin-top: var(--s8); }
.foot .orn, .hero .orn { background-color: var(--blue-950); }
.foot-in { max-width: 1360px; margin: 0 auto; padding: var(--s6) var(--s4) var(--s7); display: grid; gap: var(--s5); font-size: var(--t-sm); }
.foot-brand { display: flex; align-items: center; gap: var(--s4); }
.foot-brand img:first-child { height: 40px; width: auto; }
.foot-brand img:last-child { height: 48px; width: auto; }
.foot-in strong { color: var(--on-blue); }
.foot-in p { max-width: 64ch; }
@media (min-width: 880px) { .foot-in { grid-template-columns: auto 1fr; align-items: center; column-gap: var(--s7); } }

/* ---------- landing: hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--on-blue);
  background:
    radial-gradient(56rem 34rem at 95% -10%, rgb(92 112 214 / .55), transparent 62%),
    radial-gradient(36rem 26rem at 10% 105%, rgb(92 112 214 / .35), transparent 60%),
    linear-gradient(160deg, var(--blue-700) 0%, var(--blue-900) 55%, var(--blue-950) 100%);
}
.hero-swoosh { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
@media (max-width: 959px) { .hero-swoosh { height: 62%; } }
.hero-swoosh path { fill: none; stroke-linecap: round; }
.hero-in { max-width: 1200px; margin: 0 auto; padding: var(--s7) var(--s4) var(--s8); display: grid; gap: var(--s7); }
.hero-chip {
  display: inline-flex; align-items: center; gap: var(--s2); padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); font-size: var(--t-sm); font-weight: 600; color: var(--on-blue);
}
.hero-chip b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); color: var(--sun-ink); }
.hero-chip b .icon { width: 14px; height: 14px; }
.hero h1 { margin-top: var(--s5); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.hero h1 .l1 { display: block; font-size: clamp(1.5rem, 3.6vw, 2.25rem); font-weight: 600; letter-spacing: -.02em; color: var(--on-blue-2); margin-bottom: var(--s2); }
.hero h1 .l2 { display: block; font-size: clamp(3.25rem, 10vw, 6rem); color: var(--sun); }
.hero h1 .l2 em { font-style: italic; font-weight: 300; color: var(--on-blue); letter-spacing: -.02em; }
.hero-lede { font-size: var(--t-md); color: var(--on-blue-2); max-width: 46ch; margin-top: var(--s5); }
.hero-lede strong { color: var(--on-blue); font-weight: 700; }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); padding: 0; list-style: none; }
.hero-facts li { display: inline-flex; gap: var(--s2); align-items: center; font-weight: 600; font-size: var(--t-sm); padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .08); }
.hero-facts .icon { width: 18px; height: 18px; color: var(--sun); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

.hero-side { display: grid; gap: var(--s4); align-content: end; }
.countdown {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s4); align-items: center;
  background: var(--sun); color: var(--sun-ink); border-radius: var(--r-lg); padding: var(--s4) var(--s5);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.countdown-n { font-size: clamp(3rem, 8vw, 4.25rem); font-weight: 800; font-style: italic; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.countdown-n small { font-size: .42em; font-style: normal; font-weight: 700; letter-spacing: -.01em; margin-left: 4px; }
.countdown p { font-weight: 600; line-height: 1.35; font-size: var(--t-sm); position: relative; z-index: 1; }
.countdown p strong { display: block; font-size: var(--t-md); font-weight: 800; }

.cat {
  --notch: 14px;
  display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s5); align-items: center;
  background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: var(--s4) var(--s5);
  box-shadow: var(--shadow-lg);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.cat-km { font-size: clamp(2.75rem, 7vw, 3.5rem); font-weight: 800; font-style: italic; color: var(--blue); letter-spacing: -.045em; line-height: .9; padding-right: var(--s5); border-right: 2px dashed var(--blue-100); align-self: stretch; display: grid; place-items: center; }
.cat-body { display: grid; gap: 6px; min-width: 0; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.cat-head h2 { font-size: var(--t-sm); font-weight: 700; color: var(--ink-2); }
.cat-big { font-size: var(--t-2xl); font-weight: 800; font-style: italic; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.cat-big small { font-size: var(--t-sm); font-style: normal; font-weight: 600; color: var(--ink-3); margin-left: 6px; letter-spacing: 0; }
.gauge { position: relative; height: 8px; background: var(--blue-50); border-radius: 99px; overflow: hidden; }
.gauge > i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), #4B5CC4); border-radius: 99px; transform-origin: left; transform: scaleX(var(--v, 0)); transition: transform 1.2s var(--ease); }
.gauge-note { font-size: var(--t-xs); color: var(--ink-3); }

@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.25fr 1fr; align-items: end; padding-top: var(--s8); padding-bottom: var(--s9); gap: var(--s8); }
}

/* ---------- landing: sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: var(--s8) var(--s4) var(--s5); }
.section-head { display: grid; gap: var(--s3); max-width: 62ch; }
.section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.section h2 em { font-style: italic; font-weight: 400; color: var(--blue); }
.section-lede { color: var(--ink-2); font-size: var(--t-md); }

.route { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; gap: var(--s5); position: relative; counter-reset: wp; }
.route li { position: relative; padding-left: 68px; counter-increment: wp; }
.route li::before {
  content: counter(wp); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--sun); color: var(--sun-ink); box-shadow: 0 0 0 6px var(--sky), var(--shadow-sm);
  display: grid; place-items: center; font-weight: 800; font-style: italic; font-size: var(--t-lg); font-variant-numeric: tabular-nums; z-index: 1;
}
.route li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 58px; bottom: calc(-1 * var(--s5) + 10px); width: 3px; border-radius: 3px; background: repeating-linear-gradient(180deg, var(--blue) 0 8px, transparent 8px 14px); transform-origin: top; }
.route h3 { font-size: var(--t-lg); font-weight: 800; letter-spacing: -.02em; padding-top: 10px; }
.route p { color: var(--ink-2); margin-top: var(--s2); max-width: 48ch; }
.route .tag { display: inline-block; margin-top: var(--s3); font-size: var(--t-xs); font-weight: 700; color: var(--blue); background: var(--blue-50); padding: 4px 10px; border-radius: 999px; }
@media (min-width: 960px) {
  .route { grid-template-columns: repeat(var(--n, 4), 1fr); gap: var(--s6); }
  .route li { padding-left: 0; padding-top: 76px; }
  .route li::after { display: none; }
  .route::before { content: ""; position: absolute; width: auto; border-radius: 3px; z-index: 0; left: 24px; right: calc((100% - (var(--n, 4) - 1) * var(--s6)) / var(--n, 4) - 24px); top: 23px; bottom: auto; width: auto; height: 3px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); transform-origin: left; }
}

.split { display: grid; gap: var(--s6); margin-top: var(--s6); }
.reqs { margin: 0; display: grid; gap: var(--s3); }
.reqs > div { display: grid; grid-template-columns: 44px 1fr; gap: 2px var(--s4); padding: var(--s4); background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.reqs .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.reqs dt { font-weight: 800; }
.reqs dd { margin: 0; color: var(--ink-2); font-size: var(--t-sm); }
.land-note {
  position: relative; overflow: hidden; align-self: start;
  background: var(--blue-900); color: var(--on-blue-2); border-radius: var(--r-xl); padding: var(--s6) var(--s5) var(--s5);
  display: grid; gap: var(--s3); box-shadow: var(--shadow);
}
.land-note .orn { position: absolute; left: 0; right: 0; top: 0; height: 24px; background-size: auto 24px; }
.land-note h3 { font-size: var(--t-xl); color: var(--on-blue); font-weight: 800; letter-spacing: -.025em; margin-top: var(--s3); display: flex; gap: var(--s3); align-items: flex-start; }
.land-note h3 .icon { width: 30px; height: 30px; color: var(--sun); flex: none; margin-top: 2px; }
.land-note strong { color: var(--on-blue); }
@media (min-width: 880px) { .split { grid-template-columns: 1.2fr 1fr; gap: var(--s7); } .land-note { padding: var(--s7) var(--s6) var(--s6); } }

/* ---------- reveal (konten tetap terlihat tanpa JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js .route li::after { transform: scaleY(0); transition: transform .7s var(--ease); transition-delay: calc(.35s + var(--i, 0) * 220ms); }
.js .route.in li::after { transform: none; }
.js .route::before { transform: scaleX(0); transition: transform 1.4s var(--ease) .15s; }
.js .route.in::before { transform: none; }
.js .gauge:not(.in) > i { transform: scaleX(0); }
.js .route li::before { transform: scale(.4); opacity: 0; transition: transform .6s var(--ease), opacity .3s var(--ease); transition-delay: calc(.2s + var(--i, 0) * 220ms); }
.js .route.in li::before { transform: none; opacity: 1; }
.js .route li > * { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.35s + var(--i, 0) * 220ms); }
.js .route.in li > * { opacity: 1; transform: none; }

/* animasi masuk hero (sekali) */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes clipUp { from { clip-path: inset(0 0 100% 0); transform: translateY(.3em); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
.js .hero-swoosh .draw { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: draw 1.8s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .hero h1 .l1, .js .hero h1 .l2 { animation: clipUp .9s var(--ease) both; }
.js .hero h1 .l2 { animation-delay: .12s; }
.js .hero-in > div:first-child > :not(h1) { animation: riseIn .8s var(--ease) both; animation-delay: .35s; }
.js .hero-side > * { animation: riseIn .9s var(--ease) both; animation-delay: calc(.55s + var(--i, 0) * .12s); }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; text-decoration: none; letter-spacing: -.005em;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 0 var(--s6); border-radius: 999px; position: relative; overflow: hidden; isolation: isolate;
  background: var(--sun); color: var(--sun-ink);
  box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 -2px 0 rgb(0 0 0 / .08) inset, 0 8px 18px -8px rgb(22 29 88 / .45);
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%); transform: translateX(-110%); transition: transform .7s var(--ease); }
.btn:hover { background: var(--sun-hover); color: var(--sun-ink); transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 -2px 0 rgb(0 0 0 / .08) inset, 0 14px 26px -10px rgb(22 29 88 / .5); }
.btn:hover::after { transform: translateX(110%); }
.btn:active { background: var(--sun-press); transform: translateY(1px) scale(.98); transition-duration: .08s; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { background: #E3E3EA; color: #6B6F86; box-shadow: none; cursor: not-allowed; transform: none; }
.btn[disabled]::after, .btn[aria-disabled="true"]::after { display: none; }
.btn-line {
  appearance: none; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 0 var(--s5); border-radius: 999px;
  background: var(--paper); color: var(--blue); border: 1.5px solid var(--blue-200);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-line:hover { background: var(--blue-50); border-color: var(--blue); color: var(--blue); }
.hero .btn-line, .on-blue .btn-line { background: transparent; color: var(--on-blue); border-color: rgb(255 255 255 / .35); }
.hero .btn-line:hover, .on-blue .btn-line:hover { background: rgb(255 255 255 / .1); border-color: var(--on-blue); color: var(--on-blue); }
.btn-ghost {
  appearance: none; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; font-weight: 700; font-size: var(--t-sm);
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3); border-radius: 999px;
  transition: background-color .2s var(--ease);
}
.btn-ghost:hover { background: var(--blue-50); color: var(--blue); }
.btn-sm { min-height: 40px; padding: 0 var(--s4); font-size: var(--t-sm); }
.btn-danger { background: var(--paper); color: var(--bad); border: 1.5px solid #EDB9B2; box-shadow: none; }
.btn-danger::after { display: none; }
.btn-danger:hover { background: var(--bad-bg); color: var(--bad); box-shadow: none; }
.btn .spin { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- stepper ---------- */
.course {
  position: sticky; top: 0; z-index: 10; background: rgb(244 246 252 / .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  margin: 0 calc(-1 * var(--s4)); padding: var(--s3) var(--s4) var(--s3);
  border-bottom: 1px solid var(--rule);
}
.course ol { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 780px; position: relative; }
.course ol::before, .course ol::after {
  content: ""; position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 4px; border-radius: 4px; background: var(--blue-100);
}
.course ol::after { background: linear-gradient(90deg, var(--blue), #4B5CC4); right: auto; width: calc(75% * var(--p, 0)); transition: width .6s var(--ease); }
.course li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: var(--t-xs); color: var(--ink-3); font-weight: 700; z-index: 1; }
.course .wp {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; position: relative;
  border: 2px solid var(--blue-100); background: var(--paper); font-style: italic; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink-3);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.course li.now { color: var(--ink); }
.course li.now .wp { border-color: var(--sun); background: var(--sun); color: var(--sun-ink); transform: scale(1.08); }
.course li.now .wp::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--sun); animation: ping 1.2s var(--ease) 1 both; }
@keyframes ping { from { opacity: 1; transform: scale(.85); } to { opacity: 0; transform: scale(1.35); } }
.course li.done { color: var(--blue); }
.course li.done .wp { border-color: var(--blue); background: var(--blue); color: #fff; }
.course li.done .wp .icon { width: 16px; height: 16px; animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(0) rotate(-20deg); } to { transform: none; } }
.course button { all: unset; cursor: pointer; display: contents; }
.course button:focus-visible .wp { outline: 3px solid var(--focus); outline-offset: 3px; }
.course-label { display: none; }
@media (min-width: 520px) { .course-label { display: block; } }

/* ---------- form ---------- */
.form-head { margin: var(--s6) 0 var(--s5); display: grid; gap: var(--s2); }
.form-head h1 { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.03em; }
@media (min-width: 640px) { .form-head h1 { font-size: var(--t-2xl); } }
.form-head p { color: var(--ink-2); max-width: 60ch; }
.form-head:first-child h1 { font-size: clamp(2rem, 6vw, 2.75rem); letter-spacing: -.035em; }
.form-head:first-child h1 em { font-style: italic; font-weight: 400; color: var(--blue); }
.step { display: grid; gap: var(--s5); }
.step:not(.is-active) { display: none; }
.step.is-active { animation: stepIn .5s var(--ease) both; }
.step.is-active[data-dir="back"] { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-28px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: var(--s5); display: grid; gap: var(--s5); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .panel { padding: var(--s6); } }
.panel > h2 { font-size: var(--t-lg); font-weight: 800; letter-spacing: -.02em; }
.panel > h2 + p, .panel-sub { color: var(--ink-2); margin-top: calc(-1 * var(--s4)); font-size: var(--t-sm); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 800; font-size: var(--t-base); margin-bottom: var(--s3); }
.grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) {
  .g2 { grid-template-columns: 1fr 1fr; }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .span2 { grid-column: span 2; }
}

.field { display: grid; gap: 6px; align-content: start; }
.field label, .label { font-weight: 700; font-size: var(--t-sm); }
.field .opt { font-weight: 500; color: var(--ink-3); }
.hint { font-size: var(--t-xs); color: var(--ink-3); }
.err { font-size: var(--t-xs); color: var(--bad); font-weight: 700; display: none; align-items: center; gap: 4px; }
.err .icon { width: 14px; height: 14px; }
.field.invalid .err { display: flex; animation: riseIn .3s var(--ease); }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input[type="password"], input[type="search"], select, textarea {
  font: inherit; color: var(--ink); width: 100%; min-height: 50px; padding: 11px 14px;
  background: var(--paper); border: 1.5px solid var(--rule-strong); border-radius: var(--r);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A388A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
input::placeholder, textarea::placeholder { color: #747892; }
input:hover, select:hover, textarea:hover { border-color: var(--blue-200); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(42 56 138 / .14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); background: #FFFBFA; box-shadow: 0 0 0 4px rgb(180 35 24 / .08); }
input[type="file"] { font: inherit; font-size: var(--t-sm); max-width: 100%; min-width: 0; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 700; margin-right: var(--s3); min-height: 42px; padding: 0 var(--s4); border-radius: 999px; border: 1.5px solid var(--blue-200); background: var(--blue-50); color: var(--blue); cursor: pointer; }

/* pilihan besar */
.choices { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .choices.c2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-body {
  display: grid; gap: var(--s1); padding: var(--s4) var(--s4) var(--s4) 56px; border: 1.5px solid var(--rule-strong); border-radius: var(--r-lg); background: var(--paper);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  position: relative; min-height: 68px;
}
.choice-body::before {
  content: ""; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--rule-strong); background: var(--paper); transition: border-color .2s var(--ease), box-shadow .3s var(--ease);
}
.choice:hover .choice-body { border-color: var(--blue-200); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.choice input:checked + .choice-body { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue), var(--shadow-sm); }
.choice input:checked + .choice-body::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 5px var(--paper); animation: pop .35s var(--ease); }
.choice input[type="checkbox"] + .choice-body::before { border-radius: 7px; }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice input:disabled + .choice-body { opacity: .55; cursor: not-allowed; background: var(--sky); transform: none; box-shadow: none; }
.choice-title { font-weight: 800; display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; }
.choice-desc { font-size: var(--t-sm); color: var(--ink-2); }
.choice-meta { font-size: var(--t-sm); color: var(--blue); font-weight: 700; }

/* ukuran jersey */
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: var(--s2); }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size span {
  display: grid; place-items: center; min-height: 52px; border: 1.5px solid var(--rule-strong); border-radius: 999px;
  font-weight: 800; background: var(--paper); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .25s var(--ease);
}
.size:hover span { border-color: var(--blue-200); transform: translateY(-1px); }
.size input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.04); box-shadow: 0 8px 18px -8px rgb(42 56 138 / .7); }
.size input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

.check { display: flex; gap: var(--s3); align-items: flex-start; cursor: pointer; font-size: var(--t-sm); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }

.privacy {
  display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border-radius: var(--r-lg);
  background: var(--blue-50); color: var(--blue-900); font-size: var(--t-sm); border: 1px solid var(--blue-100);
}
.privacy .icon { color: var(--blue); margin-top: 1px; }
.privacy strong { display: block; }

.wali { border-top: 3px solid var(--sun); }
.wali-flag { display: inline-flex; align-items: center; gap: var(--s2); color: var(--sun-ink); background: var(--sun-50); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: var(--t-sm); justify-self: start; }

/* bar aksi (zona jempol) */
.actions {
  position: sticky; bottom: 0; z-index: 5; display: flex; gap: var(--s3); justify-content: space-between; align-items: center;
  background: rgb(244 246 252 / .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule); padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom));
  margin: 0 calc(-1 * var(--s4)); box-shadow: 0 -8px 24px -12px rgb(22 29 88 / .18);
}
.actions .btn { flex: 1; }
.actions .btn-line { flex: none; }
@media (min-width: 640px) { .actions { position: static; box-shadow: none; background: none; border: 0; padding: 0; margin: 0; -webkit-backdrop-filter: none; backdrop-filter: none; } .actions .btn { flex: none; min-width: 220px; } }

/* ringkasan */
.summary { display: grid; gap: 0; margin: 0; }
.summary > div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: var(--s3); padding: 11px 0; border-bottom: 1px dashed var(--rule-strong); font-size: var(--t-sm); }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.summary-group { font-size: var(--t-sm); color: var(--blue); font-weight: 800; padding-top: var(--s5); }
.edit-link { font-size: var(--t-sm); font-weight: 700; }


/* notes */
.note { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4); border-radius: var(--r); font-size: var(--t-sm); border: 1px solid; }
.note .icon { margin-top: 1px; }
.note-ok { background: var(--ok-bg); color: #0F5132; border-color: #B5DEC5; }
.note-bad, .note-err { background: var(--bad-bg); color: #7A1A12; border-color: #F0C3BC; }
.note-warn { background: var(--warn-bg); color: #5C3D00; border-color: #F1D98E; }
.note-info { background: var(--blue-50); color: var(--blue-900); border-color: var(--blue-100); }
.admin-main > .note { margin-bottom: var(--s5); }

/* ---------- gerbang: belum dibuka / sudah ditutup ---------- */
.gate { margin-top: var(--s6); background: var(--paper); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--rule); }
.gate .orn-light { background-color: var(--sky); }
.gate-in { padding: var(--s6) var(--s5) var(--s6); display: grid; gap: var(--s3); justify-items: start; }
@media (min-width: 640px) { .gate-in { padding: var(--s7); } }
.gate-n { font-size: clamp(3.5rem, 14vw, 5.5rem); font-weight: 800; font-style: italic; color: var(--blue); letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.gate-n small { font-size: var(--t-md); font-style: normal; font-weight: 700; letter-spacing: 0; color: var(--ink-2); margin-left: var(--s2); }
.gate h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; }
.gate p { color: var(--ink-2); max-width: 54ch; }
.gate-cta a { text-decoration: none; }
.gate-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s3); }
.js .gate { animation: riseIn .8s var(--ease) both; }

/* ---------- hasil: tiket ---------- */
.result { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); margin-top: var(--s5); }
.step, .panel { min-width: 0; }
.ticket {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--on-blue); border-radius: var(--r-xl); padding: var(--s6) var(--s5) calc(var(--s6) + 28px);
  background:
    radial-gradient(30rem 18rem at 100% 0%, rgb(255 205 5 / .32), transparent 60%),
    linear-gradient(150deg, var(--blue-700), var(--blue-950));
  display: grid; gap: var(--s5); box-shadow: var(--shadow-lg);
}
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: url("../img/ornamen-gelap.svg") repeat-x center / auto 28px; background-color: var(--blue-950); }
.ticket:focus { outline: none; }
.ticket-swoosh { display: none; position: absolute; right: -50px; top: -40px; width: 260px; z-index: -1; }
@media (min-width: 720px) { .ticket-swoosh { display: block; } }
.ticket-label { font-size: var(--t-sm); color: var(--on-blue-2); font-weight: 600; }
.ticket-no { font-size: clamp(2.5rem, 10vw, 4.25rem); font-weight: 800; font-style: italic; letter-spacing: -.035em; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; margin-top: 6px; }
.ticket-meta { display: flex; flex-wrap: wrap; gap: var(--s2); color: var(--on-blue-2); font-size: var(--t-sm); padding-top: var(--s4); border-top: 2px dashed rgb(255 255 255 / .2); }
.ticket-meta span { background: rgb(255 255 255 / .08); padding: 6px 12px; border-radius: 999px; }
.ticket-meta strong { color: var(--on-blue); }
.ticket-token { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; color: #fff; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.js .ticket.is-new { animation: ticketIn .9s var(--ease) both; }
.js .ticket.is-new .ticket-no { animation: clipUp .8s var(--ease) .25s both; }
@keyframes ticketIn { from { opacity: 0; transform: translateY(30px) scale(.97); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.confetti i { position: absolute; left: 50%; top: 40%; width: 9px; height: 9px; border-radius: 2px; }

.appointment { display: grid; gap: var(--s4); }
.appointment-when { display: grid; gap: var(--s3); }
.appointment-when > div { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s4); background: var(--sky); border-radius: var(--r); }
.appointment-when .icon { color: var(--blue); margin-top: 2px; width: 22px; height: 22px; }
.appointment-when strong { display: block; font-size: var(--t-md); font-weight: 800; }
.appointment-when span { color: var(--ink-2); font-size: var(--t-sm); }
.bring { margin: 0; padding-left: 1.2em; color: var(--ink-2); font-size: var(--t-sm); display: grid; gap: 4px; }
.bring li::marker { color: var(--ochre); }


.status-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 700; padding: 4px 11px 4px 9px; border-radius: 999px;
  border: 1px solid currentColor; white-space: nowrap;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.badge-ok { color: var(--ok); background: var(--ok-bg); }
.badge-ok::before { background: currentColor; }
.badge-wait { color: var(--warn); background: var(--warn-bg); border-style: dashed; }
.badge-wait::before { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.badge-bad { color: var(--bad); background: var(--bad-bg); }
.badge-bad::before { background: currentColor; border-radius: 1px; }
.badge-idle { color: var(--ink-3); background: var(--sky); border-style: dashed; }

/* ---------- admin (Operate: tenang & presisi) ---------- */
.admin { background: var(--sky); }
.admin .shell-in { max-width: 1320px; }
.shell-user { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-sm); }
.shell-user > span { display: grid; text-align: right; line-height: 1.25; font-weight: 700; }
.shell-user small { color: var(--ink-3); font-weight: 500; }
.shell-user form { margin: 0; }
@media (max-width: 560px) { .shell-user > span, .shell-user .btn-ghost span { display: none; } }
.admin-nav-wrap { background: var(--blue-900); }
.admin-nav { max-width: 1320px; margin: 0 auto; padding: 0 var(--s2); display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.admin-nav a {
  color: var(--on-blue-2); text-decoration: none; font-weight: 700; font-size: var(--t-sm); white-space: nowrap;
  padding: 12px var(--s3); min-height: 48px; display: inline-flex; align-items: center; position: relative; transition: color .2s var(--ease);
}
.admin-nav a::after { content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--sun); transform: scaleX(0); transition: transform .3s var(--ease); }
.admin-nav a:hover { color: #fff; }
.admin-nav a[aria-current="page"] { color: #fff; }
.admin-nav a[aria-current="page"]::after { transform: none; }
.admin-main { max-width: 1320px; margin: 0 auto; padding: var(--s6) var(--s4) var(--s8); }
.page-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s3); margin-bottom: var(--s5); }
.page-title h1 { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.03em; }
.page-title p { color: var(--ink-2); font-size: var(--t-sm); margin-top: 4px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--s4); margin-bottom: var(--s5); }
.stat { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: var(--s4) var(--s5); display: grid; gap: var(--s2); box-shadow: var(--shadow-sm); }
.stat h2 { font-size: var(--t-sm); font-weight: 700; color: var(--ink-2); display: flex; justify-content: space-between; }
.stat-val { font-size: var(--t-2xl); font-weight: 800; font-style: italic; font-variant-numeric: tabular-nums; line-height: 1.1; letter-spacing: -.03em; color: var(--blue-900); }
.stat-val small { font-size: var(--t-sm); font-style: normal; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.meter { height: 8px; background: var(--blue-50); border-radius: 99px; overflow: hidden; display: flex; }
.meter > i { background: var(--blue); }
.meter > i.today { background: repeating-linear-gradient(90deg, var(--sun) 0 6px, transparent 6px 9px); }
.stat-foot { font-size: var(--t-xs); color: var(--ink-3); }

.cols { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .cols { grid-template-columns: 1fr 1fr; } .cols-3-1 { grid-template-columns: 2fr 1fr; } }

.box { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.box-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5); border-bottom: 1px solid var(--rule); min-height: 56px; }
.box-head h2 { font-size: var(--t-base); font-weight: 800; }
.box-body { padding: var(--s5); display: grid; gap: var(--s4); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
th, td { text-align: left; padding: 11px var(--s5); border-bottom: 1px solid var(--rule); vertical-align: middle; }
th { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 700; background: #F8F9FD; white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr { transition: background-color .15s var(--ease); }
tbody tr:hover { background: var(--blue-50); }
tbody tr:last-child td { border-bottom: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; letter-spacing: .02em; }
.empty { padding: var(--s7) var(--s4); text-align: center; color: var(--ink-3); display: grid; gap: var(--s2); justify-items: center; }
.empty strong { color: var(--ink); }

.filters { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: end; padding: var(--s4) var(--s5); border-bottom: 1px solid var(--rule); background: #FAFBFE; }
.filters .field { min-width: 150px; flex: 1; }
.filters .field.grow { flex: 2; min-width: 220px; }

.jersey-bars { display: grid; gap: var(--s2); }
.jersey-bars > div { display: grid; grid-template-columns: 48px 1fr 48px; gap: var(--s3); align-items: center; font-size: var(--t-sm); }
.jersey-bars b { font-weight: 800; }
.jersey-bars .bar { height: 10px; background: var(--blue-50); border-radius: 99px; overflow: hidden; }
.jersey-bars .bar > i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }

.verify { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .verify { grid-template-columns: 380px 1fr; align-items: start; } }
.scan-video { width: 100%; aspect-ratio: 4 / 3; background: var(--blue-950); border-radius: var(--r); object-fit: cover; }
.reg-card { display: grid; gap: var(--s4); }
.reg-no { font-size: var(--t-2xl); font-weight: 800; font-style: italic; font-variant-numeric: tabular-nums; color: var(--blue); letter-spacing: -.03em; }

.proof { max-height: 70vh; width: auto; border: 1px solid var(--rule); border-radius: var(--r); background: #fff; }
.inline-form { display: inline-flex; gap: var(--s2); align-items: center; margin: 0; }

.login {
  min-height: 100vh; display: grid; place-items: center; padding: var(--s4);
  background:
    url("../img/ornamen-gelap.svg") repeat-x left bottom / auto 40px,
    radial-gradient(50rem 30rem at 90% 0%, rgb(92 112 214 / .5), transparent 60%),
    linear-gradient(160deg, var(--blue-700), var(--blue-950));
}
.login .panel { width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); border: 0; animation: riseIn .7s var(--ease) both; }
.login .brand-event { font-size: var(--t-base); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .js .hero-swoosh .draw { stroke-dashoffset: 0; }
  .hero-runner { display: none; }
}

@media print {
  .shell, .foot, .actions, .course, .ticket-actions { display: none !important; }
  body { background: #fff; }
}

/* ---------- hitung mundur & mode uji coba ---------- */
.cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); max-width: 420px; }
.cd span { display: grid; justify-items: center; gap: 2px; padding: 10px 4px 8px; border-radius: 14px; background: var(--blue-900); color: var(--on-blue-2); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.cd b { display: block; font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1; font-weight: 800; font-style: italic; color: var(--sun); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cd b.tick { animation: cdTick .5s var(--ease); }
@keyframes cdTick { from { transform: translateY(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
.gate .cd { margin-bottom: var(--s3); }
.uji-banner { margin-top: var(--s5); border-radius: var(--r-xl); padding: var(--s5); color: var(--on-blue-2); position: relative; overflow: hidden;
  background: radial-gradient(30rem 16rem at 100% 0%, rgb(255 205 5 / .22), transparent 60%), linear-gradient(150deg, var(--blue-700), var(--blue-950)); box-shadow: var(--shadow); }
.uji-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: url("../img/ornamen-gelap.svg") repeat-x center / auto 22px; background-color: var(--blue-950); }
.uji-text { display: grid; gap: var(--s4); padding-bottom: 22px; }
.uji-banner h2 { color: var(--on-blue); font-size: var(--t-lg); font-weight: 800; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.uji-banner p { font-size: var(--t-sm); max-width: 60ch; }
.uji-banner .cd span { background: rgb(255 255 255 / .08); }
.uji-pill { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; background: var(--ochre); color: #fff; }
.uji-pill::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 6px; vertical-align: 1px; animation: blink 1.4s ease-in-out infinite; }
.ticket.is-uji .ticket-no { color: #fff; -webkit-text-stroke: 0; }
.ticket.is-uji::before { content: "UJI COBA"; position: absolute; right: -44px; top: 26px; transform: rotate(35deg); background: var(--ochre); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .14em; padding: 6px 54px; z-index: 3; }
@media (prefers-reduced-motion: reduce) { .uji-pill::before { animation: none; } }

/* ---------- masuk admin: captcha & OTP ---------- */
.captcha { display: flex; align-items: center; gap: var(--s2); }
.captcha img { border-radius: var(--r); border: 1px solid var(--rule-strong); background: var(--blue-50); width: 200px; height: 64px; }
.captcha .btn-line { min-height: 44px; width: 44px; padding: 0; }
.otp-qr { justify-self: center; width: 220px; height: 220px; padding: 8px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--rule); }
.otp-qr svg { width: 100%; height: 100%; display: block; }
.otp-manual summary { cursor: pointer; font-weight: 700; font-size: var(--t-sm); color: var(--blue); }
.otp-secret { margin-top: var(--s2); padding: var(--s3); background: var(--blue-50); border-radius: var(--r); font-size: 1rem; letter-spacing: .08em; word-break: break-all; }
.otp-input { font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; font-weight: 800; }

/* tombol export */
.export-group { display: inline-flex; flex-wrap: wrap; gap: var(--s2); }
.export-group .btn-line[disabled] { opacity: .6; cursor: progress; }

/* HP: animasi kemunculan tanpa blur; bar menempel tanpa efek kaca (berat di GPU HP). */
@media (hover: none), (max-width: 899px) {
  .js [data-reveal] { filter: none; transition-property: opacity, transform; }
  .js .hero-side > *, .js .hero-in > div:first-child > :not(h1), .js .gate { animation-name: riseInLite; }
  .course, .actions { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--sky); }
  .step.is-active { animation-name: stepInLite; }
  .step.is-active[data-dir="back"] { animation-name: stepBackLite; }
  .js .ticket.is-new { animation-name: riseInLite; }
  .field.invalid .err { animation-name: riseInLite; }
}
@keyframes stepInLite { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepBackLite { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes riseInLite { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
