/* Hallmark · checked: 2026-10-25 · genre: editorial (inferred)
 * floor: 0 FAIL · fixed: 6a, 19, 54, 55a, 63, 67, 24b, 26b, 38ii, 64, F3, F6 · structural: 1 printed (58)
 * built: external (Claude Design, Cathedral B Ascent) · redesign: polish · v2.0.0 */
:root {
  --stone: #d9d5cd;
  --stone-2: #c9c4ba;
  --stone-3: #bdb7ac;
  --ink: #151412;
  --ink-2: #24221f;
  --ink-3: #2f2d29;
  --rule-dark: #2e2c29;
  --rule-lift: #3a3834;
  --mute-1: #4f4b44;
  --mute-2: #6d685f;
  --mute-3: #8a857c;
  --mute-4: #a6a196;
  --mute-5: #b8b2a7;
  --accent: oklch(0.72 0.19 45);
  --accent-hover: oklch(0.6 0.19 45);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --pad-room: clamp(28px, 4vw, 56px);
  --ease-rise: cubic-bezier(.2, .9, .2, 1);
}

html, body { margin: 0; background: var(--stone); overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-hover); }
a:active { opacity: .7; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button:disabled { opacity: .4; cursor: not-allowed; }
h1, h2, h3, h4 { text-wrap: balance; }

.site {
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-display);
  padding: 0 clamp(76px, 9vw, 120px) 0 clamp(12px, 3vw, 40px);
}
.tower { max-width: 1240px; margin: 0 auto; padding-top: 48px; }
.spire-note { font-size: 14px; color: var(--mute-2); text-align: center; padding-bottom: 12px; margin: 0; }

/* elevator */
.elevator {
  position: fixed; right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 30;
  background: var(--ink); color: var(--stone); padding: 16px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.elevator__cap { font-size: 12px; color: var(--mute-3); }
.elevator__floor { font-weight: 900; font-stretch: 62%; font-size: 40px; line-height: 1; color: var(--accent); min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.elevator__name { font-size: 12px; color: var(--mute-3); margin-bottom: 8px; text-align: center; max-width: 56px; }
.elevator__btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule-lift);
  background: transparent; color: var(--stone); font: inherit; font-family: var(--font-mono); font-size: 12px; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.elevator__btn:hover { border-color: var(--mute-3); }
.elevator__btn:active { opacity: .7; }
.elevator__btn.is-active { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* rooms */
.room { padding: var(--pad-room); min-width: min(100%, 420px); margin-top: 4px; }
.js .room { transition: transform .8s var(--ease-rise), opacity .6s; }
.js .room:not(.is-seen) { opacity: .15; transform: translateX(-12%); }
.js .room:not(.is-seen):nth-of-type(even) { transform: translateX(12%); }
.room--dark { background: var(--ink); color: var(--stone); }
.room--stone2 { background: var(--stone-2); }
.room--stone3 { background: var(--stone-3); }
.room__title { margin: 0 0 24px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(40px, 5vw, 80px); line-height: 1; overflow-wrap: break-word; min-width: 0; }

#bell { width: 58%; margin: 0 auto; }
#bell .room__title { font-size: clamp(44px, 6vw, 92px); margin-bottom: 0; }
.bell__mail { display: block; margin-top: 24px; font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; overflow-wrap: anywhere; }
.bell__links { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; color: var(--mute-4); }

#choir { width: 84%; margin-left: auto; }
.grid { display: grid; gap: 2px; }
.grid--talks { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile { background: var(--stone); padding: 16px; }
.tile__t { font-weight: 700; font-size: 17px; line-height: 1.2; margin: 0; }
.tile__m { margin: 8px 0 0; font-size: 14px; color: var(--mute-2); }
.tile__y { margin: 0; font-size: 14px; color: var(--mute-2); font-variant-numeric: tabular-nums; }
.tile--teach { background: var(--ink); color: var(--stone); }
.tile--teach .tile__t { color: var(--accent); }
.tile--teach .tile__d { margin: 8px 0 0; font-size: 15px; line-height: 1.4; }

#chapels { width: 94%; }
#chapels .room__title { margin-bottom: 0; }
.chapels__lede { margin: 16px 0 28px; font-size: 16px; line-height: 1.5; color: var(--mute-4); max-width: 52ch; }
.sublabel { font-size: 14px; font-weight: 600; color: var(--mute-3); margin: 28px 0 8px; }
.sublabel--accent { color: var(--accent); margin-top: 0; }
.grid--altar { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.altar { background: var(--accent); color: var(--ink); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 240px; }
.altar__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.altar__t { margin: 0; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 52px); line-height: 1; min-width: 0; overflow-wrap: break-word; }
.altar__impact { margin: 0; text-align: right; }
.altar__n { display: block; font-weight: 900; font-stretch: 62%; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.altar__l { font-size: 13px; }
.altar__d { margin: 0; font-size: 16px; line-height: 1.45; max-width: 40ch; }

.grid--public { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.work { background: var(--ink-2); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 170px; transition: background-color .25s; }
a.work:hover { background: var(--ink-3); color: inherit; }
.work__tag { font-size: 13px; color: var(--mute-3); }
.work__t { font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: 26px; line-height: 1; }
.work__d { font-size: 15px; line-height: 1.45; color: var(--mute-5); }
.work__src { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--accent); }

.oss__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; font-weight: 400; }
.oss__label { margin: 0; }
.oss__total { color: var(--stone); font-variant-numeric: tabular-nums; }
.oss { display: flex; flex-direction: column; }
.oss__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 140px; gap: 16px; align-items: center; border-top: 1px solid var(--rule-dark); padding: 16px 0; transition: color .2s; }
.oss__row:hover { color: var(--accent); }
.oss__t { display: block; font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: 22px; line-height: 1; }
.oss__lang { font-size: 13px; color: var(--mute-3); }
.oss__d { font-size: 15px; line-height: 1.4; color: var(--mute-5); }
.oss__meter { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.oss__nums { display: flex; justify-content: space-between; }
.oss__forks { color: var(--mute-3); }
.oss__track { height: 4px; background: var(--rule-dark); overflow: hidden; }
.oss__bar { display: block; height: 4px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--fill, 0)); transition: transform .8s; }

#workshop { width: 80%; margin-left: 14%; }
.grid--stack { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stack__k { margin: 0; font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: 22px; }
.stack__t { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--mute-1); }

#nave, #foundation { width: 100%; }
.career { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column-reverse; gap: 2px; }
.career__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; background: var(--stone); color: var(--ink); padding: 16px 20px; align-items: baseline; }
.career__row.is-now { background: var(--accent); }
.career__co { margin: 0; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 48px); line-height: 1; min-width: 0; overflow-wrap: break-word; }
.career__role { margin: 0; font-size: 13px; opacity: .7; }
.career__d { margin: 4px 0 0; font-size: 15px; line-height: 1.45; }

.grid--stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { border-top: 2px solid var(--accent); padding: 16px 0 4px; }
.stat__v { margin: 0; font-weight: 900; font-stretch: 62%; font-size: clamp(52px, 5.6vw, 84px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__l { margin: 8px 0 0; font-size: 15px; line-height: 1.4; color: var(--mute-4); max-width: 24ch; }
.gh { margin: 20px 0 0; font-size: 14px; color: var(--mute-3); }

/* ground */
.ground { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 0 48px; border-top: 6px solid var(--ink); }
.ground__name { margin: 0; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(72px, 13vw, 220px); line-height: .9; letter-spacing: -.01em; overflow-wrap: break-word; min-width: 0; }
.ground__role { margin: 16px 0 0; font-size: 16px; color: var(--mute-2); }
.ground__foot { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.ground__lede { margin: 0; font-size: clamp(18px, 2vw, 26px); line-height: 1.3; max-width: 30ch; }
.ground__go {
  font: inherit; font-size: 16px; font-weight: 600; background: var(--ink); color: var(--stone);
  border: 0; padding: 12px 16px; cursor: pointer; transition: background-color .2s, color .2s;
}
.ground__go:hover { background: var(--accent); color: var(--ink); }
.ground__go:active { opacity: .8; }

@media (max-width: 640px) {
  .room { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
  .oss__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .career__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .altar__top { flex-direction: column; }
  .altar__impact { text-align: left; }
  .altar__t { overflow-wrap: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .js .room, .oss__bar, .elevator__btn, .work, .oss__row, .ground__go { transition: none; }
  .js .room:not(.is-seen), .js .room:not(.is-seen):nth-of-type(even) { opacity: 1; transform: none; }
}
