/* Interiorisme TGN · «A medida» — tokens.
   Tipos autoalojados: Unbounded (titulares, eco del logo grueso en minúsculas), Hanken Grotesk (texto),
   JetBrains Mono (cotas, etiquetas, números). Ñ, Ç, l·l y acentos ES/CA en el subconjunto latin. */

@font-face {
  font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/fonts/unbounded-latin.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: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/fonts/unbounded-ext.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: "Hanken Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/fonts/hanken-latin.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: "Hanken Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/fonts/hanken-ext.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: "Hanken Grotesk"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("/fonts/hanken-italic-latin.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: 400 600; font-display: swap;
  src: url("/fonts/mono-latin.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: 400 600; font-display: swap;
  src: url("/fonts/mono-ext.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;
}

:root {
  /* Color: blanco de obra, tinta, y un único acento «azul plano» (planos técnicos, cotas) */
  --paper: #ffffff;
  --paper-2: #f3f3f0;
  --ink: #121212;
  --ink-2: #5a5a55;
  --line: rgba(18, 18, 18, 0.14);
  --line-strong: rgba(18, 18, 18, 0.32);
  --blue: #1d3bd1;
  --blue-deep: #13289a;
  --on-blue: #ffffff;
  --on-blue-2: rgba(255, 255, 255, 0.72);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad: clamp(16px, 4.2vw, 64px);
  --gap: clamp(16px, 2vw, 28px);
  --header-h: 76px;
  --max: 1600px;

  --t-hero-a: clamp(1.55rem, 4.1vw, 4.9rem);
  --t-hero-b: clamp(2.5rem, 11.6vw, 15rem);
  --t-h1: clamp(2.3rem, 6.6vw, 7.2rem);
  --t-h2: clamp(1.8rem, 4.2vw, 4.4rem);
  --t-h3: clamp(1.15rem, 1.9vw, 1.7rem);
  --t-big: clamp(1.45rem, 3.1vw, 3.1rem);
  --t-lead: clamp(1.08rem, 1.45vw, 1.35rem);
  --t-body: clamp(1rem, 1.05vw, 1.08rem);
  --t-mono: 0.74rem;

  /* Movimiento: medir y encajar. Rápido al principio, se asienta con precisión (sin rebotes) */
  --ease-snap: cubic-bezier(0.76, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.9s;

  --corner: clamp(12px, 1.4vw, 20px);
  --corner-w: 2px;
}
