:root {
  --bg: #050e0d;
  --mint: #00d6c8;
  --text: #eaf2f0;
  --muted: #a0bdb7;
  --line: #24463f;
  --yellow: #ffe34d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Instrument Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: none;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Gabarito, sans-serif;
}
em {
  font-style: normal;
  color: var(--mint);
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 16px;
  background: var(--mint);
  color: var(--bg);
}
.skip:focus {
  top: 12px;
}
.nav {
  height: 88px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
}
.wordmark {
  width: 176px;
  height: auto;
  display: block;
}
.nav-note {
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.nav > nav {
  margin-left: auto;
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}
.nav a:hover,
footer a:hover {
  color: var(--mint);
}
.nav-cta {
  border: 1px solid #315e54;
  padding: 13px 18px;
  border-radius: 3px;
}
.nav-cta span {
  color: var(--mint);
  margin-left: 22px;
}
.mobile-menu {
  display: none;
}
.story {
  position: relative;
}
.stage {
  position: relative;
  min-height: 920px;
  padding-top: 135px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 77%, #0c353120, transparent 60%);
}
.chapter-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: auto;
  max-width: 1100px;
  padding: 0 24px;
}
.chapter {
  padding-bottom: 35px;
}
.chapter + .chapter {
  margin-top: 65px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.19em;
  color: var(--mint);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px #00d6c855;
  flex-shrink: 0;
}
h1 {
  font-size: clamp(55px, 6.5vw, 92px);
  line-height: 1.01;
  letter-spacing: -0.045em;
  margin: 22px 0;
}
h2 {
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.chapter h2 {
  margin: 24px 0;
}
.lede {
  font-size: 17px;
  line-height: 1.65;
  color: #a8c2be;
  max-width: 620px;
  margin: auto;
  text-wrap: pretty;
}
.primary {
  display: inline-flex;
  gap: 40px;
  align-items: center;
  padding: 17px 23px;
  background: var(--mint);
  color: #05100e;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  margin-top: 25px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary:hover {
  background: #08c6ba;
  transform: translateY(-2px);
}
.illustration {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  z-index: 1;
}
.world {
  width: 100%;
  display: block;
  overflow: visible;
}
.world .symbol {
  fill: none;
  stroke: #9bcac0;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.world .screen {
  fill: #0d2925;
  stroke: #578d81;
  stroke-width: 1.5;
}
.world .hidden-in-rest {
  opacity: 0;
}
/* story.js repaints the fill per theme at runtime; this is only the resting state. */
#desk-dashboard-label {
  font-size: 9px;
  fill: #b7e2d8;
}
.yellow {
  color: var(--yellow);
}
.tags {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 25px;
  font-size: 10px;
  color: #a8c2be;
}
.tags span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.chapters {
  position: absolute;
  right: 3%;
  top: 45%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 9px;
  z-index: 5;
}
.chapters a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 25px;
  color: #729b91;
}
.chapters i {
  display: block;
  width: 13px;
  height: 1px;
  background: #305c52;
  transition: width 0.3s;
}
.chapters a[aria-current] {
  color: var(--mint);
}
.chapters a[aria-current] i {
  width: 25px;
  background: var(--mint);
}
.story-marker {
  position: absolute;
  left: 0;
  pointer-events: none;
}
.enhanced .story {
  height: 460svh;
}
.enhanced .stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 650px;
  padding-top: max(115px, 14svh);
}
.enhanced .chapter-copy {
  height: 355px;
}
.enhanced .chapter {
  position: absolute;
  inset: 0 24px auto;
  opacity: 0;
  visibility: hidden;
}
.enhanced .chapter:first-child {
  opacity: 1;
  visibility: visible;
}
.enhanced .illustration {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1200px);
  height: 48svh;
  min-height: 300px;
}
.enhanced .world {
  height: 100%;
  object-fit: contain;
}
.section {
  padding: 100px 7%;
  border-top: 1px solid var(--line);
  scroll-margin-top: 0;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.section-top .eyebrow {
  justify-content: flex-start;
}
.tiny {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #7a9c93;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}
.section-heading h2 {
  font-size: clamp(38px, 4.3vw, 60px);
}
.section-heading > p {
  max-width: 350px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.capabilities article {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(145deg, #10342e55, transparent);
  transition: background 0.25s;
}
.capabilities article + article {
  border-left: 1px solid var(--line);
}
.capabilities article:hover {
  background: #10342e;
}
.card-num {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #83a89c;
}
.capabilities img {
  object-fit: contain;
  margin: 30px 0 20px;
}
.capabilities h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.capabilities p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 35px;
}
.card-foot {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: auto;
  font-size: 8px;
  letter-spacing: 0.07em;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #b9dad2;
}
.card-foot span, .card-foot .card-arrow {
  color: var(--mint);
  font-size: 16px;
}
.principle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
}
.principle > span:last-child {
  margin-left: auto;
  font-size: 10px;
  color: #7ca398;
}
.contact {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, #10433b80, transparent 65%);
  padding-top: 80px;
  padding-bottom: 95px;
}
.contact-orbit {
  position: relative;
  width: 130px;
  height: 120px;
  margin: 0 auto 32px;
  display: grid;
  place-items: center;
}
.contact-orbit img {
  width: 67px;
  height: 86px;
  transform: rotate(5deg);
}
.contact-orbit span {
  position: absolute;
  width: 130px;
  height: 65px;
  border: 1px solid #286158;
  border-radius: 50%;
  transform: rotate(-30deg);
}
.contact-orbit span + span {
  transform: rotate(35deg);
  width: 115px;
  height: 100px;
  border-color: #1a4941;
}
.contact h2 {
  font-size: clamp(64px, 7vw, 96px);
  margin: 22px 0;
}
.contact-copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.bottleneck-placeholder {
  max-width: 625px;
  margin: 35px auto 0;
  text-align: left;
}
.bottleneck-placeholder label {
  display: block;
  font-size: 13px;
  color: #c1ddd6;
  margin-bottom: 12px;
}
.input-shell {
  display: flex;
  padding: 7px;
  gap: 8px;
  border: 1px solid #36685c;
  border-radius: 4px;
  background: #0d2924;
}
.input-shell textarea {
  min-width: 0;
  width: 100%;
  border: 0;
  background: none;
  color: var(--text);
  padding: 12px;
  font-size: 13px;
}
.input-shell textarea::placeholder {
  color: #a4c3b5;
  opacity: 1;
}
.input-shell button {
  width: 47px;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #79cbb7;
  font-size: 24px;
  cursor: default;
}
.bottleneck-placeholder > p {
  font-size: 10px;
  color: #89aca0;
  margin-top: 12px;
  text-align: center;
}
footer {
  border-top: 1px solid var(--line);
  padding: 32px 5%;
  display: flex;
  align-items: center;
  gap: 35px;
  color: #7b9f95;
  font-size: 11px;
}
footer p {
  margin-right: auto;
}
footer .legal-links {
  display: flex;
  gap: 18px;
}
footer .legal-links a:hover,
footer .legal-links a:focus-visible {
  color: var(--mint);
}
footer img {
  display: block;
  height: auto;
}
footer > a:last-child {
  color: #b4d3ca;
}
@media (min-width: 1500px) {
  .section {
    padding-left: max(7%, calc((100% - 1250px) / 2));
    padding-right: max(7%, calc((100% - 1250px) / 2));
  }
}
@media (max-width: 1050px) {
  .nav-note {
    display: none;
  }
  .enhanced .stage {
    padding-top: 120px;
  }
  .chapter-copy {
    max-width: 900px;
  }
  .section-heading {
    gap: 30px;
  }
  .section-heading > p {
    max-width: 300px;
  }
  .capabilities article {
    padding: 24px;
  }
  .chapters {
    right: 2%;
  }
  .capabilities h3 {
    font-size: 25px;
  }
}
@media (max-width: 700px) {
  .nav {
    height: 72px;
    padding: 0 6%;
  }
  .wordmark {
    width: 148px;
  }
  .nav > nav {
    display: none;
  }
  .mobile-menu {
    display: block;
    margin-left: auto;
  }
  .mobile-menu summary {
    list-style: none;
    font-size: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    cursor: pointer;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary span {
    color: var(--mint);
    margin-left: 12px;
  }
  .mobile-menu nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 71px;
    padding: 15px 6%;
    background: #0d2924;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
  }
  .mobile-menu nav a {
    padding: 17px 0;
    font-size: 15px;
  }
  .enhanced .story {
    height: 420svh;
  }
  .enhanced .stage {
    padding-top: 112px;
    min-height: 650px;
  }
  .chapter-copy {
    padding: 0 22px;
  }
  .enhanced .chapter {
    inset: 0 22px auto;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.13em;
  }
  h1 {
    font-size: clamp(42px, 8.8vw, 62px);
    margin: 25px -6px 22px;
    line-height: 1.03;
  }
  .chapter h2 {
    font-size: clamp(35px, 8vw, 50px);
    margin-top: 26px;
    line-height: 1.08;
  }
  .lede {
    font-size: 14px;
    line-height: 1.65;
    max-width: 420px;
  }
  .desktop {
    display: none;
  }
  .primary {
    font-size: 12px;
    gap: 30px;
    margin-top: 22px;
    padding: 15px 20px;
  }
  .enhanced .illustration {
    height: 33svh;
    min-height: 215px;
    bottom: 70px;
    width: 118%;
    max-width: 760px;
  }
  .tags {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 8px;
    margin-top: 20px;
  }
  .tags span {
    padding: 7px 8px;
  }
  .chapters {
    top: auto;
    bottom: 26px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 15px;
  }
  .chapters a {
    gap: 5px;
    min-height: 30px;
  }
  .chapters i {
    width: 12px;
  }
  .chapters a[aria-current] i {
    width: 20px;
  }
  .section {
    padding: 65px 6%;
  }
  .tiny {
    display: none;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 41px;
  }
  .section-heading > p {
    margin-top: 22px;
    max-width: 100%;
    font-size: 14px;
  }
  .capabilities {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .capabilities article {
    padding: 28px;
  }
  .capabilities article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .capabilities img {
    width: 64px;
    height: 64px;
    margin: 22px 0 14px;
  }
  .capabilities h3 {
    font-size: 30px;
  }
  .principle {
    flex-wrap: wrap;
    line-height: 1.5;
    font-size: 11px;
  }
  .principle > span:last-child {
    margin-left: 18px;
  }
  .contact h2 {
    font-size: 65px;
  }
  .contact-copy {
    font-size: 15px;
  }
  .input-shell textarea {
    font-size: 12px;
  }
  .contact-orbit {
    margin-bottom: 22px;
  }
  footer {
    padding: 28px 6%;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 10px;
  }
  footer p {
    order: 3;
    flex-basis: 100%;
  }
  footer > span {
    margin-left: auto;
  }
  footer > a:last-child {
    margin-left: auto;
    order: 4;
  }
  footer img {
    width: 130px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .chapters i {
    transition: none;
  }
}
/* A readable linear story is the baseline if JavaScript is unavailable. */
body:not(.enhanced) .stage {
  padding-bottom: 100px;
}
body:not(.enhanced) .illustration {
  max-width: 1000px;
}
body:not(.enhanced) #jelly-happy {
  opacity: 1;
}
body:not(.enhanced) #bottleneck {
  top: 25%;
}
body:not(.enhanced) #breakthrough {
  top: 45%;
}
body:not(.enhanced) #flow {
  top: 65%;
}

/* Story v2: matching baselines, generous separation, source-art proportions. */
.enhanced .stage {
  display: grid;
  grid-template-rows: 290px minmax(0, 1fr);
  gap: 42px;
  padding: 132px 48px 24px;
  min-height: 740px;
}
.enhanced .chapter-copy {
  height: 100%;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-self: start;
}
.enhanced .chapter {
  inset: 0 16px auto;
  margin: 0;
  padding: 0;
}
.chapter h1,
.chapter h2 {
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}
.chapter > .eyebrow {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
}
.enhanced .illustration {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 1500px;
  margin: 0 auto;
}
.world {
  overflow: visible;
}
.source-art text {
  font-family: "Instrument Sans", sans-serif;
}
.desk-art text {
  font-family: "Instrument Sans", sans-serif;
  fill: #d9eae6;
}
.chapters {
  right: 16px;
  top: 50%;
  gap: 7px;
  transform: translateY(-50%);
}
.chapters a {
  min-height: 36px;
  gap: 5px;
  font-size: 9px;
}
.chapters i {
  width: 8px;
}
.chapters a[aria-current] i {
  width: 13px;
}
body:not(.enhanced) .chapter {
  position: relative;
  margin: 70px auto;
  max-width: 900px;
  padding: 0 24px;
}
body:not(.enhanced) .chapter:first-child {
  margin-top: 0;
}
body:not(.enhanced) .chapters {
  display: none;
}
body:not(.enhanced) #opening-bottle,
body:not(.enhanced) .ocean-layer,
body:not(.enhanced) #opening-aura {
  display: none;
}
body:not(.enhanced) #desk-scene,
body:not(.enhanced) #desk-jelly-happy {
  opacity: 1;
}
body:not(.enhanced) #desk-jelly-sleep {
  display: none;
}
body:not(.enhanced) #power-bolt {
  opacity: 1;
  transform: translate(638px, 320px) scale(0.65);
}
@media (max-width: 1050px) {
  .enhanced .stage {
    padding-top: 130px;
    grid-template-rows: 275px minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 700px) {
  .enhanced .stage {
    padding: 112px 37px 18px 12px;
    grid-template-rows: 285px minmax(0, 1fr);
    gap: 32px;
    min-height: 680px;
  }
  .enhanced .chapter {
    inset: 0 4px auto;
  }
  .chapter-copy {
    padding: 0;
  }
  .chapter h1,
  .chapter h2 {
    font-size: clamp(31px, 7.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0 0 22px;
  }
  .chapter > .eyebrow {
    top: -26px;
    font-size: 7px;
  }
  .chapter .lede {
    font-size: 14px;
  }
  .enhanced .illustration {
    width: 100%;
    max-width: none;
    min-height: 0;
    height: 100%;
  }
  .world {
    overflow: visible;
  }
  .chapters {
    left: auto;
    right: 6px;
    bottom: auto;
    top: 55%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 8px;
  }
  .chapters a {
    font-size: 8px;
    gap: 3px;
    min-height: 34px;
  }
  .chapters a[aria-current] i {
    width: 9px;
  }
  .chapters i {
    width: 6px;
  }
  .tags {
    font-size: 7px;
    gap: 4px;
  }
  .tags span {
    padding: 7px 6px;
  }
}

.eyebrow,
.tiny,
.card-num,
.card-foot,
.chapters,
.tags,
.principle > span:last-child {
  font-family: "IBM Plex Mono", monospace;
}

/* Opening-hero polish; spacing settles back before the system chapter. */
.intro .lede {
  color: #bfd8d1;
}
.intro .primary {
  gap: 12px;
  padding: 15px 21px;
  min-height: 48px;
}
.chapters a {
  color: #91b6aa;
  min-width: 32px;
  min-height: 40px;
  border-radius: 3px;
}
.chapters a:hover,
.chapters a:focus-visible {
  color: var(--mint);
  background: #163f36;
}
@media (min-width: 701px) {
  .enhanced .illustration {
    transform: translateY(calc(-42px * var(--opening-presence, 1)));
  }
}
@media (max-width: 700px) {
  .intro .primary {
    gap: 12px;
    padding: 13px 19px;
    min-height: 44px;
  }
  .chapters a {
    min-width: 27px;
  }
}

/* Underwater surfaces distinguish components without decorative outlines. */
.nav-cta,
.tags span,
.input-shell,
.mobile-menu summary {
  border: 0;
  background: #163e37;
}
.nav-cta:hover {
  background: #21584d;
}
.tags span {
  background: #133932;
  color: #b8d8cd;
}
.chapters a:hover,
.chapters a:focus-visible {
  background: #21584b;
}
.section,
footer {
  border-top: 0;
}
.build {
  background: #091d18;
}
.capabilities {
  border: 0;
  gap: 16px;
  overflow: visible;
}
.capabilities article {
  background: #102f28;
  border: 0 !important;
  border-radius: 5px;
}
.capabilities article:hover {
  background: #154338;
}
.card-foot {
  border-top: 0;
}
.contact {
  background:
    radial-gradient(ellipse at 50% 20%, #124b4080, transparent 65%), #091b17;
}
.contact-orbit span {
  border: 0;
  background: #18574840;
}
.contact-orbit span + span {
  border: 0;
  background: #206c5a28;
}
footer {
  background: #071712;
}
.input-shell {
  background: #0f2922;
}
.world .screen {
  stroke: none;
  fill: #17453c;
}
.world .symbol {
  stroke: #78aa9c;
}
.stage {
  isolation: isolate;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #091c17, #0b2922 65%, #091f19);
  opacity: var(--immersion, 0);
}
body:not(.enhanced) #departments-scene {
  opacity: 1;
}
body:not(.enhanced) #surface-middle,
body:not(.enhanced) #surface-near {
  display: none;
}

body:not(.enhanced) #bneck-scene,
body:not(.enhanced) #break-scene {
  display: none;
}
body:not(.enhanced) #static-final-inputs {
  opacity: 1;
}
body:not(.enhanced) #power-bolt {
  transform: translate(669.054px, 320px) scale(0.65);
}

/* The surface recedes overhead; the lower water becomes calm and dark. */
.stage::before {
  background: linear-gradient(180deg, #072f2b, #09201c 48%, #050e0d 100%);
  opacity: calc(var(--immersion, 0) * (1 - var(--depth, 0) * .72));
}
.build {
  background: linear-gradient(180deg, #050e0d, #091d18 40%, #091b17);
}
.contact {
  background: radial-gradient(ellipse at 50% 45%, #124b4040, transparent 65%),
    linear-gradient(180deg, #091b17, #071712);
}
.system-node { cursor: pointer; outline: none; }
.node-surface { transition: x .35s ease, width .35s ease, fill .25s; }
.node-label { opacity: 0; transition: opacity .2s; pointer-events: none; }
.system-node:is(:hover, :focus-visible, [aria-expanded="true"]) .node-surface { fill: #20574a; }
/* Technology circles navigate; only departments expand. */
.node-right .node-label { display: none; }
.node-right .node-surface { transition: fill .25s; }
.capabilities article.is-selected,
.capabilities article:target { background: #20574a; }
.capabilities article.is-selected h3,
.capabilities article:target h3 { color: #79cbb7; }
.capabilities article:focus { outline: none; }
.capabilities article:focus-visible { outline: none; background: #286859; }
.system-node:focus-visible .node-surface { fill: #286859; stroke: none; }
.capabilities img { filter: url(#icon-seaglass); }
body:not(.enhanced) #power-bolt { transform: translate(669.054px, 320px) scale(.52); }

/* Continuous handoff: technology circles travel into the service surfaces. */
.enhanced .story .illustration,
.enhanced .story .chapter-copy { opacity: calc(1 - var(--handoff, 0)); }
.enhanced .capabilities article { opacity: var(--card-reveal, 1); }
.handoff-active [id^="flow-output-"]:not(#flow-output-connectors):not(#flow-output-flow-particles) { visibility: hidden; }
.technology-handoff { position: fixed; inset: 0; z-index: 4; pointer-events: none; visibility: hidden; }
.handoff-node { position: absolute; left: 0; top: 0; background: #16433b; will-change: transform, width, height; }
.handoff-node img { position: absolute; object-fit: contain; filter: url(#icon-seaglass); }
@media (prefers-reduced-motion: reduce) {
  .technology-handoff { display: none; }
  .enhanced .capabilities article { opacity: 1; }
}
.handoff-active .node-right .node-surface { width: 124px !important; }
.handoff-active .node-label { opacity: 0 !important; }
.enhanced .capabilities article > :not(img) { opacity: var(--description-reveal, 1); }
@media (prefers-reduced-motion: reduce) {
  .enhanced .capabilities article > :not(img) { opacity: 1; }
}

.stage {
  background: radial-gradient(ellipse at 50% 77%, rgb(6 32 29 / calc(1 - var(--depth, 0))), transparent 65%);
}

/* 04 -> 05: the service cards become the contact mark's orbit surfaces. */
.enhanced .capabilities article {
  opacity: calc(var(--card-reveal, 1) * (1 - var(--card-departure, 0)));
}
.enhanced .contact-orbit span { opacity: var(--orbit-formed, 1); }
.contact-orbit img { transform-origin: 50% 65%; }
.contact-morph-layer { position: fixed; inset: 0; z-index: 4; pointer-events: none; visibility: hidden; }
.contact-morph-card { position: absolute; top: 0; left: 0; overflow: hidden; will-change: transform, width, height; }
.contact-morph-card img { position: absolute; object-fit: contain; filter: url(#icon-seaglass); }
@media (prefers-reduced-motion: reduce) {
  .contact-morph-layer { display: none; }
  .enhanced .capabilities article { opacity: 1; }
  .enhanced .contact-orbit span { opacity: 1; }
}

/* The complete chapter rail stays outside the fading, inert story stage. */
.enhanced .chapters { position: fixed; z-index: 20; }

/* Bring the opening message closer to the bottle without changing its type. */
.chapter.intro { transform: translateY(24px); }

/* A quieter CTA and deeper canvas keep the headline first in the hierarchy. */
.intro .primary { background: #00b8ad; }
.intro .primary:hover { background: #08c6ba; }
.nav-cta { background: #194a41; }
.nav-cta:hover { background: #20574a; }

/* Soft surfaces and related teal states, without stacked frames. */
.primary, .nav-cta, .tags span, .mobile-menu summary { border-radius: 6px; }
.primary, .nav-cta, .mobile-menu summary, .input-shell, .input-shell button {
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.input-shell { border-radius: 8px; }
.input-shell textarea { border-radius: 5px; outline: none; }
.input-shell:hover { background: #14362d; }
.input-shell:focus-within { background: #183e33; box-shadow: inset 0 0 0 1px #65b8a52b; }
.input-shell button:hover, .input-shell button:focus-visible {
  background: #357e6a;
  color: #eaf2f0;
}
.nav-cta:focus-visible, .mobile-menu summary:focus-visible,
.mobile-menu summary:hover, .mobile-menu[open] summary { background: #286859; }
.primary:focus-visible { background: #38cfc0; }
a:focus-visible:not(.primary):not(.nav-cta):not(.system-node) {
  color: #79cbb7;
  text-decoration: underline;
  text-underline-offset: 5px;
}
/* Keep platform high-contrast keyboard indicators usable. */
@media (forced-colors: active) {
  a:focus-visible, button:focus-visible, input:focus-visible,
  summary:focus-visible, .capabilities article:focus-visible,
  .system-node:focus-visible { outline: 2px solid Highlight; outline-offset: 3px; }
}

/* Match the lighter AI silhouette to the other service icons. */
#service-ai > img { transform: scale(1.1); transform-origin: center; }
