/* The sheet without a frame, and the ring the pen draws. Loaded after style.css; pairs with chart.js. */

/* the ring the pen draws as it goes through a station: uncovered by the pen's depth clip (chart.js), so it is drawn
   from the top down both sides at once. The old ring drawn round on arrival keeps only its fill (the open station). */
.reveal .nd.on .inkring{stroke:transparent}
.reveal .nd.on .pen-ring{fill:none;stroke:var(--route);stroke-width:1.8}

/* the ink and its wet head are cut at each disc (chart.js): square ends meet the disc's edge, as the old mask cut them */
.reveal .ink,.reveal .route-head{stroke-linecap:butt}
/* the layers that change on every frame of a scroll each get their own compositing layer, so the pen repaints only them,
   never the ground under them (land, water, contours, cliff: svg.ground, which does not change while scrolling) */
.v>svg.base:not(.ground),.v>svg.reveal{will-change:transform}

/* ---------- every width: the background runs from side to side, the words stay near the middle ----------
   (2026-10-25: below 960 px the sheet stops at 470 px, and on a tablet the page's paper showed beside it like a column;
   now the land, the water, the first screen and the foot run to both edges at every width, as on a laptop) */
/* the page never scrolls sideways: the chart's land and water run on past the window's edges and are cut there (on the
   root too: with only the body's, a phone at 360 px widened its layout to 363 px to take the ground past the edge) */
html,body{overflow-x:clip}
/* no frame: the land, the water and their lines carry on past the sheet's sides (drawn wide in chart.js) */
.chart{overflow-x:visible;overflow-y:clip}
.v>svg{overflow:visible}
/* the first screen spans the window; its words keep their place on the sheet */
.hero{margin-inline:calc(50% - 50vw);padding-inline:calc(50vw - 50%);box-shadow:-60vw 0 0 var(--land)}
/* the foot's deep water spans the window too, its words where they were */
.foot{margin-inline:calc(50% - 50vw);padding-inline:calc(50vw - 50% + 22px);box-shadow:60vw 0 0 var(--dp3),-60vw 0 0 var(--dp3)}
/* the sheet's edge ticks belong to a sheet that is the screen's edge: none once there is ground beside it */
@media (min-width:471px){.v .tick{display:none}}
@media (min-width:960px){
  .foot{padding-inline:calc(50vw - 50% + 48px)}
}

/* the bed under the water (chart.js): the same paper as the chart, opaque, so the see-through water near the shore shows
   one shade across the sheet and past its sides alike */
.water-bed{fill:var(--paper)}
