/* PECKE · Design Tokens
   Identidad PECKE (Archivo Narrow + Source Sans 3 locales)
   Arquitectura de marco, notch y ritmo editorial inspirada en GREYMAC */

@font-face {
  font-family: "Archivo Narrow";
  src: url("../fonts/archivo-narrow-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  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: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  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: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  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: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  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: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  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;
}

:root {
  /* Superficies y tinta */
  --bezel: #000000;
  --paper: #EEF2F4;
  --paper-dim: #E4EAEE;
  --paper-deep: #D6DFE4;
  --ink: #121B22;
  --ink-soft: #1B2730;
  --ink-deep: #0B1116;
  --accent: #0B4554;
  --accent-soft: #9FE2E8;
  --muted: #52646F;
  --muted-on-ink: #A3B3BD;

  /* Trazos */
  --line: rgba(18, 27, 34, 0.14);
  --line-strong: rgba(18, 27, 34, 0.28);
  --line-on-ink: rgba(238, 242, 244, 0.14);
  --line-on-ink-strong: rgba(238, 242, 244, 0.34);

  /* Tipografía */
  --font-display: "Archivo Narrow", "Oswald", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-mega: clamp(3.4rem, 9.2vw, 8.8rem);
  --fs-display: clamp(2.8rem, 6.4vw, 6rem);
  --fs-h2: clamp(2.1rem, 4.2vw, 3.75rem);
  --fs-quote: clamp(1.85rem, 3.5vw, 3.1rem);
  --fs-h3: clamp(1.35rem, 1.05rem + 0.8vw, 1.85rem);
  --fs-lead: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem);
  --fs-body: clamp(1rem, 0.95rem + 0.18vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --lh-display: 0.9;
  --lh-heading: 0.98;
  --lh-body: 1.52;

  --tracking-label: 0.16em;
  --tracking-wide: 0.06em;

  /* Marco y geometría GREYMAC */
  --container: 1400px;
  --gutter: clamp(18px, 3vw, 40px);
  --grid-gap: clamp(16px, 2vw, 28px);
  --frame-inset: 8px;
  --radius-frame: 22px;
  --radius-sheet: 28px;
  --radius-card: 16px;
  --notch-h: 38px;
  --header-h: 64px;

  /* Movimiento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 300ms;
  --dur-slow: 560ms;
  --dur-page: 380ms;
}

@media (min-width: 768px) {
  :root {
    --frame-inset: 14px;
    --radius-frame: 32px;
    --radius-sheet: 44px;
    --radius-card: 20px;
    --notch-h: 40px;
  }
}
