:root {
  --color-primary: #c8102e;
  --color-primary-dark: #9e0c24;
  --color-primary-soft: #fde8ec;
  --color-black: #0a0a0a;
  --color-bone: #f5f0e8;
  --color-bone-dark: #e8e0d4;
  --color-text: #0a0a0a;
  --color-text-muted: #3d3d48;
  --color-text-on-dark: #f5f0e8;
  --color-text-muted-on-dark: #c8c2b8;
  --color-gold: #e8a317;
  --color-soga: #8b4513;
  --color-indigo: #2b3a67;
  --color-surface: #ffffff;
  --color-border: #0a0a0a;
  --focus-ring: 0 0 0 3px #e8a317;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow-brutal: 4px 4px 0 #0a0a0a;
  --shadow-brutal-lg: 6px 6px 0 #0a0a0a;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 72rem;
  --header-h: 4.25rem;
  --pattern-kawung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a0a0a' stroke-opacity='0.06' stroke-width='1'%3E%3Cellipse cx='24' cy='12' rx='8' ry='10'/%3E%3Cellipse cx='24' cy='36' rx='8' ry='10'/%3E%3Cellipse cx='12' cy='24' rx='10' ry='8'/%3E%3Cellipse cx='36' cy='24' rx='10' ry='8'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-parang: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='none' stroke='%23c8102e' stroke-opacity='0.08' stroke-width='1' d='M0 40 L40 0 M-10 30 L30 -10 M10 50 L50 10'/%3E%3C/svg%3E");
}

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

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
  animation-timing-function: ease;
}

::view-transition-old(root) {
  animation-name: vt-fade-out;
}

::view-transition-new(root) {
  animation-name: vt-fade-in;
}

@keyframes vt-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes vt-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@supports (overflow-x: clip) {
  html {
    overflow-x: clip;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bone);
  background-image: var(--pattern-kawung);
  overflow-x: hidden;
}

@supports (overflow-x: clip) {
  body {
    overflow-x: clip;
  }
}

img,
figure,
video {
  max-width: 100%;
  height: auto;
}

pre,
code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

a {
  color: var(--color-primary-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  font-weight: 600;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--color-primary);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 800;
  border: 2px solid var(--color-black);
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, 42rem);
  margin-inline: auto;
}

/* Ticker */
.ticker {
  background: linear-gradient(90deg, var(--color-black), var(--color-indigo));
  color: var(--color-gold);
  overflow: hidden;
  border-bottom: 2px solid var(--color-black);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.45rem 0;
  animation: ticker-scroll 35s linear infinite;
}

.ticker-track span {
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 3px solid var(--color-black);
  box-shadow: var(--shadow-brutal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  height: 2.75rem;
  width: auto;
  max-width: 3.15rem;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.15rem;
  box-sizing: content-box;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--color-bone);
  box-shadow: 2px 2px 0 var(--color-black);
}

.nav-toggle-icon {
  width: 1.25rem;
  height: 2px;
  background: var(--color-text);
  position: relative;
  display: block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.site-nav {
  width: 100%;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
}

.nav-list a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-list a:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.nav-list a.is-active {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-black);
}

.nav-toggle:checked ~ .site-nav .nav-list {
  display: flex;
}

@media (min-width: 56rem) {
  .nav-toggle-label {
    display: none;
  }

  .site-nav {
    width: auto;
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.2rem;
    padding-bottom: 0;
  }

  .nav-list a {
    font-size: 0.82rem;
    padding: 0.4rem 0.5rem;
  }
}

/* Main */
.site-main {
  min-height: calc(100vh - var(--header-h) - 14rem);
}

.page-shell {
  padding: 2rem 0 3rem;
}

.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 3px solid var(--color-black);
  position: relative;
}

.page-header--plain {
  border-bottom: none;
}

.page-header--plain::after {
  display: none;
}

.page-header::after {
  content: "";
  display: block;
  height: 6px;
  margin-top: 1rem;
  background: repeating-linear-gradient(
    90deg,
    var(--color-primary) 0,
    var(--color-primary) 12px,
    var(--color-gold) 12px,
    var(--color-gold) 24px,
    var(--color-indigo) 24px,
    var(--color-indigo) 36px
  );
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-primary-dark);
}

.lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 42rem;
  font-weight: 500;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-gold);
  color: var(--color-black);
  border: 2px solid var(--color-black);
  border-radius: 999px;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 var(--color-black);
}

.sticker {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0 var(--color-black);
}

.sticker--tilt-l {
  transform: rotate(-4deg);
  background: var(--color-gold);
  color: var(--color-black);
}

.sticker--tilt-r {
  transform: rotate(3deg);
  background: var(--color-primary);
  color: #fff;
}

/* Hero home */
.hero-home {
  position: relative;
  padding: 2.5rem 0 3rem;
  min-height: clamp(22rem, 68vh, 32rem);
  background: linear-gradient(160deg, var(--color-black) 0%, var(--color-indigo) 45%, var(--color-primary-dark) 100%);
  color: var(--color-text-on-dark);
  border-bottom: 4px solid var(--color-black);
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-parang);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero-home::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: #c8102e;
  z-index: 1;
  pointer-events: none;
}

.hero-home .container {
  position: relative;
  z-index: 3;
}

.hero-home__grid {
  display: grid;
  gap: 1.25rem;
  align-items: end;
  min-height: inherit;
}

.hero-home__copy {
  position: relative;
  z-index: 3;
}

@media (min-width: 48rem) {
  .hero-home {
    padding-bottom: 2rem;
  }

  .hero-home__grid {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 46%);
    gap: 1.5rem 2rem;
    align-items: end;
  }
}

.hero-home h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

.hero-kinetic {
  display: block;
}

.hero-kinetic__line,
.hero-kinetic__word {
  display: block;
  background: linear-gradient(135deg, #fff 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-kinetic__words {
  position: relative;
  display: block;
  min-height: 1.15em;
  overflow: hidden;
}

.hero-kinetic__word {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-kinetic__word.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-kinetic__word.is-active {
    animation: hero-word-in 0.55s ease;
  }
}

@keyframes hero-word-in {
  from {
    opacity: 0;
    transform: translateY(0.4em);
    letter-spacing: 0.06em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.04em;
  }
}

.hero-home .lead {
  color: var(--color-text-muted-on-dark);
  font-size: 1.15rem;
  max-width: 36rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

.hero-home .eyebrow {
  background: var(--color-primary);
  color: #fff;
}

.gunungan {
  position: relative;
  z-index: 2;
  pointer-events: none;
  justify-self: center;
  width: 45%;
  max-width: none;
  margin-top: 0.5rem;
}

.gunungan__sway {
  transform-origin: 50% 100%;
}

.gunungan__art {
  position: relative;
  width: 100%;
  line-height: 0;
}

.gunungan__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  filter:
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 6px rgba(245, 179, 1, 0.28));
}

.gunungan__shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    transparent 28%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 72%
  );
  background-size: 220% 220%;
  mix-blend-mode: screen;
  mask-image: url(/assets/img/gunungan-kayon.webp);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url(/assets/img/gunungan-kayon.webp);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  opacity: 0;
}

@media (min-width: 56.25rem) {
  .hero-home__grid {
    min-height: clamp(22rem, 68vh, 32rem);
  }

  .gunungan {
    align-self: end;
    justify-self: end;
    width: 100%;
    max-width: min(19.5rem, 42%);
    margin-top: 0;
  }

  .gunungan__img {
    max-height: calc(clamp(22rem, 68vh, 32rem) * 0.85);
    width: auto;
    max-width: 100%;
    margin-left: auto;
  }

  .gunungan__art {
    display: flex;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .gunungan__rise {
    animation: gunungan-enter 1.1s ease forwards;
  }

  .gunungan__sway {
    animation: gunungan-float 5.8s ease-in-out infinite;
  }

  .gunungan__art {
    animation: gunungan-sway 7.2s ease-in-out infinite;
    transform-origin: 50% 100%;
  }

  .gunungan__img {
    animation: gunungan-glow 5.5s ease-in-out infinite;
  }

  .gunungan__shimmer {
    animation: gunungan-shimmer-sweep 5.2s linear 1.4s infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gunungan__shimmer {
    display: none;
  }
}

@keyframes gunungan-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes gunungan-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes gunungan-sway {
  0%,
  100% {
    transform: rotate(-1deg);
  }

  50% {
    transform: rotate(1deg);
  }
}

@keyframes gunungan-shimmer-sweep {
  0% {
    opacity: 0.12;
    background-position: 120% 120%;
  }

  45% {
    opacity: 0.55;
  }

  100% {
    opacity: 0.12;
    background-position: -20% -20%;
  }
}

@keyframes gunungan-glow {
  0%,
  100% {
    filter:
      drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45))
      drop-shadow(0 0 6px rgba(245, 179, 1, 0.25));
  }

  50% {
    filter:
      drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45))
      drop-shadow(0 0 16px rgba(245, 179, 1, 0.5));
  }
}

.hero-actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.section {
  margin-bottom: 2.75rem;
}

.section--dark {
  background: var(--color-black);
  color: var(--color-text-on-dark);
  padding: 2.5rem 0;
  margin-bottom: 0;
  border-block: 3px solid var(--color-black);
}

.section--dark .lead,
.section--dark .muted {
  color: var(--color-text-muted-on-dark);
}

.section--dark h2 {
  color: #fff;
}

.section--light-alt {
  background: var(--color-bone-dark);
  padding: 2.5rem 0;
  margin-bottom: 0;
  background-image: var(--pattern-kawung);
  border-bottom: 3px solid var(--color-black);
}

.section h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.content-list {
  margin: 0;
  padding-left: 1.25rem;
}

.content-list li {
  margin-bottom: 0.55rem;
}

.muted {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.callout {
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary-soft), #fff);
  border: 3px solid var(--color-black);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brutal);
}

.quote-block {
  margin: 0;
  padding: 1.5rem 1.75rem;
  border-left: 6px solid var(--color-gold);
  background: var(--color-surface);
  border: 3px solid var(--color-black);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brutal);
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-primary);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--color-surface);
  border: 3px solid var(--color-black);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-brutal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal-lg);
}

.card h3 {
  margin-top: 0;
  font-weight: 900;
}

.card h3 a {
  text-decoration: none;
  color: var(--color-primary-dark);
}

.card h3 a:hover {
  text-decoration: underline;
}

.level-card {
  position: relative;
  background: var(--color-surface);
  border: 3px solid var(--color-black);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-brutal);
}

.level-badge {
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
  color: #fff;
  border: 2px solid var(--color-black);
  border-radius: 50%;
}

.level-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.tier-sub {
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.progress-rail {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.progress-step {
  flex: 1;
  min-width: 5rem;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-sm);
  background: var(--color-bone);
}

.progress-step.is-active {
  background: var(--color-primary);
  color: #fff;
}

.two-col {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 40rem) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.address-block {
  font-style: normal;
  background: var(--color-surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 3px solid var(--color-black);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-brutal);
}

.address-label {
  font-weight: 900;
  margin: 0 0 0.25rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 900;
  text-decoration: none;
  border: 3px solid var(--color-black);
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: var(--shadow-brutal);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: var(--shadow-brutal-lg);
}

.btn-secondary {
  background: var(--color-gold);
  color: var(--color-black);
  box-shadow: var(--shadow-brutal);
}

.btn-secondary:hover {
  background: #f0b020;
  color: var(--color-black);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-on-dark);
  border-color: var(--color-gold);
  box-shadow: 3px 3px 0 var(--color-gold);
}

.btn-ghost:hover {
  background: rgba(232, 163, 23, 0.15);
  color: #fff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-surface);
  border: 3px solid var(--color-black);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: 3px 3px 0 var(--color-black);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  padding: 0.35rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "▸ ";
  color: var(--color-primary);
  font-weight: 900;
}

.faq-item[open] summary::before {
  content: "▾ ";
}

.faq-item p {
  margin: 0.75rem 0 0.25rem;
  color: var(--color-text-muted);
}

.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roadmap-item {
  background: var(--color-surface);
  border: 3px solid var(--color-black);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-brutal);
}

.roadmap-item h2 {
  font-size: 1.15rem;
  margin: 0.5rem 0 0.35rem;
  font-weight: 900;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 2px solid var(--color-black);
}

.badge-planned {
  background: var(--color-indigo);
  color: #fff;
}

.back-link {
  margin-top: 2rem;
}

.section-break {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-soga) 0,
    var(--color-soga) 8px,
    var(--color-gold) 8px,
    var(--color-gold) 16px,
    var(--color-primary) 16px,
    var(--color-primary) 24px
  );
  border-block: 2px solid var(--color-black);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--fade {
  transform: none;
}

.reveal--slide-left {
  transform: translateX(-28px);
}

.reveal--slide-right {
  transform: translateX(28px);
}

@media (max-width: 48rem) {
  .reveal--slide-left,
  .reveal--slide-right {
    transform: translateY(16px);
  }
}

.reveal--scale {
  transform: scale(0.94);
}

.gunungan.js-parallax-gunungan {
  --gunungan-parallax-y: 0px;
  transform: translate3d(0, var(--gunungan-parallax-y), 0);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .gunungan.js-parallax-gunungan {
    --gunungan-parallax-y: 0px;
    transform: none;
    will-change: auto;
  }

  .gunungan {
    animation: none !important;
    opacity: 1;
  }

  .gunungan__sway,
  .gunungan__rise,
  .gunungan__art,
  .gunungan__img {
    animation: none !important;
    transform: none;
  }
}

.section--batik-anim {
  position: relative;
  padding: 2.5rem 0;
  margin-bottom: 0;
  background: var(--color-bone);
  border-block: 3px solid var(--color-black);
  background-image: var(--pattern-parang), var(--pattern-kawung);
  background-size: 120px 120px, 48px 48px;
  background-position: 0 0, 0 0;
}

@media (prefers-reduced-motion: no-preference) {
  .section--batik-anim {
    animation: batik-drift 48s linear infinite;
  }
}

@keyframes batik-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 240px 120px, 96px 48px;
  }
}

.timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-left: 4px solid var(--color-primary);
}

.timeline__item {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -0.55rem;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--color-gold);
  border: 2px solid var(--color-black);
}

.timeline__year {
  display: inline-block;
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.timeline__item p {
  margin: 0;
}

.highlight-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 40rem) {
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.highlight-card {
  background: var(--color-surface);
  border: 3px solid var(--color-black);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-brutal);
}

.highlight-card h3 {
  margin: 0 0 0.5rem;
  font-weight: 900;
}

.highlight-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.tilt-card {
  transform-style: preserve-3d;
  perspective: 800px;
}

.tilt-card__inner {
  transition: transform 0.15s ease-out;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.tilt-card:hover {
  transform: none;
  box-shadow: var(--shadow-brutal);
}

.section--galeri-preview {
  padding: 2.5rem 0;
  background: var(--color-surface);
  border-block: 3px solid var(--color-black);
}

.galeri-preview__head {
  margin-bottom: 1.5rem;
}

.galeri-preview-grid,
.galeri-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 36rem) {
  .galeri-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 56rem) {
  .galeri-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.photo-figure {
  margin: 0;
  background: var(--color-bone);
  border: 3px solid var(--color-black);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-brutal);
}

.photo-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.photo-figure__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  font: inherit;
}

.photo-figure__trigger:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.photo-figure__caption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.photo-figure__credit {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.photo-figure__source {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.level-card__photo,
.section-photo-block {
  margin-top: 1.25rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-primary-dark) 55%, #5a0814 100%);
  color: var(--color-text-on-dark);
  padding: 2.75rem 0;
  border-top: 4px solid var(--color-black);
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
}

.cta-band p {
  color: var(--color-text-muted-on-dark);
  max-width: 40rem;
  margin: 0 0 1.25rem;
}

.cta-band__actions {
  margin-top: 0;
}

.photo-lightbox {
  max-width: min(96vw, 52rem);
  width: 100%;
  padding: 0;
  border: 4px solid var(--color-black);
  border-radius: var(--radius);
  background: var(--color-black);
  color: var(--color-text-on-dark);
  box-shadow: var(--shadow-brutal-lg);
}

.photo-lightbox::backdrop {
  background: rgba(10, 10, 10, 0.82);
}

.photo-lightbox__toolbar {
  margin: 0;
  padding: 0.5rem 0.75rem;
  display: flex;
  justify-content: flex-end;
  border-bottom: 2px solid #333;
}

.photo-lightbox__figure {
  margin: 0;
}

.photo-lightbox__img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #111;
}

.photo-lightbox__caption {
  padding: 0.85rem 1rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.materi-pill {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  margin-right: 0.35rem;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--color-indigo);
  color: #fff;
  border-radius: 4px;
  vertical-align: middle;
}

.error-hero {
  text-align: center;
  padding: 3rem 0;
}

.error-code {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 900;
  line-height: 1;
  margin: 0;
  color: var(--color-primary);
  letter-spacing: -0.05em;
}

.card--dark {
  background: #1a1a22;
  border-color: var(--color-gold);
  color: var(--color-text-on-dark);
}

.card--dark .muted-on-dark {
  color: var(--color-text-muted-on-dark);
}

/* Footer */
.site-footer {
  background: var(--color-black);
  color: var(--color-text-on-dark);
  padding: 2.5rem 0 0;
  margin-top: 0;
  border-top: 4px solid var(--color-primary);
}

.site-footer a {
  color: var(--color-gold);
  text-decoration-thickness: 2px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 2fr;
  }
}

.footer-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-gold);
  border-radius: 4px;
}

.footer-heading {
  font-weight: 900;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.footer-address {
  margin: 0 0 0.75rem;
  color: var(--color-text-muted-on-dark);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-note {
  font-size: 0.9rem;
  color: var(--color-text-muted-on-dark);
}

.footer-bottom {
  border-top: 2px solid #333;
  padding: 1rem 0 1.5rem;
  font-size: 0.85rem;
  color: #9a9894;
}

.footer-bottom p {
  margin: 0;
}

.footer-credit-gunungan {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #8a8884;
  line-height: 1.45;
}

.badge-live {
  background: var(--color-primary);
  color: #fff;
}

.form-card {
  background: var(--color-surface);
  border: 3px solid var(--color-black);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-brutal);
}

.form-label {
  display: block;
  font-weight: 800;
  margin-bottom: 1rem;
}

.form-input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-sm);
  font: inherit;
}

.form-fieldset {
  border: 2px dashed var(--color-black);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.form-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-check--block {
  margin: 1rem 0;
}

.alert {
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-weight: 600;
}

.alert--error {
  background: #fde8ec;
}

.alert--success {
  background: #e8f5e9;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  border: 2px solid var(--color-black);
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--color-indigo);
  color: #fff;
}

.table-wrap {
  overflow-x: auto;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  background: var(--color-surface);
  border: 3px solid var(--color-black);
  border-radius: var(--radius);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border: 2px solid var(--color-black);
  border-radius: var(--radius-sm);
}

.admin-nav a {
  font-weight: 800;
}

.btn-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.nav-logout-form {
  margin: 0;
}

.nav-logout-btn {
  background: none;
  border: none;
  font: inherit;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  cursor: pointer;
  padding: 0;
}

.nav-logout-btn:hover {
  color: var(--color-primary);
}

.prose-content p {
  margin: 0 0 0.75rem;
}

.badge-status-menunggu { background: var(--color-gold); color: #000; }
.badge-status-diterima { background: #2e7d32; color: #fff; }
.badge-status-ditolak { background: var(--color-primary-dark); color: #fff; }

.cert-page {
  padding: 2rem 1rem;
}

.cert-sheet {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  background: #fff;
  border: 4px solid var(--color-black);
  box-shadow: var(--shadow-brutal-lg);
}

.cert-logo {
  margin-bottom: 1rem;
  height: 5rem;
  width: auto;
  max-width: 5.5rem;
  object-fit: contain;
}
.cert-title { font-size: 1.75rem; margin: 0; font-weight: 900; }
.cert-name { font-size: 1.5rem; font-weight: 900; color: var(--color-primary); }
.cert-class { font-size: 1.15rem; font-weight: 800; }
.cert-sample-label { font-weight: 900; color: var(--color-indigo); }

@media print {
  .site-header,
  .site-footer,
  .ticker,
  .skip-link,
  .no-print,
  .section-break {
    display: none !important;
  }

  .cert-sheet {
    box-shadow: none;
    border-width: 2px;
  }
}
