:root {
  --green: #2f4a38;
  --board: #24382c;
  --chalk: #e8edd8;
  --wood: #6b3f2a;
  --seat: #8a5340;
  --ink: #1c1814;
  --muted: #5c6458;
  --paper: #efe6d4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}
a { color: inherit; }
h1, h2, h3 { font-family: Literata, Georgia, serif; font-weight: 650; line-height: 1.15; }

.campus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 12px 4vw;
  background: var(--wood);
  color: #f3e6d4;
  position: sticky;
  top: 0;
  z-index: 8;
}
.mark { letter-spacing: 0.18em; font-weight: 700; font-size: 13px; }
.chip { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.chip a { color: #f3e6d4; }
.lang { margin-left: auto; display: flex; border: 1px solid rgba(243, 230, 212, 0.35); }
.lang button {
  border: 0; background: transparent; color: #f3e6d4;
  padding: 7px 12px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700;
}
.lang button.active { background: #f3e6d4; color: var(--wood); }

.theatre {
  background: #1a221c;
  padding: 28px 4vw 0;
}
.board {
  background: var(--board);
  color: var(--chalk);
  min-height: 42vh;
  padding: 36px 40px 40px;
  box-shadow: inset 0 0 0 12px #1c2c22, inset 0 0 0 14px #c4b08a;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.chalk-meta {
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  opacity: 0.75;
}
.board h1 {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 500;
  margin-bottom: 14px;
  max-width: 18ch;
}
.board p { max-width: 62ch; font-size: 18px; }
.chalk-cue {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(232, 237, 216, 0.35);
  font-size: 15px !important;
  opacity: 0.85;
}
.seats {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  padding: 18px 0 12px;
}
.seats span {
  height: 28px;
  background: var(--seat);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  opacity: 0.85;
}
.seats span:nth-child(n+4) { opacity: 0.65; }
.seats span:nth-child(n+7) { opacity: 0.45; }

.timetable, .faculty, .walk, .rules, .dean { padding: 40px 4vw; }
.kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--wood);
  margin-bottom: 10px;
}
.timetable h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; max-width: 22ch; }
.lead { color: var(--muted); max-width: 68ch; margin-bottom: 24px; }
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.slot {
  text-align: left;
  background: #fff;
  border: 1px solid #d8ccb8;
  padding: 14px 12px;
  cursor: pointer;
  font: inherit;
  display: grid;
  gap: 4px;
  min-height: 110px;
}
.slot b { font-size: 11px; letter-spacing: 0.14em; color: var(--wood); }
.slot span { font-size: 12px; color: var(--muted); }
.slot strong { font-size: 16px; }
.slot.on {
  background: var(--green);
  color: var(--chalk);
  border-color: var(--green);
}
.slot.on b, .slot.on span { color: #cfe0c8; }

.faculty { background: #e7dcc8; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cols h3 { font-size: 24px; margin-bottom: 8px; }
.cols p { color: var(--muted); }

.walk { background: var(--paper); }
.walk ol {
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 12px;
  counter-reset: sem;
}
.walk li {
  background: #fff;
  padding: 14px 16px 14px 56px;
  position: relative;
  color: var(--muted);
}
.walk li::before {
  counter-increment: sem;
  content: counter(sem, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--wood);
  font-weight: 800;
  font-size: 12px;
}

.rules { background: var(--green); color: var(--chalk); }
.rules .kicker { color: #cfe0c8; }
.rules ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.rules li {
  border-top: 3px solid #cfe0c8;
  padding: 16px 0 0;
}

.dean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: #fff8ee;
}
.dean h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 12px; }
.dean p { color: var(--muted); }
address { font-style: normal; margin-top: 16px; }
address p { margin: 4px 0; }
address a { color: var(--wood); }
form { display: grid; gap: 10px; }
@media (min-width: 700px) {
  form { grid-template-columns: 1fr 1fr; }
  .wide, form button, .note { grid-column: 1 / -1; }
}
label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; }
input, textarea {
  font: inherit; padding: 10px;
  border: 1px solid #d8ccb8;
  background: #fff;
}
button[type="submit"] {
  justify-self: start;
  background: var(--wood); color: #f3e6d4; border: 0;
  padding: 12px 18px; font: inherit; font-weight: 800; cursor: pointer;
}
.note { font-size: 13px; color: var(--muted); }
footer {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 4vw 32px;
  background: var(--wood);
  color: #e8d6c0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .grid, .cols, .rules ul, .dean { grid-template-columns: 1fr; }
  .lang { margin-left: 0; }
  .board { padding: 24px 18px; box-shadow: inset 0 0 0 8px #1c2c22, inset 0 0 0 10px #c4b08a; }
  .seats { grid-template-columns: repeat(6, 1fr); }
}
