.home-opening {
  --home-accent: #a9eed4;
  --home-line: #233c3d;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 76% 25%, #173130 0, #0b1b20 37%, transparent 69%),
    #081113;
}

.home-opening .wrap,
.home-fit,
.home-tools {
  width: min(100%, 1280px);
  max-width: 1280px;
}

.home-opening .wrap {
  width: min(calc(100% - 2 * clamp(20px, 5.5vw, 90px)), 1280px);
}

.home-experience-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  min-height: min(820px, 86svh);
  padding: clamp(40px, 5.3vw, 76px) 0 clamp(28px, 4vw, 56px);
}

.home-intro {
  position: relative;
  z-index: 2;
}

@media (min-width: 881px) {
  .home-intro {
    translate: 0 -28px;
  }

  .home-stage :is(.home-stage-poster, .home-stage-canvas) {
    mask-image:
      radial-gradient(ellipse 70% 63% at 50% 48%, #000 66%, transparent 100%),
      linear-gradient(90deg, transparent, #000 15%);
    mask-composite: intersect;
  }
}

.home-opening .home-motto {
  color: var(--home-accent);
  margin: 0 0 clamp(18px, 2.5vw, 36px);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.home-opening h1 {
  font-size: clamp(3.7rem, 6.8vw, 7rem);
  width: 112%;
  margin: 0;
  line-height: 0.91;
  letter-spacing: -0.061em;
  word-spacing: 0.045em;
}

.home-opening h1 em {
  display: block;
  font-style: normal;
  color: var(--home-accent);
}

.home-opening .home-lead {
  margin: clamp(20px, 2.6vw, 34px) 0 0;
  max-width: 35ch;
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  line-height: 1.55;
  color: #d2e2e5;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 24px;
  margin-top: clamp(24px, 3.2vw, 42px);
}

.home-button,
.home-text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  font-weight: 700;
}

.home-button {
  padding: 0.7rem 1.18rem;
  border-radius: 100px;
  background: var(--home-accent);
  color: #092521;
  text-decoration: none;
}

.home-button:hover {
  background: #d1fff1;
  color: #092521;
}

.home-text-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.home-opening .home-text-link:hover {
  color: var(--home-accent);
}

.home-stage {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-stage-art {
  position: relative;
  aspect-ratio: 100 / 69;
  width: 121%;
  margin-inline: -11% -10%;
  touch-action: pan-y pinch-zoom;
}

.home-stage-art::before {
  content: "";
  position: absolute;
  inset: 6% 1% 6%;
  background: radial-gradient(ellipse at center, #3d6c6248, #22595c1c 57%, transparent 75%);
  pointer-events: none;
}

.home-stage-poster,
.home-stage-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mask-image: radial-gradient(ellipse 70% 63% at 50% 48%, #000 66%, transparent 100%);
}

.home-stage-canvas,
.home-stage-art.is-rendered .home-stage-poster {
  visibility: hidden;
}

.home-stage-art.is-rendered .home-stage-canvas {
  visibility: visible;
}

.home-stage-art.is-targeting {
  cursor: pointer;
}

.home-stage-pin {
  visibility: hidden;
  position: absolute;
  top: var(--pin-y, 50%);
  left: var(--pin-x, 50%);
  display: flex;
  gap: 6px;
  align-items: center;
  transform: translate(-50%, calc(-100% - 8px));
  padding: 5px 9px;
  border: 1px solid #99dac684;
  border-radius: 4px;
  background: #102c2beb;
  color: #e9fff6;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 6px 14px #02070963;
}

.home-stage-pin::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b7fbe0;
}

.home-stage-pin.is-active {
  background: #b9f8df;
  color: #102b27;
  border-color: #ddfff1;
}

.home-stage-pin.is-active::before {
  background: #275c47;
}

.home-stage-art.is-rendered .home-stage-pin {
  visibility: visible;
}

.home-scene-choices {
  position: relative;
  margin: -2% 0 0 auto;
  width: min(100%, 500px);
  min-width: 0;
  padding: 5px 13px 0;
  border: 1px solid #456663;
  border-radius: 9px;
  background: #0c2021c7;
  scroll-margin-top: 115px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 4px;
}

.home-scene-choices legend {
  padding: 0 0.52rem;
  color: #c5e1da;
  font-size: 0.875rem;
}

.home-scene-choices label {
  display: inline-flex;
  flex: 1 0 auto;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  font-size: 0.875rem;
  color: #d2e4e4;
}

.home-scene-choices input:checked + label {
  border-color: var(--home-accent);
  color: var(--home-accent);
  background: #5dc2ad16;
}

.home-scene-choices input:focus-visible + label {
  outline: 2px solid var(--home-accent);
  outline-offset: -3px;
}

.home-scene-choices label:hover {
  background: #5dc2ad22;
}

.home-scene-notes {
  flex: 1 0 100%;
  min-height: 3.2rem;
  padding-top: 0.4rem;
}

.home-scene-notes p {
  display: none;
  margin: 0;
  font-size: 0.875rem;
}

#home-scene-overview:checked ~ .home-scene-notes [data-home-note="overview"],
#home-scene-service:checked ~ .home-scene-notes [data-home-note="service"],
#home-scene-team:checked ~ .home-scene-notes [data-home-note="team"],
#home-scene-finance:checked ~ .home-scene-notes [data-home-note="finance"] {
  display: block;
}

.home-reason {
  border-top: 1px solid var(--home-line);
  background: #091517;
}

.home-reason-line {
  display: grid;
  grid-template-columns: 1fr 0.68fr;
  align-items: end;
  gap: 22px 8vw;
  padding-block: clamp(48px, 8vw, 112px);
}

.home-reason h2 {
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 6rem);
  letter-spacing: -0.05em;
  line-height: 0.97;
}

.home-reason p {
  max-width: 39ch;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.home-fit {
  margin-bottom: 18px;
}

.home-fit > .scene-choices > .scene-states {
  margin-top: 26px;
}

.home-industries {
  background: radial-gradient(ellipse at 80% 55%, #143031, transparent 56%), #0c1a1e;
  border-block: 1px solid #264041;
}

.home-fit .scene-label {
  border-radius: 4px;
  border-width: 0 0 1px;
  border-color: #61827e;
}

.home-fit .scene-radio:checked + .scene-label {
  color: #c3fbe5;
  background: #24453f;
  border-color: #b2f5d8;
}

.home-fit .fit-composition {
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(20px, 4vw, 58px);
}

.home-fit .fit-composition h3 {
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  letter-spacing: -0.048em;
}

.home-fit .fit-composition .demo-mark {
  color: #a9eed4;
  font-size: 0.875rem;
}

.home-fit-visual {
  margin: 0;
  border: 1px solid #3b5d59;
  border-radius: 12px;
  background: #0b171e;
}

#business-example .product-flow li {
  border: 0;
  border-top: 1px solid #587374;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-opening ~ #features {
  background: #0b171e;
  color: #f0fdfa;
}

.home-opening ~ #features .product-section-head p,
.home-tool-copy p {
  color: #bdd3d3;
}

.home-tools .scene-label {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #587374;
  border-radius: 0;
  color: #d5e9e7;
}

.home-tools .scene-radio:checked + .scene-label {
  background: #173430;
  border-color: #a7ffe1;
  color: #a7ffe1;
}

.home-tools .scene-radio:focus-visible + .scene-label {
  outline-color: #a7ffe1;
}

.home-tools .scene-radio:nth-of-type(5):checked ~ .scene-states > .scene-state-4,
.home-tools .scene-radio:nth-of-type(6):checked ~ .scene-states > .scene-state-5,
.home-tools .scene-radio:nth-of-type(7):checked ~ .scene-states > .scene-state-6 {
  display: block;
}

.home-tool-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 70px);
  min-height: 385px;
}

.home-tool-image {
  width: 100%;
  height: auto;
  display: block;
  mask-image: radial-gradient(ellipse 70% 76% at center, #000 50%, transparent 95%);
}

.home-tool-copy h3 {
  margin: 0.5rem 0 0.85rem;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
}

.home-tool-copy .home-tool-label,
.home-tool-copy .home-text-link {
  color: #a7ffe1;
}

.home-tool-label {
  font-size: 0.875rem;
  font-weight: 700;
}

.home-opening ~ .product-close {
  background: radial-gradient(ellipse at 85% 42%, #143e3d, transparent 62%), #080f15;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .home-reason-line,
    .home-opening ~ .product-section .product-section-head {
      animation: home-editorial-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 32%;
    }
  }
}

@keyframes home-editorial-rise {
  from { opacity: 0.68; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 880px) {
  .home-experience-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 58px 32px;
  }

  .home-opening h1 {
    width: 100%;
    font-size: clamp(3.5rem, 10.4vw, 6.1rem);
  }

  .home-stage {
    width: min(100%, 610px);
    margin: -1% auto 0;
  }

  .home-stage-art {
    width: 100%;
    margin-inline: 0;
  }

  .home-scene-choices {
    margin-inline: auto;
  }

  .home-reason-line {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .home-fit .fit-composition {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .home-experience-hero {
    padding-top: 40px;
  }

  .home-opening h1 {
    max-width: none;
    font-size: clamp(2.5rem, 10.8vw, 4.2rem);
    letter-spacing: -0.045em;
  }

  .home-opening .home-motto {
    max-width: 32ch;
    letter-spacing: 0.045em;
  }

  .home-stage {
    margin-top: 8px;
  }

  .home-stage-pin {
    font-size: 0.69rem;
    padding-inline: 5px;
  }

  .home-scene-choices label {
    font-size: 0.8rem;
    padding-inline: 0.38rem;
  }

  .home-actions {
    gap: 9px 18px;
    font-size: 0.875rem;
  }

  .home-button {
    padding-inline: 0.9rem;
  }

  .home-tool-feature {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1rem;
  }
}
