/* Direction: Matchday Programme — cream paper stock, thin rules, bold serif
   headings, racing green kept for the next match, wins and Join. */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f7f2e5;
  --surface: #fffdf5;
  --surface-2: #ece3cf;
  --border: #d6caaf;
  --border-strong: #aeada2;
  --ink: #1d1b15;
  --muted: #5b553f;
  --accent: #0f5132;
  --accent-hover: #0d452b;
  --accent-ink: #ffffff;
  --accent-text: #0a4026;
  --accent-strong: #093420;
  --accent-soft: #dde8dd;
  --accent-border: #8faa94;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dce4d1;
  --success-strong: #116d34;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #efdfcb;
  --warning-strong: #994607;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f0d8cd;
  --danger-strong: #b91c1c;
  --chart-1: #0f5132;
  --chart-2: #00687c;
  --chart-3: #3e4192;
  --chart-4: #823570;
  --chart-5: #852b0b;
  --chart-6: #7b6a15;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --display-weight: 800;
  --display-tracking: -0.02em;
  --radius-card: 4px;
  --radius-btn: 3px;
  --radius-input: 3px;
  --shadow-card: 0 1px 0 rgba(29, 27, 21, 0.07);
  --card-pad: 1.25rem;
  --x-on-photo: #ffffff;
  --x-on-photo-rule: rgba(255, 255, 255, 0.32);
  --x-band: #1a1812;
  --x-rule: #c6b795;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #020b07;
  --surface: #1b2320;
  --surface-2: #0f1713;
  --border: #252d2a;
  --border-strong: #4e5451;
  --ink: #f7f2e5;
  --muted: #95968c;
  --accent: #0f5132;
  --accent-hover: #336b51;
  --accent-ink: #ffffff;
  --accent-text: #6e9683;
  --accent-strong: #618d78;
  --accent-soft: #051a10;
  --accent-border: #082b1a;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #062513;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #291b07;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #2a0f0c;
  --danger-strong: #cd5c5c;
  --chart-1: #3d7958;
  --chart-2: #0394b1;
  --chart-3: #6f76cc;
  --chart-4: #b15f9b;
  --chart-5: #c06144;
  --chart-6: #958214;
}

/* Kestrel Vale FC — programme furniture: rules, paper grain, lifting cards */

.rule {
  height: 1px;
  background: var(--x-rule);
  border: 0;
}
.rule-heavy {
  height: 3px;
  background: var(--ink);
  border: 0;
}
.paper {
  background-image: radial-gradient(rgba(29, 27, 21, 0.05) 1px, transparent 1px);
  background-size: 5px 5px;
}
.lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(29, 27, 21, 0.16);
}
html.reduced-motion .lift:hover {
  transform: none;
}
.scrim {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.48) 50%, rgba(0, 0, 0, 0.22) 100%);
}
.tick {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.overline {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  line-height: 1.2;
}
.squad summary {
  cursor: pointer;
  list-style: none;
}
.squad summary::-webkit-details-marker {
  display: none;
}
.squad[open] summary .squad-chevron {
  transform: rotate(180deg);
}
.squad-chevron {
  transition: transform 0.2s ease;
}
