/* wall-get.css : styles for what you get, on the beach. Loaded after wall.css.

   While the 3D wall is on, this scene's words are lettered on the radio's paper strip, the cassettes and the
   tags (scenes-get.js), and the block below is hidden from sight (class "on-the-wall", wall.css).
   On the plain page it shows as a heading and two price cards: a pink one (Player) and a cream
   one (Spectator), the colours of the two cassettes. */

#get { --screens: 5.9; --still: url(/assets/opening/still-4-1024.webp); }

/* read out, not seen (the "was" before an old price) */
.get-unseen {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.get-words { position: relative; z-index: 3; max-width: 31rem; }

.get-title {
  margin: 0 0 clamp(16px, 2.6vh, 28px);
  font-family: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  font-weight: 900; text-transform: uppercase; letter-spacing: .005em; line-height: .86;
  font-size: clamp(3.4rem, 21vw, 7rem);
}
.get-title span {
  display: block;
  text-shadow: .013em 0 0 var(--ink), -.013em 0 0 var(--ink), 0 .013em 0 var(--ink), 0 -.013em 0 var(--ink), .06em .06em 0 var(--crimson), .08em .08em 0 var(--ink);
}
.get-title-a { font-size: .5em; line-height: .95; color: var(--teal); }
.get-title-b { color: var(--orange); }

.get-cards { display: grid; gap: clamp(18px, 3vh, 26px); }
.get-card {
  position: relative; padding: 1.05rem 1.1rem 1.15rem;
  color: #3B1A5E; background: var(--cream);
  border: 2px solid var(--ink); border-radius: 10px;
  box-shadow: 5px 5px 0 var(--crimson);
}
.get-card-player { background: #FF7FB2; transform: rotate(-1deg); }
.get-card-spectator { transform: rotate(.8deg); box-shadow: 5px 5px 0 var(--teal); }

.get-name {
  margin: 0 0 .5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .32em;
  font-family: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  font-weight: 900; text-transform: uppercase; letter-spacing: .005em; line-height: .9;
  font-size: clamp(2rem, 10.2vw, 3.2rem);
}
.get-now { font-size: 1.3em; }
.get-was {
  align-self: flex-start; margin-top: .1em;
  font-size: .5em; text-decoration: line-through; text-decoration-thickness: .1em;
}

.get-list { list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.get-list li { padding: .34em 0 .34em 1.35em; position: relative; }
.get-list li + li { border-top: 2px dotted rgba(59, 26, 94, .38); }
.get-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .8em; height: .8em; background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@media (min-aspect-ratio: 1/1) {
  .get-words { max-width: min(35rem, 40vw); }
  .get-title { font-size: clamp(3.4rem, 9vw, 7rem); font-size: max(3.4rem, min(7rem, 9vw, 15vh)); }
}
@media (min-width: 900px), (min-height: 900px) {
  #get { --still: url(/assets/opening/still-4-1600.webp); }
}

/* ------------------------------------------------------------------ the opening (scene 1), kept here
   because wall.css belongs to the engine: the first "Book your set" button hangs between the
   billboard's two posts, right under the paper strip that carries the intro sentence (lettered in
   scenes.js), for as long as the camera stops to read.
   At that stop (scenes.js, scene 1, the two lens stops aimed at the billboard) the billboard's
   middle sits 63% down an upright screen and the billboard is about min(89vw, 46lvh) tall; on a
   wide screen its middle sits 56% across and half way down, and it is about min(53vw, 87lvh)
   wide. The strip ends 29% of the billboard's height below its middle. */
.wall-on #road-in .words {
  left: 0; right: 0; bottom: auto; max-width: none;
  top: calc(63vh + .305 * min(89vw, 46vh)); top: calc(63lvh + .305 * min(89vw, 46lvh));
  align-items: center; text-align: center;
}
.wall-on #road-in .words::before { content: none; }
.wall-on #road-in .words .button { margin-top: 0; }
@media (min-aspect-ratio: 1/1) {
  .wall-on #road-in .words {
    --get-bb: min(53vw, 87vh);
    left: calc(56vw - var(--get-bb) / 2); right: auto; width: var(--get-bb);
    top: calc(50vh + .309 * var(--get-bb));
  }
  .wall-on #road-in .words .button { min-height: 56px; padding: .2em 2.2em; font-size: .95rem; }
  @supports (height: 1lvh) {
    .wall-on #road-in .words { --get-bb: min(53vw, 87lvh); top: calc(50lvh + .309 * var(--get-bb)); }
  }
}
