@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --paper: #f5efe6;
  --paper-deep: #ebe2d4;
  --surface: #fffaf3;
  --ink: #221d19;
  --muted: #6d625a;
  --rust: #b7410e;
  --rust-deep: #8a2f08;
  --patina: #2f7d6d;
  --line: #ded3c3;
  --row-hover: #f6e9dc;
  --shadow: 0 1px 0 #ffffff inset, 0 18px 40px -24px rgba(80, 40, 10, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16130f;
    --paper-deep: #1d1915;
    --surface: #211c17;
    --ink: #eee5da;
    --muted: #a99c8e;
    --rust: #e8743f;
    --rust-deep: #f29a6c;
    --patina: #5fbfa9;
    --line: #3a322a;
    --row-hover: #2c241d;
    --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% -10%, color-mix(in srgb, var(--rust) 16%, transparent), transparent 40%),
    radial-gradient(circle at 105% 30%, color-mix(in srgb, var(--patina) 12%, transparent), transparent 35%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.header {
  padding: 3.5rem 0 2.5rem;
}

.header .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}

.header h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.header h1 em {
  font-style: normal;
  color: var(--rust);
}

.header p {
  margin-top: 1.25rem;
  max-width: 46rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.schedule-section {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--rust);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.schedule-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.table-wrapper h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--line);
}

.schedule-section h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--paper-deep);
  white-space: nowrap;
}

td:first-child,
td:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  white-space: nowrap;
}

td:first-child {
  color: var(--rust-deep);
  font-weight: 600;
}

tbody tr:hover {
  background-color: var(--row-hover);
}

.placeholder-row td {
  text-align: center;
  color: var(--muted);
  padding: 3rem;
  font-style: italic;
}

a {
  color: var(--rust);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--rust) 35%, transparent);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--patina);
  text-decoration-color: currentColor;
}

.footer {
  text-align: center;
  padding: 3rem 0 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--muted);
}
