/* Zorynt AI — About / Nia Scene 1
   Final CSS-only correction.
   Scope: About presentation only.
   No hero, HTML, JS, or Nia media changes.
*/

.about-home {
  position: relative;
  isolation: isolate;
  background: #0C1E33;
  color: #ffffff;
  min-height: min(88vh, 900px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.about-home__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(44px, 5vw, 82px);
  align-items: center;
  padding-top: clamp(58px, 6vw, 82px);
  padding-bottom: clamp(58px, 6vw, 82px);
}

.about-home__content {
  min-width: 0;
  max-width: 650px;
  color: #ffffff;
}

.about-home__content h2 {
  margin: 0 0 clamp(24px, 2.4vw, 34px);
  padding: 0;
  color: #ffffff;
  font-family: inherit;
  font-size: clamp(37px, 3.45vw, 46px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.about-home__content h2::before,
.about-home__content h2::after {
  content: none !important;
  display: none !important;
}

.about-home__copy {
  max-width: 54ch;
}

.about-home__copy p {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: clamp(17px, 1.32vw, 19px);
  line-height: 1.58;
  font-weight: 400;
  letter-spacing: 0;
}

.about-home__copy-group {
  margin-top: 20px;
}

.about-home__copy-group h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-home__copy-group p:last-child,
.about-home__copy > p:last-child {
  margin-bottom: 0;
}

.about-home__media {
  position: relative;
  min-width: 0;
  width: 100%;
}

/* Diffused blue depth BEHIND Nia — never a neon edge. */
.about-home__video-stage {
  position: relative;
  padding: clamp(10px, 1.2vw, 16px);
}

.about-home__video-stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: -8%;
  right: -8%;
  top: -14%;
  bottom: -18%;
  background:
    radial-gradient(
      ellipse at 50% 52%,
      rgba(49, 108, 255, 0.18) 0%,
      rgba(34, 81, 166, 0.10) 34%,
      rgba(12, 30, 51, 0.025) 58%,
      rgba(12, 30, 51, 0) 76%
    );
  filter: blur(34px);
  pointer-events: none;
}

.about-home__video-wrap {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #081625;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.about-home__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 0;
  outline: 0;
  background: #081625;
}

/* Nia identity: one clean desktop row. */
.nia-identity {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 14px clamp(10px, 1.2vw, 16px) 0;
  color: #ffffff;
  font-family: inherit;
}

.nia-identity__text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.nia-identity__text strong {
  flex: 0 0 auto;
  color: #ffffff;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.nia-identity__text span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
}

/* IMPORTANT:
   Completely reset the browser's default button appearance.
   The only visible control is the BLUE icon itself. */
.nia-play-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #5B91FF !important;
  cursor: pointer;
  line-height: 1;
  font: inherit;
  text-decoration: none;
}

.nia-play-button:hover {
  background: transparent !important;
  color: #78A5FF !important;
  transform: translateY(-1px);
}

.nia-play-button:focus,
.nia-play-button:active {
  background: transparent !important;
  box-shadow: none !important;
}

.nia-play-button:focus-visible {
  outline: 2px solid #78A5FF;
  outline-offset: 4px;
}

/* Play icon only at rest. */
.nia-play-button__play {
  display: block !important;
  width: 12px;
  height: 15px;
  margin: 0;
  color: currentColor;
}

/* Pause icon is completely hidden until JS applies .is-playing. */
.nia-play-button__pause {
  display: none !important;
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
}

.nia-play-button.is-playing .nia-play-button__play {
  display: none !important;
}

.nia-play-button.is-playing .nia-play-button__pause {
  display: inline-block !important;
}

/* Remove every possible leftover rule/dash/control artifact. */
.about-video-mini-controls,
.about-video-mini-button,
[data-about-mini-controls],
.nia-identity hr,
.nia-identity [role="separator"] {
  display: none !important;
}

.nia-identity::before,
.nia-identity::after,
.nia-identity__text::before,
.nia-identity__text::after,
.nia-play-button::before,
.nia-play-button::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 900px) {
  .about-home {
    min-height: auto;
  }

  .about-home__inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .about-home__content {
    max-width: 720px;
  }

  .about-home__copy {
    max-width: 62ch;
  }

  .about-home__media {
    max-width: 840px;
  }
}

@media (max-width: 640px) {
  .about-home__inner {
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .about-home__content h2 {
    margin-bottom: 28px;
    font-size: 40px;
  }

  .about-home__copy p {
    font-size: 17px;
    line-height: 1.56;
  }

  .about-home__video-wrap {
    border-radius: 12px;
  }

  .nia-identity {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .nia-identity__text {
    flex-wrap: wrap;
    row-gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nia-play-button {
    transition: none;
  }
}

/* FINAL LOCK: larger invisible tap target for touch devices.
   The visible blue icon does not change size. */
@media (hover: none), (pointer: coarse) {
  .nia-play-button {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin-top: -13px !important;
    margin-bottom: -13px !important;
    justify-content: flex-start !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .nia-play-button__play {
    width: 12px !important;
    height: 15px !important;
  }
}


/* ==========================================================
   ZORYNT HERO — PHONE / TABLET RESPONSIVE OVERRIDE
   September 1, 2026
   Scope is <=900px only. Desktop is untouched.
   ========================================================== */

@media (max-width: 900px) {
  body[data-page="home"] .final-hero {
    overflow-x: hidden !important;
    padding-top: 22px !important;
  }

  body[data-page="home"] .final-hero-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    padding-inline: 12px !important;
    overflow: visible !important;
  }

  body[data-page="home"] .final-hero-stage {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1592 / 660 !important;
    margin: 18px auto 0 !important;
    overflow: visible !important;
  }

  body[data-page="home"] .final-hero-art {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
  }

  body[data-page="home"] .final-current {
    width: 100% !important;
    height: 100% !important;
  }

  body[data-page="home"] .final-hotspot {
    touch-action: manipulation !important;
  }

  body[data-page="home"] .final-hotspot:hover {
    background: transparent !important;
    box-shadow: none !important;
  }

  body[data-page="home"] .final-popover {
    position: fixed !important;
    left: 16px !important;
    right: 16px !important;
    top: auto !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    z-index: 120 !important;
  }

  body[data-page="home"] #data-intelligence-approved-frame {
    max-height: none !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  body[data-page="home"] .final-hero-heading {
    width: 100% !important;
    padding-inline: 8px !important;
    text-align: center !important;
  }

  body[data-page="home"] #final-hero-title,
  body[data-page="home"] .final-hero-instruction {
    text-align: center !important;
  }

  body[data-page="home"] #final-hero-title {
    font-size: clamp(44px, 7vw, 56px) !important;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .final-hero-shell {
    padding-inline: 8px !important;
  }

  body[data-page="home"] .final-hero-heading {
    width: 100% !important;
    padding-inline: 6px !important;
    margin-bottom: 12px !important;
    text-align: left !important;
  }

  body[data-page="home"] #final-hero-title,
  body[data-page="home"] .final-hero-instruction {
    text-align: left !important;
  }

  body[data-page="home"] #final-hero-title {
    font-size: clamp(34px, 10.4vw, 44px) !important;
    line-height: .98 !important;
  }

  body[data-page="home"] .final-hero-instruction {
    margin-left: 0 !important;
    font-size: 17px !important;
    line-height: 1.42 !important;
  }

  body[data-page="home"] .final-hero-stage {
    width: calc(100% + 8px) !important;
    margin-left: -4px !important;
    margin-right: -4px !important;
  }

  body[data-page="home"] .final-popover {
    left: 12px !important;
    right: 12px !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
  }
}
