:root {
  color-scheme:dark;
  --page:#100e0b;
  --panel:#1a1612;
  --gold:#e4ba68;
  --ivory:#f7f0e4;
  --muted:#c7bca9;
  --line:#514438;
  --serif:Georgia,'Times New Roman',serif;
  --sans:system-ui,-apple-system,sans-serif;
  font:16px/1.55 var(--sans);
}
*, *::before, *::after { box-sizing:border-box }
[hidden] { display:none!important }
body { margin:0; background:var(--page); color:var(--ivory) }
a { color:inherit; text-underline-offset:4px }
button { font:inherit }
button:focus-visible, a:focus-visible, summary:focus-visible, h2:focus-visible { outline:2px solid var(--gold); outline-offset:5px }
.skip { position:fixed; z-index:1; top:8px; left:8px; padding:12px; background:var(--page); transform:translateY(-150%) }
.skip:focus { transform:none }
.sitebar,.room { width:min(1140px,calc(100% - clamp(28px,9vw,112px))); margin-inline:auto }
.sitebar { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:70px; border-bottom:1px solid var(--line); color:var(--muted); font-size:.875rem }
.sitebar a { display:inline-flex; align-items:center; gap:6px; min-height:44px }
.wordmark { color:var(--ivory); text-decoration:none; font-size:1rem; font-weight:800; letter-spacing:.065em }
.wordmark span { color:var(--gold); font-size:1.02rem; letter-spacing:-.13em; margin-right:6px }
.room { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(320px,1fr); align-items:center; gap:clamp(18px,5vw,72px); min-height:min(660px,76svh); padding-block:clamp(22px,7vw,100px) }
.identity { position:relative; isolation:isolate; min-width:0; display:flex; align-items:end; width:100%; min-height:420px; overflow:hidden; border-block:1px solid var(--line); background:radial-gradient(ellipse at 76% 18%,#4a3620 0%,#1c160f 45%,#100e0b 75%) }
.identity-copy { padding:26px; width:100%; position:relative; background:linear-gradient(0deg,var(--page) 5%,#100e0bde 68%,transparent) }
.identity-copy p:last-child { max-width:27ch; margin:13px 0 4px; color:var(--muted) }
.signal { color:var(--gold); text-transform:uppercase; font-size:.72rem; font-weight:800; letter-spacing:.14em; margin:0 0 .7rem }
h1,h2 { margin:0; color:var(--ivory); font-family:var(--serif); font-weight:400; letter-spacing:-.04em; line-height:.98; overflow-wrap:anywhere }
h1 { font-size:clamp(3rem,7vw,6.1rem); max-width:8ch }
h1 em { color:var(--gold); font-weight:400 }
h2 { font-size:clamp(2rem,4vw,3.4rem); scroll-margin:1rem }
.orbit { width:75%; aspect-ratio:1; position:absolute; z-index:-1; right:-3%; top:-9%; border-radius:50%; background:radial-gradient(circle at 50% 50%,#f0bb55 0 1%,#c99b4b88 2%,#1d140d 30%,#ac814859 48%,#100e0b 59%,transparent 61%) }
.orbit i { position:absolute; inset:10%; border:1px solid #d9ac6955; border-radius:50%; transform:rotate(34deg) scaleY(.34); box-shadow:inset 0 5px 28px #b88b4f35,0 5px 18px #bc8a4130 }
.orbit i:nth-child(2) { transform:rotate(-36deg) scaleY(.52); inset:8% }
.orbit i:nth-child(3) { transform:rotate(80deg) scaleY(.72); inset:17% }
.orbit b { position:absolute; top:33%; right:22%; width:4px; height:4px; border-radius:50%; background:var(--gold); box-shadow:0 0 15px 5px #f3b94e55 }
.room-panel { min-width:0; border:1px solid var(--line); border-top-color:#ad8950; padding:clamp(18px,4vw,48px); background:var(--panel); box-shadow:0 15px 60px #05040355 }
.room-panel .signal { margin-bottom:14px }
#room-detail { color:var(--muted); margin:17px 0 22px }
.button { display:inline-flex; align-items:center; justify-content:center; gap:16px; min-height:46px; padding:9px 16px; font-weight:750; border-radius:5px; border:1px solid var(--gold); cursor:pointer; text-align:start }
.button:disabled { opacity:.68; cursor:wait }
.primary { background:var(--gold); color:#1b140c }
.primary:hover:not(:disabled) { background:#f3cc80 }
.secondary { background:transparent; color:var(--ivory) }
.secondary:hover:not(:disabled) { background:#36291a }
.note,.assistance { color:var(--muted); font-size:.875rem }
.note { border-top:1px solid var(--line); margin-top:24px; padding-top:17px }
summary { cursor:pointer; display:list-item; min-height:44px; padding-block:10px; width:fit-content; text-decoration:underline; text-underline-offset:4px }
.assistance p { margin:0 }
#room-message:empty { display:none }
#room-message { border-left:2px solid var(--gold); padding-left:12px; color:var(--ivory); font-size:.9rem; margin:18px 0 0 }
.application-fields { display:grid; margin:20px 0 25px }
.application-fields div { padding:12px 0; border-top:1px solid var(--line) }
.application-fields dt { font-size:.79rem; color:var(--muted) }
.application-fields dd { margin:2px 0 0; font-weight:650; overflow-wrap:anywhere }
footer.sitebar { border-top:1px solid var(--line); border-bottom:0; min-height:62px }
@media (max-width:740px) {
  .room { grid-template-columns:minmax(0,1fr); min-height:0; gap:18px; padding-block:22px 34px }
  .identity { min-height:0 }
  .identity-copy { padding:24px 16px 16px }
  .orbit { width:min(63%,305px); right:-8%; top:-32% }
  h1 { max-width:none; font-size:clamp(2.36rem,9vw,4rem) }
  .room-panel { padding:20px }
}
