/* Bio2Twin Spatial Research Network v2.2 — wide flat hero band */
.b2t-space {
  --b2t-sp-ink: #f2f3f0;
  --b2t-sp-muted: rgba(242, 243, 240, 0.55);
  --b2t-sp-line: rgba(220, 230, 224, 0.30);
  --b2t-sp-flow: rgba(235, 240, 237, 0.58);
  --b2t-sp-bg: #020403;
  position: relative;
  height: 100vh;
  min-height: 720px;
  max-height: 980px;
  background:
    radial-gradient(ellipse 70% 55% at 62% 48%, rgba(12, 26, 19, 0.26), transparent 58%),
    var(--b2t-sp-bg);
  color: var(--b2t-sp-ink);
  overflow: hidden;
  max-width: 100%;
}

.b2t-space *,
.b2t-space *::before,
.b2t-space *::after {
  box-sizing: border-box;
}

.b2t-space__frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.b2t-space__copy {
  position: absolute;
  left: 4.5vw;
  top: 6.5%;
  z-index: 20;
  max-width: min(560px, 40vw);
  pointer-events: none;
}

.b2t-space__copy h2 {
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 700;
  max-width: 760px;
}

.b2t-space__copy > p {
  margin: 22px 0 0;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(242, 243, 240, 1);
  opacity: 0.55;
}

.b2t-space__privacy {
  max-width: 640px;
  margin-top: 0;
}

.b2t-space__privacy p {
  margin: 0;
}

.b2t-space__privacy-lead {
  margin-top: 26px;
  color: rgba(242, 243, 240, 1);
  opacity: 0.62;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.b2t-space__privacy-body {
  margin-top: 6px;
  color: rgba(242, 243, 240, 1);
  opacity: 0.38;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 640px;
}

.b2t-space__privacy-note {
  margin-top: 6px;
  color: rgba(242, 243, 240, 1);
  opacity: 0.34;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.b2t-space__privacy-links {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(242, 243, 240, 1);
  opacity: 0.45;
}

.b2t-space__privacy-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.b2t-space__privacy-links a:hover,
.b2t-space__privacy-links a:focus-visible {
  border-bottom-color: rgba(242, 243, 240, 0.45);
  outline: none;
}

.footer-legal {
  margin: 0;
  font-size: 11px;
  color: #828a84;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  border-bottom-color: rgba(130, 138, 132, 0.7);
  outline: none;
}

@media (max-width: 900px) {
  .b2t-space__privacy {
    max-width: 100%;
    margin-top: 0;
  }

  .b2t-space__privacy-lead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.55;
  }

  .b2t-space__privacy-body {
    font-size: 12px;
    line-height: 1.7;
    max-width: 100%;
  }

  .b2t-space__privacy-note,
  .b2t-space__privacy-links {
    font-size: 11px;
  }


}


.b2t-space__stage {
  position: absolute;
  inset: 0;
  max-width: 100%;
}

.b2t-space__left {
  position: absolute;
  z-index: 30;
  left: 4.5vw;
  top: 42%;
  width: min(300px, 20vw);
  display: grid;
  gap: 12px;
  pointer-events: auto;
}

.b2t-space__input {
  display: grid;
  grid-template-columns: 40px 1fr 22px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid rgba(220, 230, 224, 0.42);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: rgba(5, 10, 8, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  z-index: 31;
}

.b2t-space__input:hover,
.b2t-space__input:focus-visible {
  background: rgba(10, 18, 14, 0.78);
  border-color: rgba(220, 230, 224, 0.62);
  transform: translateX(3px);
  outline: none;
}

.b2t-space__input b {
  display: block;
  font-size: 21px;
  font-weight: 560;
}

.b2t-space__input small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-top: 3px;
}

.b2t-space__input i {
  font-style: normal;
  font-size: 18px;
  color: rgba(220, 230, 224, 0.7);
}

.b2t-space__input-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(220, 230, 224, 0.28);
  color: rgba(220, 230, 224, 0.8);
  font-size: 17px;
}

.b2t-space__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

#b2t-source-lines-base path,
#b2t-research-lines-base path {
  fill: none;
  stroke: var(--b2t-sp-line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 0.55s ease;
}

#b2t-source-lines-flow path,
#b2t-research-lines-flow path {
  fill: none;
  stroke: var(--b2t-sp-flow);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 1 16;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.b2t-space.is-active #b2t-source-lines-base path.is-on,
.b2t-space.is-active #b2t-research-lines-base path.is-on {
  opacity: var(--b2t-base-op, 0.55);
}

.b2t-space.is-active #b2t-source-lines-flow path.is-on,
.b2t-space.is-active #b2t-research-lines-flow path.is-on {
  opacity: var(--b2t-flow-op, 0.62);
  animation-name: b2tSpFlowA, b2tSpFlowB, b2tSpFlowC, b2tSpFlowD;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.b2t-space.is-active #b2t-source-lines-flow path.is-on.b2t-spd-a,
.b2t-space.is-active #b2t-research-lines-flow path.is-on.b2t-spd-a { animation-name: b2tSpFlowA; animation-duration: 3.5s; }
.b2t-space.is-active #b2t-source-lines-flow path.is-on.b2t-spd-b,
.b2t-space.is-active #b2t-research-lines-flow path.is-on.b2t-spd-b { animation-name: b2tSpFlowB; animation-duration: 4.2s; }
.b2t-space.is-active #b2t-source-lines-flow path.is-on.b2t-spd-c,
.b2t-space.is-active #b2t-research-lines-flow path.is-on.b2t-spd-c { animation-name: b2tSpFlowC; animation-duration: 5.1s; }
.b2t-space.is-active #b2t-source-lines-flow path.is-on.b2t-spd-d,
.b2t-space.is-active #b2t-research-lines-flow path.is-on.b2t-spd-d { animation-name: b2tSpFlowD; animation-duration: 6.0s; }

@keyframes b2tSpFlowA { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -90; } }
@keyframes b2tSpFlowB { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -90; } }
@keyframes b2tSpFlowC { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -90; } }
@keyframes b2tSpFlowD { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -90; } }

#b2t-particles circle,
#b2t-source-particles circle {
  fill: #e8ece9;
  opacity: 0.42;
  pointer-events: none;
}

.b2t-space__person {
  position: absolute;
  z-index: 16;
  left: 42%;
  top: 56%;
  width: 176px;
  height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: #101512;
  pointer-events: none;
  opacity: 0.92;
  transition: opacity 0.5s ease;
}

.b2t-space.is-active .b2t-space__person {
  opacity: 1;
}

.b2t-space__person-sky {
  position: absolute;
  inset: 0 0 48%;
  background: linear-gradient(#6f7c7e, #8f9591);
}

.b2t-space__person-land {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(#3f4a3a, #222c24 44%, #141a16);
}

.b2t-space__person-figure {
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 54px;
  height: 86px;
  transform: translateX(-50%);
}

.b2t-space__person-head {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 22px;
  height: 26px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #0b0d0c;
}

.b2t-space__person-torso {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 54px;
  height: 62px;
  border-radius: 26px 26px 8px 8px;
  transform: translateX(-50%);
  background: #0b0d0c;
}

.b2t-space__cloud {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.b2t-space__node {
  position: absolute;
  border: 1px solid rgba(220, 230, 224, 0.26);
  border-radius: 4px;
  background: rgba(8, 12, 10, 0.48);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.b2t-space__node.is-visible {
  opacity: var(--o, 0.48);
  transform: translate(-50%, -50%) scale(1);
}

.b2t-space.is-flowing .b2t-space__node.is-visible {
  animation: b2tSpNodeDrift var(--drift, 5.2s) ease-in-out infinite alternate;
}

@keyframes b2tSpNodeDrift {
  from { transform: translate(-50%, -50%) scale(1); }
  to { transform: translate(calc(-50% + var(--dx, 2px)), calc(-50% + var(--dy, -2px))) scale(1.02); }
}

.b2t-space__node::before {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(235, 240, 237, 0.24);
  border-radius: 50%;
}

.b2t-space__node::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44%;
  height: 1px;
  background: rgba(235, 240, 237, 0.2);
  transform: translate(-50%, -50%) rotate(var(--a, 20deg));
}

.b2t-space__label {
  position: absolute;
  z-index: 18;
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  pointer-events: none;
}

.b2t-space__label.is-visible {
  opacity: 1;
  transform: none;
}

.b2t-space__label b {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 560;
  margin-bottom: 6px;
  letter-spacing: 0.12em;
}

.b2t-space__label span {
  display: block;
}

/* Natural placements across right panoramic band (~48–96%) */
.b2t-space__label--science { left: 52%; top: 16%; }
.b2t-space__label--biology { left: 78%; top: 14%; }
.b2t-space__label--agents { left: 68%; top: 46%; }
.b2t-space__label--world { left: 54%; top: 72%; }
.b2t-space__label--model { left: 84%; top: 70%; }

.b2t-space__scroll {
  display: none;
}

@media (max-width: 900px) {
  .b2t-space {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 56px 0 48px;
    overflow-x: hidden;
  }

  .b2t-space__frame {
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 0 20px;
  }

  .b2t-space__copy {
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
  }

  .b2t-space__copy h2 {
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.08;
  }
  .b2t-space__copy > p {
    font-size: 17px;
    margin-top: 18px;
    line-height: 1.5;
  }

  .b2t-space__stage {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .b2t-space__left {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }

  .b2t-space__svg {
    position: relative;
    height: 180px;
    opacity: 0.5;
  }

  .b2t-space__person {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 4px auto;
  }

  .b2t-space__cloud {
    position: relative;
    min-height: 120px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .b2t-space__node {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    height: 32px !important;
    animation: none !important;
  }

  .b2t-space__node.is-visible {
    opacity: 0.5 !important;
    transform: none !important;
  }

  .b2t-space__label {
    position: relative;
    left: auto !important;
    top: auto !important;
    opacity: 1 !important;
    transform: none !important;
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2t-space.is-active #b2t-research-lines-flow path.is-on,
  .b2t-space.is-flowing .b2t-space__node.is-visible {
    animation: none !important;
  }

  .b2t-space__node,
  .b2t-space__label,
  #b2t-research-lines-base path,
  #b2t-research-lines-flow path {
    transition: none !important;
  }
}
