/* Office (office.piandre.com) styles. Seeded from main.css so office can
   diverge without ever regressing book. Import book's base, then override. */
@import url('main.css');

/* Office nav accent + system name treatment.
   Tint the office wordmark so "OFFICE" reads distinct from book's nav. */
.nav--office .nav-system-brand { color: var(--red); }

/* Office landing — module launcher. Mobile-first: cards stack, then grid.
   Reuses book's tokens (--bg-*, --border*, --text-*, --red, --radius) so it
   tracks book's light/dark themes without a separate palette. */
.office-home {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.office-home-head {
  margin-bottom: 28px;
}
.office-home-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.office-home-title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-1);
}
.office-home-sub {
  margin: 0;
  font-size: 14px;
  color: var(--text-3);
}

.office-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .office-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .office-grid { grid-template-columns: repeat(3, 1fr); }
}

.office-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
  background: var(--bg-0s);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.office-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
}
.office-card-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-3);
}

.office-card:hover {
  border-color: var(--border-3);
  background: var(--bg-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
}
.office-card:focus-visible {
  outline: 2px solid transparent; /* forced-colors: box-shadow is dropped, this keeps a focus cue */
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-dim);
}
.office-card:active {
  transform: translateY(0);
  box-shadow: none;
}
