/* Approved identity integration. Intentionally scoped to logos and the room experience. */
:root {
  --brand-lime: #d8ff32;
}
.site-header .wordmark {
  padding: 0;
  background: transparent;
  display: block;
  width: 180px;
  min-width: 180px;
  line-height: 0;
}
.wordmark picture,
.wordmark .brand-logo {
  display: block;
  width: 100%;
  height: auto;
}
.footer-word {
  padding: 28px 0;
}
.footer-word > img {
  width: min(64%, 650px);
  min-width: 0;
  height: auto;
  display: block;
}
.footer-word > span {
  color: var(--brand-lime);
}
.page-shutter b {
  width: 78px;
  height: 92px;
  line-height: 0;
}
.page-shutter b img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-room {
  padding-top: calc(var(--header-height) + 12px);
}
.hero-stage {
  margin-top: 12px;
  gap: 36px;
}
.hero-title h1 {
  font-size: clamp(76px, 7.5vw, 116px);
}
.hero-world {
  height: clamp(400px, 35vw, 500px);
  overflow: hidden;
}
.hero-description {
  max-width: 470px;
  font-size: 18px;
  margin-top: 18px;
}
.hero-actions {
  margin-top: 22px;
}
.room-scene-label {
  position: absolute;
  left: 18px;
  top: 10px;
  font:
    12px/1.5 "Space Grotesk",
    sans-serif;
  letter-spacing: 0.12em;
  color: #bfc4d6;
  pointer-events: none;
  z-index: 2;
}
.hero-bottom {
  display: block;
  margin-top: 20px;
}
.hero-object-controls {
  display: block;
  width: 100%;
  max-width: none;
}
.hero-controls-intro {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #f1f1e9;
}
.hero-controls-intro > span:last-child {
  color: #bfc4d6;
}
.hero-object-controls [role="group"] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hero-object-controls button {
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  background: #171b2a;
  border: 1px solid #586075;
  color: #cbd0df;
  text-align: left;
  font-family: "DM Sans", Arial, sans-serif;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
}
.hero-object-controls button:hover {
  border-color: #d8ff32;
  background: #202637;
  color: #fff;
}
.hero-object-controls button[aria-pressed="true"] {
  background: #242b23;
  border-color: #d8ff32;
  color: #f1f1e9;
}
.hero-object-controls .cap-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font:
    15px/1 "Space Grotesk",
    sans-serif;
  color: #e0e4ee;
  border: 1px solid #70798f;
}
.hero-object-controls [aria-pressed="true"] .cap-number {
  background: var(--brand-lime);
  color: #101522;
  border-color: var(--brand-lime);
}
.hero-object-controls .cap-name {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.hero-object-controls .cap-direction {
  font-size: 20px;
  color: #cbd0df;
}
.hero-object-controls [aria-pressed="true"] .cap-direction {
  color: #d8ff32;
}
.hero-object-controls button:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid #d8ff32;
  outline-offset: 5px;
}
.hero-state-note {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-top: 13px;
  min-height: 30px;
}
.hero-state-note p {
  color: #f1f1e9;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.hero-object-controls .inline-link {
  grid-column: auto;
  width: auto;
  margin: 0;
  font-size: 16px;
  color: #cbd0df;
}
.hero-floorline {
  margin-top: 16px;
  padding-top: 12px;
}
.scene-fallback {
  inset: 12%;
  transform: none;
  align-content: center;
  gap: 18px;
}
.scene-fallback img {
  width: min(58%, 180px);
  height: auto;
}
.scene-fallback .fallback-concept {
  font:
    18px/1.5 "DM Sans",
    Arial,
    sans-serif;
  color: #f1f1e9;
  transform: none;
  text-align: center;
}
.no-webgl .capability-world:before {
  content: none;
}
.room-canvas {
  touch-action: pan-y;
}
@media (max-width: 1199px) {
  .hero-world {
    height: 425px;
  }
  .hero-title h1 {
    font-size: clamp(70px, 8vw, 95px);
  }
  .hero-object-controls button {
    padding: 12px;
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }
  .hero-object-controls .cap-direction {
    display: none;
  }
}
@media (max-width: 899px) {
  .hero-stage {
    gap: 20px;
  }
  .hero-world {
    height: 390px;
  }
  .hero-title h1 {
    font-size: clamp(66px, 9vw, 82px);
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-object-controls [role="group"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-controls-intro {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .site-header .wordmark {
    width: 143px;
    min-width: 143px;
  }
  .site-header {
    gap: 12px;
  }
  .hero-room {
    padding-top: calc(var(--header-height) + 20px);
  }
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 24px;
  }
  .hero-title h1 {
    font-size: clamp(58px, 16vw, 70px);
  }
  .hero-world {
    height: 305px;
    margin: 12px 0 18px;
  }
  .room-scene-label {
    top: 0;
    left: 0;
    font-size: 10px;
  }
  .hero-description {
    font-size: 17px;
    margin-top: 0;
  }
  .hero-actions {
    margin-top: 22px;
  }
  .hero-bottom {
    margin-top: 30px;
  }
  .hero-controls-intro {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .hero-controls-intro > span {
    display: block;
  }
  .hero-controls-intro > span:last-child {
    font-size: 16px;
    margin-top: 5px;
  }
  .hero-object-controls [role="group"] {
    justify-content: stretch;
    gap: 10px;
  }
  .hero-object-controls button {
    min-height: 96px;
    padding: 13px 10px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }
  .hero-object-controls .cap-number {
    width: 28px;
    height: 32px;
    font-size: 14px;
  }
  .hero-object-controls .cap-name {
    font-size: 15px;
    line-height: 1.4;
  }
  .hero-state-note {
    display: block;
    margin-top: 20px;
  }
  .hero-state-note p {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .hero-object-controls .inline-link {
    font-size: 16px;
  }
  .hero-floorline {
    margin-top: 22px;
  }
  .footer-word > img {
    width: 78%;
  }
  .footer-word > span {
    font-size: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-object-controls button {
    transition: none;
  }
}

/* Keep the interactive room and its named choices together in the phone reading flow. */
.hero-stage {
  row-gap: 0;
}
.hero-bottom {
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  .hero-description {
    order: 2;
    margin-top: 18px;
  }
  .hero-actions {
    order: 3;
  }
  .hero-world {
    order: 4;
    margin: 24px 0 0;
  }
  .hero-bottom {
    order: 5;
    margin-top: 20px;
  }
  .hero-controls-intro > span:last-child {
    font-size: 14px;
  }
  .hero-object-controls button {
    min-height: 84px;
  }
}
