/*
 * GoGaijin — the two internets.
 *
 * The world is a printed sheet: paper, one ink, one red, and registration marks
 * at the corners. It comes from the Japanese street-poster references Carlos
 * supplied on 2026-08-12 — heavy condensed display type sitting over a flat red
 * plane, vertical kana down one edge, mono caps labels at the rails, grain over
 * everything.
 *
 * Two rules hold the whole thing together:
 *
 * 1. There is exactly one red. It marks the Japanese side of the split and
 *    nothing else. The moment red is also used for a button, a hover and a
 *    heading, it stops meaning anything and the page stops explaining itself.
 * 2. Motion is decoration, never information. Every animated element is legible
 *    and complete in its resting state, so `prefers-reduced-motion` can switch
 *    all of it off without removing a single fact from the page. The block at
 *    the bottom of this file does exactly that, and it is not a courtesy.
 */

/* ============================================================ tokens ====== */

:root {
  --paper: #f3f1ec;
  --paper-deep: #e8e5dd;
  --ink: #0b0b0c;
  --ink-soft: #3a3835;
  --grey: #8a867e;
  --rule: #cdc9c0;

  /* The one red. Japanese side, and nothing else. */
  --red: #d8261c;
  --red-deep: #a81409;

  --display: "Anton", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --sans: "Instrument Sans", -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;
  --jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --gut: clamp(1.1rem, 3.5vw, 2.6rem);
  --rail: 0.66rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.4vw + 0.94rem, 1.12rem);
  line-height: 1.55;
  overflow-x: hidden;
}

::selection {
  background: var(--red);
  color: var(--paper);
}

/* Grain, generated inline so the page has no external dependency for its own
 * texture. Sits above everything and eats no pointer events. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

/* ======================================================== typography ====== */

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  /* 0.84 collided: on a three line heading the S of one line landed inside the
   * U of the next. This is the tightest setting where Anton's descenders and
   * ascenders clear each other. */
  line-height: 0.88;
  letter-spacing: 0.005em;
  margin: 0;
  /* Anton is drawn narrow already. A touch of horizontal scale gets the poster
   * proportions without a variable font or a second file. */
  transform: scaleX(1.02);
  transform-origin: left;
}

h1.display {
  font-size: clamp(3.4rem, 13vw, 11.5rem);
}
h2.display {
  font-size: clamp(2.2rem, 6.4vw, 5rem);
}
h3.display {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
}

.label {
  font-family: var(--mono);
  font-size: var(--rail);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--grey);
  margin: 0;
}

.label--ink {
  color: var(--ink);
}
.label--red {
  color: var(--red);
}
.label--paper {
  color: rgba(255, 255, 255, 0.82);
}

.jp {
  font-family: var(--jp);
  font-feature-settings: "palt" 1;
}

/* Vertical kana down an edge. `writing-mode` does the work; the letter spacing
 * is loosened because vertical kana set tight reads as a single glyph. */
.jp-vert {
  writing-mode: vertical-rl;
  font-family: var(--jp);
  letter-spacing: 0.34em;
  font-size: 0.78rem;
  color: var(--grey);
  text-transform: none;
}

.lead {
  font-size: clamp(1.1rem, 1.1vw + 0.9rem, 1.45rem);
  line-height: 1.5;
  max-width: 34ch;
  color: var(--ink-soft);
}

a {
  color: inherit;
}

/* =========================================================== the sheet === */

.sheet {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--gut);
  position: relative;
}

/* Registration marks. Print furniture, and the cheapest way to say "this is a
 * printed object" without an image. */
.marks::before,
.marks::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--ink);
  opacity: 0.5;
}
.marks::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}
.marks::after {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

.rail-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1.5px solid var(--ink);
}

.rail-row > .label {
  white-space: nowrap;
}

.rail-mid {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ============================================================== nav ====== */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1.5px solid var(--ink);
}

.nav-in {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0.65rem var(--gut);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.wordmark {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.wordmark i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--red);
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-family: var(--mono);
  font-size: var(--rail);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

/* ============================================================= hero ====== */

.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem) 0 0;
  /* Tall enough to be a poster, short enough that the marquee is the next thing
   * you meet rather than a screenful of nothing. */
  min-height: min(78vh, 820px);
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
}

/* The red plane. A band rather than a full bleed, exactly as in the
 * references: the figure crosses it and the type crosses both. */
/*
 * The plane is deliberately short and stops above the standfirst.
 *
 * It ran to 72% in the first cut, which put the standfirst on red in soft ink
 * and made it close to unreadable. The plane's job is to sit behind the
 * headline, and body copy has to stay on paper.
 */
.hero-red {
  position: absolute;
  left: calc(var(--gut) * -1);
  right: calc(var(--gut) * -1);
  top: 33%;
  height: 31%;
  background: var(--red);
  z-index: 0;
  transform: scaleY(0);
  transform-origin: center;
  animation: plane 1.1s var(--ease) 0.15s forwards;
}

@keyframes plane {
  to {
    transform: scaleY(1);
  }
}

/* Anima's canvas. Behind the type, above the red plane, and pinned so her head
 * lands under the headline instead of behind it. */
/*
 * Anima lives in the right half of the hero.
 *
 * She was centred in the first cut and crossed the headline and the standfirst,
 * which put a figure through the middle of the type instead of beside it. The
 * canvas is now confined to the right, so the framing cannot drift back over
 * the words however the viewport changes.
 *
 * `inset: 0` alone is not enough on a canvas: it is a replaced element with an
 * intrinsic 300x150, so with `width: auto` the inset shorthand leaves it at
 * 300x150 and PIXI sizes its renderer from that. The explicit dimensions are
 * what actually stretch it.
 */
#anima {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

#anima.ready {
  opacity: 1;
}

/* So the headline never runs under her. */
.hero-type,
.hero-foot .lead {
  max-width: 58%;
}

/*
 * Mobile: the disc, and Anima on request.
 *
 * She is 8MB, which is not something to spend on somebody's mobile data without
 * being asked. So on a narrow screen the resting state is a poster device from
 * the references, a rising sun disc behind the outlined type, and a button that
 * summons her and says what it costs. Both are hidden on desktop, where she
 * simply loads.
 */
.summon {
  display: none;
}

@media (max-width: 899px) {
  #anima {
    /* Full width once summoned, since there is no room to sit beside type. */
    width: 100%;
    opacity: 0;
  }

  .hero-type,
  .hero-foot .lead {
    max-width: 100%;
  }

  .summon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 4;
    margin-top: 1rem;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .summon[hidden] {
    display: none;
  }
}

.hero-type {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.hero-type h1 {
  mix-blend-mode: multiply;
}

/* The headline's second line sits in outline so the red plane and Anima read
 * through it. Outlined type on paper is the reference's signature move. */
.hollow {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  text-stroke: 2px var(--ink);
}

.hero-foot {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(1.6rem, 4vw, 3.2rem) 0 1.4rem;
}

.hero-foot .lead {
  /* Full ink rather than soft: this paragraph is the argument, and it sits
   * directly under a saturated plane that pulls the eye off anything faint. */
  color: var(--ink);
}

.hero-edge {
  position: absolute;
  right: 0;
  top: 22%;
  height: 46%;
  z-index: 3;
  display: flex;
  gap: 0.7rem;
}

/* Per-letter reveal. Each glyph is wrapped in a span by the script, clipped by
 * its own overflow box, and slid up on a stagger. */
.rise {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.rise > span {
  display: inline-block;
  transform: translateY(102%);
  animation: rise 0.85s var(--ease) forwards;
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

/* ============================================================ buttons ==== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease);
}

/* The fill sweeps rather than fades, which is what makes it read as ink. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--paper);
}

/* ============================================================ sections === */

.band {
  border-top: 1.5px solid var(--ink);
  padding: clamp(3rem, 7vw, 6.5rem) 0;
  position: relative;
}

.band--ink {
  background: var(--ink);
  color: var(--paper);
}

.band--ink .lead {
  color: rgba(255, 255, 255, 0.72);
}

.band--red {
  background: var(--red);
  color: #fff;
}

.band-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: clamp(1.6rem, 3vw, 3rem);
}

.band-head .label {
  flex: none;
}

.grid {
  display: grid;
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.card {
  border: 1.5px solid currentColor;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.card p {
  margin: 0;
  color: inherit;
  opacity: 0.86;
  font-size: 0.98rem;
}

.card .num {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  opacity: 0.6;
}

/* ============================================================ marquee ==== */

.marquee {
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding: 0.55rem 0;
  display: flex;
  gap: 2.4rem;
  white-space: nowrap;
}

.marquee > div {
  display: flex;
  gap: 2.4rem;
  animation: slide 26s linear infinite;
  flex: none;
}

.marquee span {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

@keyframes slide {
  to {
    transform: translateX(-100%);
  }
}

/* ============================================================= search === */

.search {
  display: flex;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  max-width: 640px;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 1rem 1.1rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
}

.search input:focus {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.search button {
  border: 0;
  border-left: 1.5px solid var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.chip {
  font-family: var(--mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid var(--rule);
  background: transparent;
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.chip:hover,
.chip:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

/* The two result columns. The Japanese one carries the red, always. */
.internets {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
}

.internet {
  border: 1.5px solid var(--ink);
  display: flex;
  flex-direction: column;
}

.internet-head {
  padding: 0.8rem 1rem;
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.internet--ja .internet-head {
  background: var(--red);
  color: #fff;
}

.internet-count {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 30rem;
  overflow-y: auto;
}

.rows li {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.rows li:last-child {
  border-bottom: 0;
}

.row-name {
  font-weight: 600;
  line-height: 1.25;
}

.row-ja {
  font-family: var(--jp);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.row-meta {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Evidence. Quote, then attribution, in that order and never the reverse: the
 * reader should meet the words before they meet our summary of them. */
.ev {
  border-left: 2px solid var(--rule);
  padding: 0.4rem 0 0.4rem 0.7rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.ev--welcome {
  border-left-color: #1f7a4c;
}
.ev--friction {
  border-left-color: #b98413;
}
.ev--refusal {
  border-left-color: var(--red);
}

.ev q {
  display: block;
  font-family: var(--jp);
  quotes: "「" "」";
  color: var(--ink);
}

.ev cite {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--grey);
  margin-top: 0.25rem;
}

.empty {
  padding: 1.4rem 1rem;
  color: var(--grey);
  font-size: 0.94rem;
}

/* "40 of 219 shown". The count in the header is the real total, and this is the
 * line that stops the column from implying it holds all of them. */
.rows-foot {
  margin: 0;
  padding: 0.6rem 1rem;
  border-top: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.notice {
  margin-top: 1rem;
  border: 1.5px dashed var(--rule);
  padding: 0.8rem 1rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================ reveal ===== */

/* Scroll-in. Everything starts visible if the script never runs; the script
 * adds `.veil` on load and removes it as elements enter, so a JS failure leaves
 * a readable page rather than a blank one. */
.veil {
  opacity: 0;
  transform: translateY(26px);
}

.veil.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

/* ============================================================ subscribe == */

.sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: 520px;
  margin-top: 1.4rem;
}

.sub input {
  flex: 1;
  min-width: 220px;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0.9rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
}

.sub input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.band--ink .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.band--ink .btn:hover,
.band--ink .btn:focus-visible {
  color: #fff;
}

.sub-note {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.8rem;
  opacity: 0.6;
}

/* ============================================================= footer ==== */

.foot {
  border-top: 1.5px solid var(--ink);
  padding: clamp(2rem, 4vw, 3.4rem) 0;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  font-size: 0.9rem;
}

.foot address {
  font-style: normal;
  font-family: var(--jp);
  line-height: 1.7;
  color: var(--ink-soft);
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.foot a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.foot a:hover {
  border-bottom-color: var(--red);
}

/* ============================================================== cursor === */

/*
 * A dot that trails the pointer and swells over anything interactive.
 * Pointer-fine only: on a touch screen there is no cursor to decorate.
 *
 * Two elements rather than one, and the swell is a scale rather than a width.
 * The outer element is repositioned every frame by a requestAnimationFrame loop
 * writing `transform`, so animating its width would put a layout pass inside
 * that loop. Splitting them lets position stay on the outer transform and size
 * live on the inner one, where a scale is composited and costs nothing.
 */
.dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  pointer-events: none;
  z-index: 95;
  transform: translate3d(-60px, -60px, 0);
}

.dot i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--red);
  mix-blend-mode: multiply;
  /* Resting state is the small dot. 9px of a 34px box. */
  transform: scale(0.265);
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

.dot.big i {
  transform: scale(1);
  opacity: 0.55;
}

@media (hover: none), (pointer: coarse) {
  .dot {
    display: none;
  }
}

/* ============================================================ narrow ===== */

/*
 * Narrow screens.
 *
 * The first cut of this was one rule for the hero and nothing else, and the page
 * broke badly: the nav links and the five rail labels are both `nowrap` flex
 * rows, so at 414px they were wider than the viewport. `overflow-x: hidden` on
 * the body hid the scrollbar rather than the overflow, which made the *body*
 * wider than the screen, which in turn made every paragraph wrap to that wider
 * box and run off the right edge. The visible symptom was clipped body copy; the
 * cause was two rows of chrome nobody had made responsive.
 *
 * So the rule here is: nothing in a nowrap row survives below 760px unless it
 * has been checked at 414px.
 */
@media (max-width: 760px) {
  .hero {
    min-height: auto;
  }

  /*
   * On a phone the band is tied to the outlined word instead of to a percentage
   * of the hero.
   *
   * Percentages worked on desktop, where the hero has a fixed minimum height.
   * Here the hero is as tall as its content, so 22% landed wherever the copy
   * happened to end up, and the standfirst came out sitting on red in dark ink.
   * Anchoring the band to the headline itself makes that impossible at any font
   * size: body copy is always below it, on paper.
   */
  .hero-red {
    display: none;
  }

  .hollow {
    position: relative;
  }

  .hollow::before {
    content: "";
    position: absolute;
    left: calc(var(--gut) * -1);
    right: calc(var(--gut) * -1);
    top: 10%;
    bottom: 10%;
    background: var(--red);
    z-index: -1;
  }

  .hero-edge {
    display: none;
  }

  .hollow {
    -webkit-text-stroke-width: 1.4px;
  }

  /* The nav links are the main offender. The page is short and every one of
     them is repeated in the footer, so on a phone the wordmark is enough. */
  .nav-links {
    display: none;
  }

  /* Two labels, not five. `No.01` and the kana carry the poster; the rest were
     decoration that pushed the layout open. */
  .rail-row .label:nth-child(n + 3) {
    display: none;
  }

  .rail-row {
    gap: 0.9rem;
  }

  /* The CTA and the summon button stack rather than sitting side by side, which
     at 414px left neither of them room to breathe. */
  .hero-foot > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .band-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  /* Belt and braces against a future nowrap row: nothing may exceed the
     viewport, whatever gets added above. */
  .sheet,
  .nav-in {
    max-width: 100vw;
  }
}

/* ===================================================== reduced motion ==== */

/*
 * Everything above is ornament. This turns all of it off and removes no
 * information: the red plane is already at full height, the letters are already
 * in place, the marquee holds still, and the reveal never veils anything.
 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .hero-red {
    transform: scaleY(1);
  }

  .rise > span {
    transform: none;
  }

  .veil {
    opacity: 1;
    transform: none;
  }

  .dot {
    display: none;
  }
}
