:root {
  color-scheme: light;
  --paper: #fbf8f2;
  --surface: #fffdf8;
  --ink: #1d2334;
  --muted: #58606b;
  --line: #d6d3cc;
  --soft: #f1ece3;
  --orange: #ff8052;
  --rust: #a03c20;
  --lavender: #dcdff5;
  --night: #1d253a;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
:root[data-theme="night"] {
  color-scheme: dark;
  --paper: #171d2b;
  --surface: #222b3d;
  --ink: #faf4e9;
  --muted: #c3c7d2;
  --line: #42485a;
  --soft: #293145;
  --rust: #ffa481;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font-family: var(--sans); line-height: 1.52; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, select, summary { touch-action: manipulation; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .22em; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid #188ad3; outline-offset: 4px; }
::selection { background: #ffc49f; color: #20263a; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
.wrap { width: min(1280px, 89%); margin-inline: auto; }
.section, .story-section, .pricing-section { padding-block: clamp(58px, 6.6vw, 104px); }
h2, .section-title { font-size: clamp(40px, 4.2vw, 69px); line-height: 1.02; letter-spacing: -.058em; font-weight: 610; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h3 { line-height: 1.18; letter-spacing: -.035em; }
.subcopy { color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; max-width: 52ch; }
.kicker, .eyebrow, .label, .mono, .ticket-head, .status-badge {
  font: 650 .74rem/1.4 var(--sans); letter-spacing: .115em; text-transform: uppercase;
}
.kicker, .eyebrow { color: var(--rust); margin-bottom: 15px; }
.section-head { margin-bottom: clamp(22px, 3.1vw, 45px); }
.section-head.two { display: grid; grid-template-columns: 1.35fr 1fr; gap: 8%; align-items: end; }
.section-head.two .subcopy { max-width: 43ch; }
.icon { display: inline-block; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn, .icon-btn, .text-link, .cover-link, .login, .nav-links a { text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .85em;
  min-height: 48px; background: var(--ink); color: var(--paper); border: 1px solid transparent;
  padding: .7em 1.2em; border-radius: 7px; font-weight: 690; line-height: 1.3; text-align: center;
  transition: background-color .18s, box-shadow .18s;
}
.btn:hover:not(:disabled) { box-shadow: inset 0 0 0 100px #8882; }
.btn-accent { background: var(--orange); color: #201c23; }
.btn-dark { background: var(--night); color: #fff9ef; }
.btn.secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.text-link, .cover-link { display: inline-flex; align-items: center; gap: .65em; min-height: 44px; font-weight: 650; text-decoration: underline; }
.icon-btn { background: transparent; border: 1px solid var(--line); color: var(--ink); width: 42px; height: 42px; border-radius: 7px; font-size: 1.25rem; display: grid; place-items: center; }
.skip { position: absolute; top: -10em; left: 1em; background: var(--paper); padding: .8em; z-index: 50; }
.skip:focus { top: .5em; }
.site-header { position: sticky; top: 0; z-index: 8; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-shell, .nav-actions, .nav-links, .logo, .hero-actions { display: flex; align-items: center; }
.nav-shell { min-height: 74px; gap: clamp(20px, 3.2vw, 58px); }
.logo { gap: 8px; font-size: 26px; font-weight: 770; letter-spacing: -.07em; line-height: 1; text-decoration: none; white-space: nowrap; }
.logo-mark { width: 37px; height: 37px; padding: 5px; border-radius: 8px; background: var(--night); fill: none; stroke: var(--orange); stroke-width: 3; }
.nav-actions { margin-left: auto; gap: 12px; }
.nav-links { gap: clamp(16px, 2vw, 32px); }
.nav-links a, .login { font-size: .92rem; font-weight: 580; padding-block: 9px; }
.nav-links a:hover, .login:hover { text-decoration: underline; }
.nav-demo { min-height: 42px; }
.language-choice select { cursor: pointer; min-height: 42px; font: 650 .85rem var(--sans); color: var(--ink); background: var(--paper); border: 0; padding-inline: 4px; }
.mobile-toggle, .menu-login { display: none; }
.menu-bars { width: 18px; height: 12px; border-block: 2px solid currentColor; position: relative; }
.menu-bars::after { content: ""; position: absolute; left: 0; top: 3px; width: 18px; border-top: 2px solid currentColor; }

.cover { position: relative; isolation: isolate; overflow: hidden; background: #111826; color: #fff9ef; }
.cover-photo, .cover::after { position: absolute; inset: 0; z-index: -1; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.cover::after { content: ""; background: linear-gradient(90deg, #101622eb 0%, #121727d6 25%, #15182583 45%, #15182512 66%, transparent 83%), linear-gradient(0deg,#0d102b64,transparent 28%); }
.cover-inner { min-height: clamp(510px, 41vw, 680px); display: flex; align-items: center; position: relative; }
.cover-copy { padding-block: clamp(55px, 5vw, 96px); width: min(670px, 61%); }
.cover .kicker { display: inline-flex; align-items: center; gap: 10px; color: #ffccae; letter-spacing: .15em; font-size: .75rem; margin-bottom: 21px; }
.cover .kicker::before { content: ""; width: 25px; height: 2px; background: var(--orange); }
.cover h1 { font-weight: 585; font-size: clamp(60px, 6.3vw, 105px); letter-spacing: -.068em; line-height: .99; }
.cover h1 em { display: inline-block; font-size: 1.22em; line-height: .99; color: #ffaf87; }
.cover-description { font-size: clamp(17px, 1.36vw, 21px); line-height: 1.5; max-width: 40ch; color: #f3eee9; margin-top: 23px; }
.hero-actions { flex-wrap: wrap; gap: 22px; margin-top: 29px; }
.cover .btn { min-height: 51px; }
.cover-link { color: #fff7ee; }
.ticket {
  display: block; position: absolute; bottom: 21px; right: 0; width: 200px;
  padding: 15px 17px 20px; background: #fff4de; color: #282731; transform: rotate(3deg);
  filter: drop-shadow(0 5px 8px #0002); text-decoration: none; line-height: 1.25;
}
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 6px; background: linear-gradient(135deg,#fff4de 34%,transparent 35%) 0 0/10px 10px repeat-x,linear-gradient(225deg,#fff4de 34%,transparent 35%) 0 0/10px 10px repeat-x; }
.ticket-head, .ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ticket-head { font-family: var(--mono); font-size: .62rem; color: #745741; }
.ticket > strong { display: block; font: 400 30px/1.2 var(--serif); padding-block: 3px 7px; margin-bottom: 6px; border-bottom: 1px dashed #b29e81; }
.ticket-row { font: 11px/1.5 var(--mono); }
.ticket-row b { font-weight: 600; }

.showcase { background: var(--paper); }
.showcase-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(35px, 6vw, 92px); align-items: center; }
.showcase-copy h2 { font-size: clamp(48px, 5.2vw, 79px); }
.showcase-copy em { color: var(--rust); }
.showcase-copy .subcopy { margin: 20px 0 12px; max-width: 35ch; }
.workstation-frame { min-width: 0; padding: clamp(14px, 2.1vw, 32px); background: #dadff3; border-radius: 18px; }
.workstation { color: #202739; border-radius: 10px; overflow: hidden; background: #fcfcfd; border: 1px solid #b1b7cd; box-shadow: 0 8px 24px #29324f1f; }
.ws-top, .ws-bottom, .ws-heading, .check-row, .check-top, .mini-row, .receipt-line, .ledger-caption, .physical-count, .variance-result, .story-stage-head, .record-row, .pilot-label {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.ws-top { padding: 13px 17px; background: #242c43; color: #e6eafe; }
.ws-name { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.ws-name .icon { color: #ffa782; }
.ws-top > span:last-child, .ws-bottom, .status-badge { font-size: .68rem; }
.ws-tabs { display: flex; gap: 3px; padding: 9px 12px; background: #eef0f6; border-bottom: 1px solid #d1d5e1; }
.ws-tabs button, .check-actions button, .question-buttons button, .answer-evidence button { background: transparent; border: 1px solid transparent; border-radius: 6px; font-weight: 620; }
.ws-tabs button { color: #454d62; min-height: 38px; padding: 5px 12px; font-size: .86rem; }
.ws-tabs [aria-selected="true"] { background: #fff; border-color: #c4cbdd; color: #1d2944; box-shadow: 0 1px 3px #1d294410; }
.ws-body { padding: 18px; min-height: 290px; }
.ws-heading { margin-bottom: 12px; }
.ws-heading h3 { font-size: 1.3rem; }
.status-badge { color: #65523d; padding: 4px 7px; border: 1px solid #e5d5bc; background: #fcf6ea; border-radius: 4px; letter-spacing: .04em; }
.floor-layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: 14px; }
.floor-map { display: grid; gap: 7px; grid-template-columns: repeat(3,1fr); align-content: center; padding: 14px; border-radius: 7px; background: #e9ebf4; }
.table-node { min-height: 33px; color: #374361; background: #f6f7fb; border: 1px solid #c8cddd; border-radius: 5px; font: 650 .8rem var(--mono); }
.table-node.occupied { background: #d1d8ee; }
.table-node.active { background: #313e60; color: #fff; border-color: #313e60; }
.check-list { padding: 11px; border: 1px solid #d8dbe4; border-radius: 7px; }
.check-top { font-weight: 700; font-size: .88rem; margin-bottom: 7px; }
.check-top > span + span { font-size: .65rem; font-weight: 550; color: #596176; }
.check-row, .mini-row { padding-block: 4px; font-size: .78rem; }
.check-row > :last-child, .mini-row > :last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.check-total { margin-top: 4px; border-top: 1px dashed #cbd1df; padding-top: 7px; font-weight: 750; }
.check-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.check-actions button { font-size: .72rem; padding: 6px 8px; border-color: #cbd3e3; color: #28354d; }
.check-actions button:last-child { background: #2c3956; border-color: #2c3956; color: #fff; }
.ws-bottom { flex-wrap: wrap; padding: 8px 15px; border-top: 1px solid #d4d8e3; color: #45506b; }
.route-status { font-size: .64rem; letter-spacing: .035em; }
.inventory-mini { border-block: 1px solid #d7dbe5; }
.mini-row { padding: 8px 0; }
.mini-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-block: 13px; }
.mini-kpi { border-radius: 5px; padding: 8px; background: #ebedf5; }
.mini-kpi strong, .mini-kpi small { display: block; }
.mini-kpi small { font-size: .73rem; }
.ws-body .micro { color: #4f5664; font-size: .8rem; }

.venues { border-top: 1px solid var(--line); padding-top: clamp(38px, 4vw, 70px); }
.venue-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px, 2vw, 28px); }
.venue-card { color: inherit; text-decoration: none; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .18s; }
.venue-card:hover { box-shadow: 0 7px 22px #28214216; }
.venue-card img { width: 100%; aspect-ratio: 1.78; height: auto; object-fit: cover; }
.venue-caption { display: grid; grid-template-columns: 1fr auto; align-items: start; column-gap: 12px; padding: 20px; }
.venue-caption h3 { font-size: clamp(21px, 2vw, 30px); }
.venue-caption p { grid-column: 1/-1; margin-top: 7px; color: var(--muted); max-width: 35ch; }
.venue-arrow { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; width: 31px; height: 31px; }
.venue-card:hover .venue-arrow { background: var(--orange); color: #241f28; }

.story-section { background: #1c263e; color: #fff9ec; }
.story-section .kicker { color: #ffb594; }
.story-section .subcopy, .story-note { color: #c5cdde; }
.story-section h2 em { color: #ffb48d; }
.story-grid { display: grid; grid-template-columns: .72fr 1.35fr; gap: clamp(22px,5vw,70px); }
.timeline { display: grid; position: relative; align-content: start; }
.timeline button { display: grid; grid-template-columns: 45px 9px 1fr; align-items: center; text-align: start; gap: 12px; border: 0; border-bottom: 1px solid #49536b; border-radius: 0; background: transparent; padding: 12px 8px; min-height: 47px; color: #dce2ef; }
.timeline time, .story-stage-head, .signal-word, .record-row > span, .ledger-caption, .pilot-label { font: 550 .75rem/1.4 var(--mono); letter-spacing: .04em; }
.timeline .dot { width: 6px; height: 6px; border-radius: 50%; background: #8490ad; }
.timeline [aria-pressed="true"] { color: #ffbe9e; background: #293551; }
.timeline [aria-pressed="true"] .dot { background: var(--orange); }
.timeline strong { font-weight: 600; }
.story-stage { overflow: hidden; border: 1px solid #57617b; border-radius: 11px; background: #29354f; }
.story-stage-head { border-bottom: 1px solid #505b74; padding: 14px 21px; color: #d8dff0; }
.story-stage-main { padding: clamp(18px, 2.1vw, 31px); }
.signal-word { color: #ffb18c; }
.story-stage-main h3 { margin: 8px 0; font-size: clamp(24px, 2.6vw, 39px); }
.story-stage-main p { color: #d7deed; }
.record-rows { margin-top: 18px; }
.record-row { border-top: 1px solid #505b74; padding-block: 8px; font-size: .83rem; }
.record-row strong { text-align: end; }
.story-controls { display: flex; gap: 12px; justify-content: space-between; margin-top: 12px; }
.story-controls .btn { min-height: 40px; padding: .5em .9em; background: transparent; color: #fff9ec; border-color: #606a80; }
.story-note { font-size: .85rem; margin-top: 17px; }
.controls-grid { display: grid; grid-template-columns: .8fr 1.35fr; gap: 5%; align-items: start; }
.chapter { border-bottom: 1px solid var(--line); }
.chapter:first-child { border-top: 1px solid var(--line); }
.chapter > summary, .faq-grid details summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.chapter > summary { display: flex; gap: 15px; align-items: center; padding: 19px 0; font-size: clamp(18px,1.65vw,24px); line-height: 1.24; font-weight: 610; letter-spacing: -.025em; }
.chapter > summary .icon { color: var(--rust); flex: 0 0 auto; }
.chapter summary::after, .faq-grid summary::after { content: "+"; margin-inline-start: auto; font-weight: 400; }
.chapter[open] > summary::after, .faq-grid details[open] summary::after { content: "−"; }
.chapter[open] > summary { color: var(--rust); }
.chapter section { padding: 0 0 20px; }
.chapter .wrap { width: 100%; }
.chapter .subcopy { margin-bottom: 16px; font-size: 1rem; }
.chapter .micro, .evidence-note, .form-disclosure, .trust-foot, .page-note { color: var(--muted); font-size: .86rem; }
.bento-grid, .cells, .rollout-steps { display: grid; gap: 12px; }
.bento-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.bento-card, .rollout-step, .editorial-box { padding: 16px; background: var(--soft); border-radius: 8px; }
.bento-card.primary { grid-column: 1/-1; }
.bento-card h3, .rollout-step h3 { margin: 6px 0; }
.product-receipt, .evidence-ledger, .pilot-panel { border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 16px; }
.product-receipt { margin-block: 14px; max-width: 320px; font: .77rem/1.5 var(--mono); }
.receipt-top, .receipt-route, .mini-activity, .bento-inline, .proof-path, .human-control, .answer-evidence, .question-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.receipt-top, .receipt-route { justify-content: space-between; padding: 7px 0; border-block: 1px dashed var(--line); }
.receipt-line { padding-block: 4px; }
.receipt-small, .trust-foot { margin-top: 8px; }
.mini-activity, .bento-inline { font-size: .8rem; margin-top: 10px; }
.event-chip { border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; }
.proof-path { margin-bottom: 12px; font-size: .79rem; letter-spacing: .06em; }
.evidence-ledger, .pilot-panel { margin-top: 15px; }
.ledger-body { display: grid; grid-template-columns: 1.6fr .8fr; align-items: center; gap: 15px; }
.math-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 5px; border-bottom: 1px solid var(--line); }
.math-row.total { font-weight: 700; }
.bottle-display { text-align: center; }
.bottle-svg { display: block; width: 55px; margin: 9px auto; }
.bottle-display .label { font-size: .58rem; }
.physical-count { margin-top: 15px; padding-block: 12px; border-top: 1px solid var(--line); }
.count-control { display: flex; align-items: center; gap: 10px; font: 600 1.1rem var(--mono); }
.count-control button { width: 37px; height: 37px; border: 1px solid var(--line); background: var(--soft); border-radius: 6px; }
.variance-result { padding: 11px; background: #ffe4cc; color: #4e301e; border-radius: 6px; }
.variance-result.balanced { background: #d7e9da; color: #263f37; }
.variance-result span, .answer-evidence button, .human-control, .evidence-note { font-size: .8rem; }
.evidence-note { margin-top: 9px; }
.question-buttons, .answer-evidence { margin-top: 13px; }
.question-buttons button, .answer-evidence button { border-color: var(--line); padding: 7px 11px; }
.question-buttons [aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pilot-answer { margin: 16px 0; }
.pilot-answer p { margin-top: 8px; }
.human-control { border-top: 1px solid var(--line); padding-top: 10px; }
.cells { grid-template-columns: repeat(3,minmax(0,1fr)); margin: 15px 0; }
.cell { display: grid; padding: 12px; gap: 3px; font: .75rem var(--mono); background: var(--soft); border-radius: 6px; }
.rollout-title { margin: 20px 0 12px; }
.rollout-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }

.pricing-section { background: var(--soft); }
#membership-pricing { display: grid; align-items: start; grid-template-columns: 1.5fr 1fr; gap: clamp(18px, 3vw, 44px); }
.price-grid { display: grid; gap: 6px; }
.price-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 12px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.price-card:hover, .price-card:focus-within { border-color: var(--rust); }
.price-card:has(:checked) { box-shadow: inset 3px 0 var(--rust); border-color: var(--rust); }
.price-card input { width: 19px; height: 19px; accent-color: var(--rust); }
.price-card strong { font-size: .98rem; font-weight: 650; }
.price-line { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; justify-content: end; text-align: end; font-variant-numeric: tabular-nums; }
.price-line small { font-size: .72rem; color: var(--muted); }
.price-summary { position: sticky; top: 98px; padding: clamp(20px, 2.7vw, 40px); border-radius: 12px; background: #dfe2f6; color: #202943; }
.price-summary > p:first-child { text-transform: uppercase; letter-spacing: .1em; font-size: .77rem; font-weight: 720; }
.price-summary strong { display: block; margin: 14px 0; font-size: clamp(23px,2.25vw,36px); line-height: 1.14; letter-spacing: -.04em; }
.price-summary [data-membership-disclosure] { color: #454e68; font-size: .88rem; }
.price-summary .btn { background: var(--night); color: white; border: 0; margin-top: 16px; }
.calculator-trigger, .endcap-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.calculator-trigger { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.calculator-trigger h3 { font-size: 1.15rem; margin-bottom: 3px; }
.calculator-trigger p { font-size: .9rem; color: var(--muted); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.35fr; gap: 5%; }
.faq-grid details { border-bottom: 1px solid var(--line); }
.faq-grid details:first-child { border-top: 1px solid var(--line); }
.faq-grid summary { display: flex; align-items: center; gap: 16px; padding-block: 17px; font-weight: 600; }
.faq-grid details p { margin: 0 0 18px; max-width: 62ch; color: var(--muted); }
.endcap { padding-block: clamp(42px,5vw,75px); background: #ff9869; color: #221e28; }
.endcap .kicker { color: #623520; }
.endcap h2 { max-width: 17ch; }
.endcap-inner .btn { flex-shrink: 0; }
.footer { padding-block: 30px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .85rem; }
.footer nav a { text-decoration: none; padding-block: 5px; }
.footer nav a:hover { text-decoration: underline; }

.dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0; width: min(620px, calc(100% - 24px)); max-height: 90dvh; overflow-y: auto; box-shadow: 0 32px 90px #11182b52; }
.dialog::backdrop { background: #101622b8; }
.dialog-inner { position: relative; padding: clamp(19px,3.2vw,40px); }
.dialog-close { margin-left: auto; margin-bottom: 8px; }
.dialog h2 { font-size: clamp(32px,4vw,50px); }
.dialog .subcopy { margin: 10px 0 16px; font-size: 1rem; }
.dialog .hero-actions { margin-block: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-field { display: grid; gap: 5px; color: var(--muted); font-size: .86rem; font-weight: 650; }
.form-field.full, .form-grid > .btn { grid-column: 1/-1; }
.form-field :is(input, select), #request-copy { border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; min-height: 44px; padding: 8px; border-radius: 5px; font-size: 1rem; }
.form-disclosure { margin-top: 13px; }
.request-status, .calc-output { background: var(--soft); border: 1px solid var(--line); padding: 16px; border-radius: 7px; margin-top: 17px; }
.request-status :is(p, .btn, textarea) { margin-block: 8px; }
#request-copy { min-height: 100px; resize: vertical; }
.calc-output strong { display: block; font-size: 2rem; }
.evidence-modal-rows .record-row { border-color: var(--line); }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 9; background: #222b40; color: white; border-radius: 8px; padding: 10px 16px; width: max-content; max-width: calc(100% - 30px); box-shadow: 0 3px 15px #0002; }
.preview-page-dialog { width: min(900px,calc(100% - 24px)); }
.preview-page-dialog > .dialog-close { position: sticky; top: 12px; z-index: 2; margin: 12px 12px 0 auto; background: var(--paper); }
.preview-page-dialog .wrap { width: 90%; }
.preview-page-dialog .page-hero { padding-block: 12px 20px; }
.preview-page-dialog .page-body { padding-block: 10px 24px; }
.editorial-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.editorial-box h2 { font-size: 1.5rem; }
.checklist { margin: 10px 0; padding-left: 1.25em; }
.checklist li { margin-bottom: 5px; }
.page-note { margin-top: 14px; }
.source-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.source-table :is(th,td) { text-align: left; vertical-align: top; padding: 6px; border-bottom: 1px solid var(--line); }

@media (max-width: 1000px) {
  .nav-shell { gap: 20px; }
  .nav-actions { gap: 8px; }
  .wrap { width: 91%; }
  .showcase-grid { grid-template-columns: .77fr 1.23fr; gap: 24px; }
  .floor-layout { gap: 8px; }
  .ws-body, .floor-map, .check-list { padding: 10px; }
  .controls-grid, .faq-grid { grid-template-columns: .65fr 1fr; }
}
@media (max-width: 840px) {
  .mobile-toggle { display: grid; }
  .nav-links { display: none; }
  .nav-links.open { position: absolute; z-index: 10; inset: 100% 0 auto; background: var(--paper); padding: 10px 5%; border-block: 1px solid var(--line); display: grid; gap: 0; box-shadow: 0 10px 25px #12182818; }
  .nav-links a { min-height: 44px; }
  .login { display: none; }
  .menu-login { display: block; }
  .cover-inner { min-height: 495px; }
  .cover-copy { width: 66%; }
  .ticket { width: 160px; right: 1%; }
  .showcase-grid { grid-template-columns: 1fr; gap: 22px; }
  .showcase-copy h2 br { display: none; }
  .showcase-copy h2 em::before { content: " "; }
  .showcase-copy .subcopy { max-width: 56ch; margin-block: 10px 0; }
  .workstation-frame { padding: 20px; }
  .ws-body { min-height: 245px; padding: 15px; }
  .floor-map { grid-template-columns: repeat(4,1fr); }
  .table-node { min-height: 42px; }
  .check-actions button, .ws-tabs button { min-height: 42px; }
  .controls-grid, .faq-grid, #membership-pricing { grid-template-columns: 1fr; gap: 20px; }
  .price-summary { position: static; }
  .story-grid { grid-template-columns: .7fr 1fr; gap: 20px; }
  .venue-caption { padding: 13px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 74px; }
  .wrap { width: 90%; }
  .nav-shell { min-height: 62px; gap: 10px; }
  .logo { font-size: 24px; gap: 6px; }
  .logo-mark { width: 31px; height: 31px; }
  .nav-actions { gap: 5px; }
  .nav-demo { display: none; }
  .nav-links .menu-demo { display: inline-flex; }
  .icon-btn { width: 36px; min-height: 40px; height: 40px; }
  .cover-photo { bottom: auto; height: clamp(265px,76vw,395px); }
  .cover-photo img { object-position: 50% 37%; }
  .cover::after { background: linear-gradient(to bottom,transparent 5%,#11182612 22%,#111826 63%); }
  .cover-inner { min-height: auto; }
  .cover-copy { width: 100%; padding: clamp(185px,47vw,280px) 0 36px; }
  .cover .kicker { color: #ffd1b2; font-size: .68rem; margin-bottom: 12px; }
  .cover h1 { font-size: clamp(48px,10.5vw,67px); }
  .cover h1 em { font-size: 1.15em; }
  .cover-description { font-size: 1rem; margin-top: 12px; max-width: 39ch; }
  .hero-actions { margin-top: 18px; gap: 17px; }
  .ticket { display: none; }
  .section, .story-section, .pricing-section { padding-block: 44px; }
  .section-head.two { grid-template-columns: 1fr; gap: 12px; }
  .kicker, .eyebrow { margin-bottom: 9px; }
  .showcase-copy h2 { font-size: clamp(40px,8.9vw,53px); }
  .workstation-frame { padding: 10px; border-radius: 12px; }
  .floor-layout { grid-template-columns: 1fr; }
  .floor-map { gap: 5px; padding: 8px; }
  .table-node { min-height: 40px; }
  .ws-top { padding: 10px 12px; }
  .ws-tabs { padding: 5px; }
  .ws-tabs button { flex: 1; padding-inline: 5px; }
  .ws-body { padding: 10px; min-height: auto; }
  .check-row { font-size: .87rem; }
  .check-actions button { flex: 1; }
  .venue-grid { grid-template-columns: 1fr; gap: 15px; }
  .venue-card img { aspect-ratio: 2.35; }
  .venue-caption { padding: 13px 16px 16px; }
  .venue-caption p { margin-top: 3px; }
  .story-grid { grid-template-columns: 1fr; gap: 13px; }
  .timeline { display: flex; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .timeline button { flex: 0 0 121px; grid-template-columns: 1fr; align-content: start; align-items: start; gap: 4px; padding: 8px 11px; border: 1px solid #4d5873; border-radius: 5px; margin-inline-end: 5px; }
  .timeline .dot { display: none; }
  .timeline strong { font-size: .83rem; }
  .story-stage-head { padding: 11px 14px; }
  .record-row { align-items: start; }
  .chapter > summary { gap: 10px; }
  .calculator-trigger, .endcap-inner, .footer-inner { align-items: start; flex-direction: column; }
  .price-card { padding: 12px; column-gap: 7px; }
  .price-line { flex-direction: column; align-items: end; gap: 0; }
  .price-line small { font-size: .68rem; }
  .question-buttons button, .answer-evidence button { min-height: 42px; }
  .bento-grid, .editorial-cols, .form-grid { grid-template-columns: 1fr; }
  .dialog .source-table { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.menu-demo { display: none; }
@media (max-width: 680px) {
  .nav-links.open .menu-demo { display: inline-flex; justify-self: start; margin-block: 5px; }
  .cover-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #111826 0%, transparent 45%);
  }
}
