/* Aivy: a riso-printed tour. Two inks (fluorescent pink, ultramarine) on plain stock.
   Night theme turns the page into a dark venue wall; printed objects (poster, tickets, pass, setlist) stay paper. */

@font-face { font-family: "Big Shoulders"; src: url("/static/fonts/bigshoulders-normal-500-900.woff2") format("woff2"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("/static/fonts/schibsted-normal-400-900.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("/static/fonts/schibsted-italic-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Fragment Mono"; src: url("/static/fonts/fragmentmono-normal-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --stock: #eff1f3;
  --stock-2: #e1e4ea;
  --ink: #16163a;
  --ink-2: #4a4968;
  --blue: #2b3fc7;
  --pink: #ff48b0;
  --violet: #3b2391;
  --wall: var(--stock);
  --f-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --f-text: "Schibsted", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Fragment Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: clamp(16px, 3.6vw, 52px);
  --max: 1360px;
  --strip: 56px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mis-x: 5px;
  --mis-y: 3px;
  color-scheme: light;
}
/* Night: the venue wall. Paper objects re-declare day tokens below. */
:root[data-theme="night"] {
  --stock: #101130; --stock-2: #1a1c48; --ink: #ecebfa; --ink-2: #b4b3d8; --blue: #8e99ff; --pink: #ff5db8; --violet: #c4a7ff; --wall: #101130; color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="day"]) { --stock: #101130; --stock-2: #1a1c48; --ink: #ecebfa; --ink-2: #b4b3d8; --blue: #8e99ff; --pink: #ff5db8; --violet: #c4a7ff; --wall: #101130; color-scheme: dark; }
}
.paper, .sheet, .show-ticket, .laminate, .setlist-paper, .hanger .tag, .ticket, .stub, .daysheet, .ca-ticket, .lb, .wallet-pass {
  --stock: #eff1f3; --stock-2: #e1e4ea; --ink: #16163a; --ink-2: #4a4968; --blue: #2b3fc7; --pink: #ff48b0; --violet: #3b2391;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--strip) + 16px); }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  font: 400 17px/1.55 var(--f-text); font-feature-settings: "ss01";
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
code, pre, kbd { font-family: var(--f-mono); font-size: .88em; }
::selection { background: var(--pink); color: #16163a; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
input, textarea, select { caret-color: var(--pink); }
html { scrollbar-color: var(--blue) var(--stock-2); }
.ic { flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--pink); color: #16163a; padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.skip:hover { color: #16163a; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: .95; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(40px, 6vw, 84px); text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
h3 { font-size: clamp(22px, 2vw, 28px); text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 60ch; color: var(--ink-2); }
.aside-note { font-size: 15px; color: var(--ink-2); max-width: 70ch; }

/* ---------- header: the ticket strip ---------- */
.strip {
  position: sticky; top: 0; z-index: 30; height: var(--strip);
  display: grid; grid-template-columns: auto 1fr auto; align-items: stretch;
  background: var(--wall); border-bottom: 2px solid var(--ink);
}
.mark { position: relative; display: grid; align-items: center; padding: 0 22px 0 var(--pad); font: 900 34px/1 var(--f-display); letter-spacing: .02em; text-decoration: none; border-right: 2px solid var(--ink); }
.mark span { grid-area: 1 / 1; }
.mark-p { color: var(--pink); transform: translate(3px, 2px); }
.mark-b { color: var(--blue); mix-blend-mode: multiply; }
:root[data-theme="night"] .mark-b { mix-blend-mode: screen; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .mark-b { mix-blend-mode: screen; } }
.stops { display: flex; justify-content: center; }
.stops a {
  display: grid; place-items: center; padding: 0 clamp(10px, 1.6vw, 26px);
  font: 700 19px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  border-left: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
}
.stops a:last-child { border-right: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.stops a:hover { background: var(--stock-2); color: var(--ink); }
.stops a[aria-current], .stops a[aria-current]:hover { background: var(--pink); color: #16163a; }
.strip-end { display: flex; align-items: stretch; }
.theme { width: var(--strip); border: 0; border-left: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.theme:hover { background: var(--stock-2); }
.theme .ic:last-child { display: none; }
:root[data-theme="night"] .theme .ic:first-child { display: none; }
:root[data-theme="night"] .theme .ic:last-child { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="day"]) .theme .ic:first-child { display: none; }
  :root:not([data-theme="day"]) .theme .ic:last-child { display: block; }
}
.stub {
  position: relative; display: grid; place-items: center; padding: 0 22px 0 26px;
  background: var(--pink); color: #16163a; text-decoration: none;
  font: 900 22px/1 var(--f-display); letter-spacing: .04em;
  border-left: 2px dashed #16163a;
}
.stub:hover { background: var(--violet); color: #eff1f3; }
/* wallet: one more cell in the strip; connected, it drops a paper pass */
/* the Privy modal: square, like every printed object here (Privy sets these on :root; html:root outranks it) */
html:root { --privy-border-radius-xs: 0px; --privy-border-radius-sm: 0px; --privy-border-radius-md: 0px; --privy-border-radius-mdlg: 0px; --privy-border-radius-lg: 0px; --privy-border-radius-full: 0px; }
.wallet { position: relative; display: flex; border-left: 2px solid var(--ink); }
.wallet > .wallet-on { display: flex; }
.wallet-btn { display: flex; align-items: center; gap: 8px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); cursor: pointer; font: 700 19px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.wallet-btn:hover { background: var(--stock-2); }
.wallet-btn[disabled] { cursor: progress; opacity: .6; }
.wallet-ic { display: grid; place-items: center; }
.wallet-btn.is-on .wallet-ic { color: var(--pink); }
.wallet-addr { font: 500 14px/1 var(--f-mono); text-transform: none; letter-spacing: 0; }
.wallet-btn[aria-expanded="true"] { background: var(--stock-2); }
.wallet-pass {
  position: absolute; top: calc(100% + 2px); right: 0; z-index: 31; width: 320px; padding: 16px 18px 18px;
  background: var(--stock); border: 2px solid var(--ink); border-top: 0;
}
.wallet-pass .wp-head { margin: 0 0 8px; font: 800 20px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; color: var(--blue); }
.wallet-pass .wp-addr { display: block; font: 400 13px/1.45 var(--f-mono); word-break: break-all; padding: 10px 0; border-top: 2px dashed var(--ink); border-bottom: 2px dashed var(--ink); }
.wallet-pass .wp-acts { display: flex; gap: 18px; margin: 12px 0; }
.wallet-pass .wp-acts button { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.wallet-pass .wp-acts a { font-size: 15px; }
.wallet-pass .wp-bal { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); }
.wallet-pass .wp-bal b { font: 800 26px/1 var(--f-display); color: var(--ink); }
.wallet-pass .wp-out { width: 100%; height: 44px; border: 2px solid var(--blue); background: transparent; color: var(--blue); font: 700 18px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.wallet-pass .wp-out:hover { background: var(--blue); color: #eff1f3; }
.wallet-pass .wp-out:active { transform: translateY(2px); }
.menu { display: none; align-items: center; gap: 8px; padding: 0 16px; border: 0; border-left: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 18px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.setlist-nav { position: fixed; inset: var(--strip) 0 0; z-index: 29; background: var(--wall); padding: 24px var(--pad); overflow: auto; }
.setlist-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.setlist-nav li { border-bottom: 2px solid var(--ink); }
.setlist-nav a { display: block; padding: 14px 0; font: 900 clamp(44px, 12vw, 72px)/1 var(--f-display); text-transform: uppercase; text-decoration: none; color: var(--blue); }
.setlist-nav a[aria-current] { color: var(--violet); }

/* ---------- tickets (buttons) ---------- */
.ticket {
  --notch: 8px;
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 26px;
  background: var(--stock); color: var(--ink); text-decoration: none; white-space: nowrap;
  font: 800 20px/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em;
  border: 2px solid var(--ink); cursor: pointer;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  transition: background .2s var(--ease), color .2s var(--ease), transform .12s var(--ease);
}
.ticket .ic { padding-left: 12px; border-left: 2px dashed currentColor; height: 100%; width: auto; box-sizing: content-box; }
.ticket.primary { background: var(--pink); color: #16163a; }
.ticket:hover { background: #2b3fc7; color: #eff1f3; }
.ticket.primary:hover { background: #3b2391; color: #eff1f3; }
.ticket:active { transform: translateY(2px); }
.ctas, .page-foot, .acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- copy buttons, id cards, code ---------- */
.copy {
  font: 700 14px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em;
  padding: 8px 12px; border: 2px solid var(--ink); background: var(--stock); color: var(--ink); cursor: pointer;
}
.copy:hover { background: var(--ink); color: var(--stock); }
.copy.ok { background: var(--pink); color: #16163a; }
.idcard, .codeblock, .daysheet { border: 2px solid var(--ink); background: var(--stock); }
.idcard-head, .codeblock .bar, .daysheet-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 6px 6px 6px 12px; border-bottom: 2px solid var(--ink);
  font: 700 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em;
}
.idcard pre, .codeblock pre, .daysheet pre { margin: 0; padding: 14px 16px; color: var(--blue); white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.6; }
.codeblock pre { white-space: pre; overflow-x: auto; }
.idcard.slim pre { font-size: 13px; padding: 10px 12px; }

/* ---------- the poster (home hero) ---------- */
.poster { padding: 0; }
.sheet {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: none; margin: 0;
  min-height: min(calc(100dvh - var(--strip)), 1000px);
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr auto auto;
  background: var(--stock);
  /* fold creases of a poster that came folded in four */
  background-image:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(22, 22, 58, .07) 50%, rgba(255, 255, 255, .5) calc(50% + 1px), transparent calc(50% + 2px)),
    linear-gradient(0deg, transparent calc(46% - 1px), rgba(22, 22, 58, .06) 46%, rgba(255, 255, 255, .45) calc(46% + 1px), transparent calc(46% + 2px));
  border-bottom: 2px solid var(--ink);
}
.poster-type {
  grid-area: 1 / 1 / 2 / 13; display: grid; align-self: start; z-index: 1;
  padding: clamp(10px, 2vw, 28px) 0 0 clamp(12px, 2.4vw, 36px);
  font: 900 clamp(150px, min(40vw, 62vh), 660px)/.8 var(--f-display); letter-spacing: -.01em; user-select: none;
}
.plate { grid-area: 1 / 1; }
.poster-type .pink { color: var(--pink); transform: translate(calc(var(--mis-x) * 2), calc(var(--mis-y) * 2)); }
.poster-type .blue { color: var(--blue); mix-blend-mode: multiply; }
.print { position: relative; margin: 0; z-index: 2; aspect-ratio: 1100 / 1460; cursor: crosshair; }
.sheet > .print { position: absolute; top: 3%; bottom: 0; left: 53.5%; width: auto; }
.print-plates, .print-photo { position: absolute; inset: 0; }
.print-plates img { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; }
.p-pink { transform: translate(var(--mis-x), var(--mis-y)); }
.print-photo {
  width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  -webkit-mask: radial-gradient(circle var(--r, 0px) at var(--x, 50%) var(--y, 40%), #000 97%, #0000 100%);
  mask: radial-gradient(circle var(--r, 0px) at var(--x, 50%) var(--y, 40%), #000 97%, #0000 100%);
  transition: --r .35s var(--ease);
}
.print::after {
  content: ""; position: absolute; left: 0; top: 0; width: calc(var(--r, 0px) * 2); height: calc(var(--r, 0px) * 2); border-radius: 50%;
  border: 2px solid var(--ink); pointer-events: none; opacity: var(--lens, 0);
  transform: translate(calc(var(--x, 50%) - var(--r, 0px)), calc(var(--y, 40%) - var(--r, 0px)));
}
/* on the dark wall paper objects sit flat; shadows would read as glow */
:root[data-theme="night"] .laminate { box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .laminate { box-shadow: none; } }
@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }
.loupe-tag {
  position: absolute; right: 0; top: 0; z-index: 3; max-width: 230px;
  font: 400 12px/1.4 var(--f-mono); color: var(--ink-2); background: var(--stock); padding: 6px 8px; border: 1px solid var(--ink);
}
.loupe-tag span { display: block; color: var(--blue); }
.poster-copy { grid-area: 2 / 1 / 3 / 8; z-index: 3; padding: 0 clamp(16px, 2.4vw, 36px) 24px; align-self: end; }
.poster-copy h1 { font-size: clamp(34px, 3.9vw, 60px); text-transform: uppercase; color: var(--ink); max-width: 21ch; margin-bottom: 14px; }
.poster-copy p { max-width: 44ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); margin-bottom: 20px; }
.poster-bill {
  grid-area: 3 / 1 / 4 / 13; z-index: 3; margin: 0; padding: 12px clamp(16px, 2.4vw, 36px);
  display: flex; flex-wrap: wrap; gap: 4px 30px; border-top: 2px solid var(--ink); background: var(--stock);
}
.poster-bill div { display: flex; align-items: baseline; gap: 8px; }
.poster-bill dt { font: 600 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.poster-bill dd { margin: 0; font: 900 22px/1.1 var(--f-display); text-transform: uppercase; color: var(--blue); }

/* print run: the plates slide into register once, on load */
@media (prefers-reduced-motion: no-preference) {
  .js .poster-type .pink { animation: reg-pink 1.1s var(--ease) both; }
  .js .poster-type .blue { animation: reg-blue 1.1s var(--ease) both; }
  .js .print .p-pink { animation: reg-pink 1.2s .12s var(--ease) both; }
  .js .print .p-blue { animation: reg-blue 1.2s .12s var(--ease) both; }
  .js .poster-copy, .js .poster-bill { animation: feed .8s .35s var(--ease) both; }
}
@keyframes reg-pink { from { transform: translate(-46px, 22px); opacity: 0; } to { transform: translate(var(--mis-x), var(--mis-y)); opacity: 1; } }
@keyframes reg-blue { from { transform: translate(38px, -18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes feed { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- sections shared ---------- */
main > section, .page { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--pad); }
main > .page { padding-top: clamp(32px, 4vw, 64px); }
main > section.poster { max-width: none; padding-bottom: 0; }
section > h2 { margin-bottom: 18px; }
section > .lede { margin-bottom: 36px; }

/* the day sheet: one route line, one stop row per section */
.route { position: relative; max-width: var(--max); margin: 0 auto; }
.route::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--pad) / 2 - 1px); width: 2px; background: var(--blue); }
.route > section { max-width: none; padding: clamp(40px, 5vw, 76px) var(--pad); }
.stop { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: minmax(120px, 160px) minmax(0, 1fr) auto; align-items: end; gap: 10px 24px; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 2px solid var(--ink); }
.stop::before { content: ""; position: absolute; left: calc(var(--pad) / -2 - 6px); bottom: -7px; width: 12px; height: 12px; background: var(--wall); border: 2px solid var(--blue); }
.stop h2 { margin: 0; }
.stop-time { margin: 0; display: grid; gap: 6px; }
.stop-time time { font: 400 24px/1 var(--f-mono); color: var(--blue); }
.stop-time span { font: 700 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.stop .stamp { align-self: center; }

/* canon strip */
.canon-strip { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.canon-photo { position: sticky; top: calc(var(--strip) + 24px); }
.canon-photo img { width: 100%; border: 2px solid var(--ink); }
.cap { font: 400 12px/1.4 var(--f-mono); color: var(--ink-2); margin-top: 8px; }
.fixed { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.fixed li { border-top: 2px solid var(--ink); padding-top: 10px; }
.fixed h3 { color: var(--blue); margin-bottom: 6px; }
.fixed p { font-size: 15px; line-height: 1.5; margin: 0; }
.canon-text .idcard { margin-bottom: 20px; }

/* tour tickets */
.tickets { display: grid; gap: 22px; }
.show-ticket {
  position: relative; display: grid; grid-template-columns: 150px minmax(0, 5fr) minmax(0, 6fr);
  background: var(--stock); border: 2px solid var(--ink); min-height: 280px;
}
.show-ticket::before, .show-ticket::after { content: ""; position: absolute; left: 141px; width: 18px; height: 18px; border-radius: 50%; background: var(--wall); border: 2px solid var(--ink); z-index: 2; }
.show-ticket::before { top: -11px; }
.show-ticket::after { bottom: -11px; }
.show-stub { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 18px 16px; border-right: 2px dashed var(--ink); }
.show-no { font: 900 34px/.9 var(--f-display); text-transform: uppercase; color: var(--blue); }
.show-progress { font: 400 12px/1.4 var(--f-mono); color: var(--ink-2); }
.stamp {
  display: inline-block; align-self: flex-start; padding: 5px 8px; transform: rotate(-6deg);
  font: 800 14px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
  color: var(--violet); border: 2px solid var(--violet);
}
.show-media { display: block; position: relative; overflow: hidden; background: var(--ink); }
.show-media video { width: 100%; height: 100%; object-fit: cover; }
.show-body { padding: clamp(18px, 2.4vw, 32px); display: flex; flex-direction: column; justify-content: center; }
.show-body h3, .show-body h2 { font-size: clamp(38px, 4.4vw, 68px); color: var(--ink); text-shadow: none; margin-bottom: 12px; }
.show-body h3 a, .show-body h2 a { text-decoration: none; }
.show-body h3 a:hover, .show-body h2 a:hover { color: var(--blue); }
.show-body p { color: var(--ink-2); max-width: 52ch; }
.more { display: inline-flex; align-items: center; gap: 8px; font: 800 18px/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--blue); }
.more:hover { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .js .stamp { opacity: 0; transform: rotate(-6deg) scale(1.7); }
  .js .in .stamp, .js .stamp.in { opacity: 1; transform: rotate(-6deg) scale(1); transition: transform .28s var(--ease), opacity .12s; }
}

/* wardrobe rail */
.route > .rail { padding-left: 0; padding-right: 0; }
.rail > .stop { margin: 0 var(--pad) 26px; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 300px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 18px; scroll-padding: 0 var(--pad); }
.hanger { scroll-snap-align: start; display: block; text-decoration: none; color: var(--ink); }
.hanger img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 2px solid var(--ink); }
.hanger .tag { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding: 8px 10px; background: var(--pink); }
.hanger .tag b { font: 900 22px/1 var(--f-display); text-transform: uppercase; }
.hanger .tag span { font: 400 12px/1.3 var(--f-mono); }
.hanger:hover img { filter: saturate(1.15); }
.hanger:hover, .hanger .tag { color: #16163a; }

/* mini studio */
.mini-studio { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.ms-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 22px; }
label { display: grid; gap: 6px; font: 700 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em; }
label.wide { grid-column: 1 / -1; }
label.check { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font: 500 15px/1.3 var(--f-text); }
.hint { font: 400 13px/1.3 var(--f-text); text-transform: none; letter-spacing: 0; color: var(--ink-2); }
input[type="text"], input[type="search"], textarea, select {
  width: 100%; font: 400 16px/1.4 var(--f-text); color: var(--ink); background: var(--stock);
  border: 2px solid var(--ink); border-radius: 0; padding: 11px 12px; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
input::placeholder, textarea::placeholder { color: var(--ink-2); opacity: 1; }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--pink); }
.daysheet pre { min-height: 220px; font-size: 15px; }
.daysheet-foot { margin: 0; padding: 10px 16px; border-top: 2px solid var(--ink); font: 400 13px/1.5 var(--f-mono); color: var(--ink-2); }

/* contact sheet */
.contact-sheet { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 14px; margin-bottom: 30px; padding: 18px; background: var(--stock-2); border: 2px solid var(--ink); }
.frame { position: relative; display: block; text-decoration: none; color: var(--ink); }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.edge { display: flex; justify-content: space-between; font: 400 11px/1 var(--f-mono); color: var(--ink-2); padding-top: 6px; }
.frame.circled::after { content: ""; position: absolute; inset: -7px -6px 12px; border: 3px solid var(--pink); border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%; transform: rotate(-3deg); pointer-events: none; }
.frame.v-reject img { filter: grayscale(.7) contrast(.9); opacity: .78; }
.frame:hover img { outline: 3px solid var(--blue); outline-offset: -3px; }

/* setlist */
.setlist { display: grid; }
.setlist-paper { position: relative; justify-self: center; width: min(100%, 980px); background: var(--stock); border: 2px solid var(--ink); padding: clamp(28px, 4vw, 56px); transform: rotate(-.6deg); }
.setlist-paper ol, .wk-cat ol { list-style: none; margin: 0; padding: 0; counter-reset: song; }
.setlist-paper li, .wk-row { counter-increment: song; border-bottom: 2px solid var(--ink); }
.setlist-paper li a, .wk-row a { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: baseline; padding: 14px 0; text-decoration: none; }
.setlist-paper li a::before, .wk-row a::before { content: counter(song, decimal-leading-zero); font: 400 13px/1 var(--f-mono); color: var(--ink-2); }
.song { font: 900 clamp(28px, 3.4vw, 46px)/.95 var(--f-display); text-transform: uppercase; color: var(--blue); }
.why { font-size: 15px; color: var(--ink-2); }
.setlist-paper li a:hover .song, .wk-row a:hover .song { color: var(--violet); }

/* backstage laminate */
.backstage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.laminate {
  position: relative; background: var(--pink); color: #16163a; border-radius: 18px; padding: 56px clamp(22px, 3vw, 40px) 32px;
  border: 2px solid #16163a; box-shadow: 0 30px 50px -34px rgba(22, 22, 58, .6);
}
.laminate h2 { color: #16163a; text-shadow: none; margin: 4px 0 14px; }
.laminate p { max-width: 54ch; }
.laminate .codeblock { margin: 18px 0 22px; }
.lam-band { display: flex; align-items: center; justify-content: space-between; margin: -56px calc(clamp(22px, 3vw, 40px) * -1) 26px; padding: 36px clamp(22px, 3vw, 40px) 16px; border-radius: 16px 16px 0 0; background: #3b2391; color: #eff1f3; font: 900 clamp(30px, 3.6vw, 48px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.lam-hole { position: absolute; top: 14px; left: 50%; width: 64px; height: 14px; margin-left: -32px; border-radius: 8px; background: var(--wall); border: 2px solid #16163a; }
.lam-lead { font-size: 18px; }
.laminate .codeblock pre { white-space: pre-wrap; word-break: normal; overflow-wrap: normal; }
.lam-tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.lam-tools li { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); }
.lam-tools code { color: var(--blue); font-size: 15px; }
.lam-tools span { font-size: 15px; color: var(--ink-2); }
.laminate.wide { margin-bottom: 56px; }

/* coin */
.coin { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(24px, 4vw, 64px); align-items: center; }
.coin-mark { display: grid; margin: 12px 0 18px; font: 900 clamp(80px, 13vw, 210px)/.85 var(--f-display); }
.coin-mark .pink { color: var(--pink); transform: translate(calc(var(--mis-x) * 1.4), calc(var(--mis-y) * 1.4)); }
.coin-mark .blue { color: var(--blue); mix-blend-mode: multiply; }
:root[data-theme="night"] .coin-mark .blue, :root[data-theme="night"] .lost h1 .blue { mix-blend-mode: screen; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .coin-mark .blue, :root:not([data-theme="day"]) .lost h1 .blue { mix-blend-mode: screen; } }
.coin-body p { font-size: 19px; max-width: 46ch; }
.ca-ticket { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 18px; margin: 10px 0 18px; background: var(--stock); border: 2px dashed var(--ink); }
.ca-ticket span { font: 800 16px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; }
.ca-ticket code { font-size: 15px; color: var(--blue); word-break: break-all; }
.ca-ticket a { font: 800 16px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.fine { font-size: 14px !important; color: var(--ink-2); }

/* ---------- footer: the billing block ---------- */
.billing { border-top: 2px solid var(--ink); padding: clamp(40px, 6vw, 80px) var(--pad) 28px; max-width: var(--max); margin: 0 auto; }
.bill-lead { font: 900 clamp(36px, 5vw, 72px)/.9 var(--f-display); text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }
.bill-lead span { background: var(--pink); color: #16163a; padding: 0 .08em; }
.bill-credits { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 40px; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.bill-credits div { display: flex; align-items: baseline; gap: 8px; }
.bill-credits dt { font: 600 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.bill-credits dd { margin: 0; font: 900 24px/1 var(--f-display); text-transform: uppercase; }
.bill-cols { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 28px; margin-bottom: 32px; }
.bill-cols nav { display: grid; gap: 8px; align-content: start; }
.bill-cols nav a { font: 700 19px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.bill-cols nav a:hover { color: var(--violet); }
.bill-coin p { margin: 0 0 10px; }
.bill-coin a { display: inline-flex; align-items: center; gap: 6px; }
.ca code { color: var(--blue); word-break: break-all; }
.bill-legal { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ---------- inner pages ---------- */
.page-head { margin-bottom: clamp(32px, 5vw, 64px); }
.page-head h1, .film-head h1, .lost h1 {
  font: 900 clamp(64px, 12vw, 168px)/.85 var(--f-display); text-transform: uppercase; color: var(--blue);
  text-shadow: calc(var(--mis-x) * 1.4) calc(var(--mis-y) * 1.4) 0 var(--pink); margin-bottom: 20px;
}
.crumbs { font: 400 13px/1.4 var(--f-mono); color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.page section { margin-bottom: clamp(48px, 7vw, 96px); }
.page section h2 { font-size: clamp(34px, 4.6vw, 64px); margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }

.canon-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.canon-face { margin: 0; position: sticky; top: calc(var(--strip) + 24px); }
.canon-face .print { max-width: none; position: relative; background: var(--stock); border: 2px solid var(--ink); }
.canon-face figcaption { font: 400 12px/1.5 var(--f-mono); color: var(--ink-2); margin-top: 8px; }
.id-pair { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.test-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); background: var(--stock-2); }
.strip-frame { display: block; text-decoration: none; border-right: 2px solid var(--ink); }
.strip-frame:last-child { border-right: 0; }
.strip-frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.strip-frame span { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; font: 800 18px/1 var(--f-display); }
.strip-frame code { font-size: 11px; color: var(--ink-2); align-self: center; }
.looks-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.look { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.look img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 2px solid var(--ink); }
.look h3 { font-size: 30px; color: var(--blue); margin-bottom: 6px; }
.look .where { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.look .idcard { margin-bottom: 10px; }
.never ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.never li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.never .ic { color: var(--violet); margin-top: 3px; }
.styles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin: 0; }
.styles div { border-top: 2px solid var(--ink); padding-top: 10px; }
.styles dt { font: 800 22px/1 var(--f-display); text-transform: uppercase; margin-bottom: 6px; }
.styles dt code { font-size: 12px; color: var(--ink-2); margin-left: 6px; }
.styles dd { margin: 0; font: 400 14px/1.5 var(--f-mono); color: var(--blue); }

/* gallery */
.filters {
  position: sticky; top: var(--strip); z-index: 10; display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px;
  padding: 14px 0; margin-bottom: 28px; background: var(--wall); border-bottom: 2px solid var(--ink);
}
.filters label { min-width: 160px; }
.filters .q { flex: 1 1 220px; }
.filters select, .filters input { padding: 9px 10px; font-size: 15px; }
.seg { display: flex; }
.seg button { font: 800 17px/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; padding: 11px 14px; border: 2px solid var(--ink); background: var(--stock); color: var(--ink); cursor: pointer; margin-left: -2px; }
.seg button:first-child { margin-left: 0; }
.seg button b { font-family: var(--f-mono); font-weight: 400; font-size: 12px; margin-left: 4px; }
.seg button[aria-pressed="true"] { background: var(--pink); color: #16163a; }
.count { font: 400 13px/1 var(--f-mono); color: var(--ink-2); padding-bottom: 12px; margin-left: auto; }
.batch { margin-bottom: 52px; }
.batch-head { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 6px 14px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.batch-head h2 { font-size: clamp(30px, 3.4vw, 46px) !important; margin: 0 !important; }
.batch-head code { color: var(--ink-2); font-size: 12px; }
.batch-head p { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--ink-2); max-width: 90ch; }
.grid { columns: 4 230px; column-gap: 16px; }
.tile { display: block; break-inside: avoid; margin-bottom: 16px; text-decoration: none; color: var(--ink); }
.tile img { width: 100%; aspect-ratio: var(--ar); border: 2px solid var(--ink); }
.tile-meta { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; font: 400 12px/1.2 var(--f-mono); color: var(--ink-2); }
.verdict { font: 800 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; padding: 3px 6px; border: 2px solid currentColor; }
.v-pick .verdict { background: var(--pink); color: #16163a; border-color: #16163a; }
.v-reject .verdict { color: var(--blue); }
.tile.v-reject img { filter: grayscale(.6); opacity: .82; }
.tile:hover img { outline: 3px solid var(--pink); outline-offset: -3px; }
.tile[hidden], .batch[hidden] { display: none; }
.empty { font-size: 18px; color: var(--ink-2); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); background: color-mix(in srgb, var(--stock) 97%, transparent); }
.lb[hidden] { display: none; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 28px; min-height: 0; }
.lb-img { max-width: 100%; max-height: calc(100dvh - 56px); object-fit: contain; border: 2px solid var(--ink); background: var(--stock-2); }
.lb-nav, .lb-x { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--ink); background: var(--stock); color: var(--ink); cursor: pointer; }
.lb-nav:hover, .lb-x:hover { background: var(--pink); }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }
.lb-x { right: 14px; top: 14px; z-index: 2; }
.lb-info { overflow-y: auto; padding: 28px 24px 32px; border-left: 2px solid var(--ink); background: var(--stock); }
.lb-info .lab { font: 400 12px/1.4 var(--f-mono); color: var(--ink-2); margin: 0 52px 8px 0; }
.lb-info h2 { font-size: 40px !important; color: var(--blue); text-shadow: none; margin-bottom: 12px; }
.lb-info .verdict-line { margin-bottom: 14px; }
.lb-info .idcard { margin: 14px 0; }
.lb-sibs { display: flex; gap: 8px; margin: 12px 0; }
.lb-sibs button { padding: 0; border: 2px solid var(--ink); background: none; cursor: pointer; width: 64px; position: relative; }
.lb-sibs button[aria-current="true"] { border-color: var(--pink); outline: 2px solid var(--pink); }
.lb-sibs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lb-sibs span { position: absolute; right: 2px; bottom: 2px; font: 400 11px/1 var(--f-mono); background: var(--stock); padding: 1px 3px; }
.lb-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lb-acts .ticket { height: 46px; font-size: 17px; padding: 0 16px 0 20px; }
dl.meta { display: grid; gap: 8px; margin: 0; font-size: 14px; }
dl.meta div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; }
dl.meta dt { font: 700 13px/1.4 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
dl.meta dd { margin: 0; }
.verdict-line { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.verdict-line .stamp { transform: rotate(-3deg); }
.v-reject.verdict-line .stamp { color: var(--blue); border-color: var(--blue); }
.v-note.verdict-line .stamp { color: var(--ink-2); border-color: var(--ink-2); }

/* image page */
.image-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.image-main { margin: 0; }
.image-main img { width: 100%; border: 2px solid var(--ink); }
.image-info h1 { font-size: 22px; margin-bottom: 16px; word-break: break-all; }
.image-info h1 code { font-size: 1em; color: var(--blue); }
.image-info .idcard { margin: 16px 0 20px; }
.sibs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; align-items: center; }
.sibs p { width: 100%; margin: 0; font: 700 14px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.sibs a { position: relative; display: block; width: 84px; border: 2px solid var(--ink); }
.sibs a[aria-current] { border-color: var(--pink); outline: 2px solid var(--pink); }
.sibs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sibs span { position: absolute; right: 2px; bottom: 2px; font: 400 11px/1 var(--f-mono); background: var(--stock); padding: 1px 3px; }

/* tour + film */
.tickets.big .show-ticket { min-height: 320px; }
.stops-row { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stops-row li { display: flex; gap: 6px; align-items: baseline; padding: 5px 8px; border: 2px solid var(--ink); font: 700 14px/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; }
.stops-row em { font: 400 11px/1 var(--f-mono); font-style: normal; text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.stops-row .st-done { background: var(--pink); color: #16163a; border-color: #16163a; }
.stops-row .st-done em { color: #16163a; }
.stops-row .st-next { border-style: dashed; }
.film-head .show-no { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.film-reel { margin: 0 0 clamp(40px, 6vw, 80px); }
.film-reel video { width: 100%; border: 2px solid var(--ink); background: var(--ink); }
.film-reel figcaption { font: 400 13px/1.5 var(--f-mono); color: var(--ink-2); margin-top: 10px; }
.prompt-inline { color: var(--blue); }
.looks-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

.film-bill { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; margin: 22px 0 0; padding: 12px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.film-bill div { display: flex; align-items: center; gap: 10px; }
.film-bill dt { font: 600 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.film-bill dd { margin: 0; font: 900 24px/1 var(--f-display); text-transform: uppercase; color: var(--blue); }
.soon { color: var(--ink-2); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

/* studio */
.studio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: 64px; }
.studio-form { display: grid; gap: 22px; }
fieldset { border: 2px solid var(--ink); margin: 0; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
legend { font: 900 22px/1 var(--f-display); text-transform: uppercase; padding: 0 8px; color: var(--blue); }
textarea { resize: vertical; }
.studio-out { position: sticky; top: calc(var(--strip) + 20px); display: grid; gap: 18px; }
.lint { display: grid; gap: 8px; }
.lint:empty { display: none; }
.lint .issue { display: grid; gap: 4px; padding: 10px 12px; border: 2px solid var(--ink); background: var(--stock); }
.lint .issue b { font-size: 15px; }
.lint .issue code { color: var(--blue); font-size: 13px; }
.lint .clean { padding: 10px 12px; border: 2px solid var(--ink); background: var(--pink); color: #16163a; font-weight: 600; }
.checklist h2 { font-size: 26px !important; margin-bottom: 8px; color: var(--ink); text-shadow: none; }
.checklist ul { margin: 0; padding-left: 20px; font-size: 15px; display: grid; gap: 4px; }
.lint-own form { display: grid; grid-template-columns: 1fr 220px; gap: 14px; margin-bottom: 16px; align-items: end; }

/* wiki */
.wk-find { max-width: 520px; margin-bottom: 36px; }
.wk-cat { margin-bottom: 44px; }
.wk-cat h2 { font-size: clamp(30px, 3.6vw, 46px) !important; margin-bottom: 8px; }
.wk-row[hidden], .wk-cat[hidden] { display: none; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--strip) + 24px); font-size: 14px; }
.toc p { font: 800 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; border-left: 2px solid var(--ink); }
.toc a { display: block; padding: 2px 0 2px 12px; text-decoration: none; color: var(--ink-2); margin-left: -2px; border-left: 2px solid transparent; }
.toc a.on, .toc a:hover { color: var(--blue); border-left-color: var(--pink); }
.prose { max-width: 70ch; font-size: 17px; }
.prose h2 { font-size: clamp(30px, 3.4vw, 44px) !important; margin: 48px 0 14px; position: relative; }
.prose h3 { font-size: 24px; margin: 30px 0 10px; color: var(--blue); }
.prose .anchor { position: absolute; left: -.8em; text-decoration: none; color: var(--violet); opacity: 0; text-shadow: none; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; }
.prose h3 .anchor { position: static; margin-right: 6px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose code { background: var(--stock-2); padding: 1px 5px; color: var(--blue); }
.prose .codeblock, .prose .table, .prose blockquote { margin: 22px 0; }
.prose blockquote { padding: 16px 18px; background: var(--stock-2); border: 2px dashed var(--ink); }
.prose blockquote p { margin: 0; font: 400 14px/1.65 var(--f-mono); color: var(--blue); }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th { text-align: left; font: 800 15px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid var(--ink); padding: 8px 10px; }
td { padding: 9px 10px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); vertical-align: top; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; flex-wrap: wrap; }
.md-twin { font: 400 13px/1.4 var(--f-mono); color: var(--ink-2); margin-top: 28px; }

/* agents */
.tool-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; margin-bottom: 24px; }
.tool { border-top: 2px solid var(--ink); padding-top: 12px; }
.tool h3 code { font-size: 20px; color: var(--blue); text-transform: none; }
.tool p { font-size: 15px; margin: 8px 0; }
.tool .args { color: var(--ink-2); font-size: 13px; }
.agents-page .codeblock { margin: 14px 0; }

/* 404 */
.lost { min-height: 60vh; }
.lost h1 { display: grid; text-shadow: none; }
.lost h1 .pink { color: var(--pink); transform: translate(8px, 5px); }
.lost h1 .blue { color: var(--blue); mix-blend-mode: multiply; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stops a { padding: 0 10px; font-size: 17px; letter-spacing: .04em; }
  .id-pair { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --strip: 54px; }
  .stops { display: none; }
  .menu { display: flex; }
  .mark { border-right: 0; font-size: 30px; }
  .strip { grid-template-columns: auto 1fr auto; }
  .stub { padding: 0 14px 0 18px; font-size: 19px; }
  .sheet { grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto auto auto; min-height: 0; }
  .poster-type { grid-area: 1 / 1 / 2 / 7; font-size: clamp(120px, 39vw, 300px); }
  .sheet > .print { position: relative; top: auto; bottom: auto; left: auto; grid-area: 1 / 3 / 3 / 7; align-self: start; width: 100%; margin-top: clamp(60px, 18vw, 140px); }
  .poster-copy { grid-area: 3 / 1 / 4 / 7; padding-top: 22px; }
  .poster-bill { grid-area: 4 / 1 / 5 / 7; }
  .loupe-tag { display: none; }
  .canon-strip, .mini-studio, .backstage, .coin, .canon-grid, .image-layout, .studio, .two-col, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .canon-photo, .canon-face, .studio-out, .toc { position: static; }
  .toc { display: none; }
  .show-ticket { grid-template-columns: minmax(0, 1fr); }
  .show-ticket::before, .show-ticket::after { display: none; }
  .show-stub { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px; border-right: 0; border-bottom: 2px dashed var(--ink); }
  .show-media { aspect-ratio: 16 / 9; }
  .show-no { font-size: 26px; }
  .stop { grid-template-columns: minmax(0, 1fr) auto; }
  .stop-time { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: baseline; gap: 12px; }
  .stop h2 { grid-column: 1; }
  .contact-sheet { grid-template-columns: repeat(3, 1fr); }
  .looks-list, .tool-list, .styles { grid-template-columns: 1fr; }
  .bill-cols { grid-template-columns: 1fr 1fr; }
  .bill-coin { grid-column: 1 / -1; }
  .lb { grid-template-columns: 1fr; grid-template-rows: 55dvh 1fr; }
  .lb-info { border-left: 0; border-top: 2px solid var(--ink); }
  .lb-img { max-height: calc(55dvh - 40px); }
  .lint-own form { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wallet-btn { padding: 0 13px; }
  .wallet-label, .wallet-addr { display: none; }
  .wallet-pass { position: fixed; top: var(--strip); left: 8px; right: 8px; width: auto; }
  .fixed, .ms-form, fieldset { grid-template-columns: 1fr; }
  .test-strip { grid-template-columns: 1fr 1fr; }
  .strip-frame:nth-child(2) { border-right: 0; }
  .strip-frame:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .look { grid-template-columns: 100px 1fr; }
  .setlist-paper li a, .wk-row a { grid-template-columns: 2em 1fr; }
  .why { grid-column: 2; }
  .contact-sheet { grid-template-columns: repeat(2, 1fr); padding: 12px; }
  .grid { columns: 2 140px; column-gap: 10px; }
  .theme { width: 48px; }
  .menu span { display: none; }
  .poster-bill dd { font-size: 19px; }
  .ticket { height: 50px; font-size: 18px; padding: 0 18px 0 22px; }
  .filters label { min-width: 0; flex: 1 1 45%; }
  .count { width: 100%; margin: 0; padding: 0; }
  .bill-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
