/* Dinamia brand (Manual de identidad v2, noviembre 2026), shared by the interview page, the team pages
   and the summary and report. Fonts are served from /fonts (SIL OFL, copied from Fontsource), so no page
   calls Google.

   Colour: Wild Sand base, Mirage text and dark pieces, Deep Sea sections, Blaze as the single accent.
   Blaze is never text on a light background (use --blaze-text) and never touches Deep Sea.
   Type: Funnel Display for headlines (300 large, 400 below 24 px), Instrument Serif italic for one key
   word per headline and the «ia» of the logo, Instrument Sans for everything else. */

@font-face {
  font-family: "Funnel Display";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(/fonts/funnel-display-latin-wght-normal.woff2) format("woff2-variations"), url(/fonts/funnel-display-latin-wght-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2-variations"), url(/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/instrument-serif-latin-400-italic.woff2) format("woff2");
}

:root {
  --wild-sand: #e4eef0;
  --mirage: #16232a;
  --deep-sea: #075056;
  --blaze: #ff5b04;
  /* Blaze as text on light backgrounds (Blaze itself is 2.6:1 there). */
  --blaze-text: #b83700;
  /* Blaze as text on Mirage, like the italic word in dark pieces. */
  --blaze-soft: #ff9f66;
  --font-display: "Funnel Display", "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* The wordmark: «dinam» in Funnel Display 500, «ia» in Instrument Serif italic at 116%, and a Blaze dot
   over a dotless ı that never touches the letter. Positive (Mirage) on light, negative (Wild Sand) on dark. */
.logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mirage);
  white-space: nowrap;
  text-decoration: none;
}
.logo.negativo { color: var(--wild-sand); }
.logo .ia { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.16em; letter-spacing: 0; }
.logo .i { position: relative; }
.logo .i::after {
  content: "";
  position: absolute;
  left: var(--punto-x, 0.16em);
  top: var(--punto-y, 0.07em);
  width: 0.17em;
  height: 0.17em;
  border-radius: 50%;
  background: var(--blaze);
}

/* The isotipo «ia», alone: avatar, seal, favicon. */
.isotipo { font-family: var(--font-serif); font-style: italic; font-weight: 400; line-height: 1; letter-spacing: 0; }
.isotipo .i { position: relative; }
.isotipo .i::after {
  content: "";
  position: absolute;
  left: var(--punto-x, 0.16em);
  top: var(--punto-y, 0.07em);
  width: 0.17em;
  height: 0.17em;
  border-radius: 50%;
  background: var(--blaze);
}

/* The line: a tangle that comes loose and ends straight in the dot. Closes a page or a card. */
.linea { display: block; width: 100%; max-width: 280px; height: auto; overflow: visible; }
.linea .enredo { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.linea .recta { stroke: var(--blaze); stroke-width: 1.6; stroke-linecap: round; }
.linea .punto { fill: var(--blaze); }

/* One key word per headline, in the serif italic. */
.acento { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
