/* The opening page's design, the signboard (design 1; design 2, the title card, was taken out 11-23 at his word,
   "remove design 2": the files as they were are in assets/archive/design-2-2026-11-23). Text styles come from
   ../jpop.css: a design only names its families and header numbers, and places the parts.
   (The review page around them is a page of the brief, on /brief.css.) */

/* the opening page: the picture and the parts on it */
.opening { margin: 0; height: 100vh; height: 100dvh; position: relative; overflow: hidden; background: #000; color: var(--light); }
.scene { position: absolute; inset: 0; background: url(opening-day.jpg) 38% center / cover no-repeat; }
[data-t="night"] .scene { background-image: url(opening-night.jpg); }
.scene::after { content: ""; position: absolute; inset: 0; }
.opening .logo, .opening .tagline, .opening .news { position: absolute; z-index: 1; }
/* (.title holds the header and its tagline; it only becomes a box in a version that sets them together) */
.title { display: contents; }
.tagsub { display: none; }

/* 1. Signboard: the words are things in the city. A billboard on the near roof, a shop sign, a street address plate. */
/* (both versions: the face, the logo as a shop sign, the news as an address plate) */
[data-d^="a"] { --font-display: "Dela Gothic One", var(--font-text); --w-display: 400; --lh-display: 1.2;
  --size-display: calc(clamp(24px, 3.1vw, 48px) * var(--display-scale, 1)); }
/* (each thing's board is drawn behind its words and run through the #ink filter in opening.html, so its outline
   wobbles like the painting's ink lines while the words stay sharp; the grey offset is the board's thickness) */
[data-d^="a"] { --board: var(--paper); }
[data-d^="a"][data-t="night"] { --board: #E6E1D6; }
[data-d^="a"] .logo, [data-d="a"] .tagline, [data-d^="a"] .news { isolation: isolate; }
[data-d^="a"] .logo::before, [data-d="a"] .tagline::before, [data-d^="a"] .news::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--board); border: 3px solid var(--ink); box-shadow: 5px 6px 0 -1px rgb(20 22 27 / .3); filter: url(#ink); }
[data-d^="a"] .logo { top: var(--edge); left: var(--edge); padding: var(--s3) var(--s4) var(--s3) var(--s3); color: var(--ink); transform: rotate(1.2deg); --logo-h: 36px; }
[data-d^="a"] .logo::before { border-width: 2px; }
[data-d^="a"] .logo img { filter: brightness(0); }
[data-d^="a"] .logo span { font-weight: 700; }
/* version 1: the line on a billboard standing on the near roof */
[data-d="a"] .tagline { left: calc(var(--edge) + 1.5vw); bottom: 17%; width: min(9.4em, calc(100% - 2 * var(--edge) - 1.6em)); padding: .5em .8em .58em;
  color: var(--ink); transform: rotate(-2deg); transform-origin: 0 100%; }
[data-d="a"] .tagline::after { content: ""; position: absolute; z-index: -2; top: 97%; left: 0; right: 0; height: 34vh; filter: url(#ink);
  background: linear-gradient(var(--ink) 0 0) 14% 0 / 8px 100% no-repeat, linear-gradient(var(--ink) 0 0) 86% 0 / 8px 100% no-repeat; }
[data-d^="a"] .news { right: var(--edge); bottom: var(--edge); width: min(290px, 64vw); display: grid; gap: 2px; padding: var(--s4) calc(var(--s4) + 4px);
  color: var(--light); transform: rotate(1.2deg); }
[data-d^="a"] .news::before { background: var(--plate); border: 0; border-radius: 6px; box-shadow: inset 0 0 0 5px var(--plate), inset 0 0 0 6.5px rgb(255 255 255 / .9), 4px 5px 0 -1px rgb(20 22 27 / .3); }
/* version 2 (his notes 11-20): no billboard. The short line across the middle with no box, white letters with the
   soft shadow as the title card had (his word: no outlines); the signs stay. Laid out by the rules under "a title across
   the picture" below. */
[data-d="a2"] { --size-display: calc(4.7vw * var(--display-scale, 1)); --lh-display: 1.14; --size-sub: calc(clamp(15px, 1.7vw, 26px) * var(--display-scale, 1)); }
[data-d="a2"] .tagsub { font-weight: 700; }

/* a title across the picture (every version 2): the header and its tagline as one centred block with a soft shadow
   under the letters and a light haze behind them. --ty is its height in the picture, 0 top to 1 bottom. */
[data-d$="2"] .scene::after { background: radial-gradient(64% 42% at 50% calc(var(--ty, .5) * 100%), rgb(var(--shade) / .42), rgb(var(--shade) / .2) 55%, rgb(var(--shade) / 0)); }
[data-d$="2"] .title { display: grid; gap: .5em; position: absolute; z-index: 1; left: 50%; top: calc(100% * var(--ty, .5));
  transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 2 * var(--edge)); text-align: center;
  text-shadow: 0 1px 2px rgb(var(--shade) / .55), 0 4px 28px rgb(var(--shade) / .6); }
[data-d$="2"] .tagline { position: static; }
[data-d$="2"] .tagsub { display: block; }

@media (max-width: 700px) {
  [data-d="a"] .tagline { left: var(--edge); bottom: 140px; }
  [data-d="a"] .tagline::after { display: none; }
  [data-d="a"] .news { left: var(--edge); right: auto; }
  [data-d="a2"] { --size-display: calc(8.1vw * var(--display-scale, 1)); --size-sub: calc(16px * var(--display-scale, 1)); }
  [data-d$="2"] .scene::after { background: radial-gradient(120% 34% at 50% calc(var(--ty, .5) * 100%), rgb(var(--shade) / .5), rgb(var(--shade) / .25) 60%, rgb(var(--shade) / 0)); }
}

/* the scroll test (scroll.html): three layers. .stage, held to the screen: the flight's frames and the opening's
   title. .page, in normal flow above it: the sections, which scroll like a page. .frame, held to the screen on top:
   the logo and the news, so a section passes under them.
   --fly runs 0 to 1 as the camera leaves the opening: the title and its tagline fade (a title across the picture also
   grows, as if flown through) and the shade under them goes too; the news plate is left behind. */
.stage, .frame { position: fixed; inset: 0; height: auto; }
.stage .scene { background: #000; }
.stage .scene canvas { display: block; width: 100%; height: 100%; }
.stage .scene::after { opacity: calc(1 - var(--fly, 0)); }
.stage .intro .tagline, .stage .intro .tagsub { opacity: calc(1 - var(--fly, 0)); }
[data-d$="2"] .title.intro { transform: translate(-50%, -50%) scale(calc(1 + .35 * var(--fly, 0))); pointer-events: none; }
.frame { z-index: 3; background: none; pointer-events: none; }
.frame a { pointer-events: auto; }
.frame[data-d="a2"] .news { opacity: calc(1 - var(--fly, 0)); translate: 0 calc(var(--fly, 0) * 48px); }
/* (11-27, his words: "move the jpop card up to top alignment with nav". The J-POP sign's top edge where the nav's
   boards' is; --sign-top is its own top, a little under that edge as the sign leans. Narrower, where the nav is the
   Menu board beside it, the two go up together: .sitenav .menu below) */
.frame[data-d="a2"] { --sign-top: 9px; }
.frame[data-d="a2"] .logo { top: var(--sign-top); }
@media (max-width: 1100px) { .frame[data-d="a2"] { --sign-top: 10px; } }
.page { position: relative; z-index: 2; }
/* (the 3D, 11-23: the live city behind the page, under the flat picture until it is chosen; chosen by its sign, the
   seal below, 11-26) */
.stage .scene .d3 { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transition: opacity .35s; }
body[data-view="3d"] .stage .scene .d3 { opacity: 1; }
body[data-view="3d"] .stage .scene canvas { visibility: hidden; transition: visibility 0s .35s; }   /* (11-26: the flat picture stays under the 3D as it fades in, and is there at once as it fades out) */
/* The weather's credit (11-27; scroll.html's note has his words): beside the 3D's button on the top edge, its text
   the site's credit style (jpop.css), white on the picture with the title's soft shadow, no board. Only at the last
   stop (body[data-room], scroll.html place) and only where the 3D's button is shown, which is where the weather is. */
.wx { display: none; position: fixed; z-index: 5; top: 10px; right: calc(var(--edge) + 72px + 10px); color: rgb(255 255 255 / .8); text-shadow: 0 1px 2px rgb(var(--shade) / .6); }
body[data-room="4"] .d3sign:not([hidden]) + .wx { display: block; }
@media (max-width: 1100px) { body[data-room="4"] .d3sign:not([hidden]) + .wx { display: none; } }
/* ---------- The nav (11-27; scroll.html's note has his words and the thinking). A row of small paper boards, one for
   each part of the site (no posts: "remove the hanging bars"). A board: paper, its name; the board of where
   the page is, ink (.here). (--hang: a board's own small step down from the top edge; --lean: how far off true.) */
.sitenav { position: fixed; z-index: 5; top: 0; color: var(--ink); font: 700 12px/1 var(--font-text); }
.sitenav ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; }
.sitenav li { position: relative; padding-top: var(--hang, 7px); transform-origin: 50% 0; rotate: var(--lean, 0deg); }
.sitenav :is([data-go], .menu) { all: unset; position: relative; isolation: isolate; display: block; box-sizing: border-box; white-space: nowrap; cursor: pointer; }
.sitenav :is([data-go], .menu)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 4px 0 -1px rgb(20 22 27 / .3); filter: url(#ink2); transition: background .2s; }
.sitenav .here [data-go] { color: var(--paper); }
.sitenav .here [data-go]::before { background: var(--ink); }
.sitenav :is([data-go], .menu):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sitenav li:nth-child(1) { --hang: 7px; --lean: -.9deg; } .sitenav li:nth-child(2) { --hang: 10px; --lean: .7deg; } .sitenav li:nth-child(3) { --hang: 6px; --lean: -.5deg; } .sitenav li:nth-child(4) { --hang: 9px; --lean: 1deg; } .sitenav li:nth-child(5) { --hang: 7px; --lean: -.7deg; }
@keyframes n3swing { 0%, 100% { rotate: var(--lean, 0deg); } 22% { rotate: calc(var(--lean, 0deg) + 4deg); } 48% { rotate: calc(var(--lean, 0deg) - 2.6deg); } 74% { rotate: calc(var(--lean, 0deg) + 1.2deg); } }
@keyframes n3drop { from { translate: 0 -46px; opacity: 0; } 60% { opacity: 1; } to { translate: 0 0; opacity: 1; } }
/* (wide: the five in a row at the middle of the top edge, in the margin over the page's own signs; they come in one
   after another as the page opens; a board pointed at sways) */
@media (min-width: 1101px) {
  .sitenav { left: 50%; translate: -50% 0; }
  .sitenav .menu { display: none; }
  .sitenav ol { gap: 10px; animation: n3drop .5s cubic-bezier(.3, 1.3, .5, 1) both; }
  .sitenav [data-go] { padding: 5px 12px 6px; }
  .sitenav li:not(.here):hover { animation: n3swing .8s ease-out; }
  .sitenav .here [data-go] { cursor: default; }
}
/* (narrow: the Menu board beside the logo; pressed, data-open, the five come down under it, their right edges in line) */
@media (max-width: 1100px) {
  /* (11-27, his report from an iPhone: opened, the Menu board jumped half the screen to the left. The five stood in the
     same box as it, the box grew to their width, and the phone's browser set the board at the box's left. The five
     now stand outside the box, under it from its right edge, so its width is the Menu board's own, open or shut.) */
  .sitenav { right: var(--edge); }
  .sitenav .menu { margin-top: 17px; padding: 10px 14px 11px; font-size: 13px; }   /* (11-27: up with the J-POP sign, as far) */
  .sitenav[data-open] .menu { color: var(--paper); } .sitenav[data-open] .menu::before { background: var(--ink); }
  .sitenav ol { display: none; position: absolute; top: 100%; right: 0; flex-direction: column; align-items: flex-end; }
  .sitenav[data-open] ol { display: flex; }
  .sitenav li { --hang: 9px; rotate: none; animation: n3drop .34s cubic-bezier(.3, 1.3, .5, 1) both; animation-delay: calc(var(--n) * 55ms); }
  .sitenav [data-go] { padding: 13px 16px 14px; font-size: 14px; }
}
@media (max-width: 340px) { .sitenav .menu { padding: 8px 10px 9px; } .sitenav .menu b { font-size: 0; } .sitenav .menu b::before { content: "\2261"; font-size: 20px; line-height: .8; } }
@media (prefers-reduced-motion: reduce) { .sitenav, .sitenav * { animation: none !important; transition: none !important; } }

/* Each part's anchor (11-27, his words: "the only ancor that should exist shoudl liek to the text fields in music";
   scroll.html's note on the nav has the finding). An empty element in its section, put where the page lands when a
   link to it is followed: the nav's boards, the last stop's map, an address that ends #music. Said here once.
   - a laptop: in the stop, where the part's words and its picture are on the screen together: past the doorway
     (--push) and the way to the stop (--hold less --stop), and 0.45 of a screen into it;
   - narrower, Music and Anime: the top of their page of text boxes, with room over it for the J-POP sign;
   - narrower, the other three: 0.45 of a screen into the block that holds the screen for the stop (--cap: how far
     down the section that block starts, from the page, scroll.html fitWords). */
.room > .at { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; top: calc((var(--push) + var(--hold) - var(--stop) - .55) * 100vh); }
@media (max-width: 1100px) {
  .room > .at { top: calc(var(--cap, 0px) + 45vh); top: calc(var(--cap, 0px) + 45dvh); }
  :is(.music, .comics) > .at { top: -80px; }
}
/* (a trip from the nav over other parts: theirs are out of sight for it, their room in the page kept; scroll.html navGo) */
.room.skip { visibility: hidden; }

/* The 3D's button (11-26; scroll.html's note on it has his words). A paper tag, 72 px square, in the corner across from
   the logo's sign. Top: the seal, the 3D's name, its state shown by its ring and
   its ink. Foot: one word. data-s: loading (quiet: nothing turns; the ring is drawn round, --p 0 to 100, over a faint
   track), ready (stamped and lit: .hit, once), off (an outline), on (inked in). A wide screen only.
   (11-27, his words: "i want the 3d button to be top aligned with the nav and the jhpop logo panel": its top edge
   where theirs is, 7 px for its own lean.) */
.d3sign { position: fixed; z-index: 5; top: 7px; right: var(--edge); width: 72px; height: 72px; isolation: isolate; display: block; border: 0; padding: 0; background: none;
  color: var(--tower); font: inherit; cursor: pointer; rotate: 1.5deg; -webkit-tap-highlight-color: transparent; transition: translate .15s; }
.d3sign[hidden] { display: none; }
.d3sign::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); border: 2px solid var(--ink); box-shadow: 5px 6px 0 -1px rgb(20 22 27 / .3); filter: url(#ink); transition: box-shadow .15s; }
.d3sign:not([data-s="loading"]):hover { translate: -1px -1px; }   /* (it can be pressed: it lifts off the page a little) */
.d3sign:not([data-s="loading"]):hover::before { box-shadow: 7px 8px 0 -1px rgb(20 22 27 / .3); }
.d3sign[data-s="loading"] { cursor: default; color: #77746d; }
.d3sign svg { position: absolute; left: 0; top: 0; overflow: visible; }
.d3sign .seal { filter: url(#ink2); transform-box: fill-box; transform-origin: center; }
.d3sign .track { fill: none; stroke: #c9c6bd; stroke-width: 3.2px; stroke-dasharray: 2.4 4.6; }
.d3sign .ring { fill: none; stroke: currentColor; stroke-width: 3.2px; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; transition: stroke-dashoffset 1s linear; }
.d3sign .fill { fill: var(--tower); transform-box: fill-box; transform-origin: center; scale: 0; transition: scale .22s cubic-bezier(.3, .9, .4, 1); }
.d3sign text { font: 17px "Dela Gothic One", var(--font-text); fill: currentColor; transition: fill .15s; }
.d3sign .word { position: absolute; left: 3px; right: 3px; bottom: 5px; height: 17px; display: grid; place-items: center; font: 700 10.5px/1 var(--font-text); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.d3sign .word span { display: block; }
.d3sign .word span.in { animation: d3word .24s ease-out both; }
.d3sign .halo, .d3sign .ripple { position: absolute; left: 15px; top: 6px; width: 42px; height: 42px; z-index: -1; border-radius: 50%; opacity: 0; pointer-events: none; }
.d3sign .halo { box-shadow: 0 0 12px 3px rgb(215 50 42 / .6); transition: opacity .6s; }
.d3sign .ripple { border: 2px solid var(--tower); box-sizing: border-box; }
.d3sign[data-s="loading"] text { fill: #c9c6bd; }
.d3sign:not([data-s="loading"]) .track { display: none; }
.d3sign:not([data-s="loading"]) .ring { stroke-dasharray: none; }   /* (whole: no seam where it began) */
.d3sign[data-s="ready"] .halo { opacity: 1; }
.d3sign[data-s="on"] .fill { scale: 1; }
.d3sign[data-s="on"] text { fill: var(--paper); }
/* (Ready's moment: the seal comes down on the tag from above, a little turned; the tag takes the blow; one ring of ink
   goes out from it and is gone. Once: what a seal does, and what its mark means, done and approved.) */
.d3sign.hit { animation: d3tag .42s cubic-bezier(.3, 0, .3, 1) .13s; }
.d3sign.hit .seal { animation: d3stamp .42s cubic-bezier(.5, 0, .2, 1) both; }
.d3sign.hit .ripple { animation: d3ripple .9s cubic-bezier(.2, .7, .3, 1) .2s both; }
@keyframes d3stamp { 0% { scale: 1.7; rotate: -9deg; opacity: 0; } 45% { scale: .92; rotate: 0deg; opacity: 1; } 72% { scale: 1.04; } 100% { scale: 1; } }
@keyframes d3tag { 0%, 100% { translate: 0 0; rotate: 1.5deg; } 35% { translate: 0 2.5px; rotate: 2.6deg; } }
@keyframes d3ripple { 0% { scale: .95; opacity: .75; } 100% { scale: 1.85; opacity: 0; } }
@keyframes d3word { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .d3sign, .d3sign * { animation: none !important; transition: none !important; } }
@media (max-width: 1100px) { .d3sign { display: none; } }

/* the music section, one set of parts placed per design. Text is from Jeff's company profile. In both designs the
   camera comes through the shop's door, goes over the table and stops at the record crates, where the records in the
   picture are the albums: pointing at one lifts it out (a tap on a phone) and its name and details show on the .now
   card. So the page's own covers and their heading are kept for screen readers and the keyboard only. --travel is the
   screens of scroll from the opening to the door (the lead-in brings the section's top to the screen's bottom
   there, unless a design says otherwise); --push, --hold and --stop are the way through the doorway, the way to the
   crates with the stop, and the stop alone. .hold > .spread is the frame that stays on a wide screen. */
.lead-in { height: calc((var(--travel) + 1) * 100vh); }
.room { position: relative; padding: 12vh var(--edge); color: var(--light); }
.room .records :is(h3, .covers) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.room .now:empty { visibility: hidden; }
.room .sec-head { display: grid; gap: var(--s4); justify-items: start; max-width: 620px; }
.room .header { font-size: clamp(36px, 4.4vw, 68px); }
.room h3 { margin: 0; }
/* (a word still to come: a bar its length in the line's own colour, so a blank card keeps the shape of the full one) */
.blank { display: inline-block; width: var(--w, 8ch); max-width: 100%; height: .62em; background: currentColor; opacity: .28; border-radius: 1px; vertical-align: baseline; }

/* 1. Signboard (11-21, his word: "the same content and use the same record mechanics, but with the paper background
   cartoony design"). Everything is a thing in the shop, on paper with the opening's ink outline. The Music sign
   hangs first, its line on a small board hung from it, and 結び with its meaning on a board of its own, always open
   (his word 11-23), hung from the logo's sign on a wide screen. Under
   it one paper board holds the section's words in this order: the sentence; the figure that leads, large, in
   the tower's red; the other three in an inked row; the artists' names in the sign's face; the liner credits. It
   scrolls up like a page as the camera comes through the door, then stays (.hold > .spread, sticky) while the camera
   goes over the table and stops at the crates. There the records in the picture are the albums, and the one in hand
   is named on a paper card with its details. */
[data-d="a2"] .room { display: block; padding: 0 var(--edge) 12vh; color: var(--ink); --top: calc(var(--edge) + 72px); overflow-x: clip; }   /* --top: clear of the logo's sign */
/* (a paper board: drawn behind the words and run through #ink, as on the opening page. Not in the Tech box, whose
   words stand on the box itself: his phone (Safari) drew scraps of the hidden boards' inked edges there, 11-23, so
   they are not made at all) */
[data-d="a2"] .room :where(.header, .motto, .musubi, .panel, .now):where(:not(.tech .motto, .tech .panel, .tech .now)) { position: relative; isolation: isolate; }
[data-d="a2"] .room :where(.header, .motto, .musubi, .panel, .now):where(:not(.tech .motto, .tech .panel, .tech .now))::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--board); border: 2px solid var(--ink); box-shadow: 4px 5px 0 -1px rgb(20 22 27 / .3); filter: url(#ink); }
[data-d="a2"] .room :where(.header, .panel)::before { border-width: 3px; box-shadow: 5px 6px 0 -1px rgb(20 22 27 / .3); }
/* the sign, and what hangs from it */
[data-d="a2"] .room .sec-head { max-width: none; justify-items: stretch; gap: var(--s3); }
[data-d="a2"] .title-set { display: grid; grid-template-columns: auto auto; justify-content: start; justify-items: start; align-items: start; column-gap: var(--s6); }
[data-d="a2"] .title-set hgroup { display: contents; }
[data-d="a2"] .room .header { grid-column: 1 / -1; z-index: 1; padding: .16em .5em .2em; font-size: clamp(32px, 3.3vw, 56px); rotate: -1.4deg; }
[data-d="a2"] .motto { margin: 18px 0 0 var(--s4); padding: var(--s1) var(--s3); font-size: 16px; font-weight: 700; rotate: 1.1deg; }
[data-d="a2"] .motto::after { content: ""; position: absolute; z-index: -2; left: 0; right: 0; bottom: 100%; height: 24px;   /* its two threads */
  background: linear-gradient(var(--ink) 0 0) 16% 0 / 2px 100% no-repeat, linear-gradient(var(--ink) 0 0) 84% 0 / 2px 100% no-repeat; }
/* (結び: one small board, the red word upright on its left, what it means beside it; under "Rooted in music." here,
   under the logo's sign on a wide screen) */
[data-d="a2"] .musubi { grid-column: 1 / -1; justify-self: start; display: flex; align-items: center; gap: var(--s3); max-width: 330px; margin-top: var(--s3); padding: var(--s2) var(--s3); rotate: -.8deg; }
[data-d="a2"] .musubi .seal { flex: none; writing-mode: vertical-rl; color: var(--tower); font-size: 20px; letter-spacing: .08em; }
[data-d="a2"] .musubi p { font-size: 11.5px; line-height: 1.4; }
[data-d="a2"] .musubi p q { margin-top: 2px; }
/* the board: the sentence, the figures, the names, the liner credits */
[data-d="a2"] .panel { gap: var(--s3); padding: var(--s4) var(--s6); border-radius: 0; rotate: -.4deg; }
[data-d="a2"] .panel > .subheader { font: 500 15px / 1.55 var(--font-text); }
[data-d="a2"] .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2) 0; }
[data-d="a2"] .figures li { padding-left: var(--s3); border-left: 2px solid var(--ink); }
[data-d="a2"] .figures li:first-child { padding-left: 0; border-left: 0; }
[data-d="a2"] .figures b { --size-figure: clamp(19px, 1.9vw, 30px); color: var(--tower); }
[data-d="a2"] .figures span { font-size: 12px; }
[data-d="a2"] .figures [data-lead] { order: -1; grid-column: 1 / -1; display: flex; align-items: baseline; gap: var(--s3); padding: 0 0 var(--s1); border: 0; border-bottom: 2px solid var(--ink); }
[data-d="a2"] .figures [data-lead] b { --size-figure: clamp(40px, 3.9vw, 68px); }
[data-d="a2"] .figures [data-lead] span { margin: 0; font-size: 14px; font-weight: 700; }
[data-d="a2"] .also { gap: 0; }
[data-d="a2"] .also > div { display: grid; grid-template-columns: 11.5em minmax(0, 1fr); column-gap: var(--s3); padding: 4px 0; border-top: 1.5px solid var(--ink); font-size: 12.5px; }
[data-d="a2"] .also dd { font-weight: 500; }
[data-d="a2"] .also > [data-lead] { display: block; padding: 0 0 var(--s2); border-top: 0; }
[data-d="a2"] .also > [data-lead] dt { font-size: 12px; font-weight: 500; }
[data-d="a2"] .also > [data-lead] dd { font: 400 clamp(15px, 1.25vw, 21px) / 1.35 var(--font-display); text-wrap: balance; }
/* the record in hand: a paper card */
[data-d="a2"] .now { box-sizing: border-box; width: 100%; padding: var(--s2) var(--s4) var(--s3); rotate: .8deg; }
[data-d="a2"] .now b { font: 400 clamp(16px, 1.35vw, 21px) / 1.3 var(--font-display); }
[data-d="a2"] .facts { padding-top: var(--s2); border-top: 1.5px solid var(--ink); }
/* (a record's two, Jeff's edits 11-27: its year, then his credit, the longer, with the room) */
[data-d="a2"] .music .facts { grid-template-columns: max-content minmax(0, 1fr); column-gap: var(--s4); }
/* (wide screens: the frame from the screen's top edge, twelve columns, the Music sign beside the logo's sign (his note
   11-23: "put the music next to the jpop logo... to fit on laptop"; --logo-w is the logo's width, scroll.html), the
   board under both. Its top comes up from the screen's foot as the camera reaches the door and it sticks a screen
   later; it stays through the way to the crates and the stop) */
@media (min-width: 1101px) {
  [data-d="a2"] .room { --top: var(--edge); }
  /* (the first column is the logo's sign's width and a gap; --z is the block's scale, so the columns still match the
     logo when the block is scaled. The Music sign and its line in the second; 結び under the logo.
     11-27, his words: "there are two lines holidng up the box which has the music kanji in it, but while thats
     scrolling those two lines lead no where... removbe them": 結び hung from the logo's sign on two threads, which met
     the sign only once the section had come to rest; on its way up they stood out of the box's top with nothing over
     them. They are out) */
  [data-d="a2"] .music .title-set { grid-template-columns: calc((var(--logo-w, 260px) + var(--s4)) / var(--z, 1)) auto; column-gap: 0; }
  [data-d="a2"] .music .header { grid-column: 2; }
  [data-d="a2"] .music .motto { grid-area: 2 / 2; white-space: nowrap; }
  [data-d="a2"] .music .musubi { grid-area: 2 / 1; max-width: none; width: calc(var(--logo-w, 260px) / var(--z, 1)); box-sizing: border-box; margin-top: var(--s4); }
  /* (snug: on a short screen, scroll.html) */
  [data-d="a2"] .sec-head[data-snug] { gap: var(--s2); }
  [data-d="a2"] [data-snug] .panel { gap: var(--s2); padding: var(--s3) var(--s5, 20px); }
  [data-d="a2"] [data-snug] .panel > .subheader { font-size: 14px; line-height: 1.45; }
  [data-d="a2"] [data-snug] .also > div { padding: 3px 0; }
  [data-d="a2"] .hold { height: calc(100vh - var(--edge) + (var(--push) + var(--hold) - 1) * 100vh); }
  [data-d="a2"] .spread { position: sticky; top: var(--top); box-sizing: border-box; height: calc(100vh - var(--top) - var(--edge)); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); align-items: start; }
  [data-d="a2"] .room .sec-head { grid-column: span 5; }
  [data-d="a2"] .records { grid-column: 6 / span 3; align-self: end; }
  /* (the comic shop: the mirror, the sign and its board on the right, the wall on the left; clear of the test's own
     switch at the top right) */
  [data-d="a2"] .comics { --top: calc(var(--edge) + 48px); }
  [data-d="a2"] .comics .sec-head { grid-column: 8 / span 5; grid-row: 1; }
  [data-d="a2"] .comics .records { grid-column: 2 / span 4; grid-row: 1; }   /* (the card of the comic in hand: at the frame's foot, under the shelf of five) */
}
/* (narrower: the sign and the board scroll past as the camera goes over the table, then .records holds the screen
   for the stop: a tall empty block, the card of the record in hand kept on the screen just under the record or comic
   in the picture (scroll.html sets its top; his note 11-23: "the same grammar of it appearing... underneath the
   expanded comic book or record in the mobile version"), so the block runs to the screen's foot through the stop) */
@media (max-width: 1100px) {
  [data-d="a2"] .records { height: calc(100vh - var(--edge) + var(--stop) * 100vh); margin-top: 12vh; }
  [data-d="a2"] .records .now { position: sticky; top: var(--top); }
}
/* The Anime section, narrower than a laptop (11-27; scroll.html's note has his words): one page. Its five titles in a
   row under its text boxes (.titles: each a little askew, overlapping; the one pressed straight, forward and larger),
   and that one's words on a small board under the row (.titled). The page stays on the screen through the stop, as
   the Tech box does; on a screen shorter than the page it is the page's foot that is held in sight (--pageh, its
   height, from the page). The card of a comic pulled from the shelf is not used here. */
.comics :is(.titles, .titled) { display: none; }
@media (max-width: 1100px) {
  [data-d="a2"] .comics .sec-head { position: sticky; top: var(--top); top: min(var(--top), calc(100svh - var(--pageh, 0px) - 10px)); z-index: 2; }
  [data-d="a2"] .comics .records { margin-top: 0; }
  [data-d="a2"] .comics .records .now { display: none; }
  .comics .titles { display: flex; justify-content: center; margin-top: var(--s2); }
  .comics .titles button { all: unset; position: relative; flex: none; width: clamp(54px, 16.5vw, 76px); margin-left: -9px; rotate: var(--a, 0deg); cursor: pointer; transition: rotate .2s, translate .2s, scale .2s; -webkit-tap-highlight-color: transparent; }
  .comics .titles button:first-child { margin-left: 0; }
  .comics .titles button:nth-child(1) { --a: -5deg; } .comics .titles button:nth-child(2) { --a: 3.5deg; } .comics .titles button:nth-child(3) { --a: -2.5deg; } .comics .titles button:nth-child(4) { --a: 4deg; } .comics .titles button:nth-child(5) { --a: -3.5deg; }
  .comics .titles img { display: block; width: 100%; aspect-ratio: 5 / 7; object-fit: cover; background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 4px 0 -1px rgb(20 22 27 / .35); }
  .comics .titles [aria-pressed="true"] { z-index: 1; rotate: 0deg; translate: 0 -5px; scale: 1.12; }
  .comics .titles [aria-pressed="true"] img { box-shadow: 5px 6px 0 -1px rgb(20 22 27 / .4); }
  .comics .titles button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .comics .titled { display: block; position: relative; isolation: isolate; margin: var(--s2) 0 0; padding: 7px 12px 8px; color: var(--ink); font: 400 12.5px/1.45 var(--font-text); }
  .comics .titled::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--board); border: 2px solid var(--ink); box-shadow: 4px 5px 0 -1px rgb(20 22 27 / .3); filter: url(#ink); }
  .comics .titled b { font: 400 15px/1.25 var(--font-display); }
}
@media (prefers-reduced-motion: reduce) { .comics .titles button { transition: none; } }
/* the comic shop's card (11-23, Jeff's words; his note: "the big draw card here are those big names... make sure that
   they are featured... heavily"; his pick of three: "version C"). Music's frame with the five franchise names where
   music has its number: the sentence first, then the names on the red strip under Jeff's own label for them, in the
   sign's face, the largest words on the card; then his three tiles in the inked row. (Design 1 only is worked on.) */
.comics .names { margin-inline: calc(-1 * var(--s6)); padding: var(--s2) var(--s6) var(--s3); background: var(--tower); color: #fff; font-family: var(--font-text); }
/* (11-27, his words: "the red box appears ontop of the black borders in the box its in, the borders shoudl be ontop
   ot it". The strip runs to the board's edges, and the board's inked border was drawn behind everything on the board,
   so the strip lay over it. On this board the border is drawn over what it holds: ::after, the same line with nothing
   inside it; the board behind keeps its paper and its shadow. And on a short laptop, where the board's padding is
   drawn in (snug), the strip is drawn in with it: it stood 4 px out past the board on each side.) */
[data-d="a2"] .comics .panel::before { border-color: transparent; }
[data-d="a2"] .comics .panel::after { content: ""; position: absolute; inset: 0; z-index: 1; border: 3px solid var(--ink); filter: url(#ink); pointer-events: none; }
[data-d="a2"] .comics [data-snug] .names { margin-inline: -20px; padding-inline: 20px; }
.comics .names .label { margin: 0 0 var(--s1); font-size: 12px; font-weight: 500; }
.comics .names ol { margin: 0; padding: 0; list-style: none; }
.comics .names li { display: inline; }
.comics .names b { font: 400 clamp(24px, 2.2vw, 40px) / 1.08 var(--font-display); }
.comics .names li:not(:last-child) b::after { content: " · "; }
[data-d="a2"] .comics .header { font-size: clamp(22px, 1.9vw, 32px); }
[data-d="a2"] .comics .motto { white-space: nowrap; }
/* (11-27, his word: "just adjust sizes for shorter phones". The Anime page on a narrow screen shorter than his own
   phone's (430 × 742), so that the whole page still fits it: closer gaps and smaller names first; shorter still,
   smaller covers and words too, none under 11px) */
@media (max-width: 1100px) and (max-height: 720px) {
  [data-d="a2"] .comics .sec-head { gap: var(--s2); }
  [data-d="a2"] .comics .motto { margin-top: 10px; }
  [data-d="a2"] .comics .panel { gap: var(--s2); padding-block: var(--s3); }
  [data-d="a2"] .comics .panel > .subheader { font-size: 14px; line-height: 1.45; }
  .comics .names { padding-block: var(--s1) var(--s2); }
  .comics .names b { font-size: clamp(16px, 4.7vw, 21px); white-space: nowrap; }   /* (three lines at these widths, no name broken in two) */
  [data-d="a2"] .comics .figures b { --size-figure: clamp(15px, 4.2vw, 19px); }   /* ("OP + ED" on one line) */
  .comics :is(.titles, .titled) { margin-top: var(--s1); }
}
@media (max-width: 1100px) and (max-height: 640px) {
  [data-d="a2"] .comics .header { font-size: 20px; }
  [data-d="a2"] .comics .motto { margin-top: 6px; font-size: 14px; }
  [data-d="a2"] .comics .panel { padding-block: var(--s2); }
  [data-d="a2"] .comics .panel > .subheader { font-size: 13px; line-height: 1.4; }
  .comics .names .label { font-size: 11px; }
  [data-d="a2"] .comics .figures span { font-size: 11px; }
  .comics .titles button { width: 50px; }
  .comics .titled { padding-block: 5px 6px; font-size: 12px; line-height: 1.35; }
  .comics .titled b { font-size: 14px; }
}

/* the Tech card (11-23, his words: "a more traditional sort of layout", "the site is very bottom-heavy. We have boy on
   the left-hand side and the robot on the right... a design that stretched across the top?", "I kind of like how the
   band at the top looks like a RPG dialogue box"; of two tried, his pick "B"). A dialogue box, as in a role-playing
   game, across the top of the boy's room beside the logo's sign, the window, the boy and the robot below it: one paper
   box with a thick inked edge and a line inside it, the section's name on a dark plate over its top edge, "Building
   on AI." as the line spoken, the three AI partners as its choices in the sign's face (each with Jeff's tile for it:
   the job in the tower's red, then what it is), the track record as one inked line across its foot, and the blinking
   mark that says there is more (still for anyone who asks their device for less motion). */
.tech .partners ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tech .partners li { display: grid; align-content: start; gap: 3px; padding: 0 var(--s4); border-left: 2px solid var(--ink); }
.tech .partners li:first-child { padding-left: 0; border-left: 0; }
.tech .partners b { font: 400 clamp(22px, 2.1vw, 38px) / 1.05 var(--font-display); white-space: nowrap; }
.tech .partners b::before { content: "▸ "; color: var(--tower); }
.tech .partners i { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tower); }
.tech .partners span { font-size: 13px; line-height: 1.4; }
.tech .label { margin: 0 0 var(--s2); font-size: 12px; font-weight: 500; }
.tech .since { margin: 0; padding: var(--s2) 28px 0 0; border-top: 1.5px solid var(--ink); font-size: 13px; line-height: 1.45; }   /* (room on its right for the mark) */
.tech .since .label { display: inline; margin: 0 var(--s2) 0 0; font-weight: 700; color: var(--tower); }
[data-d="a2"] .tech .sec-head { position: relative; isolation: isolate; gap: var(--s3); margin-top: 22px; padding: 26px var(--s6) var(--s4); }
[data-d="a2"] .tech .sec-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--board); border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: inset 0 0 0 4px var(--board), inset 0 0 0 6px var(--ink), 5px 6px 0 -1px rgb(20 22 27 / .3); filter: url(#ink); }
[data-d="a2"] .tech .title-set { display: contents; }
[data-d="a2"] .tech .header { position: absolute; top: -20px; left: 30px; margin: 0; padding: 5px 16px 6px; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; color: var(--board); rotate: 0deg; }
[data-d="a2"] .tech .header::before { background: var(--ink); border-radius: 6px; box-shadow: none; }
[data-d="a2"] .tech .motto { margin: 0; padding: 0; font: 400 clamp(22px, 2vw, 34px) / 1.15 var(--font-display); rotate: 0deg; }
[data-d="a2"] .tech .motto::after { display: none; }   /* (music's line hangs on two threads; this one does not) */
[data-d="a2"] .tech .panel { display: grid; gap: var(--s3); padding: 0; rotate: 0deg; font-family: var(--font-text); }
[data-d="a2"] .tech .more { position: absolute; right: 20px; bottom: 10px; font-size: 14px; animation: tech-more 1.1s steps(2, jump-none) infinite; }
@keyframes tech-more { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { [data-d="a2"] .tech .more { animation: none; } }
/* (wide: the box beside the logo's sign, the line spoken and the sentence on its first row, the three partners across
   under them, the track record across its foot) */
@media (min-width: 1101px) {
  [data-d="a2"] .tech { --top: var(--edge); }   /* (the box's own top margin leaves room for its plate) */
  [data-d="a2"] .tech .records { display: none; }
  [data-d="a2"] .tech .sec-head { grid-column: 1 / -1; grid-row: 1; margin: 22px 0 0 calc((var(--logo-w, 260px) + var(--s4)) / var(--z, 1));
    grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s6); row-gap: var(--s3); align-items: start; }
  [data-d="a2"] .tech .panel { display: contents; }
  [data-d="a2"] .tech .motto { grid-area: 1 / 1; white-space: nowrap; }
  [data-d="a2"] .tech .panel > .subheader { grid-area: 1 / 2; }
  [data-d="a2"] .tech .partners { grid-area: 2 / 1 / auto / -1; }
  [data-d="a2"] .tech .since { grid-area: 3 / 1 / auto / -1; margin-top: var(--s1); }
  /* (11-28, his words: "increase the speacing between AI partner header and the subheaders... by a little, theyre
     almost touching": a partner's job 3 px further under its name; on a phone the same, below) */
  [data-d="a2"] .tech .partners i { margin-top: 3px; }
}
/* (a laptop's short screen: the box drawn in, so it stays over the boy's head: the partners' heading off, each choice
   its name and job, the gaps and padding smaller) */
@media (min-width: 1101px) and (max-height: 720px) {
  [data-d="a2"] .tech .partners .label, [data-d="a2"] .tech .partners span { display: none; }
  [data-d="a2"] .tech .sec-head { row-gap: var(--s2); padding: 22px var(--s5, 20px) var(--s2); }
  [data-d="a2"] .tech .since { margin-top: 0; }
  [data-d="a2"] .tech .partners li { gap: 1px; }
}
/* (narrower: the box stays at the top while the room holds the screen, under the logo's sign, set small: the partners
   one under another) */
@media (max-width: 1100px) {
  [data-d="a2"] .tech .sec-head { position: sticky; top: calc(var(--top) + 22px); z-index: 2; }
  [data-d="a2"] .tech .records { margin-top: 0; }
  [data-d="a2"] .tech .partners ul { grid-template-columns: 1fr; gap: var(--s2); }
  [data-d="a2"] .tech .partners li { padding: 0; border: 0; grid-template-columns: auto 1fr; column-gap: var(--s3); align-items: baseline; }
  [data-d="a2"] .tech .partners b { font-size: 21px; }
  [data-d="a2"] .tech .partners span { grid-column: 1 / -1; font-size: 12px; }
  [data-d="a2"] .tech .panel > .subheader { font-size: 13px; line-height: 1.45; }
  [data-d="a2"] .tech .since { font-size: 11.5px; }
}
/* (a phone, his note 11-23 on the live page: "the phone version look at the text": the names ran over their jobs,
   which a phone may set wider than a desktop does, and the small text was too small. Each partner's name on a line
   of its own and its job under it, so nothing can meet; the sentence and the track record no smaller than 14 and 13
   px; and so the box stays small over the room, two pages, as in a role-playing game's box: the line spoken and the
   three partners, then (the scroll on through the stop, scroll.html data-page) the sentence and the track record, the
   mark there only while there is more. Each page fades in as it comes, but for anyone who asks for less motion.) */
@media (max-width: 700px) {
  [data-d="a2"] .tech .partners span, [data-d="a2"] .tech .partners .label { display: none; }
  [data-d="a2"] .tech .partners ul { gap: var(--s2); }
  [data-d="a2"] .tech .partners li { display: block; }
  [data-d="a2"] .tech .partners b { display: block; font-size: 21px; }
  [data-d="a2"] .tech .partners i { display: block; margin: 5px 0 0 1.05em; font-size: 11.5px; }
  [data-d="a2"] .tech .panel { gap: var(--s2); }
  [data-d="a2"] .tech .sec-head { padding: 22px var(--s4) var(--s3); }
  /* (11-26, his note: "tech prara text goes out of the background bounding box". The line was held to one row here
     when it read "Building on AI."; since 11-24 it reads "Building on frontier technology.", wider than a phone's box,
     and being the box's one column it took the sentence and the track record out past the box's edge with it. It
     now goes over two rows, evenly.) */
  [data-d="a2"] .tech .motto { font-size: 20px; text-wrap: balance; }
  [data-d="a2"] .tech .panel > .subheader { font-size: 14px; line-height: 1.5; }
  [data-d="a2"] .tech .since { padding-right: 0; font-size: 13px; line-height: 1.5; }
  [data-d="a2"] .tech:not([data-page="2"]) .panel > .subheader, [data-d="a2"] .tech:not([data-page="2"]) .since { display: none; }
  [data-d="a2"] .tech[data-page="2"] .partners, [data-d="a2"] .tech[data-page="2"] .more { display: none; }
  [data-d="a2"] .tech :is(.partners, .panel > .subheader, .since) { animation: tech-page .35s ease-out; }
}
@keyframes tech-page { from { opacity: 0; translate: 0 6px; } }
@media (max-width: 700px) and (prefers-reduced-motion: reduce) { [data-d="a2"] .tech :is(.partners, .panel > .subheader, .since) { animation: none; } }

/* the Weaving stop (11-23, his words: "the card is on the right side... but its in the middle", "the projects have
   their own icon and are in a more throughout design not just rows"; "a speech bubble comes out, and it looks like
   they're telling the story"). The card is music's: the sign, its line on a board, the sentence and the stories on a
   paper board; each story a paper tile with its own inked icon, two by two. A wide screen: the card on the right over
   the road, in the middle of the frame's height. Narrower: pinned to the screen's foot over the cart while the stop
   holds the screen, the sentence left to the wide screen. Each tile's icon is drawn by the page (11-24, his word:
   "its just the icons which need to be redone"; weave/story.js icon, the painted look, his pick), larger than
   the thin line ones were; on the red tile of the story being told it stands on a paper disc. The balloon: .tell. */
.weave .stories { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.weave .stories button { all: unset; box-sizing: border-box; position: relative; display: grid; grid-template-columns: var(--icon) minmax(0, 1fr); column-gap: var(--s2); align-items: center;
  --icon: clamp(34px, 3.1vw, 48px); width: 100%; height: 100%; padding: var(--s3); background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 4px 0 -1px rgb(20 22 27 / .3); cursor: pointer;
  transition: translate .15s, box-shadow .15s; }
.weave .stories li:nth-child(odd) button { rotate: -.6deg; } .weave .stories li:nth-child(even) button { rotate: .5deg; }
.weave .stories canvas { grid-row: 1 / 3; width: var(--icon); height: var(--icon); border-radius: 50%; }
.weave .stories b { font: 400 clamp(13.5px, 1.15vw, 19px) / 1.15 var(--font-display); }   /* (set smaller by scroll.html fitWords where a name is too long for its tile) */
.weave .stories span { grid-column: 2; font-size: 11.5px; line-height: 1.35; }
.weave .stories i { position: absolute; top: -9px; right: 8px; padding: 0 6px; background: var(--ink); color: var(--paper); font: 700 10px / 1.6 var(--font-text); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.weave .stories button:disabled { cursor: default; } .weave .stories button:disabled > :is(canvas, b, span) { opacity: .5; }
.weave .stories button:not(:disabled):is(:hover, :focus-visible) { translate: 0 -2px; box-shadow: 4px 6px 0 -1px rgb(20 22 27 / .35); }
.weave .stories button[aria-pressed="true"] { background: var(--tower); color: #fff; }
.weave .stories button[aria-pressed="true"] canvas { background: var(--paper); box-shadow: 0 0 0 3px var(--paper); }
[data-d="a2"] .weave .header { font-size: clamp(22px, 1.9vw, 32px); }
[data-d="a2"] .weave .panel { font-family: var(--font-text); }
[data-d="a2"] .weave .motto { white-space: nowrap; } .weave .motto b { margin-right: .4em; color: var(--tower); font: 400 1.15em var(--font-display); }
@media (min-width: 1101px) {
  [data-d="a2"] .weave { --top: calc(var(--edge) + 48px); }
  [data-d="a2"] .weave .records { display: none; }
  [data-d="a2"] .weave .sec-head { grid-column: 9 / span 4; grid-row: 1; align-self: center; }
}
@media (max-width: 1100px) {
  [data-d="a2"] .weave .spread { display: flex; flex-direction: column; }
  [data-d="a2"] .weave .sec-head { order: 1; position: sticky; bottom: var(--edge); z-index: 2; gap: var(--s2); }
  [data-d="a2"] .weave .panel > .subheader { display: none; }
  [data-d="a2"] .weave .panel { padding: var(--s3); }
  .weave .stories { gap: var(--s2); }
  .weave .stories button { --icon: 36px; padding: var(--s2); }
  .weave .stories b { font-size: 15px; } .weave .stories span { display: none; }
}
/* (a short phone: the card drawn in, so it stays under the tellers' faces, and the balloon's words a size down) */
@media (max-width: 1100px) and (max-height: 700px) {
  [data-d="a2"] .weave .header { font-size: 19px; } [data-d="a2"] .weave .motto { margin-top: 10px; font-size: 13px; }
  .weave .stories button { --icon: 28px; padding: 6px var(--s2); column-gap: 6px; }
  .weave .stories b { font-size: 13.5px; }
}
/* the speech balloon's layer, over the picture (11-24, his words: "it should look hand drawn... shorter than it is
   wide and take up the area above their heads"; "text under the animation explaining it, as part of the animation").
   .shape: its outline, drawn by its look (weave/story.js balloon: body and tail as one, a hand's line) and grown from
   its tail's tip (--pop, --tip: scroll.html). No ink filter on it: it is big and it moves (his phone, Safari, drew the
   filter's scraps, 11-23): the wobble is in the outline's own points. .balloon: what it holds, the story's picture and
   under it the line of words for the moment being told; all the story's lines stand in one place, those not shown
   unseen, so the balloon keeps one height and the line one place. The replay button comes when the story is over. */
.tell { position: fixed; inset: 0; z-index: 2; pointer-events: none; --pop: 1; color: var(--ink); }
.tell .shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; visibility: hidden; transform-origin: var(--tip); scale: var(--pop); }
.front { position: fixed; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }   /* (3D: the cook again, over the balloon) */
.tell :is(.shape, .balloon) { translate: var(--dx, 0px) var(--dy, 0px); }   /* (3D: with its teller's head as the view turns) */
.tell.open .shape { visibility: visible; }
.tell .balloon { position: absolute; box-sizing: border-box; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; padding: 8px 14px 9px; pointer-events: auto; scale: var(--pop); }
.tell .balloon[hidden] { display: none; }
.tell .art { display: block; width: 100%; height: 100%; min-height: 0; border-radius: 6px; }
.tell .say { margin: 0; display: grid; font: 700 15px / 1.34 var(--font-text); text-wrap: balance; text-align: center; }
.tell .say > * { grid-area: 1 / 1; font: inherit; } .tell .say i { visibility: hidden; }
.tell .again { all: unset; position: absolute; right: 10px; top: 8px; box-sizing: border-box; width: 34px; height: 34px; display: grid; place-items: center; border: 2.5px solid var(--ink); border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%;
  background: var(--paper); box-shadow: 2px 3px 0 -1px rgb(20 22 27 / .3); font: 700 19px / 1 var(--font-text); cursor: pointer; visibility: hidden; rotate: -4deg; }
.tell .again:is(:hover, :focus-visible) { background: var(--tower); color: #fff; }
.tell .balloon.done .again { visibility: visible; }
@media (max-width: 1280px) { .tell .say { font-size: 13.5px; } }
@media (max-width: 1100px) { .tell .balloon { padding: 8px 10px 8px; gap: 5px; } .tell .say { font-size: 13.5px; line-height: 1.3; } }
@media (max-width: 1100px) and (max-height: 700px) { .tell .say { font-size: 12.5px; } }

/* the last stop: the scramble from the air, the companies' logos on its billboards (scroll.html), and the stop's
   words (clients/CONTENT.md). The J-POP sign stays at the screen's corner here as everywhere (11-27, his words: without
   it "theres no fast link to home", "theres no excuxe for it ever fading on latop theres plenty of realestate", "even
   on iphone it would be fine without it fading"; it made way for the boards until then): a billboard under it carries
   no logo (scroll.html boardsAt). The stop's company board carries the mark too. The page ends at this stop.
   First what every design of it shares: its parts, each a paper board with the site's inked edge (.board).
   - the station's board (.b-sign): the stop's number in the line's red and its label, the line (the largest words),
     the sentence, and the line's map (.linemap): the site's five stops as rings on the red band, this one filled and
     ringed in red, the earlier ones links back to them;
   - the numbers (.b-nums; Jeff's note, 11-25: "Empty out and take the whole area for these stats"): set as the Music
     card sets its figures: 50+ leading, large, in the tower's red, on a rule; under it the three fields in an inked
     row, each a number and its words;
   - the strip (.ticker): every company's name on an inked strip, the list twice over moved along by its own length
     (--t), only while it is seen (.seen); it waits under a pointer; still and moved by hand for less motion;
   - the company's board (.b-company): the mark and the company's name, Jeff's line ("From Japan to the World") in the
     sign's face, and the button that opens the corporate profile;
   - the corporate profile (.profile): a window that floats over the page (Jeff's notes: "Click for Corporate
     Profile", "Float over window"), a paper board with his overview in labelled rows: the company's registered name
     leading, each officer's name stronger than the title, the corporate number and the address the quietest.
   Then each design's own layout. */
[data-d="a2"] .clients { padding-bottom: var(--edge); }
.clients .sec-head { color: var(--ink); font-family: var(--font-text); }
.clients .sec-head :is(p, ul, ol, h2) { margin: 0; }
.clients .board { position: relative; isolation: isolate; box-sizing: border-box; }
.clients .board::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--board); border: 2.5px solid var(--ink); box-shadow: 4px 5px 0 -1px rgb(20 22 27 / .3); filter: url(#ink); }
/* the board */
.clients .b-sign { display: grid; align-content: space-between; text-align: center; }
.clients .b-sign > * { min-width: 0; }
.clients .kicker { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px var(--s2); padding: var(--s3) var(--s4) 0; font: 700 11.5px / 1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; }
.clients .kicker .no { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 5px; background: var(--tower); color: #fff; border: 2px solid var(--ink); border-radius: 5px; font: 400 14px / 1 var(--font-display); letter-spacing: 0; }
.clients .kicker .sub { font-weight: 500; letter-spacing: .02em; text-transform: none; opacity: .72; }
[data-d="a2"] .clients .header { grid-column: auto; z-index: auto; padding: var(--s2) var(--s4) 4px; rotate: none; font: 400 clamp(26px, 2.42vw, 46px) / 1.08 var(--font-display); text-wrap: balance; }
[data-d="a2"] .clients .header::before { content: none; }
.clients .statement { padding: 0 var(--s6) calc(var(--s4) + 12px); font: 500 13px / 1.5 var(--font-text); text-wrap: balance; }
.clients .linemap { list-style: none; margin: 0 3px 3px; padding: 0 var(--s2) var(--s2); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; border-top: 10px solid var(--tower); }
.clients .linemap li { display: grid; justify-items: center; margin-top: -19px; }
.clients .linemap :is(a, .stop) { all: unset; display: grid; justify-items: center; gap: 4px; min-width: 40px; color: var(--ink); font: 500 10.5px / 1.2 var(--font-text); text-align: center; text-wrap: balance; }
.clients .linemap a { cursor: pointer; }
.clients .linemap i { display: grid; place-items: center; width: 28px; height: 28px; box-sizing: border-box; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--ink); font: 700 10px / 1 var(--font-text); font-style: normal; transition: scale .15s; }
.clients .linemap a:is(:hover, :focus-visible) i { scale: 1.15; }
.clients .linemap a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.clients .linemap .here i { background: var(--ink); color: var(--paper); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5.5px var(--tower); }
.clients .linemap .here .stop > span { font-weight: 700; }
/* the numbers */
.clients .b-nums { display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: var(--s3) var(--s4) var(--s4); }
.clients .hero { display: flex; align-items: baseline; gap: var(--s3); align-self: center; padding-bottom: var(--s2); }
.clients .hero b { font: 400 clamp(60px, 6.1vw, 104px) / .82 var(--font-display); color: var(--tower); }
.clients .hero span { font: 700 clamp(13px, 1.15vw, 17px) / 1.2 var(--font-text); letter-spacing: .1em; text-transform: uppercase; }
.clients .fields { list-style: none; padding: var(--s3) 0 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.clients .fields li { padding: 0 var(--s3); border-left: 2px solid var(--ink); }
.clients .fields li:first-child { padding-left: 0; border-left: 0; } .clients .fields li:last-child { padding-right: 0; }
.clients .fields b { display: block; font: 400 clamp(24px, 2.2vw, 36px) / 1 var(--font-display); color: var(--tower); }
.clients .fields span { display: block; margin-top: 5px; font-size: 12px; line-height: 1.3; }
/* the strip */
.clients .ticker { overflow: hidden; padding: 6px 0 7px; background: var(--ink); color: var(--paper); }
.clients .run { display: flex; width: max-content; animation: ticker var(--t, 80s) linear infinite paused; }
.clients .run.seen { animation-play-state: running; }
.clients .ticker:hover .run { animation-play-state: paused; }
.clients .names { flex: none; margin: 0; padding: 0; list-style: none; display: flex; white-space: nowrap; font: 400 clamp(13px, 1.05vw, 16px) / 1.3 var(--font-display); }
.clients .names li::after { content: "·"; margin: 0 .55em; color: var(--tower); }
@keyframes ticker { to { translate: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .clients .run { animation: none; } .clients .ticker { overflow-x: auto; } .clients .names[aria-hidden] { display: none; } }
/* the company's board */
.clients .b-company { display: grid; align-content: space-between; justify-items: start; gap: var(--s3); padding: var(--s4); }
.clients .who { display: flex; align-items: center; gap: var(--s3); }
.clients .who img { height: 30px; width: auto; filter: brightness(0); }
.clients .who b { font: 700 13.5px / 1.25 var(--font-text); }
.clients .claim { font: 400 clamp(20px, 1.85vw, 30px) / 1.12 var(--font-display); text-wrap: balance; }
.clients .profile-open { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: .6em; min-height: 44px; padding: 0 1em; background: var(--ink); color: var(--paper); border: 2.5px solid var(--ink); box-shadow: 3px 4px 0 -1px rgb(20 22 27 / .3);
  font: 700 13px / 1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: translate .15s, box-shadow .15s, background .15s; }
.clients .profile-open::after { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 2.5px 2.5px 0 0; rotate: -45deg; translate: 0 2px; }   /* (it opens upward, over the page) */
.clients .profile-open:is(:hover, :focus-visible) { translate: 0 -2px; background: var(--tower); border-color: var(--ink); box-shadow: 4px 6px 0 -1px rgb(20 22 27 / .35); }
.clients .profile-open:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* the corporate profile's window */
.profile { box-sizing: border-box; width: min(470px, calc(100vw - 2 * var(--edge))); max-height: calc(100dvh - 2 * var(--edge)); margin: auto; padding: 0; border: 0; background: none; color: var(--ink); overflow: visible; font-family: var(--font-text); }
.profile::backdrop { background: rgb(var(--shade) / .5); }
.profile .sheet { position: relative; isolation: isolate; box-sizing: border-box; max-height: calc(100dvh - 2 * var(--edge)); overflow-y: auto; padding: var(--s4) var(--s6) var(--s6); }
.profile .sheet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); border: 3px solid var(--ink); box-shadow: 6px 8px 0 -1px rgb(20 22 27 / .35); }
.profile[open] { animation: profile-in .22s ease-out; }
@keyframes profile-in { from { opacity: 0; translate: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .profile[open] { animation: none; } }
.profile header { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-bottom: var(--s3); border-bottom: 3px solid var(--tower); }
.profile h3 { margin: 0; font: 700 11.5px / 1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; }
.profile-close { all: unset; box-sizing: border-box; width: 40px; height: 40px; margin: -8px -10px -8px 0; display: grid; place-items: center; font: 400 26px / 1 var(--font-text); cursor: pointer; }
.profile-close:is(:hover, :focus-visible) { color: var(--tower); } .profile-close:focus-visible { outline: 2px solid var(--ink); outline-offset: -6px; }
.profile dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: var(--s6); }
.profile dl > div { display: contents; }
.profile dt, .profile dd { margin: 0; padding: var(--s3) 0; border-bottom: 1.5px solid rgb(20 22 27 / .2); }
.profile dl > div:last-child :is(dt, dd) { border-bottom: 0; padding-bottom: 0; }
.profile dt { font: 700 10px / 1.9 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: rgb(20 22 27 / .6); }
.profile dd { font: 500 14px / 1.5 var(--font-text); }
.profile dd span { display: block; }
.profile .co b { display: block; font: 400 24px / 1.2 var(--font-display); }
.profile .co span:nth-of-type(1) { font-weight: 700; }
.profile .co span:nth-of-type(n + 2) { font-size: 12.5px; color: rgb(20 22 27 / .7); } .profile .co span:nth-of-type(2) { margin-top: 6px; }
.profile .officers span { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 7px; } .profile .officers span:last-child { margin-bottom: 0; }
.profile .officers i { font: 500 11.5px / 1.3 var(--font-text); font-style: normal; color: rgb(20 22 27 / .7); }
.profile .officers b { font: 700 14.5px / 1.3 var(--font-text); }
@media (max-width: 480px) { .profile .sheet { padding: var(--s3) var(--s4) var(--s4); } .profile dl { column-gap: var(--s4); } .profile .co b { font-size: 21px; } }
@media (min-width: 1101px) {
  [data-d="a2"] .clients { --top: calc(var(--edge) + 48px); }
  [data-d="a2"] .clients .records { display: none; }
  [data-d="a2"] .clients .sec-head { grid-row: 1; align-self: end; }
}
/* (narrower, a phone: the parts one under another, pinned to the screen's foot while the stop holds the screen, the
   boards and the skyline over them. The board without its sentence, the map its five numbered stops alone; the
   company's board its name and line beside the button) */
@media (max-width: 1100px) {
  [data-d="a2"] .clients .spread { display: flex; flex-direction: column; }
  [data-d="a2"] .clients .sec-head { order: 1; position: sticky; bottom: var(--edge); z-index: 2; display: grid; gap: var(--s2); }
  .clients :is(.statement, .kicker .sub), .clients .linemap :is(a, .stop) > span { display: none; }
  .clients .kicker { padding-top: var(--s2); }
  [data-d="a2"] .clients .header { padding-bottom: calc(var(--s2) + 12px); font-size: clamp(22px, 6.6vw, 32px); }
  .clients .linemap { padding-bottom: 6px; }
  .clients .b-nums { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto; column-gap: var(--s3); align-items: center; padding: var(--s2) var(--s3); }
  .clients .hero { display: grid; gap: 4px; padding: 0; } .clients .hero b { font-size: 46px; } .clients .hero span { font-size: 10px; }
  .clients .fields { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 2px 0 2px var(--s3); border-top: 0; border-left: 2px solid var(--ink); }
  .clients .fields li, .clients .fields li:first-child, .clients .fields li:last-child { display: grid; grid-template-columns: 2.7em minmax(0, 1fr); column-gap: var(--s2); align-items: baseline; padding: 0; border: 0; }   /* (11-27: 2.7em, the room "30+" takes; it was 1.9em for "10") */
  .clients .fields b { font-size: 17px; } .clients .fields span { margin: 0; font-size: 11.5px; line-height: 1.3; }
  .clients .b-company { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px var(--s3); padding: var(--s2) var(--s3); }
  .clients .who { grid-column: 1 / -1; gap: var(--s2); } .clients .who img { height: 20px; } .clients .who b { font-size: 12px; }
  .clients .claim { font-size: 19px; }
  .clients .profile-open { padding: 0 .8em; font-size: 11.5px; }
}
/* (a tablet, upright: the board across, the numbers and the company's board side by side under it) */
@media (min-width: 700px) and (max-width: 1100px) {
  [data-d="a2"] .clients .sec-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; }
  .clients :is(.b-sign, .ticker) { grid-column: 1 / -1; } .clients .ticker { order: 1; }
  .clients .linemap :is(a, .stop) > span { display: block; }
}
/* (a short phone: the map left out, so the boards stay in the picture over the words) */
@media (max-width: 699px) and (max-height: 700px) {
  .clients .linemap { display: none; } [data-d="a2"] .clients .header { padding-bottom: var(--s2); font-size: 22px; }
  .clients .hero b { font-size: 38px; }
}
/* (the smallest phones: a size down, so the three fields' words keep to their columns) */
@media (max-width: 380px) {
  .clients .hero b { font-size: 34px; } .clients .fields span { font-size: 10.5px; }
  .clients .claim { grid-column: 1 / -1; font-size: 17px; } .clients .profile-open { grid-column: 1 / -1; justify-self: stretch; justify-content: center; min-height: 40px; }
}

/* The last stop's name board, along the screen's foot (his pick of three designs, 11-26: "go with version 1"). The three boards stand on the strip of names in one row of
   one height, each filled by what it holds (the board's parts spread down it, the numbers' 50+ in the middle of its
   room over the three fields, the company's name, line and button from top to foot), so the crossing and every
   billboard stay clear over them (11-25, his words on a first mockup: "on small laptop the numbers and layout is shit
   with empty space"). */
.clients[data-end="1"] .b-sign { rotate: -.5deg; } .clients[data-end="1"] .b-nums { rotate: .3deg; } .clients[data-end="1"] .b-company { rotate: -.3deg; }
@media (min-width: 1101px) {
  [data-d="a2"] .clients[data-end="1"] .sec-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .78fr); grid-template-areas: "sign nums co" "ticker ticker ticker"; gap: var(--s3) var(--s4); align-items: stretch; }
  .clients[data-end="1"] .b-sign { grid-area: sign; } .clients[data-end="1"] .b-nums { grid-area: nums; } .clients[data-end="1"] .b-company { grid-area: co; } .clients[data-end="1"] .ticker { grid-area: ticker; }
  [data-d="a2"] .clients[data-end="1"] .header { white-space: nowrap; }
}
@media (min-width: 1101px) and (max-width: 1280px) {
  .clients[data-end="1"] .linemap :is(a, .stop) { font-size: 9.5px; }
  .clients[data-end="1"] .statement { padding: 0 var(--s4) calc(var(--s3) + 12px); font-size: 12.5px; }
  .clients[data-end="1"] .fields span { font-size: 11.5px; } .clients[data-end="1"] .fields li { padding: 0 var(--s2); }
}

/* whose logo it is: the name of the client on the board pointed at or tapped, on a small paper tag under the board
   (scroll.html nameAt) */
.boardname { position: fixed; z-index: 4; padding: 3px 9px 4px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); box-shadow: 2px 3px 0 -1px rgb(20 22 27 / .3);
  font: 700 12.5px / 1.3 var(--font-text); white-space: nowrap; pointer-events: none; rotate: -1deg; }
.boardname[hidden] { display: none; }

/* The page without its script (11-27, the audit; scroll.html's safety net sets html.plain when its script fails before
   it is all in, or one of the small files it needs does not come). Still a page: the opening's picture and its line
   as the first screen, then the five sections one under another on the dark, each as tall as its words, and the nav's
   five links to them, which need no script. Nothing moves, nothing is held to the screen, no balloon, no 3D. */
.plain body { background: var(--ink); }
.plain .stage { position: absolute; height: 100vh; height: 100dvh; }
.plain .stage .scene { background: var(--ink) url(flight/f-000.jpg) center / cover no-repeat; }
.plain .stage .scene :is(canvas, .d3) { display: none; }
.plain .stage .scene::after, .plain .stage .intro .tagline { opacity: 1; }
.plain .title.intro { transform: translate(-50%, -50%); }
.plain .page { padding-top: 100vh; padding-top: 100dvh; }
.plain .lead-in { height: 12vh; }
.plain .room.skip { visibility: visible; }
.plain[class] [data-d="a2"] .hold { height: auto; }
.plain[class] [data-d="a2"] .spread { position: static; height: auto; }
.plain[class] [data-d="a2"] .sec-head { position: static; zoom: 1; }
.plain[class] [data-d="a2"] .records { height: auto; margin-top: 0; }
.plain[class] .room > .at { top: -80px; }
.plain :is(.tell, .front, .d3sign, .boardname) { display: none; }
@media (max-width: 1100px) {
  .plain .sitenav { position: absolute; }
  .plain .sitenav .menu { display: none; }
  .plain .sitenav ol { display: flex; position: static; margin-top: 17px; }
}
