/* Hallmark · shape: Feature Ledger (recruit), Index-First (boards), app screens (tools) · genre: modern-minimal · theme: Coral (by request, after Vantage and Cobalt) · redesign: restyle
 * hero: Stage beside the lighthouse cloud (recruit, entry, about) · nav: two tiers, boards then tools · footer: wordmark row · imagery: none, the lighthouse built as a point cloud · signature: the lighthouse as a live point cloud, its lamp the one coral mark · modes: light+dark (light is Coral as dealt, dark re-derived)
 * axes: light/grotesk-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P2 H2 E2 S2 R2 V2 · weakest: V, Coral's built stationery is not used; panels are plain cotton cards and the cloud stays as the brand mark */
/* legibility floor for this site: body 400 at 16px with 1.7 leading, nothing under 14px, secondary text in ink-2 or muted (5:1 or better) */
@import url("fonts/coral.css?v=20261106b");
@import url("./tokens.css?v=20261106b");
@import url("./base.css?v=20261106b");

body { font-weight: var(--body-weight); line-height: 1.7; color: var(--color-ink); }
h1, h2 { font-weight: 600; color: var(--color-ink); }
h3 { font-weight: 500; letter-spacing: 0; color: var(--color-ink); }
b, strong { font-weight: 600; }
.lead { color: var(--color-ink-2); line-height: 1.65; }
.num { font-variant-numeric: tabular-nums; font-weight: 500; }
/* figures in a column take Geist Mono: General Sans has no tabular figures */
.log td.r, .log .num, td.num, .switch__n { font-family: var(--font-outlier); font-weight: 400; }
.u { color: var(--color-muted); font-size: 0.75em; font-weight: 400; margin-left: 0.15em; }
.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-board); color: var(--color-board-type); border-radius: var(--radius-stock); }
.skip:focus { top: var(--space-md); }

/* panel: a cotton card lit from the left, its cast falling right (the old corner-tick frame now reads as stationery) */
.ticks { position: relative; border-radius: var(--radius-stock); background: var(--color-cotton); box-shadow: var(--edge-stock), var(--cast-stock); }

/* controls: letterpress cards, never pills. The primary is the ink board; the rest are cotton cards. Eight states. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-stock); background: var(--color-board); color: var(--color-board-type); font: 500 var(--text-md)/1 var(--font-display); text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--cast-stock); transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-accent-hi); transform: translateY(-1px); box-shadow: var(--cast-stock-lift); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--color-paper-3); color: var(--color-muted); cursor: not-allowed; box-shadow: none; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--line { background: var(--color-cotton); color: var(--color-print); box-shadow: var(--edge-stock), var(--cast-stock); }
.btn--line:hover { background: var(--color-cotton); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.btn--sm { min-height: 36px; padding: 0 var(--space-md); font-size: var(--text-sm); }
a { text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--color-accent-text); }

/* wordmark: the lighthouse drawn as a line, the lamp in coral */
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); font: 600 1.1875rem/1 var(--font-display); letter-spacing: -0.01em; color: var(--color-ink); text-decoration: none; }
.wordmark svg { width: 22px; height: 22px; color: var(--color-ink); }
.wordmark .lamp { fill: var(--color-signal); stroke: none; }
.wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 2px; }

/* header: two tiers. Tier one is the four boards, level with each other; the current board carries its
   identity colour as one 2px rule (the only place a board colour appears). Tier two is that board's own tools. */
html { scroll-padding-top: calc(var(--header-h) + var(--space-md)); }
.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky-nav); transition: background-color var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.nav.is-scrolled, .nav--solid { background: color-mix(in oklab, var(--color-paper) 94%, transparent); box-shadow: inset 0 calc(-1 * var(--rule-hair)) 0 var(--color-rule); }
.nav__in { height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-lg); }
.nav__in > .wordmark { justify-self: start; }
.boards { display: flex; gap: var(--space-xl); align-self: stretch; }
.boards a { display: flex; align-items: center; white-space: nowrap; color: var(--color-ink-2); text-decoration: none; font-size: var(--text-md); box-shadow: inset 0 -2px 0 transparent; transition: color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.boards a:hover { color: var(--color-ink); }
.boards a:active { transform: translateY(1px); }
.boards a[aria-current] { color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--board); }
.boards a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; border-radius: 2px; }
.board--recruit { --board: var(--color-board-recruit); }
.board--training { --board: var(--color-board-training); }
.board--od { --board: var(--color-board-od); }
.board--overseas { --board: var(--color-board-overseas); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: var(--space-md); font-size: var(--text-sm); }
.subnav { box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule); }
.subnav__in { height: var(--subnav-h); display: flex; align-items: center; gap: var(--space-xl); overflow-x: auto; scrollbar-width: none; }
.subnav__in a { flex: none; color: var(--color-muted); font-size: var(--text-sm); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.subnav__in a:hover { color: var(--color-ink); }
.subnav__in a[aria-current] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.5em; }
.subnav__in a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 2px; }

/* mode dial: dark and light, a two-way segmented control */
.dial { display: inline-flex; gap: var(--space-3xs); padding: var(--space-3xs); border-radius: 12px; background: var(--color-paper-2); box-shadow: var(--press-groove); }
.dial button { min-height: 32px; border-radius: var(--radius-stock); font-weight: 500; padding: 0 var(--space-sm); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-muted); font-size: var(--text-xs); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.dial button:hover { color: var(--color-ink); }
.dial button:active { transform: translateY(1px); }
.dial button[aria-pressed="true"] { background: var(--color-cotton); color: var(--color-ink); box-shadow: var(--edge-stock), var(--cast-stock); }
.dial button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.dial button:disabled { opacity: 0.45; cursor: not-allowed; }

/* readout: figures with their units inside corner ticks */
.readout { width: fit-content; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin: var(--space-2xl) 0 0; padding: var(--space-md) var(--space-lg); }
.readout div { padding-inline: var(--space-lg); box-shadow: inset calc(-1 * var(--rule-hair)) 0 0 var(--color-rule); }
.readout div:first-child { padding-left: 0; } .readout div:last-child { box-shadow: none; padding-right: 0; }
.readout dt { font-size: var(--text-xs); color: var(--color-muted); }
.readout dd { margin: var(--space-2xs) 0 0; font-size: var(--text-xl); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; font-weight: 600; font-family: var(--font-display); }

/* section rhythm */
main > section:not(.hero) { padding-block: var(--section-gap) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: end; }
.sec-head .lead { margin: 0; justify-self: end; max-width: 36ch; }

/* switches */
.switches { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.switch { display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: var(--space-lg); padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); cursor: pointer; position: relative; }
.switch__name { display: grid; gap: var(--space-3xs); }
.switch__name b { font-size: var(--text-lg); color: var(--color-ink); letter-spacing: -0.01em; }
.switch__name span { font-size: var(--text-sm); color: var(--color-muted); }
.switch__n { color: var(--color-ink-2); font-variant-numeric: tabular-nums; font-weight: 400; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 24px; right: 0; margin: 0; cursor: pointer; }
.switch__track { position: relative; width: 44px; height: 24px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); background: var(--color-paper-2); transition: background-color var(--dur-short) var(--ease-out); }
.switch__track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--color-muted); transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.switch input:checked + .switch__track { background: var(--color-accent); box-shadow: none; }
.switch input:checked + .switch__track::after { transform: translateX(20px); background: var(--color-accent-ink); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.switch:has(input:disabled) { cursor: not-allowed; color: var(--color-muted); }
.switch input:disabled + .switch__track { background: var(--color-paper-3); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); cursor: not-allowed; }
.switch input:disabled + .switch__track::after { background: var(--color-rule-2); }
.switch:hover .switch__track { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-muted); }

/* facts: a ruled definition list */
.facts { margin: var(--space-xl) 0 0; border-top: var(--rule-hair) solid var(--color-rule); }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-lg); padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { color: var(--color-ink-2); }
.facts dd { margin: 0; font-size: var(--text-lg); text-align: right; }

/* ledger: the scan-log table */
.table-wrap { margin-top: var(--space-2xl); overflow-x: auto; }
.log { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
.log th { padding: 0 var(--space-md) var(--space-sm) 0; text-align: left; font-weight: 400; font-size: var(--text-sm); color: var(--color-muted); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.log td { padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); vertical-align: baseline; }
.log td:first-child { color: var(--color-ink); font-size: var(--text-lg); }
.log .r { text-align: right; font-variant-numeric: tabular-nums; font-weight: 400; color: var(--color-ink); }
.log tbody tr { transition: background-color var(--dur-short) var(--ease-out); }
.log tbody tr:hover { background: var(--color-paper-2); }
.live { display: inline-block; width: 7px; height: 7px; margin-right: var(--space-sm); border-radius: 50%; background: var(--color-accent); vertical-align: 0.15em; }

/* catalog: the tool index, a ruled list with input and output */
.catalog__head + .catalog { margin-top: 0; }
.catalog { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule-2); }
.catalog__group { padding: var(--space-xl) 0 var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); border-bottom: var(--rule-hair) solid var(--color-rule); }
.catalog__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr) 24px; gap: var(--space-lg); align-items: baseline; padding: var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); color: inherit; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.catalog__row:hover { background: var(--color-paper-2); }
.catalog__row:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.catalog__name { font-size: var(--text-lg); color: var(--color-ink); letter-spacing: -0.01em; }
.catalog__job { color: var(--color-ink-2); }
.catalog__io { font-size: var(--text-sm); color: var(--color-muted); }
.catalog__go svg { width: 18px; height: 18px; }
.catalog__go { justify-self: end; color: var(--color-muted); transition: transform var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.catalog__row:hover .catalog__go { color: var(--color-accent-text); transform: translateX(3px); }
.catalog__head { margin-top: var(--space-2xl); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr) 24px; gap: var(--space-lg); padding: var(--space-md) 0 var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* a figure measured */
.figure-m { width: fit-content; margin: 0; padding: var(--space-xl) var(--space-2xl) var(--space-lg); font: 600 var(--text-figure)/0.9 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.figure-m .u { font-size: 0.24em; letter-spacing: 0; margin-left: 0.2em; }

/* fields */
.field-row { display: grid; gap: var(--space-xs); }
.field-row label, .field-row .label { font-size: var(--text-sm); color: var(--color-ink-2); }
.field-row input, .field-row select { height: 48px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-muted); font-weight: 400; font-variant-numeric: tabular-nums; caret-color: var(--color-accent); transition: box-shadow var(--dur-short) var(--ease-out); }
.field-row input:hover, .field-row select:hover { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-ink-2); }
.field-row input:disabled, .field-row select:disabled { opacity: 0.45; cursor: not-allowed; }
.field-row input:focus, .field-row select:focus { outline: none; box-shadow: inset 0 0 0 var(--rule-hair) var(--color-accent), 0 0 0 3px color-mix(in oklab, var(--color-accent) 22%, transparent); }
.field-row input[aria-invalid="true"] { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-error); }
.field-row .hint { min-height: 1lh; font-size: var(--text-xs); color: var(--color-muted); }
.field-row .hint.is-error { color: var(--color-error); }

/* footer: mast */
.foot { margin-top: var(--section-gap); padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__mark { margin: 0; font: 600 var(--text-2xl)/1 var(--font-display); letter-spacing: -0.01em; color: var(--color-ink); }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); flex-wrap: wrap; margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); font-size: var(--text-sm); }
.foot__links a { color: var(--color-ink-2); text-decoration: none; } .foot__links a:hover { color: var(--color-ink); }
.foot__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 2px; }
.foot__legal { font-size: var(--text-xs); color: var(--color-muted); display: flex; flex-wrap: wrap; gap: var(--space-md); }

@media (max-width: 60rem) {
  .nav__in { grid-template-columns: auto 1fr; gap: var(--space-md); }
  .nav__end { display: none; }
  .boards { justify-self: end; gap: var(--space-md); }
  .boards a { font-size: var(--text-sm); }
  .subnav__in { gap: var(--space-lg); }
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .sec-head .lead { justify-self: start; }
  .catalog__head { display: none; }
  .catalog__row { grid-template-columns: minmax(0, 1fr) 24px; gap: var(--space-2xs) var(--space-md); }
  .catalog__row > :not(.catalog__name):not(.catalog__go) { grid-column: 1; }
  .catalog__go { grid-row: 1; grid-column: 2; }
}
@media (max-width: 40rem) {
  .readout { grid-template-columns: repeat(2, auto); row-gap: var(--space-md); padding: var(--space-md); }
  .readout div:nth-child(2) { box-shadow: none; padding-right: 0; } .readout div:nth-child(3) { padding-left: 0; }
  .figure-m { padding: var(--space-lg); }
}
@media (max-width: 26rem) {
  .boards { gap: var(--space-sm); }
  .wordmark { font-size: var(--text-md); }
}
