/* dAIvinci Studio: what the three aerial-screw routes share (2026-11-18).
   Paper is no longer the ground. It survives as the linen of the sail, and as the light type on dark grounds. */

@font-face { font-family: "EB Garamond"; src: url(/assets/fonts/ebgaramond.woff) format("woff");
  font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(/assets/fonts/ebgaramond-italic.woff) format("woff");
  font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Departure Mono"; src: url(/assets/fonts/departuremono.woff) format("woff");
  font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --linen: #EDE8DC;            /* the sail, and type on dark */
  --linen-dim: rgba(237, 232, 220, .72);
  --chalk: #8E3B26;            /* red chalk: the one action colour, as in the identity */
  --chalk-lit: #A9452B;        /* the same chalk on a dark ground, where it needs a little more light */
  --night: #0E0D12;            /* the identity's dark */
  --iron: #14161C;             /* type on light */
  --iron-dim: rgba(20, 22, 28, .72);
  --brass: #B98A3E;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --mono: "Departure Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--serif); font-kerning: normal; text-rendering: optimizeLegibility;
  font-variant-numeric: oldstyle-nums proportional-nums; -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, canvas { display: block; }
::selection { background: var(--chalk); color: var(--linen); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: -9999px; top: 12px; z-index: 100; padding: 10px 14px; background: var(--linen);
  color: var(--iron); font: 500 16px/1 var(--serif); }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* the machine's voice: Departure Mono on its 11 px grid */
.m { font-family: var(--mono); font-size: 11px; line-height: 1.6; letter-spacing: .06em; font-variant-numeric: normal;
  text-transform: uppercase; }

/* the one action */
.cta { display: inline-block; padding: 15px 24px 14px; background: var(--chalk); color: var(--linen);
  font: 500 19px/1 var(--serif); letter-spacing: .01em; text-decoration: none; transition: background-color .2s; }
.on-dark .cta, .cta.lit { background: var(--chalk-lit); }
.cta span { display: inline-block; margin-left: 4px; transition: transform .25s var(--out); }
.cta:hover { background: #B54D30; }
.cta:hover span { transform: translate(3px, -3px); }
.cta:active { transform: translateY(1px); }

/* a quiet link: a hairline that thickens */
.ln { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-thickness .15s; }
.ln:hover { text-decoration-thickness: 2px; }
