/* tack.coach /marks/ — the living background (marks.js + sea-openmark.js) on top of phones.css. Without WebGL or with
 * reduced motion the same places hold a still picture; with neither the page looks as it did (phones.css only). */
#sea { position: fixed; inset: 0; width: 100vw; height: 100lvh; display: block; z-index: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.sea-on #sea { opacity: 1; }
.posters { position: fixed; inset: 0; z-index: 0; display: none; }
.still .posters { display: block; }
.still #sea { display: none; }
.posters img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.posters img.on { opacity: 1; }
/* a soft wash behind the words that sit straight on the picture (the intro), as on the homepage */
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; display: none;
  background: radial-gradient(110% 85% at 0% 22%, rgb(244 251 252 / .82) 0%, rgb(244 251 252 / .55) 40%, transparent 66%); }
.sea-on .veil, .still .veil { display: block; }
.top, main, .foot { position: relative; z-index: 2; }
/* the header above the page: its language menu drops over the hero, which otherwise paints on top and takes the tap (owner, 2026-11-14) */
.top { z-index: 5; }

/* with a picture behind: the intro fills the first screen (the mark sits beside / below the words), the sections
   that start a new scene leave open water above them, and every card is near-opaque */
.sea-on main, .still main { margin-left: max(var(--gutter), calc((100vw - 76rem) / 2)); width: min(calc(100% - 2 * var(--gutter)), 46rem); }
.sea-on .intro, .still .intro { min-height: calc(100lvh - 96px); align-content: start; padding-top: 6vh; }
.sea-on .intro .lede, .still .intro .lede { max-width: 30rem; }
.sea-on .card.how, .still .card.how { margin-top: 30lvh; }
.sea-on .card.ways, .still .card.ways { margin-top: 42lvh; }
.sea-on .card, .still .card { background: rgb(255 255 255 / .92); }
.sea-on .foot, .still .foot { margin-left: max(var(--gutter), calc((100vw - 76rem) / 2)); width: min(calc(100% - 2 * var(--gutter)), 46rem);
  margin-bottom: 24px; padding: 12px 18px; border-radius: 20px; background: rgb(244 251 252 / .9); color: var(--ink); }
.sea-on .lang-dd summary, .still .lang-dd summary { background: rgb(255 255 255 / .85); }

@media (max-width: 860px) {
  .veil { background: linear-gradient(180deg, rgb(244 251 252 / .86) 0, rgb(244 251 252 / .7) 34%, transparent 52%); }
  .sea-on .intro, .still .intro { min-height: calc(100svh - 72px); padding-top: 2vh; }
  .sea-on .card.how, .still .card.how { margin-top: 42svh; }
  .sea-on .card.ways, .still .card.ways { margin-top: 48svh; }
}
@media (prefers-reduced-motion: reduce) { .posters img, #sea { transition: none; } }
