
/* ==========================================================================
   PocketGull Sovereign Superfamily Edge Fonts (Offline-First)
   ========================================================================== */

@font-face {
  font-family: 'PocketGull';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/PocketGull-Bold.woff2') format('woff2'),
       url('/fonts/PocketGull-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'PocketGull';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/PocketGull-Fineliner.woff2') format('woff2'),
       url('/fonts/PocketGull-Fineliner.ttf') format('truetype');
}

@font-face {
  font-family: 'PocketGull';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/PocketGull-Chiseltip.woff2') format('woff2'),
       url('/fonts/PocketGull-Chiseltip.ttf') format('truetype');
}

@font-face {
  font-family: 'PocketGull Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/PocketGullMono-Regular.woff2') format('woff2'),
       url('/fonts/PocketGullMono-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'PocketGull VF';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/PocketGull-VF.woff2') format('woff2'),
       url('/fonts/PocketGull-VF.ttf') format('truetype');
}

/**
 * PocketGull Font Superfamily
 * Official Webfont Stylesheet (Apache License 2.0)
 * https://font.pocketgull.app | https://github.com/pocketgull-app/pocketgull-font
 */

/* 0. Variable Font Superfamily (Toyota Production System 16-Axis Continuous Design Space) */
@font-face {
  font-family: 'PocketGull VF';
  src: url('fonts/woff2/PocketGull-VF.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-VF.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-VF.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-VF.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: oblique -10.5deg 0deg;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* 1. Universal Proportional Superfamily */
@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Bold.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Bold.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Bold.ttf?v=3.3.0') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Bold.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Bold.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Bold.ttf?v=3.3.0') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-Fineliner.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Fineliner.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Fineliner.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Fineliner.ttf?v=3.3.0') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-Fineliner.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Fineliner.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Fineliner.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Fineliner.ttf?v=3.3.0') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-Chiseltip.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Chiseltip.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Chiseltip.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Chiseltip.ttf?v=3.3.0') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* Italic Superfamily Additions */
@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-Italic.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Italic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Italic.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Italic.ttf?v=3.3.0') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-Italic.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Italic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Italic.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Italic.ttf?v=3.3.0') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-BoldItalic.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-BoldItalic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-BoldItalic.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-BoldItalic.ttf?v=3.3.0') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-BoldItalic.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-BoldItalic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-BoldItalic.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-BoldItalic.ttf?v=3.3.0') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* 1.5 PocketGull Variable Font (16-Axis Continuous Design Space) */
@font-face {
  font-family: 'PocketGull VF';
  src: url('fonts/woff2/PocketGull-VF.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-VF.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-VF.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-VF.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: oblique -10.5deg 0deg;
  font-display: swap;
}

@font-face {
  font-family: 'PocketGull Variable';
  src: url('fonts/woff2/PocketGull-VF.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-VF.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-VF.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-VF.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: oblique -10.5deg 0deg;
  font-display: swap;
}

/* 1.6 Dedicated Style Aliases (for explicit PostScript/CSS family matching) */
@font-face {
  font-family: 'PocketGull Bold';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Bold.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Bold.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Bold.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Bold Italic';
  src: url('fonts/woff2/PocketGull-BoldItalic.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-BoldItalic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-BoldItalic.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-BoldItalic.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Fineliner';
  src: url('fonts/woff2/PocketGull-Fineliner.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Fineliner.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Fineliner.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Fineliner.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Italic';
  src: url('fonts/woff2/PocketGull-Italic.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Italic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Italic.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Italic.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Fineliner Italic';
  src: url('fonts/woff2/PocketGull-Italic.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Italic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Italic.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Italic.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Black';
  src: url('fonts/woff2/PocketGull-Black.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Black.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Black.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Black.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Chiseltip';
  src: url('fonts/woff2/PocketGull-Chiseltip.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Chiseltip.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Chiseltip.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Chiseltip.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Marker Raw';
  src: url('fonts/woff2/PocketGull-MarkerRaw.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-MarkerRaw.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-MarkerRaw.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-MarkerRaw.ttf?v=3.3.0') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* PocketGull Serif (Long-Form Clinical Reading & Informed Consent) */
@font-face {
  font-family: 'PocketGull Serif';
  src: url('fonts/woff2/PocketGull-Serif-Regular.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Serif-Regular.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Serif-Regular.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Serif-Regular.ttf?v=3.3.0') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PocketGull Serif';
  src: url('fonts/woff2/PocketGull-Serif-Bold.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Serif-Bold.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Serif-Bold.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Serif-Bold.ttf?v=3.3.0') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

/* PocketGull Micro (203 DPI Bedside Master) — Core Latin & Punctuation (18.1 KB) */
@font-face {
  font-family: 'PocketGull Micro';
  src: url('fonts/woff2/PocketGull-Micro-Core.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Micro-Core.woff2?v=3.3.0') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PocketGull Condensed';
  src: url('fonts/woff2/PocketGull-CondensedBold.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-CondensedBold.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-CondensedBold.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-CondensedBold.ttf?v=3.3.0') format('truetype');
  font-weight: 700 800;
  font-stretch: condensed;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PocketGull Soft';
  src: url('fonts/woff2/PocketGull-Soft-Regular.woff2?v=3.100') format('woff2'),
       url('PocketGull-Soft-Regular.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Soft-Regular.ttf?v=3.100') format('truetype'),
       url('PocketGull-Soft-Regular.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PocketGull Soft';
  src: url('fonts/woff2/PocketGull-Soft-Bold.woff2?v=3.100') format('woff2'),
       url('PocketGull-Soft-Bold.woff2?v=3.100') format('woff2'),
       url('fonts/woff2/PocketGull-Soft.woff2?v=3.100') format('woff2'),
       url('PocketGull-Soft.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Soft-Bold.ttf?v=3.100') format('truetype'),
       url('PocketGull-Soft-Bold.ttf?v=3.100') format('truetype'),
       url('fonts/ttf/PocketGull-Soft.ttf?v=3.100') format('truetype'),
       url('PocketGull-Soft.ttf?v=3.100') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PocketGull Slab';
  src: url('fonts/woff2/PocketGull-Slab-Regular.woff2?v=3.100') format('woff2'),
       url('PocketGull-Slab-Regular.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Slab-Regular.ttf?v=3.100') format('truetype'),
       url('PocketGull-Slab-Regular.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PocketGull Slab';
  src: url('fonts/woff2/PocketGull-Slab-Bold.woff2?v=3.100') format('woff2'),
       url('PocketGull-Slab-Bold.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Slab-Bold.ttf?v=3.100') format('truetype'),
       url('PocketGull-Slab-Bold.ttf?v=3.100') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PocketGull Serif';
  src: url('fonts/woff2/PocketGull-Serif-Regular.woff2?v=3.100') format('woff2'),
       url('PocketGull-Serif-Regular.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Serif-Regular.ttf?v=3.100') format('truetype'),
       url('PocketGull-Serif-Regular.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PocketGull Serif';
  src: url('fonts/woff2/PocketGull-Serif-Bold.woff2?v=3.100') format('woff2'),
       url('PocketGull-Serif-Bold.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Serif-Bold.ttf?v=3.100') format('truetype'),
       url('PocketGull-Serif-Bold.ttf?v=3.100') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

/* PocketGull Math (Humanist Clinical OpenType Math Superfamily Member) */
@font-face {
  font-family: 'PocketGull Math';
  src: url('fonts/woff2/PocketGull-Math.woff2?v=3.100') format('woff2'),
       url('PocketGull-Math.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Math.ttf?v=3.100') format('truetype'),
       url('PocketGull-Math.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0370-03FF, U+2070-209F, U+2100-214F, U+2190-21FF, U+2200-22FF, U+2600-26FF, U+27C0-27EF, U+2980-29FF, U+1D400-1D7FF;
}

/* PocketGull Chem (Clinical Chemistry, Pharmacological & Molecular Typeface) */
@font-face {
  font-family: 'PocketGull Chem';
  src: url('fonts/woff2/PocketGull-Chem.woff2?v=3.100') format('woff2'),
       url('PocketGull-Chem.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Chem.ttf?v=3.100') format('truetype'),
       url('PocketGull-Chem.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+00B0, U+00B2-00B3, U+00B9, U+2014, U+2021, U+2070-209F, U+2190-21FF, U+2200-22FF, U+25B6, U+25C0, U+27F0-27FF, U+2900-297F, U+2B21, U+E900-E90C;
}

/* PocketGull Genome (Clinical Genomics, Bioinformatics & CRISPR/Cas9 Monospace Typeface) */
@font-face {
  font-family: 'PocketGull Genome';
  src: url('fonts/woff2/PocketGull-Genome.woff2?v=3.100') format('woff2'),
       url('PocketGull-Genome.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Genome.ttf?v=3.100') format('truetype'),
       url('PocketGull-Genome.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+2702, U+E000-F8FF;
}

/* PocketGull Music (W3C SMuFL Notation, Music Therapy & Audiology Telemetry Typeface) */
@font-face {
  font-family: 'PocketGull Music';
  src: url('fonts/woff2/PocketGull-Music.woff2?v=3.100') format('woff2'),
       url('PocketGull-Music.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Music.ttf?v=3.100') format('truetype'),
       url('PocketGull-Music.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+1D100-1D1FF, U+2660-267F, U+E000-F8FF;
}

/* PocketGull Algo (Computer Science, AST Graphs & Algorithm Monospace Typeface) */
@font-face {
  font-family: 'PocketGull Algo';
  src: url('fonts/woff2/PocketGull-Algo.woff2?v=3.100') format('woff2'),
       url('PocketGull-Algo.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Algo.ttf?v=3.100') format('truetype'),
       url('PocketGull-Algo.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+03BB, U+2190-21FF, U+22A2, U+22A8, U+2500-257F, U+27E6-27E7, U+E000-F8FF;
}

/* PocketGull Learn (K-12 Elementary Literacy, Dyslexia Grounded & TouchMath Typeface) */
@font-face {
  font-family: 'PocketGull Learn';
  src: url('fonts/woff2/PocketGull-Learn.woff2?v=3.100') format('woff2'),
       url('PocketGull-Learn.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Learn.ttf?v=3.100') format('truetype'),
       url('PocketGull-Learn.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+E000-F8FF;
}

/* PocketGull Lab (Clinical Laboratory, Pathology SOPs & Diagnostics Typeface) */
@font-face {
  font-family: 'PocketGull Lab';
  src: url('fonts/woff2/PocketGull-Lab.woff2?v=3.100') format('woff2'),
       url('PocketGull-Lab.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Lab.ttf?v=3.100') format('truetype'),
       url('PocketGull-Lab.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+00D7, U+2070-209F, U+E000-F8FF;
}

/* PocketGull Press (Print Production, Packaging Dielines, GD&T CAD & 3D Printing Typeface) */
@font-face {
  font-family: 'PocketGull Press';
  src: url('fonts/woff2/PocketGull-Press.woff2?v=3.100') format('woff2'),
       url('PocketGull-Press.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Press.ttf?v=3.100') format('truetype'),
       url('PocketGull-Press.ttf?v=3.100') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+21A7, U+2300, U+232D, U+2334-2335, U+23E5, U+E000-F8FF;
}

/* PocketGull Superfamily Expansion: Chromatic & Textured Series */
@font-face {
  font-family: 'PocketGull Outline';
  src: url('fonts/woff2/PocketGull-Outline.woff2?v=3.100') format('woff2'),
       url('PocketGull-Outline.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Outline.ttf?v=3.100') format('truetype'),
       url('PocketGull-Outline.ttf?v=3.100') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Inline';
  src: url('fonts/woff2/PocketGull-Inline.woff2?v=3.100') format('woff2'),
       url('PocketGull-Inline.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Inline.ttf?v=3.100') format('truetype'),
       url('PocketGull-Inline.ttf?v=3.100') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Halftone';
  src: url('fonts/woff2/PocketGull-Halftone.woff2?v=3.100') format('woff2'),
       url('PocketGull-Halftone.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Halftone.ttf?v=3.100') format('truetype'),
       url('PocketGull-Halftone.ttf?v=3.100') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* 2. PocketGull Mono (Fixed 600 UPM Clinical Telemetry & Terminal) */
@font-face {
  font-family: 'PocketGull Mono';
  src: url('fonts/woff2/PocketGullMono-Regular.woff2?v=3.3.0') format('woff2'),
       url('PocketGullMono-Regular.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGullMono-Regular.ttf?v=3.3.0') format('truetype'),
       url('PocketGullMono-Regular.ttf?v=3.3.0') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Mono';
  src: url('fonts/woff2/PocketGullMono-Bold.woff2?v=3.3.0') format('woff2'),
       url('PocketGullMono-Bold.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGullMono-Bold.ttf?v=3.3.0') format('truetype'),
       url('PocketGullMono-Bold.ttf?v=3.3.0') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull Mono';
  src: url('fonts/woff2/PocketGullMono-Italic.woff2?v=3.3.0') format('woff2'),
       url('PocketGullMono-Italic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGullMono-Italic.ttf?v=3.3.0') format('truetype'),
       url('PocketGullMono-Italic.ttf?v=3.3.0') format('truetype');
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
  size-adjust: 108%;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* 2.5 Google Fonts Official Family Aliases ('Pocket Gull' & 'Pocket Gull Mono') */
@font-face {
  font-family: 'Pocket Gull';
  src: url('fonts/woff2/PocketGull-Regular.woff2?v=3.3.0') format('woff2'),
       url('fonts/woff2/PocketGull-Fineliner.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Regular.ttf?v=3.3.0') format('truetype'),
       url('fonts/ttf/PocketGull-Fineliner.ttf?v=3.3.0') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pocket Gull';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Bold.ttf?v=3.3.0') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pocket Gull';
  src: url('fonts/woff2/PocketGull-Black.woff2?v=3.3.0') format('woff2'),
       url('fonts/woff2/PocketGull-Chiseltip.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Black.ttf?v=3.3.0') format('truetype'),
       url('fonts/ttf/PocketGull-Chiseltip.ttf?v=3.3.0') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pocket Gull';
  src: url('fonts/woff2/PocketGull-Italic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Italic.ttf?v=3.3.0') format('truetype');
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Pocket Gull';
  src: url('fonts/woff2/PocketGull-BoldItalic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-BoldItalic.ttf?v=3.3.0') format('truetype');
  font-weight: 700 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Pocket Gull Mono';
  src: url('fonts/woff2/PocketGullMono-Regular.woff2?v=3.3.0') format('woff2'),
       url('PocketGullMono-Regular.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGullMono-Regular.ttf?v=3.3.0') format('truetype'),
       url('PocketGullMono-Regular.ttf?v=3.3.0') format('truetype');
  font-weight: 400 500 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pocket Gull Mono';
  src: url('fonts/woff2/PocketGullMono-Italic.woff2?v=3.3.0') format('woff2'),
       url('PocketGullMono-Italic.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGullMono-Italic.ttf?v=3.3.0') format('truetype'),
       url('PocketGullMono-Italic.ttf?v=3.3.0') format('truetype');
  font-weight: 400 500 600 700;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   3. SMoE DYNAMIC SCRIPT EXPERTS (UNICODE-RANGE GATED PATHWAYS)
   Allows edge devices, IoT monitors, and remote clinics to selectively
   dispatch font rendering based on active linguistic tokens.
   ========================================================================== */

/* Expert A: Latin Core, ISMP Safety & 256-Glyph Braille Matrix */
@font-face {
  font-family: 'PocketGull-SMoE';
  src: url('fonts/woff2/PocketGull-Fineliner.woff2?v=3.3.0') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+2800-28FF, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'PocketGull-SMoE';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+2800-28FF, U+FEFF, U+FFFD;
}

/* Expert B: Canadian Aboriginal Syllabics (Inuktitut / Cree) */
@font-face {
  font-family: 'PocketGull Inuktitut';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1400-167F;
}

@font-face {
  font-family: 'PocketGull Inuktitut';
  src: url('fonts/woff2/PocketGull-Fineliner.woff2?v=3.3.0') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1400-167F;
}

/* Expert C: Chinuk Pipa & Duployan Shorthand */
@font-face {
  font-family: 'PocketGull ChinukPipa';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1BC00-1BC9F;
}

@font-face {
  font-family: 'PocketGull ChinukPipa';
  src: url('fonts/woff2/PocketGull-Fineliner.woff2?v=3.3.0') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1BC00-1BC9F;
}

/* Expert D: Neo-Tifinagh (Amazigh / Berber) */
@font-face {
  font-family: 'PocketGull Tifinagh';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2D30-2D7F;
}

@font-face {
  font-family: 'PocketGull Tifinagh';
  src: url('fonts/woff2/PocketGull-Fineliner.woff2?v=3.3.0') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2D30-2D7F;
}

/* Expert E: Cherokee Syllabary & Lowercase Supplement */
@font-face {
  font-family: 'PocketGull Cherokee';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+13A0-13FF, U+AB70-ABBF;
}

@font-face {
  font-family: 'PocketGull Cherokee';
  src: url('fonts/woff2/PocketGull-Fineliner.woff2?v=3.3.0') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+13A0-13FF, U+AB70-ABBF;
}

/* Expert F: Ethiopic / Ge'ez Abugida */
@font-face {
  font-family: 'PocketGull Ethiopic';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1200-137F;
}

@font-face {
  font-family: 'PocketGull Ethiopic';
  src: url('fonts/woff2/PocketGull-Fineliner.woff2?v=3.3.0') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1200-137F;
}

/* Expert G: West African Sovereign Scripts (Adlam & Vai) */
@font-face {
  font-family: 'PocketGull Adlam';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1E900-1E95F;
}

@font-face {
  font-family: 'PocketGull Vai';
  src: url('fonts/woff2/PocketGull-Bold.woff2?v=3.3.0') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+A500-A63F;
}

/* Expert H: Medical ICU Telemetry & Terminal Symbols */
@font-face {
  font-family: 'PocketGull Telemetry';
  src: url('fonts/woff2/PocketGullMono-Regular.woff2?v=3.3.0') format('woff2');
  font-weight: 400 500 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+E0A0-E0B6, U+2500-257F, U+26A1, U+2713-2714, U+276E-276F;
}

/* Expert I: Arabic / Farsi / Urdu — Intentional Noto Sans Arabic Routing
   =========================================================================
   PocketGull is a Latin + Indigenous Scripts superfamily. Arabic script
   (U+0600–U+06FF) requires full cursive shaping (init/medi/fina/isol
   positional variants) that PocketGull does not implement. Arabic text is
   intentionally routed to Noto Sans Arabic for correct Naskh rendering.

   IMPORTANT: PocketGull retains Arabic BASE codepoints (U+0600–U+06FF) in
   its cmap for isolated letter rendering in non-shaping contexts (e.g. math
   or symbol usage). For connected Arabic text, this expert fires first and
   supplies Noto Sans Arabic for the complete Arabic block.

   Arabic Presentation Forms (U+FB50–U+FDFF, U+FE70–U+FEFF) have been
   removed from PocketGull binary per Unicode deprecation advisory.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull Arabic';
  src: local('Noto Sans Arabic'), local('Segoe UI'), local('Tahoma');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF,
                 U+200C-200F, U+2010-2027, U+202A-202E,
                 U+2060-206F, U+FB50-FDFF, U+FE70-FEFF;
}

/* Expert J: Hebrew & Aramaic — Intentional Multi-Script SMoE Routing
   =========================================================================
   Hebrew script (U+0590–U+05FF, U+FB1D–U+FB4F) requires Tiberian vocalization
   niqqud and cantillation diacritics with micro-positioned GPOS mark-to-base
   and mark-to-mark attachment. In compliance with the Living Typographic
   Charter ("Let Hebrew be Hebrew"), this expert routes Hebrew text directly
   to native Hebrew engines (Noto Sans Hebrew, David Libre, Segoe UI) with
   full GPOS shaper anchors and zero Cumulative Layout Shift (CLS = 0.000).
   ========================================================================= */
@font-face {
  font-family: 'PocketGull Hebrew';
  src: local('Noto Sans Hebrew'), local('David Libre'), local('Segoe UI'), local('Arial Hebrew'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0590-05FF, U+FB1D-FB4F;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 10%;
  size-adjust: 100%;
}

/* Expert K: Indic Core & South Asian — Zero-CLS Shirorekha Harmonization
   =========================================================================
   Indic scripts (Devanagari, Bengali, Tamil, Telugu, Gurmukhi, Gujarati,
   Odia, Kannada, Malayalam) require complex conjunct ligatures and headline
   balance. Routes directly to metric-matched Noto Sans Indic family.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull Indic';
  src: local('Noto Sans Devanagari'), local('Noto Sans Tamil'), local('Noto Sans Telugu'),
       local('Noto Sans Bengali'), local('Noto Sans Gurmukhi'), local('Noto Sans Gujarati'),
       local('Noto Sans Kannada'), local('Noto Sans Malayalam'), local('Nirmala UI'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0900-097F, U+0980-09FF, U+0A00-0A7F, U+0A80-0AFF,
                 U+0B00-0B7F, U+0B80-0BFF, U+0C00-0C7F, U+0C80-0CFF,
                 U+0D00-0D7F;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 10%;
  size-adjust: 100%;
}

/* Expert L: CJK Unified Ideographs & Kana — Explicit System Fallback
   =========================================================================
   PocketGull does not contain CJK Unified Ideographs, Hiragana, Katakana,
   Hangul, or CJK compatibility characters. This expert explicitly routes the
   CJK block to the system CJK font stack (Noto Sans CJK, Yu Gothic, etc.)
   to prevent PocketGull from being incorrectly selected as a CJK fallback
   on systems that lack a proper CJK font for the Latin blocks.

   Specimen usage of Japanese text (e.g. thermal bedside Rx: セファゾリン)
   is rendered by the system CJK font — this is intentional and labelled
   in the specimen HTML. PocketGull does not claim CJK coverage.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull CJK Fallback';
  src: local('Noto Sans CJK SC'), local('Noto Sans JP'), local('Yu Gothic'),
       local('Hiragino Sans'), local('Microsoft YaHei'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-2EFF, U+2F00-2FDF, U+3000-303F, U+3040-309F,
                 U+30A0-30FF, U+3100-312F, U+3190-31FF, U+3200-32FF,
                 U+3300-33FF, U+3400-4DBF, U+4E00-9FFF, U+A000-A48F,
                 U+A490-A4CF, U+AC00-D7FF, U+F900-FAFF, U+FE30-FE4F,
                 U+FF00-FFEF, U+1B000-1B0FF, U+1F004-1F004,
                 U+20000-2A6DF, U+2A700-2CEAF;
}

/* Expert K: Southeast Asian (Thai, Lao, Khmer, Burmese, Tibetan) — Zero-CLS Metric Harmonized Fallback
   =========================================================================
   Southeast Asian scripts (Thai, Lao, Khmer, Burmese, Tibetan) are complex
   multi-level stacking scripts requiring sophisticated GPOS mark-to-base
   and mark-to-mark attachment. In compliance with the Living Typographic
   Charter and Responsible Typography (zero false claims), complex continuous
   text in these scripts routes through metric-matched Noto / OS system
   shapers (Leelawadee UI, DokChampa, Khmer UI, Myanmar Text, Microsoft Himalaya)
   with zero Cumulative Layout Shift (CLS = 0.000) while native GPOS anchors
   are engineered for v4.0.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull SE Asian';
  src: local('Leelawadee UI'), local('Noto Sans Thai'), local('DokChampa'),
       local('Noto Sans Lao'), local('Khmer UI'), local('Noto Sans Khmer'),
       local('Myanmar Text'), local('Noto Sans Myanmar'),
       local('Microsoft Himalaya'), local('Noto Sans Tibetan'),
       local('sans-serif');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E00-0E7F, U+0E80-0EFF, U+0F00-0FFF, U+1000-109F, U+1780-17FF;
}

/* Expert M: Traditional Mongolian & Manchu Script — Zero-CLS 1.18x Optical Scaling
   =========================================================================
   Traditional Mongolian (Hudum Mongol bichig, U+1800–U+18AF, U+11660–U+1167F)
   and Manchu are vertical-lr scripts with continuous cursive backbones (nuruu)
   and compact phonemic teeth/loops. In compliance with the Living Typographic
   Charter and Responsible Typography, this expert applies the 1.18x Optical Scale
   Invariant (size-adjust: 118%) so vertical cursive units match Latin x-height,
   routing directly to native Mongolian engines (Noto Sans Mongolian, Mongolian Baiti,
   Menk Qagan Tig, Oyun Qagan Tig) with zero Cumulative Layout Shift (CLS = 0.000).
   ========================================================================= */
@font-face {
  font-family: 'PocketGull Mongolian';
  src: local('Noto Sans Mongolian'), local('Mongolian Baiti'),
       local('Menk Qagan Tig'), local('Oyun Qagan Tig'),
       local('Mongolian Universal White'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1800-18AF, U+11660-1167F;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 118%;
}

@font-face {
  font-family: 'PocketGull';
  src: local('Noto Sans Mongolian'), local('Mongolian Baiti'),
       local('Menk Qagan Tig'), local('Oyun Qagan Tig'),
       local('Mongolian Universal White'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1800-18AF, U+11660-1167F;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 118%;
}

/* Expert N: N'Ko Alphabet — West African Manding Sovereign Script
   =========================================================================
   N'Ko (U+07C0–U+07FF) is an authentic right-to-left cursive alphabet
   invented by Solomana Kante in 1949 to transcribe Manding languages.
   Routes to Noto Sans NKo / Ebrima with zero Cumulative Layout Shift.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull NKo';
  src: local('Noto Sans NKo'), local('Ebrima'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+07C0-07FF;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 104%;
}

@font-face {
  font-family: 'PocketGull';
  src: local('Noto Sans NKo'), local('Ebrima'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+07C0-07FF;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 104%;
}

/* Expert O: Osage Sovereign Alphabet — Siouan Revitalization
   =========================================================================
   Osage (U+104B0–U+104FB) standardized in Unicode 9.0 by Osage Nation elders.
   Ensures zero-tofu rendering across Osage Nation health and cultural portals.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull Osage';
  src: local('Noto Sans Osage'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+104B0-104FB;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: 'PocketGull';
  src: local('Noto Sans Osage'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+104B0-104FB;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* Expert P: Ogham — Ancient Celtic Vertical Tree Alphabet
   =========================================================================
   Ogham (U+1680–U+169F) 4th-century monumental script written vertically
   or horizontally along the stem line (flesc). Preserves archaeological fidelity.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull Ogham';
  src: local('Noto Sans Ogham'), local('BabelStone Ogham'), local('Segoe UI Historic'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1680-169F;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 106%;
}

@font-face {
  font-family: 'PocketGull';
  src: local('Noto Sans Ogham'), local('BabelStone Ogham'), local('Segoe UI Historic'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1680-169F;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 106%;
}

/* Expert Q: Old Turkic / Orkhon Runes — Central Asian Steppe
   =========================================================================
   Old Turkic (U+10C00–U+10C4F) 8th-century Orkhon Valley inscriptions.
   Historical peer to Sogdian and Old Uyghur.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull Old Turkic';
  src: local('Noto Sans Old Turkic'), local('Segoe UI Historic'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+10C00-10C4F;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: 'PocketGull';
  src: local('Noto Sans Old Turkic'), local('Segoe UI Historic'), local('sans-serif');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+10C00-10C4F;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* Expert R: Sutton SignWriting — Visual-Spatial Deaf Communication
   =========================================================================
   SignWriting (U+1D800–U+1DAAF) 2D spatial arrangement symbols for ASL, BSL,
   and international sign languages. Modular edge delivery for deaf literacy.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull SignWriting';
  src: local('Noto Sans SignWriting'), local('SignWriting 2010'),
       url('https://cdn.jsdelivr.net/fontsource/fonts/noto-sans-signwriting@latest/signwriting-400-normal.woff2') format('woff2'),
       local('sans-serif');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1D800-1DAAF;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: 'PocketGull';
  src: local('Noto Sans SignWriting'), local('SignWriting 2010'),
       url('https://cdn.jsdelivr.net/fontsource/fonts/noto-sans-signwriting@latest/signwriting-400-normal.woff2') format('woff2'),
       local('sans-serif');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1D800-1DAAF;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* Expert S: Sub-Cell ICU ECG & Arrhythmia Telemetry (Cardiology PUA)
   =========================================================================
   Sub-cell cardiac vectors (U+E000–U+E0FF): P-wave, QRS complex, T-wave,
   ST-elevation/depression vectors, and pulsatile SpO2 waveforms.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull Telemetry ECG';
  src: url('fonts/woff2/PocketGull-Lab.woff2?v=3.3.0') format('woff2'),
       url('fonts/woff2/PocketGullMono-Regular.woff2?v=3.3.0') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+E000-E0FF;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-Lab.woff2?v=3.3.0') format('woff2'),
       url('fonts/woff2/PocketGullMono-Regular.woff2?v=3.3.0') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+E000-E0FF;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* Expert T: Blissymbolics AAC & Clinical Communication (Assistive PUA)
   =========================================================================
   Semantographic AAC glyphs (U+E100–U+E17F) for non-verbal stroke rehabilitation,
   cerebral palsy, and cognitive trauma bedside communication.
   ========================================================================= */
@font-face {
  font-family: 'PocketGull Bliss AAC';
  src: url('fonts/woff2/PocketGull-Learn.woff2?v=3.3.0') format('woff2'),
       url('fonts/woff2/PocketGull-Sign.woff2?v=3.3.0') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+E100-E17F;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: 'PocketGull';
  src: url('fonts/woff2/PocketGull-Learn.woff2?v=3.3.0') format('woff2'),
       url('fonts/woff2/PocketGull-Sign.woff2?v=3.3.0') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+E100-E17F;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* ==========================================================================
   4. ZERO-CLS HARMONIZED FALLBACKS & DEVELOPER BEST PRACTICES
   Enforces exact 1000 UPM vertical metric parity with system fonts & Google Noto
   to eliminate Cumulative Layout Shift (CLS = 0.000) across global fallbacks.
   ========================================================================== */

/* 4.1 Universal Sans Fallback (size-adjusted to 1000 UPM PocketGull em-square) */
@font-face {
  font-family: 'PocketGull Fallback';
  src: local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial'), local('sans-serif');
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 10%;
  size-adjust: 100%;
}

/* 4.2 Telemetry Monospace Fallback (fixed 600 UPM pitch equivalent) */
@font-face {
  font-family: 'PocketGull Mono Fallback';
  src: local('Cascadia Code'), local('Segoe UI Mono'), local('Consolas'), local('SFMono-Regular'), local('Menlo'), local('Courier New'), local('monospace');
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 10%;
  size-adjust: 100%;
}

/* 4.3 Clinical Serif Fallback */
@font-face {
  font-family: 'PocketGull Serif Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Cambria'), local('serif');
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 10%;
  size-adjust: 100%;
}

/* 4.4 Google Noto Global Script Fallback */
@font-face {
  font-family: 'PocketGull Noto Fallback';
  src: local('Noto Sans'), local('Noto Sans CJK SC'), local('Noto Sans Devanagari'), local('Noto Sans Arabic'), local('sans-serif');
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 10%;
  size-adjust: 100%;
}

/* ==========================================================================
   4.5 GLOBAL DEVELOPER TYPOGRAPHY TOKENS & SYSTEM FALLBACK STACKS
   ========================================================================== */
:root {
  --font-sans: 'PocketGull', 'PocketGull Fallback', 'PocketGull Noto Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  --font-mono: 'PocketGull Mono', 'PocketGull Mono Fallback', ui-monospace, 'Cascadia Code', 'Segoe UI Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --font-display: 'PocketGull Bold', 'PocketGull', 'PocketGull Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-black: 'PocketGull Black', 'PocketGull Chiseltip', 'PocketGull Bold', 'PocketGull', 'PocketGull Fallback', -apple-system, sans-serif;
  --font-chisel: 'PocketGull Chiseltip', 'PocketGull Black', 'PocketGull Bold', 'PocketGull', 'PocketGull Fallback', -apple-system, sans-serif;
  --font-serif: 'PocketGull Serif', 'PocketGull Serif Fallback', Georgia, Cambria, 'Times New Roman', serif;
  --font-vf: 'PocketGull VF', 'PocketGull', 'PocketGull Fallback', -apple-system, sans-serif;
}

/* Developer Utility Classes */
.font-sans { font-family: var(--font-sans) !important; }
.font-mono { font-family: var(--font-mono) !important; }
.font-display { font-family: var(--font-display) !important; }
.font-black { font-family: var(--font-black) !important; }
.font-chisel { font-family: var(--font-chisel) !important; }
.font-serif { font-family: var(--font-serif) !important; }
.font-vf { font-family: var(--font-vf) !important; }

/* OpenType Feature Utility Classes for Clinical & Ecological Best Practices */
.font-feature-clinical {
  font-feature-settings: "zero" 1, "cv05" 1, "ss02" 1, "cv11" 1;
  font-variant-numeric: slashed-zero;
}
.font-feature-eco {
  font-feature-settings: "ss01" 1;
}
.font-feature-tabular {
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.font-feature-fractions {
  font-feature-settings: "frac" 1;
  font-variant-numeric: diagonal-fractions;
}
.font-feature-dark {
  font-feature-settings: "ss12" 1;
}
.font-feature-slow {
  font-feature-settings: "ss15" 1;
}

/* ==========================================================================
   5. PHILOCARDIA: THE PHIL GEAR CARDIAC CHRONOMETER & HEART ALTERNATE
   - Connected Fl Display Ligature ("Flight Sanctuary")
   - Philocardia: Lowercase i with Optical S1/S2 Heart-Shaped Tittle
   - Calibrated 60 / 72 BPM Sinus Rhythm Cardiac Regulation Engine
   ========================================================================== */

/* ==========================================================================
   TITTLE VARIETIES SUITE & PHILOCARDIA CARDIOPULMONARY RESONANCE
   Strictly Bounded to Square Dimensions of Classic Clinical Dot (164 x 147 UPM)
   ========================================================================== */
:root {
  --tittle-glyph: '●';
  --tittle-box-width: 1em;
  --tittle-box-height: 1em;
  --tittle-font-size: 0.28em;
  --tittle-top-i: 13%;
  --tittle-top-j: 13%;
  --tittle-bottom-excl: 0.08em;
  --tittle-base-scale: 1;
}

[data-tittle-variety="heart"], .tittle-variety-heart {
  --tittle-glyph: '♥';
  --tittle-box-width: 1em;
  --tittle-box-height: 1em;
  --tittle-font-size: 0.32em;
  --tittle-top-i: 13%;
  --tittle-top-j: 13%;
  --tittle-bottom-excl: 0.08em;
  --tittle-base-scale: 1;
}

[data-tittle-variety="blossom"], .tittle-variety-blossom {
  --tittle-glyph: '✤';
  --tittle-box-width: 1em;
  --tittle-box-height: 1em;
  --tittle-font-size: 0.32em;
  --tittle-top-i: 13%;
  --tittle-top-j: 13%;
  --tittle-bottom-excl: 0.08em;
  --tittle-base-scale: 1;
}

[data-tittle-variety="nuqta"], .tittle-variety-nuqta {
  --tittle-glyph: '◆';
  --tittle-box-width: 1em;
  --tittle-box-height: 1em;
  --tittle-font-size: 0.28em;
  --tittle-top-i: 13%;
  --tittle-top-j: 13%;
  --tittle-bottom-excl: 0.08em;
  --tittle-base-scale: 1;
}

[data-tittle-variety="star"], .tittle-variety-star {
  --tittle-glyph: '✦';
  --tittle-box-width: 1em;
  --tittle-box-height: 1em;
  --tittle-font-size: 0.32em;
  --tittle-top-i: 13%;
  --tittle-top-j: 13%;
  --tittle-bottom-excl: 0.08em;
  --tittle-base-scale: 1;
}

[data-tittle-variety="droplet"], .tittle-variety-droplet {
  --tittle-glyph: '💧';
  --tittle-box-width: 1em;
  --tittle-box-height: 1em;
  --tittle-font-size: 0.28em;
  --tittle-top-i: 13%;
  --tittle-top-j: 13%;
  --tittle-bottom-excl: 0.07em;
  --tittle-base-scale: 1;
}

[data-tittle-variety="dot"], .tittle-variety-dot {
  --tittle-glyph: '●';
  --tittle-box-width: 1em;
  --tittle-box-height: 1em;
  --tittle-font-size: 0.28em;
  --tittle-top-i: 13%;
  --tittle-top-j: 13%;
  --tittle-bottom-excl: 0.08em;
  --tittle-base-scale: 1;
}

/* Former ligature exploration deactivated (fl-connected) */
.fl-connected {
  letter-spacing: normal;
}
.fl-connected::before {
  display: none !important;
}

/* Philocardia: Signature Heart-Tittle & Tittle Variety Stylistic Alternate */
.philocardia-heart,
.iphillyg-heart,
.philocardia-j,
.philocardia-excl,
.philocardia-arabic-heart {
  --tittle-glyph: '♥';
}

[data-tittle-variety="heart"] :is(.philocardia-heart, .iphillyg-heart, .philocardia-j, .philocardia-excl, .philocardia-arabic-heart),
[data-tittle-variety="heart"].philocardia-heart {
  --tittle-glyph: '♥';
}

[data-tittle-variety="blossom"] :is(.philocardia-heart, .iphillyg-heart, .philocardia-j, .philocardia-excl, .philocardia-arabic-heart),
[data-tittle-variety="blossom"].philocardia-heart {
  --tittle-glyph: '✤';
}

[data-tittle-variety="nuqta"] :is(.philocardia-heart, .iphillyg-heart, .philocardia-j, .philocardia-excl, .philocardia-arabic-heart),
[data-tittle-variety="nuqta"].philocardia-heart {
  --tittle-glyph: '◆';
}

[data-tittle-variety="star"] :is(.philocardia-heart, .iphillyg-heart, .philocardia-j, .philocardia-excl, .philocardia-arabic-heart),
[data-tittle-variety="star"].philocardia-heart {
  --tittle-glyph: '✦';
}

[data-tittle-variety="droplet"] :is(.philocardia-heart, .iphillyg-heart, .philocardia-j, .philocardia-excl, .philocardia-arabic-heart),
[data-tittle-variety="droplet"].philocardia-heart {
  --tittle-glyph: '💧';
}

[data-tittle-variety="dot"] :is(.philocardia-heart, .iphillyg-heart, .philocardia-j, .philocardia-excl, .philocardia-arabic-heart),
[data-tittle-variety="dot"].philocardia-heart {
  --tittle-glyph: '●';
}

.philocardia-heart,
.iphillyg-heart {
  display: inline-block;
  position: relative;
  line-height: 1;
  vertical-align: baseline;
  font-family: inherit;
}

.philocardia-heart::after,
.iphillyg-heart::after {
  content: var(--tittle-glyph, '●');
  position: absolute;
  top: var(--tittle-top-i, 13%);
  left: 50%;
  width: var(--tittle-box-width, 1em);
  height: var(--tittle-box-height, 1em);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1)));
  font-size: var(--tittle-font-size, 0.32em);
  line-height: 1;
  color: var(--aura-color, var(--teal-accent, currentColor));
  -webkit-text-fill-color: initial;
  pointer-events: none;
  filter: drop-shadow(0 0 var(--aura-glow, 1.5px) rgba(45, 212, 191, 0.45));
  transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease, filter 0.2s ease;
}

/* Lowercase j (dotless ȷ U+0237): Centered over the straight upper stem */
.philocardia-j {
  display: inline-block;
  position: relative;
  line-height: 1;
  vertical-align: baseline;
  font-family: inherit;
}

.philocardia-j::after {
  content: var(--tittle-glyph, '●');
  position: absolute;
  top: var(--tittle-top-j, 13%);
  left: 50%;
  width: var(--tittle-box-width, 1em);
  height: var(--tittle-box-height, 1em);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1)));
  font-size: var(--tittle-font-size, 0.32em);
  line-height: 1;
  color: var(--aura-color, var(--teal-accent, currentColor));
  -webkit-text-fill-color: initial;
  pointer-events: none;
  filter: drop-shadow(0 0 var(--aura-glow, 1.5px) rgba(45, 212, 191, 0.45));
  transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease, filter 0.2s ease;
}

/* Exclamation Mark Terminal Heart/Tittle: Replaces baseline period dot */
.philocardia-excl {
  display: inline-block;
  position: relative;
  line-height: inherit;
  font-family: inherit;
}

.philocardia-excl::after {
  content: var(--tittle-glyph, '●');
  position: absolute;
  bottom: var(--tittle-bottom-excl, 0.08em);
  left: 50%;
  width: var(--tittle-box-width, 1em);
  height: var(--tittle-box-height, 1em);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1)));
  font-size: var(--tittle-font-size, 0.28em);
  line-height: 1;
  color: var(--aura-color, var(--teal-accent, currentColor));
  -webkit-text-fill-color: initial;
  pointer-events: none;
  filter: drop-shadow(0 0 var(--aura-glow, 1.5px) rgba(45, 212, 191, 0.45));
  transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease, filter 0.2s ease;
}

/* Arabic Heart Nuqṭa (خ, ج, غ, ف, ن): Placed above apex of letterhead */
.philocardia-arabic-heart {
  display: inline-block;
  position: relative;
  line-height: inherit;
  font-family: inherit;
}

.philocardia-arabic-heart::after {
  content: var(--tittle-glyph, '●');
  position: absolute;
  top: var(--tittle-top-i, -0.04em);
  right: 32%;
  width: var(--tittle-box-width, 1em);
  height: var(--tittle-box-height, 1em);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateX(50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1)));
  font-size: var(--tittle-font-size, 0.28em);
  line-height: 1;
  color: var(--aura-color, var(--teal-accent, currentColor));
  -webkit-text-fill-color: initial;
  pointer-events: none;
  filter: drop-shadow(0 0 var(--aura-glow, 1.5px) rgba(45, 212, 191, 0.45));
  transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease, filter 0.2s ease;
}

.night-flight .philocardia-heart::after,
body.night-flight .philocardia-heart::after,
body.red-dash .philocardia-heart::after,
.night-flight .iphillyg-heart::after,
body.night-flight .iphillyg-heart::after,
body.red-dash .iphillyg-heart::after {
  color: var(--teal-accent, #f87171);
  filter: drop-shadow(0 0 4px rgba(248, 113, 113, 0.5));
}

.philocardia-heart:hover::after,
.iphillyg-heart:hover::after,
.philocardia-j:hover::after {
  transform: translate(-50%, -50%) scale(1.22);
  color: #f43f5e;
  filter: drop-shadow(0 0 5px rgba(244, 63, 94, 0.8));
}

.philocardia-arabic-heart:hover::after {
  transform: translateX(50%) scale(1.22);
  color: #f43f5e;
  filter: drop-shadow(0 0 5px rgba(244, 63, 94, 0.8));
}

/* Physiological S1/S2 Cardiac Pulse Animation (72 BPM = 0.833s period) */
@keyframes philocardia-beat-72 {
  0%, 100% { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1))); }
  14%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 1.15)); } /* S1 Systole "lub" */
  22%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 1.03)); }
  32%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 1.09)); } /* S2 Diastole "dub" */
  45%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1))); }
}

/* Calibrated 60 BPM Cardiac Pulse (1.000s period) */
@keyframes philocardia-beat-60 {
  0%, 100% { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1))); }
  12%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 1.15)); }
  20%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 1.04)); }
  30%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 1.10)); }
  42%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1))); }
}

/* Somatic 4-7-8 Box Breathing Resonance (16s cycle) */
@keyframes philocardia-box-breath {
  0%, 100% { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1))); filter: drop-shadow(0 0 2px rgba(45,212,191,0.3)); color: #2dd4bf; }
  25%, 50% { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 1.18)); filter: drop-shadow(0 0 6px rgba(45,212,191,0.8)); color: #38bdf8; }
  75%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 0.95)); filter: drop-shadow(0 0 1px rgba(45,212,191,0.2)); color: #14b8a6; }
}

@keyframes philocardia-vagal-sanctuary {
  0%, 100% { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1))); filter: drop-shadow(0 0 2px rgba(45,212,191,0.25)); color: #2dd4bf; }
  50%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 1.15)); filter: drop-shadow(0 0 8px rgba(45,212,191,0.85)); color: #34d399; }
}

/* Sporty Spice HIIT Cardio Sprint: 140 BPM Explosive Athletic Cadence (0.428s period) */
@keyframes philocardia-hiit-sprint {
  0%, 100% { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1))); }
  18%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 1.25)); color: #fb7185; filter: drop-shadow(0 0 6px rgba(251, 113, 133, 0.9)); }
  35%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 0.95)); }
  52%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1) * 1.15)); color: #2dd4bf; filter: drop-shadow(0 0 5px rgba(45, 212, 191, 0.8)); }
  70%      { transform: translate(-50%, -50%) scale(calc(var(--aura-scale, 1) * var(--tittle-base-scale, 1))); }
}

.philocardia-pacing-hiit::after {
  animation: philocardia-hiit-sprint 0.428s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.philocardia-pacing-72::after {
  animation: philocardia-beat-72 0.8333s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.philocardia-pacing-60::after {
  animation: philocardia-beat-60 1.0000s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.philocardia-pacing-breath::after {
  animation: philocardia-box-breath 16s infinite ease-in-out;
}

.philocardia-pacing-sanctuary::after {
  animation: philocardia-vagal-sanctuary 10s infinite ease-in-out;
}

body.philocardia-sanctuary-active {
  --bio-pulse-period: 10s;
  --bio-breath-period: 10s;
  --bio-halo-color: rgba(45, 212, 191, 0.7);
  transition: background-color 0.8s ease, color 0.8s ease;
}

/* Y-BOCS & Philocardia Telemetry Modal */
.ybocs-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(9, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ybocs-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.ybocs-modal-card {
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  background: #090e17;
  border: 1.5px solid rgba(45, 212, 191, 0.4);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 35px rgba(45, 212, 191, 0.15);
  position: relative;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ybocs-modal-backdrop.active .ybocs-modal-card {
  transform: scale(1);
}

/* Healer Mode Pill Styling */
.healer-pill {
  padding: 0.32rem 0.65rem;
  font-size: 0.73rem;
  font-family: monospace;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.healer-pill:hover {
  border-color: #2dd4bf;
  color: #f4f4f5;
  background: rgba(45, 212, 191, 0.12);
}

.healer-pill.active {
  border-color: #2dd4bf;
  background: rgba(45, 212, 191, 0.22);
  color: #2dd4bf;
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.25);
}

/* ==========================================================================
   6. CARDIOPULMONARY PACING: BIOMORPHIC UI & A11Y FOCUS HALO (WCAG 2.2 AAA)
   ========================================================================== */
:root {
  --bio-pulse-period: 0.8333s; /* 72 BPM */
  --bio-breath-period: 16s;    /* 4-7-8 Box Breathing */
  --bio-ease-cardiac: cubic-bezier(0.2, 0.8, 0.2, 1);
  --bio-ease-respiratory: ease-in-out;
  --bio-halo-color: rgba(45, 212, 191, 0.65);
  --bio-micro-lum: 1;
  --bio-sync-opacity: 0.85;
}

/* Organic Breathing Focus Halo for WCAG 2.2 AAA Keyboard & Screen Navigation */
:focus-visible {
  outline: none !important;
  border-color: #2dd4bf !important;
  box-shadow: 0 0 0 2.5px rgba(45, 212, 191, 0.4), 0 0 14px var(--bio-halo-color) !important;
  transition: box-shadow 0.25s var(--bio-ease-cardiac), border-color 0.25s ease;
  animation: bio-focus-breathe var(--bio-pulse-period) infinite var(--bio-ease-cardiac);
}

@keyframes bio-focus-breathe {
  0% {
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35), 0 0 8px rgba(45, 212, 191, 0.3);
  }
  25% {
    box-shadow: 0 0 0 3.5px rgba(45, 212, 191, 0.65), 0 0 16px rgba(45, 212, 191, 0.65);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35), 0 0 8px rgba(45, 212, 191, 0.3);
  }
}

/* Universal Biomorphic UI Elements in Sync with Cardiopulmonary Clock */
.bio-sync-pulse {
  animation: bio-elem-pulse var(--bio-pulse-period) infinite var(--bio-ease-cardiac);
}

@keyframes bio-elem-pulse {
  0% { transform: scale(1); }
  14% { transform: scale(1.03); } /* S1 Systole */
  22% { transform: scale(1.01); }
  32% { transform: scale(1.02); } /* S2 Diastole */
  45% { transform: scale(1); }
  100% { transform: scale(1); }
}

.bio-sync-glow {
  animation: bio-elem-glow var(--bio-pulse-period) infinite var(--bio-ease-cardiac);
}

@keyframes bio-elem-glow {
  0% { border-color: rgba(45, 212, 191, 0.25); box-shadow: 0 0 0 rgba(45, 212, 191, 0); }
  25% { border-color: rgba(45, 212, 191, 0.65); box-shadow: 0 0 12px var(--bio-halo-color); }
  100% { border-color: rgba(45, 212, 191, 0.25); box-shadow: 0 0 0 rgba(45, 212, 191, 0); }
}

/* Hardware-Accelerated Variable Font Pacing Keyframes */
@keyframes bio-harmonic-vf-72 {
  0% {
    font-variation-settings: 'wght' var(--pg-wght, 700), 'slnt' var(--pg-slnt, 0);
  }
  14% {
    font-variation-settings: 'wght' calc(var(--pg-wght, 700) + 50), 'slnt' calc(var(--pg-slnt, 0) - 1.5);
  }
  28% {
    font-variation-settings: 'wght' calc(var(--pg-wght, 700) + 10), 'slnt' var(--pg-slnt, 0);
  }
  42% {
    font-variation-settings: 'wght' calc(var(--pg-wght, 700) + 30), 'slnt' calc(var(--pg-slnt, 0) - 0.8);
  }
  56% {
    font-variation-settings: 'wght' var(--pg-wght, 700), 'slnt' var(--pg-slnt, 0);
  }
  100% {
    font-variation-settings: 'wght' var(--pg-wght, 700), 'slnt' var(--pg-slnt, 0);
  }
}

.bio-pulse-vf-active {
  animation: bio-harmonic-vf-72 var(--bio-cardiac-period) infinite var(--bio-ease-systole);
}

.bio-sync-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Ocular Ergonomics: Sub-Perceptual Micro-Luminance Vagal Wave (Dry-Eye & Asthenopia Prevention) */
.ocular-rest-active {
  animation: ocular-vagal-breath var(--bio-breath-period) infinite var(--bio-ease-respiratory);
}

@keyframes ocular-vagal-breath {
  0%   { filter: brightness(1.00) contrast(1.00); }
  25%  { filter: brightness(1.015) contrast(0.985); } /* Gentle softening on inhale */
  50%  { filter: brightness(1.015) contrast(0.985); }
  75%  { filter: brightness(0.99) contrast(1.01); }  /* Relaxing contrast on exhale */
  100% { filter: brightness(1.00) contrast(1.00); }
}

/* 15-Second Radial Palpation Sweep Animation */
@keyframes palpation-sweep-15s {
  0% { stroke-dashoffset: 88; }
  98% { stroke-dashoffset: 0; filter: drop-shadow(0 0 6px #2dd4bf); }
  100% { stroke-dashoffset: 88; filter: none; }
}

.palpation-arc-active {
  animation: palpation-sweep-15s 15s linear infinite;
}

/* ==========================================================================
   7. CLINICAL SEMANTIC ITALIC STYLING (THE SECOND VOICE & SAFETY)
   ========================================================================== */
.font-italic,
.italic-variety {
  font-style: italic;
}

/* Gene Symbols vs Protein Products */
.clinical-gene {
  font-style: italic;
  font-family: 'PocketGull Italic', 'PocketGull', sans-serif;
  color: #38bdf8;
  border-bottom: 1.5px dotted rgba(56, 189, 248, 0.5);
  cursor: help;
}

.clinical-protein {
  font-style: normal;
  font-weight: 700;
  font-family: 'PocketGull Bold', 'PocketGull', sans-serif;
  color: #e2e8f0;
}

/* Binomial Pathogen Taxonomy */
.clinical-pathogen {
  font-style: italic;
  font-family: 'PocketGull Italic', 'PocketGull', sans-serif;
  color: #f43f5e;
  letter-spacing: 0.02em;
}

/* Verbatim Patient Narrative Quotes */
.clinical-patient-quote {
  font-style: italic;
  font-family: 'PocketGull Italic', 'PocketGull', sans-serif;
  color: #fbbf24;
  border-left: 3px solid #f59e0b;
  padding-left: 0.75rem;
  margin: 0.5rem 0;
  display: block;
}

/* Prescriptive Latin Directives */
.clinical-directive {
  font-style: italic;
  font-family: 'PocketGull Italic', 'PocketGull', sans-serif;
  color: #a7f3d0;
  font-weight: 600;
}

/* Interactive Roman vs. Italic Comparator */
.italic-comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .italic-comparison-box {
    grid-template-columns: 1fr;
  }
}

/* Vestibular & Reduced Motion Accessibility (WCAG 2.2 Criterion 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  :focus-visible {
    animation: none !important;
    box-shadow: 0 0 0 3px #2dd4bf !important;
  }
  .philocardia-pacing-72,
  .philocardia-pacing-60,
  .philocardia-pacing-breath,
  .philocardia-pacing-sanctuary,
  .palpation-arc-active,
  .bio-sync-pulse,
  .bio-sync-glow,
  .ocular-rest-active {
    animation: none !important;
  }
}

/* ==========================================================================
   ECOLOGICAL REGENERATION & PLANETARY TELEMETRY SUITE
   - CARB: Carbon-Responsive Variable Font Axis (0 -> 100)
   - ss01: Regenerative Ink-Saving Spore Traps (-22% ink deposition)
   - ss12: Wildlife Sanctuary Dark Canopy (Zero Blue Light > 600nm)
   - ss15: Slow Typography Cognitive De-Escalation (Vagal 0.10 Hz Breathing)
   - calt: Ecological Contextual Alternates (IUCN Red List & Unit Badges)
   ========================================================================== */

:root {
  --eco-grid-carb: 0;
  --eco-solar-albd: 100;
}

/* Regenerative Ink-Saving Spore Traps (ss01) */
.eco-spore-traps {
  font-feature-settings: "ss01" 1, "zero" 1;
}

/* Wildlife Sanctuary Dark Canopy (ss12) — Low-photopic amber mode */
.eco-dark-canopy,
body.eco-dark-canopy {
  --teal-accent: #f59e0b !important;
  --text-main: #fbbf24 !important;
  background-color: #06080d !important;
  color: #f59e0b !important;
}
.eco-dark-canopy * {
  border-color: rgba(245, 158, 11, 0.25) !important;
}

/* Slow Typography Cognitive De-Escalation (ss15) */
.eco-slow-reading {
  font-feature-settings: "ss15" 1;
  letter-spacing: 0.04em !important;
  line-height: 1.85 !important;
  transition: letter-spacing 0.5s ease, line-height 0.5s ease;
}

/* Carbon-Responsive Grid Telemetry Styling */
[data-eco-grid="fossil"] {
  --eco-grid-carb: 92;
}
[data-eco-grid="balanced"] {
  --eco-grid-carb: 45;
}
[data-eco-grid="solar"] {
  --eco-grid-carb: 0;
}

/* IUCN Red List Badges styling */
.iucn-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1em 0.4em;
  font-size: 0.75em;
  font-weight: 800;
  font-family: monospace;
  border-radius: 4px;
  line-height: 1;
  letter-spacing: 0.05em;
  vertical-align: 0.1em;
  margin: 0 0.2em;
}
.iucn-badge-cr { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid #ef4444; }
.iucn-badge-en { background: rgba(249, 115, 22, 0.2); color: #f97316; border: 1px solid #f97316; }
.iucn-badge-vu { background: rgba(234, 179, 8, 0.2); color: #eab308; border: 1px solid #eab308; }
.iucn-badge-lc { background: rgba(34, 197, 94, 0.2); color: #22c55e; border: 1px solid #22c55e; }

/* ==========================================================================
   Zero-Registration Chromatic Layering Engine
   Exact 1000 UPM bounding box alignment across Fill, Halftone, Inline, Outline
   ========================================================================== */
.font-bold {
  font-family: 'PocketGull Bold', 'PocketGull', sans-serif !important;
  font-weight: 700 !important;
}

.font-outline {
  font-family: 'PocketGull Outline', 'PocketGull', sans-serif !important;
  font-weight: 400;
}

.font-inline {
  font-family: 'PocketGull Inline', 'PocketGull', sans-serif !important;
  font-weight: 700;
}

.font-halftone {
  font-family: 'PocketGull Halftone', 'PocketGull', sans-serif !important;
  font-weight: 400;
}

.chromatic-container {
  position: relative;
  display: inline-block;
  user-select: none;
  line-height: 1.1;
}

.chromatic-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  white-space: nowrap;
}

.chromatic-layer.layer-base {
  position: relative;
  pointer-events: auto;
}

/* ==========================================================================
   Specialized STEM, Education, Lab & Manufacturing Utilities
   ========================================================================== */
.font-algo {
  font-family: 'PocketGull Algo', 'PocketGull Mono', monospace !important;
  font-feature-settings: "calt" 1, "liga" 1;
}

.font-learn {
  font-family: 'PocketGull Learn', 'PocketGull', sans-serif !important;
}

.font-lab {
  font-family: 'PocketGull Lab', 'PocketGull', sans-serif !important;
  font-variant-numeric: tabular-nums;
}

.font-press {
  font-family: 'PocketGull Press', 'PocketGull', sans-serif !important;
}

/* ==========================================================================
   PocketGull Emoji — Humanist Clinical & Telemetry Monochromatic Glyphs
   WCAG 2.2 AAA Accessibility, Zero-CLS Metric Overrides & Screen Reader Support
   ========================================================================== */
@font-face {
  font-family: 'PocketGull Emoji';
  src: url('fonts/woff2/PocketGull-Emoji.woff2?v=3.100') format('woff2'),
       url('PocketGull-Emoji.woff2?v=3.100') format('woff2'),
       url('fonts/ttf/PocketGull-Emoji.ttf?v=3.100') format('truetype'),
       url('PocketGull-Emoji.ttf?v=3.100') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  ascent-override: 80%;
  descent-override: 20%;
  line-gap-override: 0%;
  unicode-range: U+1F48A, U+1F489, U+1FA78, U+1FAC0, U+1FAC1, U+1F691, U+1FA7A, U+1F3E5, U+1F6A8, U+1F600-1F64F, U+1F441, U+1F44D, U+1F44E, U+1F50B, U+1F4E1, U+1F514, U+1F50D;
}

.font-emoji, .pg-emoji {
  font-family: 'PocketGull Emoji', 'PocketGull Mono', monospace !important;
  font-feature-settings: "calt" 1, "liga" 1;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  vertical-align: middle;
}

/* Scotopic 650nm Night Vision Theme (WCAG AAA >= 7:1 Contrast, Zero Rhodopsin Bleaching) */
.pg-scotopic {
  background-color: #050000 !important;
  color: #ff2211 !important;
  border-color: #991100 !important;
}

.pg-scotopic .pg-emoji {
  color: #ff3322 !important;
}

/* Expert S: Global Sign & ASL Manual Fingerspelling */
@font-face {
  font-family: 'PocketGull Sign';
  src: url('fonts/woff2/PocketGull-Sign.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-Sign.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-Sign.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-Sign.ttf?v=3.3.0') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  ascent-override: 80%;
  descent-override: 20%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'PocketGull ASL';
  src: url('fonts/woff2/PocketGull-ASL.woff2?v=3.3.0') format('woff2'),
       url('PocketGull-ASL.woff2?v=3.3.0') format('woff2'),
       url('fonts/ttf/PocketGull-ASL.ttf?v=3.3.0') format('truetype'),
       url('PocketGull-ASL.ttf?v=3.3.0') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  ascent-override: 80%;
  descent-override: 20%;
  line-gap-override: 0%;
}

.font-sign, .pg-sign, .pg-asl {
  font-family: 'PocketGull Sign', 'PocketGull ASL', monospace !important;
  display: inline-block;
  vertical-align: middle;
  letter-spacing: 0.08em;
}

/* Expert S.1: PocketGull Sign VF (Continuous 4-Axis Variable Manual & Telemetry Engine) */
@font-face {
  font-family: 'PocketGull Sign VF';
  src: url('fonts/woff2/PocketGull-Sign-VF.woff2?v=3.3.0') format('woff2-variations'),
       url('PocketGull-Sign-VF.woff2?v=3.3.0') format('woff2-variations'),
       url('fonts/ttf/PocketGull-Sign-VF.ttf?v=3.3.0') format('truetype-variations'),
       url('PocketGull-Sign-VF.ttf?v=3.3.0') format('truetype-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  ascent-override: 80%;
  descent-override: 20%;
  line-gap-override: 0%;
}

.font-sign-vf {
  font-family: 'PocketGull Sign VF', 'PocketGull Sign', 'PocketGull ASL', monospace !important;
  display: inline-block;
  vertical-align: middle;
  letter-spacing: 0.08em;
  font-variation-settings: 'MRPH' 0, 'wght' 400, 'opsz' 36, 'AZIM' 0;
}

/* Multi-Paradigm Healthcare & Clinical OpenType Suite */
.font-paradigm-allopathic {
  font-family: 'PocketGull', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-feature-settings: "zero" 1, "cv08" 1, "cv05" 1, "ss02" 1, "cv11" 1, "tnum" 1, "frac" 1 !important;
  font-variant-numeric: tabular-nums slashed-zero diagonal-fractions !important;
}

.font-paradigm-ayurvedic {
  font-family: 'PocketGull', sans-serif !important;
  font-feature-settings: "mark" 1, "mkmk" 1, "dev2" 1, "blwf" 1, "abvf" 1 !important;
  line-height: 1.7 !important;
}

.font-paradigm-tcm {
  font-family: 'PocketGull', sans-serif !important;
  font-feature-settings: "dlig" 1, "calt" 1, "palt" 0 !important;
  line-height: 1.65 !important;
}

.font-paradigm-osteopathic {
  font-family: 'PocketGull', 'PocketGull Mono', monospace, sans-serif !important;
  font-feature-settings: "ss02" 1, "tnum" 1, "case" 1 !important;
}

.font-paradigm-homeopathic {
  font-family: 'PocketGull', 'PocketGull Math', serif, sans-serif !important;
  font-feature-settings: "sinf" 1, "subs" 1, "sups" 1 !important;
}

.font-pocketgull-chem-formula {
  font-family: 'PocketGull Chem', 'PocketGull Math', 'PocketGull Mono', monospace !important;
  font-feature-settings: "sinf" 1, "subs" 1, "calt" 1, "tnum" 1 !important;
}

.font-parasympathetic-breathing {
  font-family: 'PocketGull VF', sans-serif !important;
  animation: parasympatheticPacing 10s ease-in-out infinite;
}

@keyframes parasympatheticPacing {
  0%, 100% { font-variation-settings: 'wght' 400, 'opsz' 14; }
  40%      { font-variation-settings: 'wght' 440, 'opsz' 15.5; }
}

@media (prefers-reduced-motion: reduce) {
  .font-parasympathetic-breathing {
    animation: none !important;
    font-variation-settings: 'wght' 400, 'opsz' 14 !important;
  }
}


