/* UBC — Noir: an invitation-only chamber in black, charcoal and champagne gold */

:root {
  --bg: #161518;
  --bg-2: #1C1B1E;
  --bg-3: #252327;
  --gold: #C8A96A;
  --gold-hi: #E3CB98;
  --gold-lo: #8E7443;
  --ivory: #ECE5D8;
  --text: #CFC8BB;
  --dim: #9C968B;
  --line: rgba(200, 169, 106, .26);
  --line-soft: rgba(236, 229, 216, .11);

  --display: 'Castoro Titling', 'Castoro', Georgia, serif;
  --serif: 'Castoro', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--gold-lo) var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px; font-weight: 400; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--gold);
}
::selection { background: var(--gold); color: var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2A2620; border: 2px solid var(--bg); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-lo); }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--bg); font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
.section + .section::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  transform-origin: center; transform: scaleX(var(--rule, 1));
}

/* type */
.display {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(36px, 5.2vw, 76px); line-height: 1.04; letter-spacing: .015em;
  color: var(--ivory);
  text-wrap: balance;
}
.label, .bar-label, .scale-label, .contact-label, .seek label, .well-label, .field label {
  font-family: var(--sans); font-weight: 500;
  font-size: 12px; line-height: 1.4; letter-spacing: .28em; text-transform: uppercase;
  color: var(--dim);
}
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.sec-head p { max-width: 46ch; font-size: clamp(18px, 1.4vw, 20px); color: var(--text); }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 64px; }
}

/* buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  border: 1px solid transparent;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  cursor: pointer;
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold::before { background: var(--gold-hi); }
.btn-ghost { border-color: rgba(236, 229, 216, .6); color: var(--ivory); }
.btn-ghost::before { background: rgba(200, 169, 106, .14); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- navigation ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 32px;
  padding: 26px var(--gutter);
  transition: padding .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(22, 21, 24, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.nav-plaque {
  flex: 0 0 auto; display: block;
  padding: 6px 9px;
  background: #F4EFE5;
  box-shadow: 0 0 0 1px rgba(200, 169, 106, .55), 0 10px 30px rgba(0, 0, 0, .35);
}
.nav-plaque img { width: 62px; mix-blend-mode: multiply; transition: width .45s var(--ease); }
.nav.is-scrolled .nav-plaque img { width: 48px; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 40px); margin-left: auto; }
.nav-links a, .foot-links a {
  position: relative; padding: 8px 0;
  font-size: 12.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ivory);
  transition: color .3s;
}
.nav-links a::after, .foot-links a::after {
  content: ""; position: absolute; left: 0; right: .26em; bottom: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transition: transform .45s var(--ease);
}
.nav-links a:hover, .nav-links a.is-current, .foot-links a:hover { color: var(--gold-hi); }
.nav-links a:hover::after, .nav-links a.is-current::after, .foot-links a:hover::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 0 22px; font-size: 12px; }
.nav-menu {
  display: none; margin-left: auto;
  width: 48px; height: 48px; padding: 0; place-items: center;
  border: 0; background: transparent; color: var(--ivory); cursor: pointer;
}
.nav-menu svg { width: 28px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu { display: grid; }
}

/* full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 40px;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(200, 169, 106, .12), transparent 60%),
    var(--bg);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu-close {
  position: absolute; top: 22px; right: var(--gutter);
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); background: transparent; color: var(--ivory); cursor: pointer;
}
.menu-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.4; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex; align-items: baseline; gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--display); font-size: clamp(30px, 8vw, 56px); line-height: 1.1; color: var(--ivory);
  transform: translateY(18px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s;
  transition-delay: calc(var(--i, 0) * 60ms + 120ms);
}
.menu-links a span { min-width: 2.4em; font-family: var(--sans); font-size: 12px; letter-spacing: .28em; color: var(--gold); }
.menu-links a:hover { color: var(--gold-hi); }
.menu.is-open .menu-links a { transform: none; opacity: 1; }
.menu-foot { margin-top: 32px; font-size: 15px; letter-spacing: .02em; color: var(--dim); }
.menu-foot a { color: var(--gold-hi); }
body.menu-lock { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 140px var(--gutter) 0;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform-origin: 50% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 46% at 50% 48%, rgba(8, 8, 9, .66), rgba(8, 8, 9, .2) 70%, transparent),
    linear-gradient(180deg, rgba(8, 8, 9, .78) 0%, rgba(8, 8, 9, .15) 26%, rgba(8, 8, 9, .1) 58%, rgba(22, 21, 24, 1) 100%);
}
.hero-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px 0 48px;
}
.hero-title { display: flex; flex-direction: column; align-items: center; gap: .18em; font-weight: 400; color: var(--ivory); }
.hero-line { display: block; font-family: var(--display); letter-spacing: .02em; line-height: 1; }
.hero-line-1 { font-size: clamp(54px, 8.6vw, 96px); }
.hero-line-2 {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 34px);
  width: 100%;
  font-size: clamp(22px, 3.3vw, 46px); color: var(--ivory);
}
.hero-rule { flex: 0 1 clamp(40px, 13vw, 230px); height: 1px; background: rgba(236, 229, 216, .7); transform-origin: var(--from, right); }
.hero-rule + span + .hero-rule { --from: left; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.word > span { display: inline-block; }
.hero-lede { max-width: 40ch; margin-top: clamp(26px, 3vw, 40px); font-size: clamp(17px, 1.35vw, 20px); color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(30px, 3.4vw, 44px); }

.hero-bar {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: end; gap: 12px clamp(28px, 4vw, 64px);
  padding: 0 0 clamp(22px, 3vw, 36px);
}
.bar-item { display: flex; flex-direction: column; gap: 8px; }
.bar-value { font-family: var(--display); font-size: clamp(20px, 1.9vw, 28px); line-height: 1; color: var(--ivory); letter-spacing: .04em; white-space: nowrap; }
.bar-end { text-align: right; align-items: flex-end; grid-column: 4; }
.bar-end .bar-value { color: var(--gold-hi); transition: color .3s; }
.bar-end:hover .bar-value { color: var(--ivory); }
.bar-scroll {
  grid-column: 3; justify-self: center; align-self: end;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-bottom: calc(-1 * clamp(22px, 3vw, 36px));
}
.bar-line { position: relative; width: 1px; height: 78px; overflow: hidden; background: rgba(236, 229, 216, .22); }
.bar-line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--gold-hi);
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip { 0% { top: -40%; } 70%, 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .bar-line::after { animation: none; top: 30%; } }
@media (max-width: 760px) {
  .hero { padding-top: 112px; }
  .hero-bar { grid-template-columns: 1fr auto 1fr; }
  .hero-bar .bar-item:nth-child(2) { display: none; }
  .bar-scroll { grid-column: 2; }
  .bar-end { grid-column: 3; }
  .bar-value { font-size: 18px; }
  .hero-bar .bar-label { font-size: 11px; letter-spacing: .12em; }
}

/* ---------- philosophy ---------- */
.phil-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 980px) { .phil-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: end; } }
.phil-lede { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 27px); line-height: 1.5; color: var(--ivory); }
.creed {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px;
  margin: clamp(56px, 7vw, 96px) 0;
  padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}
.creed span { display: flex; align-items: center; gap: 24px; }
.creed span + span::before { content: ""; width: 1px; height: 1.1em; background: var(--line); }
@media (max-width: 700px) { .creed { justify-content: flex-start; } .creed span + span::before { display: none; } .creed span { flex: 1 1 40%; } }

.phil-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
@media (min-width: 980px) { .phil-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.phil-photo, .nom-photo, .causes figure { position: relative; overflow: hidden; background: var(--bg-3); }
.phil-photo { aspect-ratio: 5 / 4; }
.phil-photo img, .nom-photo img, .causes img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.phil-photo::after, .nom-photo::after, .causes figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(200, 169, 106, .18);
}
.principles { display: flex; flex-direction: column; }
.principles li {
  display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: 18px; row-gap: 10px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
}
.principles li:first-child { padding-top: 0; }
.principles li:last-child { border-bottom: 0; }
.numeral { grid-row: span 2; padding-top: .55em; font-family: var(--display); font-size: 15px; letter-spacing: .2em; color: var(--gold); }
.principles h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; color: var(--ivory); transition: color .3s; }
.principles li:hover h3 { color: var(--gold-hi); }
.principles p { color: var(--text); }

.room { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: clamp(80px, 10vw, 140px); }
@media (min-width: 980px) { .room { grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 72px; } }
.room-title { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); padding-top: 18px; }
.room-list li {
  position: relative;
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--display); font-size: clamp(26px, 3.6vw, 52px); line-height: 1.1; color: var(--ivory);
  transition: color .35s, padding-left .5s var(--ease);
}
.room-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--gold);
  transition: width .5s var(--ease);
}
.room-coda { grid-column: -2; margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.6vw, 23px); color: var(--text); }

/* ---------- register: the chamber ---------- */
.register { background: radial-gradient(70% 60% at 50% 70%, rgba(200, 169, 106, .07), transparent 70%); }
.chamber { position: relative; max-width: 1100px; margin: 0 auto; }
.chamber-svg { width: 100%; height: auto; overflow: visible; touch-action: manipulation; }
.seat { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform .25s var(--ease), fill .25s, stroke .25s; }
.seat.is-taken { fill: var(--gold); }
.seat.is-live { fill: var(--ivory); }
.seat.is-open { fill: transparent; stroke: rgba(200, 169, 106, .42); stroke-width: 1.2; }
.seat.is-hover { transform: scale(1.7); }
.seat.is-taken.is-hover { fill: var(--gold-hi); }
.seat.is-open.is-hover { fill: rgba(200, 169, 106, .35); stroke: var(--gold-hi); }
.seat.is-picked { transform: scale(1.9); stroke: var(--ivory); stroke-width: 1.6; }
.seat-halo { fill: none; stroke: var(--gold-hi); stroke-width: 1.2; pointer-events: none; transform-box: fill-box; transform-origin: center; }
.chamber-well {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(40%, 380px);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; pointer-events: none;
}
.well-num { font-family: var(--display); font-size: clamp(40px, 7vw, 96px); line-height: .95; letter-spacing: .04em; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.well-status { font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.4; color: var(--ivory); min-height: 1.4em; }
.chamber-well.is-open .well-num { color: var(--ivory); }
.chamber-well.is-void .well-num { color: var(--dim); }
.chamber-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
  max-width: 1100px; margin: clamp(40px, 5vw, 64px) auto 0;
  padding-top: 28px; border-top: 1px solid var(--line-soft);
}
.seek { display: flex; flex-direction: column; gap: 12px; }
.seek-field { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--gold); }
.seek input {
  width: 9ch; min-height: 54px; padding: 0;
  border: 0; background: transparent; color: var(--ivory);
  font-family: var(--display); font-size: 30px; letter-spacing: .08em;
}
.seek input::placeholder { color: #8A8478; font-size: 20px; letter-spacing: .06em; }
.seek input:focus { outline: none; }
.seek-field:focus-within { border-bottom-color: var(--gold-hi); box-shadow: 0 1px 0 var(--gold-hi); }
.seek-go { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--gold-hi); cursor: pointer; transition: background-color .3s, color .3s; }
.seek-go:hover { background: var(--gold); color: var(--bg); }
.seek-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.seek-msg { min-height: 1.6em; font-size: 15px; color: var(--dim); }
.legend { display: flex; flex-wrap: wrap; gap: 14px 30px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.legend li { display: flex; align-items: center; gap: 10px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-taken { background: var(--gold); }
.dot-live { background: var(--ivory); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--gold-hi); }
.dot-open { border: 1.2px solid rgba(200, 169, 106, .6); }
.note { max-width: 1100px; margin: 28px auto 0; font-size: 14px; color: var(--dim); }

/* ---------- films ---------- */
.film-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3vw, 44px); align-items: start; }
@media (min-width: 900px) { .film-row { grid-template-columns: minmax(0, 3.16fr) minmax(0, 1fr); } }
@media (max-width: 899px) { .film-tall { width: min(100%, 320px); } }
.film { position: relative; overflow: hidden; }
.film-frame { position: relative; background: var(--bg-3); box-shadow: 0 0 0 1px var(--line-soft), 0 30px 60px rgba(0, 0, 0, .45); }
.film video { width: 100%; height: auto; background: var(--bg-3); }
.film-wide video { aspect-ratio: 16 / 9; }
.film-tall video { aspect-ratio: 9 / 16; }
.film-play {
  position: absolute; left: 50%; top: 50%;
  width: 88px; height: 88px; margin: -44px 0 0 -44px;
  display: grid; place-items: center;
  border: 1px solid rgba(236, 229, 216, .8); border-radius: 50%;
  background: rgba(10, 10, 11, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background-color .35s var(--ease), border-color .35s, transform .45s var(--ease), opacity .3s;
}
.film-play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--ivory); transition: fill .3s; }
.film-play:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.06); }
.film-play:hover svg { fill: var(--bg); }
.film-frame.is-playing .film-play { opacity: 0; pointer-events: none; }
.film figcaption { margin-top: 16px; font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }

/* ---------- membership: the invitation journey ---------- */
.journey { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.journey::before, .journey::after { content: ""; position: absolute; background: var(--line-soft); }
.journey::after { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.stage { position: relative; display: grid; gap: 14px; }
.stage-num {
  position: relative; z-index: 1; justify-self: start;
  padding-right: 18px; background: var(--bg);
  font-family: var(--display); font-size: clamp(44px, 4.6vw, 64px); line-height: 1; color: #988A6E;
  transition: color .6s var(--ease);
}
.stage.is-lit .stage-num { color: var(--gold-hi); }
.stage h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: var(--ivory); }
.stage p { max-width: 30ch; color: var(--text); }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
  .journey::before, .journey::after { left: 0; right: 0; top: calc(clamp(44px, 4.6vw, 64px) / 2); height: 1px; }
  .journey::after { transform-origin: left; transform: scaleX(var(--p, 1)); }
}
@media (max-width: 899px) {
  .journey { padding-left: 36px; row-gap: 48px; }
  .journey::before, .journey::after { left: 6px; top: 8px; bottom: 8px; width: 1px; }
  .journey::after { background: linear-gradient(180deg, var(--gold-lo), var(--gold-hi)); transform-origin: top; transform: scaleY(var(--p, 1)); }
  .stage::before { content: ""; position: absolute; left: -35px; top: .7em; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--gold-lo); transition: box-shadow .5s, background-color .5s; }
  .stage.is-lit::before { background: var(--gold-hi); box-shadow: none; }
  .stage-num { padding-right: 0; background: none; }
}
.terms {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px;
  margin-top: clamp(72px, 9vw, 120px); padding-top: 40px;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .terms { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 56px; align-items: start; } }
.term h3 { margin-bottom: 12px; font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.term p { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; color: var(--ivory); }
.terms-cta { align-self: center; justify-self: start; }

/* ---------- impact ---------- */
.ledger-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
@media (min-width: 980px) { .ledger-wrap { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.4fr); } }
.dial { position: relative; width: min(100%, 400px); margin: 0 auto; aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-track { fill: none; stroke: var(--line-soft); stroke-width: 14; }
.dial-seg { fill: none; stroke-width: 14; transition: opacity .35s, stroke-width .35s var(--ease); }
.seg-1 { stroke: var(--gold-hi); }
.seg-2 { stroke: var(--gold); }
.seg-3 { stroke: #9C7F4A; }
.seg-4 { stroke: #5E4E30; }
.dial.is-focus .dial-seg { opacity: .25; }
.dial.is-focus .dial-seg.is-lit { opacity: 1; stroke-width: 20; }
.dial-centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.dial-amt { font-family: var(--display); font-size: clamp(28px, 3.2vw, 44px); line-height: 1; color: var(--ivory); letter-spacing: .03em; }
.dial-label { max-width: 14ch; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }

.scale { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 28px; }
.scale-options { display: flex; flex-wrap: wrap; border: 1px solid var(--line); }
.scale-options button {
  min-height: 46px; padding: 0 18px;
  border: 0; background: transparent; color: var(--text);
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; transition: background-color .35s var(--ease), color .3s;
}
.scale-options button + button { border-left: 1px solid var(--line); }
.scale-options button:hover { color: var(--gold-hi); }
.scale-options button[aria-pressed="true"] { background: var(--gold); color: var(--bg); }
.ledger { width: 100%; border-collapse: collapse; }
.ledger thead th { padding: 0 0 14px; text-align: left; font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.ledger thead th:nth-child(2) { text-align: right; padding-right: 24px; }
.ledger thead th:last-child, .ledger td.amt { text-align: right; }
.ledger tbody tr { border-bottom: 1px solid var(--line-soft); cursor: default; transition: background-color .3s; }
.ledger tbody tr:hover { background: rgba(200, 169, 106, .05); }
.ledger tbody th, .ledger td { padding: 20px 0; font-weight: 400; vertical-align: middle; }
.ledger tbody th { display: flex; align-items: center; gap: 14px; text-align: left; font-size: 18px; color: var(--ivory); }
.ledger td:nth-child(2) { padding-right: 24px; text-align: right; font-size: 15px; letter-spacing: .1em; color: var(--dim); }
.ledger td.amt { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); letter-spacing: .03em; color: var(--gold-hi); white-space: nowrap; }
.key { flex: 0 0 auto; width: 12px; height: 12px; }
.key-1 { background: var(--gold-hi); } .key-2 { background: var(--gold); } .key-3 { background: #9C7F4A; } .key-4 { background: #5E4E30; }
@media (max-width: 600px) {
  .ledger thead th:nth-child(2), .ledger tr[data-seg] td:nth-child(2) { display: none; }
  .ledger tbody th { font-size: 16px; }
  .scale-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .scale-options button { padding: 8px 6px; font-size: 11px; letter-spacing: .1em; line-height: 1.4; }
}

.causes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); margin-top: clamp(72px, 9vw, 120px); }
.causes figure { aspect-ratio: 4 / 5; }
.causes span { display: block; margin-top: 16px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--text); }
@media (max-width: 600px) { .causes span { font-size: 11px; letter-spacing: .1em; } }

/* ---------- council ---------- */
.lineage { position: relative; padding-left: clamp(36px, 5vw, 64px); }
.lineage::before, .lineage::after { content: ""; position: absolute; left: 6px; top: 22px; bottom: 30px; width: 1px; background: var(--line-soft); }
.lineage::after { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); transform-origin: top; transform: scaleY(var(--p, 1)); }
.office {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.office:last-child { border-bottom: 0; }
.office::before {
  content: ""; position: absolute; left: calc(-1 * clamp(36px, 5vw, 64px) + 1px); top: 38px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--gold-lo);
  transition: background-color .5s, box-shadow .5s;
}
.office.is-lit::before { background: var(--gold-hi); box-shadow: 0 0 0 4px rgba(227, 203, 152, .14); }
.office h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 42px); line-height: 1.1; color: var(--ivory); transition: color .3s; }
.office:hover h3 { color: var(--gold-hi); }
.office p { max-width: 52ch; color: var(--text); }
.term-tag { font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
.term-tag.is-gold { color: var(--gold); }
@media (min-width: 900px) {
  .office { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .6fr); gap: 40px; align-items: center; }
  .term-tag { text-align: right; }
}

/* ---------- nominate ---------- */
.nominate-sec { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.nom-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
@media (min-width: 980px) { .nom-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; } }
.nom-intro { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }
.nom-photo { aspect-ratio: 3 / 2; max-width: 540px; }
.contact { display: flex; flex-direction: column; gap: 8px; }
.contact-name { font-family: var(--display); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; color: var(--ivory); }
.contact-tel { font-family: var(--serif); font-size: 26px; color: var(--gold-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--gold-lo); transition: color .3s; }
.contact-tel:hover { color: var(--ivory); }
.nominate { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px 28px; }
@media (min-width: 560px) { .nominate { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field-wide { grid-column: 1 / -1; } }
@media (min-width: 980px) { .nominate { padding-top: clamp(40px, 6vw, 96px); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field .opt { letter-spacing: .02em; text-transform: none; }
.field input {
  min-height: 52px; padding: 6px 0;
  border: 0; border-bottom: 1px solid rgba(236, 229, 216, .3); border-radius: 0;
  background: transparent; color: var(--ivory);
  font-family: var(--serif); font-size: 22px;
  transition: border-color .3s;
}
.field input:hover { border-bottom-color: rgba(236, 229, 216, .55); }
.field input:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field input[aria-invalid="true"] { border-bottom-color: #E0857A; box-shadow: 0 1px 0 #E0857A; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.form-status { flex: 1 1 260px; font-size: 16px; line-height: 1.5; }
.form-status.is-void { color: #E8A096; }
.form-status.is-live { color: var(--gold-hi); }
.form-status a { color: var(--ivory); text-decoration: underline; text-underline-offset: .2em; }

/* ---------- footer ---------- */
.footer { background: #111013; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 32px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 900px) { .foot-top { grid-template-columns: auto minmax(0, 1fr) auto; gap: 64px; } }
.foot-plaque { justify-self: start; }
.foot-plaque img { width: 84px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.foot-contact { display: flex; flex-direction: column; gap: 8px; }
.foot-contact a { font-family: var(--serif); font-size: 20px; color: var(--ivory); transition: color .3s; }
.foot-contact a:hover { color: var(--gold-hi); }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
}
.chamber-svg:not(.is-ready) .seat { transition: none; }
.chamber-svg:not(.is-ready) .seat.is-hover { transform: none; }

/* ---------- fit pass ---------- */
.display { font-size: clamp(34px, 4.3vw, 64px); }
@media (min-width: 900px) { .sec-head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
@media (min-width: 980px) { .phil-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.hero-title { width: 100%; }
.hero-line-2 > span:not(.hero-rule) { white-space: nowrap; }
.room-list li { font-size: clamp(20px, 2.1vw, 30px); padding: 14px 0 12px; transition: color .35s; }
.stage, .principles li { align-content: start; }
.dial-label { max-width: 20ch; }
.office h3 { font-size: clamp(24px, 2.4vw, 34px); }
@media (min-width: 900px) { .office { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.3fr) minmax(0, .55fr); } }
@media (max-width: 700px) {
  .hero-line-2 { font-size: clamp(17px, 5vw, 24px); gap: 12px; }
  .hero-rule { flex-basis: 28px; }
  .chamber-well { position: static; transform: none; width: 100%; margin-top: 20px; }
  .seat { r: 7; }
}
@media (max-width: 760px) { .hero-bar .bar-label { white-space: nowrap; font-size: 11px; letter-spacing: .12em; } }
@media (min-width: 900px) {
}
/* controls state their own leading instead of the font's "normal" */
button, input, .btn { line-height: 1.4; }
a.bar-item .bar-value { transition: color .3s; }
a.bar-item:hover .bar-value { color: var(--gold-hi); }
/* the logo sits straight on the dark ground: transparent mark, no plaque */
.nav-plaque { padding: 0; background: none; box-shadow: none; }
.nav-plaque img { width: 86px; mix-blend-mode: normal; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .55)); }
.nav.is-scrolled .nav-plaque img { width: 64px; }
.foot-plaque img { width: 110px; }
@media (max-width: 760px) { .nav-plaque img { width: 72px; } }
.nav-plaque img { width: 108px; }
.nav.is-scrolled .nav-plaque img { width: 76px; }
@media (max-width: 760px) {
  .nav-plaque img { width: 84px; }
  /* two facts fit a phone's width; the scroll cue gives way */
  .hero-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .bar-scroll { display: none; }
  .bar-end { grid-column: 2; }
}

/* ---------- polish: one voice per role ---------- */
/* section heads speak in mixed-case Castoro; the titling capitals stay with the opening and the named items */
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -.012em;
  text-wrap: balance;
}
.sec-head.sec-head-centre { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.sec-head-centre p { max-width: 52ch; }
.sec-head.sec-head-stack { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.sec-head-stack .display { max-width: 16ch; }
.sec-solo { max-width: 18ch; margin-bottom: clamp(48px, 6vw, 88px); }

/* the ledger carries its own 75 / 25 split as group lines */
.ledger tr.ledger-group { border-bottom: 0; }
.ledger tr.ledger-group th, .ledger tr.ledger-group td { padding: 30px 0 10px; }
.ledger tbody tr.ledger-group:first-child th, .ledger tbody tr.ledger-group:first-child td { padding-top: 18px; }
.ledger tr.ledger-group th { display: table-cell; font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.ledger tr.ledger-group td.amt { font-size: clamp(24px, 2.4vw, 34px); color: var(--ivory); }
.ledger tr.ledger-group:hover { background: none; }

/* governance closes the council as three ledger lines */
.governance { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(72px, 9vw, 120px); padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .governance { grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 64px; } }
.governance-title { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); padding-top: 6px; }
.governance-list { margin: 0; }
.governance-list div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.governance-list div:first-child { padding-top: 0; }
@media (min-width: 640px) { .governance-list div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: baseline; } }
.governance-list dt { font-family: var(--display); font-size: clamp(19px, 1.6vw, 23px); color: var(--ivory); }
.governance-list dd { margin: 0; color: var(--dim); }

/* ---------- round of client changes, 2026-11-12 ---------- */
.hero-lede { max-width: 54ch; }

/* the scroll cue has done its job once the page moves */
.bar-scroll { transition: opacity .5s var(--ease), visibility 0s .5s; }
.is-scrolled-page .bar-scroll { opacity: 0; visibility: hidden; }

/* who sits: a quiet gold tick slides in beside the row you point at, the text never moves */
.room-list li::before { left: -28px; width: 16px; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.room-list li:hover { color: var(--gold-hi); }
.room-list li:hover::before { width: 16px; transform: scaleX(1); }
@media (max-width: 979px) { .room-list li::before { display: none; } }

/* photographs lean in a touch under the pointer (scale composes with the scroll parallax transform) */
.phil-photo img, .nom-photo img, .causes img {
  transition: scale 1.2s var(--ease), filter .8s var(--ease);
  filter: saturate(.92) brightness(.94);
}
.phil-photo:hover img, .nom-photo:hover img, .causes figure:hover img { scale: 1.05; filter: saturate(1.05) brightness(1.02); }
.phil-photo::after, .nom-photo::after, .causes figure::after { transition: box-shadow .6s var(--ease); }
.phil-photo:hover::after, .nom-photo:hover::after, .causes figure:hover::after { box-shadow: inset 0 0 0 1px rgba(227, 203, 152, .55); }
.causes li span { transition: color .4s; }
.causes li:hover span { color: var(--gold-hi); }
.film-frame video { transition: filter .6s var(--ease); filter: brightness(.9); }
.film-frame:hover video, .film-frame.is-playing video { filter: none; }

/* governance lines answer the pointer */
.governance-list div { transition: border-color .4s; }
.governance-list dt, .governance-list dd { transition: color .35s; }
.governance-list div:hover { border-bottom-color: var(--gold-lo); }
.governance-list div:hover dt { color: var(--gold-hi); }
.governance-list div:hover dd { color: var(--ivory); }

@media (prefers-reduced-motion: reduce) {
  .phil-photo img, .nom-photo img, .causes img, .room-list li::before { transition: none; }
  .phil-photo:hover img, .nom-photo:hover img, .causes figure:hover img { scale: none; }
}
.drift { display: block; height: 118%; margin-top: -9%; }
.drift img { height: 100%; margin-top: 0; }
/* logo over the opening: a touch smaller (client, 2026-11-12) */
.nav-plaque img { width: 88px; }
@media (max-width: 760px) { .nav-plaque img { width: 70px; } }

/* a lighter charcoal band every few sections, so the page has tone instead of one black field */
.films, .council { background: var(--bg-2); }

/* ---------- round: the chamber opens the page, chrome steps back ---------- */

/* labels read as sentences, not stamped capitals (nav and buttons keep the reference's tracked caps) */
.bar-label, .hero-bar .bar-label, .scale-label, .contact-label, .seek label, .well-label, .field label,
.film figcaption, .legend, .ledger thead th, .causes span, .dial-label, .term-tag, .foot-base {
  text-transform: none; letter-spacing: .01em; font-size: 15px; font-weight: 500;
}
.room-title, .governance-title, .term h3, .ledger tr.ledger-group th {
  text-transform: none; letter-spacing: .01em; font-size: 16px; font-weight: 500; color: var(--gold);
}
.hero-bar .bar-label { font-size: 14px; }
.dial-label, .foot-base { font-size: 13px; }
.field .opt { font-weight: 400; }
@media (max-width: 760px) { .hero-bar .bar-label { font-size: 13px; letter-spacing: .01em; } }
@media (max-width: 600px) { .causes span { font-size: 13px; letter-spacing: .01em; } }

/* fewer hairlines: space separates the lists, rules stay where they mean a table or a boundary */
.principles li { border-bottom: 0; padding: 22px 0; }
.room-list li { border-bottom: 0; padding: 9px 0; }
.governance-list div { border-bottom: 0; padding: 10px 0; }
.governance-list div:hover { border-bottom-color: transparent; }
.office { border-bottom: 0; padding: 22px 0; }
.creed { border-top: 0; border-bottom: 0; padding: 0; }

/* films run edge to edge: the one full-bleed break in the page's measure */
body { overflow-x: clip; }
.film-row { width: 100vw; margin-left: calc(50% - 50vw); gap: 4px; }
.film-frame { box-shadow: none; }
.film figcaption { padding: 0 var(--gutter); }
@media (min-width: 900px) { .film-tall figcaption { padding-left: 16px; } }
@media (max-width: 899px) { .film-tall { margin: 0 auto; } .film-tall figcaption { padding: 0 4px; } }
/* the pulsing ring grows its radius, so it stays centred on seat 0417 with no transform at all */
.seat-halo { transform: none; }
/* the headline element carries its display size itself, not only through its line spans */
.hero-title { font-size: clamp(54px, 8.6vw, 96px); }
