:root {
  --paper: #f2f6f3;
  --paper-2: #e1ebe5;
  --sheet: #ffffff;
  --ink: #0a100c;
  --muted: #4e5e55;
  --line: #cfdcd4;
  --forest: #0b7a3a;
  --black: #070908;
  --canopy: #e2f5ea;
  --mint: #d7f3e3;
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --display: "Newsreader", Georgia, serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.15; font-weight: 550; }
a { color: var(--forest); }
button, .btn, summary { cursor: pointer; }
img { max-width: 100%; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 15rem;
  background: var(--black);
  color: #f2f6f3;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand { display: block; padding: 1.25rem 1rem 0.5rem; }
.brand img { width: 100%; height: auto; }
.nav { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.5rem 0.75rem; }
.nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  color: rgba(242, 246, 243, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a.active, .nav a:hover { background: rgba(242, 246, 243, 0.12); color: #f2f6f3; }
.side-foot { margin-top: auto; padding: 1.25rem; color: rgba(242, 246, 243, 0.65); font-size: 0.8rem; }
.side-foot em { color: var(--mint); font-family: var(--display); font-size: 1.15rem; }
.main { margin-left: 15rem; padding: 1.5rem 1.25rem 4rem; max-width: 72rem; }
.kicker { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); font-weight: 650; }
.lede { color: var(--muted); max-width: 42rem; }
.grid { display: grid; gap: 0.75rem; }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .sheet {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  background: var(--canopy);
  color: var(--forest);
  font-weight: 600;
}
.chip.plain { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 0.5rem;
  border: 0;
  background: var(--forest);
  color: #f2f6f3;
  font: inherit;
  text-decoration: none;
}
.btn.quiet { background: var(--sheet); color: var(--ink); border: 1px solid var(--line); }
.btn:disabled { opacity: 0.5; cursor: default; }
.row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
input, select, textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--sheet);
  color: var(--ink);
  font: inherit;
  padding: 0.5rem 0.75rem;
}
textarea { min-height: 7rem; }
label.field { display: block; font-size: 0.9rem; font-weight: 600; }
label.field span { display: block; margin-bottom: 0.35rem; }
.bar { height: 0.5rem; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--forest); }
.player { background: var(--black); color: #f2f6f3; border-radius: 0.75rem; overflow: hidden; }
.player-stage { min-height: 16rem; padding: 1.25rem; display: flex; flex-direction: column; justify-content: flex-end; }
.player-controls { display: flex; gap: 0.75rem; align-items: center; border-top: 1px solid rgba(242,246,243,0.15); padding: 0.75rem; }
.scrub { flex: 1; height: 0.35rem; background: rgba(242,246,243,0.2); border-radius: 999px; cursor: pointer; }
.scrub > span { display: block; height: 100%; background: var(--forest); }
.flash {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  background: var(--black);
  color: #f2f6f3;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  z-index: 50;
}
.topbar { display: none; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-brand {
  background: var(--black);
  color: #f2f6f3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}
.login-brand img { width: min(100%, 28rem); }
.login-form { display: flex; align-items: center; padding: 2rem; }
.login-form form { width: min(100%, 26rem); margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.muted { color: var(--muted); }
.two { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1.25rem; }
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 0.55rem 0.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 960px) {
  .sidebar { display: none; }
  .sidebar.open { display: flex; position: fixed; inset: 0 auto 0 0; width: min(18rem, 88vw); }
  .main { margin-left: 0; }
  .stats, .cards, .two, .login { grid-template-columns: 1fr; }
  .menu-btn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); background: var(--sheet); border-radius: 0.5rem; }
  .topbar { display: flex; }
}
@media print {
  .sidebar, .topbar, .no-print, .flash { display: none !important; }
  .main { margin: 0; }
}

.home { background: var(--paper); }
.home-bar, .home-sub, .home-wrap, .home-foot-grid, .home-copy { max-width: 72rem; margin-left: auto; margin-right: auto; }
.home-bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1rem;
  max-width: none; padding: 0.75rem 1.25rem;
  background: var(--black); color: #f2f6f3;
}
.home-logo img, .home-foot img { height: 2.6rem; width: auto; }
.home-nav { display: flex; gap: 1rem; margin-left: auto; }
.home-nav a, .home-sub a { color: rgba(242,246,243,.8); text-decoration: none; font-size: 0.92rem; }
.home-enter { background: #f2f6f3; color: var(--ink); }
.home-sub { display: none; }
.home-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; padding: 3.5rem 1.25rem; }
.home-hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin: 0.4rem 0; max-width: 14ch; }
.home-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.home-stats dt { font-size: 0.75rem; color: var(--muted); }
.home-stats dd { margin: 0; font-family: var(--display); font-size: 2rem; }
.home-feature { background: var(--black); color: #f2f6f3; border-radius: 1rem; padding: 1.5rem; }
.home-feature h2 { font-size: 2.2rem; margin: 0.4rem 0; }
.home-band { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-band .home-wrap, .home-wrap { padding: 3rem 1.25rem; }
.home-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.home-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0.25rem 0 0; }
.home-head a { color: var(--forest); text-decoration: none; }
.home-grid { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.home-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-card, .home-row {
  display: block; background: var(--sheet); color: inherit; text-decoration: none;
  border: 1px solid var(--line); border-radius: 0.9rem; padding: 1rem 1.1rem;
}
.home-band .home-card { background: var(--paper); }
.home-card h3, .home-row strong { font-family: var(--display); font-size: 1.45rem; font-weight: 550; }
.home-card p { margin: 0.35rem 0 0; color: var(--muted); }
.home-list { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.home-row { display: grid; grid-template-columns: 7rem 1fr auto; gap: 0.75rem; align-items: center; }
.home-row span { color: var(--forest); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.home-row em { color: var(--muted); font-style: normal; font-size: 0.9rem; }
.home-foot { background: var(--black); color: #f2f6f3; }
.home-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 1.5rem; }
.home-foot h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.6rem; }
.home-foot a, .home-foot p { display: block; color: rgba(242,246,243,.72); text-decoration: none; margin: 0.35rem 0; font-size: 0.92rem; }
.home-motto { font-family: var(--display); font-style: italic; color: #d7f3e3 !important; font-size: 1.25rem !important; }
.home-copy { max-width: 72rem; padding: 0 1.25rem 1.5rem; color: rgba(242,246,243,.55); font-size: 0.85rem; }
@media (max-width: 900px) {
  .home-nav { display: none; }
  .home-sub { display: flex; gap: 1rem; overflow: auto; max-width: none; padding: 0.55rem 1rem 0.8rem; background: var(--black); }
  .home-hero, .home-grid.four, .home-grid.three, .home-foot-grid, .home-row { grid-template-columns: 1fr; }
}


