/* RigMatch — Copyright (c) 2026 Dave Euson. All Rights Reserved. See LICENSE. */

/*
 * The website's shared look, from the app's redesign: the plum stage, Young
 * Serif for display, Atkinson Hyperlegible for reading, Spline Sans Mono for
 * figures. The fonts are served from this site (SIL OFL, texts in fonts/),
 * so a visit makes no request to anyone else.
 */

@font-face { font-family: 'Young Serif'; font-weight: 400; font-display: swap; src: url('fonts/YoungSerif-400-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: 'Young Serif'; font-weight: 400; font-display: swap; src: url('fonts/YoungSerif-400-latin-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: 'Atkinson Hyperlegible'; font-weight: 400; font-display: swap; src: url('fonts/AtkinsonHyperlegible-400-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: 'Atkinson Hyperlegible'; font-weight: 400; font-display: swap; src: url('fonts/AtkinsonHyperlegible-400-latin-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: 'Atkinson Hyperlegible'; font-weight: 700; font-display: swap; src: url('fonts/AtkinsonHyperlegible-700-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: 'Atkinson Hyperlegible'; font-weight: 700; font-display: swap; src: url('fonts/AtkinsonHyperlegible-700-latin-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: 'Spline Sans Mono'; font-weight: 500; font-display: swap; src: url('fonts/SplineSansMono-500-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: 'Spline Sans Mono'; font-weight: 500; font-display: swap; src: url('fonts/SplineSansMono-500-latin-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-scheme: dark;
  --bg: #1b1726;
  --panel: #241e30;
  --panel-2: #2e2740;
  --line: #3b3349;
  --line-strong: #6d5f78;
  --text-strong: #fff9ef;
  --text: #f0e7dc;
  --muted: #bdafa6;
  --gold: #efbc5a;
  --gold-ink: #241808;
  --pink: #e37185;
  --orange: #d9743a;
  --teal: #4fb3a5;
  --green: #95b46a;
  --red: #ff9278;
  /* The interface icons' fill colour. */
  --accent: #e37185;
  --display: 'Young Serif', Georgia, serif;
  --ui: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --figure: 'Spline Sans Mono', ui-monospace, monospace;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px / 1.55 var(--ui);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--text-strong); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.figure { font-family: var(--figure); font-weight: 500; font-variant-numeric: tabular-nums; }

/* The three-colour stripe along the top: the show's lights. */
.stripe { height: 6px; background: linear-gradient(90deg, var(--pink) 0 33.3%, var(--orange) 33.3% 66.6%, var(--teal) 66.6%); }

.site-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text-strong); text-decoration: none; font: 400 22px / 1 var(--display); }
.brand img { width: 34px; height: 34px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-left: auto; font-size: 15px; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--text-strong); text-decoration: underline; }
@media (max-width: 700px) { .site-nav .hide-sm { display: none; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 700 15px / 1.2 var(--ui);
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn-gold, .site-nav a.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover, .site-nav a.btn-gold:hover { background: #f5ca72; color: var(--gold-ink); text-decoration: none; }
.btn-line { border-color: var(--line-strong); color: var(--text-strong); }
.btn-line:hover { background: var(--panel); border-color: var(--text); color: var(--text-strong); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--text-strong); text-wrap: balance; }

.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 20px; color: var(--muted); font-size: 14px; }
.site-foot img { width: 22px; height: 22px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
