/* Improto's colours (APP_THEME=improto, the demo; see pages/layout.ts),
   from its logo (docs/brand/improto): the aubergine of the wordmark for
   text, a deep petrol from the crown for links and buttons, paper for the
   page. Shows take a plum, darker than the accent so a show isn't a
   button; trainings a green, other events the logo's mustard (dark mode).
   Dark mode is the logo's dark ground: the icon's aubergine for boxes on a
   deeper one. Loaded after style.css and only overrides its colour tokens,
   light and dark in the same three blocks.

   Its display font is Outfit SemiBold (SIL Open Font License, see
   improto/OFL-outfit.txt), the logo's typeface, instead of our League
   Gothic: a round geometric sans, much wider, so the headings are smaller
   and not in capitals. The header shows the logo itself (improto/logo-*.svg,
   pages/layout.ts) instead of the name in letters. */
@font-face {
  font-family: 'Outfit';
  src: url('/themes/improto/display.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
:root {
  --display: 'Outfit', system-ui, sans-serif;
  --bg: #fff7ea;
  --fg: #2b1736;
  --muted: #6b5874;
  --accent: #0e6e6a;
  --accent-fg: #ffffff;
  --brand: #2b1736;
  --kind-show: #7a2e68;
  --green: #4a7426;
  --green-soft: #eaf2df;
  --gold: #8a5d00;
  --gold-soft: #fcefc8;
  --card: #ffffff;
  --border: #d9c2a4;
  --highlight: #f5b700;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #1a0f21;
    --fg: #fff7ea;
    --muted: #c3b2ca;
    --accent: #35b8a6;
    --accent-fg: #1a0f21;
    --brand: #fff7ea;
    --kind-show: #e59bd6;
    --green: #9ccb6e;
    --green-soft: #1e2a16;
    --gold: #f5b700;
    --gold-soft: #2e2410;
    --card: #2b1736;
    --border: #4e3a5a;
  }
}
:root[data-theme='dark'] {
  --bg: #1a0f21;
  --fg: #fff7ea;
  --muted: #c3b2ca;
  --accent: #35b8a6;
  --accent-fg: #1a0f21;
  --brand: #fff7ea;
  --kind-show: #e59bd6;
  --green: #9ccb6e;
  --green-soft: #1e2a16;
  --gold: #f5b700;
  --gold-soft: #2e2410;
  --card: #2b1736;
  --border: #4e3a5a;
}

/* Outfit is about twice as wide as League Gothic and reads best in small
   letters, so headings lose the capitals and get smaller */
.page-title { font-size: 2.1rem; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.details-when { font-size: 1.35rem; font-weight: 600; letter-spacing: 0; }
.archive-date { font-weight: 600; letter-spacing: 0; }
.ig-tile-value { font-size: 1.7rem; font-weight: 600; }
.poster-line { font-weight: 600; letter-spacing: 0; text-transform: none; }
.poster-name { font-size: clamp(2.4rem, 10vw, 4rem); font-weight: 600; letter-spacing: -0.01em; text-transform: none; }
