/* Hallmark · shape: Holding page, one screen · genre: modern-minimal · theme: Cobalt (locked in DESIGN.md), brand navy ink and brand blue signal · job: none yet, the site is not open; one contact action
 * hero: Settled (head and lede left, the ledger right) · nav: none, the logo alone · footer: one line, copyright and the information-only notice · imagery: none, the brand mark and a ruled ledger · signature: the "What opens here" ledger, the real shape of the site set as a ruled reference sheet like the home family index
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · deal: none (locked system) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, a page with almost nothing to show yet; it shows the real shape of what is coming instead of inventing proof */
/* Hallmark · waive 79 · the footer is pinned to the screen's foot on a one-screen holding page; the stage is centred between mast and foot · a holding page fills exactly one screen and is replaced by the full site at launch */
/* Hallmark · waive 44c · the head already runs past the site's display size and the stage is centred in the screen; one step larger breaks the head onto three lines · a one-screen holding page centres its content between mast and foot rather than filling the screen with one block */
/* Hallmark · dismissed 77 · three sections is the brief: a one-screen holding page with nothing yet to show; adding sections would mean inventing content */
/* Hallmark · answered F3 · balance kept on the one head; it breaks "Aeterna Lab will / be live soon." at 1280, 1440 and 1920 */
/* Hallmark · finish-review: subagent · 6 findings · 6 resolved (ledger values no longer wrap, logo ink on the text edge, lede trimmed of repeats, hover is lift only, counts set large, F3 answered) · hero-review: not run separately, the hero is the whole one-screen page */

/* Tokens: the project's own roles (src/app/tokens.css on dev), trimmed to what this page uses. Light appearance only. */
:root {
  color-scheme: light;
  --brand-navy: #20294a;
  --brand-blue: #2e4c90;
  --color-paper: oklch(98.6% 0.005 260);
  --color-paper-2: oklch(96.4% 0.008 262);
  --color-sheet: oklch(99.5% 0.002 260);
  --color-ink: var(--brand-navy);
  --color-ink-2: oklch(36% 0.04 270);
  --color-muted: oklch(48% 0.025 265);
  --color-rule: oklch(90% 0.01 262);
  --color-rule-2: oklch(82% 0.014 262);
  --color-accent: var(--brand-blue);
  --color-accent-deep: oklch(36% 0.11 266);
  --color-accent-edge: oklch(32% 0.1 268);
  --color-accent-ink: oklch(99% 0.003 260);
  --color-focus: var(--brand-blue);
  --color-selection: oklch(87% 0.045 262);
  --shadow-card: 0 1px 2px oklch(28% 0.058 274 / 0.06);
  --shadow-key-accent:
    0 3px 0 0 var(--color-accent-edge), 0 6px 8px -4px oklch(30% 0.1 268 / 0.4), inset 0 1px 0 oklch(100% 0 0 / 0.2);
  --shadow-key-press: inset 0 1px 2px oklch(28% 0.058 274 / 0.14);

  --font-display: "Familjen Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-outlier: "JetBrains Mono", ui-monospace, monospace;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  /* The holding page's one head carries the whole screen, so it runs a step past the site's display size. */
  --text-display-xl: clamp(2.75rem, 6.2vw + 0.5rem, 7rem);
  /* The ledger's counts: large enough that the signature answers the head across the stage. */
  --text-figure: clamp(2.25rem, 1.6vw + 1.5rem, 3rem);
  /* Side padding inside the logo file, as a share of its height. */
  --logo-inset: -0.2;
  --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem);
  --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --tracking-display: -0.028em;
  --radius-card: 8px;
  --radius-input: 6px;
  --cut-l: 16px;
  --rule-hair: 1px;
  --container: 1280px;
  --gutter: 64px;
  --gap-columns: 32px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
}
@media (max-width: 60rem) {
  :root {
    --gutter: 24px;
  }
}
@media (max-width: 40rem) {
  :root {
    --gutter: 16px;
    --gap-columns: 16px;
  }
}

/* Self-hosted faces, the same weights the site loads. SIL Open Font License. */
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/familjen-grotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-400.woff2") format("woff2");
}

/* Document */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
html {
  scrollbar-color: var(--color-muted) var(--color-paper);
}
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--color-selection);
  color: var(--color-ink);
}
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 2 * var(--gutter), var(--container));
  min-height: 100svh;
  margin-inline: auto;
}

/* Mast: the brand mark on its own, as the site's header carries it. */
.mast {
  padding-block: var(--space-xl) 0;
}
/* The logo file carries its own side padding (about a fifth of its height); pull the mark back so its ink
   lines up with the text edge. The file itself is never edited. */
.mast__logo {
  --logo-h: 76px;
  display: block;
  width: auto;
  height: var(--logo-h);
  margin-left: calc(var(--logo-h) * var(--logo-inset));
}

/* Stage: the hero on the left, the ledger on the right, centred between mast and foot; stacked on a phone. */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: var(--space-2xl) var(--gap-columns);
  padding-block: var(--space-2xl);
}
.hero {
  min-width: 0;
}
h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-display-xl);
  font-weight: 600;
  font-synthesis: none;
  letter-spacing: var(--tracking-display);
  line-height: 0.98;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
.hero__lede {
  max-width: 34ch;
  margin: var(--space-lg) 0 0;
  color: var(--color-ink-2);
  font-size: var(--text-lead);
  line-height: 1.5;
  text-wrap: pretty;
}
.hero__actions {
  margin-top: var(--space-xl);
}

/* The one control: the site's primary key, brand blue with a 3px bottom edge. */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-lg);
  border: var(--rule-hair) solid var(--color-accent-edge);
  border-radius: var(--radius-input);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  box-shadow: var(--shadow-key-accent);
  font: 600 var(--text-md) / 1 var(--font-display);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--dur-micro) var(--ease-out),
    box-shadow var(--dur-micro) var(--ease-out);
}
.button:hover {
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(3px);
  box-shadow: var(--shadow-key-press);
}
.button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

/* Signature: the ledger, a ruled reference sheet like the site's family index. */
.ledger {
  min-width: 0;
  padding: var(--space-lg) var(--space-lg) var(--space-sm);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-card);
  background: var(--color-sheet);
  box-shadow: var(--shadow-card);
}
@supports (corner-shape: bevel) {
  .ledger {
    border-radius: var(--cut-l) 4px var(--cut-l) 4px;
    corner-shape: bevel round bevel round;
  }
}
.ledger__title {
  margin: 0;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  line-height: 1.2;
}
.ledger__table {
  width: 100%;
  border-collapse: collapse;
}
.ledger__table th,
.ledger__table td {
  padding: var(--space-md) 0;
  border-bottom: var(--rule-hair) solid var(--color-rule);
  vertical-align: baseline;
}
.ledger__table tr:last-child th,
.ledger__table tr:last-child td {
  border-bottom: 0;
}
.ledger__table th {
  padding-right: var(--space-md);
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  text-align: left;
}
.ledger__table td {
  color: var(--color-ink);
  text-align: right;
  white-space: nowrap;
}
.ledger__figure {
  font-family: var(--font-outlier);
  font-size: var(--text-figure);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* Foot: one quiet line. */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  padding-block: var(--space-lg) var(--space-xl);
  border-top: var(--rule-hair) solid var(--color-rule);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.foot p {
  margin: 0;
}

@media (max-width: 60rem) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding-block: var(--space-xl) var(--space-2xl);
  }
  .ledger {
    max-width: 34rem;
  }
}
@media (max-width: 40rem) {
  .mast {
    padding-top: var(--space-lg);
  }
  .mast__logo {
    --logo-h: 56px;
  }
  .stage {
    gap: var(--space-xl);
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
  .button:hover,
  .button:active {
    transform: none;
  }
}
