/* ==========================================================================
   Pajajaran Physical Society — design tokens
   Font: Glacial Indifference (isi), Quicksand (label/UI), Raleway (editorial),
         Nexa (display; hanya dipakai jika terpasang di perangkat — lihat README)
   ========================================================================== */

@font-face { font-family: "Glacial Indifference"; src: url("../fonts/glacial-indifference-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Glacial Indifference"; src: url("../fonts/glacial-indifference-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Glacial Indifference"; src: url("../fonts/glacial-indifference-400italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* Nexa tidak dapat didistribusikan bersama proyek ini (lisensi). Jika terpasang
   di perangkat pembaca ia dipakai; jika tidak, Raleway 800 menjadi pengganti. */
@font-face { font-family: "Nexa"; src: local("Nexa Bold"), local("Nexa-Bold"), local("Nexa Heavy"), local("Nexa Black"); font-weight: 700 900; font-display: swap; }

:root {
  /* Palet resmi (RGB) */
  --orange: rgb(255, 150, 0);
  --dark: rgb(25, 25, 25);
  --gray: rgb(230, 230, 230);
  --sky: rgb(45, 170, 225);
  --deep: rgb(0, 70, 125);
  --white: rgb(255, 255, 255);

  /* Turunan netral */
  --dark-2: rgb(33, 33, 36);
  --dark-3: rgb(46, 46, 51);
  --ink: var(--dark);
  --ink-soft: rgb(78, 78, 86);        /* ≥ 7:1 di atas putih */
  --ink-faint: rgb(120, 120, 128);
  --paper: var(--white);
  --paper-2: rgb(244, 244, 245);
  --on-dark: var(--gray);
  --on-dark-soft: rgb(170, 172, 178);  /* ≥ 7:1 di atas --dark */

  --line-dark: rgba(230, 230, 230, .14);
  --line-dark-strong: rgba(230, 230, 230, .28);
  --line-light: rgba(25, 25, 25, .12);
  --line-light-strong: rgba(25, 25, 25, .28);

  --orange-glow: rgba(255, 150, 0, .35);
  --sky-glow: rgba(45, 170, 225, .30);

  /* Tipografi */
  --f-display: "Nexa", "Raleway", "Glacial Indifference", system-ui, sans-serif;
  --f-head: "Raleway", "Glacial Indifference", system-ui, sans-serif;
  --f-body: "Glacial Indifference", "Quicksand", "Raleway", system-ui, sans-serif;
  --f-ui: "Quicksand", "Glacial Indifference", system-ui, sans-serif;
  --f-math: "Cambria Math", "STIX Two Math", "Latin Modern Math", "Noto Serif", "Times New Roman", serif;

  /* Ukuran fluid */
  --fs-hero: clamp(2.9rem, 1.2rem + 7.2vw, 7.4rem);
  --fs-h1: clamp(2.4rem, 1.3rem + 4.4vw, 5rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2.4vw, 3.1rem);
  --fs-h3: clamp(1.25rem, 1.05rem + .8vw, 1.7rem);
  --fs-lead: clamp(1.15rem, 1.02rem + .5vw, 1.45rem);
  --fs-body: clamp(1.05rem, 1rem + .2vw, 1.18rem);
  --fs-small: .92rem;
  --fs-label: .75rem;

  /* Layout */
  --gutter: clamp(20px, 4.4vw, 64px);
  --maxw: 1320px;
  --header-h: 76px;
  --radius: 4px;
  --radius-lg: 10px;

  /* Gerak */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .18s;
  --t-med: .45s;
  --t-slow: .9s;
}
