/* ============================================================
   DigitalNasi theme — fonts + design tokens (dark & light)
   Self-hosted variable fonts: no third-party requests (GDPR-friendly).
   ============================================================ */

@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/archivo-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('../fonts/instrument-sans-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
}

:root {
  color-scheme: dark;

  --bg: #060606;
  --bg-panel: #0e0e0e;
  --bg-raise: #0c0c0c;
  --ink: #f4f4f2;
  --muted: #8f8d88;
  --line: rgba(244, 244, 242, 0.12);
  --line-soft: rgba(244, 244, 242, 0.05);
  --accent: #fc460c;
  --accent-bright: #ff5a24;
  --accent-ink: #0a0a0a;

  --stroke: rgba(244, 244, 242, 0.28);
  --dot: #2a2a2a;
  --noise-o: 0.035;
  --nav-bg: rgba(6, 6, 6, 0.72);
  --thumb: #1e1e1e;
  --thumb-hover: #2c2c2c;
  --card-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --card-grad: linear-gradient(160deg, #121212 0%, #0a0a0a 62%);
  --photo-o: 0.55;
  --photo-blend: normal;
  --photo-fade-a: rgba(6, 6, 6, 0.42);
  --photo-fade-b: rgba(6, 6, 6, 0.8);

  --font-display: 'Archivo Variable', 'Archivo', 'Helvetica Neue', sans-serif;
  --font-body: 'Instrument Sans Variable', 'Instrument Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace, monospace;

  --pad: clamp(20px, 4.5vw, 72px);
  --section-y: clamp(96px, 14vh, 168px);
  --nav-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

html[data-theme=light], html.is-light {
  color-scheme: light;

  --bg: #f5f3ef;
  --bg-panel: #ffffff;
  --bg-raise: #fbfaf7;
  --ink: #141412;
  --muted: #6e6b66;
  --line: rgba(20, 20, 18, 0.14);
  --line-soft: rgba(20, 20, 18, 0.06);
  --accent-bright: #e63a05;
  --accent-ink: #ffffff;

  --stroke: rgba(20, 20, 18, 0.26);
  --dot: #cfcac0;
  --noise-o: 0.035;
  --nav-bg: rgba(245, 243, 239, 0.8);
  --thumb: #d9d4ca;
  --thumb-hover: #c6c0b4;
  --card-shadow: 0 24px 60px rgba(20, 20, 18, 0.1);
  --card-grad: linear-gradient(160deg, #ffffff 0%, #f1efe9 62%);
  --photo-o: 0.42;
  --photo-blend: normal;
  --photo-fade-a: rgba(245, 243, 239, 0.35);
  --photo-fade-b: rgba(245, 243, 239, 0.72);
}
