/* Boston College Athletics v2 — brand system. Palette unified with the BC command centers
   (maroon #8A2432, dark #4A0F18, gold #B9975B / #DDC9A3). Libre Franklin (display + UI) with Literata (editorial). */
:root {
  --m-950: #1C0509; --m-900: #2A070D; --m-850: #340911; --m-800: #3D0B14; --m-700: #4A0F18; --m-600: #6B1726; --m-500: #8A2432; --m-400: #A63A4A; --m-300: #C8707C;
  --g-700: #7A5A26; --g-600: #8E6F3A; --g-500: #B9975B; --g-400: #CDB079; --g-300: #DDC9A3; --g-200: #EEE2C7; --g-100: #F7F0E1;
  --foil: linear-gradient(100deg, #8E6F3A 0%, #CFB27A 18%, #F7EBCB 34%, #C2A266 50%, #E9D6A6 68%, #A5854A 84%, #E3CC98 100%);
  --foil-deep: linear-gradient(100deg, #5A3E16 0%, #8A6A33 20%, #B8975A 36%, #6E5020 54%, #9C7B40 74%, #5A3E16 100%);
  --foil-line: linear-gradient(90deg, rgba(185,151,91,0) 0%, #B9975B 18%, #F3E3BC 50%, #B9975B 82%, rgba(185,151,91,0) 100%);
  --f-display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Literata", Georgia, "Times New Roman", serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --pos: #1E7A4C; --pos-bg: #E3F2E9; --neg: #B0263A; --neg-bg: #FBE6E9; --warn: #8F6000; --warn-bg: #FBF0D6;

  /* Day */
  --bg: #F5F1EA; --bg-2: #EFE9DF; --surface: #FFFFFF; --surface-2: #FBF8F3; --hover: #F3EDE4;
  --ink: #1D1416; --ink-2: #4B3F42; --ink-3: #6E6265; --ink-4: #9A8F91;
  --rule: #E4DCD1; --rule-soft: #EEE8DF; --rule-strong: #CDBFB0;
  --accent: #8A2432; --accent-ink: #FFFFFF; --link: #8A2432; --chart: #8A2432; --chart-2: #B9975B; --chart-ctx: #D9CFC4; --chart-ctx-2: #E9E2D8;
  --shadow-1: 0 1px 2px rgba(42, 7, 13, .05), 0 2px 8px rgba(42, 7, 13, .04);
  --shadow-2: 0 2px 4px rgba(42, 7, 13, .05), 0 12px 32px -8px rgba(42, 7, 13, .14);
  --shadow-3: 0 24px 64px -16px rgba(42, 7, 13, .35);
  --focus: #8A2432; --focus-2: #DDC9A3;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0F0A0C; --bg-2: #140D10; --surface: #1A1215; --surface-2: #20161A; --hover: #261A1F;
  --ink: #F4EEEA; --ink-2: #D3C8C5; --ink-3: #ADA1A0; --ink-4: #857A7A;
  --rule: #33262B; --rule-soft: #261C20; --rule-strong: #4A3940;
  --accent: #DDC9A3; --accent-ink: #2A070D; --link: #E6D3AC; --chart: #D25A6B; --chart-2: #DDC9A3; --chart-ctx: #45373C; --chart-ctx-2: #2F2428;
  --pos: #6FD19C; --pos-bg: #10301F; --neg: #FF8F9D; --neg-bg: #3A121A; --warn: #F0C76A; --warn-bg: #33270B;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 40px -12px rgba(0, 0, 0, .6);
  --shadow-3: 0 24px 64px -16px rgba(0, 0, 0, .7);
  --focus: #DDC9A3; --focus-2: #8A2432;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--f-display); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga"; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--focus-2) 35%, transparent); }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--m-700); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.num, .tnum { font-variant-numeric: tabular-nums lining-nums; }
.foil-text { background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ic { flex: none; }
.eagle { display: block; }

/* branded wipe (between front door and workspace / command centers) */
.wipe { position: fixed; inset: 0; z-index: 900; pointer-events: none; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 40%, #5A1320 0%, #3D0B14 45%, #1C0509 100%); clip-path: inset(100% 0 0 0); }
.wipe::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--foil-line); }
.wipe .wipe-mark { width: 96px; opacity: 0; transform: scale(.86); filter: drop-shadow(0 8px 30px rgba(0,0,0,.5)); }
.wipe .wipe-word { position: absolute; top: calc(50% + 70px); font: 600 11px/1 var(--f-display); letter-spacing: .32em; color: var(--g-300); opacity: 0; }
.wipe.on { animation: wipeIn .62s var(--ease-io) forwards; pointer-events: auto; }
.wipe.on .wipe-mark { animation: markIn .7s .18s var(--ease-out) forwards; }
.wipe.on .wipe-word { animation: fadeIn .5s .3s ease forwards; }
.wipe.out { clip-path: inset(0 0 0 0); animation: wipeOut .7s .05s var(--ease-io) forwards; }
.wipe.out .wipe-mark, .wipe.out .wipe-word { opacity: 1; transform: none; animation: fadeOut .3s ease forwards; }
@keyframes wipeIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipeOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes markIn { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wipe.on, .wipe.out { animation-duration: .01s !important; animation-delay: 0s !important; }
  .wipe.on .wipe-mark, .wipe.on .wipe-word { animation-duration: .01s; animation-delay: 0s; }
}
