/* Studio Theme #13 — nz.peltryard.org (NZ)
 * Archetype: A35 (Vertical Split-Seam Dual-Polarity Noir) | Polarity: dark
 * Font Triad: FT15 (Bunny Fonts) | Type Scale: TS03
 * Geometry: hdr=classic hero=ruled card=horizontal foot=minimal
 */
:root {
  color-scheme: dark;
  --bg: #111317;
  --surface: #191D24;
  --surface-alt: #222832;
  --surface-2: #222832;
  --ink: #F2F4F8;
  --ink-2: #F2F4F8;
  --muted: #A2ACBC;
  --border: #2E3645;
  --border-strong: #38BDF8;
  --line: #2E3645;
  --accent: #38BDF8;
  --accent-hover: #7DD3FC;
  --accent-2: #7DD3FC;
  --accent-ink: #09131C;
  --accent-soft: rgba(56,189,248,0.16);
  --cta-bg: #38BDF8;
  --cta-ink: #09131C;
  --cta-hover: #7DD3FC;
  --focus-ring: #38BDF8;
  --ok: #34D399;
  --warn: #FBBF24;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: calc(6px + 4px);
  --shadow-sm: 0 10px 28px rgba(0,0,0,0.4);
  --shadow-md: 0 10px 28px rgba(0,0,0,0.4);
  --font-display: 'Bricolage Grotesque', 'Fallback-Sans-Adjusted', system-ui, sans-serif;
  --font-body: 'Onest', 'Fallback-Sans-Adjusted', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --text-h1: clamp(1.75rem, 1.45rem + 1.15vw, 2.45rem);
  --text-2xl: clamp(1.25rem, 1.12rem + 0.5vw, 1.65rem);
  --text-base: 0.92rem;
  --lh-body: 1.48;
  --lh-heading: 1.12;
  --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-13 {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-body);
}
body.skin-13 h1,
body.skin-13 h2,
body.skin-13 h3,
body.skin-13 .logo {
  font-family: var(--font-display);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-heading);
}
body.skin-13 h1 { font-size: var(--text-h1); }
body.skin-13 h2 { font-size: var(--text-2xl); }
body.skin-13 .kf-v,
body.skin-13 .g9-alt-rtp,
body.skin-13 .g9-rank,
body.skin-13 code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
body.skin-13 .top { border-bottom: 1px solid #2E3645; background: #0C0E12; }
body.skin-13 .g9-pick--first { border-color: #38BDF8; }
