/* Lights On Studio. Type and interface over the 3D world; the same markup is a calm, complete page without it. */
:root {
  --bg: #07070a; --ink: #f6f0e5; --soft: #c2bcb0; --dim: #8d887e; --line: rgb(246 240 229 / .16);
  --amber: #efc27e; --ivory: #f3ece0;
  --gut: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.23, 1, .32, 1); --ease-io: cubic-bezier(.77, 0, .175, 1);
  --display: "Archivo", system-ui, sans-serif; --serif: "Instrument Serif", Georgia, serif; --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); font: 400 17px/1.5 var(--display); overflow-x: clip; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7vw, 6.6rem); max-width: 13ch; }
h2 { font-size: clamp(2.4rem, 5.6vw, 5.4rem); max-width: 15ch; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -.01em; color: var(--amber); font-size: 1.07em; }
.kicker { margin: 0 0 16px; font: 500 .78rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.sub { margin: 20px 0 0; max-width: 38ch; font-size: clamp(1.02rem, .98rem + .35vw, 1.28rem); line-height: 1.42; color: #ece6db; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber); color: #17130d; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ivory); color: #17130d; font: 700 1.02rem/1 var(--display); font-stretch: 104%; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .18s var(--ease), background .25s, box-shadow .35s var(--ease); box-shadow: 0 10px 40px -14px rgb(239 194 126 / .5); }
.btn:active { transform: scale(.975); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; background: rgb(246 240 229 / .08); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(246 240 229 / .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--wide { width: 100%; }
.link { display: inline-flex; gap: .4em; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1px no-repeat; transition: color .2s, background-size .35s var(--ease); }
@media (hover: hover) {
  .btn:hover { background: #fffaf0; box-shadow: 0 14px 56px -12px rgb(239 194 126 / .75); }
  .btn--sm:hover { background: rgb(239 194 126 / .1); color: var(--ink); box-shadow: inset 0 0 0 1px var(--amber); }
  .link:hover { color: var(--amber); }
  .nav nav a:not(.btn):hover { color: var(--amber); }
}

/* ------- nav ------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(16px + env(safe-area-inset-top)) var(--gut) 14px; transition: opacity .6s, background .3s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; background: linear-gradient(rgb(5 5 8 / .62), rgb(5 5 8 / 0)); opacity: 0; transition: opacity .35s; }
.nav.is-solid::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; font-size: 1.06rem; text-decoration: none; min-height: 44px; }
.brand i { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgb(239 194 126 / .16), 0 0 16px 2px rgb(239 194 126 / .7); }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: .94rem; font-weight: 500; }
.nav nav a:not(.btn) { text-decoration: none; transition: color .2s; padding: 10px 0; }
.nav__tel { font-weight: 700; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 18px; border-radius: 999px; border: 0; background: rgb(246 240 229 / .08); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(246 240 229 / .28); font: 600 .92rem/1 var(--display); cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.menu-btn i { position: relative; width: 16px; height: 8px; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { top: 6.4px; }
.menu-btn[aria-expanded="true"] i::before { top: 3.2px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 3.2px; transform: rotate(-45deg); }
@media (max-width: 980px) { .menu-btn { display: inline-flex; } .nav nav { display: none; } }

html.menu-open, html.menu-open body { overflow: hidden; overscroll-behavior: none; }
.menu { position: fixed; inset: 0; z-index: 55; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: calc(104px + env(safe-area-inset-top)) var(--gut) calc(28px + env(safe-area-inset-bottom)); background: #08080b; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
.menu[hidden] { display: none; }
.menu__links { display: grid; }
.menu__links a { padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 800 clamp(2rem, 9vw, 2.8rem)/1 var(--display); font-stretch: 112%; letter-spacing: -.035em; }
.menu__links a:active { color: var(--amber); }
.menu__foot { display: grid; gap: 12px; }
.menu__tel { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 1px rgb(246 240 229 / .28); }

/* ------- the calm page: no 3D, full content, normal scroll ------- */
html.flat #gl, html.flat #loader, html.flat #track, html.flat #veil, html.flat #intro, html.flat #skipIntro, html.flat #progress, html.flat .b-dark, html.flat .scrollcue, html.flat #vhProbe, html.flat #cord, html.flat .hubtip, html.flat #bookDock, html.flat #bookHit, html.flat #pageHint, html.flat #preview { display: none !important; }
/* The photo view shares the studio's palette and keeps its own page rhythm. */
.nav__actions { display: flex; align-items: center; gap: 8px; }
.view-link--3d, .hero__work, .view-note, html.flat .view-link--simple { display: none; }
html.flat {
  --flat-nav-height: 72px;
  --flat-rule: rgb(246 240 229 / .16);
  --flat-gutter: max(var(--gut), calc((100vw - 1220px) / 2));
}
html.flat .nav {
  position: sticky;
  top: 0;
  padding-top: calc(11px + env(safe-area-inset-top));
  padding-bottom: 11px;
  background: #100e11;
  border-bottom: 1px solid var(--flat-rule);
}
html.flat .nav::before { display: none; }
html.flat .view-link--3d {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--flat-rule);
  border-radius: 999px;
  white-space: nowrap;
  color: var(--amber);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}
html.flat .view-link--3d:hover { border-color: var(--amber); }
html.flat :is(#top, #work, #prices, #steps, #close) {
  scroll-margin-top: calc(var(--flat-nav-height) + env(safe-area-inset-top));
}
html.flat .b, html.flat .works {
  padding: clamp(52px, 8vw, 112px) var(--flat-gutter);
  border-bottom: 1px solid var(--flat-rule);
}
html.flat .b-hero {
  min-height: min(760px, calc(100svh - var(--flat-nav-height)));
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgb(7 7 10 / .83), transparent 82%),
    linear-gradient(0deg, rgb(7 7 10 / .96), rgb(7 7 10 / .14) 75%),
    url(/sbt/studio/street-lit.webp) center 52% / cover;
}
html.flat .hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; }
html.flat .hero__work { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-weight: 700; text-underline-offset: 4px; }
html.flat[data-view-failed] .view-note { display: block; color: var(--soft); max-width: 36ch; margin: 10px 0 0; font-size: .82rem; }
html.flat :is(.b-lit2, .b-yours) { display: none; }
html.flat .b-lit1 { background: #151219; }
html.flat .b-lit1 .in { display: grid; grid-template-columns: 1fr .7fr; gap: 18px 7vw; align-items: end; }
html.flat .b-lit1 .sub { margin: 0 0 4px; }
html.flat .works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
html.flat .works__h { grid-column: 1 / -1; margin-bottom: 6px; }
html.flat .case { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--flat-rule); border-radius: 14px; background: #121015; }
html.flat .case__img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-bottom: 1px solid var(--flat-rule); }
html.flat .case__txt { display: flex; flex-direction: column; flex: 1; padding: clamp(16px, 2.5vw, 26px); }
html.flat .case__txt h3 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
html.flat .case__txt .kicker { font-size: .67rem; margin: 0 0 8px; }
html.flat .case__line { color: var(--soft); margin: 8px 0 12px; font-size: .95rem; }
html.flat .case__txt .link { align-self: start; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; }
html.flat .b-prices { background: #151219; }
html.flat .tiers { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 27px; }
html.flat .tier { padding: 18px 0; border-top: 1px solid var(--flat-rule); }
html.flat .tier b { font-size: 1.3rem; }
html.flat .tier p { font-size: .98rem; }
html.flat .tier__request { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-size: .9rem; font-weight: 650; text-underline-offset: .25em; }
html.flat .fine { border-top: 1px solid var(--flat-rule); padding-top: 16px; color: var(--soft); font-size: .85rem; margin: 4px 0 0; }
html.flat .slist { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: steps; max-width: 780px; }
html.flat .slist li { position: relative; display: block; padding: 18px 0 18px 42px; border-top: 1px solid var(--flat-rule); color: var(--soft); counter-increment: steps; }
html.flat .slist li::before { content: counter(steps); position: absolute; left: 0; top: 18px; color: var(--amber); font-weight: 700; }
html.flat .slist b { display: block; color: var(--ink); }
html.flat .b-close {
  background: linear-gradient(90deg, #100d13, rgb(16 13 19 / .72) 67%, rgb(16 13 19 / .35)), url(/sbt/studio/share.jpg) center / cover;
}
html.flat .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--flat-rule); color: var(--soft); font-size: .86rem; }

@media (min-width: 981px) {
  html.world .nav__actions { display: none; }
}
@media (min-width: 901px) and (max-width: 1140px) {
  .nav__tel { display: none; }
  .nav nav { gap: 14px; }
}
@media (max-width: 720px) {
  html.flat { --flat-nav-height: 64px; }
  html.flat .nav { gap: 7px; padding-inline: 15px; padding-block: calc(9px + env(safe-area-inset-top)) 9px; }
  html.flat .brand { font-size: clamp(.87rem, 4vw, 1.02rem); gap: 7px; }
  html.flat .view-link--3d, html.flat .menu-btn { font-size: .79rem; padding-inline: 9px; }
  html.flat .menu-btn { gap: 6px; }
  html.flat .menu-btn i { display: none; }
  html.flat .b-hero {
    min-height: max(470px, calc(100svh - var(--flat-nav-height)));
    background: linear-gradient(0deg, rgb(7 7 10 / .96), rgb(7 7 10 / .14) 85%), url(/sbt/studio/street-lit-m.webp) center / cover;
  }
  html.flat .b-lit1 .in, html.flat .works, html.flat .tiers { grid-template-columns: 1fr; }
  html.flat .tier { padding: 14px 0; }
  html.flat .b-close { background-position: 67% center; }
}

/* ------- the world ------- */
html.world { scrollbar-width: none; } html.world::-webkit-scrollbar { display: none; }
html.world.loading, html.world.loading body, html.world.intro, html.world.intro body { overflow: hidden; }
html.loading :is(.nav, .b-hero) { visibility: hidden; }
#vhProbe { position: fixed; top: 0; left: -9px; width: 1px; height: 100vh; height: 100lvh; pointer-events: none; visibility: hidden; }
html.world #gl { position: fixed; inset: 0 0 auto; width: 100vw; max-width: none; height: 100vh; height: 100lvh; z-index: 0; }
html.world #track { position: relative; z-index: -1; width: 1px; }
html.world main { position: fixed; inset: 0 0 auto; height: 100vh; height: 100svh; z-index: 10; pointer-events: none; }
html.world .b { position: absolute; inset: 0; opacity: 0; visibility: hidden; display: flex; padding: calc(92px + env(safe-area-inset-top)) var(--gut) calc(34px + env(safe-area-inset-bottom)); will-change: opacity, transform; }
html.world .b .in { align-self: flex-end; max-width: min(100%, 780px); text-shadow: 0 2px 40px rgb(0 0 0 / .55); }
html.world .is-live a, html.world .is-live button, html.world .is-live input, html.world .is-live label { pointer-events: auto; }
html.world .works__h, html.world .case__img { display: none; }

.b-hero { transform-origin: 30% 70%; }
html.world .b-hero { opacity: 1; visibility: visible; }
html.world .b-hero::before, html.world .b-lit1::before, html.world .b-lit2::before, html.world .b-steps::before, html.world .b-close::before { content: ""; position: absolute; inset: 40% 0 -2px; z-index: -1; background: linear-gradient(rgb(5 5 8 / 0), rgb(5 5 8 / .74)); pointer-events: none; }
html.world .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 24px; }
html.world .hero__work { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-underline-offset: 4px; }
html.intro .nav::before { opacity: 1; }
html.intro main, html.intro #progress { opacity: 0 !important; pointer-events: none; }
.scrollcue { position: absolute; right: var(--gut); bottom: calc(34px + env(safe-area-inset-bottom)); margin: 0; padding-bottom: 46px; font: 500 .72rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.scrollcue::after { content: ""; position: absolute; right: 50%; bottom: 0; width: 1px; height: 36px; background: linear-gradient(var(--amber), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

html.world .b-dark .in { align-self: flex-start; margin-top: 2vh; }
html.world .b-lit1 .in, html.world .b-lit2 .in { align-self: flex-end; }
html.world .b-lit2 { justify-content: flex-end; text-align: right; }
html.world .b-lit2 h2, html.world .b-lit2 .sub { margin-left: auto; }


/* a site, full screen */
html.world .works { position: absolute; inset: 0; }
html.world .case { position: absolute; inset: 0; visibility: hidden; display: flex; align-items: flex-end; padding: 92px var(--gut) calc(30px + env(safe-area-inset-bottom)); }
html.world .case::before { content: ""; position: absolute; inset: 62% 0 0; background: linear-gradient(rgb(5 5 8 / 0), rgb(5 5 8 / .6)); opacity: 0; transition: opacity .5s var(--ease); }
html.world .case.is-on::before { opacity: 1; }
html.world .case__txt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 26px; align-items: center; width: min(100%, 720px); padding: 16px 20px; border-radius: 18px; background: rgb(11 11 14 / .78); -webkit-backdrop-filter: blur(20px) saturate(130%); backdrop-filter: blur(20px) saturate(130%); box-shadow: inset 0 0 0 1px rgb(246 240 229 / .14), 0 24px 70px -24px #000; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
html.world .case__txt .kicker { grid-column: 1; margin: 0 0 5px; font-size: .68rem; }
html.world .case__txt h3 { grid-column: 1; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.04; }
html.world .case__txt .case__line { grid-column: 1; margin: 4px 0 0; font-size: .92rem; color: var(--soft); }
html.world .case__txt .link { grid-column: 2; grid-row: 1 / span 3; white-space: nowrap; }
html.world .case.is-on .case__txt { opacity: 1; transform: none; }
html.world .case.is-on a { pointer-events: auto; }
.case__txt h3 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.case__line { margin: 10px 0 6px; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: #e8e2d7; max-width: 44ch; }

/* this page is yours */
html.world .b-yours { align-items: flex-end; justify-content: center; }
html.world .yours { width: min(100%, 980px); padding: 18px 20px 20px; border-radius: 20px; background: rgb(11 11 14 / .74); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%); box-shadow: inset 0 0 0 1px rgb(246 240 229 / .13), 0 30px 80px -30px #000; }
.yours h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); max-width: none; margin-bottom: 12px; }
#yForm { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 14px; align-items: end; }
html.world .field { display: grid; gap: 6px; font-size: .8rem; color: var(--soft); }
html.world .field input { height: 52px; padding: 0 16px; border-radius: 13px; border: 1px solid rgb(246 240 229 / .22); background: rgb(0 0 0 / .4); color: var(--ink); font: 600 1.05rem var(--display); outline: none; width: 100%; }
html.world .field input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgb(239 194 126 / .16); }
.chips { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgb(246 240 229 / .2); background: transparent; color: var(--soft); font: 500 .88rem var(--display); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chips button.on { background: rgb(239 194 126 / .14); border-color: var(--amber); color: var(--ink); }
@media (hover: hover) { .chips button:hover { border-color: var(--amber); color: var(--ink); } }
html.world .is-live .chips button { pointer-events: auto; }
@media (max-width: 720px) {
  #yForm { grid-template-columns: 1fr; }
  .chips { grid-row: auto; flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips::-webkit-scrollbar { display: none; } .chips button { flex: none; }
  #yForm .btn { width: 100%; }
}

/* prices */
html.world .b-prices { display: block; }
.prices__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
html.world .prices__top { position: relative; z-index: 2; }
html.world .prices__top h2 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); max-width: none; text-shadow: 0 2px 30px rgb(0 0 0 / .7); }
html.world .tiers { list-style: none; margin: 0; padding: 0; }
.tier__title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tier b { font-size: 1.14rem; font-weight: 800; font-stretch: 108%; }
.tier__price { color: var(--amber); font-weight: 700; font-variant-numeric: tabular-nums; }
.tier p { margin: 4px 0 0; font-size: .9rem; line-height: 1.38; color: #e0dacf; }
html.world .tier:not(.is-selected) [data-plan-price] { visibility: hidden; }
html.world .tier:not(.is-on) { visibility: hidden; }
html.world .tier__request { display: none; }
.price-next.guidance { min-height: 44px; font-size: .84rem; text-decoration: none; }
.price-next:hover { background: #fffaf2; }
.price-next[hidden], html.flat .price-next { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* steps */
html.world .b-steps .in { max-width: 1080px; width: 100%; }
.plan-review { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(14px, 3vh, 28px); }
.plan-review__selection { color: var(--soft); font-size: .88rem; line-height: 1.4; }
.plan-review__selection p { margin: 0; }
.plan-review__selection p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 3px; font-size: 1rem; }
.plan-review__selection b { color: var(--ink); font-weight: 750; }
#reviewTotal { color: var(--amber); font-variant-numeric: tabular-nums; }
.plan-review__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.plan-review__actions .btn { min-height: 44px; padding: 0 20px; font-size: .93rem; }
.plan-review__actions .link { font-size: .85rem; }
.plan-review__actions [hidden] { display: none; }
html.world .b-steps .fine { position: static; color: #e0dacf; font-size: .8rem; margin: 12px 0 0; }
html.world .b-steps::before { inset: 18% 0 -2px; background: linear-gradient(transparent, rgb(5 5 8 / .88) 57%, rgb(5 5 8 / .96)); }
html.world .b-steps h2 { max-width: 18ch; }
html.world .slist { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); }
html.world .slist li { counter-increment: s; padding-top: 16px; border-top: 1px solid rgb(239 194 126 / .6); color: #e6e0d5; font-size: 1rem; line-height: 1.42; }
html.world .slist b { display: block; color: var(--ink); font-size: clamp(1.1rem, 1.5vw, 1.34rem); font-weight: 800; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.14; margin-bottom: 6px; }
@media (max-width: 760px) { html.world .slist { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; } html.world .slist li { padding-top: 10px; font-size: .94rem; } }

/* close */
html.world .b-close { flex-direction: column; justify-content: flex-end; }
html.world .b-close .in { align-self: center; text-align: center; max-width: 880px; margin-bottom: clamp(28px, 7vh, 72px); }
html.world .b-close h2, html.world .b-close .sub { margin-inline: auto; }
.close__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; margin-top: 26px; }
html.world .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; color: var(--soft); font-size: .8rem; text-shadow: 0 1px 10px #000; }
html.world .foot a { min-height: 24px; pointer-events: auto; }
@media (max-width: 640px) { html.world .foot { justify-content: center; text-align: center; } }

/* intro, loader, veil, progress */
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 16px; padding: var(--gut); background: radial-gradient(ellipse at 50% 42%, #1c1511, #050507 67%); text-align: center; transition: opacity .55s var(--ease), visibility 0s .55s; }
#loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__name { margin: 0; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.025em; }
.loader__status { margin: -8px 0 2px; color: var(--soft); font-size: .9rem; }
.loader__line { width: min(64vw, 260px); height: 1px; background: rgb(246 240 229 / .2); }
.loader__line i { display: block; height: 100%; background: var(--amber); box-shadow: 0 0 12px 1px rgb(239 194 126 / .55); transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease); }
.loader__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 18px; margin-top: 6px; }
.loader__actions a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: .86rem; font-weight: 650; text-underline-offset: .24em; }
.loader__actions a:hover { color: var(--amber); }
#intro { position: fixed; inset: 0; width: 100vw; height: 100lvh; object-fit: cover; z-index: 20; opacity: 0; pointer-events: none; transition: opacity .8s var(--ease); max-width: none; }
html.intro #intro { opacity: 1; transition: none; background: #050507; } #intro.is-off { opacity: 0 !important; }
#skipIntro { position: fixed; right: var(--gut); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 90; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgb(246 240 229 / .4); background: rgb(5 5 8 / .5); color: var(--ink); font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
#veil { position: fixed; inset: 0; z-index: 50; background: #050507; opacity: 0; pointer-events: none; transition: opacity .28s var(--ease); }
#veil.is-on { opacity: 1; }
html.world #progress { position: fixed; left: 0; right: 0; bottom: 0; height: 2px; z-index: 40; background: var(--amber); transform: scaleX(0); transform-origin: left; opacity: .85; box-shadow: 0 0 10px rgb(239 194 126 / .8); }
html.flat #progress { display: none; }
@media (max-width: 720px) { h1 { font-size: clamp(2.5rem, 11.4vw, 3.6rem); } h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); } html.world .scrollcue { display: none; } }

@media (max-width: 620px) { html.world .case__txt { grid-template-columns: 1fr; } html.world .case__txt .link { grid-column: 1; grid-row: auto; margin-top: 2px; } }

/* choreography: the headline leads and travels furthest, its support follows, buttons simply arrive */
html.world .b { --o: 0; --dir: 1; }
html.world .b:not(.b-hero) h2 { transform: translate3d(0, calc((1 - var(--o)) * 34px * var(--dir)), 0); }
html.world .b:not(.b-hero) .sub { transform: translate3d(0, calc((1 - var(--o)) * 16px * var(--dir)), 0); }

/* pins on the objects in the room */
#pins { display: none; }
html.world #pins { display: block; position: fixed; inset: 0; z-index: 12; pointer-events: none; opacity: 0; visibility: hidden; }
.pin { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 9px; height: 44px; margin: -22px 0 0 -22px; padding-left: 16px; text-decoration: none; visibility: hidden; will-change: transform; }
html.world #pins.is-live .pin { pointer-events: auto; }
.pin i { position: relative; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 14px 2px rgb(239 194 126 / .8); }
.pin i::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgb(243 236 224 / .7); animation: pin 2.6s var(--ease) infinite; }
@keyframes pin { 0% { transform: scale(.55); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.pin span { padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap; background: rgb(11 11 14 / .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgb(246 240 229 / .2); transition: box-shadow .2s, color .2s; }
.pin.flip { flex-direction: row-reverse; margin-left: 0; transform-origin: right; padding-left: 0; }
.pin.flip span { position: absolute; right: 26px; }
@media (hover: hover) { .pin:hover span { color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); } }
@media (prefers-reduced-motion: reduce) { .pin i::after, .scrollcue::after, #pageHint i::after { animation: none; } }

/* short screens: phones held sideways, small phones */
@media (max-height: 520px) and (min-aspect-ratio: 1/1) {
  html.world .b { padding-top: 62px; padding-bottom: 14px; }
  .nav { padding-top: 8px; padding-bottom: 6px; }
  h1 { font-size: clamp(1.8rem, 6.2vw, 2.7rem); } h2 { font-size: clamp(1.5rem, 4.6vw, 2.3rem); }
  .sub { margin-top: 8px; font-size: .9rem; }
  html.world .hero__actions { margin-top: 12px; }
  html.world .b-hero .btn { min-height: 44px; }
  html.world .prices__top h2 { font-size: 1.2rem; }
  html.world .tier b { font-size: .9rem; } html.world .tier p { display: none; }
  html.world .slist { margin-top: 10px; gap: 12px; } html.world .slist li { padding-top: 6px; font-size: .78rem; } html.world .slist b { font-size: .9rem; }
  html.world .b-close .in { margin-bottom: 2px; } html.world .b-close .sub { display: none; } .close__row { margin-top: 8px; } html.world .b-close .btn { min-height: 44px; }
  html.world .foot { display: none; }
  html.world .yours { padding: 10px 14px; } .yours h2 { display: none; } .chips button { min-height: 32px; }
  html.world .field input { height: 42px; } #yForm .btn { min-height: 42px; }
  html.world .case { padding: 60px var(--gut) 10px; } html.world .case__txt { padding: 10px 14px; } html.world .case__txt .case__line { display: none; }
}
@media (max-height: 700px) and (max-aspect-ratio: 9/10) {
  h1 { font-size: 2.15rem; } h2 { font-size: 1.95rem; } .sub { font-size: .94rem; margin-top: 10px; }
  html.world .prices__top h2 { font-size: 1.5rem; }
  html.world .b-close .sub { display: none; } .close__row { margin-top: 14px; gap: 2px 20px; } html.world .b-close .in { margin-bottom: 12px; }
  html.world .slist { margin-top: 12px; gap: 9px; } html.world .slist li { padding-top: 7px; font-size: .84rem; } html.world .slist b { font-size: .98rem; }
  .yours h2 { font-size: 1.3rem; }
}
.brand { white-space: nowrap; }
@media (max-width: 360px) { .brand { font-size: .96rem; gap: 8px; } .menu-btn { padding: 0 13px 0 15px; } }


/* ================= checkpoints: on touch the browser glides to the next stop, and never skips one ================= */
html.world.snap:not(.preview):not(.menu-open):not(.loading):not(.intro) { scroll-snap-type: y mandatory; }
.cp { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; scroll-snap-stop: always; pointer-events: none; }
html.preview, html.preview body { overflow: hidden; overscroll-behavior: none; }

/* ================= the book: yours to move through ================= */
html.world .works { display: none; }
#bookHit, #pageHint, #bookDock { display: none; }
html.world #bookHit { display: block; position: fixed; left: 0; top: 0; z-index: 9; touch-action: pan-y; visibility: hidden; cursor: grab; }
html.world #bookHit.is-page { cursor: pointer; } html.world #bookHit.is-drag { cursor: grabbing; }
html.world #pageHint { display: flex; position: fixed; left: 0; top: 0; z-index: 12; align-items: center; gap: 8px; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); will-change: transform; }
html.world #pageHint.is-on { opacity: 1; }
#pageHint i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 12px 2px rgb(239 194 126 / .85); }
#pageHint i::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgb(243 236 224 / .75); animation: pin 2.6s var(--ease) infinite; }
#pageHint span { white-space: nowrap; }

html.world #bookDock { position: fixed; z-index: 14; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); width: min(calc(100vw - 2 * var(--gut)), 860px); transform: translateX(-50%); display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 20px; background: rgb(11 11 14 / .76); -webkit-backdrop-filter: blur(20px) saturate(130%); backdrop-filter: blur(20px) saturate(130%); box-shadow: inset 0 0 0 1px rgb(246 240 229 / .14), 0 24px 70px -24px #000; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease); }
html.world #bookDock.is-on { opacity: 1; visibility: visible; }
.bk__arrow, .pv__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgb(246 240 229 / .07); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, opacity .2s, transform .15s var(--ease); }
.bk__arrow:active, .pv__icon:active { transform: scale(.94); }
.bk__arrow[disabled] { opacity: .28; cursor: default; }
.bk__txt { min-width: 0; display: grid; gap: 1px; }
.bk__txt .kicker { margin: 0 0 2px; font-size: .66rem; }
.bk__txt b { font-size: 1.14rem; font-weight: 800; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk__txt span { font-size: .86rem; color: var(--soft); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk__view { min-height: 44px; background: var(--ivory); color: #17130d; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bk__view[hidden] { display: none; }
.bk__count { font: 500 .74rem/1 var(--mono); letter-spacing: .08em; color: var(--soft); font-variant-numeric: tabular-nums; min-width: 34px; text-align: center; }
@media (hover: hover) { .bk__arrow:not([disabled]):hover, .pv__icon:hover { background: rgb(239 194 126 / .16); color: var(--amber); } .bk__view:hover { background: #fffaf0; color: #17130d; box-shadow: none; } }
@media (max-width: 720px) {
  html.world #bookDock { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "txt txt txt" "prev view next"; gap: 10px; padding: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .bk__txt { grid-area: txt; } .bk__txt span { white-space: normal; } #bkPrev { grid-area: prev; } #bkNext { grid-area: next; } .bk__view { grid-area: view; width: 100%; } .bk__count { display: none; }
}
@media (max-height: 520px) and (min-aspect-ratio: 1/1) { .bk__txt span, .bk__txt .kicker { display: none; } html.world #bookDock { bottom: 8px; padding: 6px 8px; } }

/* ================= the preview: the real, live site ================= */
#preview { position: fixed; inset: 0; z-index: 70; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--ink); background: transparent; display: grid; grid-template-rows: auto minmax(0, 1fr); pointer-events: none; }
#preview::backdrop { background: transparent; }
#preview[hidden] { display: none; }
.pv__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; background: rgb(9 9 12 / .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 -1px 0 rgb(246 240 229 / .12); opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .4s var(--ease); pointer-events: auto; }
#preview.is-on .pv__bar { opacity: 1; transform: none; }
.pv__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border: 0; border-radius: 999px; background: rgb(246 240 229 / .08); color: var(--ink); font: 600 .9rem var(--display); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.pv__title { min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.pv__title b { font-weight: 800; font-stretch: 106%; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv__title span { font-size: .84rem; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv__ctl { display: flex; align-items: center; gap: 6px; }
.pv__icon { width: 42px; height: 42px; }
.pv__count { min-width: 40px; text-align: center; font: 500 .74rem/1 var(--mono); color: var(--soft); font-variant-numeric: tabular-nums; }
.pv__open { margin-left: 6px; background: var(--ivory); color: #17130d; }
.pv__seg { display: inline-flex; padding: 3px; margin-right: 6px; border-radius: 999px; background: rgb(246 240 229 / .08); }
.pv__seg button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--soft); font: 600 .84rem var(--display); cursor: pointer; transition: background .2s, color .2s; }
.pv__seg button.on { background: rgb(239 194 126 / .18); color: var(--ink); }
@media (hover: hover) { .pv__btn:not(.pv__open):hover { background: rgb(239 194 126 / .16); color: var(--amber); } .pv__open:hover { background: #fffaf0; color: #17130d; } .pv__seg button:not(.on):hover { color: var(--ink); } }
.pv__stage { position: fixed; display: grid; place-items: center; overflow: hidden; background: #e8e0d2 center / cover no-repeat; visibility: hidden; box-shadow: 0 0 0 3px #e8e0d2, 0 1px 7px #453729; }
#preview.is-full .pv__stage { visibility: visible; pointer-events: auto; }
.pv__frame { position: relative; width: 100%; height: 100%; }
#preview[data-device="m"] .pv__frame { width: min(392px, 100%); height: 100%; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 7px #17171c, 0 0 0 8px rgb(246 240 229 / .18), 0 40px 90px -30px #000; }
.pv__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #08080b; opacity: 0; visibility: hidden; }
#preview.is-full.is-loaded iframe { opacity: 1; visibility: visible; }
.pv__load { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); padding: 8px 16px; border-radius: 999px; width: max-content; max-width: calc(100% - 20px); font: 600 .84rem/1.35 var(--display); text-align: center; color: var(--ink); background: rgb(11 11 14 / .88); opacity: 0; transition: opacity .25s; }
#preview.is-full:not(.is-loaded) .pv__load { opacity: 1; }
@media (max-width: 860px) {
  #preview { grid-template-rows: 1fr auto; }
  .pv__bar { grid-row: 2; }
  .pv__bar { order: 2; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); transform: translateY(8px); box-shadow: inset 0 1px 0 rgb(246 240 229 / .12); }
  .pv__stage { order: 1; }
  .pv__seg, .pv__title { display: none; }
  #pvClose { min-height: 44px; padding: 0 10px; font-size: .8rem; gap: 4px; }
  .pv__ctl { grid-column: 2 / 4; justify-content: space-between; gap: 4px; }
  .pv__icon { flex: none; width: 44px; height: 44px; }
  .pv__count { min-width: 30px; }
  .pv__open { margin-left: 0; min-height: 44px; padding: 0 10px; font-size: .8rem; }
}
@media (max-width: 860px) and (min-height: 480px) {
  .pv__title { display: flex; justify-content: flex-start; grid-column: 1 / -1; }
  .pv__title b { font-size: .9rem; }
  .pv__title span { font-size: .74rem; }
  #pvClose, .pv__ctl { grid-row: 2; }
}
@media (max-width: 360px) {
  #pvClose { width: 44px; padding: 0; justify-content: center; }
  #pvClose span, .pv__title span { display: none; }
}

.pv__x { display: none; }
@media (max-width: 860px) { .pv__x { display: block; } .pv__back { display: none; } }

/* the light switch moment */
html.flat .b-on { display: none; }
html.world .b-on .in { align-self: flex-end; }
html.world .b-dark::before, html.world .b-on::before { content: ""; position: absolute; inset: 52% 0 -2px; z-index: -1; background: linear-gradient(rgb(5 5 8 / 0), rgb(5 5 8 / .8)); pointer-events: none; opacity: 0; }
@media (max-aspect-ratio: 9/10) {
  html.world .b-dark .in { align-self: flex-end; margin-top: 0; }
  html.world .b-dark::before, html.world .b-on::before { opacity: 1; }
}

/* wide screens: the words sit on the empty wall, clear of the sign, the bulb and the book */
@media (min-aspect-ratio: 9/10) {
  html.world .b-dark .in, html.world .b-on .in { align-self: flex-start; margin-top: 13vh; max-width: min(42vw, 620px); }
}


/* ================= the landing page flies into the book, words and all ================= */
html.world .b-hero::before { display: none; }
html.world #gl, html.world .tier { touch-action: pan-y pinch-zoom; }
html.hub .tier { -webkit-user-select: none; user-select: none; }
html.world .b-close.is-tight:not(.is-dark) .sub { display: none; }

/* words stay clear of the bright desk and the wall lights */
html.world .b-close::before { inset: 36% 0 -2px; background: linear-gradient(rgb(5 5 8 / 0), rgb(5 5 8 / .84) 34%, rgb(5 5 8 / .96)); }
html.world .b-prices::before { content: ""; position: absolute; inset: 0 0 auto; height: clamp(130px, 20vh, 190px); z-index: -1; background: linear-gradient(rgb(5 5 8 / .92) 60%, rgb(5 5 8 / 0)); pointer-events: none; }
@media (min-aspect-ratio: 9/10) {
  html.world .b-close::before { inset: 30% 0 -2px; background: linear-gradient(75deg, rgb(5 5 8 / .92), rgb(5 5 8 / .62) 34%, rgb(5 5 8 / 0) 58%); -webkit-mask-image: linear-gradient(transparent, #000 34%); mask-image: linear-gradient(transparent, #000 34%); }
}
html.hub #gl { cursor: grab; } html.hub-drag #gl { cursor: grabbing; }
html.travel .b { transition: opacity .42s var(--ease); }

/* ================= the cord ================= */
#cord { display: none; }
html.world #cord { display: block; position: fixed; left: 0; top: 0; z-index: 30; width: 88px; height: 128px; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; visibility: hidden; color: var(--ink); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; will-change: transform; }
#cord.is-drag { cursor: grabbing; }
#cordTip { position: absolute; top: 46px; left: 62px; white-space: nowrap; opacity: 0; transform: translateX(-4px); transition: opacity .22s var(--ease), transform .22s var(--ease); pointer-events: none; }
#cordTip.flip { left: auto; right: 62px; transform: translateX(4px); }
#cordTip.is-on { opacity: 1; transform: none; }
#cordTip i { width: 12px; height: 12px; flex: none; background: linear-gradient(currentColor, currentColor) 50% 0 / 1px 8px no-repeat; position: relative; animation: tipdrop 1.6s var(--ease) infinite; }
#cordTip i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 6px; height: 6px; margin-left: -3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
@keyframes tipdrop { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(2px); } }

/* the last stop: pull the cord and see the difference */
.cl-off { display: none; }
html.world .b-close.is-dark .cl-on { display: none; }
html.world .b-close.is-dark .cl-off { display: inline; }
@media (min-aspect-ratio: 9/10) {
  html.world .b-close .in { align-self: flex-start; text-align: left; max-width: min(46vw, 660px); margin-bottom: clamp(14px, 3.4vh, 34px); }
  html.world .b-close h2, html.world .b-close .sub { margin-inline: 0; }
  html.world .close__row { justify-content: flex-start; }
}

/* ================= look around the room ================= */
.hubtip { display: none; }
html.world .hubtip { position: fixed; z-index: 16; top: 42%; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s, transform .3s var(--ease), box-shadow .2s, color .2s; }
html.world .hubtip.is-on { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s, transform .3s var(--ease), box-shadow .2s, color .2s; }
html.world .hubtip--l { left: 14px; padding-left: 9px; transform: translateX(-6px); }
html.world .hubtip--r { right: 14px; padding-right: 9px; flex-direction: row-reverse; transform: translateX(6px); }
html.world .hubtip.is-on { transform: none; }
html.world .hubtip:active { transform: scale(.96); }
@media (hover: hover) { html.world .hubtip:hover { background: #fffaf2; } }
@media (max-width: 720px) {
  html.world .hubtip { top: 37%; flex-direction: column !important; gap: 1px; min-height: 44px; width: 54px; padding: 5px 3px 6px !important; border-radius: 13px; font-size: .62rem; line-height: 1.05; text-align: center; }
  html.world .hubtip svg { width: 15px; height: 15px; }
  html.world .hubtip--l { left: 5px; } html.world .hubtip--r { right: 5px; }
}
@media (prefers-reduced-motion: reduce) { #cordTip i { animation: none; } }

/* A next step you can read or press, including on a phone with no hover. */
.scene-next { position: fixed; right: var(--gut); top: calc(82px + env(safe-area-inset-top)); z-index: 18; min-height: 44px; cursor: pointer; }
.scene-next svg { box-sizing: content-box; padding: 4px; border-radius: 50%; background: rgb(23 19 13 / .08); }
.scene-next:hover { background: #fffaf2; }
.preview .nav { visibility: hidden; }
.scene-next[hidden], .flat .scene-next, .intro .scene-next, .menu-open .scene-next, .preview .scene-next, .loading .scene-next { display: none; }
#cordTip.is-on { pointer-events: auto; cursor: grab; }
@media (max-width: 820px) {
  .scene-next { top: calc(62px + env(safe-area-inset-top)); }
  .bk__view { white-space: nowrap; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .scene-next { top: calc(54px + env(safe-area-inset-top)); }
}

@media (max-aspect-ratio: 9/10) { .scene-next.at-prices { top: auto; bottom: calc(179px + env(safe-area-inset-bottom)); } }

/* Motion instructions share the same ivory surface in every part of the room. */
.guidance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  color: #17130d;
  background: var(--ivory);
  box-shadow: 0 8px 24px -9px rgb(0 0 0 / .72);
  font: 600 .8rem/1 var(--display);
  letter-spacing: normal;
  text-shadow: none;
}
.scene-next.guidance { padding: 7px 8px 7px 15px; }
.scene-next:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.price-frames, .tier__select { display: none; }
html.world.snap { overscroll-behavior-y: none; }
html.world .price-frames { display: block; position: absolute; inset: 0; overflow: clip; pointer-events: none; }
.price-frame { position: absolute; left: 0; top: 0; border: 0; padding: 0; background: transparent; border-radius: 8px; cursor: pointer; touch-action: pan-y pinch-zoom; }
html.world .b-prices:not(.is-live) .price-frame { pointer-events: none; }
@media (hover: hover) {
  .price-frame:hover { box-shadow: inset 0 0 0 1px rgb(243 236 224 / .42); }
}
html.world .tiers {
  position: absolute;
  inset: auto var(--gut) calc(28px + env(safe-area-inset-bottom));
  z-index: 1;
}
html.world .tier {
  position: relative;
  padding: 12px 16px 8px;
  border: 1px solid rgb(243 236 224 / .24);
  border-radius: 10px;
  background: rgb(11 11 14 / .92);
  box-shadow: 0 10px 26px -16px #000;
  transition: border-color .18s var(--ease);
}
html.world .tier:is(:hover, :focus-within, .is-selected) { border-color: rgb(243 236 224 / .61); }
html.world .tier__select {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 650 .86rem/1 var(--display);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .28em;
  cursor: pointer;
}
.tier__select::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tier__select:focus-visible { outline: 0; }
.tier__select:focus-visible::after { outline: 2px solid var(--ivory); outline-offset: 3px; }
.is-selected .tier__select { color: var(--soft); }
html.world.prices-wall .hubtip--l { top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }

@media (min-aspect-ratio: 9/10) {
  html.world .b-prices .tiers {
    bottom: calc(65px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 30px);
  }
  html.world .tier { display: flex; flex-direction: column; align-items: stretch; }
  html.world .tier__select { align-self: flex-start; margin-top: auto; }
}
@media (max-aspect-ratio: 9/10) {
  html.world .b-prices .tier:not(.is-on) { display: none; }
  html.world .prices__top h2 { font-size: clamp(1.6rem, 7.4vw, 2.8rem); }
  html.world .b-prices .tier b { font-size: 1.24rem; }
  html.world .b-prices .tier p { font-size: .9rem; }
  html.world .plan-review { gap: 10px; }
  html.world .b-steps .fine { font-size: .76rem; }
}
@media (min-aspect-ratio: 9/10) and (max-height: 520px) {
  html.world .b-prices .tiers { bottom: 59px; }
  html.world .b-prices .tier { padding: 7px 10px 3px; }
  html.world .b-prices .prices__top h2 { font-size: 1.5rem; }
  html.world .plan-review { gap: 5px 16px; margin-top: 8px; }
  html.world .b-steps .fine { margin-top: 6px; }
}
@media (max-width: 390px) {
  .plan-review__actions { gap: 0 13px; }
  .plan-review__actions .btn { padding-inline: 16px; font-size: .85rem; }
}
@media (max-aspect-ratio: 9/10) and (max-height: 620px) {
  html.world .b-steps h2 { max-width: none; font-size: 1.65rem; text-wrap: wrap; }
  html.world .b-steps h2 em { white-space: nowrap; }
}
