/* Phase 3 layer order: atmosphere 0, spatial art 1, motion graphics 2, essential type 4,
   actions 6, navigation 50, transitions 90, modal top layer, decorative cursor 120. */
:root {
  --z-editorial: 4;
  --z-action: 6;
  --z-cursor: 120;
}
.hero-world {
  background: radial-gradient(ellipse at 60% 55%, #30244265, transparent 70%);
}
.hero-state-copy {
  max-width: 720px;
}
.hero-state-copy #hero-room-description {
  color: #bfc6d8;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 5px;
}
.hero-state-note {
  align-items: start;
}
.hero-state-note .inline-link {
  flex-shrink: 0;
  position: relative;
  z-index: var(--z-action);
}
.scene-host.has-hit {
  cursor: pointer;
}
.challenge-room {
  background: #edf1e9;
}
.challenge-statement {
  font-weight: 400;
  color: #17191a;
  background: none;
}
.challenge-statement em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}
.challenge-statement .highlight-word {
  color: #17191a;
  display: inline-block;
}
.work-stage,
.work-collection .work-stage {
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 28px;
  min-height: calc(100svh - var(--header-height));
  height: auto;
  padding: 32px var(--pad);
  overflow: hidden;
}
.work-stage-top {
  grid-row: 1;
  grid-column: 1 / -1;
  position: relative;
  z-index: var(--z-action);
}
.work-title {
  grid-row: 2;
  grid-column: 1;
  position: relative;
  z-index: var(--z-editorial);
  align-self: center;
  width: 100%;
  pointer-events: none;
}
.work-large {
  display: inline;
  font-size: clamp(62px, 6.3vw, 100px);
  line-height: 1.01;
  color: #f1f1e9;
  letter-spacing: -0.065em;
  white-space: normal;
  background: #2937edf5;
  box-shadow:
    12px 0 #2937edf5,
    -8px 0 #2937edf5;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.work-large br {
  display: initial;
}
.work-visual {
  grid-row: 2;
  grid-column: 2;
  width: 100%;
  height: clamp(330px, 31vw, 450px);
  min-height: 0;
  position: relative;
  z-index: 2;
  transform-origin: center;
}
.work-stage-bottom {
  grid-row: 3;
  grid-column: 1 / -1;
  position: relative;
  z-index: var(--z-action);
  align-self: end;
  opacity: 1;
}
.work-stage-bottom h3 {
  font-size: 24px;
}
.work-stage-bottom p {
  font-size: 16px;
}
.work-stage-bottom .action {
  min-height: 54px;
}
.work-progress {
  z-index: 6;
}
.work-progress span {
  transform-origin: left;
  background: #d8ff32;
}
.work-system .work-large {
  color: #271a32;
  background: #c3d0b3f0;
  box-shadow:
    12px 0 #c3d0b3f0,
    -8px 0 #c3d0b3f0;
}
.product-intro {
  color: #271a32;
  background: #c3d0b3;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 40px;
  min-height: 100svh;
}
.product-intro-grid {
  display: block;
  position: relative;
  min-height: 490px;
  margin-top: 30px;
  isolation: isolate;
}
.product-intro .display {
  position: relative;
  z-index: 4;
  font-size: clamp(88px, 10.4vw, 160px);
  line-height: 0.98;
  letter-spacing: -0.075em;
  width: max-content;
  max-width: 91%;
  padding: 15px 32px 20px 0;
  background: linear-gradient(90deg, #c3d0b3 94%, #c3d0b300);
  color: #271a32;
}
.product-intro .display em {
  color: #271a32;
}
.product-orbit {
  position: absolute;
  right: -1%;
  top: 0;
  width: 61%;
  height: 100%;
  z-index: 1;
  opacity: 1;
}
.product-orbit .system-orbits {
  width: 100%;
  height: 100%;
}
.product-intro-bottom {
  position: relative;
  z-index: 6;
  margin-top: 16px;
  padding-top: 22px;
  border-top: 1px solid #271a3235;
}
.product-intro-bottom p {
  color: #34402f;
  font-size: 16px;
}
.product-intro-bottom strong {
  color: #271a32;
}
.product-intro-bottom .action {
  color: #271a32;
  border-color: #545b4f;
}
/* Dual contrast: lime core + ink rim + cream outer edge on every background. */
.cursor-follower {
  display: grid;
  place-items: center;
  position: fixed;
  left: 0;
  top: 0;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid #101522;
  border-radius: 50%;
  background: #d8ff32;
  color: #101522;
  opacity: 0;
  box-shadow: 0 0 0 1px #f8f6f1;
  z-index: var(--z-cursor);
  pointer-events: none;
  transition:
    width 0.16s ease-out,
    height 0.16s ease-out,
    opacity 0.1s;
  mix-blend-mode: normal;
  filter: none;
  will-change: transform;
}
.cursor-follower span {
  display: none;
}
.enhanced-cursor .cursor-follower.cursor-active {
  opacity: 1;
}
.cursor-follower[data-cursor-state="compact"] {
  width: 30px;
  height: 30px;
  background: transparent;
}
.cursor-follower[data-cursor-state="compact"]::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #d8ff32;
  border: 1px solid #101522;
  box-shadow: 0 0 0 1px #f8f6f1;
  border-radius: 50%;
}
.cursor-follower[data-cursor-state="text"],
.cursor-keyboard .cursor-follower,
.directory-open .cursor-follower {
  opacity: 0 !important;
}
.enhanced-cursor.cursor-ready:not(.cursor-keyboard),
.enhanced-cursor.cursor-ready:not(.cursor-keyboard) a,
.enhanced-cursor.cursor-ready:not(.cursor-keyboard) button,
.enhanced-cursor.cursor-ready:not(.cursor-keyboard) summary,
.enhanced-cursor.cursor-ready:not(.cursor-keyboard) .scene-host.has-hit {
  cursor: none;
}
.enhanced-cursor input,
.enhanced-cursor textarea,
[contenteditable="true"] {
  cursor: text;
}
.directory-open,
.directory-open * {
  cursor: revert !important;
}
@media (max-width: 1199px) {
  .work-stage,
  .work-collection .work-stage {
    min-height: 740px;
  }
  .work-large {
    font-size: clamp(58px, 6.3vw, 80px);
  }
  .work-visual {
    height: 390px;
  }
  .product-intro .display {
    font-size: clamp(80px, 10.3vw, 125px);
  }
  .product-intro-grid {
    min-height: 430px;
  }
}
@media (max-width: 899px) {
  .work-stage,
  .work-collection .work-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    min-height: 0;
    row-gap: 24px;
    padding: 32px var(--pad);
  }
  .work-title {
    grid-row: 2;
    grid-column: 1;
  }
  .work-large {
    font-size: clamp(50px, 8.3vw, 72px);
  }
  .work-visual {
    grid-row: 3;
    grid-column: 1;
    width: 100%;
    height: 370px;
  }
  .work-stage-bottom {
    grid-row: 4;
    display: flex;
    gap: 24px;
  }
  .product-intro-grid {
    min-height: 390px;
  }
  .product-intro .display {
    font-size: clamp(78px, 10.3vw, 100px);
  }
}
@media (max-width: 600px) {
  .hero-state-note {
    display: block;
  }
  .hero-state-copy #hero-room-description {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .work-large {
    font-size: 50px;
    line-height: 1.03;
  }
  .work-stage,
  .work-collection .work-stage {
    row-gap: 22px;
    padding: 30px 24px;
  }
  .work-visual {
    height: 275px;
  }
  .work-stage-bottom {
    display: block;
  }
  .work-stage-bottom h3 {
    font-size: 22px;
    line-height: 1.3;
  }
  .work-stage-bottom p {
    font-size: 16px;
  }
  .work-stage-bottom .action {
    width: max-content;
    margin-top: 20px;
  }
  .product-intro {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 32px;
    min-height: 0;
  }
  .product-intro-grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 28px;
  }
  .product-intro .display {
    max-width: 100%;
    width: 100%;
    font-size: 60px;
    line-height: 1.04;
    padding: 0;
    background: none;
  }
  .product-orbit {
    position: relative;
    width: 100%;
    height: 280px;
    right: auto;
    top: auto;
    margin-top: 20px;
  }
  .product-intro-bottom {
    display: block;
    margin-top: 24px;
  }
  .product-intro-bottom .action {
    margin-top: 24px;
  }
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-follower {
    display: none !important;
  }
}
.reduced-motion .highlight-word {
  color: #17191a !important;
}
.reduced-motion .work-title,
.reduced-motion .work-visual,
.reduced-motion .product-orbit {
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* Reset the earlier follower's independent scale and centre action labels. */
.cursor-follower {
  display: grid;
  place-items: center;
  scale: 1;
}
/* Only the closing phrase uses the editorial serif; word spans retain the sans voice. */
.challenge-statement > .highlight-word {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-style: normal;
  letter-spacing: -0.055em;
}
.challenge-statement em .highlight-word {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}
/* Reserve room for the orbit labels throughout its rotation, including the first state. */
.product-orbit .system-orbits {
  width: min(540px, 76%);
  max-width: none;
  height: 62%;
}
/* Typography recovered from the source history and earliest supplied reference. */
:root {
  --font-display: "Sora", Arial, sans-serif;
  --font-editorial: "Space Grotesk", Arial, sans-serif;
  --font-reading: "DM Sans", Arial, sans-serif;
  --font-italic: Georgia, "Times New Roman", serif;
}
body {
  font-family: var(--font-reading);
}
.hero-title h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(78px, 8.1vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.075em;
}
.hero-title .type-line {
  padding-bottom: 0.075em;
}
.hero-title .type-line > span {
  line-height: 0.99;
}
.hero-title em {
  font-family: var(--font-display);
  font-style: normal;
}
.page-intro .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.065em;
}
.challenge-statement {
  font-family: var(--font-editorial);
  font-size: clamp(52px, 8.1vw, 128px);
  font-weight: 400;
  line-height: 1.04;
}
.challenge-statement > .highlight-word {
  font-family: var(--font-editorial);
  font-style: normal;
}
.challenge-statement em .highlight-word {
  font-family: var(--font-italic);
  font-style: italic;
}
.work-large {
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.94;
}
.capability-index button > span {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.capability-index button {
  color: #c5cad8;
}
.capability-index button[aria-selected="true"] > span {
  font-weight: 500;
}
.capability-panel h3 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.045em;
}
@media (max-width: 1199px) {
  .hero-title h1 {
    font-size: clamp(70px, 8.2vw, 94px);
  }
}
@media (max-width: 899px) {
  .hero-title h1 {
    font-size: clamp(64px, 8.8vw, 78px);
  }
}
@media (max-width: 600px) {
  .hero-title h1 {
    font-size: clamp(54px, 15.4vw, 66px);
    line-height: 0.99;
  }
  .hero-title .type-line > span {
    line-height: 1;
  }
  .challenge-statement {
    font-size: 50px;
    line-height: 1.07;
  }
  .capability-index button > span {
    font-size: 18px;
  }
  .capability-panel h3 {
    font-size: 27px;
  }
}
@media (max-width: 600px) {
  .work-stage,
  .work-collection .work-stage {
    row-gap: 16px;
    padding: 26px 24px;
  }
  .work-visual {
    height: 240px;
  }
}
.pin-spacer:has(> .work-stage[hidden]) {
  display: none !important;
}
/* A single portal hook; service selection belongs to the capability room below. */
.hero-world {
  height: clamp(470px, 40vw, 590px);
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
}
.hero-discover {
  font-size: 16px;
}
.portal-interaction {
  display: flex;
  align-items: center;
  gap: 24px;
}
.portal-interaction p {
  font-size: 15px;
  line-height: 1.5;
  color: #bfc6d8;
}
#portal-toggle {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid #b7c289;
  color: #eef5d9;
  background: #20271d;
  font-size: 15px;
}
#portal-toggle:hover,
#portal-toggle[aria-pressed="true"] {
  color: #101522;
  background: #d8ff32;
  border-color: #d8ff32;
}
#portal-toggle:focus-visible {
  outline: 2px solid #d8ff32;
  outline-offset: 5px;
}
@media (max-width: 1199px) {
  .hero-world {
    height: 470px;
  }
  .portal-interaction {
    gap: 18px;
  }
}
@media (max-width: 899px) {
  .hero-world {
    height: 430px;
  }
  .portal-interaction p {
    max-width: 230px;
  }
}
@media (max-width: 600px) {
  .hero-world {
    height: 315px;
  }
  .hero-bottom {
    display: block;
    margin-top: 20px;
  }
  .hero-discover {
    display: none;
  }
  .portal-interaction {
    display: block;
  }
  .portal-interaction p {
    font-size: 16px;
    max-width: none;
    margin-bottom: 16px;
  }
  #portal-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 16px;
  }
}
.reduced-motion {
  scroll-behavior: auto;
}
.scene-fallback .portal-fallback-caption {
  font:
    18px/1.5 "DM Sans",
    Arial,
    sans-serif;
  color: #f1f1e9;
  transform: none;
  text-align: center;
}
