/* Covers landing. Sheets A-01..A-09 of one drawing set. */

:root { --px: 32px; --hdr: 60px; }
@media (max-width: 1100px) { :root { --px: 24px; } }
@media (max-width: 820px) { :root { --px: 18px; --hdr: 54px; } }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html { scroll-padding-top: var(--hdr); }

.night { background: var(--paper); color: var(--ink); }
.hide-m { }
@media (max-width: 820px) { .hide-m { display: none !important; } }

/* ---------- reveal ---------- */
html.js [data-in] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
html.js [data-in].is-in { opacity: 1; transform: none; }
.split-w { display: inline-block; overflow: hidden; overflow: clip; vertical-align: top; padding: .04em .02em .16em; margin: -.04em 0 -.16em; }
[data-split] { word-spacing: .07em; }
.split-w > span { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.15s var(--ease-io) var(--wd, 0s); }
.is-in .split-w > span, .split-w.is-in > span { transform: none; }
html:not(.js) [data-in] { opacity: 1; transform: none; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr);
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px;
  padding: 0 var(--px); background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.logo { display: flex; align-items: center; gap: 10px; }
.mark { width: 24px; height: 24px; }
.mark .m-top { fill: var(--seated); }
.mark .m-ch rect { fill: none; stroke: currentColor; stroke-width: 1.5; }
.logo-word { font-family: var(--display); font-weight: 750; font-stretch: 88%; font-size: 23px; letter-spacing: -.02em; line-height: 1; }
.logo-by { color: var(--ink-3); font-size: 10px; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--rule); }
.nav { display: flex; gap: 26px; justify-self: center; }
.nav a { color: var(--ink-2); position: relative; padding: 4px 0; transition: color .25s var(--ease); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr-live { display: flex; align-items: center; gap: 10px; color: var(--ink-2); white-space: nowrap; }
.hdr-live b { color: var(--ink); font-weight: 500; }
.hdr-live .sep { color: var(--ink-3); }
@media (max-width: 1240px) { .nav { gap: 18px; } .logo-by { display: none; } }
@media (max-width: 1100px) { .nav { display: none; } .hdr { grid-template-columns: auto 1fr auto; } .hdr-live { justify-self: end; } }
@media (max-width: 820px) { .hdr-cta { display: none; } .hdr { grid-template-columns: auto 1fr; gap: 12px; } .hdr-live { gap: 7px; font-size: 10px; } }

/* ---------- A-01 hero ---------- */
.hero {
  /* at least one screen tall, but never shorter than its own copy (laptops at 1280x800 and 1366x768) */
  position: relative; min-height: max(760px, 100vh);
  display: grid; grid-template-columns: minmax(380px, 30%) 1fr; gap: 48px;
  padding: calc(var(--hdr) + 44px) 50px 34px 66px;
}
.sheet-border { position: absolute; inset: calc(var(--hdr) + 12px) 14px 14px; border: 1px solid var(--rule); pointer-events: none; }
.zones-x { position: absolute; left: 18px; right: 0; top: 0; height: 18px; display: grid; grid-template-columns: repeat(12, 1fr); border-bottom: 1px solid var(--rule); }
.zones-y { position: absolute; left: 0; top: 18px; bottom: 0; width: 18px; display: grid; grid-template-rows: repeat(6, 1fr); border-right: 1px solid var(--rule); }
.zones-x span, .zones-y span { font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); display: grid; place-items: center; }
.zones-x span + span { border-left: 1px solid var(--rule-2); }
.zones-y span + span { border-top: 1px solid var(--rule-2); }

.hero-copy { position: relative; display: flex; flex-direction: column; min-height: 0; padding-top: 6px; }
.kicker { color: var(--ink-2); display: flex; align-items: center; gap: 12px; }
.kick-n, .sheet-bar > span:first-child { display: inline-block; padding: 3px 6px 2px; border: 1px solid var(--ink); color: var(--ink); font-weight: 500; white-space: nowrap; flex: none; }
.hero-title {
  font-family: var(--display); font-weight: 800; font-stretch: 70%;
  font-size: clamp(104px, min(12.4vw, 17.5vh), 210px); line-height: .79; letter-spacing: -.038em;
  margin: 34px 0 0 -.04em;
}
.hero-title > .split-w, .hero-title > span { display: block; }
.hero-title .dotr { color: var(--seated); }
.hero-lede { font-size: 18px; line-height: 1.45; color: var(--ink-2); max-width: 410px; margin-top: auto; padding-top: 28px; letter-spacing: -.005em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero-fig { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.hero-plan { flex: 1 1 auto; min-height: 0; display: grid; align-items: center; }
.hero-plan .plan { max-height: max(380px, calc(100vh - 330px)); }
.hero-plan.is-tight .plan .dim, .hero-plan.is-tight .plan .bub, .hero-plan.is-tight .plan .north { display: none; }
.hero-cap { display: grid; gap: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 30px; align-items: center; }
.legend li { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.legend b { font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 21px; letter-spacing: -.01em; color: var(--ink); margin-left: 2px; line-height: 1; }

.tblock { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(136px, .5fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.tb-time > .mono { white-space: nowrap; }
.tb-cell { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 7px 10px 8px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tb-cell > .mono { font-size: 9px; color: var(--ink-3); }
.tb-cell > .mono i { font-style: normal; color: var(--markup); }
.tb-cell b { font-weight: 500; font-size: 14.5px; letter-spacing: -.01em; line-height: 1.15; }
.tb-cell em { font-style: normal; font-size: 9px; color: var(--ink-3); letter-spacing: .06em; }
.tb-name b { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 24px; letter-spacing: -.02em; line-height: .95; }
.tb-sheet b { font-family: var(--display); font-weight: 700; font-stretch: 80%; font-size: 24px; line-height: .95; }
.tb-rev { grid-column: 1 / 4; }
.tb-time b { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.revs { font-family: var(--mono); font-size: 11px; line-height: 1.55; letter-spacing: .02em; min-height: 34px; color: var(--ink-2); }
.revs li { display: grid; grid-template-columns: 32px 48px 36px 1fr; animation: rev-in .6s var(--ease-out) both; white-space: nowrap; overflow: hidden; }
.revs li span:first-child { color: var(--markup); font-weight: 500; }
.revs li b { font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--ink); }
.revs .none { display: block; color: var(--ink-3); }
@keyframes rev-in { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: calc(var(--hdr) + 40px) 40px 40px 52px; gap: 36px; }
  .hero-title { font-size: clamp(96px, 19vw, 190px); }
  .hero-title > .split-w, .hero-title > span { display: inline-block; }
  .hero-lede { margin-top: 0; max-width: 560px; }
}
@media (max-width: 820px) {
  .hero { padding: calc(var(--hdr) + 26px) var(--px) 44px; gap: 30px; min-height: 0; }
  .sheet-border { display: none; }
  .hero-title { font-size: clamp(84px, 29vw, 150px); margin-top: 22px; line-height: .8; }
  .hero-title > .split-w, .hero-title > span { display: block; }
  .hero-lede { font-size: 17px; padding-top: 22px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-fig { margin: 0 calc(var(--px) * -1 + 4px); }
  .legend { gap: 8px 18px; padding: 0 var(--px); }
  .tblock { grid-template-columns: 1fr 1fr; margin: 0 var(--px); }
  .tb-site, .tb-drawn { display: none; }
  .tb-rev { grid-column: 1 / 3; }
  .tb-sheet { display: none; }
  .revs li { grid-template-columns: 26px 44px 34px 1fr; font-size: 10px; }
}

/* ---------- sections ---------- */
.sec { position: relative; padding: 0 var(--px) 160px; }
.sec:first-of-type { padding-top: 0; }
.sheet-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--ink); padding-top: 10px; margin-bottom: 72px; color: var(--ink-2); }
.sheet-bar > span:first-child { justify-self: start; }
.sheet-bar > span:nth-child(2) { color: var(--ink); }
.sheet-bar > span:last-child { justify-self: end; }
.night .sheet-bar { padding-top: 10px; }
.night.sec, .night.cta, .night + .sec:not(.night) { padding-top: 100px; }
.sec-title {
  font-family: var(--display); font-weight: 800; font-stretch: 70%;
  font-size: clamp(56px, 7.5vw, 128px); line-height: .86; letter-spacing: -.034em; max-width: 13.5ch;
}
.sec-head { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: 60px; align-items: end; }
.sec-head .sec-title { max-width: 15ch; }
.sec-intro { font-size: 17px; color: var(--ink-2); line-height: 1.5; padding-bottom: 6px; }
@media (max-width: 1100px) { .sec-head { grid-template-columns: 1fr; gap: 28px; } .sec-intro { max-width: 560px; } }
@media (max-width: 820px) {
  .sec { padding-bottom: 110px; }
  .night.sec, .night.cta, .night + .sec:not(.night) { padding-top: 64px; }
  .sheet-bar { grid-template-columns: auto 1fr; gap: 14px; margin-bottom: 40px; }
  .sheet-bar > span:nth-child(2) { justify-self: end; }
  .sec-title { font-size: clamp(48px, 14.4vw, 76px); line-height: .88; }
}

/* ---------- A-02 states ---------- */
.states { padding-top: 0; }
.states .sheet-bar { margin-top: 0; }
.states-grid { display: grid; grid-template-columns: minmax(340px, 4.3fr) 7.7fr; gap: 64px; margin-top: 80px; align-items: start; }
.sched-head { display: grid; grid-template-columns: 34px 1fr auto; color: var(--ink-3); padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: 10px; }
.sched-row {
  display: grid; grid-template-columns: 34px 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 0;
  width: 100%; text-align: left; padding: 22px 0 24px; border-bottom: 1px solid var(--rule); position: relative;
}
.sched-row::before { content: ''; position: absolute; left: -14px; top: 22px; bottom: 24px; width: 2px; background: var(--ink); transform: scaleY(0); transition: transform .4s var(--ease-out); }
.sched-row.is-on::before { transform: none; }
.sched-row .sw { width: 18px; height: 18px; transition: transform .4s var(--ease-back); }
.sched-row.is-on .sw { transform: scale(1.18); }
.sched-name { font-family: var(--display); font-weight: 750; font-stretch: 78%; font-size: 36px; letter-spacing: -.02em; line-height: 1; }
.sched-now { font-family: var(--display); font-weight: 750; font-stretch: 78%; font-size: 52px; line-height: .8; letter-spacing: -.02em; }
.sched-means { grid-column: 2 / 4; font-size: 15.5px; color: var(--ink-2); max-width: 40ch; margin-top: 10px; line-height: 1.45; }

.enlarged { position: relative; border: 1px solid var(--rule); background: var(--card); }
.enlarged::before { content: 'Enlarged plan · dining room · live'; position: absolute; left: 12px; top: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.enlarged .plan { padding: 6px; }
.states-grid { position: relative; }
.leader { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.leader .ld { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.leader .ld.draw { animation: draw .9s var(--ease-out) both; }
.leader .ring { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.leader .ring.draw { animation: draw 1s var(--ease-out) .35s both; }
.leader .ld-dot { fill: var(--ink); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.sched-live { grid-column: 2 / 4; display: block; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .5s var(--ease-out), opacity .4s var(--ease), margin .5s var(--ease-out); font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; line-height: 1.5; color: var(--ink); }
.sched-row.is-on .sched-live { max-height: 60px; opacity: 1; margin-top: 12px; }
.sched-live b { font-weight: 500; }
.sched-live em { font-style: normal; color: var(--ink-3); }
@media (max-width: 1100px) { .leader .ld, .leader .ld-dot { display: none; } }
.evening { margin-top: 90px; }
.evening-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.evening-head b { font-weight: 500; color: var(--ink); }
.evening-head p { color: var(--ink-3); }
.evening-chart { margin-top: 18px; }
.ev-key { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; color: var(--ink-3); font-size: 10px; }
.ev-key span { display: inline-flex; align-items: center; gap: 8px; }
.ev-key i { display: inline-block; flex: none; }
.ev-key .k-tick { width: 1.4px; height: 10px; background: var(--ink); }
.ev-key .k-gap { width: 16px; height: 6px; border: 1.4px solid var(--markup); border-bottom: 0; }
.ev-sum { display: flex; flex-wrap: wrap; gap: 10px 44px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--ink-3); }
.ev-sum div { display: flex; gap: 10px; align-items: baseline; }
.ev-sum dd { font-family: var(--display); font-weight: 750; font-stretch: 78%; font-size: 24px; letter-spacing: -.01em; color: var(--ink); text-transform: none; }
.ev-sum .late dd { color: var(--markup); }
.ev { display: block; width: 100%; height: auto; overflow: visible; }
.evening-chart { min-height: 128px; }
.ev text { font-family: var(--mono); font-size: 10.5px; fill: var(--ink-3); letter-spacing: .04em; }
.ev .ax { stroke: var(--rule); stroke-width: 1; }
.ev .seg-free { fill: var(--free-tint); stroke: var(--free); }
.ev .seg-seated { fill: var(--seated-tint); stroke: var(--seated); }
.ev .seg-clear { fill: var(--hatch, var(--clear-tint)); stroke: var(--clear); stroke-dasharray: 3 2; }
.ev rect { stroke-width: 1; vector-effect: non-scaling-stroke; }
.ev .who { fill: var(--seated-ink); font-size: 11px; letter-spacing: .02em; font-weight: 500; }
.ev .vis { stroke: var(--ink); stroke-width: 1.4; }
.ev .gap { fill: none; stroke: var(--markup); stroke-width: 1.4; }
.ev .gap-t { fill: var(--markup); font-weight: 500; }
.ev .now { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 3 3; }
.ev .now-t { fill: var(--ink); font-weight: 500; }
.ev .hb { fill: var(--clear-tint); } .ev .hl { stroke: var(--clear); stroke-width: 1.4; }

@media (max-width: 1100px) { .states-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 820px) {
  .states-grid { margin-top: 40px; }
  .sched-name { font-size: 30px; } .sched-now { font-size: 42px; }
  .enlarged { margin: 0 calc(var(--px) * -1); border-left: 0; border-right: 0; }
  .evening { margin-top: 60px; }
}

/* ---------- A-03 alerts ---------- */
.alert-grid { display: grid; grid-template-columns: minmax(360px, 5fr) 7fr; gap: 64px; align-items: start; }
.alerts .sec-title { max-width: 9ch; }
.alerts .sec-title .seven { color: var(--markup); }
.alert-lede { font-size: 17.5px; color: var(--ink-2); max-width: 470px; margin-top: 44px; }
.rules { margin-top: 44px; border-top: 1px solid var(--ink); max-width: 500px; }
.rules > div { display: grid; grid-template-columns: 170px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.rules dt { color: var(--markup); }
.rules dd { display: grid; grid-template-columns: 82px 1fr; align-items: baseline; color: var(--ink-2); font-size: 14.5px; }
.rules dd b { font-family: var(--display); font-weight: 750; font-stretch: 78%; font-size: 30px; color: var(--ink); letter-spacing: -.01em; }
.fine { font-size: 14px; color: var(--ink-3); max-width: 440px; margin-top: 28px; line-height: 1.5; }

.alert-stage { position: sticky; top: calc(var(--hdr) + 56px); display: grid; grid-template-columns: minmax(250px, 1fr) 1.2fr; border: 1px solid var(--rule); background: var(--card); }
.alert-stage::before { content: 'Detail · T07 and Imran\2019s section · replay'; position: absolute; left: 0; top: -22px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.as-side { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 26px 24px 24px; border-right: 1px solid var(--rule); }
.vignette { position: relative; aspect-ratio: 340 / 432; }
.vignette .plan { width: 100%; height: 100%; }
.vignette .walker circle.body { fill: var(--ink); }
.vignette .walker circle.halo { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .4; }
.vignette .walker text { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; fill: var(--ink); font-weight: 500; }
.vignette .route { fill: none; stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.vignette .route.go { stroke: var(--markup); stroke-dasharray: 5 4; }
.vg-key { position: absolute; left: 10px; top: 8px; display: flex; gap: 14px; color: var(--ink-2); font-size: 10px; background: var(--card); padding: 4px 6px; pointer-events: none; }
.vg-key span { display: inline-flex; align-items: center; gap: 7px; }
.vg-key .k-walker { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--ink-3); }
.vg-key .k-route { width: 18px; height: 0; border-top: 1.4px dashed var(--ink-3); }
.stopwatch { display: flex; flex-direction: column; gap: 6px; }
.stopwatch > .mono { color: var(--ink-2); }
.stopwatch b { font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: clamp(96px, 9.4vw, 152px); line-height: .8; letter-spacing: -.035em; margin-top: 10px; transition: color .4s var(--ease); }
.stopwatch.is-late b { color: var(--markup); }
.sw-bar { position: relative; display: block; height: 3px; background: var(--rule); margin-top: 18px; }
.sw-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); transition: background-color .4s var(--ease); }
.stopwatch.is-late .sw-bar i { background: var(--markup); }
.sw-scale { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 9.5px; margin-top: 6px; }
.ticket { border: 1px solid var(--rule); padding: 14px 16px 16px; background: var(--paper); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.ticket.is-open { border-color: var(--markup); }
.ticket-top { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-3); padding-bottom: 10px; border-bottom: 1px dashed var(--rule); transition: color .3s var(--ease); }
.ticket .tri { opacity: .35; }
.ticket.is-open .ticket-top { color: var(--markup); }
.ticket.is-open .tri { opacity: 1; animation: live 1.2s var(--ease) infinite; }
.ticket.is-done .ticket-top { color: var(--free); }
.ticket.is-done .tri { opacity: 1; }
.tri { display: inline-block; width: 11px; height: 10px; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); margin-right: 7px; vertical-align: -1px; }
.ticket-main { font-size: 19px; font-weight: 500; letter-spacing: -.015em; margin-top: 12px; }
.ticket-main b { font-family: var(--display); font-weight: 800; font-stretch: 78%; font-size: 24px; }
.ticket-sub { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; min-height: 2.9em; }
.ticket-act { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.ticket-act .mono { color: var(--ink-3); font-size: 9.5px; }
.ticket .btn[disabled] { opacity: .3; pointer-events: none; }
.ticket.is-open .btn { background: var(--markup); color: #fff; }
@media (max-width: 1100px) { .alert-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 820px) {
  .alert-stage { position: relative; top: auto; grid-template-columns: 1fr; margin: 0 calc(var(--px) * -1); border-left: 0; border-right: 0; }
  .alert-stage::before { left: var(--px); }
  .as-side { border-right: 0; border-bottom: 1px solid var(--rule); padding: 22px var(--px); }
  .rules > div { grid-template-columns: 1fr auto; }
  .rules dd { grid-template-columns: auto; }
  .rules dd span { display: none; }
}

/* ---------- A-04 host stand ---------- */
.host-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.next-free { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.next-free > .mono { color: var(--ink-2); }
.nf-big { display: flex; align-items: baseline; gap: 10px; }
.nf-big b { font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: clamp(110px, 12vw, 200px); line-height: .78; letter-spacing: -.04em; color: var(--free); text-align: right; }
.nf-big span { font-family: var(--display); font-weight: 700; font-stretch: 75%; font-size: 40px; }
.nf-which { color: var(--ink-3); }
.host-grid { display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 40px; margin-top: 80px; align-items: start; }
.panel-head { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.panel-head span:first-child { color: var(--ink); font-weight: 500; }
.panel-head span:last-child { color: var(--ink-3); }
.wl-cols { display: grid; grid-template-columns: 30px 1fr 74px 64px; color: var(--ink-3); font-size: 9.5px; padding: 10px 0 8px; border-bottom: 1px solid var(--rule); }
.wl-cols span:nth-child(n+3) { text-align: right; }
.wl-list { min-height: 300px; }
.wl-list li { display: grid; grid-template-columns: 30px 1fr 74px 64px; align-items: center; height: 50px; border-bottom: 1px solid var(--rule); animation: row-in .6s var(--ease-out) both; }
.wl-list .n { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.wl-list .who { font-size: 16px; font-weight: 500; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; min-width: 0; }
.wl-list .who em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); border: 1px solid var(--rule); padding: 1px 5px; }
.wl-list .who i { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--free); }
.wl-list .w, .wl-list .q { font-family: var(--mono); font-size: 13px; text-align: right; }
.wl-list .q { color: var(--ink-2); }
.wl-list li.over .w { color: var(--markup); }
.wl-list li.mine { background: var(--free-tint); }
.wl-list .empty { display: block; height: auto; padding: 18px 0; color: var(--ink-3); font-size: 15px; animation: none; }
@keyframes row-in { from { opacity: 0; transform: translateY(-8px); } }
.walkin { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 18px; }
.walkin > .mono { color: var(--ink-2); }
.seg { display: inline-flex; border: 1px solid var(--ink); }
.seg button { min-width: 40px; height: 34px; padding: 0 12px; font-family: var(--mono); font-size: 12px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button:hover { background: var(--paper-2); }
.seg button[aria-pressed='true'], .seg button:active { background: var(--ink); color: var(--paper); }
.walkin-out { color: var(--free); font-size: 10px; }

.nx-list li { display: grid; grid-template-columns: 58px 1fr 54px; grid-template-rows: auto auto; align-items: center; column-gap: 12px; padding: 12px 0 13px; border-bottom: 1px solid var(--rule); }
.nx-list .t { grid-row: 1 / 3; font-family: var(--display); font-weight: 750; font-stretch: 78%; font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.nx-list .meta { font-size: 13px; color: var(--ink-2); }
.nx-list .eta { grid-row: 1 / 3; grid-column: 3; text-align: right; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.nx-list .bar { position: relative; height: 7px; background: var(--rule-2); margin-top: 7px; }
.nx-list .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--seated-tint); border: 1px solid var(--seated); max-width: 100%; transition: width .6s var(--ease); }
.nx-list .bar u { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--ink); }
.nx-list li.late .bar i { background: var(--seated); }
.nx-list li.clr .bar i { background: repeating-linear-gradient(-45deg, var(--clear) 0 1.5px, var(--clear-tint) 1.5px 5px); border-color: var(--clear); width: 100% !important; }
.nx-list li.first .t { color: var(--free); }
.nx-list li.first .eta { color: var(--free); }

.formula { padding-top: 10px; border-top: 1px solid var(--ink); }
.formula > .mono:first-child { color: var(--ink); font-weight: 500; }
.formula-text { font-size: 15.5px; color: var(--ink-2); margin-top: 18px; line-height: 1.5; }
.eq { margin-top: 26px; background: var(--card); border: 1px solid var(--rule); padding: 16px 16px 14px; font-family: var(--mono); font-size: 12.5px; position: relative; }
.eq::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 6px; background: radial-gradient(circle at 4px -1px, var(--paper) 3.4px, transparent 3.6px) 0 0 / 8px 6px repeat-x; }
.eq-h { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; display: flex; justify-content: space-between; }
.eq-r { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--ink-2); }
.eq-r b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.eq-s { border-top: 1px solid var(--rule); margin-top: 4px; padding-top: 6px; }
.eq-t { border-top: 1px dashed var(--ink-3); margin-top: 8px; padding-top: 9px; color: var(--ink); }
.eq-t b { color: var(--free); font-size: 15px; }
.formula-fine { color: var(--ink-3); margin-top: 16px; font-size: 9.5px; line-height: 1.5; }
@media (max-width: 1100px) { .host-grid { grid-template-columns: 1fr 1fr; } .formula { grid-column: 1 / 3; } }
@media (max-width: 820px) {
  .host-head { grid-template-columns: 1fr; gap: 28px; }
  .next-free { align-items: flex-start; text-align: left; }
  .host-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 48px; }
  .formula { grid-column: auto; }
  .wl-list { min-height: 0; }
  .wl-list li, .wl-cols { grid-template-columns: 24px 1fr 64px 52px; }
}

/* ---------- A-05 reports ---------- */
.rep-grid { display: grid; grid-template-columns: 8.2fr 3.8fr; gap: 56px; margin-top: 76px; align-items: start; }
.heat-wrap { position: relative; }
.heat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 18px; }
.heat-head > .mono { color: var(--ink); font-weight: 500; }
.seg-line button { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; height: 30px; }
.heat { display: block; width: 100%; height: auto; overflow: visible; }
.heat .hx, .heat .hy { font-family: var(--mono); font-size: 10.5px; fill: var(--ink-3); letter-spacing: .06em; }
.heat .cell rect { fill: var(--ink); transition: fill-opacity .5s var(--ease); }
.heat .cell text { font-family: var(--mono); font-size: 11px; fill: var(--ink-2); pointer-events: none; }
.heat .cell.dark text { fill: var(--paper); }
.heat .cell.hot rect { fill: var(--seated); }
.heat .cell.hot text { fill: #fff; }
.heat:focus { outline: none; }
.heat:focus-visible { outline: 2px solid var(--markup); outline-offset: 4px; }
.heat .cell { cursor: default; }
.heat .cell:hover rect, .heat .cell.is-cur rect { stroke: var(--ink); stroke-width: 2; }
.heat.is-compact .cell text { font-size: 10.5px; }
.heat .closed { fill: url(#heat-closed); }
.heat .hc { stroke: var(--rule); stroke-width: 1; }
.heat .closed-l { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; fill: var(--ink-3); text-anchor: middle; }
.heat-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: var(--paper); padding: 8px 10px 9px; font-size: 10.5px; line-height: 1.5; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }
.heat-tip.below { transform: translate(-50%, 10px); }
.heat-tip b { display: block; font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 20px; letter-spacing: -.01em; text-transform: none; }
.heat-key { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--ink-3); margin-top: 16px; font-size: 10px; }
.hk-ramp { display: inline-flex; gap: 2px; }
.hk-ramp i { width: 22px; height: 10px; background: var(--ink); }
.hk-ramp i:nth-child(1) { opacity: .06; } .hk-ramp i:nth-child(2) { opacity: .2; } .hk-ramp i:nth-child(3) { opacity: .42; } .hk-ramp i:nth-child(4) { opacity: .68; } .hk-ramp i:nth-child(5) { opacity: .95; }
.hk-hot { margin-left: 14px; display: inline-flex; align-items: center; gap: 8px; }
.hk-hot::before { content: ''; width: 10px; height: 10px; background: var(--seated); }
.kpis { border-top: 1px solid var(--ink); }
.kpis > div { padding: 16px 0 18px; border-bottom: 1px solid var(--rule); }
.kpis dt { color: var(--ink-3); }
.kpis dd { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.kpis dd b { font-family: var(--display); font-weight: 800; font-stretch: 72%; font-size: 64px; line-height: .85; letter-spacing: -.03em; }
.kpis dd span { color: var(--ink-2); font-size: 14px; }
.shift-note { margin-top: 30px; border-left: 2px solid var(--markup); padding: 4px 0 4px 18px; }
.shift-note .mono { color: var(--markup); }
.shift-note p:last-child { font-size: 16px; margin-top: 10px; line-height: 1.45; }
.rep-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 80px; }
.rep-mini > .mono { color: var(--ink); font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 18px; }
.bars, .turn { display: block; width: 100%; height: auto; overflow: visible; }
.bars text, .turn text { font-family: var(--mono); font-size: 10.5px; fill: var(--ink-3); letter-spacing: .05em; }
.bars .b-l { fill: var(--ink-3); } .bars .b-d { fill: var(--ink); }
.bars .bv { fill: var(--ink); font-weight: 500; }
.turn .tg { stroke: var(--rule-2); stroke-width: 1; }
.turn .tx { text-anchor: middle; }
.turn .tr { stroke: var(--ink-2); stroke-width: 1.4; fill: none; }
.turn .tm { fill: var(--seated); }
.turn .tv { fill: var(--ink); font-weight: 500; text-anchor: middle; }
@media (max-width: 1100px) { .rep-grid { grid-template-columns: 1fr; } .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; } }
@media (max-width: 820px) {
  .rep-grid { margin-top: 44px; gap: 44px; }
  .heat-head { flex-direction: column; align-items: flex-start; }
  .kpis { grid-template-columns: 1fr; }
  .kpis dd b { font-size: 54px; }
  .rep-row { grid-template-columns: 1fr; gap: 48px; margin-top: 56px; }
}

/* ---------- A-06 privacy ---------- */
.priv-fig { margin-top: 70px; }
.priv-svg { width: 100%; height: auto; overflow: visible; }
.priv-svg.tall { display: none; max-width: 420px; }
.priv-svg .pl-line { fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-dasharray: 26 6 4 6 4 6; }
.priv-svg .pl-t { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; fill: var(--ink-2); }
.priv-svg .pl-t.r { text-anchor: end; fill: var(--markup); }
.priv-svg .node rect { fill: var(--card); stroke: var(--ink-2); stroke-width: 1; }
.priv-svg .node.hero rect { fill: var(--paper-2); stroke: var(--ink); stroke-width: 2; }
.priv-svg .node.out rect { stroke-dasharray: 5 4; fill: none; }
.priv-svg .nt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; fill: var(--ink-3); }
.priv-svg .node.hero .nt { fill: var(--markup); }
.priv-svg .nb { font-family: var(--display); font-weight: 700; font-stretch: 80%; font-size: 26px; letter-spacing: -.01em; fill: var(--ink); }
.priv-svg .nb.sm { font-size: 21px; }
.priv-svg .flow { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.priv-svg .flow.out { stroke: var(--markup); stroke-dasharray: 5 5; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.priv-svg .pa { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.priv-svg .keep-line { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.priv-svg .ft { font-family: var(--mono); font-size: 11px; fill: var(--ink-3); letter-spacing: .06em; }
.priv-svg .drop path { stroke: var(--markup); stroke-width: 1.2; stroke-dasharray: 3 3; }
.priv-svg .drop text { font-family: var(--mono); font-size: 11px; fill: var(--markup); letter-spacing: .04em; }
.keeps { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 48px; margin-top: 80px; align-items: start; }
.keep > .mono { color: var(--ink); font-weight: 500; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.keep ul li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--rule); font-size: 16.5px; line-height: 1.35; }
.keep ul li::before { content: '+'; position: absolute; left: 2px; top: 12px; font-family: var(--mono); color: var(--free); }
.keep.never ul li::before { content: '×'; color: var(--markup); }
.keep.never ul li { color: var(--ink-2); }
.keep-note { font-size: 15px; color: var(--ink-2); line-height: 1.55; padding-top: 30px; }
/* the wide diagrams only stay readable near full size; below that, the drawn-for-portrait versions */
@media (max-width: 1100px) {
  .keeps { grid-template-columns: 1fr 1fr; } .keep-note { grid-column: 1 / 3; }
  .priv-svg.wide { display: none; } .priv-svg.tall { display: block; margin: 0 auto; }
}
@media (max-width: 820px) {
  .priv-fig { margin-top: 40px; }
  .keeps { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; } .keep-note { grid-column: auto; padding-top: 0; }
}

/* ---------- A-07 setup ---------- */
.wire { margin-top: 76px; padding: 34px 0 28px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.wire-svg { width: 100%; height: auto; overflow: visible; }
.wire-svg.tall { display: none; max-width: 400px; margin: 0 auto; }
.wire-svg .w-cams rect, .wire-svg .w-cams path { fill: var(--ink); }
.wire-svg .w-l { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; fill: var(--ink); font-weight: 500; }
.wire-svg .w-s { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; fill: var(--ink-3); }
.wire-svg .w-cable { fill: none; stroke: var(--ink-2); stroke-width: 1.4; }
.wire-svg .w-cable.lan { stroke: var(--ink); stroke-width: 3; }
.wire-svg .w-box rect { fill: var(--card); stroke: var(--ink); stroke-width: 1.4; }
.wire-svg .w-box circle { fill: var(--free); }
.wire-svg .w-box .rec { fill: var(--markup); animation: live 1.6s var(--ease) infinite; }
.wire-svg .w-thin { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.wire-svg .w-box.covers rect:first-child { fill: var(--ink); }
.wire-svg .w-led { fill: var(--free) !important; animation: live 2.4s var(--ease) infinite; stroke: none !important; }
.wire-svg .w-name { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 22px; fill: var(--paper); letter-spacing: -.01em; }
.wire-svg .w-air { fill: none; stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 3 4; }
.wire-svg .w-dev > rect:first-child { fill: var(--card); stroke: var(--ink); stroke-width: 1.4; }
.wire-svg .w-scr { fill: var(--paper-2); stroke: var(--rule); }
.wire-svg .d-g { fill: var(--free); } .wire-svg .d-r { fill: var(--seated-tint); stroke: var(--seated); } .wire-svg .d-c { fill: var(--clear-tint); stroke: var(--clear); stroke-dasharray: 2 2; }
.wire-svg .w-step circle { fill: var(--markup); }
.wire-svg .w-step text { fill: #fff; font-family: var(--mono); font-size: 13px; font-weight: 500; text-anchor: middle; }
.seq { margin-top: 0; }
.seq li { display: grid; grid-template-columns: 110px 200px minmax(200px, 1fr) 1.4fr; gap: 24px; align-items: baseline; padding: 26px 0 28px; border-bottom: 1px solid var(--rule); }
.seq-n { font-family: var(--display); font-weight: 800; font-stretch: 72%; font-size: 56px; line-height: .8; letter-spacing: -.03em; }
.seq-when { color: var(--ink-3); }
.seq h3 { font-size: 22px; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
.seq li > p:last-child { color: var(--ink-2); font-size: 15.5px; max-width: 52ch; }
@media (max-width: 1100px) { .wire-svg.wide { display: none; } .wire-svg.tall { display: block; } .seq li { grid-template-columns: 80px 1fr; } .seq li > p:last-child { grid-column: 2; } .seq h3 { grid-column: 2; } .seq-when { grid-column: 2; } .seq-n { grid-row: 1 / 4; } }
@media (max-width: 820px) {
  .wire { margin-top: 44px; padding: 26px 0 22px; }
  .seq li { grid-template-columns: 58px 1fr; gap: 6px 14px; }
  .seq-n { font-size: 42px; }
}

/* ---------- A-08 notes ---------- */
.notes-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.notes-head { position: sticky; top: calc(var(--hdr) + 40px); }
.notes-sub { color: var(--ink-3); margin-top: 28px; max-width: 280px; line-height: 1.6; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; padding: 22px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q-n { color: var(--ink-3); }
.faq .q { font-size: 22px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; transition: color .25s var(--ease); }
.faq summary:hover .q { color: var(--seated); }
.pm { position: relative; width: 16px; height: 16px; justify-self: end; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0deg); }
.faq details p { padding: 0 40px 26px 44px; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; max-width: 66ch; }
@media (max-width: 1100px) { .notes-grid { grid-template-columns: 1fr; gap: 40px; } .notes-head { position: static; } }
@media (max-width: 820px) { .faq .q { font-size: 18.5px; } .faq summary { grid-template-columns: 30px 1fr 20px; } .faq details p { padding: 0 0 22px 30px; } }

/* ---------- CTA ---------- */
.cta { padding: 100px var(--px) 90px; }
.cta-link { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 40px; }
.cta-title { font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: clamp(76px, 12.6vw, 220px); line-height: .8; letter-spacing: -.04em; transition: color .4s var(--ease); }
.cta-arrow { font-family: var(--display); font-weight: 300; font-stretch: 100%; font-size: clamp(70px, 10vw, 180px); line-height: .8; transition: transform .6s var(--ease-out), color .4s var(--ease); }
.cta-link:hover .cta-title { color: var(--seated); }
.cta-link:hover .cta-arrow { transform: translateX(18px); color: var(--seated); }
.cta-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 70px; padding-top: 20px; border-top: 1px solid var(--rule); }
.cta-text { font-size: 18px; color: var(--ink-2); max-width: 500px; }
@media (max-width: 820px) { .cta-foot { flex-direction: column; align-items: flex-start; } .cta-arrow { display: none; } .cta-title { font-size: clamp(64px, 19vw, 110px); } }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px var(--px) 30px; border-top: 1px solid var(--rule); }
.foot-note { color: var(--ink); }
.foot-note:hover { color: var(--seated); }
.foot-fine { color: var(--ink-3); text-transform: none; letter-spacing: .02em; max-width: 560px; text-align: right; }
@media (max-width: 820px) { .foot { flex-direction: column; align-items: flex-start; } .foot-fine { text-align: left; } }

/* header over dark sheets */
.hdr.on-night {
  --paper: #121210; --ink: #ece7dc; --ink-2: #b4ad9f; --ink-3: #7c766b; --rule: rgba(236, 231, 220, .16); --seated: #e0654c; --free: #5fae7f;
}

/* schedule auto-advance progress */
.sched-row::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.sched-row.is-auto::after { animation: prog 4.2s linear forwards; }
.sched-row.is-on:not(.is-auto)::after { transform: scaleX(1); }
@keyframes prog { to { transform: scaleX(1); } }

/* grid children never push the page wider than the screen */
.hero > *, .states-grid > *, .alert-grid > *, .host-grid > *, .rep-grid > *, .rep-row > *, .keeps > *, .notes-grid > *, .sec-head > *, .host-head > * { min-width: 0; }
@media (max-width: 820px) {
  .tblock { grid-template-columns: 1fr auto; }
  .tb-time { order: 1; }
  .tb-rev { order: 2; grid-column: 1 / 3; }
}

/* hero: the drawing arrives, then the tables */
@keyframes plan-in { from { opacity: 0; } }
@keyframes tb-in { from { opacity: 0; } }
html.js .hero-plan .room { animation: plan-in 1s var(--ease) .15s both; }
html.js .hero-plan .grid, html.js .hero-plan .dim { animation: plan-in 1s var(--ease) .5s both; }
html.js .hero-plan .tb { animation: tb-in .5s var(--ease) both; animation-delay: calc(.45s + var(--i) * 28ms); }
html.js .hero-cap { animation: plan-in .9s var(--ease) .8s both; }

/* phones: nothing smaller than 10px, and every control a thumb can hit */
@media (max-width: 820px) {
  .tb-cell > .mono, .tb-cell em, .sw-scale, .ticket-act .mono, .formula-fine, .wl-cols, .wl-list .who i, .enlarged::before, .alert-stage::before, .sched-head { font-size: 10px; }
}
@media (pointer: coarse) {
  .seg button { height: 40px; min-width: 44px; }
  .seg-line button { height: 40px; }
}
