/* Shared chrome and home-page components. */
@import url("thermal.css");

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-dark);
  color: var(--color-on-dark);
  border-bottom: 1px solid rgba(213, 186, 215, 0.28);
}

.site-header :focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  width: min(var(--wrap), calc(100% - 2rem));
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 0.55rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 3;
}

.brand img {
  height: 2.15rem;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.35rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--color-on-dark);
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--color-on-dark);
  border-radius: 2px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-list,
.dropdown ul,
.footer-links,
.logo-track,
.step-list,
.stat-grid,
.card-grid,
.flow-list,
.quote-grid,
.lab-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav {
  flex: 1 1 100%;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-link,
.nav-btn,
.dropdown a {
  text-decoration: none;
}

.nav-link,
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.nav-link:hover,
.nav-btn:hover,
.nav-item.is-open > .nav-btn,
.nav-link[aria-current="page"] {
  background: rgba(213, 186, 215, 0.16);
  color: var(--color-white);
}

.logo-track {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0 0;
  overflow-x: auto;
}

.logo-slot {
  flex: 0 0 auto;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px dashed var(--color-border);
  border-radius: 0.7rem;
  background: var(--color-placeholder-bg);
  color: var(--color-placeholder-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-link-cta {
  border: 1px solid var(--color-lilac);
  border-radius: 999px;
}

.chev {
  width: 0.7rem;
  height: 0.5rem;
}

.has-sub.is-open > .nav-btn .chev,
.has-sub:focus-within > .nav-btn .chev {
  transform: rotate(180deg);
}

.has-sub {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.has-sub > .nav-link {
  flex: 1 1 auto;
}

.has-sub > .nav-btn {
  flex: 0 0 auto;
  justify-content: center;
  min-width: 2.75rem;
  padding-left: 0.4rem;
  padding-right: 0.45rem;
}

.dropdown {
  display: none;
  flex: 1 0 100%;
  min-width: 16rem;
  padding: 0.45rem;
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
}

.dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.4rem;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
}

.dropdown a:focus-visible {
  outline: var(--focus-dark);
  outline-offset: 2px;
}

.dropdown a:hover,
.dropdown a:focus-visible,
.dropdown a[aria-current="page"] {
  background: var(--color-light);
  color: var(--color-button);
  text-decoration-color: currentColor;
}

.has-sub.is-open > .dropdown,
.has-sub:focus-within > .dropdown {
  display: block;
}

@media (max-width: 1279px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    width: min(22rem, 92vw);
    height: 100vh;
    height: 100dvh;
    padding: calc(var(--header-h) + 0.5rem) 1rem 2rem;
    overflow: auto;
    background: var(--color-dark-2);
    visibility: hidden;
    transform: translateX(100%);
  }

  .js .site-nav.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  .js body.nav-open {
    overflow: hidden;
  }

  .dropdown {
    position: static;
    min-width: 0;
    margin: 0 0 0.35rem 0.7rem;
    padding: 0.2rem 0 0.4rem;
    background: transparent;
    color: var(--color-on-dark);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown a {
    color: var(--color-on-dark);
    padding: 0.45rem 0.55rem;
  }

  .dropdown a:hover,
  .dropdown a:focus-visible,
  .dropdown a[aria-current="page"] {
    background: rgba(213, 186, 215, 0.14);
    color: var(--color-white);
  }
}

@media (min-width: 1280px) {
  .header-bar {
    flex-wrap: nowrap;
    width: min(var(--wrap), calc(100% - 3rem));
  }

  .nav-toggle {
    display: inline-flex;
    order: 0;
    flex: 0 0 auto;
  }

  .brand {
    flex: 0 0 auto;
  }

  .site-nav {
    flex: 1 1 auto;
  }

  .site-nav {
    position: static;
    visibility: visible;
    transform: none;
    flex: 1 1 auto;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .header-bar {
    width: min(92rem, calc(100% - 1.25rem));
  }

  .brand img {
    height: 1.85rem;
  }

  .nav-link,
  .nav-btn {
    padding: 0.2rem 0.32rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .nav-link:hover,
  .nav-btn:hover,
  .nav-item.is-open > .nav-btn,
  .nav-link[aria-current="page"] {
    background: transparent;
    color: var(--color-lilac);
  }

  .nav-link[aria-current="page"] {
    box-shadow: inset 0 -1px 0 var(--color-lilac);
    border-radius: 0;
  }

  .has-sub > .nav-link {
    flex: 0 1 auto;
    padding-right: 0.15rem;
  }

  .has-sub > .nav-btn {
    min-width: 1.7rem;
    min-height: 2.4rem;
    padding-left: 0.1rem;
    padding-right: 0.35rem;
  }

  .has-sub:hover > .nav-link,
  .has-sub:focus-within > .nav-link,
  .has-sub.is-open > .nav-link,
  .has-sub:hover > .nav-btn,
  .has-sub:focus-within > .nav-btn,
  .has-sub.is-open > .nav-btn {
    background: transparent;
    color: var(--color-lilac);
  }

  .dropdown {
    position: absolute;
    top: calc(100% - 0.15rem);
    left: 0;
    z-index: 40;
    width: max-content;
    min-width: 17.5rem;
    max-width: min(26rem, calc(100vw - 2rem));
    background: #fff;
    color: #281848;
    border: 1px solid rgba(40, 24, 72, 0.14);
    box-shadow: 0 18px 42px rgba(40, 24, 72, 0.22);
  }

  .nav-item.nav-end > .dropdown {
    left: auto;
    right: 0;
  }

  .nav-item.nav-cta {
    margin-left: auto;
  }

  .dropdown {
    padding: 0.3rem 0;
    border-radius: 0.35rem;
  }

  .dropdown li + li {
    border-top: 1px solid rgba(40, 24, 72, 0.12);
  }

  .dropdown a {
    border-radius: 0;
    padding: 0.8rem 1.05rem;
    color: #281848;
    background: transparent;
    text-decoration: none;
  }

  .dropdown a:hover,
  .dropdown a:focus-visible,
  .dropdown a[aria-current="page"] {
    background: rgba(154, 106, 163, 0.14);
    color: var(--color-dark);
    text-decoration: none;
  }
}

@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .has-sub:hover > .dropdown {
    display: block;
  }

  .has-sub:hover > .nav-btn .chev {
    transform: rotate(180deg);
  }
}

.site-footer {
  background: var(--color-dark);
  color: var(--color-on-dark);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: var(--color-on-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-white);
  text-decoration-color: currentColor;
}

.site-footer :focus-visible {
  outline: var(--focus);
}

.footer-brand img {
  height: 2.4rem;
  width: auto;
}

.footer-tagline {
  margin: 1.35rem 0 0;
  max-width: 20rem;
  color: var(--color-lilac);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.footer-brand-col > p,
.footer-brand-col > address {
  display: block;
  margin: 1.15rem 0 0;
  max-width: 20rem;
  line-height: 1.5;
}

.footer-brand-col address {
  font-style: italic;
}

.footer-brand-col .footer-cta {
  margin-top: 1.45rem;
}

.footer-grid > div:nth-child(4) .footer-links {
  gap: 1.65rem;
}

.footer-grid > div:nth-child(4) .footer-links a {
  min-height: 0;
  align-items: flex-start;
  line-height: 1.35;
  padding: 0.15rem 0 0.2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-inline: auto;
}

.footer-heading {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-lilac);
}

.footer-links {
  display: grid;
  gap: 0.15rem;
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
}

.text-link,
p a {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
}

.footer-contact p,
.footer-contact address,
.footer-contact li {
  color: var(--color-on-dark);
  font-style: normal;
}

.social-list,
.meta-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(213, 186, 215, 0.28);
  color: var(--color-lilac);
  font-size: 0.95rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: minmax(14rem, 1.35fr) repeat(5, minmax(0, 0.7fr));
  }
}

.site-footer a.footer-cta {
  color: #fff;
  text-decoration: none;
  background: #9a6aa3;
  margin-top: 0.4rem;
}

.site-footer a.footer-cta:hover {
  color: #fff;
  background: #7f5d84;
}

.footer-base {
  gap: 1rem;
}

.footer-legal-inline {
  display: flex;
  gap: 1rem;
}

.footer-legal-inline a {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.6rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--color-button);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-button-hover);
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-lilac);
}

.btn-ghost:hover {
  background: rgba(213, 186, 215, 0.16);
  color: var(--color-white);
}

.btn-line {
  background: transparent;
  color: var(--color-button);
  border-color: var(--color-deep);
}

.btn-line:hover {
  background: var(--color-light);
  color: var(--color-button-hover);
}

.text-link {
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.section {
  padding: var(--space-section) 0;
}

.section-light {
  background: rgba(248, 248, 248, 0.58);
}

.section-dark {
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.section-dark h2,
.section-dark h3,
.hero h1 {
  color: var(--color-on-dark);
}

.section-dark .layer-card h3,
.section-dark .layer-card .kicker {
  color: var(--color-dark);
}

.section-dark .layer-card .kicker {
  color: var(--color-link);
}

.section-dark .eyebrow,
.section-dark .lead,
.section-dark .muted {
  color: var(--color-on-dark-muted);
}

.section-dark a:not(.btn) {
  color: var(--color-white);
}

.section-dark a:not(.btn):hover {
  color: var(--color-lilac);
}

.section-dark :focus-visible,
.hero :focus-visible {
  outline: var(--focus);
}

.page-hero :focus-visible {
  outline: var(--focus-dark);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background: var(--color-dark);
  color: var(--color-on-dark);
  overflow: hidden;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scrim {
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(40, 24, 72, 0.5) 0%,
    rgba(48, 24, 80, 0.28) 20%,
    rgba(40, 24, 72, 0.12) 42%,
    rgba(40, 24, 72, 0.04) 62%,
    rgba(40, 24, 72, 0) 78%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4.75rem;
  max-width: 46rem;
}

.hero .tagline {
  margin: 0.9rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.2;
  color: #f8f8f8;
}

.hero .lead {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.hero .cluster {
  margin-top: 1.5rem;
}

.purpose-grid,
.split,
.card-grid,
.stat-grid,
.quote-grid,
.lab-grid,
.arch-layout {
  display: grid;
  gap: 1.25rem;
}

.purpose-card,
.layer-card,
.card,
.stat-card,
.quote,
.lab-card,
.flow-list li,
.faq-note {
  background: var(--color-white);
  border: 1px solid rgba(213, 186, 215, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.purpose-card,
.layer-card,
.card,
.stat-card,
.quote,
.lab-card {
  padding: 1.45rem 1.4rem;
}

.purpose-card h2,
.layer-card h3,
.card h3,
.stat-card h3,
.quote figcaption,
.lab-card h3 {
  margin-bottom: 0.55rem;
}

.kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-link);
}

.card,
.lab-card,
.layer-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 100%;
}

.card p,
.layer-card p,
.lab-card p,
.purpose-card p {
  color: var(--color-text-muted);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.card:hover,
.lab-card:hover,
.layer-card:hover {
  border-color: var(--color-primary);
}

a.card {
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  color: inherit;
}

.card-more,
.quiet-link {
  margin-top: auto;
  color: var(--color-link);
  font-weight: 600;
  text-decoration: none;
}

.card-more:hover,
.card-more:focus-visible,
.quiet-link:hover,
.quiet-link:focus-visible {
  color: var(--color-dark);
  text-decoration: none;
}

.card .index-no,
.lab-card .index-no {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-deep);
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  color: var(--color-deep);
  background: rgba(213, 186, 215, 0.38);
}

.icon-badge svg {
  width: 1.45rem;
  height: 1.45rem;
}

.line-art {
  width: 100%;
  height: auto;
  color: var(--color-deep);
}

.section-dark .line-art {
  color: var(--color-lilac);
}

.art-panel .line-art {
  color: var(--color-deep);
}

.stack-layers {
  margin-top: 1.25rem;
}

.line-art .draw {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-light .line-art,
.art-panel .line-art {
  color: var(--color-deep);
}

.art-panel {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(213, 186, 215, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213, 186, 215, 0.18) 1px, transparent 1px),
    var(--color-white);
  background-size: 28px 28px, 28px 28px, auto;
}

.callout {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--color-primary);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 0.6rem 0.6rem 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(213, 186, 215, 0.4);
  color: var(--color-on-dark);
}

.stat-card h3,
.stat-card p {
  color: var(--color-lilac);
}

.stat-value {
  min-height: 4.5rem;
  display: flex;
  align-items: flex-end;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
}

.stat-value .ph {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.logo-marquee {
  display: flex;
  overflow: hidden;
  gap: 0.8rem;
}

.logo-track {
  display: flex;
  flex: 0 0 auto;
  gap: 0.8rem;
  min-width: max-content;
}

.logo-slot {
  display: grid;
  place-items: center;
  width: min(16rem, 78vw);
  min-height: 6.5rem;
  padding: 0.8rem;
  text-align: center;
  background: var(--color-white);
  border: 1px dashed var(--color-deep);
  border-radius: var(--radius);
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}

.quote blockquote {
  margin: 0;
  color: var(--color-text-muted);
}

.quote figcaption {
  margin-top: auto;
  color: var(--color-text);
  font-size: 1rem;
}

.flow-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
  counter-reset: flow;
}

.flow-list li {
  padding: 0.85rem 0.95rem 0.85rem 3.2rem;
  position: relative;
  color: var(--color-text);
  background: var(--color-white);
  border-color: var(--color-border);
}

.flow-list li::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 0.75rem;
  top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-deep);
}

.flow-list strong {
  display: block;
  color: var(--color-dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.flow-list span {
  color: var(--color-text-muted);
}

@media (min-width: 800px) {
  .flow-list {
    grid-template-columns: 1fr 1fr;
  }
}

.accordion {
  display: grid;
  gap: 0.65rem;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  overflow: hidden;
}

.accordion-heading {
  margin: 0;
  font-size: 1.15rem;
}

.accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 0;
  background: transparent;
  color: var(--color-dark);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.accordion-trigger:hover {
  background: var(--color-light);
}

.accordion-icon {
  position: relative;
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--color-deep);
  border-radius: 1px;
}

.accordion-icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.accordion-icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.accordion-panel {
  padding: 0 1rem 1rem;
  color: var(--color-text-muted);
}

.accordion-panel[hidden] {
  display: none;
}

.closing {
  text-align: left;
}

.closing .cluster {
  margin-top: 1.25rem;
}

.contact-line {
  margin-top: 1rem;
  color: var(--color-lilac);
}

.contact-line a {
  color: var(--color-white);
  font-weight: 600;
}

.page-hero {
  padding: clamp(3.25rem, 6vw, 5.25rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--color-light);
  color: var(--color-text);
}

.page-hero .eyebrow {
  color: var(--color-link);
}

.page-hero h1 {
  color: var(--color-dark);
}

.page-hero p {
  max-width: 40rem;
  color: var(--color-text-muted);
  margin-top: 0.85rem;
}

.page-hero p a {
  color: var(--color-link);
  font-weight: 600;
}

.page-hero .btn-ghost {
  color: var(--color-button);
  border-color: var(--color-deep);
  background: transparent;
}

.page-hero .btn-ghost:hover {
  background: rgba(127, 93, 132, 0.1);
  color: var(--color-button-hover);
}

.page-hero .cluster {
  margin-top: 1.25rem;
}

.missing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-note {
  margin-top: 1rem;
  color: var(--color-text-muted);
}

.prototype-banner {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-deep);
  border-radius: var(--radius);
  background: var(--color-placeholder-bg);
  color: var(--color-placeholder-text);
}

.prototype-banner strong {
  color: var(--color-dark);
  letter-spacing: 0.04em;
}

.enquiry-form {
  display: grid;
  gap: 0.9rem;
}

.enquiry-details address {
  margin-top: 0.85rem;
  font-style: normal;
  color: var(--color-text);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--color-text);
  font-weight: 600;
}

::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--color-deep);
  border-radius: 0.5rem;
  background: var(--color-white);
  color: var(--color-text);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.enquiry-form {
  position: relative;
}

.enquiry-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.enquiry-form legend {
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.field-hint {
  margin: 0.25rem 0 0;
  color: var(--color-text-muted);
  font-weight: 400;
}

.field-error {
  margin: 0.3rem 0 0;
  color: #6e1233;
  font-weight: 600;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #6e1233;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.journey-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.journey-list li + li {
  margin-top: 0.35rem;
}

@media (min-width: 700px) {
  .card-grid.platforms,
  .quote-grid,
  .purpose-grid,
  .split,
  .lab-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.industries {
    grid-template-columns: 1fr 1fr;
  }

  .arch-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .card-grid.industries,
  .lab-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .purpose-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1280px) {
  .hero-copy {
    padding-bottom: 5.5rem;
  }
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
  color: var(--color-lilac);
}

.page-hero .breadcrumbs a {
  color: var(--color-link);
  font-weight: 600;
}

.page-hero .breadcrumbs [aria-current="page"] {
  color: var(--color-text);
}

.page-hero .breadcrumbs li:not(:last-child)::after {
  color: var(--color-deep);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--color-dark);
  color: var(--color-on-dark);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.cta-band .lead {
  max-width: 40rem;
}

/* Comparison slider.
   The clipped layer's artwork must stay the full stage width, or the
   base stylesheet's max-width:100% squashes it to the clip. main.js
   sets that width from the stage. The range sits in normal flow so
   the figure has height and the focus ring is not clipped. Without
   JS the control is hidden and both layers stack at full width. */
.compare {
  max-width: 48rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-light);
  color: var(--color-text);
}

.compare-stage {
  position: relative;
  overflow: hidden;
  line-height: 0;
  background: var(--color-light);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}

.compare-art {
  display: block;
  width: 100%;
  height: auto;
}

.compare-top {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid var(--color-dark);
}

.compare-top .compare-art {
  width: calc(100vw - 2rem);
  max-width: 48rem;
  height: auto;
}

@media (min-width: 768px) {
  .compare-top .compare-art {
    width: calc(100vw - 3rem);
  }
}

.compare figcaption,
.compare-controls {
  padding: 0.75rem 1rem 0;
}

.compare-controls {
  padding-bottom: 0.9rem;
}

.compare-range {
  display: block;
  width: 100%;
  height: 2.75rem;
  margin: 0.35rem 0 0;
  accent-color: var(--color-dark);
}

html:not(.js) .compare-controls {
  display: none;
}

html:not(.js) .compare-top {
  position: static;
  width: auto;
  overflow: visible;
  border-right: 0;
  border-top: 2px solid var(--color-dark);
}

html:not(.js) .compare-top .compare-art {
  width: 100%;
  max-width: 100%;
}

.thermal-cell:focus,
.thermal-cell:focus-visible,
.hero .thermal-cell:focus,
.hero .thermal-cell:focus-visible,
.page-hero .thermal-cell:focus,
.page-hero .thermal-cell:focus-visible {
  outline: none;
}

.media-grid {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.media-grid > li,
.shot {
  margin: 0;
  min-width: 0;
}

.media-grid img,
.shot img,
.thumb img,
.practice-art img,
.mock-mini img,
.hero-figure > img,
.card > .shot-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.55rem;
}

.thumb img,
.practice-art img,
.mock-mini img,
.card > .shot-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.media-grid figcaption,
.shot figcaption,
.hero-figure > figcaption,
.deliver-gallery figcaption,
.mode-row figcaption {
  margin-top: 0.95rem;
  color: #281848;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.shot,
.hero-figure,
.saas-card,
.card,
.deliver-gallery figure {
  position: relative;
}

.shot:has(img[src*="dashboards/"])::before,
.hero-figure:has(img[src*="dashboards/"])::before,
.saas-card:has(img[src*="dashboards/"])::before,

@media (min-width: 800px) {
  .media-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.ambient,
.ambient-line,
.ambient-bubble {
  display: none !important;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(24, 10, 40, 0.46);
}

.nav-toggle {
  z-index: 5;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

.js .site-nav.is-open {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  width: min(24rem, 92vw);
  height: 100vh;
  height: 100dvh;
  padding: calc(var(--header-h) + 0.85rem) 1.15rem 2.2rem;
  overflow: auto;
  background: #301850;
  visibility: visible;
  transform: none;
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.35);
}

.js .site-nav.is-open .nav-list {
  flex-direction: column;
  align-items: stretch;
  width: auto;
  gap: 0.15rem;
}

.js .site-nav.is-open .nav-item.nav-cta {
  margin-left: 0;
  margin-top: 0.6rem;
}

.js .site-nav.is-open .nav-link,
.js .site-nav.is-open .nav-btn {
  color: #fff;
}

.js .site-nav.is-open .dropdown {
  display: block;
  position: static;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0 0 0.35rem 0.35rem;
  padding: 0.15rem 0 0.45rem;
  background: transparent;
  color: #f8f8f8;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.js .site-nav.is-open .dropdown li + li {
  border-top: 0;
}

.js .site-nav.is-open .dropdown a {
  color: #f8f8f8;
  background: transparent;
  text-decoration: none;
  padding: 0.45rem 0.7rem;
}

.js .site-nav.is-open .dropdown a:hover,
.js .site-nav.is-open .dropdown a:focus-visible {
  background: rgba(213, 186, 215, 0.16);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  overflow: visible;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.ambient-line,
.ambient-bubble {
  position: absolute;
  display: block;
}

.ambient-line {
  width: 180%;
  height: 8.5rem;
  left: -40%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 140' fill='none'><path d='M0 78 C 50 18, 90 18, 140 78 S 230 138, 280 78 S 370 18, 420 78 S 510 138, 560 78' stroke='%239A6AA3' stroke-width='1.7' stroke-linecap='round'/></svg>") repeat-x center / 560px 100%;
  opacity: 0.62;
  animation: ambient-wave 26s linear infinite;
}

.ambient-line { top: 6%; }
.ambient-line-b {
  top: 24%;
  height: 7rem;
  opacity: 0.4;
  animation-duration: 34s;
  animation-direction: reverse;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 120' fill='none'><path d='M0 60 C 70 8, 110 112, 180 60 S 300 8, 360 60 S 480 112, 560 60 S 620 20, 640 48' stroke='%237F5D84' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-size: 640px 100%;
}
.ambient-line-c {
  top: 48%;
  height: 6.2rem;
  opacity: 0.48;
  animation-duration: 22s;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 110' fill='none'><path d='M0 70 C 40 20, 80 100, 140 55 S 220 10, 280 62 S 360 110, 430 48 S 470 30, 480 40' stroke='%23D5BAD7' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-size: 480px 100%;
}
.ambient-line-d {
  top: 70%;
  height: 7.4rem;
  opacity: 0.36;
  animation-duration: 38s;
  animation-direction: reverse;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 130' fill='none'><path d='M0 80 C 60 30, 100 120, 170 70 S 280 15, 350 75 S 460 125, 530 60 S 580 40, 600 55' stroke='%239A6AA3' stroke-width='1.4' stroke-linecap='round'/></svg>");
  background-size: 600px 100%;
}

.ambient-bubble {
  width: 2.15rem;
  height: 2.15rem;
  border: 1.5px solid rgba(154, 106, 163, 0.55);
  background: rgba(213, 186, 215, 0.2);
  border-radius: 50%;
  left: 8%;
  bottom: 14%;
  animation: ambient-float 14s ease-in-out infinite;
}

.ambient-bubble-b {
  width: 1.25rem;
  height: 1.25rem;
  left: auto;
  right: 10%;
  bottom: auto;
  top: 16%;
  animation-duration: 17s;
  animation-delay: -4s;
}

.ambient-bubble-c {
  width: 0.8rem;
  height: 0.8rem;
  left: 46%;
  top: 58%;
  animation-duration: 12s;
  animation-delay: -6s;
}

.ambient-bubble-d {
  width: 1.65rem;
  height: 1.65rem;
  left: 72%;
  bottom: 12%;
  animation-duration: 19s;
  animation-delay: -3s;
}

.ambient-bubble-e {
  width: 0.65rem;
  height: 0.65rem;
  left: 24%;
  top: 34%;
  animation-duration: 11s;
  animation-delay: -2s;
}

.ambient-bubble-f {
  width: 1.05rem;
  height: 1.05rem;
  left: auto;
  right: 30%;
  top: auto;
  bottom: 32%;
  animation-duration: 15s;
  animation-delay: -8s;
}

@keyframes ambient-wave {
  from { background-position: 0 center; }
  to { background-position: 560px center; }
}

@keyframes ambient-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, -36px, 0); }
}

.logo-marquee .logo-slot,
.partner-row .logo-slot {
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0.35rem 0.6rem;
  border: 0;
  background: transparent;
}

.logo-marquee img,
.partner-row img {
  display: block;
  height: 3rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
}

a.btn,
button.btn,
.page-hero a.btn,
.page-hero p a.btn,
.section-dark a.btn,
.hero a.btn,
.site-footer a.btn {
  background: #9a6aa3;
  color: #fff;
  border-color: transparent;
}

a.btn:hover,
button.btn:hover,
.page-hero a.btn:hover,
.page-hero p a.btn:hover,
.section-dark a.btn:hover,
.hero a.btn:hover,
.site-footer a.btn:hover {
  background: #7f5d84;
  color: #fff;
}

a.btn.btn-ghost,
button.btn.btn-ghost,
.page-hero a.btn.btn-ghost,
.page-hero p a.btn.btn-ghost,
.page-hero .btn-ghost,
.section-dark a.btn.btn-ghost,
.hero a.btn.btn-ghost,
.hero .btn-ghost {
  background: #f8f8f8;
  color: #7f5d84;
  border-color: #9a6aa3;
}

a.btn.btn-ghost:hover,
button.btn.btn-ghost:hover,
.page-hero a.btn.btn-ghost:hover,
.page-hero p a.btn.btn-ghost:hover,
.page-hero .btn-ghost:hover,
.section-dark a.btn.btn-ghost:hover,
.hero a.btn.btn-ghost:hover,
.hero .btn-ghost:hover {
  background: #fff;
  color: #5c3d6e;
  border-color: #7f5d84;
}

.sector-clip {
  margin: 1.75rem 0 0;
}

.sector-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #281848;
  border-radius: 0.45rem;
}

.sector-clip figcaption {
  margin: 1.05rem 0 0;
  max-width: 44rem;
  color: #281848;
  font-size: 1.05rem;
  line-height: 1.5;
}

.sector-clip figcaption strong {
  display: block;
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
}

.sector-stills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
}

.sector-stills img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.35rem;
  background: #281848;
}

@media (max-width: 640px) {
  .sector-stills {
    gap: 0.45rem;
  }
}

/* Open arcs only. They turn slowly and never close into a circle or a sphere. */
.section,
.page-hero {
  position: relative;
  overflow: hidden;
}

.site-footer {
  overflow: hidden;
}

.site-header::before,
.site-footer::before,
.section::before,
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-image: url("../img/ambient-arcs.svg");
  background-repeat: no-repeat;
  background-position: 50% 45%;
}

.section::before,
.page-hero::before,
.site-footer::before {
  inset: -55%;
  background-size: 920px 640px;
  background-repeat: repeat;
  animation: arc-orbit 72s linear infinite;
}

.site-header::before {
  inset: 0;
  background-size: 220% 520%;
  animation: arc-drift 42s ease-in-out infinite;
}

.site-header::before,
.site-footer::before,
.section-dark::before {
  background-image: url("../img/ambient-arcs-dark.svg");
}

@keyframes arc-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes arc-drift {
  0% { background-position: 8% 40%; }
  50% { background-position: 92% 60%; }
  100% { background-position: 8% 40%; }
}

.arch-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.6rem;
  margin: 1.15rem 0 0.35rem;
  padding: 0;
  list-style: none;
}

.arch-flow li {
  position: relative;
  flex: 1 1 11.5rem;
  margin: 0;
  padding: 0.95rem 1rem 0.85rem;
  border: 2px solid #9a6aa3;
  border-radius: 0.9rem;
  background: #f8f8f8;
  color: #281848;
  box-shadow: none;
}

.arch-flow li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
}

.arch-flow li span {
  display: block;
  margin-top: 0.28rem;
  color: #5c3d6e;
  font-size: 0.95rem;
  line-height: 1.4;
}

.arch-flow li:last-child {
  background: #281848;
  border-color: #281848;
  color: #f8f8f8;
}

.arch-flow li:last-child span {
  color: #d5bad7;
}

@media (min-width: 860px) {
  .arch-flow {
    flex-wrap: nowrap;
  }

  .arch-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1.05rem;
    width: 0.5rem;
    height: 0.5rem;
    border-top: 2px solid #7f5d84;
    border-right: 2px solid #7f5d84;
    transform: translateY(-50%) rotate(45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before,
  .site-footer::before,
  .section::before,
  .page-hero::before {
    animation: none;
  }
}

.hero::before,
.media-hero::before {
  display: none;
}

.site-header > .wrap,
.site-footer > .wrap,
.section > .wrap,
.page-hero > .wrap,
.hero > .wrap {
  position: relative;
  z-index: 1;
}

.media-hero {
  isolation: isolate;
  min-height: clamp(28rem, 72vh, 42rem);
  padding: clamp(3.25rem, 6vw, 5.5rem) 0 clamp(2.75rem, 5vw, 4.5rem);
  overflow: hidden;
  background: #1a1028;
  color: #f8f8f8;
}

.media-hero-video,
.media-hero-still {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.media-hero-still {
  display: none;
}

.media-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(16, 6, 32, 0.94) 0%,
    rgba(26, 10, 48, 0.82) 24%,
    rgba(36, 14, 64, 0.52) 46%,
    rgba(40, 20, 72, 0.18) 68%,
    rgba(40, 24, 72, 0) 86%);
}

.media-hero > .wrap {
  position: relative;
  z-index: 2;
}

.media-hero .hero-figure {
  display: none;
}

.media-hero.page-hero h1,
.media-hero.page-hero p,
.media-hero .breadcrumbs a,
.media-hero .breadcrumbs [aria-current="page"] {
  color: #f8f8f8;
}

.media-hero .eyebrow {
  color: #d5bad7;
}

.media-hero .breadcrumbs li:not(:last-child)::after {
  color: #d5bad7;
}

.media-hero.page-hero h1 {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.media-hero.page-hero p {
  color: #f4eef6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.kept-figure {
  margin: 0;
}

.kept-figure img,
.kept-figure .reveal {
  border-radius: 0.6rem;
}

.step-rail .step-intro {
  max-width: 40rem;
  color: #3a3150;
}

.step-list {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  padding: 0;
  list-style: none;
}

.step-card {
  display: grid;
  gap: 1rem 2.25rem;
  align-items: center;
}

.step-num {
  margin: 0 0 0.35rem;
  color: #9a6aa3;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.step-copy h3 {
  margin: 0 0 0.55rem;
  color: #281848;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.15;
}

.step-copy p {
  margin: 0;
  max-width: 36rem;
  color: #3a3150;
  font-size: 1.05rem;
  line-height: 1.55;
}

.step-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #281848;
  border-radius: 0.55rem;
}

@media (min-width: 860px) {
  .step-card {
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.85fr);
  }

  .step-card:nth-child(even) {
    grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.25fr);
  }

  .step-card:nth-child(even) .step-copy {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-hero-video {
    display: none;
  }

  .media-hero-still {
    display: block;
  }
}


/* === 2026 Visual & Structural Upgrades === */

/* 1. Remove all incomplete background circles / rotating arcs across the entire site */
.site-header::before,
.site-footer::before,
.section::before,
.page-hero::before,
.section-dark::before,
.ambient,
.ambient-line,
.ambient-bubble {
  display: none !important;
  content: none !important;
  background-image: none !important;
  animation: none !important;
}

/* 2. Photo 5 White + Subtle Dot-Grid Background from below hero to above footer */
main,
.section,
.section-light {
  background-color: #ffffff !important;
  background-image: radial-gradient(rgba(40, 24, 72, 0.13) 1.25px, transparent 1.25px) !important;
  background-size: 22px 22px !important;
}

.section-dark.closing.cta-band {
  background-color: #ffffff !important;
  background-image: radial-gradient(rgba(40, 24, 72, 0.13) 1.25px, transparent 1.25px) !important;
  background-size: 22px 22px !important;
  color: var(--color-text) !important;
  border-top: 1px solid rgba(40, 24, 72, 0.12);
}

.section-dark.closing.cta-band h2,
.section-dark.closing.cta-band h3 {
  color: var(--color-dark) !important;
}

.section-dark.closing.cta-band .eyebrow {
  color: var(--color-link) !important;
}

.section-dark.closing.cta-band .lead,
.section-dark.closing.cta-band p {
  color: var(--color-text-muted) !important;
}

.section-dark.closing.cta-band .contact-line a {
  color: var(--color-dark) !important;
}

/* 3. Center Home, Solutions, Platforms, About in the middle of the top navigation bar (Photo 10) */
@media (min-width: 960px) {
  .header-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: min(var(--wrap), calc(100% - 3rem));
  }

  .js .nav-toggle,
  .nav-toggle {
    display: none !important;
  }

  .brand {
    flex: 0 0 11.5rem;
  }

  .js .site-nav,
  .site-nav {
    position: static;
    visibility: visible;
    transform: none;
    flex: 1 1 auto;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
  }

  .nav-list > .nav-item:first-child {
    margin-left: auto;
  }

  .nav-list > .nav-item.nav-cta {
    margin-left: auto;
    flex: 0 0 11.5rem;
    display: flex;
    justify-content: flex-end;
  }

  .nav-link,
  .nav-btn {
    padding: 0.35rem 0.65rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .has-sub > .nav-link {
    padding-right: 0.2rem;
  }

  .has-sub > .nav-btn {
    min-width: 1.7rem;
    min-height: 2.4rem;
    padding-left: 0.1rem;
    padding-right: 0.35rem;
  }

  .dropdown {
    position: absolute;
    top: calc(100% - 0.1rem);
    left: 0;
    z-index: 40;
    width: max-content;
    min-width: 17.5rem;
    max-width: min(26rem, calc(100vw - 2rem));
    padding: 0.35rem 0;
    background: #fff;
    color: #281848;
    border: 1px solid rgba(40, 24, 72, 0.14);
    border-radius: 0.4rem;
    box-shadow: 0 18px 42px rgba(40, 24, 72, 0.22);
  }

  .dropdown li + li {
    border-top: 1px solid rgba(40, 24, 72, 0.1);
  }

  .dropdown a {
    border-radius: 0;
    padding: 0.75rem 1.05rem;
    color: #281848;
    background: transparent;
    text-decoration: none;
  }

  .dropdown a:hover,
  .dropdown a:focus-visible,
  .dropdown a[aria-current="page"] {
    background: rgba(154, 106, 163, 0.14);
    color: var(--color-dark);
    text-decoration: none;
  }
}

@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .has-sub:hover > .dropdown {
    display: block;
  }
  .has-sub:hover > .nav-btn .chev {
    transform: rotate(180deg);
  }
}

/* 4. Homepage Hero Scrim & Text Legibility matching Photo 6 (.media-hero-scrim) */
.hero-scrim {
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(16, 6, 32, 0.94) 0%,
    rgba(26, 10, 48, 0.84) 26%,
    rgba(36, 14, 64, 0.56) 48%,
    rgba(40, 20, 72, 0.18) 68%,
    rgba(40, 24, 72, 0) 86%) !important;
}

.media-hero-video {
  filter: none !important;
}

/* 5. DeepMatrix-Inspired Custom Atrobot Flowcharts / Decision Matrix (Solutions Pages) */
.dm-matrix-wrap {
  margin-top: 0.5rem;
}

.dm-matrix-header {
  display: none;
}

@media (min-width: 960px) {
  .dm-matrix-header {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.15fr;
    gap: 2.5rem;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
  }
}

.dm-col-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c3d6e;
}

.dm-col-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #f5c518;
}

.dm-col-tag-impact::before {
  background: #6f2da8;
}

.dm-matrix-rows {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dm-matrix-row {
  display: grid;
  gap: 0.85rem;
  align-items: stretch;
  position: relative;
}

@media (min-width: 960px) {
  .dm-matrix-row {
    grid-template-columns: 1fr 1.15fr 1.15fr;
    gap: 2.5rem;
  }
}

.dm-node {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.25rem 1.35rem;
  background: #ffffff;
  border: 1.5px solid rgba(111, 45, 168, 0.26);
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(40, 24, 72, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dm-node:hover {
  transform: translateY(-2px);
  border-color: #6f2da8;
  box-shadow: 0 12px 30px rgba(40, 24, 72, 0.12);
}

.dm-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.dm-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(111, 45, 168, 0.1);
  color: #5c248c;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dm-node-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: rgba(245, 197, 24, 0.16);
  color: #281848;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.dm-node h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: #281848;
  line-height: 1.2;
}

.dm-node p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: #4a3e60;
}

.dm-node-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.dm-node-chips span {
  display: inline-block;
  padding: 0.14rem 0.5rem;
  border-radius: 4px;
  background: #f5f0f8;
  border: 1px solid rgba(111, 45, 168, 0.2);
  color: #3b2458;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Highlighted Impact Card (Right Column - Deep Purple Gradient like DeepMatrix) */
.dm-node.dm-node-impact {
  background: linear-gradient(135deg, #1b0c38 0%, #3b1768 55%, #68289c 100%);
  border-color: #7c3aed;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(40, 16, 78, 0.22);
}

.dm-node.dm-node-impact .dm-step-badge {
  background: rgba(245, 197, 24, 0.2);
  color: #f5c518;
}

.dm-node.dm-node-impact .dm-node-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #f5c518;
}

.dm-node.dm-node-impact h3 {
  color: #ffffff;
}

.dm-node.dm-node-impact p {
  color: rgba(244, 238, 248, 0.9);
}

.dm-node.dm-node-impact .dm-node-chips span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #f5c518;
}

/* Horizontal Dashed Connectors & Node Dots between Columns on Desktop */
@media (min-width: 960px) {
  .dm-node:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -2.5rem;
    width: 2.5rem;
    height: 2px;
    background-image: linear-gradient(to right, #6f2da8 55%, transparent 45%);
    background-size: 10px 2px;
    background-repeat: repeat-x;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
  }

  .dm-node:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.4rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #f5c518;
    border: 2px solid #281848;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
  }
}

/* 6. DeepMatrix-Inspired Multi-Modal Visual Pipeline & AI Architecture Diagram */
.dm-arch-board {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(111, 45, 168, 0.24);
  border-radius: 1rem;
  box-shadow: 0 14px 36px rgba(40, 24, 72, 0.08);
}

@media (min-width: 980px) {
  .dm-arch-board {
    grid-template-columns: 1fr 1.25fr 1fr;
    align-items: stretch;
    gap: 2.25rem;
  }
}

.dm-arch-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
}

.dm-arch-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(111, 45, 168, 0.22);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #281848;
}

.dm-arch-col-title::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #f5c518;
}

.dm-arch-item {
  padding: 0.95rem 1.1rem;
  border-radius: 0.65rem;
  background: #fdfbfe;
  border: 1px solid rgba(111, 45, 168, 0.22);
  box-shadow: 0 4px 14px rgba(40, 24, 72, 0.04);
}

.dm-arch-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: #281848;
  margin-bottom: 0.2rem;
}

.dm-arch-item span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #524566;
}

.dm-arch-core {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1.35rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #160a2c 0%, #2d1458 52%, #59228c 100%);
  color: #ffffff;
  border: 1.5px solid #8b5cf6;
  box-shadow: 0 16px 38px rgba(36, 12, 72, 0.26);
  position: relative;
}

.dm-arch-core .dm-arch-col-title {
  color: #f5c518;
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.dm-arch-core-stage {
  padding: 0.85rem 1rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dm-arch-core-stage strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.dm-arch-core-stage strong em {
  font-style: normal;
  font-size: 0.74rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.22);
  color: #f5c518;
  letter-spacing: 0.08em;
}

.dm-arch-core-stage span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.42;
  color: rgba(244, 238, 250, 0.88);
}


/* ATROBOT: Sharp corners for comparison cards on the home page */
.compare,
.compare-stage,
.compare-top,
.compare img,
.compare-stage img,
.compare-top img {
  border-radius: 0 !important;
}
