/* ==========================================================================
   SSB Bintang Lahar — stylesheet
   Palette: ink / paper / ember (lava) / gold (star)
   ========================================================================== */

:root {
  --ink: #0a0a0b;
  --ink-2: #121215;
  --ink-3: #1a1a1e;
  --paper: #f4f0e8;
  --paper-2: #ebe5d9;
  --ember: #ff4d00;
  --ember-soft: #ff7a3d;
  --gold: #f2b23b;
  --on-dark: #f4f0e8;
  --muted-dark: rgba(244, 240, 232, 0.62);
  --muted-light: rgba(10, 10, 11, 0.62);
  --line-dark: rgba(244, 240, 232, 0.14);
  --line-light: rgba(10, 10, 11, 0.14);

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --radius: 18px;
  --radius-lg: 26px;

  --step: clamp(56px, 8vw, 112px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

::selection { background: var(--ember); color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

/* ---------- typography helpers ---------- */

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 62px);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.jadwal .section-title,
.prestasi .section-title,
.testimoni .section-title,
.daftar .section-title { margin-bottom: 18px; }

section[id], footer[id] { scroll-margin-top: 84px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}
.section-label::before {
  content: "★";
  font-size: 11px;
  color: var(--gold);
}

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.7;
}

.ember-text {
  background: linear-gradient(100deg, var(--gold) 5%, var(--ember) 55%, #c62b00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark) 20%, var(--line-dark) 80%, transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 11, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.site-header.scrolled::after { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(255, 77, 0, 0.35));
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.brand-text small {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav > a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: rgba(244, 240, 232, 0.78);
  transition: color 0.2s;
}
.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--ember);
  transition: right 0.3s var(--ease);
}
.nav > a:not(.nav-cta):hover { color: #fff; }
.nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { bottom: 17px; }
.nav-open .nav-toggle span:first-child { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-ember {
  background: linear-gradient(135deg, #ff7a3d, var(--ember) 55%, #d63500);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(255, 77, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ember:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(255, 77, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  background: rgba(244, 240, 232, 0.06);
  border: 1px solid rgba(244, 240, 232, 0.28);
  color: var(--on-dark);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(244, 240, 232, 0.12); border-color: rgba(244, 240, 232, 0.5); }

.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-ink:hover { background: #000; transform: translateY(-2px); }

.btn-sm { padding: 11px 20px; font-size: 13px; }
.btn-block { width: 100%; margin-top: 6px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 2px solid var(--ember);
  padding-bottom: 3px;
  transition: gap 0.25s var(--ease), color 0.2s;
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { gap: 14px; color: var(--ember); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(255, 77, 0, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.78) 0%, rgba(10, 10, 11, 0.45) 32%, rgba(10, 10, 11, 0.82) 72%, var(--ink) 100%),
    linear-gradient(90deg, rgba(10, 10, 11, 0.85) 0%, rgba(10, 10, 11, 0.25) 55%, rgba(10, 10, 11, 0.35) 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-inner { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(244, 240, 232, 0.24);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.86);
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(255, 77, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 10.5vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.hero-title span { display: block; }

.hero-sub {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: clamp(15.5px, 1.6vw, 18px);
  line-height: 1.7;
  color: rgba(244, 240, 232, 0.82);
}
.hero-sub strong { color: #fff; font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
  overflow: hidden;
  max-width: 720px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-stats > div {
  background: rgba(10, 10, 11, 0.55);
  padding: 18px 20px;
}
.hero-stats dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 4px;
}
.hero-stats dd {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  color: var(--on-dark);
}
.hero-stats .suffix { color: var(--ember); }

.scroll-cue {
  position: absolute;
  right: max(20px, calc((100vw - var(--wrap)) / 2));
  bottom: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dark);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(var(--ember), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ember);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- ticker ---------- */

.ticker {
  background: var(--ember);
  color: #120800;
  overflow: hidden;
  border-block: 1px solid rgba(0, 0, 0, 0.35);
  padding: 9px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker i { font-style: normal; font-size: 10px; opacity: 0.6; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- generic sections ---------- */

.section { padding: var(--step) 0; position: relative; }
.section-dark { background: var(--ink-2); }
.about, .jadwal, .prestasi, .testimoni {
  background: var(--paper);
  color: var(--ink);
}
.about .section-label, .jadwal .section-label, .prestasi .section-label, .testimoni .section-label { color: #cf3a00; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted-dark);
}
.about .section-desc, .jadwal .section-desc { color: var(--muted-light); }

/* ---------- about ---------- */

.about-media {
  position: relative;
  padding-bottom: 48px;
}
.about-main {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 10, 11, 0.5);
}
.about-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}
.about-small {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 54%;
  margin: 0;
  border: 8px solid var(--paper);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 44px -24px rgba(10, 10, 11, 0.55);
}
.about-small img { aspect-ratio: 1 / 1; object-fit: cover; }
.about-badge {
  position: absolute;
  left: -8px; top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.6);
}
.about-badge strong {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
}
.about-badge span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 70px;
  line-height: 1.3;
  margin-top: 4px;
}

.about-copy .section-title { margin-bottom: 20px; }
.about-copy p { color: rgba(10, 10, 11, 0.72); }
.about-copy .lead { color: var(--ink); }

.value-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 22px;
}
.value-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.value-list h3 {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 3px;
}
.value-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-light);
}

/* ---------- program ---------- */

.program { overflow: hidden; }
.program::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.16), transparent 65%);
  pointer-events: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 61, 0.5);
  background: linear-gradient(170deg, rgba(255, 77, 0, 0.1), rgba(255, 255, 255, 0.02));
}
.card:hover::after { transform: scaleX(1); }

.card-featured {
  border-color: rgba(255, 122, 61, 0.45);
  background: linear-gradient(170deg, rgba(255, 77, 0, 0.16), rgba(255, 255, 255, 0.02));
}
.card-flag {
  position: absolute;
  top: 14px; right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1000;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-age {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember-soft);
  margin-bottom: 12px;
}
.card-top h3 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.card-stage {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.card-desc {
  margin: 16px 0 18px;
  font-size: 13.6px;
  line-height: 1.65;
  color: rgba(244, 240, 232, 0.72);
}
.card-list {
  display: grid;
  gap: 7px;
  margin-bottom: 20px;
}
.card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: rgba(244, 240, 232, 0.8);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ember);
}
.card-meta {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.program-note {
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--muted-dark);
  text-align: center;
}

/* ---------- jadwal ---------- */

.grid-schedule {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.grid-schedule .lead { color: rgba(10, 10, 11, 0.7); margin-bottom: 28px; }

.schedule-table {
  border-top: 2px solid var(--ink);
}
.sched-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 14px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-light);
  font-size: 14.5px;
}
.sched-head {
  padding: 10px 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
  border-bottom: 1px solid var(--line-light);
}
.sched-row span:first-child { font-weight: 700; }
.sched-row span:last-child { color: var(--muted-light); text-align: right; }
.sched-row:not(.sched-head):hover { background: rgba(10, 10, 11, 0.03); }

.location-card {
  position: sticky;
  top: 100px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: 0 30px 60px -34px rgba(10, 10, 11, 0.7);
  overflow: hidden;
}
.location-card::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.35), transparent 70%);
}
.loc-label {
  position: relative;
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember-soft);
}
.location-card h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.location-card > p { position: relative; color: rgba(244, 240, 232, 0.72); font-size: 14px; }
.loc-list {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.loc-list li {
  font-size: 13.5px;
  color: rgba(244, 240, 232, 0.78);
  line-height: 1.55;
}
.loc-list span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.45);
  margin-bottom: 2px;
}
.loc-hours {
  position: relative;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(244, 240, 232, 0.7);
}
.loc-hours strong { color: var(--on-dark); }
.location-card .btn { position: relative; }

/* ---------- galeri ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.g-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-3);
  cursor: zoom-in;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.06);
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 11, 0.7));
  opacity: 0;
  transition: opacity 0.35s;
}
.g-item:hover img { transform: scale(1.07); filter: saturate(1.2) contrast(1.08) brightness(1.03); }
.g-item:hover::after { opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- prestasi ---------- */

.prestasi-grid { align-items: start; }
.prestasi-grid .section-title { margin-bottom: 18px; }
.prestasi-grid .lead { color: rgba(10, 10, 11, 0.7); }

.quote {
  margin: 30px 0 0;
  padding: 24px 26px;
  border-left: 4px solid var(--ember);
  background: rgba(10, 10, 11, 0.045);
  border-radius: 0 16px 16px 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}
.quote cite {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.timeline {
  position: relative;
  display: grid;
  gap: 4px;
  border-left: 1px solid var(--line-light);
  padding-left: 26px;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}
.timeline li:last-child { border-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -31px; top: 27px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ember);
}
.tl-year {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ember);
  line-height: 1.2;
}
.timeline h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.timeline p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted-light);
}

/* ---------- pelatih ---------- */

.coaches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.coach {
  padding: 28px 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}
.coach:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 61, 0.4);
  background: rgba(255, 77, 0, 0.07);
}
.coach-avatar {
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ff9350, var(--ember) 60%, #a12700);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 24px -12px rgba(255, 77, 0, 0.8);
}
.coach h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.coach-role {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember-soft);
}
.coach-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-dark);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span {
  padding: 5px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.75);
}

/* ---------- testimoni ---------- */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.testi {
  margin: 0;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(10, 10, 11, 0.07);
  box-shadow: 0 20px 40px -34px rgba(10, 10, 11, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}
.testi blockquote {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
}
.testi figcaption { display: flex; flex-direction: column; }
.testi figcaption strong { font-size: 14px; }
.testi figcaption span { font-size: 12px; color: var(--muted-light); }

/* ---------- daftar ---------- */

.daftar {
  position: relative;
  overflow: hidden;
}
.daftar::before {
  content: "";
  position: absolute;
  left: -15%; bottom: -40%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.22), transparent 65%);
  pointer-events: none;
}
.daftar-grid { align-items: start; }
.daftar .lead { color: var(--muted-dark); }

.daftar-benefit {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.daftar-benefit li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: rgba(244, 240, 232, 0.82);
}
.daftar-benefit li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 77, 0, 0.18);
  color: var(--ember-soft);
  font-size: 11px;
  font-weight: 800;
}

.daftar-form {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.7);
}
.field .opt { font-weight: 500; letter-spacing: 0; text-transform: none; opacity: 0.6; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(244, 240, 232, 0.18);
  border-radius: 12px;
  background: rgba(10, 10, 11, 0.5);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(244, 240, 232, 0.34); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ember-soft);
  background: rgba(10, 10, 11, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.18);
}
.field input[aria-invalid="true"] { border-color: #ff6b6b; }
.field select option { background: var(--ink); color: var(--on-dark); }
.form-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(244, 240, 232, 0.5);
  text-align: center;
}
.form-note.error { color: #ff8f8f; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: clamp(48px, 6vw, 76px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-tagline {
  max-width: 300px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted-dark);
}
.footer-col h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember-soft);
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col li,
.footer-col a {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(244, 240, 232, 0.75);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-col a span { color: var(--muted-dark); font-size: 12.5px; }
.footer-hours {
  margin: 20px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-dark);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}
.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(244, 240, 232, 0.42);
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 6, 7, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.28s;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.lb-figure img {
  max-width: 100%;
  max-height: 78vh;
  height: auto;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.lb-figure figcaption {
  font-size: 13px;
  color: rgba(244, 240, 232, 0.72);
  text-align: center;
}
.lb-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lb-close:hover { background: var(--ember); transform: rotate(90deg); }
.lb-nav {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lb-nav:hover { background: var(--ember); }

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 1;
}

/* content stays visible if JS is unavailable; only JS-enabled pages animate in */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    padding: 96px 24px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(10, 10, 11, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s;
    z-index: -1;
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a { width: 100%; padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line-dark); }
  .nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 18px; width: 100%; border-bottom: 0; }

  .nav-toggle { display: block; z-index: 60; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-schedule { grid-template-columns: 1fr; }
  .location-card { position: static; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }

  .about-media { max-width: 520px; }
  .about-main img { aspect-ratio: 16 / 11; }
  .about-small { right: 0; width: 50%; }

  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; }
  .g-wide { grid-column: span 2; }

  .coaches { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scroll-cue { display: none; }
}

@media (max-width: 620px) {
  :root { --step: 56px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }

  .hero { padding: 120px 0 48px; min-height: 100svh; }
  .hero-title { font-size: clamp(46px, 13vw, 68px); }
  .hero-sub { font-size: 15px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { margin-top: 8px; }
  .hero-stats > div { padding: 14px 16px; }

  .ticker span { font-size: 13px; }

  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 132px; grid-auto-flow: dense; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .coaches { grid-template-columns: 1fr; }

  .about-small { width: 58%; border-width: 6px; }
  .about-badge { width: 78px; height: 78px; }
  .about-badge strong { font-size: 24px; }
  .about-badge span { font-size: 8px; }

  .sched-row { grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 13.5px; padding: 13px 2px; }
  .sched-row span:last-child { grid-column: 2; text-align: left; font-size: 12.5px; }
  .sched-head span:last-child { display: none; }
  .sched-head { grid-template-columns: 1fr 1fr; }

  .timeline li { grid-template-columns: 62px 1fr; gap: 14px; }
  .timeline { padding-left: 20px; }
  .timeline li::before { left: -25px; }
  .tl-year { font-size: 19px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }

  .lb-nav { width: 40px; height: 40px; font-size: 24px; }
  .lightbox { gap: 0; padding: 16px 10px; }
  .lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(10, 10, 11, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-figure { max-width: 100%; }
  .lb-figure img { max-height: 70vh; }
}

/* ---------- motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

@media print {
  .site-header, .ticker, .scroll-cue, .daftar-form, .lightbox { display: none !important; }
  body { background: #fff; color: #111; }
  .section, .site-footer { padding: 24px 0; }
  .hero { min-height: auto; color: #111; }
  .hero-media, .hero-veil, .hero-grain { display: none; }
}
