.lobby-hero {
  --lobby-ink: #241c18;
  --lobby-ivory: #fff0d8;
  --lobby-gold: #edb987;
  --lobby-ease: cubic-bezier(.2,.69,.24,1);
  --lobby-gutter: max(var(--page-margin), calc((100% - var(--container-max)) / 2));
  background: var(--lobby-ink);
}
.lobby-feature {
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: calc(100svh - var(--nav-h) - 1px);
  background: var(--lobby-ink);
}
.lobby-masthead {
  min-height: 45px;
  background: #241c18;
  color: #f8e4cb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 6px var(--lobby-gutter);
  border-bottom: 1px solid #d5a47049;
}
.lobby-masthead > span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: .035em;
}
.lobby-masthead svg { color: #edbb86 }
.lobby-masthead .demo-label {
  background: #3f2a20;
  border-color: #7b563b;
  color: #f4d4a6;
}
.lobby-scene {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  min-height: 0;
}
.lobby-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: clamp(22px, 4vh, 48px) clamp(23px, 4vw, 65px);
  padding-inline-start: max(var(--page-margin), calc((100vw - var(--container-max)) / 2));
  background: radial-gradient(ellipse at 111% 91%, #4b3227 0%, transparent 70%),
              linear-gradient(116deg,#2b221e,#392820);
  color: var(--lobby-ivory);
}
.lobby-overline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--lobby-gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 670;
  letter-spacing: .17em;
  margin-bottom: 16px;
}
.lobby-overline > span { width: 18px; height: 1px; background: #c78861 }
.lobby-title {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 400;
  font-size: clamp(43px, min(4.64vw, 7.8vh), 73px);
  line-height: .99;
  letter-spacing: -.056em;
  margin: 0 0 17px;
}
.lobby-line { display: block; overflow: clip; padding-bottom: .14em; margin-bottom: -.14em }
.lobby-line > span { display: block }
/* Stack the copy at its tallest chapter so the controls stay in place. */
.lobby-panels { display: grid; align-items: center; min-width: 0 }
.lobby-panel { grid-area: 1 / 1; min-width: 0 }
.lobby-panel[hidden] { display: block !important; visibility: hidden; pointer-events: none }
.lobby-panel > p { color: #efcfb3; font-size: clamp(15px, 1.3vw, 18px); max-width: 35ch }
.lobby-readout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 21px;
  padding-top: 13px;
  border-top: 1px solid #c38f644f;
}
.lobby-readout-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border: 1px solid #c39b6d5c;
  border-radius: 6px;
  color: #edbc85;
  background: #e9b68412;
}
.lobby-readout strong, .lobby-readout div > span { display: block }
.lobby-readout strong { color: #fff0d7; font-size: 15px }
.lobby-readout div > span { color: #edcbb1; font-size: 12px }
.lobby-actions { margin-top: 22px }
.lobby-actions .btn { font-size: 13px; padding-inline: 12px }
.lobby-actions .btn-ghost { --btn-fill: #392720 }
.lobby-art {
  --lobby-zoom: .94;
  --lobby-sweep: 0%;
  --lobby-door-angle: 17deg;
  --lobby-door-fade: 1;
  --lobby-frame-scale: 1;
  --lobby-frame-fade: 1;
  --lobby-plaque-fade: 1;
  --lobby-plaque-rise: 0px;
  --lobby-warmth: .13;
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  background: #6a4a39;
}
.lobby-hero[data-scene="1"] .lobby-art {
  --lobby-zoom: 1.13;
  --lobby-door-angle: 76deg;
  --lobby-door-fade: .44;
  --lobby-plaque-fade: 0;
  --lobby-plaque-rise: -26px;
  --lobby-warmth: .34;
}
.lobby-hero[data-scene="2"] .lobby-art {
  --lobby-zoom: 1.67;
  --lobby-sweep: -13%;
  --lobby-door-angle: 84deg;
  --lobby-door-fade: 0;
  --lobby-frame-scale: 1.65;
  --lobby-frame-fade: 0;
  --lobby-plaque-fade: 0;
  --lobby-plaque-rise: -28px;
  --lobby-warmth: .25;
}
.lobby-camera, .lobby-light { position: absolute; inset: 0 }
.lobby-camera {
  transform: translateX(var(--lobby-sweep)) scale(var(--lobby-zoom));
  transition: transform .95s var(--lobby-ease);
}
.lobby-camera img { width: 100%; height: 100%; object-fit: cover }
.lobby-door-frame {
  position: absolute;
  inset: 0 10.5%;
  border: clamp(10px,1.18vw,18px) solid #63442f;
  border-bottom: 0;
  box-shadow: inset 0 0 0 2px #cca265, 0 0 0 2px #956342, 0 0 28px #20140eb3;
  perspective: 490px;
  transform: scale(var(--lobby-frame-scale));
  opacity: var(--lobby-frame-fade);
  transition: transform .93s var(--lobby-ease), opacity .6s;
}
.lobby-door {
  position: absolute;
  inset-block: 0;
  width: 50%;
  border: clamp(6px, .65vw, 10px) solid #a6794b;
  background: linear-gradient(133deg,#281d22a8,#af7e6054 49%,#291c238c);
  box-shadow: inset 0 0 0 2px #ecc481;
  opacity: var(--lobby-door-fade);
  transition: transform .95s var(--lobby-ease), opacity .52s;
}
.lobby-door::after {
  content: "";
  position: absolute;
  width: 7px;
  height: clamp(24px,5vh,48px);
  top: 57%;
  right: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg,#d1995d,#f7ce8e 60%,#b98551);
  box-shadow: 2px 1px 4px #301d12a0;
}
.door-left { left: 0; transform-origin: left; transform: rotateY(calc(-1 * var(--lobby-door-angle))) }
.door-right { right: 0; transform-origin: right; transform: rotateY(var(--lobby-door-angle)) }
.door-right::after { left: 10px; right: auto }
.lobby-plaque {
  position: absolute;
  top: 9%;
  left: 50%;
  translate: -50% 0;
  z-index: 1;
  padding: 9px 20px;
  min-width: 155px;
  border: 1px solid #c49966;
  background: #34251e;
  color: #fbd6aa;
  box-shadow: 0 10px 30px #25151645;
  font: 400 clamp(26px, 3.2vw, 47px)/.97 var(--serif);
  text-align: center;
  opacity: var(--lobby-plaque-fade);
  transform: translateY(var(--lobby-plaque-rise));
  transition: opacity .32s, transform .7s var(--lobby-ease);
}
.lobby-plaque span {
  display: block;
  margin-top: 5px;
  font: 650 9px/1.2 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lobby-light {
  pointer-events: none;
  background: radial-gradient(ellipse at 51% 44%, #ffc988b0 0%, transparent 62%);
  mix-blend-mode: screen;
  opacity: var(--lobby-warmth);
  transition: opacity .7s;
}
.lobby-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg,#2b1f156b,transparent 28%),
              linear-gradient(90deg,#231a184d,transparent 19%,transparent 82%,#21171438);
}
.lobby-scene-cue {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 15px;
  padding: 5px 10px;
  color: #fff0d1;
  background: #33251de8;
  border: 1px solid #a880534f;
  font-size: 12px;
  letter-spacing: .06em;
}
.lobby-overlay {
  position: absolute;
  z-index: 2;
  width: min(77%, 292px);
  left: 6%;
  bottom: 12%;
  border: 1px solid #deb885;
  border-radius: 8px;
  padding: 12px 14px;
  background: #f9eed8;
  color: #342c21;
  box-shadow: 0 13px 37px #20150d73;
}
.lobby-decision { left: auto; right: 7%; bottom: 15% }
.lobby-overlay-head { display: flex; gap: 7px; align-items: center; margin-bottom: 7px; font-size: 13px }
.lobby-overlay-head svg { color: #82532d }
.lobby-overlay-range { display: flex; align-items: baseline; gap: 8px; color: #4c603e }
.lobby-overlay-range b { font: 400 47px/1 var(--serif) }
.lobby-overlay-range span, .lobby-overlay-meta { font-size: 12px }
.lobby-overlay-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; padding: 7px 0; margin: 5px 0; border-top: 1px solid #caab82 }
.lobby-controls {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px var(--lobby-gutter);
  border-top: 1px solid #d4b28d;
  background: #f5ead7;
  color: #31251d;
}
.lobby-chapters, .lobby-tools, .lobby-controls button, .lobby-skip {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lobby-chapters { flex-wrap: wrap }
.lobby-chapters button {
  min-height: 44px;
  padding: 6px 12px;
  background: #fff8e942;
  border: 1px solid #d1af8e;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
  transition: background .19s, border-color .19s, color .19s;
}
.lobby-chapters button:hover, .lobby-chapters button:focus-visible { background: #e8d5b9; border-color: #a77a4e }
.lobby-chapters button[aria-pressed="true"] { background: #372920; border-color: #372920; color: #ffedd2 }
.lobby-chapters button[aria-pressed="true"] svg { color: #edba83 }
.lobby-tools { gap: 13px }
.lobby-motion, .lobby-skip {
  min-height: 44px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #614529;
  font-size: 12px;
  font-weight: 650;
}
.lobby-motion:hover, .lobby-skip:hover { color: #332218; text-decoration: underline; text-underline-offset: 3px }
.lobby-motion:disabled { cursor: default; opacity: .74 }
.lobby-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,#99603d,#c7945b);
  transform: scaleX(var(--lobby-progress,.12));
  transform-origin: left;
}
.lobby-hero:not([data-lobby-ready]) :is(.lobby-chapters,.lobby-motion) { display: none }
[data-lobby-scroll] :is(.lobby-camera,.lobby-door-frame,.lobby-door,.lobby-plaque,.lobby-light) { transition: none }
.lobby-context {
  background: #f9f2e4;
  border-block: 1px solid #e8d8bf;
}
.lobby-context > div { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 15px }
.lobby-context > div > span { display: flex; align-items: center; gap: 7px; color: #4d5140; font-size: 13px; font-weight: 650 }
.lobby-context p { flex: 1; font-size: 14px }
.lobby-context .btn { white-space: nowrap; min-height: 41px }
@media (max-width: 980px) {
  .lobby-scene { min-height: 490px }
  .lobby-title { font-size: clamp(37px, 5.4vw, 54px) }
  .lobby-copy { padding-inline: 26px }
  .lobby-context > div { flex-wrap: wrap; justify-content: start }
  .lobby-context p { flex-basis: 100% }
}
@media (max-width: 700px) {
  .lobby-masthead { min-height: 38px; padding: 5px 11px }
  .lobby-masthead > span:last-child { font-size: 11px; gap: 3px }
  .lobby-masthead svg { width: 13px }
  .lobby-scene { grid-template-columns: 1fr; grid-template-rows: auto minmax(235px, 1fr); min-height: 0 }
  .lobby-copy { padding: 19px 17px 17px }
  .lobby-panels { min-height: 245px }
  .lobby-title { font-size: clamp(35px, 9.2vw, 56px); margin-bottom: 10px }
  .lobby-overline { margin-bottom: 10px; font-size: 10px }
  /* Stack the copy at its tallest chapter so the controls stay in place. */
.lobby-panels { display: grid; align-items: center; min-width: 0 }
.lobby-panel { grid-area: 1 / 1; min-width: 0 }
.lobby-panel[hidden] { display: block !important; visibility: hidden; pointer-events: none }
.lobby-panel > p { font-size: 14px }
  .lobby-readout { margin-top: 11px; padding-top: 9px }
  .lobby-readout-icon { width: 32px; height: 32px }
  .lobby-readout strong { font-size: 13px }
  .lobby-readout div > span { font-size: 11px }
  .lobby-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; gap: 6px }
  .lobby-actions .btn { padding: 6px 5px; min-height: 44px; font-size: 11px; line-height: 1.15; gap: 4px }
  .lobby-actions .btn-icon { width: 17px; height: 17px }
  .lobby-art { min-height: 235px }
  .lobby-plaque { min-width: 122px; padding: 6px 10px; font-size: 27px }
  .lobby-plaque span { font-size: 8px }
  .lobby-controls { padding: 5px 8px; gap: 0 6px }
  .lobby-chapters { gap: 5px }
  .lobby-chapters button { padding: 5px 7px; gap: 4px; font-size: 11px }
  .lobby-chapters svg { width: 14px }
  .lobby-tools { gap: 9px }
  .lobby-skip, .lobby-motion { font-size: 11px }
  .lobby-context > div { gap: 7px 15px }
  .lobby-overlay { bottom: 15%; padding: 7px 9px }
}

.lobby-feature:has(> .funding-banner){grid-template-rows:auto auto 1fr auto}
