/* =========================================================
   URBANA QUALIFIER — Borobudur Marathon 2026
   Bold-minimalist design system
   ========================================================= */

/* Display headline font (replaces Anton) */
@font-face {
  font-family: "Barlow SC Display";
  src: url("../assets/BarlowSemiCondensed-BlackItalic.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* palette */
  --paper: #f7f6f2;
  --paper-2: #efeee8;
  --ink: #0e0e0e;
  --ink-2: #1a1a1a;
  --accent: #e23127;
  --accent-press: #c4271e;
  --gold: #f3bf49;
  --line: rgba(14, 14, 14, 0.14);
  --line-strong: rgba(14, 14, 14, 0.5);
  --muted: rgba(14, 14, 14, 0.62);
  --muted-on-dark: rgba(247, 246, 242, 0.66);
  --line-on-dark: rgba(247, 246, 242, 0.16);

  /* type */
  --font-display: "Barlow SC Display", "Arial Narrow", "Haettenschweiler", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-h: 74px;
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
sup { font-size: 0.5em; }
::selection { background: var(--accent); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- shared type ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--light { color: var(--muted-on-dark); }

.txt-accent { color: var(--accent); }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 1.2rem + 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 18ch;
}
.h2--light { color: var(--paper); }

.section-sub {
  max-width: 54ch;
  color: var(--muted);
  margin: 1.1rem 0 0;
  font-size: 1.075rem;
}
.section-sub--light { color: var(--muted-on-dark); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-no {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }

/* ---------- buttons ---------- */
.btn {
  --pad-y: 0.85rem;
  --pad-x: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { --pad-y: 0.55rem; --pad-x: 1.15rem; font-size: 0.85rem; }
.btn--lg { --pad-y: 1.05rem; --pad-x: 2.1rem; font-size: 1.02rem; }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-press); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ghost-dark { border-color: var(--line-on-dark); color: var(--paper); }
.btn--ghost-dark:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header[data-state="scrolled"] {
  background: rgba(247, 246, 242, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; position: relative; --logo-size: 1.5rem; }

/* Wordmark lockup: BOROBUDUR / MARATHON · 2026 */
.logo { display: inline-block; line-height: 1; }
.logo__word {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--logo-size);
  line-height: 0.82;
  letter-spacing: 0.014em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.logo__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: calc(var(--logo-size) * 0.285);
  line-height: 1;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  margin-top: 0.36em;
  margin-right: -0.4em; /* offset trailing letter-spacing so it aligns under the word */
}
.logo--light .logo__word { color: var(--paper); }

/* raster wordmark logo: same asset used for both; white variant is CSS-inverted (black text on transparent -> white on transparent) */
.brand__logo { display: block; width: auto; height: clamp(38px, 1.6vw + 28px, 48px); }
.brand__logo--white {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  filter: invert(1);
  transition: opacity 0.25s var(--ease);
}
.brand__logo--dark { transition: opacity 0.25s var(--ease); }
.site-header[data-state="top"] .brand__logo--dark { opacity: 0; }
.site-header[data-state="top"] .brand__logo--white { opacity: 1; }
.footer__brand .brand__logo { height: auto; width: clamp(240px, 26vw, 320px); filter: none; }

.nav__list { display: flex; align-items: center; gap: clamp(0.6rem, 1.6vw, 1.6rem); }
.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.4rem 0.1rem;
  letter-spacing: 0.01em;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transition: right 0.28s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="true"]::after { right: 0; }
.nav__link[aria-current="true"] { color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2.4px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* transparent header at the very top sits over a dark/colored hero → light content */
.site-header[data-state="top"] .logo__word { color: var(--paper); }
.site-header[data-state="top"] .nav-toggle span { background: var(--paper); }
body:not(.nav-open) .site-header[data-state="top"] .nav__link { color: var(--paper); }
.site-header[data-state="top"] .header__actions .btn--accent {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.site-header[data-state="top"] .header__actions .btn--accent:hover {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 3rem;
  overflow: hidden;
  color: var(--paper);
  background-color: #b90202;
  background-image: url("../assets/hero-illustration.png");
  background-size: contain;
  background-position: right bottom;
  background-repeat: no-repeat;
}
.hero__bg { display: none; } /* decorative ghost not used over the photo banner */

.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero .eyebrow { margin-bottom: 1.4rem; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 1rem + 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero__lead {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: rgba(247, 246, 242, 0.92);
  margin: 0 0 2.2rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
}
.hero__lead strong { color: #fff; font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3rem; }

/* countdown */
.countdown {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  max-width: 560px;
}
.countdown__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.7rem;
}
.countdown__grid { display: flex; align-items: flex-start; gap: clamp(0.5rem, 2vw, 1.3rem); }
.countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 3.4ch; }
.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 3vw, 3.9rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.countdown__cap {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}
.countdown__sep {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  color: var(--accent);
  line-height: 1;
  padding-top: 0.2rem;
}
.countdown__done {
  font-weight: 700;
  color: var(--accent);
  margin: 0.2rem 0 0;
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  position: relative;
  padding-bottom: 42px;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 1px; height: 34px;
  background: var(--line-strong);
  animation: scrollLine 1.8s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  40% { transform: scaleY(1); transform-origin: top; }
  60% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* hero content tuned for the red photo banner */
.hero__col { max-width: 760px; }
.hero__logos { display: flex; align-items: center; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.5rem; }
.hero__decade { display: block; width: auto; height: clamp(40px, 5.5vw, 76px); }
.hero__urbana {
  display: block;
  width: auto;
  height: clamp(22px, 3.2vw, 42px);
  padding-left: 0.9rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.hero .eyebrow--accent { color: rgba(255, 255, 255, 0.9); }
.hero__title {
  font-size: clamp(2.4rem, 6.7vw, 80px);
  text-shadow: 0 2px 18px rgba(90, 0, 0, 0.35);
}
.hero__lead { text-shadow: none; }
.hero .txt-accent { color: #ffc02e; }

.hero .btn--accent { background: var(--paper); color: var(--accent); }
.hero .btn--accent:hover { background: var(--ink); color: #fff; }
.hero .btn--ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--accent); border-color: #fff; }

.hero .countdown { border-top-color: rgba(255, 255, 255, 0.28); }
.hero .countdown__label { color: rgba(255, 255, 255, 0.78); }
.hero .countdown__cap { color: rgba(255, 255, 255, 0.72); }
.hero .countdown__sep { color: #ffc02e; }
.hero .countdown__done { color: #ffc02e; }

.hero__scroll span { color: rgba(255, 255, 255, 0.78); }
.hero__scroll span::after { background: rgba(255, 255, 255, 0.6); }

/* mobile: full-width text needs an even red wash for contrast; keep the runner in frame */
@media (max-width: 760px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(185, 2, 2, 0.12) 0%, rgba(185, 2, 2, 0.62) 48%, rgba(185, 2, 2, 0.92) 66%, rgba(185, 2, 2, 0.98) 100%),
      url("../assets/hero-illustration.png");
    background-size: cover, auto 52%;
    background-position: center, right bottom;
  }
  .hero__col { max-width: none; }
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-block: 1px solid var(--ink);
  padding: 0.9rem 0;
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 26s linear infinite;
}
.ticker__track span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ticker__dot { color: var(--accent) !important; font-family: var(--font-body) !important; font-size: 1rem !important; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker:hover .ticker__track { animation-play-state: paused; }

/* =========================================================
   TENTANG
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
}
.about__lead .h2 { max-width: 15ch; }
.about__body { min-width: 0; }
.about__body p { margin: 0 0 1.15rem; color: var(--muted); }
.about__body p strong { color: var(--ink); font-weight: 700; }

.about__partners {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.75rem, 4vw, 1.6rem);
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
  min-width: 0;
  max-width: 100%;
}
.about__partners-img {
  display: block;
  flex: 0 1 320px;
  min-width: 0;
  width: auto;
  max-width: 320px;
  height: auto;
  align-self: center;
}
.about__partners-img--kompas { flex-basis: 180px; max-width: 180px; }

.about__timeline { margin-top: clamp(2.5rem, 6vw, 4rem); }
.about__timeline-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.about__timeline .section-sub { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.stat {
  background: var(--paper);
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.5rem + 3vw, 3.6rem);
  line-height: 0.9;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.stat__th { font-size: 0.42em; color: var(--accent); align-self: flex-start; margin-left: 2px; }
.stat__cap { font-size: 0.86rem; color: var(--muted); max-width: 22ch; }

/* =========================================================
   KATEGORI (dark section)
   ========================================================= */
.section--cats {
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}
.section--cats::before { /* parallax photo layer */
  content: "";
  position: absolute;
  inset: -10% 0;
  z-index: 0;
  background: url("../assets/banner-temple-hd.jpg") top center / 100% auto no-repeat;
  transform: translateY(var(--cats-par, 0));
  will-change: transform;
}
.section--cats::after { /* downward dark overlay for legibility */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(rgba(14, 14, 14, 0.4), rgba(14, 14, 14, 0.92));
}
.section--cats > .container { position: relative; z-index: 1; }
.section--cats .section-sub { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cat {
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.cat:hover { border-color: rgba(247, 246, 242, 0.4); }

.cat__head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
}
.cat__meta { display: flex; flex-direction: column; gap: 0.3rem; }
.cat__price b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 0.9rem + 1vw, 1.7rem);
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
}
.cat__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.cat__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.cat__cutoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-on-dark);
}
.cat__cutoff-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.cat__cutoff-time { font-size: 0.86rem; font-weight: 700; color: var(--paper); }
.segtags-shared {
  margin-top: clamp(1.2rem, 3vw, 1.8rem);
  padding: clamp(1.2rem, 3vw, 1.6rem) clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  background: var(--ink-2);
}
.segtags__label {
  margin: 0 0 0.85rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.segtags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.segtags li {
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--paper);
  background: rgba(247, 246, 242, 0.05);
}

/* =========================================================
   PERJALANAN PESERTA (dark photo section)
   ========================================================= */
.section--journey {
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}
.section--journey::before { /* parallax photo layer */
  content: "";
  position: absolute;
  inset: -10% 0;
  z-index: 0;
  background: url("../assets/banner-footwork-hd.jpg") top center / 100% auto no-repeat;
  transform: translateY(var(--journey-par, 0));
  will-change: transform;
}
.section--journey::after { /* downward dark overlay for legibility */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(rgba(14, 14, 14, 0.4), rgba(14, 14, 14, 0.92));
}
.section--journey > .container { position: relative; z-index: 1; }
.section--journey .section-sub { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.journey__step {
  background: var(--ink-2);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.25s var(--ease);
}
.journey__step:hover { border-color: rgba(247, 246, 242, 0.4); }
.journey__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
}
.journey__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}
.journey__step p { color: var(--muted-on-dark); font-size: 0.88rem; margin: 0; }
.journey__step p b { color: var(--paper); font-weight: 700; }
.journey__step a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.journey__step a:hover { color: var(--paper); }

/* =========================================================
   BENEFIT
   ========================================================= */
.section--benefit { background: var(--paper-2); }
.benefit__intro { margin-bottom: clamp(2.5rem, 6vw, 4rem); max-width: 62ch; }
.benefit__intro .section-sub strong { color: var(--ink); }
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.benefit {
  background: var(--paper);
  padding: clamp(1.8rem, 4vw, 3rem);
  position: relative;
  transition: background 0.3s var(--ease);
}
.benefit:hover { background: #fff; }
.benefit__no {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.benefit__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0.8rem 0 0.9rem;
}
.benefit p { color: var(--muted); margin: 0; }
.benefit p b { color: var(--ink); font-weight: 700; }

/* =========================================================
   CARA IKUT & HARGA (merged into the Kategori section)
   ========================================================= */
.how__after {
  margin-top: clamp(2rem, 5vw, 3.2rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line-on-dark);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}
.how__after-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--paper);
  margin-bottom: 1rem;
}
.how__after .section-sub { margin: 0; }

.how__note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted-on-dark);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  max-width: 60ch;
}

/* ---------- tie-breaker explainer ---------- */
.tiebreak {
  margin-top: clamp(2rem, 5vw, 3.2rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line-on-dark);
}
.tiebreak__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  transition: color 0.2s var(--ease);
}
.tiebreak__q:hover { color: var(--accent); }
.tiebreak__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.tiebreak__q:hover .tiebreak__label { color: var(--accent); }
.tiebreak__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.tiebreak__icon::before, .tiebreak__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.3s var(--ease);
}
.tiebreak__icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.tiebreak__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.tiebreak[data-open="true"] .tiebreak__icon::after { transform: scaleY(0); }
.tiebreak__panel {
  overflow: hidden;
  max-height: 0;
  padding-top: 1.4rem;
  transition: max-height 0.4s var(--ease);
}
.tiebreak__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}
.tiebreak__metric b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 0.4rem;
}
.tiebreak__metric p { margin: 0; color: var(--muted-on-dark); font-size: 0.88rem; }

.tiebreak__example {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.tiebreak__runner {
  background: var(--ink-2);
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tiebreak__runner b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; color: var(--paper); }
.tiebreak__runner span { font-size: 0.84rem; color: var(--muted-on-dark); }

.tiebreak__verdict {
  margin: 0;
  font-size: 0.88rem;
  color: var(--paper);
  border-left: 3px solid var(--gold);
  padding: 0.7rem 1rem;
  background: rgba(243, 191, 73, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.tiebreak__verdict b { color: var(--gold); }

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.timeline::before {
  content: "";
  position: absolute;
  top: 15px; left: 0; right: 0;
  height: 2px;
  background: var(--line);
}
.tl { position: relative; padding-top: 3.4rem; }
.tl__marker { position: absolute; top: 6px; left: 0; }
.tl__marker span {
  display: block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line-strong);
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.tl.is-visible .tl__marker span { border-color: var(--accent); }
.tl--hot .tl__marker span { background: var(--accent); border-color: var(--accent); }
.tl--hot .tl__marker span::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(0.7); opacity: 0.7; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.tl__icon {
  display: block;
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.tl__date {
  display: inline-block;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.tl__phase {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.tl__body p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.tl__body p b { color: var(--ink); font-weight: 700; }
.tl__link {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.tl__link:hover { border-bottom-color: var(--accent); }

/* =========================================================
   FAQ
   ========================================================= */
.section--faq .h2 { margin-bottom: clamp(2rem, 5vw, 3rem); }
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  text-align: left;
  font-weight: 700;
  font-size: clamp(1.02rem, 1rem + 0.4vw, 1.22rem);
  transition: color 0.2s var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.3s var(--ease);
}
.faq__icon::before { left: 0; top: 10px; width: 22px; height: 2.4px; }
.faq__icon::after { left: 10px; top: 0; width: 2.4px; height: 22px; }
.faq__item[data-open="true"] .faq__icon::after { transform: scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq__a p {
  margin: 0;
  padding: 0 0 1.5rem;
  color: var(--muted);
  max-width: 70ch;
}
.faq__a p b { color: var(--ink); font-weight: 700; }

/* =========================================================
   CTA + FOOTER
   ========================================================= */
.cta {
  color: var(--paper);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.cta::before { /* parallax photo layer */
  content: "";
  position: absolute;
  inset: -10% 0;
  z-index: 0;
  background: url("../assets/banner-runners-hd.jpg") top center / 100% auto no-repeat;
  transform: translateY(var(--cta-par, 0));
  will-change: transform;
  pointer-events: none;
}
.cta::after { /* downward dark overlay for legibility */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(rgba(14, 14, 14, 0.4), rgba(14, 14, 14, 0.92));
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta .eyebrow--accent { color: var(--paper); }
.cta .eyebrow { margin-bottom: 1.2rem; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.2rem + 7vw, 90px);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.cta__lead { max-width: 48ch; color: var(--muted-on-dark); margin: 0 0 2.4rem; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

.footer { background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-on-dark); padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
}
.footer__brand { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__brand .logo { --logo-size: 1.95rem; }
.footer__tag { color: var(--paper); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__nav a { font-size: 0.9rem; font-weight: 600; color: var(--paper); transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: var(--gold); }
.footer__note { grid-column: 1 / -1; color: var(--paper); font-size: 0.85rem; max-width: 60ch; margin: 0.5rem 0 0; }
.footer__legal { grid-column: 1 / -1; color: var(--paper); font-size: 0.78rem; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line-on-dark); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* section headers slide in from the left for extra motion variety */
.section-head.reveal { transform: translateX(-30px); }
.section-head.reveal.is-visible { transform: none; }

/* section id offset for sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; }
  .how__after { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
  .tl { padding-top: 0; padding-left: 2.6rem; padding-bottom: 2.2rem; }
  .tl__marker { top: 2px; left: 0; }
  .tl__icon { margin-bottom: 0.4rem; }
  .tl__date { margin-bottom: 0.15rem; }
  .journey { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    padding: 2rem var(--gutter);
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .nav__link { font-size: 1.5rem; font-family: var(--font-display); text-transform: uppercase; padding: 0.5rem 0; }
  .nav__link::after { bottom: 4px; }
  .nav-toggle { display: flex; }

  .cats { grid-template-columns: 1fr; }

  .journey { grid-template-columns: 1fr; }

  .benefits { grid-template-columns: 1fr; }

  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .tiebreak__metrics { grid-template-columns: 1fr; }
  .tiebreak__example { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { width: 100%; }
  .footer__brand .brand__logo { width: 100%; }
  .footer__nav { width: 100%; }

  /* narrow, content-tall sections: keep the photo visible instead of a thin strip */
  .section--journey::before,
  .section--cats::before,
  .cta::before {
    background-position: center;
    background-size: cover;
  }
}

@media (max-width: 460px) {
  .stat { padding: 1.3rem 1rem; gap: 0.5rem; }
  .stat__num { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .stat__cap { font-size: 0.82rem; letter-spacing: 0; }
  .hero__cta .btn, .cta__actions .btn { flex: 1 1 100%; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@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; }
  .ticker__track { animation: none; }
  .section--cats::before, .section--journey::before, .cta::before { transform: none !important; }
}
