/* ============================================================
   Raw West — letterpress bill system
   Palette sampled from the club's own flyers.
   ============================================================ */

:root {
  --parchment:      #EDE5D9;
  --parchment-lit:  #F3EDE3;
  --tan:            #C6B29C;
  --gold:           #DEBF82;
  --sienna:         #652E00;
  --espresso:       #3E230C;
  --coal:           #241A12;

  --display: 'Rye', 'Bitter', serif;
  --util:    'Oswald', system-ui, sans-serif;
  --body:    'Bitter', Georgia, serif;

  --max:   min(1180px, 92vw);
  --max-n: min(760px, 92vw);

  --pad-y: clamp(3.5rem, 9vw, 9rem);
  --bar-h: 60px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Text sections stop clear of the fixed bar. The two full-bleed screens
   deliberately do not — they run edge to edge underneath it. */
.bill { scroll-margin-top: calc(var(--bar-h) + 8px); }
.stage { scroll-margin-top: 0; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--espresso);
  font-family: var(--body);
  font-size: clamp(1rem, .5vw + .92rem, 1.125rem);
  line-height: 1.7;
  overflow-x: hidden;          /* belt and braces against side-scroll */
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23g)'/%3E%3C/svg%3E");
}

main, .topbar, .foot { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }

.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: -999px; top: 0; z-index: 99;
  background: var(--sienna); color: var(--parchment);
  padding: .75rem 1.25rem; font-family: var(--util);
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--sienna); outline-offset: 3px; }
.bill--dark :focus-visible,
.bill--join :focus-visible,
.stage :focus-visible,
.foot :focus-visible { outline-color: var(--gold); }

/* ============================================================
   Top bar — fixed, sits over the stage
   ============================================================ */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--bar-h);
  padding: .5rem clamp(.9rem, 3vw, 2.5rem);
  background: var(--parchment);
  border-bottom: 2px solid var(--espresso);
  transition: background-color .25s ease, border-color .25s ease;
}

/* Over the stage the bar drops out. Default is the solid state, so if the
   script never runs the bar stays readable rather than invisible. */
.topbar--ghost {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
/* Slide 1 behind it is parchment; on a photo slide the script adds
   .topbar--on-dark and the type flips light. Never applied while the
   mobile menu is down, since that panel is parchment. */
.topbar--on-dark .topbar__mark { color: var(--parchment); }
.topbar--on-dark .topbar__mark img { border-color: var(--gold); }
.topbar--on-dark .topbar__nav a { color: var(--parchment); }
.topbar--on-dark .topbar__nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.topbar--on-dark .burger { border-color: var(--parchment); }
.topbar--on-dark .burger__bar { background: var(--parchment); }

.topbar__mark {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--display);
  font-size: clamp(.95rem, 2.4vw, 1.05rem);
  color: var(--espresso);
  text-decoration: none;
  letter-spacing: .02em;
  margin-right: auto;
  min-width: 0;
}
.topbar__mark img {
  width: 38px; height: 38px; flex: none;
  border: 2px solid var(--espresso);
  border-radius: 50%;
  object-fit: cover;
}
.topbar__name { white-space: nowrap; }

.topbar__nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.6rem); }
.topbar__nav a {
  font-family: var(--util);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--espresso);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.topbar__nav a:hover { border-bottom-color: var(--sienna); color: var(--sienna); }
/* The CTA is a button, not a nav link — restate the colours so the
   `.topbar__nav a` rule above cannot win on specificity. */
.topbar__nav .topbar__cta,
.topbar__nav .topbar__cta:hover {
  color: var(--parchment);
  background: var(--sienna);
  border: 2px solid var(--sienna);
}

/* Burger — hidden on desktop */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  flex: none;
  padding: 0;
  background: transparent;
  border: 2px solid var(--espresso);
  cursor: pointer;
}
.burger__bar {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--espresso);
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }

  .topbar__nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem clamp(.9rem, 3vw, 2.5rem) 1.25rem;
    background: var(--parchment);
    border-bottom: 2px solid var(--espresso);
  }
  .topbar__nav a {
    padding: .95rem .25rem;          /* comfortable tap targets */
    border-bottom: 2px solid var(--tan);
    font-size: .95rem;
  }
  .topbar__nav a:last-of-type { border-bottom: 0; }
  .topbar__nav .topbar__cta {
    margin-top: 1rem;
    text-align: center;
    padding: .95rem 1.2rem;
  }

  /* Open state — driven by the button's own aria-expanded, with a
     class fallback for engines without :has(). */
  .topbar.nav-open .topbar__nav { display: flex; }
  .topbar:has(.burger[aria-expanded="true"]) .topbar__nav { display: flex; }

  /* the bar is never see-through while the menu is down */
  .topbar.nav-open { background: var(--parchment); border-bottom-color: var(--espresso); }
}

/* ============================================================
   Stage — one full viewport screen, sliding horizontally.
   Slide 1 is the WANTED bill; slides 2-7 are photos.
   ============================================================ */

.stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--parchment);
}

.stage__track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.stage__track::-webkit-scrollbar { display: none; }

.stage__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* --- slide 1: the bill --- */
.stage__slide--bill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--parchment);
  padding: calc(var(--bar-h) + clamp(1.25rem, 4vw, 2.5rem)) clamp(4.2rem, 10vw, 7rem)
           clamp(4.5rem, 9vw, 6rem);
}
.stage__bill {
  width: 100%;
  max-width: var(--max-n);
}

.stage .rule--double {
  color: var(--sienna);
  margin: .8rem auto;
  max-width: 44rem;
  opacity: 1;
}

.wanted {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 12vw, 8.5rem);
  line-height: .92;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: .3rem 0;
  color: var(--sienna);
  text-shadow: 2px 2px 0 color-mix(in srgb, var(--espresso) 22%, transparent);
}

.wanted__sub {
  font-family: var(--util);
  font-weight: 600;
  font-size: clamp(.95rem, 3.6vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: .38em;
  text-indent: .38em;
  margin: .85rem 0 0;
  color: var(--espresso);
}

.hours {
  margin: 0 auto clamp(1.5rem, 4vw, 2.2rem);
  display: inline-grid;
  gap: .35rem;
  font-family: var(--util);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(.8rem, 2.5vw, .95rem);
}
.hours__row {
  display: grid;
  grid-template-columns: 7.5rem auto;
  gap: .75rem;
  text-align: left;
  border-bottom: 2px dotted var(--tan);
  padding-bottom: .3rem;
}
.hours dt { color: var(--sienna); }
.hours dd { margin: 0; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* --- slides 2-7: photos --- */
.stage__slide--photo { background: var(--coal); }

/* A photo can be bright exactly where the nav sits, so give the bar a
   consistent dark ground to read against. */
.stage__slide--photo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: calc(var(--bar-h) + 3rem);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(36,26,18,.78), rgba(36,26,18,0));
}
.stage__slide--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.34) saturate(1.12) contrast(1.03) brightness(.9);
}

.stage__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 5rem clamp(1.25rem, 5vw, 3rem) clamp(4rem, 8vw, 4.6rem);
  font-family: var(--util);
  font-size: clamp(.74rem, 2.4vw, .88rem);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--parchment);
  background: linear-gradient(to top, rgba(36,26,18,.9), rgba(36,26,18,0));
  pointer-events: none;
}

/* --- arrows --- */
.sbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  background: color-mix(in srgb, var(--parchment) 92%, transparent);
  color: var(--espresso);
  border: 3px solid var(--espresso);
  font-size: 2rem;
  line-height: 1;
  font-family: var(--body);
  transition: background-color .15s ease, transform .15s ease;
}
.sbtn:hover { background: var(--gold); }
.sbtn:active { transform: translateY(-50%) scale(.94); }
.sbtn--prev { left: clamp(.6rem, 2.5vw, 1.75rem); }
.sbtn--next { right: clamp(.6rem, 2.5vw, 1.75rem); }

/* --- dots --- */
.stage__dots {
  position: absolute;
  left: 50%;
  bottom: clamp(1.1rem, 3vw, 1.75rem);
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: .45rem;
}
.stage__dot {
  width: 28px; height: 22px;
  padding: 0;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  cursor: pointer;
}
.stage__dot::before {
  content: '';
  display: block;
  width: 20px; height: 4px;
  background: color-mix(in srgb, var(--espresso) 30%, transparent);
  transition: background-color .2s ease;
}
.stage__dot[aria-selected="true"]::before { background: var(--sienna); }
.stage__dot:hover::before { background: var(--espresso); }

/* on a photo slide the dots sit on a dark ground */
.stage.is-dark .stage__dot::before { background: color-mix(in srgb, var(--parchment) 45%, transparent); }
.stage.is-dark .stage__dot[aria-selected="true"]::before { background: var(--gold); }
.stage.is-dark .stage__dot:hover::before { background: var(--parchment); }

/* --- vertical scroll cue --- */
.stage__down {
  position: absolute;
  right: clamp(.75rem, 2.5vw, 1.9rem);
  bottom: clamp(.9rem, 2.5vw, 1.5rem);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  text-decoration: none;
  font-size: 1.15rem;
  color: var(--sienna);
  animation: nudge 2s ease-in-out 4;   /* finite: cues on arrival, then settles */
}
.stage.is-dark .stage__down { color: var(--gold); }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

@media (max-width: 560px) {
  .sbtn { width: 46px; height: 46px; font-size: 1.65rem; }
}
@media (max-height: 620px) {
  .stage__down { display: none; }
}

/* ============================================================
   Photo band
   ============================================================ */

.band {
  margin: 0;
  border-top: 3px solid var(--espresso);
  border-bottom: 3px solid var(--espresso);
  background: var(--coal);
}
.band img {
  width: 100%;
  height: clamp(240px, 42vh, 460px);
  object-fit: cover;
  filter: sepia(.36) saturate(1.12) contrast(1.03) brightness(.94);
}

/* ============================================================
   Bills (sections)
   ============================================================ */

.bill { padding: var(--pad-y) clamp(1rem, 4vw, 2.5rem); }
.bill__inner { width: var(--max); margin-inline: auto; }
.bill__inner--narrow { width: var(--max-n); }

.bill--dark { background: var(--coal); color: var(--parchment); }
.bill--dark .eyebrow { color: var(--gold); }
.bill--dark .head    { color: var(--parchment); }

.bill--join { background: var(--espresso); color: var(--parchment); }
.bill--join .eyebrow { color: var(--gold); }
.bill--join .head    { color: var(--parchment); }

.bill--family {
  background: var(--gold);
  text-align: center;
  border-top: 3px solid var(--espresso);
  border-bottom: 3px solid var(--espresso);
}
.bill--family .body-lg { margin-inline: auto; }

/* ============================================================
   Rules
   ============================================================ */

.rule { border: 0; height: 3px; background: currentColor; margin: 1.6rem 0; opacity: .9; }
.rule--double {
  height: 11px;
  background: none;
  border-top: 5px solid currentColor;
  border-bottom: 2px solid currentColor;
}

/* ============================================================
   Type
   ============================================================ */

.eyebrow {
  font-family: var(--util);
  font-size: clamp(.68rem, 2.2vw, .78rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--sienna);
  margin: 0 0 1.1rem;
}
.eyebrow--sm { letter-spacing: .2em; margin-bottom: .5rem; }

.head {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: .01em;
  margin: 0 0 1.5rem;
  color: var(--espresso);
}
.head--sm { font-size: clamp(1.4rem, 3vw, 2.3rem); }

.body-lg { max-width: 62ch; margin: 0 0 1.2rem; }

.lede {
  font-size: clamp(1rem, 1vw + .85rem, 1.3rem);
  max-width: 46ch;
  margin: 1.5rem auto 1.9rem;
}
.lede--left { margin-inline: 0; }

.role {
  font-family: var(--util);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .85rem;
  color: var(--sienna);
  margin: -.8rem 0 1.4rem;
}

.note {
  font-size: .93rem;
  color: color-mix(in srgb, currentColor 72%, transparent);
  max-width: 46ch;
  margin-top: 1.4rem;
}
.note--center { margin-inline: auto; text-align: center; }

.link {
  color: inherit;
  font-family: var(--util);
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}
.link:hover { color: var(--sienna); }
.bill--dark .link:hover,
.bill--join .link:hover,
.foot .link:hover { color: var(--gold); }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--util);
  font-size: .86rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  text-decoration: none;
  padding: .9rem 1.7rem;
  background: var(--sienna);
  color: var(--parchment);
  border: 2px solid var(--sienna);
  box-shadow: 4px 4px 0 var(--espresso);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--espresso); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--espresso); }

.btn--sm { padding: .55rem 1rem; font-size: .74rem; box-shadow: 3px 3px 0 var(--espresso); }

.btn--ghost {
  background: transparent;
  color: var(--espresso);
  border-color: var(--espresso);
  box-shadow: 4px 4px 0 var(--tan);
}
.bill--dark .btn--ghost,
.bill--join .btn--ghost {
  color: var(--parchment);
  border-color: var(--gold);
  box-shadow: 4px 4px 0 var(--coal);
}

/* ============================================================
   Practice
   ============================================================ */

.grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 780px) { .grid--2 { grid-template-columns: 1.15fr .85fr; } }

.sched { width: 100%; border-collapse: collapse; }
.sched th, .sched td {
  font-family: var(--util);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(.82rem, 2.6vw, 1.02rem);
  font-weight: 400;
  text-align: left;
  padding: .9rem .2rem;
  border-bottom: 2px solid var(--tan);
}
.sched th { color: var(--sienna); width: 46%; }
.sched tr:first-child th, .sched tr:first-child td { border-top: 3px solid var(--espresso); }

.addr { font-style: normal; font-size: 1.1rem; margin: 0 0 1rem; }
.addr--sm { font-size: 1rem; }

/* --- catchment / getting here --- */
.reach { margin-top: clamp(2.5rem, 6vw, 4rem); }
.reach .rule { margin-bottom: 1.8rem; }
.reach__h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  margin: 0 0 1.1rem;
  color: var(--espresso);
}

.towns {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.towns li {
  font-family: var(--util);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .4rem .8rem;
  border: 2px solid var(--tan);
  color: var(--espresso);
  white-space: nowrap;
}

/* ============================================================
   Record
   ============================================================ */

.record {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin: 2.2rem 0 2.6rem;
}
@media (min-width: 760px) { .record { grid-template-columns: repeat(3, 1fr); } }

.record__item {
  border: 3px solid var(--espresso);
  background: var(--parchment-lit);
  padding: 1.6rem 1.4rem;
  box-shadow: 6px 6px 0 var(--tan);
}
.record__num {
  font-family: var(--display);
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--sienna);
  margin: 0 0 .55rem;
}
.record__title {
  font-family: var(--util);
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 .5rem;
}
.record__note { margin: 0; font-size: .95rem; }

.proof { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .proof { grid-template-columns: 1fr 1fr; } }

.proof__fig { margin: 0; }
.proof__fig img {
  width: 100%;
  height: clamp(240px, 40vh, 420px);
  object-fit: cover;
  border: 3px solid var(--espresso);
}
.proof__fig figcaption {
  font-family: var(--util);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-top: .65rem;
  color: var(--sienna);
}

/* ============================================================
   Coach
   ============================================================ */

.pull {
  margin: 2.3rem 0 0;
  padding: 1.5rem 0;
  border-top: 3px solid var(--espresso);
  border-bottom: 3px solid var(--espresso);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  color: var(--sienna);
}

/* ============================================================
   Join steps
   ============================================================ */

.steps {
  list-style: none;
  margin: 2.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  border: 3px solid var(--gold);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.step__n {
  font-family: var(--util);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--gold);
  margin: 0 0 .8rem;
}
.step__h {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.28;
  margin: 0 0 .85rem;
}
.step__b { margin: 0 0 1.4rem; font-size: .96rem; }
.step .btn, .step .link { margin-top: auto; align-self: flex-start; }

.motto {
  font-family: var(--display);
  font-size: clamp(1.25rem, 3.4vw, 2.1rem);
  color: var(--sienna);
  margin: 1.7rem 0 1.3rem;
  letter-spacing: .02em;
}

/* ============================================================
   Footer
   ============================================================ */

.foot {
  background: var(--coal);
  color: var(--parchment);
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) 2rem;
}
.foot__inner {
  width: var(--max);
  margin-inline: auto;
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 760px) {
  .foot__inner { grid-template-columns: auto repeat(3, 1fr); gap: 3rem; }
}
.foot__logo {
  width: 84px; height: 84px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}
.foot__col p { margin: 0; font-size: .95rem; line-height: 2; }
.foot .eyebrow--sm { color: var(--gold); }
/* Two classes, so this beats `.foot__col p` on specificity without !important */
.foot__col .foot__area {
  margin-top: .9rem;
  font-size: .86rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--parchment) 72%, transparent);
  max-width: 26ch;
}

.foot__legal {
  width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.4rem;
  border-top: 2px solid color-mix(in srgb, var(--gold) 40%, transparent);
  font-family: var(--util);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  opacity: .75;
}

/* ============================================================
   Motion — bill load sequence only
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise .7s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: calc(var(--d, 0) * 100ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.d0 { --d: 0 } .d1 { --d: 1 } .d2 { --d: 2 } .d3 { --d: 3 }
.d4 { --d: 4 } .d5 { --d: 5 } .d6 { --d: 6 } .d7 { --d: 7 }

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