/* Board direction. Dark hero, floating labels, image panels. Loaded after home-arch.css. */

html[data-theme='dark'] body.site-arch,
body.site-arch {
  background: #050b14;
  color: #e7eef6;
}

html[data-theme='dark'] body.site-arch .ar-ways,
html[data-theme='dark'] body.site-arch .bd-ways {
  background: #050b14;
  color: #e7eef6;
}

html[data-theme='dark'] body.site-arch #products,
html[data-theme='dark'] body.site-arch .ar-flag,
html[data-theme='dark'] body.site-arch .ar-cred,
html[data-theme='dark'] body.site-arch .ar-method {
  background: #f4f7fb;
  color: #102033;
}

body.site-arch .bd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 48px;
  min-height: 0;
  background: transparent;
}

body.site-arch .bd-hero .ar-hero__copy {
  width: auto;
  margin: 0;
  padding: 0;
  color: #f7fbff;
}

body.site-arch .bd-hero h1,
body.site-arch .bd-hero .ar-lead,
body.site-arch .bd-hero .ar-counts span,
body.site-arch .bd-hero .ar-counts strong {
  color: #f7fbff;
}

body.site-arch .bd-hero .ar-lead,
body.site-arch .bd-hero .ar-counts span {
  color: #b7c6d6;
}

body.site-arch .bd-hero .ar-kicker {
  color: #8fdfff;
}

body.site-arch .bd-hero .ar-btn--solid {
  background: #f4fbff;
  color: #071018;
}

body.site-arch .bd-hero .ar-btn--line {
  color: #f4fbff;
  border-color: rgba(143, 223, 255, 0.55);
}

body.site-arch .bd-stage {
  position: relative;
  margin: 0;
  min-height: 460px;
  border-radius: 28px;
  overflow: visible;
}

body.site-arch .bd-stage img {
  width: 100%;
  height: clamp(520px, 62vh, 680px);
  object-fit: cover;
  border-radius: 28px;
  display: block;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(143, 223, 255, 0.28);
}

body.site-arch .bd-float {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(8, 18, 32, 0.72);
  border: 1px solid rgba(143, 223, 255, 0.45);
  color: #e7f7ff;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

body.site-arch .bd-float--a { top: 12%; left: 14px; }
body.site-arch .bd-float--b { top: 14%; right: 14px; }
body.site-arch .bd-float--c { bottom: 20%; left: 14px; }
body.site-arch .bd-float--d { bottom: 10%; right: 18px; }

body.site-arch .bd-ways {
  padding-bottom: 0;
}

body.site-arch .bd-ways h2 {
  color: #f7fbff;
  max-width: 16ch;
}

body.site-arch .bd-ways__head {
  padding-bottom: 28px;
}

body.site-arch .bd-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

body.site-arch .bd-panel {
  min-height: 460px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #f7fbff;
  position: relative;
  background: #07111c center/cover no-repeat;
}

body.site-arch .bd-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.15), rgba(5, 11, 20, 0.82));
}

body.site-arch .bd-panel > * {
  position: relative;
}

body.site-arch .bd-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
  color: #f7fbff;
  max-width: 12ch;
}

body.site-arch .bd-panel p {
  max-width: 36ch;
  color: #d5e2ee;
}

body.site-arch .bd-panel .ar-kicker {
  color: #8fdfff;
}

body.site-arch .bd-panel .ar-more {
  color: #f7fbff;
  border-color: rgba(247, 251, 255, 0.5);
}

body.site-arch .bd-panel--prod {
  background-image: linear-gradient(160deg, rgba(5, 20, 32, 0.2), rgba(5, 11, 20, 0.35)), url("/assets/visuals/hero-chamber.jpg");
}

body.site-arch .bd-panel--eng {
  background-image: linear-gradient(160deg, rgba(5, 11, 20, 0.25), rgba(5, 11, 20, 0.55)), url("/assets/visuals/systems-hub.jpg");
  padding-inline-end: 92px;
}

html[data-theme='dark'] body.site-home.site-arch .main-nav a.is-active,
body.site-home.site-arch .main-nav a.is-active {
  color: #f7fbff;
}

html[data-theme='dark'] body.site-home.site-arch .main-nav a.is-active::after,
body.site-home.site-arch .main-nav a.is-active::after {
  background: #8fdfff;
}

body.site-arch .ar-row:has(.bd-ui) {
  grid-template-columns: 72px minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: center;
}

body.site-arch .ar-row:has(.bd-ui) .ar-idx {
  align-self: start;
  margin-top: 14px;
}

body.site-arch .bd-ui {
  border-radius: 18px;
  overflow: hidden;
  background: #07111c;
  color: #e7eef6;
  box-shadow: 0 24px 50px rgba(16, 32, 51, 0.18);
  min-height: 280px;
}

body.site-arch .bd-ui header {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(143, 223, 255, 0.16);
}

body.site-arch .bd-ui header i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fdfff;
}

body.site-arch .bd-ui header b {
  margin-inline-start: 8px;
  font-weight: 650;
  font-size: 0.85rem;
}

body.site-arch .bd-ui__body {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 220px;
}

body.site-arch .bd-ui__body nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-inline-end: 1px solid rgba(143, 223, 255, 0.12);
  font-size: 0.85rem;
}

body.site-arch .bd-ui__body nav .is-on {
  color: #8fdfff;
}

body.site-arch .bd-ui__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 16px 0;
}

body.site-arch .bd-ui__tiles span,
body.site-arch .bd-ui__bar,
body.site-arch .bd-ui__chat span {
  display: block;
  height: 36px;
  border-radius: 8px;
  background: rgba(143, 223, 255, 0.16);
}

body.site-arch .bd-ui__bar {
  height: 12px;
  margin: 14px 16px 0;
}

body.site-arch .bd-ui__bar--short {
  width: 55%;
}

body.site-arch .bd-ui__chat {
  padding: 18px;
}

body.site-arch .bd-ui__chat p {
  margin: 0 0 12px auto;
  width: fit-content;
  max-width: 70%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(143, 223, 255, 0.18);
}

body.site-arch .bd-ui__chat div {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(143, 223, 255, 0.2);
}

body.site-arch .bd-ui__chat b {
  display: block;
  margin-bottom: 8px;
  color: #8fdfff;
  font-size: 0.8rem;
}

body.site-arch .bd-ui__chat span.short {
  width: 60%;
  margin-top: 8px;
}

body.site-arch .bd-ui__rows {
  list-style: none;
  margin: 0;
  padding: 8px 18px 18px;
}

body.site-arch .bd-ui__rows li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(143, 223, 255, 0.14);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

body.site-arch .bd-ui__rows li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-end: 10px;
  border-radius: 50%;
  background: #8fdfff;
}

body.site-arch .ar-eng {
  background:
    linear-gradient(180deg, rgba(5, 11, 20, 0.82), rgba(5, 11, 20, 0.92)),
    url("/assets/visuals/hero-chamber.jpg") center/cover no-repeat;
}

body.site-arch .bd-plate {
  margin: 28px 0 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body.site-arch .bd-plate img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

body.site-arch .ar-close {
  background:
    linear-gradient(180deg, rgba(5, 11, 20, 0.35), rgba(5, 11, 20, 0.88)),
    url("/assets/visuals/hero-chamber.jpg") center/cover no-repeat;
  min-height: 420px;
  display: grid;
  align-items: end;
}

@media (max-width: 980px) {
  body.site-arch .bd-hero,
  body.site-arch .bd-panels,
  body.site-arch .ar-row:has(.bd-ui) {
    grid-template-columns: 1fr;
  }

  body.site-arch .bd-hero {
    width: min(1180px, calc(100% - 28px));
    min-height: 0;
    padding-top: 12px;
  }

  body.site-arch .bd-hero h1 {
    color: #f7fbff;
    font-size: 2.7rem;
  }

  body.site-arch .bd-stage img {
    height: 280px;
  }

  body.site-arch .bd-float--a,
  body.site-arch .bd-float--c { left: 8px; }
  body.site-arch .bd-float--b,
  body.site-arch .bd-float--d { right: 8px; }

  body.site-arch .bd-panel {
    min-height: 300px;
    padding: 28px 22px;
  }

  body.site-arch .ar-row:nth-of-type(even) .bd-ui {
    order: 0;
  }

  body.site-arch .bd-hero .ar-actions {
    padding-inline-end: 68px;
  }
}
