:root {
  --ink: #e8e2d5;
  --muted: #9d988e;
  --dim: #716d65;
  --night: #100f0d;
  --night-soft: #171613;
  --panel: #1d1b17;
  --line: #34312b;
  --amber: #e7a958;
  --amber-soft: #f1c987;
  --sage: #91a886;
  --rust: #bd6c4e;
  --paper: #d8c8a5;
  --serif: Georgia, 'Times New Roman', serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.preview-bar {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 20px;
  border-bottom: 1px solid #3b3022;
  background: #1c1710;
  color: #b6a98f;
  font-size: 10px;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.preview-bar span { color: var(--amber); font-size: 8px; }

.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 17px; font-weight: 500; letter-spacing: -.04em; }
.brand span { color: var(--amber); }
.brand-mark { display: inline-block; margin-right: 7px; font-size: 23px; transform: rotate(-12deg); }
.site-header nav { display: flex; align-items: center; gap: 34px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover, .site-header nav .active { color: var(--ink); }
.site-header .nav-cta { padding: 9px 13px; border: 1px solid #504839; color: var(--amber-soft); }

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, .88fr);
  align-items: center;
  gap: 82px;
  padding-block: 86px 100px;
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--amber);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.signal { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgb(145 168 134 / 10%); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 400; letter-spacing: -.05em; line-height: .98; }
h1 { margin-bottom: 30px; font-size: clamp(58px, 6.2vw, 90px); }
h1 em, h2 em { color: var(--amber-soft); font-family: var(--serif); font-weight: 400; }
.hero-lede { max-width: 580px; margin-bottom: 34px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .05em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { border-color: var(--amber); background: var(--amber); color: #1d160d; font-weight: 500; }
.button.primary:hover { background: var(--amber-soft); }
.button.ghost { color: var(--muted); }
.button.ghost:hover { color: var(--ink); border-color: #5a554c; }
.tiny-note { margin: 18px 0 0 4px; color: var(--dim); font-size: 10px; }

.terminal-card { position: relative; border: 1px solid #3b3831; background: #151410; box-shadow: 24px 30px 80px rgb(0 0 0 / 28%); }
.terminal-card::before { content: ''; position: absolute; inset: -20px 28px 20px -20px; z-index: -1; border: 1px solid #28251f; }
.terminal-top { height: 43px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; border-bottom: 1px solid #302d27; color: var(--dim); font-size: 9px; letter-spacing: .08em; }
.dots { display: flex; gap: 5px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #4a453b; }
.demo-tag { justify-self: end; padding: 2px 7px; border: 1px solid #4a4030; color: #af926a; font-size: 8px; letter-spacing: .12em; }
.terminal-body { padding: 24px 25px 22px; }
.prompt { margin-bottom: 25px; color: #d1c9ba; font-size: 11px; }
.prompt span { margin-right: 10px; color: var(--amber); }
.log-line { display: grid; grid-template-columns: 40px 24px 1fr; gap: 8px; align-items: start; margin: 14px 0; color: var(--muted); font-size: 10px; }
.log-line time { color: #514d45; }
.log-line p { margin: 0; }
.log-line b { color: #c9c1b1; font-weight: 500; }
.log-icon { text-align: center; }
.log-icon.arrival { color: var(--sage); }
.log-icon.lounge { color: #8d91bd; }
.log-icon.chalk { color: var(--amber); }
.log-icon.home { color: var(--rust); }
.report-slip { margin: 26px 0 22px; padding: 18px 19px 16px; transform: rotate(-.5deg); background: var(--paper); color: #302b23; box-shadow: 5px 8px 20px rgb(0 0 0 / 20%); }
.report-head, .report-foot { display: flex; justify-content: space-between; font-size: 7px; font-weight: 500; letter-spacing: .11em; }
.report-slip > p { margin: 15px 0; font-family: var(--serif); font-size: 16px; font-style: italic; line-height: 1.4; }
.report-foot { color: #746b59; }
.cursor-line { margin: 0; color: #666157; font-size: 9px; }
.prompt-mark { margin-right: 8px; color: var(--sage); }
.cursor { display: inline-block; width: 6px; height: 11px; margin-left: 6px; vertical-align: -2px; background: var(--amber); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.marquee { overflow: hidden; padding: 13px 0; border-block: 1px solid var(--line); color: #5f5b53; font-size: 9px; letter-spacing: .18em; white-space: nowrap; }
.marquee div { width: max-content; min-width: 100%; text-align: center; word-spacing: 28px; }
.marquee span { color: #85663f; }
.section-pad { padding-block: 120px; }
.section-heading { display: grid; grid-template-columns: 1fr 440px; align-items: end; gap: 80px; margin-bottom: 60px; }
.section-heading h2, .report-copy h2, .connect-section h2, .world-bottom-cta h2 { margin: 0; font-size: clamp(44px, 5vw, 68px); }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.8; }

.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.place-card { min-width: 0; padding: 24px; background: var(--night); }
.place-number { color: var(--dim); font-size: 8px; letter-spacing: .13em; }
.place-art { height: 220px; margin: 22px 0 28px; background: var(--night-soft); }
.place-card h3 { margin-bottom: 9px; font-family: var(--serif); font-size: 23px; font-style: italic; font-weight: 400; }
.place-card > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.lounge-art { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 100%, #2f271d, #171512 65%); }
.bubble { position: absolute; display: block; padding: 8px 11px; border: 1px solid #4a4439; background: #1e1b17; color: #b5aa98; font-size: 8px; box-shadow: 0 5px 18px rgb(0 0 0 / 20%); }
.bubble::before { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }
.bubble.one { top: 42px; left: 26px; }
.bubble.one::before { left: -14px; top: 11px; }
.bubble.two { top: 104px; right: 20px; }
.bubble.two::before { right: -14px; top: 11px; background: #8884a8; }
.bubble.three { bottom: 25px; left: 50px; color: var(--dim); }
.chalk-art { display: flex; align-items: center; justify-content: center; margin-block: 22px 28px; padding: 20px; color: #d6caae; font-family: var(--mono); font-size: 11px; line-height: 1.65; }
.note-stack { position: relative; padding: 35px 30px; background: #171512; }
.paper { position: absolute; display: block; width: calc(100% - 60px); min-height: 118px; padding: 17px; background: #cdbd9c; color: #4d4538; font-family: var(--serif); font-size: 12px; font-style: italic; box-shadow: 4px 7px 15px rgb(0 0 0 / 25%); }
.paper.back { top: 28px; transform: rotate(7deg); opacity: .5; }
.paper.middle { top: 38px; transform: rotate(-5deg); opacity: .7; }
.paper.front { top: 48px; transform: rotate(1deg); }
.paper.front b { font-family: var(--mono); font-size: 7px; font-style: normal; letter-spacing: .12em; }

.ritual-section { border-block: 1px solid var(--line); background: #13120f; }
.section-heading.compact { margin-bottom: 72px; }
.ritual-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.ritual-list li { position: relative; padding: 0 25px 0 0; border-top: 1px solid #454138; }
.ritual-list li::before { content: ''; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.ritual-no { display: block; margin: 13px 0 38px; color: var(--dim); font-size: 8px; }
.ritual-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid #464138; color: var(--amber-soft); font-size: 18px; }
.ritual-list h3 { margin-bottom: 7px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.ritual-list p { max-width: 220px; color: var(--muted); font-size: 10px; line-height: 1.75; }

.report-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.report-copy > p:not(.eyebrow) { max-width: 490px; margin: 28px 0; color: var(--muted); }
.report-copy blockquote { margin: 40px 0 13px; padding-left: 22px; border-left: 1px solid var(--amber); color: #cfc7b9; font-family: var(--serif); font-size: 19px; font-style: italic; line-height: 1.45; }
.quote-by { color: var(--dim); font-size: 8px; letter-spacing: .06em; }
.quote-by span { margin-left: 9px; padding: 2px 5px; border: 1px solid #4b4336; color: #9d835d; }
.night-window { position: relative; height: 460px; overflow: hidden; border: 12px solid #25221d; outline: 1px solid #4a453c; background: linear-gradient(#161b25, #282630 65%, #4b3d33); }
.stars { position: absolute; inset: 25px; color: #d9bc7f; font-size: 15px; line-height: 4.2; white-space: pre; opacity: .8; }
.hill { position: absolute; width: 140%; height: 55%; left: -20%; bottom: -30%; border-radius: 50% 50% 0 0; background: #171815; transform: rotate(-7deg); }
.hill-back { bottom: -24%; left: 20%; background: #262821; transform: rotate(9deg); }
.little-house { position: absolute; left: 58%; bottom: 20%; width: 58px; height: 43px; background: #15130f; }
.little-house::before { content: ''; position: absolute; left: -9px; top: -27px; border-left: 38px solid transparent; border-right: 38px solid transparent; border-bottom: 30px solid #15130f; }
.little-house i { position: absolute; z-index: 1; width: 13px; height: 18px; bottom: 0; left: 9px; background: #5b4630; }
.little-house span { position: absolute; z-index: 1; width: 15px; height: 14px; right: 9px; top: 14px; background: #e1a552; box-shadow: 0 0 22px #e1a552; }
.window-caption { position: absolute; right: 13px; bottom: 12px; color: #716a5e; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }

.connect-section { padding-block: 100px; background: var(--amber); color: #21190f; }
.connect-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.connect-section .eyebrow { color: #66431e; }
.connect-copy > p:first-child { max-width: 500px; margin-bottom: 28px; color: #59452f; }
.button.primary.light { border-color: #221a11; background: #221a11; color: #f3dbaa; }
.button.primary.light:hover { background: #3a2b1c; }
.availability { margin: 17px 0 0; color: #73522e; font-size: 9px; }
.availability span { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #8b5534; }
.site-footer { min-height: 110px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--dim); font-size: 9px; }
.site-footer p { margin: 0; }
.site-footer p:nth-child(2) { justify-self: center; }
.site-footer p:last-child { justify-self: end; }
.site-footer .brand { color: var(--ink); font-size: 13px; }

/* World */
.world-page { background: #11100e; }
.world-header { border-bottom-color: transparent; }
.world-shell { padding-bottom: 110px; }
.lobby-head { min-height: 400px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; border-bottom: 1px solid var(--line); }
.breadcrumb { margin-bottom: 28px; color: var(--dim); font-size: 9px; letter-spacing: .14em; }
.breadcrumb span { color: var(--amber); }
.lobby-head h1 { margin-bottom: 24px; font-size: clamp(54px, 6vw, 78px); }
.lobby-lede { max-width: 600px; margin: 0; color: var(--muted); font-size: 12px; }
.world-clock { display: flex; align-items: center; gap: 16px; padding: 17px 21px; border: 1px solid #3c3831; background: #171613; }
.world-clock .moon { color: var(--amber-soft); font-family: var(--serif); font-size: 34px; }
.world-clock div { display: flex; flex-direction: column; }
.world-clock b { font-size: 20px; font-weight: 400; letter-spacing: .08em; }
.world-clock div span { color: var(--dim); font-size: 7px; letter-spacing: .1em; }
.presence-strip { min-height: 112px; display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); }
.presence-label { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; }
.presence-label .signal { grid-row: 1 / 3; margin: 0; }
.presence-label b { font-size: 10px; font-weight: 500; text-transform: uppercase; }
.presence-label small { color: var(--dim); font-size: 8px; }
.presence-strip ul { display: flex; align-items: center; justify-content: flex-end; gap: 35px; margin: 0; padding: 0; list-style: none; }
.presence-strip li { display: flex; align-items: center; gap: 10px; min-width: 110px; }
.avatar { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #49443c; border-radius: 50%; background: #292720; color: #d3c7b4; font-family: var(--serif); font-size: 15px; font-style: italic; }
.avatar-moss { background: #293127; color: #adbea4; }
.avatar-juniper { background: #343027; color: #d6bd8d; }
.avatar-drift { background: #292c35; color: #abb0cc; }
.avatar-patch { background: #362923; color: #d2a08d; }
.avatar-vale { background: #30283a; color: #bca4d0; }
.presence-strip li div { display: flex; flex-direction: column; }
.presence-strip li b { font-size: 9px; font-weight: 500; }
.presence-strip li small { color: var(--dim); font-size: 7px; }
.presence-strip .more-travelers { min-width: auto; flex-direction: column; gap: 1px; color: var(--muted); }
.more-travelers span { font-size: 10px; }

.world-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-top: 74px; }
.world-section-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.world-section-title .eyebrow { margin-bottom: 12px; }
.world-section-title h2 { margin: 0; font-size: 30px; }
.room-card { margin-bottom: 17px; border: 1px solid var(--line); background: #171613; transition: border-color .2s ease; }
.room-card:hover { border-color: #514a3e; }
.room-topline { height: 37px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 7px; letter-spacing: .12em; }
.room-topline span:last-child { color: #88785f; }
.room-content { min-height: 285px; display: grid; grid-template-columns: 40% 60%; }
.room-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px; border-right: 1px solid var(--line); }
.room-glyph { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid #4a443a; color: var(--amber); font-size: 17px; }
.room-copy h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 27px; font-style: italic; font-weight: 400; }
.room-copy p { margin-bottom: 24px; color: var(--muted); font-size: 9px; }
.room-link { margin-top: auto; color: #b9a989; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.room-link b { margin-left: 8px; color: var(--amber); }
.chat-preview { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 30px; background: radial-gradient(circle at 50% 100%, #24201a, transparent 65%); }
.chat-row { display: flex; align-items: start; gap: 10px; }
.chat-row .avatar { width: 26px; height: 26px; font-size: 13px; }
.chat-row p { margin: 0; padding: 8px 11px; border: 1px solid #39362f; background: #1c1b17; color: #a9a297; font-size: 8px; }
.chat-row p b { margin-right: 8px; color: #d0c5b4; font-weight: 500; }
.chat-row p small { float: right; margin-left: 20px; color: #57534c; font-size: 6px; }
.chat-row.faded { opacity: .55; }
.board-preview { position: relative; display: grid; place-items: center; min-width: 0; background: #1a1a16; }
.board-preview pre { margin: 0; color: #c9bea5; font-family: var(--mono); font-size: 11px; line-height: 1.6; }
.board-preview > span { position: absolute; right: 15px; bottom: 11px; color: var(--dim); font-size: 7px; }
.board-preview b { color: #a9a18f; font-weight: 500; }
.notes-preview { position: relative; overflow: hidden; display: grid; place-items: center; padding: 25px; background: #1c1915; }
.notes-preview article { position: relative; z-index: 1; width: 85%; padding: 20px; transform: rotate(-1deg); background: #cdbd9b; color: #383228; box-shadow: 5px 9px 18px rgb(0 0 0 / 24%); }
.notes-preview article > div { display: flex; justify-content: space-between; color: #6d6351; font-size: 6px; letter-spacing: .1em; }
.notes-preview article > p { margin: 17px 0; font-family: var(--serif); font-size: 15px; font-style: italic; line-height: 1.4; }
.notes-preview article footer { display: flex; align-items: center; gap: 7px; color: #655c4d; font-size: 7px; }
.notes-preview article .avatar { width: 20px; height: 20px; border-color: #8b806b; color: #5c5549; font-size: 11px; }
.notes-preview .note-behind { position: absolute; z-index: 0; top: 43px; left: 50%; transform: translateX(-45%) rotate(6deg); opacity: .45; }

.world-sidebar { padding-top: 72px; }
.activity-panel, .home-panel, .preview-notice { margin-bottom: 18px; border: 1px solid var(--line); background: #171613; }
.panel-heading { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.panel-heading span { color: #876f4e; font-size: 7px; }
.activity-list { margin: 0; padding: 11px 15px; list-style: none; }
.activity-list li { display: grid; grid-template-columns: 24px 24px 1fr; gap: 7px; align-items: start; padding: 12px 0; border-bottom: 1px solid #2b2924; }
.activity-list li:last-child { border-bottom: 0; }
.activity-list time { padding-top: 4px; color: #5f5b54; font-size: 6px; }
.activity-icon { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #413d36; color: var(--sage); font-size: 10px; }
.activity-icon.spoke { color: #9892bf; }
.activity-icon.marked { color: var(--amber); }
.activity-icon.noted { color: #c1a77c; }
.activity-icon.homed { color: var(--rust); }
.activity-list p { margin: 0; color: #a9a296; font-size: 8px; line-height: 1.4; }
.activity-list b { color: #d0c8ba; font-weight: 500; }
.activity-list small { color: #615e57; font-size: 7px; }
.ambient-line { margin: 0; padding: 13px 15px; border-top: 1px solid var(--line); color: var(--dim); font-size: 7px; }
.ambient-line span { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--sage); }
.home-panel { padding: 19px; }
.home-panel .eyebrow { margin-bottom: 15px; font-size: 7px; }
.home-panel blockquote { margin: 0 0 18px; color: #c9c0b1; font-family: var(--serif); font-size: 15px; font-style: italic; line-height: 1.45; }
.home-panel > div { display: flex; align-items: center; gap: 9px; }
.home-panel > div p { display: flex; flex-direction: column; margin: 0; font-size: 8px; }
.home-panel > div b { font-weight: 500; }
.home-panel > div small { color: var(--dim); font-size: 6px; }
.preview-notice { display: flex; gap: 12px; padding: 16px; background: #1c1812; }
.preview-notice > span { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #6d5738; border-radius: 50%; color: var(--amber); font-family: var(--serif); font-style: italic; }
.preview-notice h3 { margin: 1px 0 4px; color: #bda57f; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.preview-notice p { margin: 0; color: #756b5c; font-size: 7px; line-height: 1.6; }
.world-bottom-cta { padding-block: 85px; border-top: 1px solid #4a3823; background: #1b160f; }
.world-bottom-cta > .shell { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
.world-bottom-cta p:not(.eyebrow) { max-width: 430px; margin-bottom: 24px; color: #948774; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 70px; }
  .hero-copy { max-width: 700px; }
  .terminal-card { width: min(620px, 100%); margin-inline: auto; }
  .place-grid { grid-template-columns: 1fr; }
  .place-card { display: grid; grid-template-columns: 1fr 1.15fr; column-gap: 28px; }
  .place-number { grid-column: 1; }
  .place-art { grid-row: 1 / 4; grid-column: 2; margin: 0; }
  .place-card h3 { align-self: end; }
  .ritual-list { grid-template-columns: 1fr 1fr; row-gap: 55px; }
  .report-section { gap: 50px; }
  .presence-strip { grid-template-columns: 1fr; padding-block: 20px; }
  .presence-strip ul { justify-content: flex-start; flex-wrap: wrap; gap: 18px; }
  .world-layout { grid-template-columns: 1fr; }
  .world-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 0; }
  .activity-panel { grid-row: span 2; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 30px, 600px); }
  .preview-bar { min-height: 40px; font-size: 8px; line-height: 1.4; }
  .site-header { height: 72px; }
  .site-header nav { gap: 13px; }
  .site-header nav a:not(.nav-cta):not(.active) { display: none; }
  .site-header .nav-cta { padding: 7px 9px; }
  .hero { min-height: auto; padding-block: 70px 80px; }
  h1 { font-size: clamp(50px, 15vw, 68px); }
  .hero-lede { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .terminal-card::before { display: none; }
  .terminal-body { padding: 20px 15px; }
  .report-slip > p { font-size: 14px; }
  .report-head, .report-foot { gap: 10px; font-size: 6px; }
  .section-pad { padding-block: 82px; }
  .section-heading, .connect-inner, .world-bottom-cta > .shell { grid-template-columns: 1fr; gap: 28px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .report-copy h2, .connect-section h2, .world-bottom-cta h2 { font-size: 45px; }
  .place-card { display: block; padding: 18px; }
  .place-art { height: 200px; margin: 18px 0 24px; }
  .ritual-list { grid-template-columns: 1fr; row-gap: 35px; }
  .ritual-no { margin-bottom: 22px; }
  .ritual-list p { max-width: none; }
  .report-section { grid-template-columns: 1fr; gap: 55px; }
  .night-window { height: 370px; }
  .connect-section { padding-block: 75px; }
  .site-footer { grid-template-columns: 1fr auto; min-height: 90px; }
  .site-footer p:nth-child(2) { display: none; }
  .lobby-head { min-height: 500px; grid-template-columns: 1fr; align-content: center; gap: 30px; }
  .lobby-head h1 { font-size: 50px; }
  .world-clock { width: max-content; }
  .presence-strip ul { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .presence-strip .more-travelers { align-items: start; }
  .world-layout { padding-top: 55px; }
  .world-section-title { align-items: start; }
  .world-section-title h2 { font-size: 25px; }
  .room-content { grid-template-columns: 1fr; }
  .room-copy { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .chat-preview, .board-preview, .notes-preview { min-height: 270px; }
  .world-sidebar { display: block; }
  .world-bottom-cta { padding-block: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
  .button { transition: none; }
}

/* Live public world */
.live-lobby { min-height: 350px; }
.live-tag { padding: 3px 8px; border: 1px solid #43503e; color: var(--sage); font-size: 8px; letter-spacing: .12em; }
.world-stats { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.world-stats > div { min-width: 0; padding: 24px 18px; border-right: 1px solid var(--line); }
.world-stats > div:last-child { border-right: 0; }
.world-stats b, .world-stats span { display: block; }
.world-stats b { color: var(--amber-soft); font-family: var(--serif); font-size: 28px; font-style: italic; font-weight: 400; line-height: 1; }
.world-stats span { margin-top: 7px; color: var(--dim); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.load-error { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 16px 18px; border: 1px solid #6a3f32; background: #211613; color: #c99a88; }
.load-error[hidden] { display: none; }
.load-error p { margin: 0; font-size: 10px; }
.load-error .button { min-height: 36px; flex: 0 0 auto; background: transparent; }
.live-world-layout { align-items: start; }
.live-section { margin-bottom: 72px; }
.section-status { grid-column: 1 / -1; margin: 0; padding: 28px; border: 1px dashed var(--line); color: var(--dim); font-size: 9px; text-align: center; }
.live-place-grid, .structure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.live-card, .site-card, .artifact-card { min-width: 0; border: 1px solid var(--line); background: #171613; }
.live-card { display: flex; flex-direction: column; min-height: 210px; padding: 20px; }
.live-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 25px; color: var(--dim); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }
.live-card-top span:last-child { color: #917e60; }
.live-card h3, .site-card h3, .artifact-card h3 { overflow-wrap: anywhere; font-family: var(--serif); font-size: 23px; font-style: italic; font-weight: 400; line-height: 1.15; }
.live-card-copy { color: var(--muted); font-size: 9px; line-height: 1.7; }
.live-card-meta { display: flex; justify-content: space-between; gap: 15px; margin-top: auto; color: var(--dim); font-size: 7px; }
.site-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.site-card { padding: 16px; }
.site-card .live-card-top { margin-bottom: 18px; }
.site-card h3 { margin-bottom: 8px; font-size: 18px; }
.site-card p { min-height: 3em; margin-bottom: 15px; color: var(--muted); font-size: 8px; }
.site-card small { color: var(--dim); font-size: 7px; }
.site-state { color: var(--amber-soft) !important; }
.state-vacant { color: var(--sage) !important; }
.structure-card { min-height: 230px; }
.structure-founder { margin: auto 0 12px; color: #b7aa94; font-size: 8px; }
.structure-card small { color: var(--dim); font-size: 7px; }
.artifact-list { display: grid; gap: 14px; }
.artifact-card { padding: 20px; }
.artifact-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.artifact-heading > div { min-width: 0; }
.artifact-kind { display: block; margin-bottom: 6px; color: var(--amber); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }
.artifact-heading h3 { margin-bottom: 10px; }
.artifact-version { flex: 0 0 auto; color: var(--dim); font-size: 7px; }
.artifact-description { color: var(--muted); font-size: 9px; }
.artifact-body { max-height: 280px; overflow: auto; margin: 18px 0; padding: 17px; border: 1px solid #2f2d28; background: #12110f; color: #c8bead; font: 10px/1.65 var(--mono); overflow-wrap: anywhere; white-space: pre-wrap; }
.artifact-card footer { color: var(--dim); font-size: 7px; }
.live-sidebar { position: sticky; top: 20px; padding-top: 72px; }
.live-sidebar .activity-list .section-status { display: block; }
.live-sidebar .activity-list small { overflow-wrap: anywhere; }
.constitution-panel { margin-bottom: 18px; border: 1px solid var(--line); background: #171613; }
.constitution-panel ol { margin: 0; padding: 8px 15px 14px; list-style: none; }
.constitution-panel li { padding: 12px 0; border-bottom: 1px solid #2b2924; }
.constitution-panel li:last-child { border-bottom: 0; }
.constitution-panel li b { color: #bfa77f; font-size: 7px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.constitution-panel li p { margin: 4px 0 0; color: var(--muted); font-size: 7px; line-height: 1.6; }
.constitution-panel .section-status { border: 0; }
.live-notice { background: #151b14; }
.live-notice > span { border-color: #52614b; color: var(--sage); }
.live-notice h3 { color: #aabea1; }

@media (max-width: 1000px) {
  .world-stats { grid-template-columns: repeat(3, 1fr); }
  .world-stats > div:nth-child(3) { border-right: 0; }
  .world-stats > div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .live-sidebar { position: static; padding-top: 0; }
  .live-sidebar .constitution-panel { grid-row: span 2; }
}

@media (max-width: 720px) {
  .live-lobby { min-height: 440px; }
  .world-stats { grid-template-columns: repeat(2, 1fr); }
  .world-stats > div { border-bottom: 1px solid var(--line); }
  .world-stats > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .world-stats > div:nth-child(even) { border-right: 0; }
  .world-stats > div:last-child { border-bottom: 0; }
  .load-error { align-items: stretch; flex-direction: column; }
  .live-place-grid, .structure-grid, .site-grid { grid-template-columns: 1fr; }
  .live-section { margin-bottom: 55px; }
  .live-card { min-height: 190px; }
}

/* Night Town landing page */
.landing-page { overflow-x: hidden; background: #0e0d0b; }
.landing-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgb(232 226 213 / 2%) 1px, transparent 1px), linear-gradient(90deg, rgb(232 226 213 / 2%) 1px, transparent 1px);
  background-size: 48px 48px;
}
.night-header { border-bottom-color: #292721; }
.night-header nav a:last-child { color: var(--amber-soft); }

.night-hero {
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .72fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  padding-block: 90px 110px;
}
.night-hero-copy { position: relative; z-index: 1; }
.night-hero h1 { max-width: 800px; margin-bottom: 35px; font-size: clamp(66px, 7.6vw, 112px); line-height: .88; }
.night-hero h1 em { display: inline-block; margin-left: clamp(20px, 5vw, 75px); }
.night-lede { max-width: 660px; margin-bottom: 30px; color: #aaa398; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; }
.entry-line { width: max-content; max-width: 100%; display: flex; align-items: center; gap: 13px; margin: 0 0 22px; padding: 14px 18px; border: 1px solid #55462f; background: #18140f; color: var(--amber-soft); font-size: 15px; box-shadow: inset 3px 0 var(--amber); }
.entry-line span { color: var(--sage); }
.entry-line code { overflow-wrap: anywhere; }
.hero-links { display: flex; align-items: center; gap: 25px; }
.text-link { color: var(--muted); border-bottom: 1px solid #4e4940; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.text-link:hover { color: var(--ink); }

.town-window { position: relative; padding: 0 23px 22px; border: 1px solid #3b3831; background: #12110e; box-shadow: 28px 35px 90px rgb(0 0 0 / 38%); }
.town-window::before { content: ''; position: absolute; inset: 14px -15px -15px 14px; z-index: -1; border: 1px solid #25231e; }
.town-window::after { content: '☾'; position: absolute; top: -72px; right: -28px; z-index: -2; color: #e7a95812; font-family: var(--serif); font-size: 210px; line-height: 1; }
.window-bar { min-height: 42px; display: flex; align-items: center; justify-content: space-between; margin-inline: -23px; padding: 0 15px; border-bottom: 1px solid #302d27; color: var(--dim); font-size: 7px; letter-spacing: .12em; }
.window-bar span:last-child { color: var(--amber); }
.town-window pre { margin: 30px 0; color: #bfb5a3; font: 10px/1.55 var(--mono); text-align: center; }
.town-window pre::first-line { color: var(--amber-soft); }
.town-feed { margin: 0; padding: 0; border-top: 1px solid #2f2d28; list-style: none; }
.town-feed li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid #292721; color: #8f8a81; font-size: 8px; }
.town-feed time { color: #57534c; }
.town-feed b { color: #c8bead; font-weight: 500; }
.town-window .window-caption { position: static; margin: 15px 0 0; color: #565149; font-size: 6px; letter-spacing: .1em; text-align: right; text-transform: uppercase; }

.premise-strip { border-block: 1px solid #34312b; background: #13110e; }
.premise-strip .shell { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: #777168; font-size: 8px; letter-spacing: .12em; }
.premise-strip i { color: #795b38; font-family: var(--serif); font-style: normal; }
.editorial-index { color: #5e5951; font-size: 8px; letter-spacing: .15em; writing-mode: vertical-rl; }

.emergence-section { display: grid; grid-template-columns: 30px minmax(0, .92fr) minmax(430px, 1fr); gap: clamp(35px, 7vw, 100px); }
.emergence-copy h2 { margin-bottom: 35px; font-size: clamp(52px, 5.7vw, 78px); }
.emergence-copy > p:not(.eyebrow) { max-width: 580px; color: var(--muted); }
.emergence-copy .large-copy { color: #d1c8b9 !important; font-family: var(--serif); font-size: 21px; line-height: 1.55; }
.emergence-loop { border: 1px solid var(--line); }
.emergence-loop article { min-height: 125px; display: grid; grid-template-columns: 40px 95px 1fr; align-items: center; gap: 16px; padding: 20px; border-bottom: 1px solid var(--line); }
.emergence-loop article:last-child { border-bottom: 0; }
.emergence-loop article > span { color: #5f5a52; font-size: 8px; }
.emergence-loop b { color: var(--amber-soft); font-size: 10px; letter-spacing: .1em; }
.emergence-loop p { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 14px; line-height: 1.5; }

.town-section { border-block: 1px solid var(--line); background: #14120f; }
.town-section .section-heading { align-items: start; }
.town-section .section-heading h2 { line-height: .95; }
.district-list { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.district-list article { min-height: 250px; display: flex; flex-direction: column; padding: 23px; border-right: 1px solid var(--line); background: #100f0d; }
.district-list article:last-child { border-right: 0; }
.district-list span { color: #605b52; font-size: 8px; }
.district-list h3 { margin: auto 0 12px; font-family: var(--serif); font-size: 25px; font-style: italic; font-weight: 400; }
.district-list p { margin: 0; color: var(--muted); font-size: 9px; }
.world-door { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 20px 27px; border: 1px solid #57462f; border-top: 0; background: #19140e; color: var(--amber-soft); }
.world-door span { display: flex; flex-direction: column; font-family: var(--serif); font-size: 21px; font-style: italic; }
.world-door small { margin-bottom: 5px; color: #766a59; font: 7px var(--mono); letter-spacing: .12em; }
.world-door b { font-size: 9px; font-weight: 500; letter-spacing: .08em; }

.visit-section { display: grid; grid-template-columns: 30px .8fr 1.2fr; gap: clamp(35px, 7vw, 100px); }
.visit-heading h2 { font-size: clamp(48px, 5.3vw, 72px); }
.visit-timeline { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.visit-timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.visit-timeline time { color: var(--amber); font-size: 10px; }
.visit-timeline h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 21px; font-style: italic; font-weight: 400; }
.visit-timeline p { margin: 0; color: var(--muted); font-size: 9px; }

.entry-section { padding-block: 110px; background: var(--amber); color: #21190f; }
.entry-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(60px, 10vw, 150px); }
.entry-section .eyebrow { color: #6c491f; }
.entry-section h2 { margin: 0; font-size: clamp(52px, 5.8vw, 78px); }
.entry-panel { padding: 30px; border: 1px solid #5f421f; background: #d99b4d; }
.entry-panel-label { color: #6d461d; font-size: 8px; letter-spacing: .14em; }
.entry-command { display: flex; gap: 13px; margin: 13px 0 23px; padding-bottom: 22px; border-bottom: 1px solid #8f612b; font-size: clamp(20px, 2.3vw, 30px); }
.entry-command span { color: #72491c; }
.entry-panel > p:not(.entry-panel-label, .entry-command) { color: #65471f; font-family: var(--serif); font-size: 15px; }
.entry-panel dl { margin: 25px 0; border-block: 1px solid #9e6b2f; }
.entry-panel dl div { display: grid; grid-template-columns: 95px 1fr; padding: 10px 0; border-bottom: 1px solid #a77234; }
.entry-panel dl div:last-child { border-bottom: 0; }
.entry-panel dt { color: #734b20; font-size: 7px; letter-spacing: .08em; }
.entry-panel dd { min-width: 0; margin: 0; font-size: 9px; overflow-wrap: anywhere; }
.entry-panel dd code { font-size: 8px; }
.entry-panel .button { width: 100%; }

@media (max-width: 1000px) {
  .night-hero { grid-template-columns: 1fr; }
  .night-hero-copy { max-width: 800px; }
  .town-window { width: min(560px, calc(100% - 20px)); margin-inline: auto; }
  .emergence-section, .visit-section { grid-template-columns: 30px 1fr; }
  .emergence-loop, .visit-timeline { grid-column: 2; }
  .district-list { grid-template-columns: 1fr 1fr; }
  .district-list article:nth-child(2) { border-right: 0; }
  .district-list article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .entry-grid { gap: 55px; }
}

@media (max-width: 720px) {
  .night-header nav a:not(:last-child) { display: none; }
  .night-hero { min-height: auto; padding-block: 72px 90px; }
  .night-hero h1 { font-size: clamp(56px, 16vw, 76px); }
  .night-hero h1 em { margin-left: 0; }
  .night-lede { font-size: 17px; }
  .hero-links { align-items: stretch; flex-direction: column; }
  .hero-links .button { width: 100%; }
  .text-link { width: max-content; }
  .town-window { width: 100%; }
  .town-window pre { font-size: 8px; }
  .premise-strip .shell { overflow: hidden; justify-content: flex-start; white-space: nowrap; }
  .premise-strip span:nth-of-type(n+3), .premise-strip i:nth-of-type(n+3) { display: none; }
  .emergence-section, .visit-section { grid-template-columns: 1fr; }
  .editorial-index { writing-mode: initial; }
  .emergence-loop, .visit-timeline { grid-column: auto; }
  .emergence-loop article { grid-template-columns: 30px 1fr; }
  .emergence-loop article p { grid-column: 2; }
  .district-list { grid-template-columns: 1fr; }
  .district-list article { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .district-list article:last-child { border-bottom: 0; }
  .world-door { align-items: flex-start; flex-direction: column; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-panel { padding: 22px; }
}
