:root {
  color-scheme: dark;
  --night: #090f16;
  --paper: #e7eef3;
  --muted: #c3cbd0;
  --gold: #70ebe2;
  --line: #8fa0a447;
  --gutter: clamp(24px, 6.5vw, 120px);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  scroll-padding-top: 76px;
  scroll-behavior:smooth;
}
* { box-sizing: border-box }
body, h1, h2, h3, h4, p, figure, dl, dd, ol { margin: 0 }
body { background: var(--night); color: var(--paper); font-size: 1.04rem; line-height: 1.52 }
button, select, input { font: inherit }
button, a, select { -webkit-tap-highlight-color: transparent }
a { color: inherit; text-decoration: none }
button { color: inherit; background: none; border: 0; cursor: pointer }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, h2:focus-visible { outline: 3px solid #74ede0; outline-offset: 4px }
[hidden] { display: none !important }
.skip { position: fixed; top: -80px; z-index: 20; padding: 14px; background: var(--paper); color: var(--night) }
.skip:focus { top: 8px; left: 8px }
#stage, #city-still, #city-atmosphere { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none }
#city-still, .hero-atlas { background: #101c27 url("assets/chicago.webp") center 52% / cover no-repeat }
#city-still { transform: scale(var(--map-scale,1.04)) translate(var(--map-x,0%),0); filter: brightness(.70) saturate(.80) }
#stage { display: block }
.no-webgl #stage { visibility: hidden }
#city-atmosphere { background: linear-gradient(180deg,#07101b36 0%,transparent 49%,#050b134f 100%) }
main, footer { position: relative }
header { position: fixed; z-index: 8; top: 0; left: 0; right: 0; height: 72px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; background: #081018ee; border-bottom: 1px solid var(--line) }
.brand { display: inline-flex; align-items: center; overflow: visible; flex: none; width: 130px; min-height: 46px }
.brand img { width: 100%; height: auto }
header nav, .actions { display: flex; align-items: center; gap: clamp(16px,2.3vw,40px) }
header nav a, header nav button, footer a { font-size: .94rem; font-weight: 550; padding: 9px 0 }
header nav .head-cta { color: var(--gold); border: 1px solid #36e2d78f; border-radius: 30px; padding: 8px 19px }
header nav a:hover, header nav button:hover, footer a:hover { color: var(--gold) }
.rail { position: fixed; right: 13px; top: 50%; transform: translateY(-50%); z-index: 7; display: grid }
.rail a { height: 27px; width: 28px; position: relative; display: grid; place-items: center }
.rail i { width: 5px; height: 5px; background: #9ba5af; border-radius: 50% }
.rail [aria-current="location"] i { width: 8px; height: 8px; background: var(--gold); box-shadow: 0 0 0 3px #6deae21d }
.rail span { position: absolute; right: 30px; white-space: nowrap; font-size: .8rem; padding: 3px 7px; background: var(--night); border-radius: 3px; opacity: 0; pointer-events: none }
.rail a:hover span, .rail a:focus-visible span { opacity: 1 }
#hero { isolation: isolate; position: relative; min-height: max(670px,100svh); padding: 130px var(--gutter) 140px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg,#070e17ee 0%,#070e17e3 22%,#07111bc9 37%,#07111b55 58%,#0815230a 77%), linear-gradient(0deg,#060d17ec,transparent 22%) }
.hero-atlas { position: absolute; inset: -4%; z-index: -2; opacity: var(--hero-map,.86); transform: translateY(var(--hero-shift,0px)) scale(1.01); background-position: 56% 53%; filter: saturate(.86) brightness(.88); pointer-events: none }
#hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#080f18f2 0%,#080f18d9 25%,#07101bb0 41%,#07101b38 65%,transparent 84%), linear-gradient(0deg,#080f18f0,transparent 23%,transparent 75%,#080f1859) }
.hero-copy { width: min(100%,870px); position: relative; padding-top: 20px }
.eyebrow, .receipt small, .festival-pass>span, .package-level { text-transform: uppercase; letter-spacing: .16em; font: 600 .79rem/1.5 ui-monospace, "Courier New", monospace; letter-spacing: .14em; color: var(--gold) }
.eyebrow span { color: #8c9a9e; margin: 0 7px }
.hero-copy .eyebrow { display: flex; align-items:center; gap:7px }
.eyebrow i { display:inline-block; width: 33px; height: 2px; background:var(--gold); margin-right:6px }
h1, h2 { letter-spacing: -.057em; line-height: 1.02 }
h1 { margin: 22px 0; font-size: clamp(3.75rem,6.8vw,7.5rem); font-weight: 570; text-wrap: balance }
h1 em, .ending h2 em { font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-weight: 400; color: var(--gold); letter-spacing: -.06em }
.deck { max-width: 45ch; color: #e0e5e5; font-size: clamp(1.06rem,1.4vw,1.28rem); line-height: 1.53 }
.actions { flex-wrap: wrap; margin-top: 28px; gap: 24px }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 21px; border-radius: 4px; font-size: .99rem; font-weight: 650; line-height: 1.25; transition: transform .18s, background .18s }
.action:hover { transform: translateY(-2px) }
.light, .dark { color: #151b20; background: var(--gold) }
.light:hover, .dark:hover { background: #84fff7 }
.under { display: inline-block; padding: 5px 0; color: var(--paper); border-bottom: 1px solid #71ebe39e; font-size: .96rem; font-weight: 540 }
.hero-bottom { position: absolute; bottom: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid #e5edf147; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 15px }
.hero-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px,2.5vw,44px) }
.route, .scroll-line { color: #e3e8e8; font-size: .92rem; font-weight: 500 }
.route:hover { color: var(--gold) }
.scroll-line { display: flex; align-items: center; gap: 11px; color: var(--gold) }
.scroll-line i { display:block; width: 1px; height: 25px; background: linear-gradient(var(--gold),#36e2d732) }
.chapter { position: relative; min-height: 115svh; display: flex; align-items: center; padding: max(100px,13vh) var(--gutter); scroll-margin-top: 0; pointer-events: none }
.chapter.right { justify-content: flex-end }
.panel { pointer-events: auto; width: min(480px,44vw); border: 1px solid #a7b8c650; border-radius: 6px; overflow: hidden; background: linear-gradient(145deg,#15232cfa,#0a131bef); box-shadow: 0 22px 60px #0004; transition: opacity .55s ease, transform .65s ease }
.panel.approaching { opacity: .58; transform: translateY(18px) }
.text-panel, .ink { padding: clamp(23px,2.5vw,43px) }
.panel h2 { font-size: clamp(2.1rem,3.1vw,3.5rem); font-weight: 560; margin: 13px 0 14px; line-height: 1.04 }
.panel p:not(.eyebrow), .detail-view .sub { color: var(--muted) }
.panel .action { margin-top: 21px }
.product figure { border-bottom: 1px solid var(--line); line-height: 0 }
.product figure img { width: 100%; height: auto; aspect-ratio: 1.98; object-fit: cover }
.steps { list-style:none; padding: 0; margin-top: 20px }
.steps li { border-top: 1px solid var(--line); display: grid; padding: 11px 0; gap: 2px }
.steps li:last-child { padding-bottom: 0 }
.steps strong { color: var(--gold); font-size: 1rem }
.steps span { color:var(--muted); font-size:.96rem }
.receipt { border:1px solid var(--line); background:#0b1c23; margin-top:20px; padding:17px }
.receipt dl { display:grid; grid-template-columns:auto 1fr; align-items:baseline; gap:7px 13px; margin-top:10px; font-size:.92rem }
.receipt dt { color:var(--muted) }
.ending { min-height: 92svh; padding: clamp(75px,12vh,155px) var(--gutter); display: grid; place-items: center; background: linear-gradient(180deg,transparent,#08111bea 20%,#080f17fa 88%); text-align:center }
.ending>div { width:min(720px,100%) }
.ending .eyebrow { margin-bottom: 22px }
.ending h2 { font-size:clamp(3.3rem,5.2vw,6.2rem); font-weight:540 }
.ending p:not(.eyebrow) { margin:20px auto; max-width: 46ch; color:var(--muted) }
.quote { display:grid; grid-template-columns:1fr auto; gap:8px 10px; width:min(475px,100%); margin:24px auto 14px; text-align:left }
.quote label { grid-column:1/-1; color:var(--muted); font-size:.92rem }
.quote small { grid-column:1/-1; font-size:.83rem; color:var(--muted) }
select { min-height:44px; max-width:100%; background:#111c25; color:var(--paper); border:1px solid #7a8b95; border-radius:4px; padding:8px 12px }
footer { display:flex; gap:18px; align-items:center; padding:18px var(--gutter); border-top:1px solid var(--line); background:#080f17 }
footer p { flex:1; color:var(--muted); font-size:.93rem }
footer a { color: var(--paper) }
dialog { color:var(--paper); background:#101b25; border:1px solid #859197; width:min(960px,94vw); max-height:88svh; padding:0; border-radius:8px; overscroll-behavior:contain }
dialog::backdrop { background:#040a12d6 }
body:has(dialog[open]) { overflow:hidden }
.dialog-bar { display:flex; justify-content:space-between; align-items:center; gap:10px; position:sticky; top:0; z-index:1; background:#0b141deF; border-bottom:1px solid var(--line); padding:10px clamp(16px,3vw,32px) }
.dialog-bar span { font-size:.89rem; color:var(--gold) }
.dialog-bar button,.switches button,.audiences button,.samples button { background:transparent; color:var(--paper); border:1px solid #65727a; padding:8px 13px; min-height:40px; border-radius:4px; font-size:.94rem }
.detail-view { padding:clamp(20px,3vw,40px) }
.detail-view h2 { font-size:clamp(2.2rem,4vw,4rem); font-weight:550; margin:7px 0 22px }
.detail-view h3 { font-size:1.24rem; line-height:1.3; margin:0 0 8px }
.demo-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:23px; align-items:start }
.switches,.audiences,.samples { display:flex; flex-wrap:wrap; gap:7px; margin:0 0 12px }
.switches:empty { display:none }
button[aria-pressed=true] { background:#6aeae1; color:#131b21; border-color:transparent }
.product-frame img { width:100%; height:auto; border-radius:4px; display:block }
.product-frame figcaption { margin-top:9px; color:var(--muted); font-size:.95rem }
.tool,.roof-demo,.essentials,.package-card { padding:18px; background:#162630; border:1px solid #46606b; border-radius:5px }
.tool .action,.samples { margin-top:16px }
.reply:not(:empty),#rep-response:not(:empty),.festival-pass { border-top:1px solid #75858c; margin-top:12px; padding-top:10px; display:grid; gap:5px }
.festival-pass strong { font-size:2.1rem; color:#8decdc; letter-spacing:-.04em }
.demo-heading,.area-row { display:flex; align-items:center; justify-content:space-between; gap:10px }
.demo-heading { font-weight:650; margin-bottom:16px }
.demo-tag { color:var(--gold); font-size:.81rem }
.roof-demo input { width:100%; margin:12px 0; accent-color:var(--gold) }
.roof-demo select { display:block; width:100% }
.estimate-range { display:grid; margin:12px 0; gap:2px }
.estimate-range output { color:var(--gold); font-weight:600; font-size:1.55rem }
.estimate-note,.offer-note,.festival-pass small { color:var(--muted); font-size:.9rem }
.roof-demo button,.package-card a,.essentials a { display:inline-block; background:var(--gold); color:var(--night); padding:9px 13px; margin-top:11px; border-radius:4px; font-weight:600; line-height:1.35 }
.audiences { margin:17px 0 }
.package-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px }
.package-card { display:flex; flex-direction:column; align-items:flex-start; font-size:.95rem }
.package-card h4,.essentials h4 { font-size:1.2rem; margin:5px 0 }
.package-card ul { padding-left:18px; margin:10px 0; flex:1 }
.package-card li { margin-bottom:4px }
.essentials,.offer-note { margin:12px 0 }
@media(max-width:760px) {
  :root { --gutter:20px; scroll-padding-top:62px }
  header { height:62px }
  .brand { width:100px }
  header nav { gap:14px }
  header nav a,header nav button { font-size:.9rem }
  header nav .head-cta { padding:6px 11px }
  .rail { display:none }
  #hero { min-height:max(640px,94svh); padding:205px var(--gutter) 104px; align-items:flex-end }
  #hero::before { background:linear-gradient(0deg,#080f18fa 0%,#080f18ef 23%,#080f18c7 46%,#080f1822 77%),linear-gradient(90deg,#07101b55,transparent) }
  .hero-atlas { background-position:61% 34% }
  .hero-copy { padding:0 }
  h1 { font-size:clamp(2.95rem,9.4vw,4.8rem); margin:13px 0 }
  .deck { font-size:1rem; max-width:41ch }
  .actions { margin-top:18px; gap:17px }
  .hero-bottom { display:block; padding:13px 0; min-height:0 }
  .hero-bottom nav { gap:6px 15px }
  .hero-bottom .route { font-size:.87rem }
  .scroll-line { display:none }
  .chapter { min-height:100svh; padding:22svh var(--gutter) 6svh; align-items:flex-end }
  .panel { width:min(100%,530px); margin-inline:auto; background:linear-gradient(135deg,#14212afb,#0a151df7) }
  .panel h2 { font-size:clamp(2rem,6.6vw,3rem) }
  .product figure img { max-height:230px }
  .demo-grid,.package-grid { grid-template-columns:1fr }
  .quote { grid-template-columns:1fr }
  .ending { padding-block:85px }
  .ending h2 { font-size:clamp(2.8rem,8vw,4rem) }
  footer { flex-wrap:wrap; gap:12px } footer p { font-size:.84rem }
}
@media(max-width:390px) {
  .tour-link { display:none }
  .ink,.text-panel { padding:19px }
  .eyebrow { letter-spacing:.08em }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important }

  #city-still,.hero-atlas,.panel.approaching { transform:none; opacity:1 }
  .chapter { min-height:auto; padding-block:32px }
}
#projection { display:none; pointer-events:none; position:fixed; left:var(--side,70%); top:49%; width:clamp(190px,28vw,520px); max-height:43vh; object-fit:contain; transform:perspective(850px) translate(-50%,-50%) rotateY(var(--angle,0deg)); border:1px solid #bcd8da8a; border-radius:4px; box-shadow:0 0 0 5px #17273248,0 18px 60px #04080c88 }
.no-webgl #projection:not([hidden]) { display:block }
#projection[data-stop=connection] { mix-blend-mode:screen; border:0; box-shadow:none }
@media(max-width:760px),(prefers-reduced-motion:reduce) { .no-webgl #projection:not([hidden]) { display:none } }
.tour-controls { display:flex; align-items:center; gap:20px }
[data-motion=still] .chapter { min-height:auto; padding-block:48px }
[data-motion=still] .panel { opacity:1; transform:none; transition:none }
[data-motion=still] #city-still,[data-motion=still] .hero-atlas { transform:none }
@media(max-width:760px) {
  .hero-bottom { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:4px; padding:8px 0 }
  .tour-controls { display:none }
}

.direction{border-top:1px solid var(--line);margin-top:16px;padding-top:10px}.direction summary{cursor:pointer;color:var(--gold);font-size:.94rem}.direction p{margin-top:9px;font-size:.95rem}.direction summary:focus-visible{outline:3px solid #74ede0;outline-offset:3px}

.city-ready #city-still { visibility:hidden }
#hero .hero-atlas { opacity:1; filter:none; background-position:61% 50% }
@media(max-width:760px) { #hero .hero-atlas { background-position:68% 48% } }
.city-ready #hero { background:none }
.city-ready #hero::before {
  background:linear-gradient(90deg,#07101bea 0%,#07101bd9 23%,#08132287 44%,transparent 67%),
    linear-gradient(0deg,#07121bea,transparent 18%,transparent 83%,#07121b29);
}
.city-ready .hero-copy { text-shadow:0 2px 20px #050d17a6 }
.city-ready .hero-copy .action { text-shadow:none }
@media(max-width:760px) {
  .city-ready #hero::before { background:linear-gradient(0deg,#07101bff 0%,#07101bf5 21%,#07101bca 45%,#07101b30 75%,transparent) }
  .tour-controls,.scroll-line { display:flex }
  .scroll-line { gap:7px; font-size:.8rem }
  .scroll-line i { height:15px }
}
