.office-page { padding-bottom: 2.5rem; }
.office-page .lede { max-width: 40rem; }

.office-frame {
  margin: 0.4rem 0 1.6rem;
  min-width: 0;
  max-width: 100%;
}
.office-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #243e62;
  box-shadow: var(--shadow);
  aspect-ratio: 1200 / 900;
}
.office-stage canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  cursor: grab;
  touch-action: none;
}
.office-stage.is-panning canvas { cursor: grabbing; }
.office-caption {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.office-pan-hint {
  display: none;
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.office-list-h {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}
.office-list-lead {
  margin: 0 0 0.7rem;
  color: var(--muted);
  max-width: 40rem;
}

.office-people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.85rem;
}
.office-people button {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 0.7rem;
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.office-people button:hover,
.office-people button:focus-visible {
  border-color: var(--blue);
}
.office-people button[aria-current="true"] {
  border-color: var(--blue-deep);
  background: var(--soft);
}
.office-state {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
}

.office-card {
  width: min(26rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.office-card::backdrop {
  background: rgba(7, 24, 48, 0.42);
}
.office-card h2 {
  margin: 0 2.6rem 0.45rem 0;
  font-size: 1.25rem;
}
.office-card p {
  margin: 0 0 0.45rem;
  color: var(--muted);
}
.office-card p:last-of-type {
  margin-bottom: 0;
  color: var(--blue);
  font-weight: 650;
}
.office-card-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--blue-deep);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.office-card-close:hover,
.office-card-close:focus-visible {
  border-color: var(--blue);
}

.office-noscript {
  margin: 1rem auto 2rem;
  max-width: var(--max);
  padding: 0 1rem;
}

@media (max-width: 640px) {
  .office-people { grid-template-columns: 1fr; }
  .office-stage { aspect-ratio: 390 / 560; }
  .office-pan-hint { display: block; }
}
