/* Design tokens — measured from the live Framer site.
   Breakpoints (used in media queries, can't be vars):
   mobile < 810px · tablet 810–1439px · desktop ≥ 1440px */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour */
  --color-bg: #fff;
  --color-fg: #000;
  --color-text: #111;
  --color-muted: #999;
  --color-border: rgba(34, 34, 34, 0.6);
  --color-hover-bg: #000;
  --color-hover-fg: #fff;

  /* Type — Inter at its display optical size replaces "Inter Display" */
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-opsz: "opsz" 32;

  --text-ui-size: 14px;          /* nav, rows, meta, body */
  --text-ui-line: 17px;
  --text-ui-weight: 600;
  --text-ui-tracking: 0.1px;

  --text-title-size: 49px;       /* page H1 */
  --text-title-line: 50.6px;
  --text-title-weight: 500;
  --text-title-tracking: -0.8px;

  --text-logo-size: 22px;        /* "Nuria Quero" */
  --text-logo-line: 26.4px;
  --text-logo-weight: 500;
  --text-logo-tracking: -0.3px;

  /* Spacing */
  --gutter: 24px;                /* page side margin */
  --header-height: 90px;
  --content-width: 66%;          /* right-hand column on desktop */
  --row-height: 64px;            /* project list row */
  --row-pad-x: 10px;

  /* Lines */
  --border-row: 1px dashed var(--color-border);

  /* Motion — Framer's springs, converted to CSS linear() curves */
  --ease-roll: cubic-bezier(0.82, 0.08, 0.29, 1);       /* nav letter roll, 400ms tween */
  --dur-roll: 400ms;
  --roll-stagger: 0.55;
  /* spring: duration .4, bounce .2 (row fill, row fade-in) */
  --ease-spring: linear(0, 0.0969, 0.2915, 0.4974, 0.6739, 0.8077, 0.8999, 0.958, 0.9912, 1.0075, 1.0135, 1.0141, 1.012, 1.009, 1.0062, 1.0039, 1.0022, 1.0011, 1.0004, 1, 1);
  --dur-spring: 400ms;
  /* spring: stiffness 300, damping 60 (heading rise) */
  --ease-rise: linear(0, 0.2005, 0.4174, 0.5763, 0.6928, 0.7773, 0.8385, 0.8829, 0.9151, 0.9383, 0.9552, 0.9675, 0.9765, 0.9829, 0.9876, 0.991, 0.9935, 0.9953, 0.9966, 0.9975, 0.9982, 0.9987, 0.9991, 0.9993, 1);
  --dur-rise: 1400ms;
  --delay-rise: 300ms;
  --rise-distance: 45px;
}

@media (max-width: 1439.98px) {
  :root {
    --content-width: 100%;
  }
}

@media (max-width: 809.98px) {
  :root {
    --gutter: 10px;
    --row-height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-roll: 0ms;
    --dur-spring: 0ms;
    --dur-rise: 0ms;
    --delay-rise: 0ms;
  }
}
