/* ================= TYPE SYSTEM =================
   The same Google Fonts, bundled with the site (assets/fonts) so they always load:
   locally, offline, behind blockers, and on any host. All are SIL Open Font License.

   Unbounded  — display. Wide, geometric, with the confidence of a sci-fi title card:
                hero line, chapter titles, project names, captions, big numbers.
   Manrope    — text. Clean and technical, comfortable at reading sizes.
   JetBrains Mono — code and measured values only.
   STIX Two Text italic — mathematics (the ORBITUNE equation).

   Unbounded runs wide, so display sizes sit one step smaller than a narrow face
   would, with tighter tracking at large sizes and normal tracking at small ones. */

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/unbounded-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/unbounded-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-greek-wght-normal.woff2') format('woff2');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'STIX Two Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/stix-two-text-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'STIX Two Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/stix-two-text-greek-400-italic.woff2') format('woff2');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

body {
  font-family: var(--sans);
  letter-spacing: -0.005em;
}

/* ---------- display ---------- */
.hero__title,
.chapter__title,
.card__name,
.sheet__title,
.contact__title,
.dive__cap,
.intro__cap,
.questions h3,
.archive h3,
.results b,
.card__results b,
.badge .score,
.mini-stats b,
.nav__mark,
.no-webgl .hero__stage {
  font-family: var(--display);
  font-feature-settings: 'kern' 1;
}

.hero__title {
  font-size: clamp(27px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 21ch;
}
.chapter__title {
  font-size: clamp(28px, 3.9vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.card__name {
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.sheet__title {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.card__results b {
  font-size: clamp(20px, 1.75vw, 25px);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.card__results b.is-long {
  font-size: clamp(16px, 1.3vw, 18px);
}
.contact__title {
  font-size: clamp(32px, 6vw, 88px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.dive__cap {
  font-size: clamp(26px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  width: min(92vw, 17ch);
}
.intro__cap {
  font-size: clamp(22px, 3.1vw, 46px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.025em;
  width: min(90vw, 21ch);
}
.questions h3,
.archive h3 {
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.results b {
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.results b.is-long {
  font-size: clamp(16px, 1.45vw, 21px);
}
.badge .score {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.mini-stats b {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.nav__mark {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.no-webgl .hero__stage {
  font-weight: 600;
  letter-spacing: -0.04em;
}

/* ---------- text ---------- */
.attn__text {
  font-family: var(--sans);
  font-size: clamp(25px, 3.1vw, 43px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.03em;
}
.hero__sub,
.chapter__intro,
.card__line,
.sheet__line,
.questions p,
.contact__sub {
  letter-spacing: -0.012em;
}
.card__line,
.sheet__line {
  font-weight: 500;
}
.ckpt h3,
.archive strong,
.badge b {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sp h4,
.space__side h4,
.ask__trace h3,
.log__chart h3,
.spec dt {
  font-weight: 700;
}
.btn,
.seg button {
  font-weight: 600;
  letter-spacing: -0.005em;
}
.chip {
  font-weight: 500;
}

/* ---------- opening frame ---------- */
.intro__cta {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ---------- code & values ---------- */
.mono,
.readout__steps,
.ckpt time,
.orbit__read dd,
.trace__q span {
  font-family: var(--mono);
  font-feature-settings: 'zero' 0, 'calt' 0;
}
