/* ── fonts (self-hosted, latin + latin-ext for Turkish) ─────────────────── */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(../assets/font/barlow-latin-400-normal.woff2) format('woff2'); 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+2190-2199, U+2212; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(../assets/font/barlow-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-0130, U+0132-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(../assets/font/barlow-latin-500-normal.woff2) format('woff2'); 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+2190-2199, U+2212; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(../assets/font/barlow-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-0130, U+0132-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(../assets/font/barlow-latin-600-normal.woff2) format('woff2'); 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+2190-2199, U+2212; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(../assets/font/barlow-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-0130, U+0132-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url(../assets/font/barlow-latin-700-normal.woff2) format('woff2'); 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+2190-2199, U+2212; }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url(../assets/font/barlow-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-0130, U+0132-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(../assets/font/barlow-condensed-latin-600-normal.woff2) format('woff2'); 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+2190-2199, U+2212; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(../assets/font/barlow-condensed-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-0130, U+0132-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(../assets/font/barlow-condensed-latin-700-normal.woff2) format('woff2'); 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+2190-2199, U+2212; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(../assets/font/barlow-condensed-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-0130, U+0132-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 800; font-display: swap; src: url(../assets/font/barlow-condensed-latin-800-italic.woff2) format('woff2'); 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+2190-2199, U+2212; }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 800; font-display: swap; src: url(../assets/font/barlow-condensed-latin-ext-800-italic.woff2) format('woff2'); unicode-range: U+0100-0130, U+0132-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0; }

:root {
  color-scheme: dark;

  /* primitives: the vorty.dev night and violet from the L1 plate logo */
  --night-1000: #050304;
  --night-950: #0a0709;
  --night-900: #0e0a0c;
  --night-850: #140e11;
  --night-800: #1a1216;
  --night-700: #241a1e;
  --night-600: #33242a;
  --lilac-50: #fff3f4;
  --lilac-200: #e8d3d7;
  --lilac-400: #b49aa0;
  --violet-300: #ff8098;
  --violet-400: #ff3358;
  --violet-500: #e61e48;
  --violet-600: #c8143c;
  --mint-400: #3ee6b0;
  --coral-400: #ff5a6e;

  /* semantic */
  --bg: var(--night-950);
  --bg-sunk: var(--night-1000);
  --bg-raised: var(--night-900);
  --surface: var(--night-850);
  --surface-2: var(--night-800);
  --surface-3: var(--night-700);
  --glass: rgba(40, 14, 22, .58);
  --glass-strong: rgba(30, 10, 16, .86);
  --line: rgba(243, 205, 212, .10);
  --line-2: rgba(243, 205, 212, .18);
  --line-3: rgba(243, 205, 212, .32);
  --text: var(--lilac-50);       /* 18.3:1 on --bg */
  --text-2: var(--lilac-200);    /* 12.4:1 on --bg */
  --text-3: var(--lilac-400);    /*  7.4:1 on --bg, 6.6:1 on --surface-3 */
  --brand: var(--violet-400);
  --brand-2: var(--violet-300);
  --on-accent: #170508;          /* ink on any product accent: 5.4:1 or better */
  --success: var(--mint-400);
  --danger: var(--coral-400);
  --accent: var(--brand);        /* each product overrides this */

  /* type */
  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'SF Mono', Consolas, monospace;
  --fs-display: clamp(60px, 9.4vw, 150px);
  --fs-h2: clamp(46px, 6.6vw, 96px);
  --fs-h3: clamp(20px, 1.6vw, 23px);
  --fs-lead: clamp(17px, 1.35vw, 19px);
  --fs-body: 17px;
  --fs-small: 14.5px;
  --fs-label: 13px;

  /* layout */
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1240px;
  --section: clamp(72px, 8.5vw, 120px);
  --cut: 14px;               /* the plate's chamfer, top-left and bottom-right like the logo */
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 30px;
  --nav-h: 62px;

  /* motion: replaced at start-up by spring curves from js/motion.js */
  --spring: cubic-bezier(.2, .8, .2, 1);
  --spring-ms: 450ms;
  --spring-bounce: cubic-bezier(.3, 1.3, .5, 1);
  --spring-bounce-ms: 500ms;
  --spring-fast: cubic-bezier(.2, .8, .2, 1);
  --spring-fast-ms: 300ms;
}

@media (prefers-contrast: more) {
  :root {
    --text-2: #ffe6ea;
    --text-3: #e8d3d7;
    --line: rgba(243, 205, 212, .28);
    --line-2: rgba(243, 205, 212, .4);
    --glass: rgba(30, 10, 16, .96);
    --glass-strong: rgba(22, 8, 12, .98);
  }
}
