:root {
  --ink: #15171c;
  --muted: #5f6673;
  --paper: #f8f6ef;
  --paper-2: #fffdf7;
  --rule: #20242c;
  --red: #eb0000;
  --blue: #2454ff;
  --teal: #088c7f;
  --green: #4f8d2f;
  --amber: #f5b83d;
  --shadow: rgba(20, 23, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #eef2ed;
  border-bottom: 4px solid var(--rule);
  isolation: isolate;
}

#office-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin: 0 auto;
  width: min(1180px, calc(100% - 48px));
  padding: 26px 0 14px;
  border-bottom: 4px solid var(--rule);
}

.mark {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.mark::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 9px;
  background: var(--red);
}

.meta {
  font-size: 13px;
  color: #3f4754;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  padding-top: 8vh;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(248, 246, 239, 0.72);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
}

h1 {
  margin: 0 0 18px;
  max-width: 11ch;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.02;
}

.lead {
  max-width: 58ch;
  margin: 0 0 24px;
  color: #252a33;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: 10px;
  pointer-events: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0 2px;
  border-bottom: 2px solid var(--rule);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease;
}

.text-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.control-strip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #343b47;
  font-size: 13px;
  font-weight: 700;
}

kbd {
  min-width: 24px;
  padding: 1px 5px 2px;
  border: 1px solid #5f6673;
  border-radius: 2px;
  background: rgba(255, 253, 247, 0.7);
  color: var(--ink);
  font: inherit;
  line-height: 1.3;
  text-align: center;
}

.instructions {
  margin: 0;
  color: #3f4754;
  font-size: 13px;
  font-weight: 700;
}

.spawn-hud {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 30px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 3px 18px;
  min-width: 230px;
  padding: 12px 14px;
  border: 1px solid rgba(32, 36, 44, 0.8);
  background: rgba(255, 253, 247, 0.9);
  font-size: 12px;
  text-transform: uppercase;
}

.spawn-hud strong {
  justify-self: end;
  color: var(--red);
  font-size: 16px;
}

.hotspot-label,
.event-toast {
  position: absolute;
  z-index: 3;
  max-width: 260px;
  border: 1px solid rgba(32, 36, 44, 0.82);
  background: rgba(255, 253, 247, 0.94);
  pointer-events: none;
}

.hotspot-label {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
}

.event-toast {
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 64px;
  background: var(--paper);
}

section:not(.hero) {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 8px 32px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

section:not(.hero) h2 {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

section:not(.hero) .body {
  min-width: 0;
}

section:not(.hero) p {
  max-width: 64ch;
  margin: 0 0 14px;
}

section:not(.hero) p:last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th {
  padding: 4px 16px 6px 0;
  border-bottom: 2px solid var(--rule);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

td {
  padding: 8px 16px 8px 0;
  border-bottom: 1px solid #c8c8c8;
  vertical-align: top;
}

tr:last-child td {
  border-bottom: 1px solid var(--rule);
}

td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.bench-sub {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
}

.status-line {
  font-weight: 700;
}

.status-line::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: var(--red);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 12px;
  border-top: 4px solid var(--rule);
  color: #444;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 880px;
  }

  .site-header {
    width: min(100% - 32px, 860px);
  }

  .hero-copy {
    width: min(100% - 32px, 450px);
    margin-left: 16px;
    padding-top: 48px;
  }

  h1 {
    max-width: 12ch;
    font-size: 42px;
  }

  .lead {
    max-width: 32ch;
    font-size: 17px;
  }

  .spawn-hud {
    right: 16px;
    bottom: 20px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 1040px;
  }

  #office-canvas {
    top: 720px;
    bottom: 92px;
    height: auto;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    width: calc(100% - 28px);
  }

  .hero-copy {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding-top: 34px;
  }

  h1 {
    max-width: 12ch;
    font-size: 34px;
  }

  .lead {
    max-width: 34ch;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 320px);
  }

  .spawn-hud {
    grid-template-columns: 1fr auto;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .hotspot-label {
    max-width: calc(100% - 28px);
  }

  section:not(.hero) {
    grid-template-columns: 1fr;
  }

  section:not(.hero) h2 {
    margin-bottom: 6px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  td:last-child,
  th:last-child {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .text-link {
    transition: none;
  }
}
