/* About, founder, contact and FAQ. Same hand as the homepage: big pixel
   headlines, generous space, full-bleed bands for rhythm, hairline rows
   instead of boxes, flat pixel art on the page (never in a frame).
   Tokens only. Departure Mono stays on its 11px grid. */

/* ---------- Hero: headline left, the pixel stage right ---------- */
.ah { position: relative; padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 7vw, 104px); }
.ah__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 612px); gap: clamp(32px, 3vw, 64px); align-items: center; }
.ah__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-content: center; min-width: 0; }
.ah__h { font: 400 66px/1.1 var(--pixel); letter-spacing: -.01em; color: var(--fg-0); max-width: 17ch; }
.ah__h .ln { display: block; }
.ah__h--name { font-size: 88px; line-height: 1; }
.ah .lede { max-width: 56ch; }
.ah__cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 4px; }
.ah__cta .link, .ab-p1__cta .link { align-self: center; }
.ah__note { font-size: 15px; color: var(--fg-2); max-width: 52ch; }
.ah__back { font: 500 14px/1.4 var(--sans); color: var(--fg-2); }
.ah__back a { color: var(--fg-1); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.ah__back a:hover { color: var(--accent); border-color: var(--accent); }
.ah__back a::before { content: "\2190\00a0"; }
.ab-sign { margin: 0; font: 400 22px/1 var(--pixel); letter-spacing: .06em; text-transform: uppercase; }
.ah__stage { width: 100%; }
/* On wide screens the stage leans past the text column toward the right edge,
   like the Signals hub, so it can draw at 4x without squeezing the copy. */
@media (min-width: 1001px) {
  .ah:not(.ah--center) .ah__grid.wrap { max-width: none; padding-left: max(clamp(16px, 3vw, 32px), calc((100% - var(--wrap)) / 2 + clamp(16px, 3vw, 32px))); padding-right: max(clamp(16px, 2vw, 24px), calc((100% - var(--wrap)) / 2 - 40px)); }
}

/* Founder: a centred character-select screen. Sign, stage, name, lede, buttons. */
.ah--center { padding-top: clamp(24px, 3vw, 40px); }
.ah--center .ah__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 18px; }
.ah--center .ah__back { justify-self: start; text-align: left; }
.ah--center .ah__stage { max-width: 468px; }
.ah--center .ah__copy { justify-items: center; gap: 22px; margin-top: 0; }
.ah--center .ah__h { max-width: none; }
.ah--center .lede { max-width: 64ch; margin-inline: auto; }
.ah--center .ah__cta { justify-content: center; }

/* Pixel stage (radar.js): art that flows from one scene into the next.
   Same rules as the Signals pages, so the stage looks identical everywhere. */
.pxstage { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.pxstage__screen { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; }
.pxstage__screen > * { grid-area: 1 / 1; }
/* the screen snaps to the stage grid (whole multiples of its 144 art pixels,
   as radar.js scales), so a placed still sits at a whole-pixel scale too */
.pxwin .pxstage__screen { width: 100%; width: min(576px, round(down, 100%, 144px)); }
@media (min-resolution: 2dppx) { .pxwin .pxstage__screen { width: min(576px, round(down, 100%, 72px)); } }
@media (min-resolution: 3dppx) { .pxwin .pxstage__screen { width: min(576px, round(down, 100%, 48px)); } }
.pxstage canvas { display: block; image-rendering: pixelated; opacity: 0; transition: opacity .4s; }
.pxstage.is-live canvas { opacity: 1; }
.pxstage__still { width: auto; height: 76%; max-width: 92%; image-rendering: pixelated; transition: opacity .4s; }
/* a still placed on the stage grid (x, y, width in art pixels), so it is the
   scene's own first frame at a whole-pixel scale before the canvas takes over */
.pxstage__still[style*="--w"] { position: absolute; left: calc(var(--x) / 144 * 100%); top: calc(var(--y) / 96 * 100%); width: calc(var(--w) / 144 * 100%); height: auto; max-width: none; }
.pxstage__still.is-wide { width: 80%; height: auto; }
.pxstage.is-live .pxstage__still { opacity: 0; pointer-events: none; }
.pxstage__bar { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 30px; }
.pxstage__pips { display: flex; align-items: center; gap: 5px; }
.pxstage__pips i { display: block; width: 6px; height: 6px; background: var(--line-2); transition: width .3s var(--ease), background .3s; }
.pxstage__pips i.on { width: 20px; background: var(--accent); }
.pxstage__pause { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--fg-2); background: none; border: 1px solid var(--line-2); border-radius: 0; cursor: pointer; }
.pxstage__pause::before { content: ""; width: 8px; height: 10px; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 5px, currentColor 5px 8px); }
.pxstage__pause[aria-pressed="true"]::before { width: 0; height: 0; background: none; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.pxstage__pause:hover { color: var(--accent); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .pxstage canvas, .pxstage__still { transition: none; } }
.px { image-rendering: pixelated; height: auto; }

/* Terminal window around the stage, the homepage's hand: a 2px border with
   the title, the scene pips and the pause control set into it (btop style),
   a deep-night fill and faint scanlines. */
.pxwin { --win-bg: var(--bg-0); position: relative; min-width: 0; padding: 26px 16px 24px; border: 2px solid var(--line-2); background: color-mix(in srgb, var(--bg-0) 52%, #020507); box-shadow: 0 0 0 1px color-mix(in srgb, var(--bg-0) 80%, #000), 0 30px 80px rgba(0, 0, 0, .35); }
.pxwin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px); opacity: .5; }
.pxwin .win__t, .pxwin .pxstage__pips, .pxwin .pxstage__pause { position: absolute; z-index: 2; padding: 0 8px; font: 400 11px/14px var(--pixel); letter-spacing: .06em; background: var(--win-bg); white-space: nowrap; }
.pxwin .win__t { top: -8px; left: 16px; color: var(--fg-1); }
.pxwin .win__t::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--rose, var(--accent)); animation: pulse 2.4s steps(2) infinite; }
.pxwin .pxstage { position: static; }
.pxwin .pxstage__bar { display: contents; }
.pxwin .pxstage__pips { top: -8px; right: 16px; height: 14px; }
.pxwin .pxstage__pips i { width: 5px; height: 5px; }
.pxwin .pxstage__pips i.on { width: 15px; }
.pxwin .pxstage__pause { bottom: -8px; right: 16px; display: block; width: auto; height: 14px; border: 0; color: var(--fg-2); }
.pxwin .pxstage__pause::before { content: "pause"; display: inline; width: auto; height: auto; margin: 0; background: none; border: 0; }
.pxwin .pxstage__pause[aria-pressed="true"]::before { content: "play"; }
.pxwin .pxstage__pause::after { content: ""; position: absolute; inset: -15px 0; }
.pxwin .pxstage__pause:hover, .pxwin .pxstage__pause:focus-visible { color: var(--fg-0); }
[data-theme="paper"] .pxwin { background: var(--bg-1); box-shadow: 0 0 0 1px var(--line); }
[data-theme="paper"] .pxwin::after { opacity: .18; }
@media (prefers-reduced-motion: reduce) { .pxwin .win__t::before { animation: none; } }

/* Echo signs, the homepage's closer sign: small pixel type with the full
   six-layer echo stepping down one whole pixel at a time */
.ab-sign.echo { color: var(--fg-0); --es: 1px; margin-bottom: 6px; }

.nowrap { white-space: nowrap; }

/* ---------- Sections ---------- */
.ab-sec { padding: clamp(88px, 10vw, 148px) 0; }
.ab-sec--tight { padding-top: clamp(56px, 6vw, 88px); }
.ab-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 5vw, 72px); }
.ab-lead__body { display: grid; gap: 18px; }
.ab-big { font: 400 66px/1.06 var(--pixel); letter-spacing: -.01em; }
.ab-ind .ab-big { font-size: 55px; }
.ab-more { margin-top: 40px; }
.ab-stack { display: grid; gap: 20px; align-content: start; }

/* Hairline index rows: a big word on the left, the plain version on the right */
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 10px clamp(24px, 4vw, 64px); align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); }
.rows__k { font: 400 33px/1.1 var(--pixel); color: var(--fg-0); }
.rows__k small { display: block; margin-top: 10px; font: 400 13px/1.4 var(--mono); color: var(--fg-2); letter-spacing: 0; }
.rows--big .rows__k { font-size: 55px; line-height: 1; }
.rows--big > li { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; }
.rows li > div, .rows li > p { color: var(--fg-1); font-size: 17px; max-width: 62ch; }
.rows li > div { display: grid; gap: 12px; }
.rows li > div p { max-width: 62ch; }
.rows .row-links, .ab-links { display: flex; flex-wrap: wrap; gap: 24px 26px; margin-top: 4px; }
.band .rows, .band .rows > li { border-color: color-mix(in srgb, var(--fg-0) 14%, transparent); }

/* ---------- About: why the name ---------- */
.ab-why__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.ab-why__art { width: 308px; }
.ab-why__art svg { display: block; width: 100%; height: auto; }
.ab-why__copy { display: grid; gap: 22px; }
.ab-why__copy .body-l { color: var(--fg-1); }

/* ---------- About: player one ---------- */
.ab-p1 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; scroll-margin-top: 90px; }
.ab-p1__id { display: grid; justify-items: center; gap: 22px; }
.ab-p1__id img { width: 316px; }
.ab-p1__tag { font: 400 22px/1 var(--pixel); color: var(--accent); }
.ab-p1__copy { display: grid; gap: 22px; }
.ab-p1__cta { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }

/* ---------- About: independence and the verdicts ---------- */
.ab-ind { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ab-ind__body { display: grid; gap: 22px; }
.verds { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 8px 0; font: 400 33px/1.2 var(--pixel); color: var(--fg-2); }
.verds b { font-weight: 400; color: var(--accent); }

/* ---------- Closing call ---------- */
.ab-close { padding: clamp(96px, 11vw, 168px) 0; border-top: 1px solid var(--line); }
.ab-close__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: end; }
.ab-close__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.ab-close__h { font: 400 clamp(44px, 5.6vw, 77px)/1.04 var(--pixel); letter-spacing: -.01em; max-width: 15ch; }
.ab-close .body-l { max-width: 56ch; }
.ab-close__alt { font-size: 15px; color: var(--fg-2); }
.ab-close__alt a { color: var(--fg-1); }
.ab-close__side { display: grid; gap: 12px; align-content: end; padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid var(--line); max-width: 360px; }
.ab-close__side p:not(.label) { color: var(--fg-1); font-size: 16px; }
.ab-close__side .ct-mail { font-size: 22px; }
.ab-close__face { display: block; width: 120px; height: 120px; margin-bottom: 10px; object-fit: cover; filter: grayscale(.15) contrast(1.03); }

/* ---------- Founder ---------- */
.fh-bg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.fh-bg__copy { display: grid; gap: 22px; }
.fh-bg__copy .h-1 { max-width: 16ch; margin-bottom: 6px; }
.fh-card { display: grid; gap: 26px; align-content: start; }
.facts { margin: 0; display: grid; gap: 10px; font: 400 14px/1.5 var(--mono); }
.facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.facts dt { color: var(--accent); }
.facts dd { margin: 0; color: var(--fg-1); overflow-wrap: anywhere; }
.facts a { color: var(--fg-0); }

.fh-builds__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-bottom: clamp(44px, 5vw, 64px); }
.fh-builds__head .h-1 { max-width: 20ch; }
.fh-builds__art { width: 234px; }
.cols3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.cols3 li { display: grid; gap: 12px; align-content: start; padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--fg-0) 16%, transparent); }
.cols3 h3 { font: 400 27.5px/1.15 var(--pixel); }
.cols3 p { color: var(--fg-1); font-size: 16.5px; }

.fh-note { margin-top: 26px; font-size: 15px; color: var(--fg-2); max-width: 70ch; }

.siglist { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.siglist li { border-top: 1px solid var(--line); }
.siglist a { display: grid; gap: 10px; padding: 28px 44px 28px 0; text-decoration: none; position: relative; }
.siglist a::after { content: "\2192"; position: absolute; right: 4px; top: 28px; font: 400 22px var(--pixel); color: var(--fg-2); transition: transform .2s, color .2s; }
.siglist a:hover::after { transform: translateX(6px); color: var(--accent); }
.siglist__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font: 400 12.5px var(--mono); color: var(--fg-2); }
.siglist__t { font: 400 22px/1.3 var(--pixel); color: var(--fg-0); max-width: 40ch; transition: color .15s; }
.siglist a:hover .siglist__t { color: var(--accent); }
.siglist__v { color: var(--fg-1); font-size: 16px; }

/* ---------- Contact ---------- */
.seq { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 40px); counter-reset: seq; }
.seq li { display: grid; gap: 14px; align-content: start; padding-top: 28px; border-top: 4px solid color-mix(in srgb, var(--fg-0) 18%, transparent); }
.seq li:first-child { border-top-color: var(--accent); }
.seq__n { font: 400 66px/1 var(--pixel); color: var(--fg-2); }
.seq li:first-child .seq__n { color: var(--accent); }
.seq h3 { font: 400 27.5px/1.1 var(--pixel); }
.seq p { color: var(--fg-1); font-size: 16px; }

.ct-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.bring { list-style: none; margin: 32px 0 0; padding: 0; }
.bring li { padding: 20px 0; border-top: 1px solid var(--line); color: var(--fg-1); font-size: 17px; }
.bring li:last-child { border-bottom: 1px solid var(--line); }
.bring b { display: block; margin-bottom: 6px; font: 400 22px/1.25 var(--pixel); color: var(--fg-0); }
.ct-mailbox { display: grid; gap: 20px; align-content: start; scroll-margin-top: 90px; }
.ct-mail { font: 400 27.5px/1.2 var(--pixel); overflow-wrap: anywhere; }
.ct-mail a { color: var(--accent); text-decoration: none; border-bottom: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.ct-mail a:hover { border-bottom-color: var(--accent); }
.ct-mailbox p:not(.ct-mail):not(.label) { color: var(--fg-1); }

/* ---------- FAQ: a jump row, then one band per group ---------- */
.fq-jump { padding-bottom: clamp(56px, 6vw, 88px); }
.fq-jump ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.fq-jump li { border-top: 1px solid var(--line); }
.fq-jump a { display: grid; gap: 12px; padding: 22px 12px 0 0; text-decoration: none; font: 400 22px/1.2 var(--pixel); color: var(--fg-1); transition: color .15s; }
.fq-jump a span { font-size: 44px; line-height: 1; color: var(--fg-2); transition: color .15s; }
.fq-jump a:hover, .fq-jump a:hover span { color: var(--accent); }
.fq-sec { padding: clamp(72px, 8vw, 104px) 0; }
.fq-sec:not(.band) { border-top: 1px solid var(--line); }
.fq-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.fq-g__h { position: sticky; top: 104px; display: grid; gap: 18px; }
.fq__n { font: 400 22px/1 var(--pixel); color: var(--accent); }
.qa { margin: 0; border-bottom: 1px solid var(--line); }
.qa > div { display: grid; gap: 12px; padding: 28px 0; border-top: 1px solid var(--line); }
.band .qa, .band .qa > div { border-color: color-mix(in srgb, var(--fg-0) 14%, transparent); }
.qa dt { font: 400 22px/1.3 var(--pixel); color: var(--fg-0); }
.qa dd { margin: 0; color: var(--fg-1); font-size: 17px; max-width: 64ch; }
.qa dd a { color: var(--fg-0); text-decoration-color: var(--accent); }

/* ---------- Founder: experience as a timeline ---------- */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px clamp(24px, 4vw, 64px); }
.tl__when { font: 400 22px/1.3 var(--pixel); color: var(--accent); padding-top: 6px; }
.tl__body { position: relative; display: grid; gap: 10px; align-content: start; padding: 0 0 52px 40px; border-left: 2px solid color-mix(in srgb, var(--fg-0) 16%, transparent); }
.tl li:last-child .tl__body { padding-bottom: 0; }
.tl__body::before { content: ""; position: absolute; left: -8px; top: 12px; width: 14px; height: 14px; background: var(--accent); }
.tl h3 { font: 400 33px/1.1 var(--pixel); }
.tl__role { font: 400 13px/1.5 var(--mono); color: var(--fg-2); }
.tl__body > p:last-child { color: var(--fg-1); font-size: 17px; max-width: 62ch; }

/* ---------- Access: bigger hit areas, AA on the paper slate band ---------- */
main .link, .facts a, .ct-mail a, .ah__back a { position: relative; }
main .link::before, .facts a::before, .ct-mail a::before, .ah__back a::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
main .btn--arcade { max-width: 100%; }
[data-theme="paper"] .band--slate .label--accent, [data-theme="paper"] .band--slate .fq__n { color: var(--accent-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .ah__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 468px); }
}
@media (max-width: 1200px) {
  .ah__h { font-size: 55px; }
  .ab-big { font-size: 55px; }
  .ah__h--name { font-size: 77px; }
}
@media (max-width: 1000px) {
  .ah__grid, .ab-lead, .ab-why__grid, .ab-p1, .ab-ind, .fh-bg, .ct-split, .fq-g, .ab-close__grid { grid-template-columns: minmax(0, 1fr); }
  .ah__stage { order: -1; justify-self: center; max-width: 468px; }
  .ah--center .ah__stage { order: 0; }
  /* contact: the booking button comes first on phones, the stage follows it */
  #book-a-call .ah__stage { order: 1; }
  .fq-g__h { position: static; }
  .fq-jump ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .fq-jump li:nth-child(n+3) a { padding-bottom: 22px; }
  .ab-p1__id, .ab-why__art { justify-self: start; }
  .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols3 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ab-close__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; max-width: none; }
  .rows--big > li { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ah { padding-top: 32px; padding-bottom: 56px; }
  .ah__grid { gap: 22px; }
  .ah__copy { gap: 22px; }
  .ah--center .ah__grid { gap: 12px; }
  .ah--center .ah__copy { gap: 18px; margin-top: 4px; }
  .ah__h { font-size: 38.5px; }
  .ah__h--name { font-size: 55px; }
  .ab-big, .ab-ind .ab-big { font-size: 38.5px; }
  .rows > li { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .rows--big .rows__k { font-size: 38.5px; }
  .rows__k { font-size: 27.5px; }
  .ab-why__art { width: 196px; }
  .ab-p1__id img { width: 237px; }
  .verds { font-size: 27.5px; gap: 4px 18px; }
  .qa > div { padding: 24px 0; }
  .facts div { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .fh-builds__head { grid-template-columns: minmax(0, 1fr); }
  .fh-builds__art { width: 156px; }
  .seq { grid-template-columns: minmax(0, 1fr); }
  .seq__n { font-size: 44px; }
  .siglist__t { font-size: 22px; }
  .ct-mail { font-size: 22px; }
  .fq-jump a { font-size: 16.5px; }
  .fq-jump a span { font-size: 33px; }
  .tl li { grid-template-columns: minmax(0, 1fr); }
  .tl__when { padding: 0 0 4px 40px; border-left: 2px solid color-mix(in srgb, var(--fg-0) 16%, transparent); }
  .tl h3 { font-size: 27.5px; }
  .ab-close__h { font-size: 38.5px; }
}
/* Phones: every page title stays larger than the section titles under it */
@media (max-width: 420px) {
  .ah__h { font-size: 38.5px; }
  .ah__h.ah__h--name { font-size: 44px; }
  .ab-big, .ab-ind .ab-big, .ab-close__h, .rows--big .rows__k { font-size: 33px; }
}
/* Small phones: the arcade button may wrap instead of pushing the page wide */
@media (max-width: 400px) {
  main .btn--arcade { padding-inline: 16px; white-space: normal; text-align: center; justify-content: center; line-height: 1.2; }
}
