/* Guitar Lab design tokens. Two themes: "escenario" (dark default) and "aula" (light, for projectors). */

@font-face {
  font-family: "Funnel Display";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/funnel-display-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: "Funnel Display";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/funnel-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Funnel Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/funnel-sans-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: "Funnel Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/funnel-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Type */
  --font-display: "Funnel Display", "Segoe UI", system-ui, sans-serif;
  --font-ui: "Funnel Sans", "Segoe UI", system-ui, sans-serif;
  --t-small: 0.9375rem;   /* 15px: labels, meta */
  --t-body: 1.125rem;     /* 18px: everything a student reads */
  --t-title: 1.75rem;     /* 28px: names, row heads */
  --t-chord: clamp(5.5rem, 4rem + 5vw, 8.5rem);

  /* Space (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --gutter: clamp(16px, 3vw, 40px);

  /* Shape */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur: 240ms;

  --tap: 48px;
}

:root[data-theme="escenario"] {
  color-scheme: dark;
  --bg: #111317;
  --surface: #1c1f26;
  --surface-2: #262a33;
  --ink: #f2f2ee;
  --ink-2: #b6bac3;
  --line: rgb(242 242 238 / 0.11);
  --line-strong: rgb(242 242 238 / 0.28);
  --accent: #ffc857;
  --accent-ink: #1d1606;
  --focus: #ffc857;
  --accent-edge: #ffc857;
  --shadow: 0 18px 40px -18px rgb(0 0 0 / 0.7), 0 2px 6px rgb(0 0 0 / 0.35);
  --finger-1: #5cc8f0;
  --finger-2: #7fe09a;
  --finger-3: #ff7eb3;
  --finger-4: #ff9a4d;
  --on-finger: #111317;
  --dim: 0.5;
}

:root[data-theme="aula"] {
  color-scheme: light;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #e8eaee;
  --ink: #111317;
  --ink-2: #474c56;
  --line: rgb(17 19 23 / 0.12);
  --line-strong: rgb(17 19 23 / 0.32);
  --accent: #ffc857;
  --accent-ink: #1d1606;
  --focus: #b07a00;
  --accent-edge: #c08a00;
  --shadow: 0 16px 34px -18px rgb(17 19 23 / 0.35), 0 2px 6px rgb(17 19 23 / 0.08);
  --finger-1: #0b84bd;
  --finger-2: #17883f;
  --finger-3: #c92f73;
  --finger-4: #d45f0b;
  --on-finger: #ffffff;
  --dim: 0.45;
}
