/* ============================================================
   The second section, three ways (2026-09-11). Explorations of how the
   section after the hero says what Bumpr is: one stay drawn as a road.
   Chosen with ?section=line | calendar | board (roadmap.js); with no
   parameter the incumbent .night section shows. Everything here lives
   inside .rm so the incumbent styles stay untouched.

   line      roast · one stay as a line that forks on day 21; the scroll
             fills it. The straight path is most stays, the branch is the bump.
   calendar  cream · 23 day tiles (the system's calendar), twice: most stays
             and the rare one, with annotations aligned to the days.
   board     orange · the stay read as a flight status on a roast block,
             toggling between on time and gate change.
   ============================================================ */

.rm { position: relative; z-index: 2; }
.rm .display { max-width: 22ch; }
.rm-sub { margin-top: var(--s-xxl); max-width: 60ch; font-size: 17px; font-weight: 500; line-height: 1.5; }
.rm-sub b { font-family: var(--mono); letter-spacing: -0.02em; font-weight: 700; }

/* Two short columns of what Bumpr does and doesn't, reused by all three. */
.rm-legend { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-xxl) var(--s-xxxl); max-width: 900px; }
.rm-legend p { font-size: 15px; font-weight: 400; line-height: 1.6; }
.rm-legend b { display: block; font-family: var(--sora); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; margin-bottom: 4px; }
.rm-legend .fig { font-weight: 700; }

/* ================= line · roast ================= */

.rm-line {
  background: var(--roast); color: var(--sand);
  padding: clamp(72px, 9vw, 112px) 0 clamp(64px, 8vw, 96px);
}
.rm-line .display { color: var(--cream); }
.rm-line .rm-sub { color: var(--sand); }
.rm-line .rm-sub b { color: var(--cream); }
.rm-line .rm-legend { margin-top: clamp(48px, 6vw, 72px); color: var(--sand); }
.rm-line .rm-legend b, .rm-line .rm-legend .fig { color: var(--cream); }
.rm-line :focus-visible { outline-color: var(--cream); }

/* The line: a 4-column grid, the four main stops in row one and the branch
   under columns three and four in row two. --p (0 → 1, roadmap.js) is how far
   the stay has run; each rail segment fills between its own --a and --b. */
.line {
  --p: 0;
  --rail: rgba(201,169,143,.32);
  --mark: 14px;
  --gap: 28px;
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gap); row-gap: 0;
}
.line-main, .line-branch { list-style: none; display: contents; }
.stop { position: relative; min-width: 0; padding-top: calc(var(--mark) + 18px); }

/* The mark, and the rail that leaves it towards the next stop. */
.stop-mark {
  position: absolute; top: 0; left: 0; z-index: 2;
  width: var(--mark); height: var(--mark); border-radius: var(--r-full);
  background: var(--roast); border: 2px solid var(--sand);
  transition: background .35s ease, border-color .35s ease, transform .5s var(--ease-out);
}
.stop.is-on .stop-mark { background: var(--primary); border-color: var(--primary); }
.stop-rail {
  position: absolute; top: calc(var(--mark) / 2 - 1px); left: var(--mark); right: calc(var(--gap) * -1);
  height: 2px; background: var(--rail); overflow: hidden;
}
.stop-rail i {
  position: absolute; inset: 0; background: var(--primary);
  transform-origin: 0 50%;
  transform: scaleX(clamp(0, calc((var(--p) - var(--a)) / (var(--b) - var(--a))), 1));
}
.stop:last-child .stop-rail { display: none; }
/* Most stays run straight through: after the fork the main rail is a dashed
   sand path, and its fill is sand rather than orange. */
.stop-through .stop-rail { background: repeating-linear-gradient(90deg, var(--rail) 0 6px, transparent 6px 12px); }
.stop-through .stop-rail i { background: var(--sand); }
.stop-through.is-on .stop-mark { background: var(--sand); border-color: var(--sand); }

/* The fork: a bigger mark carrying the bell, and a drop line from the mark to
   the branch's rail; the fork's own text steps right of that line. */
.stop-fork { padding-left: 28px; }
.stop-fork .stop-mark { width: 28px; height: 28px; top: -7px; left: -7px; display: grid; place-items: center; color: var(--sand); }
.stop-fork .stop-mark svg { width: 14px; height: 14px; stroke: currentColor; }
.stop-fork.is-on .stop-mark { color: var(--roast); }
.stop-fork::before, .stop-fork::after {
  content: ""; position: absolute; z-index: 1;
  left: calc(var(--mark) / 2 - 1px); top: calc(var(--mark) / 2); bottom: -40px; width: 2px;
  background: var(--rail);
}
.stop-fork::after { background: var(--primary); transform-origin: 50% 0; transform: scaleY(clamp(0, calc((var(--p) - .56) / .06), 1)); }

.stop-time { display: block; font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: -0.02em; color: var(--sand); transition: color .35s ease; }
.stop.is-on .stop-time { color: var(--primary); }
.stop strong { display: block; margin-top: 6px; font-family: var(--sora); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--cream); line-height: 1.2; text-wrap: balance; }
.stop p { margin-top: 8px; font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--sand); max-width: 34ch; }
.stop p b { font-family: var(--mono); letter-spacing: -0.02em; font-weight: 700; color: var(--cream); }

/* The branch: row two, under the fork and the check-out column, with an
   L-shaped connector dropping from the fork's mark to the branch's rail. */
.line-branch { display: grid; grid-column: 3 / 5; grid-row: 2; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); margin-top: 40px; position: relative; }
.line-branch .stop { padding-top: calc(var(--mark) + 14px); }
.line-branch .stop strong { font-size: 17px; }
.line-branch .stop p { font-size: 14px; }

@media (max-width: 959px) {
  /* A rail on the left, stops stacked, the branch indented under the fork. */
  .line { display: flex; flex-direction: column; --gap: 0px; padding-left: 0; }
  .line-main { display: contents; }
  .stop { order: 1; padding: 0 0 28px calc(var(--mark) + 18px); }
  .stop-rail { top: var(--mark); left: calc(var(--mark) / 2 - 1px); right: auto; bottom: 0; width: 2px; height: auto; }
  .stop-rail i { transform-origin: 50% 0; transform: scaleY(clamp(0, calc((var(--p) - var(--a)) / (var(--b) - var(--a))), 1)); }
  .stop-through .stop-rail { background: repeating-linear-gradient(180deg, var(--rail) 0 6px, transparent 6px 12px); }
  /* The fork keeps its place; its rail is solid again and fills with the branch's connector. */
  .stop-fork { order: 1; padding-left: calc(var(--mark) + 18px); }
  .stop-fork::before, .stop-fork::after { display: none; }
  .stop-fork .stop-rail { background: var(--rail); }
  .stop-fork .stop-rail i { --b: .62; background: var(--primary); }
  /* The check-out stop comes after the branch; the dashed trunk beside the branch leads to it. */
  .stop-through:not(.stop-fork) { order: 3; }
  .stop-through:not(.stop-fork) .stop-rail { display: none; }
  .line-branch { order: 2; display: block; position: relative; margin: 0 0 28px 32px; padding-left: 0; }
  .line-branch::before {
    content: ""; position: absolute; z-index: 1; width: 2px;
    left: calc(-32px + var(--mark) / 2 - 1px); top: -28px; bottom: -28px;
    background: repeating-linear-gradient(180deg, var(--rail) 0 6px, transparent 6px 12px);
  }
  .line-branch::after { display: none; }
  /* A short tie from the trunk to the branch's first mark. */
  .line-branch .stop:first-child::before {
    content: ""; position: absolute; z-index: 1;
    left: calc(-32px + var(--mark) / 2); top: calc(var(--mark) / 2 - 1px); width: calc(32px - var(--mark) / 2); height: 2px;
    background: var(--rail);
  }
  .line-branch .stop { padding-top: 0; padding-bottom: 22px; }
  .line-branch .stop:last-child { padding-bottom: 0; }
  .line-branch .stop:last-child .stop-rail { display: none; }
  .stop p { max-width: 58ch; }
}

/* ================= calendar · cream ================= */

.rm-cal {
  background: var(--cream); color: var(--roast);
  padding: clamp(72px, 9vw, 112px) 0 clamp(64px, 8vw, 96px);
}
.rm-cal .rm-sub { color: var(--clay); }
.rm-cal .rm-sub b { color: var(--roast); }
.rm-cal .rm-legend { color: var(--clay); margin-top: clamp(40px, 5vw, 56px); }
.rm-cal .rm-legend b, .rm-cal .rm-legend .fig { color: var(--roast); }

.stays { margin-top: clamp(40px, 5vw, 56px); display: grid; gap: clamp(36px, 4vw, 48px); }
.stay { --n: 23; --gap: 6px; }
.stay-head { display: flex; align-items: baseline; gap: var(--s-lg); flex-wrap: wrap; margin-bottom: var(--s-lg); }
.stay-head h3 { font-family: var(--sora); font-weight: 700; font-size: 22px; letter-spacing: -0.028em; color: var(--roast); }
.stay-head p { font-size: 15px; font-weight: 500; color: var(--clay); }
.stay-head p b { font-family: var(--mono); letter-spacing: -0.02em; color: var(--roast); }

.days { list-style: none; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: var(--gap); }
.day {
  position: relative; aspect-ratio: 1; min-width: 0;
  display: grid; place-items: center;
  border-radius: var(--r-control);
  background: var(--cream-dim); color: var(--roast);
  font-family: var(--mono); font-weight: 700; font-size: clamp(12px, 1.05vw, 15px); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
  transition-delay: calc(var(--i) * 28ms);
}
.day svg { width: 46%; height: 46%; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Resting: every night is cream-dim. Once the strip is in view the stay fills:
   the check-in goes roast, the nights wash orange, the bump goes orange, and
   refunded nights go hollow. */
.stay.is-in .day-in { background: var(--roast); color: var(--cream); }
.stay.is-in .day-night { background: var(--primary-wash); }
.stay.is-in .day-out { background: var(--roast); color: var(--cream); }
.stay.is-in .day-bump { background: var(--primary); color: var(--roast); }
.stay.is-in .day-back { background: transparent; color: var(--clay); box-shadow: inset 0 0 0 2px var(--cream-dim); }
.stay.is-in .day-back b { text-decoration: line-through; text-decoration-thickness: 2px; }

/* Annotations aligned under the days they describe, on the same 23 columns. */
.notes { list-style: none; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: var(--gap); margin-top: var(--s-md); }
.note { position: relative; padding-top: 14px; min-width: 0; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--clay); }
.note::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--roast); border-radius: var(--r-mark); }
.note b { font-family: var(--mono); letter-spacing: -0.02em; font-weight: 700; color: var(--roast); }
.note strong { display: block; font-family: var(--sora); font-weight: 700; font-size: 14px; letter-spacing: -0.02em; color: var(--roast); margin-bottom: 2px; }
.note-in { grid-column: 1 / 5; }
.note-night { grid-column: 6 / 15; }
.note-bump { grid-column: 16 / 21; --line: var(--primary); }
.note-back { grid-column: 21 / 24; }
.note-out { grid-column: 20 / 24; }
.note-bump::before { background: var(--primary); }
.notes-stack { display: none; }

@media (max-width: 959px) {
  /* Seven days a row: the strip becomes a month. */
  .stay { --n: 7; }
  .day { font-size: 14px; }
  .notes { display: none; }
  .notes-stack { display: grid; gap: var(--s-md); margin-top: var(--s-lg); list-style: none; }
  .notes-stack .note { padding: 0 0 0 14px; }
  .notes-stack .note::before { width: 2px; height: 100%; top: 0; }
  .notes-stack .note { grid-column: auto; }
}

/* ================= board · orange ================= */

.rm-board {
  background: var(--primary); color: var(--roast);
  padding: clamp(72px, 9vw, 112px) 0 clamp(64px, 8vw, 96px);
}
.rm-board .rm-sub { color: var(--roast); }
.rm-board .rm-legend { color: var(--roast-soft); margin-top: clamp(40px, 5vw, 56px); }
.rm-board .rm-legend b, .rm-board .rm-legend .fig { color: var(--roast); }

/* The two outcomes, as a segmented pair of stamps. */
.outcomes { display: flex; gap: 8px; margin-top: clamp(32px, 4vw, 44px); flex-wrap: wrap; }
.outcome {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px;
  background: transparent; color: var(--roast);
  border: 2px solid rgba(46,21,2,.28); border-radius: var(--r-control);
  font-family: var(--sora); font-weight: 700; font-size: 15px; letter-spacing: -0.02em;
  cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.outcome small { font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: -0.02em; color: var(--roast-soft); }
.outcome:hover { border-color: var(--roast); }
.outcome[aria-pressed="true"] { background: var(--roast); color: var(--cream); border-color: var(--roast); }
.outcome[aria-pressed="true"] small { color: var(--sand); }

/* The board itself: the catch block, spent on the whole stay. */
.board-block {
  margin-top: var(--s-lg);
  background: var(--roast); color: var(--sand);
  border-radius: var(--r-block);
  padding: clamp(24px, 3vw, 36px);
  max-width: 900px;
  display: grid; gap: var(--s-xl);
}
.bb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-lg); flex-wrap: wrap; }
.bb-villa .label { color: var(--sand); }
.bb-villa strong { display: block; margin-top: 6px; font-family: var(--sora); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.028em; color: var(--cream); line-height: 1.05; }
.bb-status { display: grid; text-align: right; }
.bb-status .label { color: var(--sand); }
.bb-status strong { grid-area: 2 / 1; margin-top: 6px; font-family: var(--sora); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.028em; line-height: 1.05; opacity: 0; transition: opacity .4s ease; }
.bb-status strong.is-live { opacity: 1; }
.bb-status .st-ok { color: var(--cream); }
.bb-status .st-bump { color: var(--primary); }

/* The route: today to check-out. On time it runs cream, end to end; on the
   rare stay it runs orange to day 21, then a hollow dashed path for the
   refunded nights. */
.bb-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-lg); padding: var(--s-lg) 0; border-top: 1px solid var(--hairline-on-dark); border-bottom: 1px solid var(--hairline-on-dark); }
.bb-route > span { font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: -0.02em; color: var(--cream); white-space: nowrap; }
.bb-route > span small { display: block; font-family: var(--inter); font-weight: 500; font-size: 12.5px; letter-spacing: 0; color: var(--sand); margin-top: 2px; }
.bb-route > span:last-child { text-align: right; }
.bb-track { position: relative; height: 28px; }
.bb-track i { position: absolute; top: 13px; height: 2px; border-radius: var(--r-mark); }
.bb-track .t-run { left: 0; right: 0; background: var(--cream); transform-origin: 0 50%; transition: transform .6s var(--ease-out), background .4s ease; }
.bb-track .t-rest { left: 87%; right: 0; background: repeating-linear-gradient(90deg, var(--sand) 0 5px, transparent 5px 10px); opacity: 0; transition: opacity .4s ease; }
.bb-track .t-bell {
  position: absolute; left: 87%; top: 0; width: 28px; height: 28px; translate: -50% 0;
  border-radius: var(--r-full); background: var(--primary); color: var(--roast);
  display: grid; place-items: center; opacity: 0; scale: .6; transition: opacity .3s ease, scale .5s var(--ease-out);
}
.bb-track .t-bell svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.board-block[data-state="bump"] .t-run { transform: scaleX(.87); background: var(--primary); }
.board-block[data-state="bump"] .t-rest { opacity: 1; }
.board-block[data-state="bump"] .t-bell { opacity: 1; scale: 1; }

/* Facts are rows: schema key left in the label voice, value right in mono. */
.bb-rows { display: grid; }
.bb-rows dl { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.bb-rows dl.is-live { opacity: 1; pointer-events: auto; }
.bb-row { display: grid; grid-template-columns: 148px 1fr; gap: var(--s-lg); align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--hairline-on-dark); }
.bb-row:last-child { border-bottom: 0; }
.bb-row dt { color: var(--sand); padding-top: 2px; }
.bb-row dd { font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--sand); }
.bb-row dd b { font-family: var(--mono); font-weight: 700; letter-spacing: -0.02em; color: var(--cream); }
.bb-row dd b.hot { color: var(--primary); }
.bb-row dd strong { font-family: var(--sora); font-weight: 700; letter-spacing: -0.02em; color: var(--cream); }
.rm-board .label { font-family: var(--inter); font-weight: 700; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; line-height: 1.2; }
.rm-board :focus-visible { outline-color: var(--roast); }
.board-block :focus-visible { outline-color: var(--cream); }

@media (max-width: 720px) {
  .rm-legend { grid-template-columns: 1fr; gap: var(--s-xl); }
  .stay-head { margin-bottom: var(--s-md); }
  .stay-head h3 { font-size: 20px; }
  .board-block { padding: 20px; border-radius: var(--r-block); }
  .bb-head { flex-direction: column; align-items: flex-start; }
  .bb-status { text-align: left; }
  .bb-route { grid-template-columns: 1fr; gap: var(--s-sm); }
  .bb-route > span:last-child { text-align: left; }
  .bb-row { grid-template-columns: 1fr; gap: 4px; }
  .outcome { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .stop-mark, .stop-time, .stop-rail i, .line-branch::after, .day, .bb-status strong, .bb-rows dl, .bb-track i, .bb-track .t-bell { transition: none; }
}

/* Text for screen readers only (the bump tile carries a bell, not a number). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ================= bump me · the dare (2026-09-11) =================
   One full-bleed frame, four words, one button. Pressing it plays the bump
   as three photographs with one line each, then ends on the rate. */

.rm-dare { background: var(--roast); color: var(--cream); }
.dare { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; }
.dare-frames { position: absolute; inset: 0; z-index: 0; }
.df, .dv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.df.is-live, .dv.is-live { opacity: 1; }
.df { transform: scale(1.04); transition: opacity .9s ease, transform 7s linear; }
.df.is-live { transform: scale(1); }
/* Every cut is hard. The live clip pushes in for as long as it holds. */
.dv.hit { animation: dare-push 1.4s linear forwards; }
@keyframes dare-push { from { transform: scale(1); } to { transform: scale(1.09); } }
/* The bang: an orange hit on every cut, gone in a few frames. */
.dare-bang { position: absolute; inset: 0; z-index: 1; background: var(--primary); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.dare-bang.hit { animation: dare-bang .09s steps(1, end); }
@keyframes dare-bang { from { opacity: .26; } to { opacity: 0; } }
/* The slam: one or two words, punched in, no fade. */
.dare-slam { grid-area: 1 / 1; max-width: 12ch; font-family: var(--sora); font-weight: 800; font-size: clamp(3.2rem, 9.5vw, 9rem); line-height: .95; letter-spacing: -0.04em; color: var(--cream); opacity: 0; pointer-events: none; text-wrap: balance; }
.dare[data-frame="run"] .dare-slam { opacity: 1; }
.dare-slam.hit { animation: dare-slam .22s var(--ease-out); }
@keyframes dare-slam { from { transform: scale(1.35) translateY(6px); } to { transform: none; } }
.dare-slam .mono { font-family: var(--mono); letter-spacing: -0.03em; color: var(--primary); }
.dare-slam .hot { color: var(--primary); }
.dare-slam .count { display: inline-block; font-family: var(--mono); letter-spacing: -0.03em; color: var(--primary); min-width: .7em; }
.dare-slam .count.hit { animation: dare-count .26s var(--ease-out); }
@keyframes dare-count { from { transform: scale(1.5); } to { transform: none; } }
/* Scrims: the one gradient allowed, over photography, so type can sit on it. */
.dare-frames::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,21,2,.42) 0%, rgba(46,21,2,0) 35%, rgba(46,21,2,0) 48%, rgba(46,21,2,.72) 78%, rgba(46,21,2,.92) 100%); }
/* The morning frame is bright, so its foot goes deeper still; the diver sits left of centre. */
.df-morning { object-position: 34% 60%; }
.dare[data-frame="3"] .dare-frames::after, .dare[data-frame="end"] .dare-frames::after { background: linear-gradient(180deg, rgba(46,21,2,.34) 0%, rgba(46,21,2,0) 30%, rgba(46,21,2,0) 42%, rgba(46,21,2,.82) 74%, rgba(46,21,2,.96) 100%); }

.dare-copy, .dare-caps {
  position: absolute; z-index: 2;
  left: max(var(--s-xl), calc((100% - var(--page)) / 2 + var(--s-xl)));
  right: max(var(--s-xl), calc((100% - var(--page)) / 2 + var(--s-xl)));
}
.dare-copy { top: clamp(96px, 16svh, 160px); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 3vw, 32px); transition: opacity .5s ease, transform .6s var(--ease-out); }
.dare-type { font-family: var(--sora); font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--cream); text-wrap: balance; max-width: 14ch; }
/* The button is the whole section's interaction, so it is the commit button at
   full size with the bell, a mono sub-line, and a ring that pings out of it
   every few seconds: the one authored motion here. */
.dare-go {
  position: relative; display: inline-flex; align-items: center; gap: 16px;
  min-height: 76px; padding: 0 32px 0 26px;
  background: var(--primary); color: var(--roast); border: 0; cursor: pointer;
  border-radius: var(--r-block);
  font-family: var(--sora); font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.028em; line-height: 1;
  transition: background .15s, transform .25s var(--ease-out);
}
.dare-go span { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.dare-go small { font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: -0.02em; color: var(--roast-soft); margin-top: 6px; }
.dare-go svg { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 12%; }
.dare-go:hover { background: var(--primary-deep); }
.dare-go:hover svg { animation: dare-ring .7s ease; }
.dare-go:active { transform: scale(.97); }
.dare-go::before, .dare-go::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border: 2px solid var(--primary); opacity: 0;
  animation: dare-ping 3.2s var(--ease-out) infinite;
}
.dare-go::after { animation-delay: 1.6s; }
@keyframes dare-ping { 0% { transform: scale(1); opacity: .85; } 60%, 100% { transform: scale(1.28); opacity: 0; } }
@keyframes dare-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 45% { transform: rotate(12deg); } 70% { transform: rotate(-6deg); } }
.dare[data-frame]:not([data-frame="0"]) .dare-copy { opacity: 0; transform: translateY(-10px); pointer-events: none; }

.dare-caps { bottom: clamp(32px, 7svh, 72px); display: grid; pointer-events: none; }
.dare-caps p {
  grid-area: 1 / 1; max-width: 22ch;
  font-family: var(--sora); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--cream);
  opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .7s var(--ease-out); pointer-events: none;
}
.dare-caps p.is-live { opacity: 1; transform: none; pointer-events: auto; }
.dare-caps p b { display: block; font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; color: var(--primary); margin-bottom: 10px; }
.dare-caps p b.in { display: inline; font-size: inherit; color: var(--primary); margin: 0; letter-spacing: -0.03em; }
.dare-caps small { display: block; margin-top: 12px; font-family: var(--inter); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--sand); }
/* The last frame is the rate, at poster size. */
/* The rate card only fades: a transform here would become the again button's
   positioning box mid-transition and make it jump. */
.dare-caps p.dare-rate { max-width: 30ch; position: static; transform: none; }
.dare-caps { --again-w: 0; }
.rate-lead { display: block; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.rate-fig { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(110px, 17vw, 240px); line-height: .92; letter-spacing: -0.03em; color: var(--primary); margin: 14px 0 0; font-variant-numeric: tabular-nums; }
.rate-fig i { display: block; font-style: normal; font-family: var(--sora); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.03em; line-height: 1; color: var(--cream); margin-bottom: 2px; }
.dare[data-frame="4"] .dare-frames::after { background: linear-gradient(180deg, rgba(46,21,2,.3) 0%, rgba(46,21,2,0) 18%, rgba(46,21,2,.2) 34%, rgba(46,21,2,.86) 62%, rgba(46,21,2,.97) 100%); }
/* The section stops the page: roadmap.js pulls it into place as it comes into
   view and, while it holds, the wheel steps the story instead of scrolling. */
/* Bottom-right, opposite the rate, on the page grid. */
.dare-again { position: absolute; right: 0; bottom: 0; margin: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: transparent; color: var(--cream); border: 2px solid rgba(255,248,238,.4); border-radius: var(--r-control); font-family: var(--sora); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; cursor: pointer; transition: border-color .2s; }
.dare-again:hover { border-color: var(--cream); }
.dare :focus-visible { outline-color: var(--cream); }

@media (max-width: 720px) {
  .dare { min-height: 640px; }
  .dare-copy { top: 96px; right: var(--s-lg); left: var(--s-lg); }
  .dare-caps { right: var(--s-lg); left: var(--s-lg); bottom: 28px; }
  .dare-caps p { font-size: clamp(1.5rem, 7.5vw, 2rem); }
  .dare-caps p.dare-rate { max-width: 100%; }
  .dare-again { position: static; margin-top: 22px; }
  .rate-fig { font-size: clamp(88px, 32vw, 140px); margin: 6px 0 8px; }
  .dare-slam { font-size: clamp(2.6rem, 15vw, 4.4rem); }
  .dare-go { font-size: 21px; min-height: 66px; padding: 0 24px 0 20px; gap: 12px; }
  .dare-go svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .df, .dare-copy, .dare-caps p { transition: none; }
  .dv.hit, .dare-bang.hit, .dare-slam.hit, .dare-slam .count.hit { animation: none; }
  .dare-go::before, .dare-go::after, .dare-go:hover svg { animation: none; }
  .df.is-live { transform: none; }
}
