/* Custodio Studio v1.0 (23.11.2026). Identity manual ch. 05. Single look: ink.
   Fonts: https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Instrument+Sans:wght@400..700&family=Instrument+Serif:ital@0;1&display=swap */
:root {
  --ink: #0a0a0a;
  --ink-2: #141414;
  --white: #ffffff;
  --text: #e6e4e0;        /* running text on ink */
  --label: #bdb9b3;       /* labels, Lc 64.7 */
  --line: #262626;
  --oxblood: #6e1f26;     /* fill only. Never text or line on ink (1.8:1) */
  --rose: #e59aa2;        /* accent on ink, 8.9:1 */
  --display: "Instrument Serif", "Times New Roman", serif;   /* 36 px and up only */
  --text-font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --grain-opacity: .18;
  color-scheme: dark;
}
body { background: var(--ink); color: var(--white); font: 400 18px/1.55 var(--text-font); }
a { color: var(--white); text-decoration-color: var(--rose); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.skip { background: var(--white); color: var(--ink); }

.eyebrow { font: 400 12px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--label); }
.display-xl { font: 400 clamp(56px, 10vw, 140px)/1 var(--display); letter-spacing: -.02em; }
.display { font: 400 clamp(40px, 5.6vw, 72px)/1.05 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.h2 { font: 400 clamp(36px, 4.4vw, 52px)/1.08 var(--display); text-wrap: balance; }
.h3 { font: 600 20px/1.3 var(--text-font); }
.lead { font-size: 20px; color: var(--text); max-width: 60ch; }
.text { color: var(--text); max-width: 66ch; }
.muted { color: var(--label); }

/* Terminal strip and banner, as today */
.terminal { font: 400 12px/1.45 var(--mono); padding: 12px 16px; min-height: 88px; color: var(--white); background: var(--ink); }
.terminal .line { white-space: pre; overflow: hidden; }
.terminal .caret { display: inline-block; width: 7px; height: 12px; background: var(--white); vertical-align: -1px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.banner { background: var(--oxblood); color: var(--white); font: 400 12px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; text-align: center; padding: 9px 16px; }
.banner .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--white); margin-right: 10px; vertical-align: 1px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0 } }
@keyframes pulse { 50% { opacity: .35 } }

/* Dial mark motion: the ring turns on hover */
.dial .ring { transform-box: view-box; transform-origin: 32px 32px; transition: transform 1.4s var(--ease); }
a:hover .dial .ring, a:focus-visible .dial .ring { transform: rotate(60deg); }

/* Cards: 1 px grid on line colour */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { display: grid; gap: 10px; align-content: start; background: var(--ink); padding: 22px 20px 24px; color: inherit; text-decoration: none; }
a.card:hover { background: var(--ink-2); }
.tag { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: var(--oxblood); padding: 5px 8px; justify-self: start; }

.section { padding-block: 72px; border-top: 1px solid var(--line); }
.footer { font: 400 12px/1.6 var(--mono); color: var(--label); padding-block: 32px 48px; border-top: 1px solid var(--line); }
