:root {
  --night: #071018;
  --river: #0c1c28;
  --gold: #c49a4a;
  --gold-bright: #e8c97a;
  --gold-deep: #8a6a32;
  --limestone: #e7ddd0;
  --limestone-dim: #cfc3b3;
  --brass: #b08d57;
  --brass-dark: #6e542c;
  --led: #dcefff;
  --led-hot: #fff4c8;
  --ink: #1a140c;
  --ink-soft: #4a3d2c;
  --paper: #f3ebe0;
  --rule: rgba(176, 141, 87, 0.45);
  --focus: #e8c97a;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --display: "ZCOOL XiaoWei", "Songti SC", "Noto Serif SC", serif;
  --num: "Big Shoulders Display", "DIN Alternate", "Arial Narrow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--limestone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 8;
}

.skip:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 30%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.18) 0%, rgba(7, 16, 24, 0.08) 38%, rgba(7, 16, 24, 0.82) 100%);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 8vw 9vh;
  max-width: 46rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #f6ead2;
  text-shadow: 0 12px 28px rgba(7, 16, 24, 0.55);
}

.hero h1 .place,
.hero h1 .estate {
  display: block;
}

.hero h1 .place {
  font-size: 0.62em;
  letter-spacing: 0.22em;
  line-height: 1.15;
}

.hero h1 .estate {
  letter-spacing: 0.12em;
}

.hero-b {
  margin: 0.55rem 0 0;
  font-family: var(--num);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.hero-line {
  margin: 1.1rem 0 0;
  max-width: 22em;
  font-size: 1.05rem;
  color: var(--limestone);
}

.enter {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
  width: max-content;
  padding: 0.85rem 1.25rem 0.8rem;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.enter::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: currentColor;
}

.enter:hover {
  background: var(--gold-bright);
}

.directory {
  background:
    radial-gradient(1200px 480px at 18% 0%, rgba(196, 154, 74, 0.08), transparent 55%),
    var(--night);
  padding: 2.5rem 4vw 5rem;
}

.desk {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  padding: 1rem 1.1rem;
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.12), rgba(7, 16, 24, 0.28)),
    url("assets/lobby-desk.jpg") center 58% / cover no-repeat;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(176, 141, 87, 0.35);
}

.plate {
  flex: 1 1 18rem;
}

.plate input {
  width: 100%;
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--brass);
  background: rgba(10, 18, 26, 0.72);
  color: var(--led-hot);
  font: inherit;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 0.9rem 0.7rem;
  caret-color: var(--gold-bright);
}

.plate input::placeholder {
  color: #cbb89a;
  opacity: 1;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.filter {
  appearance: none;
  border: 1px solid rgba(176, 141, 87, 0.55);
  background: rgba(7, 16, 24, 0.55);
  color: var(--limestone);
  font: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}

.filter:hover,
.filter.is-on {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.stage {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2rem 2.4rem;
  align-items: stretch;
}

.tower-col {
  min-height: 0;
}

.tower-plant {
  position: sticky;
  top: 1rem;
  height: calc(100svh - 2.25rem);
  max-height: calc(100svh - 2.25rem);
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.tower-shell {
  flex: 0 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #9a7438 0%, #c49a4a 12%, #8d652c 100%);
  padding: 0.55rem 0.7rem 0.45rem;
  box-shadow: inset 0 0 0 1px rgba(246, 234, 210, 0.18);
}

.tower-shell::after {
  content: "";
  flex: 0 0 5px;
  margin: 0.2rem -0.15rem 0;
  background: linear-gradient(180deg, #e8c97a, #8a6a32);
  box-shadow: 0 1px 0 rgba(58, 42, 18, 0.35);
}

.crown {
  font-family: var(--num);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  text-align: center;
  color: #3a2a12;
  padding: 0.35rem 0 0.55rem;
  background: linear-gradient(180deg, #e8c97a, #b08d57);
  clip-path: polygon(8% 100%, 18% 0, 82% 0, 92% 100%);
}

.shaft {
  background: #5c4320;
  padding: 0.45rem 0.4rem 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 0 1 auto;
  min-height: 0;
  max-height: calc(100svh - 15rem);
  overflow: auto;
  scrollbar-color: var(--gold-deep) #3a2a12;
}

.floor {
  display: grid;
  grid-template-columns: 1.7rem repeat(13, 1fr);
  gap: 3px;
  align-items: stretch;
}

.floor-no {
  font-family: var(--num);
  font-size: 0.7rem;
  font-weight: 700;
  color: #f6ead2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 2px;
  opacity: 0.8;
}

.window {
  appearance: none;
  border: 0;
  padding: 0;
  height: 11px;
  background: #1b140c;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.window.has-owner {
  cursor: pointer;
}

.window.is-dim {
  background: #3a2f22;
}

.window.is-warm {
  background: #c9a35a;
}

.window.is-hot {
  background: var(--led-hot);
  box-shadow: 0 0 6px rgba(255, 244, 200, 0.55);
}

.window.is-led {
  background: var(--led);
  box-shadow: 0 0 7px rgba(220, 239, 255, 0.5);
}

.window.has-owner:hover,
.window.is-selected {
  transform: scaleY(1.35);
  background: #fff;
  box-shadow:
    0 0 10px 3px rgba(220, 239, 255, 0.7),
    0 14px 28px rgba(255, 244, 200, 0.22);
}

.window.is-ghost {
  opacity: 0.28;
}

.podium {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  flex: 1 0 8.15rem;
  min-height: 8.15rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #3a2a12;
  text-align: center;
  font: inherit;
  background: #d4cbbd;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 1px 0 rgba(58, 42, 18, 0.18);
}

.podium-name {
  font-family: var(--display);
  letter-spacing: 0.4em;
  font-size: 0.98rem;
  padding: 0.42rem 0 0.32rem;
  background: linear-gradient(180deg, #ece6db, #d9d0c3);
  border-bottom: 1px solid rgba(110, 84, 44, 0.22);
}

.podium-court {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.85rem;
  flex: 0 0 4.35rem;
  min-height: 4.35rem;
  padding: 0.35rem 0.7rem 0;
  background-image:
    linear-gradient(
      90deg,
      transparent calc(33.33% - 0.5px),
      rgba(90, 70, 40, 0.18) calc(33.33% - 0.5px) calc(33.33% + 0.5px),
      transparent calc(33.33% + 0.5px) calc(66.66% - 0.5px),
      rgba(90, 70, 40, 0.18) calc(66.66% - 0.5px) calc(66.66% + 0.5px),
      transparent calc(66.66% + 0.5px)
    ),
    linear-gradient(180deg, #cfc6b8 0%, #e4dacb 46%, #c4b7a4 100%);
}

.podium-door {
  position: relative;
  width: 2.9rem;
  height: 3.5rem;
  flex: 0 0 2.9rem;
  border-radius: 2.9rem 2.9rem 0 0;
  background:
    linear-gradient(180deg, rgba(232, 201, 122, 0.4) 0%, transparent 40%),
    linear-gradient(90deg, #1a1510 0%, #2c241a 46%, #120e0a 54%, #1a1510 100%);
  box-shadow:
    inset 0 0 0 1.5px var(--brass),
    0 0 14px rgba(196, 154, 74, 0.26);
}

.podium-door::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24%;
  bottom: 0;
  width: 1px;
  background: rgba(176, 141, 87, 0.55);
  transform: translateX(-50%);
}

.podium-lantern {
  position: relative;
  width: 8px;
  height: 20px;
  margin-bottom: 1.4rem;
  background: linear-gradient(180deg, var(--brass-dark) 0 3px, var(--gold-bright) 3px 15px, var(--brass-dark) 15px);
  box-shadow: 0 10px 18px rgba(232, 201, 122, 0.55);
}

.podium-lantern::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 22px;
  height: 24px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0, rgba(255, 244, 200, 0.5), transparent 72%);
  pointer-events: none;
}

.podium-steps {
  flex: 0 0 12px;
  background: repeating-linear-gradient(
    180deg,
    #e7ddd0 0 3px,
    #c4b7a4 3px 4px,
    #b7aa96 4px 5px
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.podium-drive {
  flex: 1 1 0.55rem;
  min-height: 0.55rem;
  background:
    radial-gradient(ellipse 48% 22px at 50% 0, rgba(232, 201, 122, 0.28), transparent 72%),
    linear-gradient(180deg, #2f3948 0%, var(--night) 82%);
  box-shadow: inset 0 8px 12px rgba(0, 0, 0, 0.28);
}

.podium:hover .podium-door,
.podium.is-home .podium-door {
  box-shadow:
    inset 0 0 0 1.5px var(--gold-bright),
    0 0 20px rgba(255, 244, 200, 0.42);
}

.podium.is-home .podium-door {
  background:
    linear-gradient(180deg, rgba(255, 244, 200, 0.55) 0%, rgba(196, 154, 74, 0.18) 38%, transparent 62%),
    linear-gradient(90deg, #1a1510 0%, #32281c 46%, #120e0a 54%, #1a1510 100%);
}

.podium.is-home .podium-lantern {
  box-shadow:
    0 0 10px 3px rgba(255, 244, 200, 0.45),
    0 10px 18px rgba(232, 201, 122, 0.55);
}

.file {
  background: var(--paper);
  color: var(--ink);
  min-height: 70vh;
  padding: 2.2rem 2.4rem 2.6rem;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
  background-image:
    linear-gradient(90deg, rgba(176, 141, 87, 0.18) 0 12px, transparent 12px),
    linear-gradient(var(--paper), var(--paper));
}

.file-head {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 0.3rem 1.35rem;
  align-items: start;
}

.avatar,
.avatar-fallback {
  width: 7.25rem;
  height: 7.25rem;
  background: #d8cbb8;
  box-shadow: 0 12px 24px rgba(26, 20, 12, 0.16);
  outline: 1px solid var(--brass);
  outline-offset: 4px;
}

.avatar {
  object-fit: cover;
  display: block;
}

.avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--num);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--brass-dark);
}

.file h2 {
  margin: 0;
  font-family: var(--num);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--brass-dark);
}

.file .who {
  margin: 0.7rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
}

.wx-nick {
  color: var(--brass-dark);
  letter-spacing: 0.04em;
}

.file .who .wx-nick {
  font-size: 0.62em;
}

.file .role {
  margin: 0.35rem 0 0;
  color: var(--gold-deep);
  letter-spacing: 0.12em;
}

.file .one {
  margin: 1.15rem 0 0;
  font-size: 1.12rem;
  max-width: 46rem;
}

.file p {
  max-width: 46rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.tag {
  border: 1px solid var(--brass);
  color: var(--brass-dark);
  padding: 0.15rem 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.tag.is-life {
  background: #2d2214;
  border-color: #2d2214;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  box-shadow: 0 8px 16px rgba(26, 20, 12, 0.12);
}

.portrait {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}

.portrait h3,
.quotes h3,
.sayings h3,
.catch h3,
.neighbors h3,
.hours h3,
.ledger h3,
.months h3,
.compose h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--brass-dark);
}

.catch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catch-list li {
  background: #efe2c8;
  color: var(--ink);
  padding: 0.28rem 0.6rem;
  font-family: var(--display);
}

.quotes,
.sayings {
  margin-top: 1.5rem;
}

.sayings .saying {
  margin: 0 0 1.15rem;
  padding: 0.15rem 0 0.15rem 0;
  max-width: 38rem;
  border: 0;
}

.sayings .saying p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink);
}

.sayings .saying p::before {
  content: "「";
  color: var(--brass-dark);
  margin-right: 0.08em;
}

.sayings .saying p::after {
  content: "」";
  color: var(--brass-dark);
  margin-left: 0.08em;
}

.quotes blockquote {
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
  max-width: 42rem;
}

.quotes blockquote p {
  margin: 0;
  font-size: 1.02rem;
}

.quotes time,
.sayings time {
  display: block;
  margin-top: 0.28rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.catch,
.neighbors {
  margin-top: 1.4rem;
}

.neighbors button {
  appearance: none;
  border: 0;
  background: none;
  color: var(--brass-dark);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  padding: 0;
  margin-right: 1rem;
}

.hours {
  margin-top: 1.5rem;
}

.hour-strip {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 3px;
  max-width: 36rem;
}

.hour-cell {
  height: 18px;
  background: #d4c7b4;
}

.hour-cell.is-peak {
  background: var(--gold);
}

.hour-labels {
  display: flex;
  justify-content: space-between;
  max-width: 36rem;
  margin-top: 0.25rem;
  font-family: var(--num);
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.nav-owners {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.nav-owners button {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  color: var(--brass-dark);
  cursor: pointer;
  padding: 0;
}

.ledger p {
  margin: 0.35rem 0;
}

.building-mark {
  object-position: 52% 18%;
}

.overview-register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.2rem;
  margin: 0;
  max-width: 40rem;
}

.overview-register .register-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0;
  padding: 0.58rem 0 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.overview-register .span-2 {
  grid-column: 1 / -1;
}

.overview-register dt {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--brass-dark);
  letter-spacing: 0.08em;
}

.overview-register dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.overview-register .n {
  font-family: var(--num);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--brass-dark);
}

.overview-register .is-total .n {
  font-size: 2.15rem;
}

.overview-register .u {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.overview-register .range {
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.overview-register button {
  appearance: none;
  border: 0;
  background: none;
  color: var(--brass-dark);
  font: inherit;
  font-family: var(--display);
  font-size: 1.15rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
  padding: 0;
}

.month-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.month-ledger li {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr) 4.4rem;
  gap: 0.7rem;
  align-items: center;
  animation: lights-on 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--d, 0s);
}

.month-when,
.month-count {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.month-when {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.month-count {
  font-family: var(--num);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: right;
  color: var(--ink);
}

.month-ledger li.is-peak .month-when,
.month-ledger li.is-peak .month-count {
  color: var(--brass-dark);
}

.month-track {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  height: 14px;
}

.month-cell {
  background: #e0d4c2;
  box-shadow: inset 0 0 0 1px rgba(26, 20, 12, 0.06);
}

.month-cell.is-on {
  background: var(--gold);
}

.month-cell.is-hot {
  background: var(--gold-deep);
}

.overview-clock .hour-strip,
.overview-clock .hour-labels {
  max-width: 40rem;
}

.overview-clock .hour-cell {
  height: 22px;
  background: var(--gold);
}

.overview-clock .hour-cell.is-peak {
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(196, 154, 74, 0.4);
}

.hour-note {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.compose-bar {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 3px;
  height: 14px;
  max-width: 40rem;
}

.compose-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.compose-legend .swatch {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.4rem;
  vertical-align: 0.05em;
}

.overview > .one {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}

@keyframes lights-on {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .month-ledger li {
    animation: none;
  }
}

.hits {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.hits button {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: none;
  font: inherit;
  padding: 0.7rem 0;
  cursor: pointer;
  color: var(--ink);
}

.hits button:hover {
  color: var(--brass-dark);
}

.hits .unit {
  font-family: var(--num);
  font-weight: 700;
  margin-right: 0.6rem;
  color: var(--brass-dark);
}

.empty {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.colophon {
  padding: 1.4rem 4vw 2.4rem;
  color: #cbb89a;
  font-size: 0.88rem;
}

.colophon p {
  margin: 0;
  max-width: 46rem;
}

@media (max-width: 860px) {
  .file-head {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .avatar,
  .avatar-fallback {
    width: 5.5rem;
    height: 5.5rem;
  }

  .hero-copy {
    padding: 0 6vw 8vh;
  }

  .stage {
    grid-template-columns: 1fr;
  }

  .tower-col {
    height: auto;
  }

  .tower-plant {
    position: static;
    height: auto;
    max-height: none;
    flex: none;
  }

  .shaft {
    max-height: 42vh;
  }

  .podium {
    flex: 0 0 auto;
    min-height: 8.15rem;
  }

  .podium-court {
    flex: 0 0 4.35rem;
    min-height: 4.35rem;
  }

  .podium-drive {
    flex: 0 0 0.55rem;
    min-height: 0.55rem;
  }

  .file {
    padding: 1.5rem 1.2rem 2rem;
    background-image: none;
  }

  .overview-register {
    grid-template-columns: 1fr;
  }

  .month-ledger li {
    grid-template-columns: 4.8rem minmax(0, 1fr) 3.6rem;
    gap: 0.45rem;
  }
}
