:root {
  --ink: #151315;
  --muted: #59545c;
  --paper: #fffaf3;
  --surface: #ffffff;
  --line: rgba(21, 19, 21, 0.14);
  --sun: #ff8a2a;
  --rose: #e94378;
  --cyan: #00a7b5;
  --green: #2f9462;
  --violet: #5b4cc4;
  --shadow: 0 22px 80px rgba(32, 23, 12, 0.14);
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(21, 19, 21, 0.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(21, 19, 21, 0.035) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--paper);
  color: var(--ink);
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(32, 23, 12, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 138, 42, 0.12);
  color: var(--ink);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(30px, 4vw, 56px);
  min-height: calc(68svh - 76px);
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 0 clamp(18px, 3vw, 28px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: clamp(52px, 6.4vw, 88px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  font-size: clamp(30px, 3.7vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.05;
}

.hero-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
}

.hero-actions,
.footer,
.status-strip,
.intro-band,
.steps,
.partner-strip {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 26px rgba(21, 19, 21, 0.2);
}

.secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 138, 42, 0.18), transparent 32%),
    linear-gradient(315deg, rgba(0, 167, 181, 0.2), transparent 38%),
    var(--surface);
  box-shadow: var(--shadow);
}

.signal-grid {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(21, 19, 21, 0.12);
  background:
    linear-gradient(90deg, rgba(21, 19, 21, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(21, 19, 21, 0.08) 1px, transparent 1px) 0 0 / 28px 28px;
  transform: perspective(700px) rotateX(58deg) translateY(78px);
  transform-origin: center bottom;
}

.hero-logo {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(78%, 520px);
  transform: translate(-50%, -48%);
  filter: drop-shadow(0 20px 30px rgba(21, 19, 21, 0.12));
}

.status-strip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 250, 243, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 900;
}

.intro-band {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: grid;
  gap: 2px;
}

.stat strong {
  color: var(--violet);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 88px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.copy-stack {
  color: var(--muted);
  font-size: 18px;
}

.copy-stack p {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 640px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.guide-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.robot-panel {
  display: grid;
  gap: 14px;
}

.robot-stage {
  position: relative;
  min-height: clamp(380px, 48vw, 540px);
  overflow: hidden;
  border: 1px solid rgba(21, 19, 21, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 52% 32%, rgba(255, 138, 42, 0.16), transparent 28%),
    radial-gradient(circle at 74% 70%, rgba(0, 167, 181, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 243, 0.72));
  box-shadow: var(--shadow);
  cursor: grab;
  touch-action: none;
}

.robot-stage::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(21, 19, 21, 0.1);
  background:
    linear-gradient(90deg, rgba(21, 19, 21, 0.07) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(21, 19, 21, 0.07) 1px, transparent 1px) 0 0 / 34px 34px;
  transform: perspective(760px) rotateX(62deg) translateY(120px);
  transform-origin: center bottom;
}

.robot-stage:active {
  cursor: grabbing;
}

#robot-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.robot-loading {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.9);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.robot-loading.is-hidden {
  display: none;
}

.robot-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.robot-controls .button {
  width: 100%;
}

.video-shell {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.journey {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  align-items: stretch;
  gap: 14px;
}

.steps article {
  flex: 1;
  min-width: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.steps p,
.scenario-detail p,
.collab-copy p {
  color: var(--muted);
}

.scenario-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 18px;
}

.scenario-list {
  display: grid;
  gap: 10px;
}

.scenario-card {
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.scenario-card span {
  display: block;
  font-weight: 900;
}

.scenario-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.scenario-card:hover,
.scenario-card:focus-visible,
.scenario-card.is-active {
  background: white;
  border-color: rgba(255, 138, 42, 0.78);
  outline: none;
  transform: translateX(4px);
}

.scenario-detail {
  position: sticky;
  top: 112px;
  min-height: 460px;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid rgba(21, 19, 21, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(233, 67, 120, 0.1), transparent 32%),
    linear-gradient(315deg, rgba(47, 148, 98, 0.13), transparent 38%),
    #fff;
  box-shadow: var(--shadow);
}

.detail-kicker {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scenario-detail h3 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 0.98;
}

.scenario-detail p:not(.detail-kicker) {
  max-width: 560px;
  font-size: 18px;
}

.module-meter {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.module-meter span {
  height: 8px;
  border-radius: 8px;
  background: var(--sun);
}

.module-meter span:nth-child(2) {
  background: var(--rose);
}

.module-meter span:nth-child(3) {
  background: var(--cyan);
}

.module-meter span:nth-child(4) {
  background: var(--green);
}

.partners {
  padding-top: 28px;
}

.partner-strip {
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.partner-strip img {
  max-width: 25%;
  max-height: 52px;
  object-fit: contain;
}

.collaborate {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 19, 21, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--sun);
  box-shadow: 0 0 0 4px rgba(255, 138, 42, 0.14);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  font-weight: 900;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header,
  .hero-actions,
  .intro-band,
  .steps,
  .partner-strip,
  .footer {
    align-items: stretch;
  }

  .site-header {
    position: static;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: center;
  }

  .hero,
  .split,
  .guide-section,
  .scenario-layout,
  .collaborate {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 340px;
  }

  .intro-band,
  .steps,
  .partner-strip,
  .footer {
    flex-direction: column;
  }

  .scenario-detail {
    position: relative;
    top: auto;
    min-height: 390px;
  }

  .robot-stage {
    min-height: 380px;
  }

  .partner-strip img {
    max-width: 76%;
    max-height: 46px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .intro-band,
  .section,
  .footer {
    width: min(100% - 20px, var(--max));
  }

  nav a {
    padding: 8px 9px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 66px);
  }

  .hero-stage {
    min-height: 280px;
  }

  .status-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .scenario-detail h3 {
    font-size: 42px;
  }

  .robot-controls {
    grid-template-columns: 1fr;
  }

  .robot-stage {
    min-height: 360px;
  }
}

/* Three.js hero experience */
body {
  overflow-x: hidden;
}

.hero {
  --scene-accent: #3ac7e8;
  --scene-warm: #ff8a2a;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  width: 100%;
  min-height: calc(84svh - 76px);
  padding: clamp(54px, 7vw, 88px) max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 19, 21, 0.28), transparent);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(255, 250, 243, 0.96) 34%, rgba(255, 250, 243, 0.38) 62%, rgba(255, 255, 255, 0.08) 100%),
    radial-gradient(circle at 76% 40%, color-mix(in srgb, var(--scene-accent) 20%, transparent), transparent 34%),
    var(--paper);
  cursor: grab;
  touch-action: none;
  transition: --scene-accent 500ms ease;
}

.hero-scene:active {
  cursor: grabbing;
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(21, 19, 21, 0.04) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(21, 19, 21, 0.04) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 42%, black);
}

#robot-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.scene-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 -90px 100px rgba(255, 250, 243, 0.72);
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 560px;
  pointer-events: none;
}

.hero-copy a,
.hero-copy button {
  pointer-events: auto;
}

.hero h1 {
  max-width: 600px;
  margin-bottom: 20px;
  font-size: clamp(58px, 6.2vw, 84px);
  line-height: 0.9;
}

.hero-lede {
  max-width: 530px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 26px;
}

.hero-signal {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-signal span:last-child {
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 148, 98, 0.12);
  animation: signal-pulse 2.2s ease-in-out infinite;
}

.robot-hud {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 38px;
  z-index: 5;
  display: flex;
  align-items: end;
  gap: 20px;
  padding: 12px;
  border: 1px solid rgba(21, 19, 21, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
  box-shadow: 0 14px 34px rgba(21, 19, 21, 0.1);
  backdrop-filter: blur(18px);
}

.hud-heading {
  display: grid;
  min-width: 104px;
  padding: 0 6px;
}

.hud-heading span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.hud-heading strong {
  font-size: 18px;
}

.robot-controls {
  display: flex;
  gap: 6px;
}

.hud-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.hud-button:hover,
.hud-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.hud-button.is-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.hero .robot-loading {
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 106px;
  left: auto;
  z-index: 5;
  width: 250px;
}

.intro-band {
  position: relative;
  z-index: 2;
  background: rgba(255, 250, 243, 0.72);
  backdrop-filter: blur(12px);
}

@keyframes signal-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .hero {
    display: block;
    min-height: 800px;
    padding-top: 58px;
    padding-bottom: 310px;
  }

  .hero-scene {
    background:
      linear-gradient(180deg, var(--paper) 0%, rgba(255, 250, 243, 0.96) 42%, rgba(255, 250, 243, 0.28) 68%, rgba(255, 255, 255, 0.08) 100%),
      radial-gradient(circle at 52% 72%, color-mix(in srgb, var(--scene-accent) 22%, transparent), transparent 34%),
      var(--paper);
  }

  .hero-copy {
    max-width: 620px;
  }

  .robot-hud {
    right: 20px;
    bottom: 24px;
    left: 20px;
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 4px;
    margin-top: 10px;
    padding: 8px 10px;
  }

  .site-header .brand img {
    width: 36px;
    height: 36px;
  }

  nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }

  nav a {
    padding: 7px 3px;
    font-size: 11px;
    white-space: nowrap;
  }

  .hero {
    min-height: 700px;
    width: 100%;
    padding: 34px 18px 220px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 64px);
  }

  .hero-lede {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-signal span:last-child,
  .hud-heading {
    display: none;
  }

  .robot-hud {
    padding: 8px;
  }

  .robot-controls {
    width: 100%;
  }

  .hud-button {
    flex: 1;
  }

  .hero .robot-loading {
    right: 18px;
    bottom: 82px;
    left: 18px;
    width: auto;
  }
}

/* Bright blue universe direction, informed by immersive destination interfaces. */
:root {
  --ink: #071a33;
  --muted: #50637b;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: rgba(14, 87, 158, 0.16);
  --sun: #166fff;
  --rose: #146fff;
  --cyan: #15bde8;
  --green: #20bca8;
  --violet: #625cff;
  --shadow: 0 24px 70px rgba(20, 99, 180, 0.14);
  --max: 1180px;
}

body {
  overflow-x: hidden;
  background: #ffffff;
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  margin: 0;
  padding: 12px max(22px, calc((100vw - var(--max)) / 2));
  border: 0;
  border-bottom: 1px solid rgba(18, 104, 190, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  backdrop-filter: blur(22px);
}

.brand {
  color: #061a33;
  font-size: 16px;
  font-weight: 900;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

nav {
  gap: 4px;
  align-items: center;
}

nav a {
  position: relative;
  padding: 9px 11px;
  border-radius: 6px;
  color: #334b66;
  font-size: 13px;
  transition: color 160ms ease, background 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  background: #eef7ff;
  color: #075fc5;
}

nav .nav-cta {
  margin-left: 6px;
  padding-inline: 15px;
  border: 1px solid #116ee8;
  background: #116ee8;
  color: #ffffff;
}

nav .nav-cta:hover,
nav .nav-cta:focus-visible {
  background: #0759c4;
  color: #ffffff;
}

.hero {
  --scene-accent: #168cff;
  min-height: calc(88svh - 65px);
  padding-top: clamp(62px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.hero-scene {
  background: #f3faff;
}

.hero-scene::before {
  background:
    linear-gradient(90deg, rgba(22, 140, 255, 0.07) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(22, 140, 255, 0.07) 1px, transparent 1px) 0 0 / 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 38%, black);
}

.scene-vignette {
  box-shadow: inset 0 -130px 110px rgba(255, 255, 255, 0.84);
}

.hero::after {
  background: rgba(22, 111, 255, 0.2);
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 22px;
  color: #061a33;
  font-size: clamp(50px, 5.6vw, 76px);
  line-height: 0.94;
}

.eyebrow {
  color: #0d73e8;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.hero-lede {
  max-width: 550px;
  color: #415a74;
}

.button {
  border-color: rgba(12, 90, 170, 0.2);
  border-radius: 6px;
}

.primary {
  background: #116ee8;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 110, 232, 0.24);
}

.primary:hover,
.primary:focus-visible {
  background: #0759c4;
}

.secondary {
  background: rgba(255, 255, 255, 0.88);
  color: #0a3768;
  box-shadow: 0 10px 24px rgba(20, 99, 180, 0.08);
}

.hero-signal {
  color: #315d89;
}

.signal-dot {
  background: #18bda9;
  box-shadow: 0 0 0 5px rgba(24, 189, 169, 0.13), 0 0 22px rgba(24, 189, 169, 0.5);
}

.robot-hud {
  border-color: rgba(12, 90, 170, 0.18);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(20, 99, 180, 0.16);
}

.hud-heading span {
  color: #4d6f91;
}

.hud-button {
  border-color: rgba(12, 90, 170, 0.18);
  background: #ffffff;
  color: #123f70;
}

.hud-button:hover,
.hud-button:focus-visible {
  background: #edf7ff;
  color: #075fc5;
}

.hud-button.is-primary {
  border-color: #116ee8;
  background: #116ee8;
  color: #ffffff;
}

.intro-band {
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  padding: 23px max(24px, calc((100vw - var(--max)) / 2));
  border-color: rgba(18, 104, 190, 0.13);
  background: #f4faff;
  backdrop-filter: none;
}

.stat {
  padding-right: 22px;
  border-right: 1px solid rgba(18, 104, 190, 0.15);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: #116ee8;
  font-size: clamp(28px, 3.1vw, 40px);
}

.stat span {
  color: #456785;
}

.section {
  padding-top: clamp(72px, 9vw, 118px);
  padding-bottom: clamp(72px, 9vw, 118px);
}

.section h2 {
  color: #071a33;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.04;
}

.split {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: clamp(48px, 8vw, 118px);
}

.copy-stack {
  color: #4b6279;
  font-size: 17px;
}

.copy-stack p {
  border-color: rgba(18, 104, 190, 0.14);
}

.film-section {
  width: min(1280px, calc(100% - 40px));
}

.video-shell {
  border-color: rgba(17, 110, 232, 0.24);
  border-radius: 8px;
  background: #061a33;
  box-shadow: 0 28px 80px rgba(20, 99, 180, 0.18);
}

.journey {
  width: 100%;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  border-color: rgba(18, 104, 190, 0.12);
  background: #f4faff;
}

.steps {
  gap: 12px;
}

.steps article {
  padding: 26px;
  border-color: rgba(18, 104, 190, 0.15);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(20, 99, 180, 0.08);
}

.step-number {
  color: #116ee8;
}

.scenario-section {
  width: 100%;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: #eaf6ff;
}

.scenario-layout {
  gap: 14px;
}

.scenario-list {
  gap: 8px;
}

.scenario-card {
  padding: 17px 18px;
  border-color: rgba(18, 104, 190, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: #0a315d;
}

.scenario-card small {
  color: #607991;
}

.scenario-card:hover,
.scenario-card:focus-visible,
.scenario-card.is-active {
  border-color: #116ee8;
  background: #ffffff;
  color: #075fc5;
  box-shadow: 0 12px 30px rgba(20, 99, 180, 0.1);
}

.scenario-detail {
  border: 0;
  border-radius: 8px;
  background: #116ee8;
  box-shadow: 0 26px 70px rgba(17, 110, 232, 0.24);
}

.scenario-detail h3,
.scenario-detail p,
.scenario-detail .detail-kicker {
  color: #ffffff;
}

.scenario-detail h3 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.04;
}

.scenario-detail p:not(.detail-kicker) {
  color: rgba(255, 255, 255, 0.82);
}

.module-meter span,
.module-meter span:nth-child(2),
.module-meter span:nth-child(3),
.module-meter span:nth-child(4) {
  background: rgba(255, 255, 255, 0.92);
}

.module-meter span:nth-child(2) {
  opacity: 0.78;
}

.module-meter span:nth-child(3) {
  opacity: 0.58;
}

.module-meter span:nth-child(4) {
  opacity: 0.38;
}

.partners {
  padding-top: clamp(72px, 9vw, 118px);
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  padding: 28px 34px;
  border-color: rgba(18, 104, 190, 0.15);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(20, 99, 180, 0.08);
}

.partner-strip img {
  justify-self: center;
  width: auto;
  height: 48px;
  max-width: 88%;
  max-height: none;
  object-fit: contain;
}

/* This file is a padded 16:9 canvas; the mark itself fills only ~60% of the
   height, so it needs extra room to optically match the other logos. */
.partner-strip img[src*="partner-logo"] {
  height: 80px;
}

.collaborate {
  width: 100%;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: #f4faff;
}

.contact-form {
  padding: 26px;
  border-color: rgba(18, 104, 190, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 62px rgba(20, 99, 180, 0.12);
}

label {
  color: #466681;
}

input,
textarea {
  border-color: rgba(18, 104, 190, 0.2);
  border-radius: 6px;
  background: #fafdff;
  color: #071a33;
}

input:focus,
textarea:focus {
  border-color: #116ee8;
  box-shadow: 0 0 0 4px rgba(17, 110, 232, 0.12);
}

.footer {
  width: 100%;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  border: 0;
  background: #071a33;
  color: rgba(255, 255, 255, 0.68);
}

.footer a {
  color: #ffffff;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    flex-direction: row;
    align-items: center;
  }

  nav {
    width: auto;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    max-width: 58%;
  }

  .split {
    gap: 42px;
  }

  .partner-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 9px 16px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: 720px;
    padding-top: 34px;
    padding-bottom: 225px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(42px, 11.5vw, 56px);
  }

  .section h2 {
    font-size: clamp(30px, 8.5vw, 42px);
  }

  .intro-band {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 10px;
    padding-inline: 18px;
  }

  .stat {
    padding-right: 10px;
  }

  .stat strong {
    font-size: 32px;
  }

  .stat span {
    font-size: 10px;
  }

  .section,
  .journey,
  .scenario-section,
  .collaborate {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .film-section {
    width: calc(100% - 24px);
    padding-right: 0;
    padding-left: 0;
  }

  .partner-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 20px 14px;
  }

  .partner-strip img {
    max-width: 100%;
    height: 32px;
  }

  .partner-strip img[src*="partner-logo"] {
    height: 53px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 34px;
    height: 34px;
  }

  nav a {
    padding: 6px 3px;
    font-size: 10px;
  }

  nav .nav-cta {
    padding-inline: 7px;
  }

  .hero {
    min-height: 700px;
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .robot-hud {
    border-color: rgba(18, 104, 190, 0.18);
  }
}

/* Responsive destination-style navigation and concise scaling explorer. */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(18, 104, 190, 0.16);
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #071a33;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-menu-open .menu-toggle span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

main > section[id] {
  scroll-margin-top: 76px;
}

.nav-group {
  position: relative;
}

.nav-group-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #334b66;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nav-group-toggle:hover,
.nav-group-toggle:focus-visible,
.nav-group.is-open .nav-group-toggle {
  background: #eef7ff;
  color: #075fc5;
  outline: none;
}

.nav-group-toggle span {
  font-size: 10px;
  transition: transform 160ms ease;
}

.nav-group.is-open .nav-group-toggle span {
  transform: rotate(180deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 40;
  display: none;
  min-width: 230px;
  padding: 8px;
  border: 1px solid rgba(18, 104, 190, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 50px rgba(20, 99, 180, 0.16);
  backdrop-filter: blur(18px);
}

.nav-group.is-open .nav-menu {
  display: grid;
}

.nav-menu a {
  padding: 11px 12px;
  border-radius: 5px;
  color: #294c70;
  font-size: 13px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: #eef7ff;
  color: #075fc5;
}

.video-shell video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #061a33;
}

.video-shell {
  position: relative;
}

.trailer-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: clamp(64px, 7vw, 88px);
  height: clamp(64px, 7vw, 88px);
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(17, 110, 232, 0.92);
  box-shadow: 0 18px 44px rgba(7, 26, 51, 0.3);
  transform: translate(-50%, -50%);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 160ms ease, background 160ms ease;
}

.trailer-play:hover,
.trailer-play:focus-visible {
  background: #0759c4;
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 4px;
  transform: translate(-50%, -50%) scale(1.06);
}

.trailer-play[hidden],
.trailer-play.hidden {
  display: none;
}

.trailer-play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  fill: currentColor;
}

.scale-section {
  width: 100%;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: #ffffff;
}

.scale-section .section-heading {
  max-width: 850px;
}

.scale-explorer {
  overflow: hidden;
  border: 1px solid rgba(18, 104, 190, 0.17);
  border-radius: 8px;
  background: #f4faff;
  box-shadow: 0 24px 70px rgba(20, 99, 180, 0.12);
}

.scale-tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid rgba(18, 104, 190, 0.14);
  background: #ffffff;
}

.scale-tab {
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #496986;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.scale-tab:hover,
.scale-tab:focus-visible {
  background: #edf7ff;
  color: #075fc5;
  outline: none;
}

.scale-tab.is-active {
  background: #116ee8;
  color: #ffffff;
}

.scale-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  min-height: 390px;
  padding: clamp(30px, 5vw, 62px);
}

.scale-panel[hidden] {
  display: none;
}

.scale-panel-copy {
  max-width: 650px;
}

.scale-panel .detail-kicker {
  color: #0d73e8;
}

.scale-panel h3 {
  max-width: 700px;
  margin-bottom: 20px;
  color: #071a33;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.04;
}

.scale-panel-copy > p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: #4b657e;
  font-size: 17px;
}

.scale-facts,
.scale-points {
  display: grid;
}

.scale-facts > div,
.scale-points > p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(18, 104, 190, 0.16);
}

.scale-facts > div:last-child,
.scale-points > p:last-child {
  border-bottom: 0;
}

.scale-facts strong {
  color: #116ee8;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1;
}

.scale-facts span,
.scale-points span {
  color: #58738e;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.scale-points strong {
  color: #0b4e94;
  font-size: 19px;
}

@media (max-width: 900px) {
  .scale-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .scale-facts,
  .scale-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .scale-facts > div,
  .scale-points > p {
    border-right: 1px solid rgba(18, 104, 190, 0.16);
    border-bottom: 0;
    padding: 0 18px 0 0;
  }

  .scale-facts > div:last-child,
  .scale-points > p:last-child {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  main > section[id] {
    scroll-margin-top: 64px;
  }

  .site-header {
    position: sticky;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
  }

  .menu-toggle {
    display: grid;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - 60px);
    overflow-y: auto;
    padding: 12px 16px 18px;
    border-top: 1px solid rgba(18, 104, 190, 0.12);
    border-bottom: 1px solid rgba(18, 104, 190, 0.16);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 48px rgba(20, 99, 180, 0.16);
    backdrop-filter: blur(20px);
  }

  .site-header.is-menu-open .site-nav {
    display: grid;
    gap: 6px;
  }

  .site-nav > a,
  .nav-group-toggle {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    padding: 11px 12px;
    text-align: left;
  }

  .nav-group {
    width: 100%;
  }

  .nav-menu {
    position: static;
    min-width: 0;
    margin-top: 4px;
    padding: 6px;
    border-color: rgba(18, 104, 190, 0.12);
    background: #f3f9ff;
    box-shadow: none;
  }

  .nav-menu a {
    min-height: 42px;
    padding: 10px 12px;
  }

  nav .nav-cta {
    width: 100%;
    margin: 4px 0 0;
    justify-content: center;
    text-align: center;
  }

  .scale-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .scale-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .scale-tabs::-webkit-scrollbar {
    display: none;
  }

  .scale-tab {
    flex: 1 0 auto;
  }

  .scale-panel {
    padding: 28px 22px;
  }

  .scale-panel h3 {
    font-size: clamp(26px, 7.5vw, 38px);
  }
}

@media (max-width: 520px) {
  .scale-facts,
  .scale-points {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .scale-facts > div,
  .scale-points > p {
    border-right: 0;
    border-bottom: 1px solid rgba(18, 104, 190, 0.16);
    padding: 15px 0;
  }

  .scale-facts > div:last-child,
  .scale-points > p:last-child {
    border-bottom: 0;
  }
}

/* Warm editorial theme inspired by calm-care web design:
   cream surfaces, serif display with italic emphasis. Green palette by default;
   the theme picker swaps these accent variables live. */
:root {
  --ink: #292524;
  --muted: #6f655d;
  --paper: #fffefb;
  --surface: #ffffff;
  --band: #eef5ea;
  --line: rgba(74, 60, 48, 0.14);
  --mocha: #43855a;
  --mocha-deep: #336b46;
  --coral: #4cb928;
  --sun: #4cb928;
  --rose: #4cb928;
  --cyan: #43855a;
  --green: #6f8f5f;
  --violet: #43855a;
  --shadow: 0 24px 60px rgba(74, 52, 35, 0.1);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", Montserrat, ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3,
.hud-heading strong {
  font-family: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--coral);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.92);
}

.brand {
  color: var(--ink);
}

nav a,
.nav-group-toggle {
  color: #5c5148;
}

nav a:hover,
nav a:focus-visible,
.nav-group-toggle:hover,
.nav-group-toggle:focus-visible,
.nav-group.is-open .nav-group-toggle {
  background: var(--band);
  color: var(--mocha-deep);
}

nav .nav-cta {
  border: 1px solid var(--mocha);
  border-radius: 999px;
  background: var(--mocha);
  color: #fffefb;
}

nav .nav-cta:hover,
nav .nav-cta:focus-visible {
  background: var(--mocha-deep);
  border-color: var(--mocha-deep);
  color: #fffefb;
}

.nav-menu {
  border-color: var(--line);
  border-radius: 16px;
  background: rgba(255, 254, 251, 0.98);
  box-shadow: 0 20px 50px rgba(74, 52, 35, 0.14);
}

.nav-menu a,
.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: #574c43;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--band);
  color: var(--mocha-deep);
}

.menu-toggle {
  border-color: var(--line);
  background: var(--surface);
}

.menu-toggle span {
  background: var(--ink);
}

/* Type scale: calmer serif display */
.eyebrow,
.detail-kicker {
  color: var(--coral);
  font-weight: 700;
}

.hero {
  --scene-accent: #4cb928;
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.02;
}

.hero-lede,
.hero-signal,
.copy-stack,
.section-heading p:not(.eyebrow),
.scale-panel-copy > p:last-child,
.collab-copy p {
  color: var(--muted);
}

.section h2 {
  color: var(--ink);
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.12;
}

/* Hero scene: warm room around the blue robot */
.hero-scene {
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(255, 254, 251, 0.96) 34%, rgba(255, 254, 251, 0.4) 62%, rgba(255, 255, 255, 0.06) 100%),
    radial-gradient(circle at 76% 40%, color-mix(in srgb, var(--scene-accent) 10%, transparent), transparent 36%),
    #fdf8f1;
}

.hero-scene::before {
  background:
    linear-gradient(90deg, rgba(74, 60, 48, 0.05) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(74, 60, 48, 0.05) 1px, transparent 1px) 0 0 / 72px 72px;
}

.scene-vignette {
  box-shadow: inset 0 -130px 110px rgba(255, 254, 251, 0.9);
}

.hero::after {
  background: rgba(141, 105, 89, 0.24);
}

.signal-dot {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(111, 143, 95, 0.14), 0 0 22px rgba(111, 143, 95, 0.4);
}

.hero-signal {
  color: #7a6f65;
}

/* Buttons: full pills */
.button,
.hud-button,
.scale-tab {
  border-radius: 999px;
}

.button {
  border-color: var(--line);
}

.primary {
  background: var(--mocha);
  color: #fffefb;
  box-shadow: 0 14px 30px rgba(141, 105, 89, 0.3);
}

.primary:hover,
.primary:focus-visible {
  background: var(--mocha-deep);
}

.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #4a3c30;
  box-shadow: 0 10px 24px rgba(74, 52, 35, 0.08);
}

.robot-hud {
  border-color: var(--line);
  border-radius: 20px;
  background: rgba(255, 254, 251, 0.9);
  box-shadow: 0 18px 44px rgba(74, 52, 35, 0.14);
}

.hud-heading span {
  color: #85786d;
}

.hud-button {
  border-color: var(--line);
  background: #ffffff;
  color: #4a3c30;
}

.hud-button:hover,
.hud-button:focus-visible {
  background: var(--band);
  color: var(--mocha-deep);
}

.hud-button.is-primary {
  border-color: var(--mocha);
  background: var(--mocha);
  color: #fffefb;
}

.robot-loading {
  border-color: var(--line);
  background: rgba(255, 254, 251, 0.92);
  color: var(--muted);
}

/* Stat band */
.intro-band {
  border-color: var(--line);
  background: var(--band);
}

.stat {
  border-right-color: rgba(74, 60, 48, 0.16);
}

.stat strong {
  color: var(--mocha-deep);
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
}

.stat span {
  color: #7a6f65;
}

.copy-stack p {
  border-color: var(--line);
}

/* Film */
.video-shell {
  border-color: rgba(74, 60, 48, 0.2);
  border-radius: 24px;
  background: #292524;
  box-shadow: var(--shadow);
}

.video-shell video {
  background: #292524;
}

.trailer-play {
  border-color: rgba(255, 254, 251, 0.75);
  background: var(--mocha);
  box-shadow: 0 18px 44px rgba(41, 37, 36, 0.32);
}

.trailer-play:hover,
.trailer-play:focus-visible {
  background: var(--mocha-deep);
  outline-color: rgba(255, 254, 251, 0.92);
}

/* Journey */
.journey {
  border-color: var(--line);
  background: var(--band);
}

.steps article {
  border-color: var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(74, 52, 35, 0.07);
}

.step-number {
  color: var(--coral);
}

.steps p {
  color: var(--muted);
}

/* Scenarios */
.scenario-section {
  background: var(--band);
}

.scenario-card {
  border-color: var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: #3f362e;
}

.scenario-card small {
  color: #8a7e73;
}

.scenario-card:hover,
.scenario-card:focus-visible,
.scenario-card.is-active {
  border-color: var(--mocha);
  background: #ffffff;
  color: var(--mocha-deep);
  box-shadow: 0 12px 30px rgba(74, 52, 35, 0.1);
}

.scenario-detail {
  border-radius: 24px;
  background: var(--mocha);
  box-shadow: 0 26px 70px rgba(141, 105, 89, 0.34);
}

.scenario-detail h3,
.scenario-detail p,
.scenario-detail .detail-kicker {
  color: #fffefb;
}

.scenario-detail .detail-kicker {
  color: #ffd9c9;
}

.scenario-detail p:not(.detail-kicker) {
  color: rgba(255, 254, 251, 0.85);
}

.module-meter span,
.module-meter span:nth-child(2),
.module-meter span:nth-child(3),
.module-meter span:nth-child(4) {
  background: rgba(255, 254, 251, 0.92);
}

/* Scale explorer */
.scale-section {
  background: var(--paper);
}

.scale-explorer {
  border-color: var(--line);
  border-radius: 24px;
  background: var(--band);
  box-shadow: var(--shadow);
}

.scale-tabs {
  border-bottom-color: var(--line);
  background: var(--surface);
}

.scale-tab {
  color: #6f635a;
}

.scale-tab:hover,
.scale-tab:focus-visible {
  background: var(--band);
  color: var(--mocha-deep);
}

.scale-tab.is-active {
  background: var(--mocha);
  color: #fffefb;
}

.scale-panel h3 {
  color: var(--ink);
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.1;
}

.scale-panel .detail-kicker {
  color: var(--coral);
}

.scale-facts > div,
.scale-points > p {
  border-color: rgba(74, 60, 48, 0.16);
}

.scale-facts strong {
  color: var(--mocha-deep);
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
}

.scale-facts span,
.scale-points span {
  color: #7a6f65;
}

.scale-points strong {
  color: #4a3c30;
}

/* Partners */
.partner-strip {
  border-color: var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(74, 52, 35, 0.07);
}

/* Collaborate */
.collaborate {
  background: var(--band);
}

.contact-form {
  border-color: var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 22px 62px rgba(74, 52, 35, 0.1);
}

label {
  color: #6f635a;
}

input,
textarea {
  border-color: rgba(74, 60, 48, 0.22);
  border-radius: 12px;
  background: #fffdf9;
  color: var(--ink);
}

input:focus,
textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(251, 96, 50, 0.13);
}

.form-note {
  color: var(--green);
}

/* Honeypot: visually gone, still in the DOM for bots to trip over */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.footer {
  background: #292524;
  color: rgba(255, 254, 251, 0.66);
}

.footer a {
  color: #fffefb;
}

/* Cropped partner marks: one row, one optical size */
.partner-strip img,
.partner-strip img[src*="partner-logo"] {
  height: 44px;
  width: auto;
  max-width: 88%;
}

/* Bigger serif display */
.hero h1 {
  font-size: clamp(50px, 5.8vw, 82px);
}

.section h2 {
  font-size: clamp(33px, 4.3vw, 56px);
}

.scale-panel h3 {
  font-size: clamp(29px, 3.7vw, 46px);
}

.scenario-detail h3 {
  font-size: clamp(32px, 4.2vw, 52px);
}

/* Hand-drawn coral underline beneath the italic hero word */
.hero h1 em {
  position: relative;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 0.06em;
  bottom: -0.02em;
  left: 0.02em;
  height: 0.15em;
  background: var(--coral);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 16 2 30 7 T 60 7 T 90 7 T 118 6' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 16 2 30 7 T 60 7 T 90 7 T 118 6' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* Small coral spark before section eyebrows */
.eyebrow::before {
  content: "\2731";
  margin-right: 9px;
  font-size: 0.9em;
}

/* Scrolling skills ticker */
.skill-ticker {
  overflow: hidden;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  width: max-content;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(17px, 1.7vw, 22px);
  font-style: italic;
  color: #4a3c30;
  animation: ticker-scroll 32s linear infinite;
}

/* Two identical halves; the trailing gap lives inside each half so a
   -50% translate lands exactly on the seam with no jump. */
.ticker-set {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
}

.ticker-track .tick {
  color: var(--coral);
  font-size: 0.75em;
  font-style: normal;
}

@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* Gentle lift on cards */
.steps article,
.scenario-card,
.partner-strip {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.steps article:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(74, 52, 35, 0.12);
}

/* Studio band: the portfolio pitch */
.studio-band {
  width: 100%;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: #292524;
}

.studio-inner {
  max-width: 780px;
}

.studio-band .eyebrow {
  color: var(--coral);
}

.studio-band h2 {
  color: #fffefb;
}

.studio-band h2 em {
  color: var(--coral);
}

.studio-lede {
  max-width: 640px;
  color: rgba(255, 254, 251, 0.72);
  font-size: 18px;
}

.studio-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.studio-skills li {
  padding: 10px 18px;
  border: 1px solid rgba(255, 254, 251, 0.24);
  border-radius: 999px;
  color: rgba(255, 254, 251, 0.86);
  font-size: 14px;
  font-weight: 600;
}

.studio-band .button.primary {
  background: var(--coral);
  box-shadow: 0 14px 30px rgba(251, 96, 50, 0.3);
}

.studio-band .button.primary:hover,
.studio-band .button.primary:focus-visible {
  background: var(--mocha-deep);
}

/* Quiet serif spark in the mocha module card */
.scenario-detail::after {
  content: "\2731";
  position: absolute;
  top: 26px;
  right: 30px;
  color: rgba(255, 254, 251, 0.3);
  font-size: 40px;
  line-height: 1;
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(44px, 12vw, 58px);
  }

  .section h2 {
    font-size: clamp(31px, 9vw, 44px);
  }

  .partner-strip img,
  .partner-strip img[src*="partner-logo"] {
    height: 30px;
  }

  .ticker-set {
    gap: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

/* Vertical swipes scroll the page; horizontal drags rotate the robot. */
.hero-scene,
.hero-scene #robot-canvas {
  touch-action: pan-y;
}

/* The later theme layer re-declares .split with two columns, which beat the
   early mobile rule — restore the single-column stack on small screens. */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Mobile menu: uniform, comfortable rows */
@media (max-width: 720px) {
  .site-nav {
    gap: 4px;
    padding: 14px 16px 20px;
    background: #fffefb;
  }

  .site-nav > a,
  .nav-group-toggle {
    min-height: 48px;
    align-items: center;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
  }

  .nav-menu a {
    font-size: 14px;
  }

  nav .nav-cta {
    min-height: 48px;
    font-size: 15px;
  }
}


/* Floating theme picker */
.theme-picker {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 60;
}

.theme-toggle {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(41, 37, 36, 0.16);
  transition: transform 160ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.theme-panel {
  position: absolute;
  bottom: 58px;
  left: 0;
  width: 300px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(41, 37, 36, 0.2);
}

.theme-panel[hidden] {
  display: none;
}

.theme-panel p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-swatches {
  display: flex;
  gap: 8px;
}

.theme-swatch {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease;
}

.theme-swatch:hover,
.theme-swatch:focus-visible {
  transform: scale(1.12);
  outline: none;
}

.theme-swatch.is-active {
  border-color: var(--ink);
}

.theme-custom {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-native-color {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.theme-native-color input[type="color"] {
  width: 54px;
  height: 38px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.theme-native-color input[type="color"]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--coral) 35%, transparent);
  outline-offset: 2px;
}

.theme-mobile-color {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .hero {
    min-height: 820px;
    padding-bottom: 310px;
  }

  .hero-signal {
    width: max-content;
    max-width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 254, 251, 0.88);
    backdrop-filter: blur(8px);
  }

  .theme-picker {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    top: calc(10px + env(safe-area-inset-top));
    right: 70px;
    bottom: auto;
    left: auto;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .theme-panel {
    top: 48px;
    right: -60px;
    bottom: auto;
    left: auto;
    width: min(350px, calc(100vw - 20px));
    max-height: calc(100svh - 72px);
    overflow-y: auto;
  }

  .theme-native-color {
    display: none;
  }

  .theme-mobile-color {
    display: grid;
    gap: 12px;
  }

  .theme-color-field {
    --picker-hue: 104deg;
    position: relative;
    height: 170px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
      linear-gradient(to top, #000000, transparent),
      linear-gradient(to right, #ffffff, hsl(var(--picker-hue), 100%, 50%));
    cursor: crosshair;
    touch-action: none;
  }

  .theme-color-field:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--coral) 35%, transparent);
    outline-offset: 2px;
  }

  .theme-color-pointer {
    position: absolute;
    left: 78%;
    top: 27%;
    width: 18px;
    height: 18px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #1f1b18;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .theme-color-tools {
    display: grid;
    grid-template-columns: 34px 48px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .theme-eyedropper {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 22px;
    cursor: pointer;
  }

  .theme-eyedropper[aria-disabled="true"] {
    opacity: 0.42;
    cursor: default;
  }

  .theme-color-preview {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(41, 37, 36, 0.2);
    border-radius: 50%;
    background: var(--coral);
  }

  .theme-hue-slider {
    display: block;
    min-width: 0;
  }

  .theme-hue-slider input {
    width: 100%;
    height: 18px;
    margin: 0;
    appearance: none;
    border-radius: 3px;
    background: linear-gradient(to right, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
  }

  .theme-hue-slider input::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    appearance: none;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 2px rgba(41, 37, 36, 0.75);
  }

  .theme-hue-slider input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 2px rgba(41, 37, 36, 0.75);
  }

  .theme-rgb {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .theme-rgb label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
  }

  .theme-rgb input {
    width: 100%;
    min-width: 0;
    padding: 10px 4px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
