/* ============================================================
   HOUSE CIRCUIT — HOME, LOWER STOPS
   Archive, the name, mission, venues, tickets, join (+ the circuit board).
============================================================ */

/* Room between the stops: each is at least a screen tall (under the
   header), so on landing the next stop starts just below the fold and
   its reveals (START_AT in site.js) wait until you scroll on to it.
   Content stays top-aligned: landings and the one-screen fit are the
   same. The vh line is the fallback for browsers without svh. */
.circuit > .section {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

/* ------------------------------------------------------------
   ARCHIVE TRACKLIST
------------------------------------------------------------ */
.tracklist { border-top: 1px solid var(--line-2); }
.track { border-bottom: 1px solid var(--line); }

.track-btn,
.track--head {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr) auto;
  grid-template-areas:
    "no title arrow"
    "no meta  arrow";
  column-gap: 16px;
  align-items: center;
  width: 100%;
  text-align: left;
}
.track-btn {
  position: relative;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--text-2);
  transition: background-color var(--t-mid) var(--ease-out);
}
.track-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--signal);
  transform: scaleY(0);
  transition: transform var(--t-mid) var(--ease-out);
}
.track-no { grid-area: no; font-family: var(--f-mono); font-size: 13px; color: var(--text-3); padding-left: 12px; }
.track-title {
  grid-area: title;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(19px, min(1.6vw, 3.2svh), 28px);
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--t-fast), transform var(--t-mid) var(--ease-out);
  overflow-wrap: anywhere;
}
.track-date,
.track-loc,
.track-photos {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.track-date { grid-area: meta; }
.track-loc,
.track-photos { display: none; }
.track-arrow {
  grid-area: arrow;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text);
  transition: transform var(--t-mid) var(--ease-out), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.track--head {
  padding: 12px 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.track--head > :first-child { padding-left: 12px; }
@media (max-width: 859px) {
  .track--head { display: none; }
}

@media (min-width: 860px) {
  .track-btn,
  .track--head {
    grid-template-columns: 4em 8em minmax(0, 1.6fr) minmax(0, 1fr) 7em 44px;
    grid-template-areas: none;
    column-gap: 20px;
  }
  .track-btn > *,
  .track--head > * { grid-area: auto; }
  .track-btn { padding: 11px 0; }
  .track-loc,
  .track-photos { display: block; }
  /* One line per night so the list keeps a steady rhythm (full title
     in the tooltip and the dossier). */
  .track-title,
  .track-loc {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .track-photos { color: var(--signal); }
}

.track-btn:hover,
.track-btn:focus-visible { background: linear-gradient(90deg, var(--signal-soft), transparent 70%); }
.track-btn:hover::before,
.track-btn:focus-visible::before { transform: scaleY(1); }
.track-btn:hover .track-title,
.track-btn:focus-visible .track-title { color: var(--signal); transform: translateX(10px); }
.track-btn:hover .track-arrow,
.track-btn:focus-visible .track-arrow {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--signal-ink);
  transform: rotate(45deg);
}

.js .tracklist:not(.is-expanded) .is-extra { display: none; }
/* The expand arrow, centred under the list. */
.tracklist-more {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 12px auto 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(5, 7, 6, 0.7);
  color: var(--text-2);
  transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}
.tracklist-more[hidden] { display: none; }
.tm-arrow {
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t-mid) var(--ease-out), margin var(--t-mid) var(--ease-out);
}
.tracklist-more[aria-expanded="true"] .tm-arrow { margin-top: 4px; transform: rotate(225deg); }
.tracklist-more:hover,
.tracklist-more:focus-visible { border-color: var(--signal); color: var(--signal); background: var(--signal-soft); }
.motion .tracklist-more[data-reveal] {
  transition:
    opacity 0.9s var(--ease-out) var(--d, 0s),
    transform 1.1s var(--ease-out) var(--d, 0s),
    border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}

/* Poster that follows the cursor over the list (fine pointers only). */
.track-preview { display: none; }
@media (hover: hover) and (pointer: fine) {
  .track-preview {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: clamp(200px, 17vw, 280px);
    aspect-ratio: 4 / 5;
    pointer-events: none;
    border: 1px solid var(--signal);
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(57, 255, 127, 0.2);
    opacity: 0;
    transform: translate3d(var(--px, -999px), var(--py, -999px), 0) scale(0.9) rotate(-3deg);
    transition: opacity var(--t-mid) var(--ease-out), scale var(--t-mid) var(--ease-out);
  }
  .track-preview.is-on { opacity: 1; transform: translate3d(var(--px), var(--py), 0) rotate(-3deg); }
  .track-preview img { width: 100%; height: 100%; object-fit: contain; }
}

/* Shorter screens open the archive with fewer nights (the arrow has the
   rest), so the stop keeps breathing room. Child 1 is the header row. */
@media (min-width: 1100px) and (max-height: 760px),
       (max-width: 1099px) and (max-height: 820px) {
  .js .tracklist:not(.is-expanded) .track:nth-child(n + 7) { display: none; }
}
@media (max-width: 1099px) and (max-height: 700px) {
  .js .tracklist:not(.is-expanded) .track:nth-child(n + 6) { display: none; }
}

/* ------------------------------------------------------------
   THE NAME (dictionary entries)
------------------------------------------------------------ */
.entries {
  display: grid;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .entries { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; }
}
.entry {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 34px);
  border: 1px solid var(--line-2);
  background: var(--ink-2);
}
.entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--text-3);
}
.entry-head dfn {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 900;
  font-size: clamp(56px, 6vw, 104px);
  line-height: 0.92;
  color: var(--text);
}
.entry-phon { color: var(--text-2); }
.entry-pos { font-style: italic; }
.entry-def { font-size: clamp(17px, 0.6vw + 13px, 22px); line-height: 1.55; color: var(--text); }
.entry-def span { color: var(--signal); font-family: var(--f-mono); font-size: max(12px, 0.6em); vertical-align: 0.2em; margin-right: 6px; }
.entry-eg { font-style: italic; color: var(--text-3); }
.entry--signal { border-color: rgba(57, 255, 127, 0.5); background: radial-gradient(90% 70% at 100% 0%, rgba(57, 255, 127, 0.1), transparent 70%), var(--ink-2); }
.entry--signal dfn { color: var(--signal); text-shadow: 0 0 40px rgba(57, 255, 127, 0.3); }
.entries-join {
  align-self: center;
  justify-self: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 3.6vw, 64px);
  line-height: 1;
  color: var(--signal);
}
.entries-sum {
  margin-top: clamp(18px, 3vh, 32px);
  max-width: 48ch;
  font-size: clamp(17px, 0.6vw + 13px, 22px);
  line-height: 1.55;
  color: var(--text-2);
}
.entries-sum strong { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------
   MISSION — a plain section. When it arrives, the statement lights
   up word by word, once ([data-reveal="words"]: site.js adds .is-in,
   home.js gives each word its index --wi for the stagger), then the
   pillars; the booth photos light up alongside (photos.css).
------------------------------------------------------------ */
.mission .wrap { display: grid; gap: clamp(20px, 3.4vh, 36px); }
.mission-statement {
  max-width: 34ch;
  font-size: clamp(22px, min(2.7vw, 4.4svh), 48px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
}
@supports not (height: 1svh) {   /* no small-viewport units: the same in vh */
  .mission-statement { font-size: clamp(22px, min(2.7vw, 4.4vh), 48px); }
}
.mission-statement .w--hl { color: var(--signal); }
.motion .mission-statement[data-reveal="words"] { opacity: 1; transform: none; }   /* the words do the reveal */
/* The words dim and light by colour (a see-through text colour), not
   opacity: ~60 inline spans at opacity < 1 would each be composited on
   their own while they fade; a colour change is plain paint. */
.motion .mission-statement .w {
  color: rgba(233, 243, 236, 0.16);   /* --text at 16% */
  transition: color 0.5s ease calc(var(--wi, 0) * 28ms);
}
.motion .mission-statement.is-in .w { color: var(--text); }
.motion .mission-statement.is-in .w--hl { color: var(--signal); }

.pillars {
  display: grid;
  border-top: 1px solid var(--line-2);
}
@media (min-width: 760px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pillars li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.pillars span { color: var(--signal); }

/* Phones: the mission statement scales with the screen, not a floor. */
@media (max-width: 767px) {
  .mission-statement { font-size: clamp(17px, min(5.6vw, 3.3svh), 24px); line-height: 1.45; }
  .pillars li { padding: 9px 0; }
}

/* ------------------------------------------------------------
   VENUES (a board of nodes, joined by hairline traces)
------------------------------------------------------------ */
.board {
  display: grid;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
@media (min-width: 1024px) { .board { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .board { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.node-cell {
  display: flex;
  background: var(--ink);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.node {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 10px 12px;
  min-height: clamp(136px, 12vw, 184px);
  padding: clamp(16px, 1.6vw, 24px);
  background: var(--ink);
  overflow: hidden;
  transition: background-color var(--t-mid) var(--ease-out);
}
.node::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.node-no { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); letter-spacing: 0.1em; }
.node-pin {
  width: 14px;
  height: 14px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  transition: background-color var(--t-mid), box-shadow var(--t-mid);
}
.node-name {
  grid-column: 1 / -1;
  align-self: end;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(24px, 1.9vw, 34px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--t-fast);
}
.node-desc { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--text-2); max-width: 34ch; }
.node-go {
  grid-column: 1 / -1;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color var(--t-fast);
}
.node:hover,
.node:focus-visible { background: radial-gradient(120% 80% at 0% 100%, rgba(57, 255, 127, 0.12), transparent 60%), var(--ink-2); }
.node:hover::after,
.node:focus-visible::after { transform: scaleX(1); }
.node:hover .node-pin,
.node:focus-visible .node-pin { background: var(--signal); box-shadow: 0 0 14px var(--signal-glow); }
.node:hover .node-name,
.node:focus-visible .node-name,
.node:hover .node-go,
.node:focus-visible .node-go { color: var(--signal); }
.node:focus-visible { outline-offset: -3px; }

/* ------------------------------------------------------------
   TICKET STUB
------------------------------------------------------------ */
.tickets .stop { margin-bottom: clamp(18px, 3vh, 28px); }
.stub {
  position: relative;
  border: 1px solid rgba(57, 255, 127, 0.55);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(57, 255, 127, 0.14), transparent 60%),
    var(--ink-2);
}
.stub-main {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: clamp(24px, 3.4vw, 52px);
}
/* Wide screens: headline left, copy + action right. */
@media (min-width: 960px) {
  .stub-main {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-areas:
      "label label"
      "title copy"
      "title cta";
    column-gap: clamp(32px, 4vw, 72px);
    align-items: end;
  }
  .stub-main > .label { grid-area: label; }
  .stub-title { grid-area: title; align-self: center; }
  .stub-copy { grid-area: copy; }
  .stub-main > .btn { grid-area: cta; }
}
.stub-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(44px, 5.2vw, 96px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text);
}
.stub-copy { max-width: 52ch; }

/* ------------------------------------------------------------
   JOIN — the title and sign-up centred in their column, the gallery
   of the floor beside them (photos.css). Phones stack the two.
------------------------------------------------------------ */
.join { padding-bottom: clamp(80px, 12vh, 140px); }
.join-grid { display: grid; gap: clamp(28px, 5vw, 96px); align-items: center; }
@media (min-width: 960px) {
  .join-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}
.join-copy {
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.4vh, 28px);
  text-align: center;
}
.join-copy .stop::after {   /* centred: a signal line either side */
  content: '';
  width: clamp(24px, 3vw, 48px);
  height: 1px;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal-glow);
}
.join-panel { display: grid; justify-items: center; gap: 22px; width: min(100%, 560px); }
.join-panel .signup { width: 100%; }
.join-panel .signup > .label { justify-self: center; }
.join-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
/* Phones: the email and button on one line and tighter spacing (the
   gallery trims itself in photos.css), so the stop fits one screen. */
@media (max-width: 699px) {
  .join-grid { gap: 22px; }
  .join-copy,
  .join-panel { gap: 14px; }
  .join .lead { font-size: 16px; line-height: 1.5; }
  .join-links { gap: 6px 20px; font-size: 15px; }
}
@media (min-width: 300px) and (max-width: 699px) {
  .join .signup-row { grid-template-columns: minmax(0, 1fr) auto; }
  .join .signup-row .btn { padding-inline: 18px; }
}


/* The node takes the reveal; keep its hover transition alongside it. */
.motion .node[data-reveal] {
  transition:
    opacity 0.9s var(--ease-out) var(--d, 0s),
    transform 1.1s var(--ease-out) var(--d, 0s),
    background-color var(--t-mid) var(--ease-out);
}

/* "Your venue?" tile: an open slot on the board. */
.node--open { background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(57, 255, 127, 0.04) 10px 11px), var(--ink); }
.node--open .node-name { color: var(--signal); }
.node--open .node-pin { border-style: dashed; }

/* Desktop board: "Visit" sits in the tile's top row, tiles scale with
   the viewport height so both rows fit one screen. */
@media (min-width: 1024px) {
  .node {
    grid-template-rows: auto 1fr auto;
    min-height: clamp(118px, min(10vw, 17svh), 170px);
    padding: clamp(14px, 1.3vw, 22px);
  }
  .node-pin { display: none; }
  .node-go { grid-column: 2; grid-row: 1; justify-self: end; }
  .node-desc { font-size: 13px; line-height: 1.55; }
}

/* Phones/tablets: compact two-up tiles. */
@media (max-width: 1023px) {
  .node { min-height: 0; gap: 8px 10px; padding: 16px 14px; }
  .node-name { font-size: clamp(20px, 5.4vw, 28px); }
  .node-desc { font-size: 13px; line-height: 1.5; }
  .node-pin { width: 11px; height: 11px; }
}

/* Below 1024px the venue board is a two-row strip you swipe sideways,
   so the whole stop fits one screen (the next column peeks in). */
@media (max-width: 1023px) {
  .board {
    grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: min(46vw, 250px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    border: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--signal) var(--ink-3);
  }
  .node-cell {
    scroll-snap-align: start;
    border: 1px solid var(--line-2);
    margin: 0 -1px -1px 0;
  }
  .node-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Phones: tighter dictionary entries. */
@media (max-width: 699px) {
  .entries { gap: 8px; }
  .entry { padding: 16px 18px; gap: 8px; }
  .entry-head { gap: 4px 12px; }
  .entry-head dfn { font-size: clamp(42px, 12vw, 58px); }
  .entry-def { font-size: 16px; line-height: 1.5; }
  .entry-eg { font-size: 14px; }
  .entries-join { font-size: 30px; line-height: 0.7; }
  .entries-sum { margin-top: 14px; font-size: 16px; }
}

/* Short phones (SE-size and below). */
@media (max-width: 699px) and (max-height: 700px) {
  .entry-eg { display: none; }
  .entry-head dfn { font-size: clamp(38px, 11vw, 50px); }
  .node-desc { -webkit-line-clamp: 2; }
  .node { padding: 12px; gap: 6px 8px; }
}

/* Tiny phones (4-inch, ~320×568): a compact tier so each stop still
   fits one screen. */
@media (max-width: 359px), (max-width: 699px) and (max-height: 600px) {
  :root { --fs-display: clamp(34px, 11vw, 44px); --fs-lead: 16px; }
  .section:not(.stage-next) { padding-block: 40px; }
  .stage-next { padding-top: calc(var(--header-h) + 10px); padding-bottom: 16px; }
  .sec-head { gap: 8px; margin-bottom: 16px; }
  .sec-aside p { font-size: 14px; line-height: 1.5; }
  .rail-controls { display: none; }   /* touch: the rail swipes */
  .rail { --poster-h: 130px; }
  .rail .ticket-title { font-size: 18px; }
  .js .tracklist:not(.is-expanded) .track:nth-child(n + 5) { display: none; }
  .track-btn { padding: 8px 0; }
  .entry-def { font-size: 15px; }
  .entries-sum { display: none; }
  .node-name { font-size: 18px; }
  .node { padding: 10px; }
  .stub-main { gap: 10px; padding: 18px; }
  .stub-copy { font-size: 14px; }
  .join-copy,
  .join-panel { gap: 10px; }
  .join-grid { gap: 10px; }
  .signup { gap: 6px; }
  .join .lead { font-size: 16px; }
}

/* Large screens: the home stops scale with the tokens (see core.css). */
@media (min-width: 1800px) and (min-height: 1100px) {
  .line-map { --lm-row: 30px; }
  .line-map a { font-size: 13px; }
  .circuit .wrap,
  .stage-next .wrap { padding-left: max(var(--gutter), 100px); }
  .rail { --poster-h: clamp(220px, 34svh, 460px); grid-auto-columns: calc(var(--poster-h) * 0.8 + 340px); }
  .rail .ticket-body { padding: 26px; gap: 10px; }
  .rail .ticket-date strong { font-size: 34px; }
  .ticket-date { font-size: 13px; }
  .ticket-title { font-size: 36px; }
  .track-no { font-size: 15px; }
  .track-title { font-size: clamp(19px, min(1.6vw, 3.2svh), 38px); }
  .track-date,
  .track-loc,
  .track-photos,
  .track--head { font-size: 14px; }
  .track-btn { padding: 15px 0; }
  .track-arrow { width: 46px; height: 46px; }
  .mission-statement { font-size: clamp(22px, min(2.7vw, 4.4svh), 64px); }
  .pillars li { font-size: 15px; padding: 16px 0; }
  .entry-head dfn { font-size: clamp(56px, 6vw, 136px); }
  .entry-head { font-size: 17px; }
  .entry-def { font-size: 27px; }
  .entries-join { font-size: 80px; }
  .entries-sum { font-size: 24px; }
  .node { min-height: clamp(118px, min(10vw, 17svh), 230px); padding: 28px; }
  .node-name { font-size: 44px; }
  .node-desc { font-size: 16px; }
  .node-go { font-size: 13px; }
  .stub-title { font-size: 124px; }
}
@media (min-width: 1800px) and (min-height: 1100px) {
  .hero-upcoming { --card-w: calc(var(--poster-h) * 0.8 + 340px); }
}

/* ------------------------------------------------------------
   THE BOARD — a circuit board behind everything from the archive
   down (pcb.js draws the routed traces, chips and the flowing
   current on a sheet of canvases anchored to the page). The layer itself
   carries a faint solder-mask dot grid, which is all there is
   without JS. It fades in under the tape; cards, tiles and panels
   sit on it like parts on the board. A soft shade down the middle
   (::after) keeps the copy clear of it; the edges stay brightest.
------------------------------------------------------------ */
.pcb {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(214, 255, 226, 0.05) 1px, transparent 1.5px) 0 0 / 24px 24px,
    radial-gradient(120% 60% at 50% 0%, rgba(57, 255, 127, 0.04), transparent 70%);
}
/* Fade in under the tape (an overlay, not a mask: a mask over a canvas
   that redraws every frame would be re-applied every frame). */
.pcb::before,
.pcb::after {
  content: '';
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.pcb::before {
  top: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(180deg, var(--ink) 0, rgba(5, 7, 6, 0) 100%);
}
.pcb::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 6, 0.1) 0%, rgba(5, 7, 6, 0.5) 22%, rgba(5, 7, 6, 0.58) 50%, rgba(5, 7, 6, 0.5) 78%, rgba(5, 7, 6, 0.1) 100%);
}
/* The drawn board (pcb.js): a sheet anchored to the page, so it scrolls
   natively with the sections; pcb.js sizes it to the viewport plus a
   margin and moves it along (transform) as you go. */
.pcb-sheet {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  will-change: transform;
}
.pcb-sheet canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
