/* B v4, 2026-09-20. Two fixes for the unshaped white between the hero and the coast:
   1. the role section's chores become its picture: a checklist at reading size that ticks itself off in red pen;
   2. the upgrade is one centred scene: paper above, a painted road below (the hero's sand and grass as flat washes,
      not the hero's picture), the hero's own vehicle large in the middle. */

/* ------------------------------------------------------------------ role section overrides (road.html keeps its own look) */
.um-page .rd-recognition { padding-block: clamp(84px, 9vw, 150px) clamp(64px, 7vw, 116px); }
.um-page .rd-roles { gap: 8px 40px; margin-top: clamp(28px, 3vw, 46px); }
.um-page .rd-roles button { font-size: clamp(19px, 1.6vw, 24px); }
.um-page .rd-recognition-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 96px); margin-top: clamp(48px, 5.5vw, 88px); }
.um-page .rd-lede { font-size: clamp(18px, 1.45vw, 21px); color: var(--rd-quiet); }
.um-page .rd-turn { font-size: clamp(20px, 1.65vw, 25px); }
.um-page .rd-chores { margin: -4px 0 0; }
.um-page .rd-chores li { grid-template-columns: 34px 1fr; gap: 18px; padding: clamp(9px, 1vw, 14px) 0; font-size: clamp(19px, 1.75vw, 26px); line-height: 1.3; letter-spacing: -.012em; color: var(--rd-ink); }
.um-page .rd-chores .um-check { width: 34px; height: 30px; margin-top: .06em; overflow: visible; }
.um-page .rd-chores .um-check .um-box { fill: none; stroke: var(--rd-ink); stroke-width: 1.6; stroke-linejoin: round; }
.um-page .rd-chores .um-check .um-tick { fill: none; stroke: var(--rd-red); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.um-page .rd-chores[data-ticked="true"] .um-check .um-tick { animation: um-tick .34s cubic-bezier(.3, .7, .3, 1) forwards; animation-delay: calc(.35s + var(--i) * .26s); }
@keyframes um-tick { to { stroke-dashoffset: 0; } }

/* ------------------------------------------------------------------ the upgrade scene */
.um-page .um-section { position: relative; overflow: hidden; }
.um-page .um-copy { position: relative; z-index: 1; text-align: center; padding-top: clamp(64px, 7.5vw, 116px); }
.um-page .um-copy > * { margin-inline: auto; }
.um-page .um-copy .rd-statement { font-size: clamp(30px, 3.5vw, 54px); max-width: 17em; }
.um-page .um-copy p { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; max-width: 38em; text-wrap: pretty; margin-top: clamp(18px, 2vw, 28px); margin-bottom: 0; color: var(--rd-quiet); }
.um-page .um-stage { display: block; width: 100%; height: clamp(360px, 46vw, 600px); margin-top: clamp(-30px, -1.5vw, -8px); }

.um-page .um-grass { fill: #bdd14d; }
.um-page .um-road { fill: #fbd3a2; }
.um-page .um-edge { fill: none; stroke: var(--rd-ink); stroke-width: 1.9px; stroke-linecap: round; stroke-linejoin: round; }
.um-page .um-mark { fill: none; stroke: var(--rd-ink); stroke-width: 1.5px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.um-page .um-pen { fill: none; stroke: var(--rd-red); stroke-width: 1.15px; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.um-page .um-pen-edge { stroke: var(--rd-paper); stroke-width: 3.1px; }        /* under a pen line that crosses painted colour */
.um-page .um-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.um-page .um-stub { padding-block: clamp(70px, 8vw, 120px); }
.um-page .um-stub p { margin: 0; max-width: 40em; font-size: 15px; line-height: 1.6; color: var(--rd-quiet); }

@media (max-width: 760px) {
  .um-page .rd-recognition-grid { grid-template-columns: minmax(0, 1fr); }
  .um-page .um-copy { padding-top: 64px; }
  .um-page .um-stage { height: 330px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .um-page .rd-chores .um-check .um-tick { stroke-dashoffset: 0; animation: none !important; }
}
