/* Y Station: the website's one stylesheet.
   Built from the Y Station design system (tokens, type scale, devices) and the
   canvas boards YUnderCopy (desktop, 1440 px) and YUnderCopyMobile (phone, 390 px).
   Phones are screens under 600 px wide, as the style sheet defines them.
   Nothing moves; there are no shadows, gradients or rounded corners. */

/* Fonts: self-hosted, so no visitor is sent to a third party. SIL OFL 1.1; see fonts/. */
@font-face { font-family: Cabin; src: url(fonts/cabin-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Cabin; src: url(fonts/cabin-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(fonts/courier-prime-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(fonts/courier-prime-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #F5F4EC;
  --paper-bright: #FBFAF6;
  --stone: #DCD9CF;
  --graphite: #4E4A43;
  --ink: #121210;
  --rule: #C9C5B9;
  --rule-on-dark: rgba(245, 244, 236, 0.28);
  --field: #2E4A3F;
  --signal: #B5412F;
  --on-signal: var(--paper);
  /* The WITHHELD notice in the Games section: Signal red, as drawn (decided 27 Nov 2026).
     For cream, set this to var(--paper). */
  --notice: var(--signal);
  --sans: Cabin, "Gill Sans", sans-serif;
  --mono: "Courier Prime", ui-monospace, monospace;
  --gutter: 20px;
}
@media (min-width: 600px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
p, h1, h2, h3, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; }
a { color: inherit; }
a:hover, button:hover, summary:hover { opacity: 0.85; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-field :focus-visible { outline-color: var(--paper); }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Copy that differs between the desktop and phone boards */
@media (max-width: 599.98px) { .d-only { display: none !important; } }
@media (min-width: 600px) { .m-only { display: none !important; } }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 30;
  background: var(--paper); color: var(--ink); padding: 10px 14px;
  font: 600 14px/20px var(--sans); letter-spacing: 0.12em; text-decoration: none;
  border: 1.5px solid var(--ink);
}
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.display { font: 600 68px/1.02 var(--sans); letter-spacing: -0.01em; text-wrap: balance; }
.title { font: 600 56px/1 var(--sans); letter-spacing: 0.04em; }
.heading { font: 600 44px/1.08 var(--sans); text-wrap: balance; }
.lead { font: 400 22px/1.65 var(--sans); text-wrap: pretty; }
.intro { font: 400 19px/1.6 var(--sans); text-wrap: pretty; }
.body { font: 400 18px/1.6 var(--sans); text-wrap: pretty; }
.fine { font: 400 14px/20px var(--sans); color: var(--graphite); }
.fine a { color: var(--ink); }
.eyebrow { font: 700 13px/18px var(--mono); letter-spacing: 0.14em; color: var(--graphite); }
.caption { font: 700 12px/17px var(--mono); letter-spacing: 0.14em; }
.field-label { font: 600 13px/18px var(--sans); letter-spacing: 0.12em; }

@media (max-width: 599.98px) {
  .display { font-size: 42px; line-height: 1.04; letter-spacing: 0; }
  .title { font-size: 36px; line-height: 1.05; }
  .heading { font-size: 32px; line-height: 1.1; }
  .lead, .intro, .body { font-size: 17px; line-height: 1.6; }
  .eyebrow { font-size: 12px; line-height: 17px; }
}

/* Redaction: a drawn bar, never hidden words. Width is set on each bar in ems. */
.r { display: inline-block; vertical-align: -0.05em; user-select: none; -webkit-user-select: none; }

/* ---------- SectionLabel ---------- */
.label { display: flex; align-self: flex-start; font: 700 13px/18px var(--mono); letter-spacing: 0.14em; }
.label > span { padding: 5px 10px; }
.label .label__num { background: var(--ink); color: var(--paper); }
.on-field .label .label__num { background: var(--paper); color: var(--field); }

/* ---------- SubscribeBlock and the text link ---------- */
.subscribe {
  display: inline-flex; align-items: stretch; height: 52px; padding: 0; margin: 0;
  border: 1.5px solid var(--signal); background: var(--paper); color: var(--ink);
  font: 600 14px/20px var(--sans); letter-spacing: 0.12em; text-decoration: none;
  cursor: pointer; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.subscribe__label { display: flex; align-items: center; padding: 0 22px; background: var(--signal); color: var(--on-signal); white-space: nowrap; }
.subscribe__arrow { display: flex; align-items: center; justify-content: center; width: 49px; flex: none; background: var(--paper); }
.subscribe--44 { height: 44px; }
.subscribe--44 .subscribe__arrow { width: 41px; }
.subscribe svg, .textlink svg { display: block; }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/20px var(--sans); letter-spacing: 0.02em; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
}

/* ---------- MorseRule: the marks at true timing, then a flat run to the end of the measure ---------- */
.rule { display: flex; align-items: flex-end; height: 8px; color: var(--ink); }
.rule svg { display: block; flex: 0 1 auto; min-width: 0; max-width: 100%; height: auto; }
.rule__run { flex: 1 1 0; height: 1px; background: currentColor; }
.rule--m { height: 6px; }
.on-field .rule { color: var(--paper); }

/* ---------- Header ---------- */
.masthead { padding-top: 36px; }
.masthead__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.masthead__mark { display: block; flex: none; }
.masthead__mark img { height: 40px; width: auto; }
.masthead > .wrap > .rule { margin-top: 28px; }
.masthead__nav { display: flex; align-items: center; gap: 40px; }
.masthead__nav > a:not(.subscribe) { font: 600 14px/20px var(--sans); letter-spacing: 0.12em; text-decoration: none; }

.menu { display: none; }
.menu summary {
  list-style: none; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink); cursor: pointer; color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--paper); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 20;
  width: min(330px, 100%); background: var(--paper); border: 1.5px solid var(--ink);
  padding: 12px 20px 20px; display: flex; flex-direction: column;
}
.menu__panel > a:not(.subscribe) {
  font: 600 14px/20px var(--sans); letter-spacing: 0.12em; text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.menu__panel .subscribe { margin-top: 20px; width: 100%; }
.menu__panel .subscribe__label { flex: 1; justify-content: center; }

@media (max-width: 899.98px) {
  .masthead__nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 599.98px) {
  .masthead { padding-top: 20px; }
  .masthead__mark img { height: 28px; }
  .masthead > .wrap > .rule { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { display: grid; gap: 48px; align-items: center; padding-block: 64px 88px; }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; padding-top: 8px; }
@media (max-width: 1099.98px) { .hero__text { max-width: 680px; } }
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding-block: 72px 104px; }
}
@media (max-width: 599.98px) {
  .hero { gap: 22px; padding-block: 36px 48px; }
  .hero__text { gap: 22px; }
  .hero__actions { padding-top: 0; }
  .hero__actions .subscribe { width: 100%; }
  .hero__actions .subscribe__label { flex: 1; justify-content: center; }
}

/* SignalPanel: the hero's picture, a message rather than a screenshot */
.signal {
  position: relative; overflow: hidden; height: 470px; padding: 36px;
  display: flex; flex-direction: column; gap: 36px;
  background: var(--ink); color: var(--paper);
}
.signal__head { font: 700 11px/16px var(--mono); letter-spacing: 0.14em; color: var(--stone); }
.signal__tape { display: block; max-width: 100%; height: auto; }
.signal__strips { display: flex; flex-direction: column; gap: 14px; }
.signal__strips li {
  align-self: flex-start; padding: 7px 14px 6px; background: var(--paper); color: var(--ink);
  font: 700 18px/23px var(--mono); letter-spacing: 0.14em; white-space: nowrap;
}
.signal__strips li:nth-child(2) { margin-left: 26px; }
.signal__strips li:nth-child(3) { margin-left: 10px; }
.signal__strips li:nth-child(4) { margin-left: 34px; }
.signal__tabs { position: absolute; left: 0; bottom: 0; display: flex; font: 700 12px/16px var(--mono); letter-spacing: 0.14em; }
.signal__tabs span { padding: 7px 11px; }
.signal__tabs span:first-child { background: var(--ink); color: var(--paper); border-top: 1px solid var(--rule-on-dark); border-right: 1px solid var(--rule-on-dark); }
.signal__tabs span:last-child { background: var(--paper); color: var(--ink); }
/* The phone panel: shorter, three strips, the shorter tape */
.tape--m { display: none; }
@media (max-width: 719.98px) {
  .signal { height: 300px; padding: 22px; gap: 22px; }
  .signal__strips { gap: 10px; }
  .signal__strips li { font-size: 13px; line-height: 18px; }
  .signal__strips li:nth-child(2) { margin-left: 8px; }
  .signal__strips li:nth-child(3) { margin-left: 4px; }
  .signal__strips li:nth-child(4), .signal .p-d, .tape--d { display: none; }
  .tape--m { display: block; }
}

/* ---------- Games: Project Atlas ---------- */
.games { background: var(--field); color: var(--paper); padding-block: 80px 88px; }
.games > .wrap { display: flex; flex-direction: column; gap: 40px; }
.games__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; }
.games__working { color: var(--stone); }
.games__working .r { font-size: 16px; }
.games__notice { margin-left: auto; align-self: center; }
.notice {
  display: inline-block; border: 1.5px solid var(--notice); color: var(--notice);
  padding: 7px 11.18px 7px 13px; font: 700 13px/18px var(--mono); letter-spacing: 0.14em; white-space: nowrap;
}
.games__grid { display: grid; gap: 40px; }
.games__text { display: flex; flex-direction: column; gap: 24px; }
.games__text .body { color: var(--stone); }
@media (min-width: 1000px) {
  .games { padding-block: 96px 104px; }
  .games__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "text facts" "log facts";
    column-gap: 56px; row-gap: 32px; align-items: start;
  }
  .games__text { grid-area: text; }
  .games__facts { grid-area: facts; }
  .log { grid-area: log; }
}

/* ParticularsTable */
.particulars { border-bottom: 1px solid var(--rule); }
.particulars .row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--rule); }
.particulars dt { font: 700 12px/17px var(--mono); letter-spacing: 0.14em; color: var(--graphite); }
.particulars dd { margin: 0; font: 400 16px/22px var(--sans); }
.on-field .particulars, .on-field .particulars .row { border-color: var(--rule-on-dark); }
.on-field .particulars dt { color: var(--stone); }
.gauge { display: inline-flex; gap: 5px; margin-right: 12px; vertical-align: 1px; }
.gauge i { display: inline-block; width: 9px; height: 9px; border: 1px solid var(--stone); }
.gauge i.on { background: var(--paper); border-color: var(--paper); }
.gauge__note { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--stone); }

/* The station log */
.log__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; color: var(--stone); }
.log__list { border-bottom: 1px solid var(--rule-on-dark); }
.log__list li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--rule-on-dark); }
.log__date { font: 700 12px/17px var(--mono); letter-spacing: 0.14em; color: var(--stone); white-space: nowrap; }
.log__date .r { font-size: 12px; }
.log__entry { font: 400 15px/21px var(--mono); color: var(--paper); text-wrap: pretty; }
.log__foot { padding-top: 10px; font: 700 11px/16px var(--mono); letter-spacing: 0.14em; color: var(--stone); }
.nowrap { white-space: nowrap; }

/* WithdrawnPlates, in slip covers */
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 16px; }
.plate { position: relative; height: 150px; }
.plate__print { position: absolute; left: 16px; right: 16px; bottom: 8px; background: var(--ink); border: 4px solid var(--paper); transform-origin: 50% 100%; }
.plate:nth-child(1) .plate__print { top: 14px; transform: rotate(-1.4deg); }
.plate:nth-child(2) .plate__print { top: 3px; transform: rotate(1deg); }
.plate:nth-child(3) .plate__print { top: 22px; transform: rotate(-0.6deg); }
.plate__slip {
  position: absolute; left: 0; right: 0; top: 38px; bottom: 0; padding: 0 18px 15px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; background: var(--stone);
}
.plate__thumb { position: absolute; top: 0; left: 50%; margin-left: -15px; }
.plate__no { font: 700 12px/16px var(--mono); letter-spacing: 0.14em; color: var(--ink); white-space: nowrap; }
.plate__note { font: 700 11px/15px var(--mono); letter-spacing: 0.14em; color: var(--graphite); }

@media (max-width: 599.98px) {
  .games { padding-block: 48px 52px; }
  .games > .wrap { gap: 22px; }
  .games__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .games__working { font-size: 11px; line-height: 16px; }
  .games__working .r { font-size: 14px; }
  .games__notice { margin: 20px 0 6px; align-self: flex-start; }
  .notice { padding: 6px 9.46px 6px 11px; font-size: 11px; line-height: 15px; }
  .games__grid { gap: 22px; }
  .log { margin-top: 6px; }
  .log__head { font-size: 11px; line-height: 16px; }
  .log__list li { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; }
  .log__date { font-size: 11px; line-height: 16px; }
  .log__entry { font-size: 14px; line-height: 20px; }
  .plates { display: none; }
}

/* ---------- Dispatches ---------- */
.dispatches { display: grid; gap: 48px; align-items: center; padding-block: 88px; }
.dispatches__text { display: flex; flex-direction: column; gap: 24px; }
.signup { display: flex; flex-direction: column; gap: 24px; border: 1.5px solid var(--ink); padding: 32px 36px 36px; }
.signup__field { display: flex; flex-direction: column; gap: 10px; }
.signup__row { display: flex; gap: 12px; }
.signup input[type="email"] {
  flex: 1 1 0; min-width: 0; height: 52px; padding: 0 16px; margin: 0;
  border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper-bright); color: var(--ink);
  font: 400 16px/1 var(--sans); -webkit-appearance: none; appearance: none;
}
.signup input[type="email"]::placeholder { color: var(--graphite); opacity: 1; }
@media (min-width: 1000px) { .dispatches { padding-block: 104px; } }
@media (min-width: 1100px) { .dispatches { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
@media (max-width: 1099.98px) { .dispatches__text { max-width: 680px; } }
@media (max-width: 599.98px) {
  .dispatches { gap: 20px; padding-block: 52px; }
  .dispatches__text { gap: 20px; }
  .signup { border: 0; padding: 0; gap: 14px; }
  .signup__row { flex-direction: column; gap: 20px; }
  .signup input[type="email"] { flex: none; width: 100%; }
  .signup .subscribe { width: 100%; }
  .signup .subscribe__label { flex: 1; justify-content: center; }
}

/* ---------- The studio ---------- */
.studio { padding-bottom: 112px; }
.studio > .wrap { display: flex; flex-direction: column; gap: 56px; }
.studio__grid { display: grid; gap: 32px; }
.studio__text { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 800px) {
  .studio__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .studio__facts { padding-top: 58px; }
}
@media (max-width: 599.98px) {
  .studio { padding-bottom: 52px; }
  .studio > .wrap { gap: 36px; }
  .studio__text { gap: 20px; }
}

/* ---------- Footer ---------- */
.foot { background: var(--field); color: var(--paper); padding-block: 72px 48px; }
.foot > .wrap { display: flex; flex-direction: column; gap: 40px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 40px; }
.foot__mark { height: 64px; width: auto; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.foot__nav a { font: 600 14px/20px var(--sans); letter-spacing: 0.12em; text-decoration: none; }
.foot__legal { display: flex; flex-direction: column; gap: 10px; }
.legal { font: 700 12px/17px var(--mono); letter-spacing: 0.14em; color: var(--stone); }
.legal__l { display: block; }
.legal a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 799.98px) {
  .foot__top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 599.98px) {
  .foot { padding-block: 44px 36px; }
  .foot > .wrap { gap: 26px; }
  .foot__mark { height: 50px; }
  .foot__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .foot__nav a { min-height: 24px; }
  .legal { font-size: 11px; line-height: 16px; }
  .legal__s { display: block; }
}

/* ---------- Notices: the privacy notice and the Dispatches confirmations ---------- */
.notice-page { display: flex; flex-direction: column; gap: 40px; padding-block: 96px 104px; }
.notice-page__intro { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.clauses { border-bottom: 1px solid var(--rule); }
.clause { display: grid; grid-template-columns: 300px minmax(0, 760px); gap: 56px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--rule); }
.clause h2 { font: 700 12px/17px var(--mono); letter-spacing: 0.14em; color: var(--graphite); }
.blank {
  font-family: var(--mono); font-weight: 700; font-size: 0.8em; letter-spacing: 0.06em;
  color: var(--graphite); background: var(--stone); padding: 1px 5px; white-space: nowrap;
}
.revised { color: var(--graphite); }
.notice-page .textlink { align-self: flex-start; }
@media (max-width: 899.98px) {
  .clause { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 0; }
}
@media (max-width: 599.98px) {
  .notice-page { gap: 28px; padding-block: 56px 64px; }
  .notice-page__intro { gap: 18px; }
  .notice-page .label { font-size: 11px; line-height: 16px; }
  .clause h2 { font-size: 11px; line-height: 16px; }
  .revised { font-size: 11px; line-height: 16px; }
}

/* ---------- The smallest phones (under 360 px) ---------- */
@media (max-width: 359.98px) {
  .subscribe__label { white-space: normal; text-align: center; line-height: 18px; padding: 0 14px; }
  .notice { white-space: normal; }
  .signal { padding: 18px; }
  .signal__strips li { white-space: normal; font-size: 12px; letter-spacing: 0.1em; }
  .signal__tabs { white-space: nowrap; font-size: 11px; }
  .particulars .row { grid-template-columns: 112px minmax(0, 1fr); }
}
