/* Studio Theme #12 — nz.cormelnote.org (NZ)
 * Archetype: A60 (Left-Rail Editorial DataGrid Workbench) | Polarity: light
 * Font Triad: FT08 (Fontshare) | Type Scale: TS06
 * Geometry: hdr=two-tier hero=split card=hairline foot=colophon
 */
:root {
  color-scheme: light;
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --surface-alt: #EFECE5;
  --surface-2: #EFECE5;
  --ink: #1A1B1E;
  --ink-2: #1A1B1E;
  --muted: #55575F;
  --border: #D9D4C9;
  --border-strong: #5B3FD3;
  --line: #D9D4C9;
  --accent: #5B3FD3;
  --accent-hover: #482EB5;
  --accent-2: #482EB5;
  --accent-ink: #FFFFFF;
  --accent-soft: #EFEBFD;
  --cta-bg: #5B3FD3;
  --cta-ink: #FFFFFF;
  --cta-hover: #482EB5;
  --focus-ring: #5B3FD3;
  --ok: #157347;
  --warn: #B45309;
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: calc(8px + 4px);
  --shadow-sm: 0 2px 6px rgba(26,27,30,0.05);
  --shadow-md: 0 2px 6px rgba(26,27,30,0.05);
  --font-display: 'Sentient', 'Fallback-Serif-Adjusted', Georgia, serif;
  --font-body: 'Alpino', 'Fallback-Sans-Adjusted', system-ui, sans-serif;
  --font-mono: 'Martian Mono', ui-monospace, SFMono-Regular, monospace;
  --text-h1: clamp(2.05rem, 1.6rem + 2.0vw, 3.45rem);
  --text-2xl: clamp(1.42rem, 1.2rem + 0.85vw, 2.05rem);
  --text-base: 1.02rem;
  --lh-body: 1.68;
  --lh-heading: 1.08;
  --tracking-heading: -0.02em;
}
@font-face {
  font-family: 'Fallback-Sans-Adjusted';
  src: local('Arial'), local('Helvetica Neue'), local('Roboto');
  size-adjust: 100.5%;
  ascent-override: 94%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Fallback-Serif-Adjusted';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

body.skin-12 {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-body);
}
body.skin-12 h1,
body.skin-12 h2,
body.skin-12 h3,
body.skin-12 .logo {
  font-family: var(--font-display);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-heading);
}
body.skin-12 h1 { font-size: var(--text-h1); }
body.skin-12 h2 { font-size: var(--text-2xl); }
body.skin-12 .kf-v,
body.skin-12 .g9-alt-rtp,
body.skin-12 .g9-rank,
body.skin-12 code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
body.skin-12 .sheet-head { border: 1px solid var(--border); background: #FFFFFF; }
body.skin-12 .g9-rank { background: #1A1B1E; color: #FFFFFF; }
