.camera-controls :is(button, a),
.camera-fallback a {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}
.photo-stage,
.photo-stage > img,
#panorama {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#photo-dialog {
  padding: 0;
  border: 0;
  width: min(94vw, 100rem);
  height: 92dvh;
  max-width: none;
  max-height: none;
  background: #15191b;
}
#photo-dialog::backdrop {
  background: rgb(0 0 0 / 76%);
}
#photo-dialog iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
html:has(#photo-dialog[open]) {
  overflow: hidden;
}
@media (max-width: 60rem), (max-height: 36rem) and (pointer: coarse) {
  #photo-dialog {
    margin: 0;
    inset: 0;
    width: 100%;
    height: 100dvh;
  }
}
.photo-tour {
  margin: 0;
  color-scheme: dark;
  background: #15191b;
  color: white;
  font-family: var(--font-sans);
}
.photo-tour #panorama {
  border: 0;
  margin: 0;
  padding: 0;
}
.camera-controls,
.camera-fallback,
#photo-status {
  position: fixed;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.25rem;
  align-items: center;
  max-width: calc(100% - 1rem);
  padding: 0.25rem;
  background: #15191bf0;
  color: white;
  border-radius: 0.5rem;
}
.camera-controls button {
  font-size: 1.4rem;
}
#exit-camera {
  padding: 0 0.75rem;
}
.camera-fallback,
#photo-status {
  bottom: 4.5rem;
}
.camera-controls [hidden],
#photo-status[hidden] {
  display: none;
}
#panorama[aria-busy="true"]:not(.has-tiles) {
  opacity: 0;
}

:root:not([data-theme="light"]) {
  --paper: #0f1514;
  --raised: #17201f;
  --ink: #f1f4ec;
  --muted: #b2bdb7;
  --line: #35413c;
  --accent: #b0f5be;
  --solid: #b0f5be;
}
:root[data-theme="light"] {
  --paper: #f3f3e9;
  --raised: #e7ece1;
  --ink: #142420;
  --muted: #435a50;
  --line: #bfcac0;
  --accent: #245e40;
  --solid: #a7efb6;
}
.launch {
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    1rem / 1.5 "Inter",
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}
[data-theme="light"] .launch {
  color-scheme: light;
}
.launch *,
.launch *::before,
.launch *::after {
  box-sizing: border-box;
}
.launch :is(h1, h2, h3, p, figure, fieldset) {
  margin: 0;
}
.launch a {
  color: inherit;
  text-decoration: none;
}
.launch :is(a, button, input, summary):focus-visible,
.segments label:has(:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.launch button,
.launch input {
  font: inherit;
}
.wrap {
  width: min(90%, 85rem);
  margin-inline: auto;
}
.mast {
  border-bottom: 1px solid var(--line);
}
.mast-inner,
.mast nav,
.mast-actions,
.brand,
.actions,
.plate-controls,
.model-preview figcaption,
.tour-preview figcaption,
.drawing-controls,
.closing,
.launch footer {
  display: flex;
  align-items: center;
}
.mast-inner {
  min-height: 76px;
  gap: 2rem;
}
.brand {
  gap: 0.55rem;
  font-weight: 680;
  font-size: 1.45rem;
  letter-spacing: -0.065em;
}
.mark {
  color: var(--accent);
}
.mast nav {
  margin-left: auto;
  gap: 1.75rem;
}
.mast :where(nav) a,
:where(.launch footer) a:not(.brand) {
  color: var(--muted);
  font-size: 0.88rem;
}
.mast-actions {
  gap: 0.6rem;
}
.mast-actions :is(a, button),
.button,
.expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#theme,
.expand {
  min-width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.access,
.button {
  border-radius: 0.38rem;
  font-weight: 650;
}
.access {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.85rem;
}
.hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  padding-block: clamp(4rem, 6.5vw, 7rem);
}
.eyebrow,
.model-preview figcaption,
.plate-tag,
.sheet figcaption,
.tour-preview figcaption,
.tour-stamp {
  font: 500 0.72rem / 1.45 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--accent);
}
.launch .lead-label {
  display: flex;
  align-items: center;
  gap: 0.66rem;
  margin-bottom: 1.2rem;
}
.lead-label::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  background: currentColor;
}
.hero h1 {
  font-weight: 580;
  font-size: clamp(4.7rem, 7.4vw, 7.7rem);
  letter-spacing: -0.085em;
  line-height: 0.91;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.lede,
.chapter p:not(.eyebrow),
.guide p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.03rem, 1.2vw, 1.18rem);
  line-height: 1.58;
}
.hero .lede {
  margin-top: 1.6rem;
  max-width: 34ch;
}
.actions {
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}
.button {
  min-height: 48px;
  padding: 0.72rem 1.05rem;
  gap: 0.8rem;
  font-size: 0.92rem;
  border: 1px solid var(--line);
}
.launch a.primary {
  color: #15291e;
  background: var(--solid);
  border-color: var(--solid);
}
.secondary {
  background: var(--raised);
}
.button:hover,
.access:hover {
  transform: translateY(-1px);
}
.model-preview {
  min-width: 0;
  color: #e2eee3;
  background: #172422;
  border: 1px solid #43544b;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 1.8rem 4rem -3rem #000;
}
.model-preview figcaption,
.plate-controls {
  padding: 0.55rem 0.9rem;
  justify-content: space-between;
}
.model-preview figcaption {
  color: #aabeb2;
  border-bottom: 1px solid #35453c;
  font-size: 0.64rem;
  height: 39px;
}
.model-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0eee2;
}
.model-label i {
  width: 0.45rem;
  height: 0.45rem;
  background: #a9efb9;
  border-radius: 50%;
}
.plate {
  position: relative;
}
.poster-link,
.poster-link img {
  display: block;
  width: 100%;
  height: auto;
}
.plate-tag {
  position: absolute;
  bottom: 0.5rem;
  left: 0.85rem;
  pointer-events: none;
  font-size: 0.61rem;
  color: #ccdbd0;
  background: #172422e6;
  padding: 0.2rem 0.35rem;
}
.plate-tag span,
.tour-stamp b {
  color: #96d8a4;
  margin-inline: 0.4em;
}
.plate-controls {
  padding-block: 0.25rem;
  border-top: 1px solid #35453c;
}
.segments {
  border: 0;
  padding: 0;
  display: flex;
  gap: 0.35rem;
}
.segments label {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 0.7rem;
  cursor: pointer;
  font: 0.75rem var(--mono);
  color: #aebeb4;
}
.segments label:has(:checked) {
  color: #c6ffd0;
  text-decoration: underline;
  text-underline-offset: 0.43rem;
}
.segments input,
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.expand {
  font-size: 1.5rem;
}
.chapter {
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 6vw, 6.3rem);
}
.chapter h2,
.guide h1 {
  font-size: clamp(2.7rem, 4.7vw, 5.2rem);
  line-height: 1.01;
  letter-spacing: -0.07em;
  font-weight: 550;
}
.section-intro,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}
.section-intro {
  align-items: end;
  margin-bottom: 2rem;
}
.section-intro > p,
.section-intro > div > p:not(.eyebrow),
.split > div > p:not(.eyebrow) {
  max-width: 46ch;
}
.split h2 + p {
  margin-top: 1.4rem;
}
.tour-poster {
  display: block;
  position: relative;
  overflow: hidden;
  background: #202722;
  border-radius: 0.5rem;
}
.tour-poster img {
  display: block;
  width: 100%;
  height: clamp(17rem, 39vw, 34rem);
  object-fit: cover;
}
.tour-stamp,
.photo-launch {
  position: absolute;
  left: 1.2rem;
  padding: 0.65rem 0.9rem;
  background: #14201ded;
  color: white;
  border-radius: 0.25rem;
}
.tour-stamp {
  top: 1rem;
}
.photo-launch {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  bottom: 1rem;
  min-height: 46px;
  font-weight: 620;
}
.photo-launch span {
  color: #bbfdc7;
}
.tour-preview figcaption,
.sheet figcaption,
.drawing-controls,
.closing {
  justify-content: space-between;
}
.tour-preview figcaption {
  color: var(--muted);
  padding-block: 0.85rem;
}
.launch summary {
  cursor: pointer;
  min-height: 44px;
  padding-block: 0.65rem;
  font-weight: 550;
}
.stations {
  border-block: 1px solid var(--line);
}
.stations div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  padding: 0.5rem 0 1rem;
}
.text-link,
.drawing-controls a,
.stations a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.text-link {
  margin-top: 0.7rem;
}
.launch .text-link,
.launch .drawing-controls a,
.launch .stations a {
  color: var(--accent);
  font-weight: 625;
}
.sheet,
.finding {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--raised);
  overflow: hidden;
}
.sheet figcaption {
  display: flex;
  padding: 0.85rem 1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.elevation {
  display: block;
  width: 100%;
  background: #192522;
}
.wood {
  fill: #c2cdac;
  stroke: #708176;
  stroke-width: 0.006;
}
.boxes {
  fill: #ffbb65;
  stroke: #624b28;
  stroke-width: 0.012;
}
.wire {
  fill: none;
  stroke: #f5bd66;
  stroke-width: 0.022;
}
.drywall {
  fill: #c8cabe;
  opacity: 0;
  transition: opacity 0.25s;
}
.sheet:has(#finish:checked) .drywall {
  opacity: 1;
}
.dimension {
  stroke: #aef8c0;
  stroke-width: 0.014;
  fill: none;
}
.dimension text {
  stroke: none;
  fill: #c2fbd0;
  font: 0.139px var(--mono);
}
.drawing-controls {
  padding: 0.3rem 0.85rem;
  gap: 0.5rem;
}
.drawing-controls label {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 0.4rem;
  cursor: pointer;
}
.drawing-controls input {
  accent-color: var(--accent);
}
.finding {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 2rem);
}
.finding-art {
  background: #1e2a26;
  color: #a4b4a8;
  border-radius: 0.25rem;
}
.finding-art svg {
  width: 100%;
  height: 11rem;
  display: block;
}
.finding h3,
.closing h3 {
  font-size: clamp(1.55rem, 2.7vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 580;
  margin-block: 0.5rem;
}
.finding p strong {
  color: var(--ink);
}
.closing {
  margin-top: 2rem;
  padding: clamp(1.3rem, 3.2vw, 3.5rem);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.launch footer {
  border-top: 1px solid var(--line);
  min-height: 90px;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding-block: 1rem;
}
.launch footer .brand {
  margin-right: auto;
}
.guide {
  padding-block: 4rem;
  max-width: 52rem;
}
.guide ol {
  padding-left: 1.2rem;
}
.guide li,
.guide h1 {
  margin-bottom: 1rem;
}
.launch .guide > a {
  text-decoration: underline;
}
.skip:focus {
  position: absolute;
  z-index: 3;
  background: var(--paper);
  padding: 0.5rem;
}
@media (max-width: 64rem) {
  .hero {
    gap: 1.8rem;
    grid-template-columns: 0.9fr 1.1fr;
  }
  .hero h1 {
    font-size: clamp(4.1rem, 7.3vw, 5rem);
  }
}
@media (max-width: 47rem) {
  .wrap {
    width: calc(100% - 2.3rem);
  }
  .mast-inner {
    min-height: 61px;
    gap: 0.4rem;
    justify-content: space-between;
  }
  .mast nav {
    display: none;
  }
  .mast-actions {
    gap: 0.15rem;
  }
  .brand {
    font-size: 1.28rem;
  }
  .hero,
  .section-intro,
  .split {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-block: 2.5rem;
    gap: 1.65rem;
  }
  .hero h1 {
    font-size: clamp(4.1rem, 15.7vw, 6.5rem);
  }
  .hero .lede {
    margin-top: 1rem;
  }
  .actions {
    margin-top: 1.1rem;
  }
  .button {
    padding-inline: 0.7rem;
    gap: 0.4rem;
  }
  .launch .lead-label {
    margin-bottom: 0.8rem;
  }
  .section-intro,
  .split {
    gap: 1.2rem;
  }
  .section-intro {
    margin-bottom: 1.4rem;
  }
  .chapter {
    padding-block: 2.8rem;
  }
  .tour-stamp,
  .photo-launch {
    left: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .drywall {
    transition-duration: 0s;
  }
}
