@font-face { font-family: 'Paperlogy'; src: url('../fonts/Paperlogy-3Light.woff2?v=20261203') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('../fonts/Paperlogy-4Regular.woff2?v=20261203') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('../fonts/Paperlogy-5Medium.woff2?v=20261203') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('../fonts/Paperlogy-6SemiBold.woff2?v=20261203') format('woff2'); font-weight: 600; font-display: swap; }
/* English letters inside Korean serif text (meanings, notes, guides) use Paperlogy too, so every English word on a page looks the same. */
@font-face { font-family: 'Paperlogy Latin'; src: url('../fonts/Paperlogy-3Light.woff2?v=20261203') format('woff2'); font-weight: 300; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2032-2033; }
@font-face { font-family: 'Paperlogy Latin'; src: url('../fonts/Paperlogy-4Regular.woff2?v=20261203') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2032-2033; }
@font-face { font-family: 'Paperlogy Latin'; src: url('../fonts/Paperlogy-5Medium.woff2?v=20261203') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2032-2033; }
@font-face { font-family: 'Paperlogy Latin'; src: url('../fonts/Paperlogy-6SemiBold.woff2?v=20261203') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2032-2033; }
:root {
  --bg: #F8EED8;
  --card: #FCF6E8;
  --border: #E8DCC0;
  --blue: #6B91C5;
  --blue-dark: #3A5069;
  --blue-light: #AFC5DE;
  --mustard: #E1B852;
  --terracotta: #B1583F;
  --terracotta-light: #F2D6CB;
  --sage: #7FA37A;
  --sage-light: #DDE8D6;
  --blue-pale: #D3E0EE; /* Part 5 talk sample: Sam's line */
  --text: #2A3447;
  --text-sub: #5A6477;
  --sage-dark: #3F6B3A;
  --white: #FFFFFF;
  --black: #000000; /* only for mixing darker shades (color-mix) */
  --star-off: #857a72; /* off star, 3:1+ on the light result card */
  --star-on: #a87400; /* deep gold star, 3.4:1 */
  /* talking-face rig (web/js/face.js), sampled from the close-up art */
  --face-eye: #FBF6EC;
  --face-ink: #141414;
  --face-tongue: #C9584A;
  --emma-lip: #B8473E;
  --emma-mouth: #6B2A22;
  --sam-lip: #2A1A14;
  --sam-mouth: #5A1E18;
  --radius-btn: 16px;
  --radius-panel: 24px; /* panels: picture box, word panel, cards */
  --radius-sm: 12px; /* small things: flap, chips, rows */
  --radius-card: 24px;
  --tap: 56px;
  /* Paperlogy: titles, buttons, English words. Gowun Batang: Korean meanings and prose. */
  --font-ko: 'Paperlogy', -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --font-en: 'Paperlogy', -apple-system, sans-serif;
  --font-serif: 'Paperlogy Latin', 'Gowun Batang', 'AppleMyungjo', serif;
  --shadow: 0 1px 2px rgba(42, 52, 71, .06), 0 8px 24px rgba(42, 52, 71, .07);
  --space: 16px;
  /* design pass: one scale for type, radius, space, motion, depth */
  --t-xs: 13px; --t-sm: 16px; --t-md: 20px; --t-lg: 26px; --t-xl: 34px; --t-2xl: 48px;
  --r-sm: 12px; --r-md: 12px; --r-lg: 24px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px; --s-12: 48px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur-1: 240ms; --dur-2: 360ms;
  /* v3: light stage, one saturated colour per part, soft glossy beads */
  --v3-bg: #F4F5F8;
  --ink: #14161C;
  --p1a: #BC4100; --p1b: #C8300F;
  --p2a: #7C3DFF; --p2b: #6C3FE4;
  --p3a: #1D786C; --p3b: #0E7870;
  --p4a: #3C4F8F; --p4b: #1B2550;
  --p5a: #876500; --p5b: #A15700;
  --bead-pink: #FF6FA8; --bead-violet: #7E5DFF; --bead-yellow: #FFD54F; --bead-white: #F6F7FB;
  --lift: inset 0 1px 0 var(--white), 0 12px 32px -12px rgba(92, 64, 36, .18);
}
