/* 100 Marathon Club Indonesia: sporty, but elegant.
   Palette is taken from the runners banner. Edit colors/fonts here. */
:root {
  --navy: #0d2230;
  --navy-2: #143246;
  --navy-3: #1d4259;
  --coral: #ff5a5f;
  --coral-2: #e9464b;
  --teal: #6fa8ab;
  --teal-2: #4f8d91;
  --peach: #fbb79a;
  --paper: #f7f5f2;
  --white: #ffffff;
  --ink: #132029;
  --muted: #5b6a74;
  --line: rgba(13, 34, 48, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 34, 48, 0.06), 0 12px 32px -12px rgba(13, 34, 48, 0.22);
  --container: 1160px;
  --nav-h: 68px;
  --slant: 4vw;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 600; }
sup { font-size: 0.62em; line-height: 0; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--coral); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--peach);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--coral); transform: skewX(-20deg); }
.eyebrow--dark { color: var(--teal-2); }
.title {
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 0.95; letter-spacing: -0.01em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 1.25rem;
}
.title--light { color: var(--white); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.lead--light { color: rgba(255, 255, 255, 0.78); }
.lead--light a { color: var(--peach); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--coral);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: var(--white); background: var(--btn-bg); border: 2px solid var(--btn-bg);
  border-radius: 999px; cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { --btn-bg: var(--coral-2); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(255, 90, 95, 0.7); }
.btn--ghost { background: transparent; border-color: var(--line-light); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); box-shadow: none; }
.btn--small { min-height: 40px; padding: 0.45rem 1.15rem; font-size: 1rem; }
.btn--big { min-height: 58px; padding: 0.9rem 2.2rem; font-size: 1.25rem; white-space: nowrap; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  color: var(--white);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-solid, .nav.is-open { background: rgba(13, 34, 48, 0.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-light); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 50px; height: 34px;
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.35rem;
  color: var(--white); background: var(--coral); transform: skewX(-12deg); border-radius: 4px;
}
.brand__text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.brand__text small { display: block; font-size: 0.72rem; letter-spacing: 0.3em; color: var(--peach); margin-top: 3px; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a:not(.btn) {
  position: relative; text-decoration: none; padding: 0.4rem 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82);
}
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--coral);
  transition: right 0.25s ease;
}
.nav__menu a:not(.btn):hover, .nav__menu a.is-active { color: var(--white); }
.nav__menu a:not(.btn):hover::after, .nav__menu a.is-active::after { right: 0; }
.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: transparent; border: 0; color: inherit; cursor: pointer;
  }
  .nav__bars, .nav__bars::before, .nav__bars::after {
    display: block; width: 22px; height: 2px; background: currentColor; transition: transform 0.25s ease, opacity 0.2s;
  }
  .nav__bars { position: relative; }
  .nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
  .nav__bars::before { top: -7px; }
  .nav__bars::after { top: 7px; }
  .nav.is-open .nav__bars { background: transparent; }
  .nav.is-open .nav__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav__menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem 1.25rem 1.5rem; background: var(--navy);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav.is-open { background: var(--navy); backdrop-filter: none; }
  .nav.is-open .nav__menu { visibility: visible; opacity: 1; transform: none; }
  .nav__menu a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid var(--line-light); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__menu .btn { margin-top: 1.2rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) 0 calc(var(--slant) + 3.5rem);
  color: var(--white);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(111, 168, 171, 0.28), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255, 90, 95, 0.18), transparent 60%),
    var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-62deg, transparent 0 46px, rgba(255, 255, 255, 0.025) 46px 48px);
}
.hero__bg span {
  position: absolute; right: -2vw; top: calc(var(--nav-h) - 2vw);
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(14rem, 34vw, 30rem); line-height: 0.8; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.07);
}
.hero__inner { position: relative; }
.hero--404 { min-height: 100vh; display: flex; align-items: center; clip-path: none; padding-block: 4rem; }
.hero__title {
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(3.4rem, 10vw, 7.5rem); line-height: 0.88; letter-spacing: -0.015em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero__title span { display: block; }
.hero__title .accent { color: var(--coral); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.8); max-width: 52ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__banner { margin-top: clamp(2.5rem, 6vw, 4rem); margin-bottom: 0; position: relative; }
.hero__banner picture { display: block; }
.hero__banner img {
  width: 100%; height: auto; /* aspect ratio comes from the img width/height attributes */
  border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.65);
}
.hero__banner::after {
  /* finish-line tape */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -6px; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 18px, var(--white) 18px 36px);
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 2.75rem 0 0;
  border-top: 1px solid var(--line-light);
}
.stat { padding: 1.4rem 1rem 0 0; }
.stat + .stat { padding-left: 1.4rem; border-left: 1px solid var(--line-light); }
.stat dt {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
}
.stat dd {
  margin: 0.2rem 0 0; font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.section__head { margin-bottom: 2.75rem; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section__head--row .title { margin-bottom: 0; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about p:not(.eyebrow):not(.lead) { color: var(--muted); max-width: 52ch; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

.founder {
  position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 2rem clamp(1.4rem, 4vw, 2.4rem) 2.2rem; overflow: hidden;
}
.founder::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px;
  background: linear-gradient(90deg, var(--coral), var(--peach) 55%, var(--teal));
}
.founder__role {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.9rem; color: var(--coral); margin-bottom: 0.25rem;
}
.founder__name {
  font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; color: var(--navy);
}
.founder__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0.8rem 0 1.8rem; color: var(--muted); font-size: 0.95rem; }
.founder__meta span::before { content: "\2022"; color: var(--teal); margin-right: 0.45rem; }

/* Race-course timeline */
.course { list-style: none; margin: 0; padding: 0; position: relative; }
.course::before {
  content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--teal) 0 8px, transparent 8px 14px);
}
.course__point { position: relative; padding: 0 0 1.4rem 2.6rem; display: grid; gap: 0.1rem; }
.course__point:last-child { padding-bottom: 0; }
.course__point::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--teal);
}
.course__point--finish::before {
  border: 0;
  background: conic-gradient(var(--navy) 0 25%, var(--white) 0 50%, var(--navy) 0 75%, var(--white) 0) 0 0 / 10px 10px;
  box-shadow: 0 0 0 3px var(--coral);
}
.course__km {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-2);
}
.course__point strong { font-size: 1.08rem; color: var(--navy); }
.course__point time { font-size: 0.92rem; color: var(--muted); }
.chip {
  justify-self: start; margin-top: 0.3rem; padding: 0.15rem 0.6rem; border-radius: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums; color: var(--white); background: var(--navy);
}

/* Requirements */
.reqs {
  position: relative; color: var(--white); background: var(--navy-2);
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-block: calc(clamp(4.5rem, 10vw, 7.5rem) + var(--slant));
}
.reqs .title { color: var(--white); }
.reqs .lead { color: rgba(255, 255, 255, 0.75); }
.reqs__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 820px) { .reqs__grid { grid-template-columns: 1fr; } }
.req {
  position: relative; padding: 2.2rem clamp(1.4rem, 4vw, 2.4rem); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-light); overflow: hidden;
}
.req::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--coral);
}
.req--assoc::after { background: var(--teal); }
.req p { color: rgba(255, 255, 255, 0.78); }
.req strong { color: var(--white); }
.req__num {
  font-family: var(--font-display); font-style: italic; font-weight: 800; line-height: 0.85;
  font-size: clamp(5rem, 11vw, 7rem); color: var(--coral) !important; margin-bottom: 0.8rem;
}
.req--assoc .req__num { color: var(--teal) !important; }
.req__num span { font-size: 0.5em; vertical-align: top; margin-left: 0.05em; }
.req__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 1.6rem; line-height: 1.1; margin-bottom: 0.9rem;
}
.req__note {
  margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line-light);
  font-size: 0.93rem;
}

/* Members */
.search input {
  width: min(320px, 80vw); min-height: 46px; padding: 0.6rem 1rem 0.6rem 2.6rem;
  font: inherit; color: var(--ink); background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235b6a74' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E")
    no-repeat 0.9rem center;
  border: 1px solid var(--line); border-radius: 999px;
}
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(111, 168, 171, 0.3); }

.tabs { display: inline-flex; gap: 0.35rem; padding: 0.35rem; background: var(--white); border-radius: 999px; box-shadow: var(--shadow); }
.tab {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 42px; padding: 0.4rem 1.2rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { color: var(--white); background: var(--navy); }
.tab__count:not(:empty) {
  min-width: 1.6em; padding: 0 0.4em; border-radius: 999px; font-size: 0.85em; text-align: center;
  background: rgba(255, 90, 95, 0.15); color: var(--coral);
}
.tab[aria-selected="true"] .tab__count { background: var(--coral); color: var(--white); }
.tabs__hint { margin: 1rem 0 2rem; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 520px) {
  .tabs { display: flex; }
  .tab { flex: 1; justify-content: center; padding-inline: 0.6rem; font-size: 0.95rem; }
}

.bibs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.5rem; }
.members__status { margin: 1.5rem 0 0; color: var(--muted); text-align: center; }
.members__status:empty { display: none; }

/* Race bib card */
.bib {
  --bib: var(--coral);
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bib:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(13, 34, 48, 0.06), 0 22px 40px -16px rgba(13, 34, 48, 0.3); }
.bib--assoc { --bib: var(--teal-2); }
.bib__top {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem 1rem; color: var(--white); background: var(--bib);
  background-image: repeating-linear-gradient(-62deg, transparent 0 22px, rgba(255, 255, 255, 0.07) 22px 24px);
}
/* safety-pin holes */
.bib__top::before, .bib__top::after {
  content: ""; position: absolute; top: 10px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}
.bib__top::before { left: 10px; }
.bib__top::after { right: 10px; }
.bib__label {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0.9; line-height: 1.2;
}
.bib__label small { display: block; letter-spacing: 0.12em; opacity: 0.8; }
.bib__no {
  font-family: var(--font-display); font-style: italic; font-weight: 800; line-height: 0.8;
  font-size: 4.2rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.bib__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.bib__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.05;
  text-transform: uppercase; color: var(--navy);
}
.bib__loc { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; }
.bib__total { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.bib__total strong {
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--bib); font-variant-numeric: tabular-nums;
}
.bib__total span { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.bib__total small { flex-basis: 100%; color: var(--muted); font-size: 0.8rem; }
.progress { display: grid; gap: 0.35rem; }
.progress__bar { height: 8px; border-radius: 999px; background: rgba(79, 141, 145, 0.15); overflow: hidden; }
.progress__bar span {
  display: block; height: 100%; width: var(--pct, 0%); border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--coral)); transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}
.progress__text { font-size: 0.8rem; color: var(--muted); }
.facts { margin: 0; padding-top: 1rem; border-top: 1px dashed var(--line); display: grid; gap: 0.75rem; }
.facts div { display: grid; grid-template-columns: 4.2rem 1fr; gap: 0.75rem; }
.facts dt {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-2); padding-top: 0.12rem;
}
.facts dd { margin: 0; font-size: 0.93rem; line-height: 1.45; }
.facts time { display: block; color: var(--muted); font-size: 0.85rem; }
.facts .chip { display: inline-block; margin-top: 0.35rem; font-size: 0.95rem; }

.bib--skeleton { min-height: 360px; background: linear-gradient(100deg, #ebe8e3 30%, #f5f3ef 50%, #ebe8e3 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; box-shadow: none; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* Join */
.join {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--coral);
  background-image:
    repeating-linear-gradient(-62deg, transparent 0 46px, rgba(255, 255, 255, 0.06) 46px 48px),
    linear-gradient(120deg, var(--coral), #ff7a6b 60%, var(--peach));
  padding: clamp(4rem, 9vw, 6rem) 0;
}
.join .eyebrow { color: var(--navy); }
.join .eyebrow::before { background: var(--navy); }
.join .lead--light { color: rgba(255, 255, 255, 0.92); max-width: 58ch; margin-bottom: 0; }
.join .lead--light a { color: var(--white); font-weight: 600; }
.join__inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.join .btn { --btn-bg: var(--navy); }
.join .btn:hover { --btn-bg: var(--navy-3); box-shadow: 0 14px 30px -12px rgba(13, 34, 48, 0.6); }

/* Footer */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.6); padding: 2.2rem 0; font-size: 0.9rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer p { margin: 0; }
.brand--footer { color: var(--white); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-pending { opacity: 0; transform: translateY(24px); }
  .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); }
  .bibs .bib:not(.bib--skeleton) { animation: rise 0.6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
