:root {
  --black: #0c0c0e;
  --ink: #141416;
  --white: #fffdf8;
  --paper: #fff7ea;
  --red: #e10600;
  --orange: #ff6a00;
  --yellow: #ffd400;
  --muted: #5c574e;
  --line: rgba(12, 12, 14, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.rail {
  position: fixed;
  right: 12px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 132px;
}
.rail a {
  display: block;
  text-decoration: none;
  background: var(--black);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid transparent;
}
.rail a:hover, .rail a.on { border-color: var(--yellow); color: var(--yellow); }
.rail a.office { background: var(--red); color: #fff; }
.rail a.instructor { background: var(--orange); color: #fff; }
.rail a.curator { background: var(--yellow); color: var(--black); }
.rail a.student { background: #1a1a1c; }
.rail a.parent { background: #2a2a2e; }
.rail a.director { background: var(--red); }
.rail a.site { background: var(--orange); }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 160px 12px 24px;
}
.brand {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}
.brand span { color: var(--yellow); }
.top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 11px 18px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn.yellow { background: var(--yellow); color: var(--black); }
.btn.red { background: var(--red); color: #fff; }
.btn.orange { background: var(--orange); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn.ghost-dark { background: transparent; color: var(--black); border: 2px solid var(--black); }

.hero {
  min-height: 88vh;
  background: var(--black) url("./assets/hero-cars.png") center/cover no-repeat;
  color: #fff;
  position: relative;
  padding: 72px 180px 80px 32px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,12,14,.78) 0%, rgba(12,12,14,.35) 55%, rgba(12,12,14,.2) 100%),
    linear-gradient(180deg, rgba(225,6,0,.12), transparent 42%);
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.kicker {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p { font-size: 1.15rem; max-width: 42ch; color: #f4efe4; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.price-strip {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 800;
}
.price-strip b { color: var(--orange); font-size: 1.2rem; }

.section {
  padding: 64px 180px 72px 32px;
  border-top: 8px solid var(--black);
}
.section.red { background: var(--red); color: #fff; }
.section.orange { background: var(--orange); color: #fff; }
.section.yellow { background: var(--yellow); color: var(--black); }
.section.black { background: var(--black); color: #fff; }
.section.paper { background: var(--paper); }
.wrap { max-width: 1080px; }
h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 10px;
}
.lead { max-width: 62ch; margin-bottom: 28px; font-size: 1.05rem; }
.section.red .lead, .section.orange .lead, .section.black .lead { color: rgba(255,255,255,.9); }

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--black);
}
.card.dark { background: var(--ink); color: #fff; }
.card img { width: 100%; height: 190px; object-fit: cover; object-position: top left; background: #111; }
.card .pad { padding: 14px 16px 18px; }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; letter-spacing: -0.03em; }
.card p { font-size: 0.92rem; color: var(--muted); }
.card.dark p { color: #cfc8bb; }
.sit {
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 8px;
}
.demo-row { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

.access {
  background: var(--black);
  color: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 20px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.92rem;
}
.access b { color: var(--yellow); }

.footer {
  background: var(--black);
  color: #fff;
  padding: 28px 180px 40px 32px;
  font-size: 0.92rem;
}
.footer a { color: var(--yellow); }

@media (max-width: 980px) {
  .rail {
    left: 0; right: 0; top: auto; bottom: 0; transform: none;
    flex-direction: row; width: auto; overflow-x: auto;
    padding: 8px; background: rgba(12,12,14,.92);
  }
  .rail a { white-space: nowrap; flex: 0 0 auto; }
  .top, .hero, .section, .footer { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: 72vh; padding-top: 40px; padding-bottom: 96px; }
}
