/* Wordmark in hero */
.hox-wordmark { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.hox-wordmark h1 { margin: 0; letter-spacing: -.02em; }
.hox-wordmark__icon { display: inline-flex; width: 3.25rem; height: 3.25rem; padding: .55rem; border-radius: var(--radius); background: var(--brand); color: var(--surface); }
.hox-wordmark__icon svg { width: 100%; height: 100%; }

/* At-a-glance table: keep values aligned with their labels */
table td:nth-child(2), table td.num { text-align: left; }

/* Signature: the house directory */
.hox-house { max-width: 880px; margin: 0 auto; }
.hox-roof { display: block; width: 100%; height: 48px; color: var(--brand); }
.hox-hall {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0;
  border: 2px solid var(--brand); border-top-width: 6px; border-radius: 0 0 var(--radius) var(--radius);
  background: var(--surface); overflow: hidden;
}
.hox-board { padding: 1.25rem; border-right: 1px solid var(--border); }
.hox-board__title { margin: 0 0 .75rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hox-plates { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.hox-plate {
  font: inherit; font-size: .95rem; text-align: left; cursor: pointer;
  padding: .6rem .75rem; min-width: 64px;
  border: 1px solid var(--border); border-left: 4px solid var(--border);
  border-radius: calc(var(--radius) / 2); background: var(--surface); color: var(--ink);
}
.hox-plate:hover { border-left-color: var(--brand); }
.hox-plate:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.hox-plate[aria-pressed="true"] { border-color: var(--brand); border-left-color: var(--brand); color: var(--brand); font-weight: 600; }
.hox-door { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.hox-door__url {
  display: inline-block; align-self: flex-start; margin: 0 0 .75rem;
  padding: .25rem .6rem; border: 1px solid var(--brand); border-radius: calc(var(--radius) / 2);
  color: var(--brand); font-size: .85rem; word-break: break-all;
}
.hox-door h3 { margin: 0 0 .5rem; }
.hox-door p { margin: 0 0 .5rem; }
.hox-door__tag { color: var(--muted); font-size: .95rem; }
.hox-house .note { margin-top: .75rem; text-align: center; }
@media (max-width: 720px) {
  .hox-hall { grid-template-columns: 1fr; }
  .hox-board { border-right: 0; border-bottom: 1px solid var(--border); }
}

/* Brand kit */
.hox-swatches { display: grid; gap: .5rem; margin: .75rem 0; }
.hox-swatch { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.hox-swatch__chip { width: 2.25rem; height: 2.25rem; border-radius: calc(var(--radius) / 2); border: 1px solid var(--border); flex: none; }
.hox-swatch__chip--brand { background: var(--brand); }
.hox-swatch__chip--ink { background: var(--ink); }
.hox-swatch__chip--stone { background: var(--border); }
.hox-swatch__chip--paper { background: var(--surface); }
.hox-mark {
  display: flex; align-items: center; gap: .6rem; margin-top: .75rem;
  padding: 1rem; border-radius: var(--radius); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em;
}
.hox-mark--light { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.hox-mark--dark { background: var(--ink); color: var(--surface); }
.hox-mark__icon { display: inline-flex; width: 1.75rem; height: 1.75rem; color: var(--brand); }
.hox-mark--dark .hox-mark__icon { color: var(--surface); }
.hox-mark__icon svg { width: 100%; height: 100%; }
.hox-appicon-row { display: flex; align-items: flex-end; gap: 1rem; margin: .75rem 0; }
.hox-appicon {
  width: 96px; height: 96px; padding: 20px; border-radius: 22px;
  background: var(--brand); color: var(--surface);
}
.hox-appicon--sm { width: 48px; height: 48px; padding: 10px; border-radius: 11px; }
.hox-appicon svg { width: 100%; height: 100%; }