/* ============================================================
   AXIOM — style.css
   Main stylesheet: variables, base, layout, components, pages
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --color-black:        #0a0a0a;
  --color-charcoal:     #111111;
  --color-dark:         #161616;
  --color-dark-mid:     #1e1e1e;
  --color-dark-card:    #242424;
  --color-mid:          #3a3a3a;
  --color-border:       #d4d4d4;
  --color-border-dark:  rgba(255,255,255,0.08);
  --color-off-white:    #f4f3f1;
  --color-white:        #ffffff;
  --color-bg:           #f0efed;
  --color-bg-light:     #f7f6f4;

  --color-text:         #111111;
  --color-text-muted:   #6b6b6b;
  --color-text-light:   #ffffff;
  --color-text-dim:     rgba(255,255,255,0.6);

  --color-accent:       #111111;

  /* Typography */
  --font-display:       'Helvetica Neue', Arial, sans-serif;
  --font-mono:          'DM Mono', monospace;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;
  --space-xxl:  10rem;

  /* Layout */
  --container-max:  1320px;
  --container-pad:  2.5rem;

  /* Motion */
  --ease:           cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:        cubic-bezier(0.4, 0, 1, 1);
  --duration-fast:  200ms;
  --duration-mid:   400ms;
  --duration-slow:  700ms;

  /* Nav height */
  --nav-h: 72px;

  /* Cube */
  --cube-size:      210px;
  --cube-dot:       3.5px;
  --face-interval:  21px;
  --delay-step:     0.3s;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-display);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.body--dark {
  background: var(--color-black);
  color: var(--color-text-light);
}

img, video {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

address {
  font-style: normal;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.br-desktop {
  display: block;
}

/* ============================================================
   4. TYPOGRAPHY UTILITIES
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.label--light {
  color: var(--color-text-dim);
}

/* ============================================================
   5. SQUARE MARKER
   ============================================================ */
.square-marker {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--color-text);
  flex-shrink: 0;
}

.square-marker--light {
  background: var(--color-white);
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.btn--primary:hover {
  background: var(--color-mid);
  border-color: var(--color-mid);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

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

.btn--outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline-light:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: transparent;
  padding-left: 0;
}

.btn--ghost:hover {
  opacity: 0.6;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

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

.btn--full {
  width: 100%;
}

/* ============================================================
   7. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(240, 239, 237, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--duration-mid);
}

.nav.scrolled {
  background: rgba(240, 239, 237, 0.98);
}

.nav--dark {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--color-border-dark);
}

.nav--dark.scrolled {
  background: rgba(10, 10, 10, 0.98);
}

.nav__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-right: auto;
}

.nav--dark .nav__logo {
  color: var(--color-white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__links li a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.nav--dark .nav__links li a {
  color: var(--color-text-dim);
}

.nav__links li a:hover,
.nav__links li a.active {
  color: var(--color-text);
}

.nav--dark .nav__links li a:hover,
.nav--dark .nav__links li a.active {
  color: var(--color-white);
}

.nav__cta {
  margin-left: var(--space-sm);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform var(--duration-mid), opacity var(--duration-mid);
}

.nav--dark .nav__toggle span {
  background: var(--color-white);
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 6rem);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.hero__grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero__label {
  margin-bottom: var(--space-md);
}

.hero__headline {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  max-width: 14ch;
}

.hero__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
}

.hero__split {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: var(--space-xl);
}

.hero__split-text {
  min-width: 0;
}

.hero__quantum-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
}

.hero__quantum-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__quantum-labels {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.hero__quantum-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.6;
}


/* ============================================================
   9. ABOUT SPLIT SECTION — DARK QUANTUM CONTINUATION
   ============================================================ */

.about-split {
  position: relative;
  padding-block: var(--space-xxl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(
      180deg,
      #060709 0%,
      #070b0d 18%,
      #0b1114 42%,
      #111719 68%,
      #f0efed 100%
    );
  overflow: hidden;
  isolation: isolate;
}

/* Soft fade from hero into About */
.about-split::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 260px;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 7, 9, 1) 0%,
      rgba(6, 7, 9, 0.92) 36%,
      rgba(0, 212, 170, 0.08) 68%,
      rgba(6, 7, 9, 0) 100%
    );
}

/* Soft fade from About into the next light section */
.about-split::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 240px;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(240, 239, 237, 0) 0%,
      rgba(240, 239, 237, 0.72) 72%,
      rgba(240, 239, 237, 1) 100%
    );
}

.about-split__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;

  background:
    radial-gradient(circle at 18% 20%, rgba(0, 212, 170, 0.16), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(0, 150, 190, 0.12), transparent 30%),
    radial-gradient(circle at 70% 72%, rgba(0, 212, 170, 0.08), transparent 34%),
    radial-gradient(circle at 30% 78%, rgba(0, 100, 160, 0.10), transparent 30%);

  opacity: 1;
  animation: aboutHeroGlowDrift 18s ease-in-out infinite alternate;
}

/* Subtle quantum particles */
.about-split__grid-bg::before {
  content: "";
  position: absolute;
  inset: -20%;

  background-image:
    radial-gradient(circle, rgba(0, 212, 170, 0.28) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(0, 150, 190, 0.16) 1px, transparent 1.5px);

  background-size:
    52px 52px,
    110px 110px;

  background-position:
    0 0,
    36px 48px;

  opacity: 0.38;
  transform: rotate(-4deg);
  animation: aboutParticleDrift 34s linear infinite;
}

/* Large orbital ring, very subtle */
.about-split__grid-bg::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -220px;
  top: 42%;
  border-radius: 50%;

  background:
    repeating-radial-gradient(
      circle,
      rgba(0, 212, 170, 0.11) 0 1px,
      transparent 1px 38px
    );

  opacity: 0.38;
  transform: translateY(-50%) rotate(0deg);
  animation: aboutOrbitSlow 36s linear infinite;
}

/* Keep content above animated background */
.about-split__inner {
  position: relative;
  z-index: 2;
}

/* Make About text readable on dark background */
.about-split .label,
.about-split__headline {
  color: var(--color-white);
}

.about-split .square-marker {
  background: #00d4aa;
}

.about-split__intro {
  color: rgba(255,255,255,0.68);
}

/* Dark glass cards instead of bright white cards */
.feature-card--light {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

.feature-card--light:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.085);
  border-color: rgba(0,212,170,0.28);
  box-shadow: 0 28px 80px rgba(0,212,170,0.08);
}

.feature-card--light .feature-card__meta {
  color: rgba(0,212,170,0.78);
}

.feature-card--light .feature-card__title {
  color: var(--color-white);
}

.feature-card--light .feature-card__body p {
  color: rgba(255,255,255,0.64);
}

/* Animations */
@keyframes aboutHeroGlowDrift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.78;
  }

  100% {
    transform: scale(1.06) translate3d(1.5%, -1.5%, 0);
    opacity: 1;
  }
}

@keyframes aboutParticleDrift {
  0% {
    transform: rotate(-4deg) translate3d(0, 0, 0);
    background-position:
      0 0,
      36px 48px;
  }

  100% {
    transform: rotate(-4deg) translate3d(-90px, 60px, 0);
    background-position:
      180px 120px,
      -80px 140px;
  }
}

@keyframes aboutOrbitSlow {
  0% {
    transform: translateY(-50%) rotate(0deg) scale(1);
  }

  50% {
    transform: translateY(-50%) rotate(180deg) scale(1.03);
  }

  100% {
    transform: translateY(-50%) rotate(360deg) scale(1);
  }
}
/* ============================================================
   10. TECHNOLOGY SECTION (index)
   ============================================================ */
.tech-dark {
  position: relative;
  background:
    linear-gradient(
      180deg,
      #f0efed 0%,
      var(--color-bg) 28%,
      var(--color-bg) 100%
    );
  color: var(--color-text);
  padding-block: var(--space-xxl);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.tech-dark__bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.tech-dark .container {
  position: relative;
}

.tech-dark__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-lg);
}

.tech-dark .label--light {
  color: var(--color-text-muted);
}

.tech-dark .square-marker--light {
  background: var(--color-text);
}

.tech-grid-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.tech-grid-visual canvas {
  max-width: 100%;
  height: auto;
}

/* ----------------------------------------------------------
   3D SPINNING CUBE
---------------------------------------------------------- */
.cube-wrap {
  width: var(--cube-size);
  height: var(--cube-size);
  perspective: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.cube {
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  animation: spinCube 9s linear infinite;
}

.cube .faces {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--cube-size);
  height: var(--cube-size);
}

.cube .dot {
  position: absolute;
  background: rgba(17, 17, 17, 1);
  width: var(--cube-dot);
  height: var(--cube-dot);
  border-radius: 50%;
}

.cube .p1  { top: 0%;   left: 0%;   transform: translate(-50%, -50%); }
.cube .p2  { top: 0%;   left: 50%;  transform: translate(-50%, -50%); }
.cube .p3  { top: 0%;   left: 100%; transform: translate(-50%, -50%); }
.cube .p4  { top: 50%;  left: 0%;   transform: translate(-50%, -50%); }
.cube .p5  { top: 50%;  left: 50%;  transform: translate(-50%, -50%); }
.cube .p6  { top: 50%;  left: 100%; transform: translate(-50%, -50%); }
.cube .p7  { top: 100%; left: 0%;   transform: translate(-50%, -50%); }
.cube .p8  { top: 100%; left: 50%;  transform: translate(-50%, -50%); }
.cube .p9  { top: 100%; left: 100%; transform: translate(-50%, -50%); }

.cube .p10 { top: 25%;  left: 25%;  transform: translate(-50%, -50%); }
.cube .p11 { top: 25%;  left: 75%;  transform: translate(-50%, -50%); }
.cube .p12 { top: 75%;  left: 25%;  transform: translate(-50%, -50%); }
.cube .p13 { top: 75%;  left: 75%;  transform: translate(-50%, -50%); }

.cube .f1  { transform: translateZ(calc(var(--face-interval) * -5)); }
.cube .f2  { transform: translateZ(calc(var(--face-interval) * -4)); }
.cube .f3  { transform: translateZ(calc(var(--face-interval) * -3)); }
.cube .f4  { transform: translateZ(calc(var(--face-interval) * -2)); }
.cube .f5  { transform: translateZ(calc(var(--face-interval) * -1)); }
.cube .f6  { transform: translateZ(0px); }
.cube .f7  { transform: translateZ(calc(var(--face-interval) *  1)); }
.cube .f8  { transform: translateZ(calc(var(--face-interval) *  2)); }
.cube .f9  { transform: translateZ(calc(var(--face-interval) *  3)); }
.cube .f10 { transform: translateZ(calc(var(--face-interval) *  4)); }
.cube .f11 { transform: translateZ(calc(var(--face-interval) *  5)); }

@keyframes spinCube {
  0%   { transform: rotateY(0deg) rotateX(-45deg) rotate(0deg); }
  50%  { transform: rotateY(180deg) rotateX(135deg) rotate(180deg); }
  100% { transform: rotateY(360deg) rotateX(315deg) rotate(360deg); }
}

.tech-grid-visual__caption {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}

.arch-card {
  background: var(--color-dark-card);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  color: var(--color-white);
}

.arch-card__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-white);
}

.arch-card__body {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  line-height: 1.7;
}

/* ============================================================
   11. CAPABILITIES / CORE SERVICES
   ============================================================ */
.capabilities {
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.cap-item {
  padding: var(--space-lg) var(--space-lg) var(--space-md) 0;
  border-right: 1px solid var(--color-border);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cap-item:first-child {
  padding-left: 0;
}

.cap-item:last-child {
  border-right: none;
  padding-right: 0;
}

.cap-item__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.cap-item h4 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.cap-item p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 34ch;
}

/* ============================================================
   11A. CORE SERVICES TERMINAL
   ============================================================ */
.services-terminal {
  margin-top: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    #0f1115;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.services-terminal__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
  padding: 0 1.1rem;
  background: linear-gradient(180deg, #2b2d31 0%, #1f2125 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.services-terminal__traffic-lights {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.services-terminal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.25);
}

.services-terminal__dot--red { background: #ff5f57; }
.services-terminal__dot--yellow { background: #febc2e; }
.services-terminal__dot--green { background: #28c840; }

.services-terminal__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.72);
  text-align: center;
  flex: 1;
  margin-right: 2rem;
}

.services-terminal__body {
  padding: 1.4rem 1.4rem 1.5rem;
  font-family: var(--font-mono);
  height: 320px;
  background:
    radial-gradient(circle at top right, rgba(61,207,234,0.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.services-terminal__body--animated {
  display: flex;
  flex-direction: column;
}

.services-terminal__boot {
  margin-bottom: 0.45rem;
}

.services-terminal__viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding-top: 0.3rem;
}

.services-terminal__line {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.services-terminal__line--active {
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.services-terminal__prompt {
  color: #8be9fd;
  flex-shrink: 0;
}

.services-terminal__command,
.services-terminal__typing {
  color: #f8f8f2;
}

.services-terminal__output {
  color: rgba(255,255,255,0.78);
}

.services-terminal__muted {
  color: rgba(255,255,255,0.46);
}

.services-terminal__accent {
  color: #90E5F2;
}

.services-terminal__success {
  color: #8df7b0;
}

.services-terminal__service-block {
  margin-bottom: 0.8rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
}

.services-terminal__service-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8f8f2;
  margin-bottom: 0.6rem;
}

.services-terminal__service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.services-terminal__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.68);
  background: rgba(255,255,255,0.03);
}

.services-terminal__progress {
  width: 100%;
  height: 7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.services-terminal__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3DCFEA, #90E5F2);
  box-shadow: 0 0 18px rgba(61,207,234,0.24);
  animation: terminalProgressFill 1.1s var(--ease) forwards;
}

.services-terminal__cursor {
  width: 10px;
  height: 1.15rem;
  background: #f4f3f1;
  display: inline-block;
  vertical-align: middle;
  animation: terminalBlink 1s steps(1, end) infinite;
}

@keyframes terminalBlink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

@keyframes terminalProgressFill {
  from { width: 0; }
  to { width: var(--progress-width, 78%); }
}

/* ============================================================
   12. CTA BANNER
   ============================================================ */
.cta-banner {
  padding-block: var(--space-xxl);
  border-bottom: 1px solid var(--color-border);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.cta-banner__headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 22ch;
}

/* ============================================================
   13A. DOMAIN SHOWCASE
   ============================================================ */
.domain-showcase {
  position: relative;
  padding-block: var(--space-xxl);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.domain-showcase__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.domain-showcase__intro-block {
  max-width: 760px;
}

.domain-showcase__headline {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.domain-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.domain-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.34);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition:
    transform var(--duration-mid) var(--ease),
    background var(--duration-mid) var(--ease),
    box-shadow var(--duration-mid) var(--ease),
    border-color var(--duration-mid) var(--ease);
}

.domain-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.65);
  box-shadow: 0 24px 50px rgba(0,0,0,0.06);
}

.domain-card__image-wrap {
  position: relative;
}

.domain-card__image-placeholder {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-bg-light);
}

.domain-card__image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.14);
  pointer-events: none;
  opacity: 1;
  transition: opacity var(--duration-mid) var(--ease);
}

.domain-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1);
  transition:
    filter var(--duration-mid) var(--ease),
    transform var(--duration-mid) var(--ease);
}

.domain-card:hover .domain-card__image {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.domain-card:hover .domain-card__image-placeholder::after {
  opacity: 0;
}

.domain-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Default state: black and white */
  filter: grayscale(100%);
  transform: scale(1);

  /* Smooth transition back to original color */
  transition:
    filter var(--duration-mid) var(--ease),
    transform var(--duration-mid) var(--ease);
}

/* Hover state: restore original color */
.domain-card:hover .domain-card__image {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.domain-card__num {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--color-white);
  background: rgba(10,10,10,0.78);
  padding: 0.4rem 0.5rem;
}

.domain-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.domain-card__title {
  font-size: 1.05rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
}

.domain-card__text {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 52ch;
}

.domain-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.domain-card__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.45);
}

/* ============================================================
   8A. NBQ HERO V2
   ============================================================ */
.hero--nbq-v2 {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  padding-bottom: 0;
  overflow: hidden;
  background: #060709;
  color: var(--color-white);
}

.hero-v2__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-v2__scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(255,255,255,0.042) 3px,
    rgba(255,255,255,0.042) 4px
  );
}

.hero-v2__glow {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  width: 90vw;
  height: 90vh;
  left: -28vw;
  top: 8vh;
  background: radial-gradient(
    ellipse at 38% 62%,
    rgba(0,180,150,0.26) 0%,
    rgba(0,150,190,0.14) 28%,
    rgba(0,100,160,0.06) 55%,
    transparent 72%
  );
  filter: blur(28px);
  animation: heroV2GlowBreath 7s ease-in-out infinite alternate;
}

@keyframes heroV2GlowBreath {
  from {
    opacity: 0.75;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 1;
    transform: scale(1.06) translateY(-1.5%);
  }
}

.hero-v2__container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-v2__stage {
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0 3rem;
}

.hero-v2__logo-wrap {
  opacity: 0;
  animation: heroV2LogoIn 1.1s cubic-bezier(.22,1,.36,1) .25s forwards;
}

.hero-v2__logo {
  width: clamp(440px, 52vw, 720px);
  display: block;
}

@keyframes heroV2LogoIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-v2__rule {
  width: min(560px, 72vw);
  max-width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #00d4aa 50%, transparent 100%);
  box-shadow: 0 0 12px #00d4aa;
  margin: 30px 0 26px;
  animation: heroV2RuleGrow 1s ease 1.1s forwards;
}

@keyframes heroV2RuleGrow {
  from { max-width: 0; }
  to { max-width: min(560px, 72vw); }
}

.hero-v2__tagline-wrap {
  position: relative;
  overflow: hidden;
  padding: 3px 0;
}

.hero-v2__beam {
  position: absolute;
  top: 0;
  left: -20%;
  width: 50px;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,220,180,.18),
    rgba(0,240,210,.38),
    rgba(0,220,180,.18),
    transparent
  );
  animation: heroV2Sweep 1.1s ease-in-out 2.2s forwards;
  pointer-events: none;
}

@keyframes heroV2Sweep {
  from { left: -20%; }
  to { left: 120%; }
}

.hero-v2__tagline {
  font-family: 'Josefin Sans', var(--font-display);
  font-size: clamp(16px, 2.9vw, 44px);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  gap: 0.24em;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-v2__word {
  overflow: hidden;
  display: inline-block;
}

.hero-v2__word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero-v2__word:nth-child(1) > span {
  animation: heroV2Rise .7s cubic-bezier(.22,1,.36,1) 1.35s forwards;
}

.hero-v2__word:nth-child(2) > span {
  animation: heroV2Rise .7s cubic-bezier(.22,1,.36,1) 1.6s forwards;
}

.hero-v2__word:nth-child(3) > span {
  animation: heroV2Rise .7s cubic-bezier(.22,1,.36,1) 1.85s forwards;
}

.hero-v2__word--accent > span {
  color: #00d4aa;
  text-shadow: 0 0 22px rgba(0,212,170,.65), 0 0 55px rgba(0,212,170,.25);
  animation:
    heroV2Rise .7s cubic-bezier(.22,1,.36,1) 2.1s forwards,
    heroV2Flicker .07s step-end 2.9s 5,
    heroV2Pulse 2.8s ease-in-out 3.6s infinite alternate;
}

@keyframes heroV2Rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroV2Flicker {
  0% { opacity: 1; }
  45% { opacity: 0; }
  75% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes heroV2Pulse {
  from {
    text-shadow: 0 0 18px rgba(0,212,170,.55), 0 0 40px rgba(0,212,170,.2);
  }
  to {
    text-shadow: 0 0 30px rgba(0,240,216,.9), 0 0 80px rgba(0,212,170,.45), 0 0 130px rgba(0,200,180,.12);
  }
}

.hero-v2__sub {
  margin-top: 1.5rem;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
}

.hero-v2__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-v2__status {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Exo 2', var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,.18);
  white-space: nowrap;
  z-index: 10;
}

.hero-v2__status::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00d4aa;
  margin-right: 9px;
  vertical-align: middle;
  box-shadow: 0 0 7px #00d4aa;
  animation: heroV2Blink 2.2s ease-in-out infinite;
}

@keyframes heroV2Blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

/* ============================================================
   14. ABOUT PAGE SECTIONS
   ============================================================ */
.mission-block {
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.mission-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.mission-block__left h2,
.mission-block__right h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: var(--space-md);
}

.mission-block__left p,
.mission-block__right p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.why-matters {
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.why-matters__headline-block {
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

.why-matters__headline-block h2 {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
}

.why-matters__body {
  max-width: 65ch;
}

.why-matters__body p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.core-caps {
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.core-caps__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.core-cap-card {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.core-cap-card__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.core-cap-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.core-cap-card__rule {
  width: 2rem;
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-sm);
}

.core-cap-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.principles {
  padding-block: var(--space-xl);
}

.principles__inner {
  max-width: 800px;
}

.principles__list {
  margin-top: var(--space-md);
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding-block: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.principle-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.principle-item__marker {
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.principle-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.principle-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   15. TECHNOLOGY PAGE
   ============================================================ */
.tech-hero {
  position: relative;
  background: var(--color-black);
  color: var(--color-white);
  padding-top: calc(var(--nav-h) + 6rem);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.tech-hero__bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}

.tech-hero .container {
  position: relative;
}

.tech-hero__headline {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  max-width: 18ch;
  margin-bottom: var(--space-md);
}

.tech-hero__sub {
  font-size: 1rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  max-width: 58ch;
}

.tech-hero__visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: var(--space-xl);
  border-top: 1px solid var(--color-border-dark);
  padding-top: var(--space-xl);
}

.tech-hero__caption {
  font-size: 1rem;
  color: var(--color-text-dim);
  margin-top: var(--space-md);
}

.arch-section {
  background: var(--color-dark);
  color: var(--color-white);
  padding-block: var(--space-xl);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
}

.arch-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.arch-callout__title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: var(--space-md);
}

.arch-callout__body {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.arch-stat-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-left: var(--space-xl);
  border-left: 1px solid var(--color-border-dark);
}

.arch-stat__num {
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.arch-stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  line-height: 1.5;
}

.tech-pillar {
  background: var(--color-black);
  color: var(--color-white);
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-border-dark);
}

.tech-pillar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.tech-pillar__text .label {
  margin-bottom: var(--space-md);
}

.tech-pillar__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.tech-pillar__text p {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.tech-pillar__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tech-pillar__list li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
  padding-left: 1rem;
  position: relative;
}

.tech-pillar__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.3);
}

.module-grid,
.perf-bars,
.trust-visual {
  width: 100%;
  min-height: 320px;
  background: var(--color-dark-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tech-cta {
  background: var(--color-dark-mid);
  color: var(--color-white);
  padding-block: var(--space-xl);
  text-align: center;
}

.tech-cta__inner {
  max-width: 640px;
}

.tech-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.tech-cta p {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   16. TEAM PAGE
   ============================================================ */
.team-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-light);
}

.team-hero__headline {
  font-size: clamp(2.8rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.team-hero__intro {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.team-hero__intro p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.team-section {
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.team-card {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  margin: -1px -1px 0 0;
  cursor: pointer;
  position: relative;
  transition: background var(--duration-fast);
}

.team-card:hover {
  background: var(--color-white);
  z-index: 1;
}

.team-card.expanded {
  grid-template-columns: 130px 1fr auto;
}

.team-card__photo {
  width: 120px;
  height: 140px;
  overflow: hidden;
  background: #e0dede;
  flex-shrink: 0;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #d4d3d1 0%, #c8c7c5 100%);
}

.team-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.team-card__role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.team-card__expand {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  padding: 0.5rem;
  transition: transform var(--duration-fast), color var(--duration-fast);
}

.team-card.expanded .team-card__expand {
  transform: rotate(45deg);
  color: var(--color-text);
}

.team-card__bio {
  display: none;
  grid-column: 1 / -1;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-sm);
}

.team-card.expanded .team-card__bio {
  display: block;
}

.team-card__bio p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.join-section {
  padding-block: var(--space-xl);
}

.join-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.join-section__left .label {
  margin-bottom: var(--space-md);
}

.join-section__left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: var(--space-md);
}

.join-section__left p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.open-roles {
  border-top: 1px solid var(--color-border);
}

.open-role {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  gap: var(--space-md);
}

.open-role__title {
  font-size: 0.95rem;
  font-weight: 600;
}

.open-role__type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ============================================================
   17. CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding-top: calc(var(--nav-h) + 6rem);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.contact-hero__headline {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.contact-hero__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 54ch;
}

.contact-section {
  padding-block: var(--space-xl);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form-wrap .label {
  margin-bottom: var(--space-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: flex;
  gap: var(--space-md);
}

.form-row--half > * {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 0.85rem 1rem;
  color: var(--color-text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--duration-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-border);
}

.form-group textarea {
  resize: vertical;
}

.form-group--check {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.form-group--check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
}

.form-group--check label {
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.form-notice {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.form-success {
  text-align: center;
  padding: var(--space-xl) 0;
}

.form-success__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.contact-info__email a {
  font-size: 0.95rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1px;
  transition: border-color var(--duration-fast);
}

.contact-info__email a:hover {
  border-color: var(--color-text);
}

.contact-info__address {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.contact-map-placeholder {
  background: var(--color-dark);
  padding: var(--space-md);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.contact-map-placeholder__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.contact-map-placeholder__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-page__intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 62ch;
  margin-top: var(--space-sm);
}

.faq-section {
  background: var(--color-white);
  padding-block: var(--space-xxl);
  border-bottom: 1px solid var(--color-border);
}

.faq-section--page {
  border-top: none;
}

.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  text-align: left;
  cursor: pointer;
  color: var(--color-text);
}

.faq-item__question span:first-child {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 52ch;
}

.faq-item__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-text);
  transform: translate(-50%, -50%);
  transition:
    transform var(--duration-mid) var(--ease),
    opacity var(--duration-mid) var(--ease);
}

.faq-item__icon::before {
  width: 16px;
  height: 1.5px;
}

.faq-item__icon::after {
  width: 1.5px;
  height: 16px;
}

.faq-item.active .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0.2);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-mid) var(--ease);
}

.faq-item.active .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__answer-inner p {
  padding: 0 0 1.5rem;
  max-width: 74ch;
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.footer {
  padding-block: var(--space-lg);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer--dark {
  background: var(--color-charcoal);
  border-top-color: var(--color-border-dark);
  color: var(--color-text-dim);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: var(--space-lg);
}

.footer__logo {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

.footer--dark .footer__tagline {
  color: rgba(255,255,255,0.35);
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.footer__nav a:hover {
  color: var(--color-text);
}

.footer--dark .footer__nav a:hover {
  color: var(--color-white);
}

.footer__meta {
  text-align: right;
}

.footer__copy,
.footer__legal {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.footer--dark .footer__copy,
.footer--dark .footer__legal {
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   19. REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-slow) var(--ease),
    transform var(--duration-slow) var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }

/* ============================================================
   NBQ IDENTITY STATEMENT SECTION
   ============================================================ */
.nbq-identity {
  --_void:     #060E13;
  --_abyss:    #0F2530;
  --_depth:    #0F7A8F;
  --_electric: #3DCFEA;
  --_spark:    #90E5F2;
  --_frost:    #EEF9FC;
  --_mist:     #C8DFE8;
  --_glass:    #7AB8CC;
  --_teal:     #2A8BA8;
  --_slate:    #1C4D60;
  --_ink:      #0A1E28;

  position: relative;
  background: linear-gradient(
    135deg,
    var(--_void) 0%,
    var(--_abyss) 50%,
    var(--_ink) 100%
  );
  padding-block: var(--space-xxl);
  overflow: hidden;
}

.nbq-identity__spiral {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.nbq-identity__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 80% at 50% 50%,
    rgba(6,14,19,0.30) 0%,
    rgba(6,14,19,0.72) 100%
  );
  pointer-events: none;
}

.nbq-identity__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.nbq-identity .label--light {
  color: rgba(122,184,204,0.85);
}

.nbq-identity .square-marker--light {
  background: #3DCFEA;
}

.nbq-identity__text {
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #C8DFE8;
  max-width: 820px;
}

.nbq-identity__highlight {
  font-weight: 800;
  font-style: normal;
  color: #3DCFEA;
  position: relative;
  display: inline-block;
}

.nbq-identity__highlight::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3DCFEA, #90E5F2 60%, transparent);
  opacity: 0.7;
}

.nbq-identity__rule {
  width: 100%;
  height: 1px;
  background: rgba(61,207,234,0.15);
  margin-top: var(--space-md);
}

#about,
#why,
#services,
#domains,
#top {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  .about-split__grid-bg,
  .about-split__grid-bg::before,
  .about-split__grid-bg::after {
    animation: none;
  }
}
/* ============================================================
   NBQ INDEX — SEAMLESS SECTION POLISH OVERRIDES
   Paste this block at the VERY END of css/style.css.
   Purpose: remove harsh divider lines, fix background overlaps,
   and create smooth professional transitions between index sections.
   ============================================================ */

:root {
  --nbq-void: #060709;
  --nbq-void-2: #070d10;
  --nbq-abyss: #0a1519;
  --nbq-deep: #10242b;
  --nbq-cyan: #3dcfea;
  --nbq-teal: #00d4aa;
  --nbq-paper: #f0efed;
  --nbq-paper-soft: #f7f6f4;
  --nbq-paper-warm: #ebe9e4;
  --nbq-soft-line: rgba(17, 17, 17, 0.075);
}

html,
body {
  background: var(--nbq-void);
}

main {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      var(--nbq-void) 0%,
      var(--nbq-void) 28%,
      var(--nbq-paper) 52%,
      var(--nbq-paper-soft) 100%
    );
}

/* Remove the template's hard section dividers on the homepage. */
.hero,
.about-split,
.tech-dark,
.capabilities,
.cta-banner,
.domain-showcase,
.footer {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* Avoid 1px browser rounding seams between stacked sections. */
.about-split,
.tech-dark,
.capabilities,
.cta-banner,
.domain-showcase,
.footer {
  margin-top: -1px;
}

/* Dark navigation for the dark hero. Requires: <nav class="nav nav--dark" id="nav"> in index.html */
.nav.nav--dark {
  background: rgba(6, 7, 9, 0.68);
  border-bottom: 0;
  box-shadow: none;
}

.nav.nav--dark.scrolled {
  background: rgba(6, 7, 9, 0.88);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.nav.nav--dark .nav__cta {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.34);
}

.nav.nav--dark .nav__cta:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--nbq-void);
  border-color: rgba(255, 255, 255, 0.92);
}

/* HERO: keeps the top cinematic but prepares a natural fade into About. */
.hero--nbq-v2 {
  background:
    radial-gradient(circle at 15% 18%, rgba(61, 207, 234, 0.10), transparent 28%),
    radial-gradient(circle at 78% 30%, rgba(0, 212, 170, 0.08), transparent 30%),
    linear-gradient(180deg, #050607 0%, #060709 58%, #071014 100%);
}

.hero--nbq-v2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 240px;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(
      180deg,
      rgba(6, 7, 9, 0) 0%,
      rgba(6, 9, 11, 0.50) 34%,
      rgba(7, 13, 16, 0.88) 72%,
      var(--nbq-void-2) 100%
    );
}

.hero-v2__container {
  position: relative;
  z-index: 4;
}

/* ABOUT: no sudden jump to beige inside the same content area. */
.about-split {
  background:
    radial-gradient(circle at 18% 18%, rgba(61, 207, 234, 0.10), transparent 26%),
    radial-gradient(circle at 82% 28%, rgba(0, 212, 170, 0.10), transparent 30%),
    radial-gradient(circle at 62% 76%, rgba(61, 207, 234, 0.055), transparent 34%),
    linear-gradient(
      180deg,
      var(--nbq-void-2) 0%,
      #071116 34%,
      #0a171c 68%,
      var(--nbq-deep) 100%
    );
  padding-block: clamp(7rem, 10vw, 11rem);
}

.about-split::before {
  height: 320px;
  background:
    linear-gradient(
      180deg,
      rgba(6, 7, 9, 0.92) 0%,
      rgba(7, 13, 16, 0.55) 46%,
      rgba(7, 13, 16, 0) 100%
    );
}

.about-split::after {
  height: 360px;
  bottom: -1px;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(16, 36, 43, 0) 0%,
      rgba(16, 36, 43, 0.72) 18%,
      rgba(36, 57, 60, 0.42) 48%,
      rgba(240, 239, 237, 0.78) 78%,
      var(--nbq-paper) 100%
    );
}

.about-split__grid-bg {
  opacity: 0.82;
  mix-blend-mode: screen;
}

.about-split__grid-bg::before {
  opacity: 0.25;
}

.about-split__grid-bg::after {
  opacity: 0.26;
}

.about-split__inner {
  z-index: 3;
}

/* Cards become cleaner and less noisy over the dark section. */
.feature-card--light {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.045));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

/* WHY: transition starts light, without the previous visible section cut. */
.tech-dark {
  background:
    radial-gradient(circle at 18% 0%, rgba(61, 207, 234, 0.06), transparent 30%),
    linear-gradient(
      180deg,
      var(--nbq-paper) 0%,
      #f2f1ee 24%,
      var(--nbq-paper-soft) 100%
    );
  color: var(--color-text);
  padding-top: clamp(7rem, 10vw, 11rem);
  padding-bottom: clamp(6rem, 9vw, 9rem);
}

.tech-dark::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(240, 239, 237, 1) 0%,
      rgba(240, 239, 237, 0.62) 48%,
      rgba(240, 239, 237, 0) 100%
    );
}

.tech-dark::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 240px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(247, 246, 244, 0) 0%,
      rgba(247, 246, 244, 0.76) 62%,
      var(--nbq-paper-soft) 100%
    );
}

.tech-dark__inner,
.tech-dark .container {
  position: relative;
  z-index: 2;
}

.tech-dark .label--light {
  color: rgba(17, 17, 17, 0.56);
}

.tech-dark .square-marker--light {
  background: var(--color-text);
}

.arch-card {
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(61, 207, 234, 0.13), transparent 28%),
    linear-gradient(180deg, #15191d 0%, #0e1115 100%);
  box-shadow: 0 32px 90px rgba(17, 17, 17, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* CAPABILITIES: replaces visible grid dividers with soft cards. */
.capabilities {
  position: relative;
  background:
    linear-gradient(180deg, var(--nbq-paper-soft) 0%, #f4f2ee 46%, var(--nbq-paper) 100%);
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(5.5rem, 8vw, 8.5rem);
}

.capabilities::before,
.capabilities::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.capabilities::before {
  top: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(247,246,244,1), rgba(247,246,244,0));
}

.capabilities::after {
  bottom: -1px;
  height: 200px;
  background: linear-gradient(180deg, rgba(240,239,237,0), var(--nbq-paper-warm));
}

.capabilities > .container {
  position: relative;
  z-index: 1;
}

.capabilities__grid {
  gap: 1rem;
  border-top: 0;
}

.cap-item,
.cap-item:nth-child(1),
.cap-item:nth-child(2),
.cap-item:nth-child(3),
.cap-item:nth-child(4) {
  border: 0 !important;
  padding: 1.6rem;
  min-height: 250px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 60px rgba(17, 17, 17, 0.045);
}

.cap-item:hover {
  background: rgba(255, 255, 255, 0.62);
  transform: translateY(-3px);
  transition:
    transform var(--duration-mid) var(--ease),
    background var(--duration-mid) var(--ease),
    box-shadow var(--duration-mid) var(--ease);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 24px 70px rgba(17, 17, 17, 0.07);
}

.services-terminal {
  position: relative;
  z-index: 1;
}

/* DOMAINS: soft continuation; image cards no longer feel separated by a hard line. */
.domain-showcase {
  background:
    radial-gradient(circle at 86% 12%, rgba(61, 207, 234, 0.07), transparent 30%),
    linear-gradient(180deg, var(--nbq-paper-warm) 0%, var(--nbq-paper) 44%, var(--nbq-paper-soft) 100%);
  padding-top: clamp(6rem, 9vw, 9rem);
  padding-bottom: clamp(6rem, 9vw, 9rem);
}

.domain-showcase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 190px;
  pointer-events: none;
  background: linear-gradient(180deg, var(--nbq-paper-warm), rgba(235, 233, 228, 0));
}

.domain-showcase > .container {
  position: relative;
  z-index: 1;
}

.domain-card {
  border-color: rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 70px rgba(17, 17, 17, 0.055);
  overflow: hidden;
}

.domain-card:hover {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(17, 17, 17, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 28px 80px rgba(17, 17, 17, 0.08);
}

.domain-card__pill {
  border-color: rgba(17, 17, 17, 0.10);
  background: rgba(255, 255, 255, 0.52);
}

/* FOOTER: no hard top border; subtle fade from content into footer. */
.footer {
  margin-top: -1px;
  background:
    linear-gradient(180deg, var(--nbq-paper-soft) 0%, #e9e7e2 100%);
  box-shadow: inset 0 60px 90px rgba(255, 255, 255, 0.34);
}

/* Accessibility: reduce animated background movement when requested. */
@media (prefers-reduced-motion: reduce) {
  .about-split__grid-bg,
  .about-split__grid-bg::before,
  .about-split__grid-bg::after,
  .hero-v2__glow {
    animation: none !important;
  }
}

/* ============================================================
   NBQ INDEX — SEAMLESS HERO/ABOUT + REFINED ABOUT CARDS V2
   Paste this block at the VERY END of css/style.css.
   ============================================================ */

/* The hero now physically overlaps the About section so the fade is not a hard stacked cut. */
.hero--nbq-v2 {
  min-height: calc(100vh + 140px);
  padding-bottom: 140px;
  margin-bottom: -140px;
  background:
    radial-gradient(circle at 16% 18%, rgba(61, 207, 234, 0.11), transparent 30%),
    radial-gradient(circle at 78% 24%, rgba(0, 212, 170, 0.085), transparent 32%),
    radial-gradient(circle at 48% 92%, rgba(0, 212, 170, 0.08), transparent 38%),
    linear-gradient(
      180deg,
      #050607 0%,
      #060709 50%,
      #071014 78%,
      #08141a 100%
    );
}

.hero--nbq-v2::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 420px;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 72%, rgba(61, 207, 234, 0.075), transparent 50%),
    linear-gradient(
      180deg,
      rgba(5, 6, 7, 0) 0%,
      rgba(6, 9, 11, 0.24) 30%,
      rgba(7, 14, 18, 0.72) 64%,
      rgba(8, 20, 26, 0.98) 100%
    );
}

.hero--nbq-v2::after {
  height: 520px;
  bottom: -1px;
  z-index: 3;
  background:
    linear-gradient(
      180deg,
      rgba(5, 6, 7, 0) 0%,
      rgba(7, 13, 17, 0.18) 22%,
      rgba(8, 20, 26, 0.66) 58%,
      rgba(8, 20, 26, 1) 100%
    );
}

.hero-v2__container {
  min-height: 100vh;
  z-index: 5;
}

.hero-v2__scanlines {
  opacity: 0.55;
  mask-image: linear-gradient(180deg, black 0%, black 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 72%, transparent 100%);
}

/* About starts underneath the hero with the same tone, then slowly develops its own depth. */
.about-split {
  margin-top: -1px;
  padding-top: clamp(12rem, 15vw, 17rem);
  padding-bottom: clamp(8rem, 11vw, 12rem);
  background:
    radial-gradient(circle at 16% 18%, rgba(61, 207, 234, 0.085), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(0, 212, 170, 0.075), transparent 30%),
    radial-gradient(circle at 62% 76%, rgba(61, 207, 234, 0.05), transparent 36%),
    linear-gradient(
      180deg,
      #08141a 0%,
      #08141a 12%,
      #091820 42%,
      #0b1c22 74%,
      var(--nbq-deep) 100%
    );
}

.about-split::before {
  height: 520px;
  background:
    linear-gradient(
      180deg,
      rgba(8, 20, 26, 1) 0%,
      rgba(8, 20, 26, 0.76) 38%,
      rgba(9, 24, 32, 0.28) 72%,
      rgba(9, 24, 32, 0) 100%
    );
}

.about-split::after {
  height: 390px;
  background:
    linear-gradient(
      180deg,
      rgba(16, 36, 43, 0) 0%,
      rgba(16, 36, 43, 0.56) 20%,
      rgba(63, 78, 76, 0.30) 54%,
      rgba(240, 239, 237, 0.78) 82%,
      var(--nbq-paper) 100%
    );
}

.about-split__grid-bg {
  opacity: 0.7;
}

.about-split__grid-bg::before {
  opacity: 0.18;
}

.about-split__grid-bg::after {
  opacity: 0.18;
  filter: blur(0.3px);
}

.about-split__inner {
  gap: clamp(3rem, 7vw, 7rem);
}

.about-split__headline {
  max-width: 11.5ch;
}

.about-split__intro {
  margin-bottom: 1.25rem;
  max-width: 66ch;
}

/* About boxes now follow the same professional card language as the lower sections. */
.about-split .feature-card,
.about-split .feature-card--light,
.about-split .feature-card--panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: clamp(1.35rem, 2vw, 1.75rem);
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  background:
    radial-gradient(circle at 95% 0%, rgba(61, 207, 234, 0.115), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.038));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 22px 70px rgba(0, 0, 0, 0.21);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform var(--duration-mid) var(--ease),
    border-color var(--duration-mid) var(--ease),
    background var(--duration-mid) var(--ease),
    box-shadow var(--duration-mid) var(--ease);
}

.about-split .feature-card::before,
.about-split .feature-card--light::before,
.about-split .feature-card--panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 32%),
    linear-gradient(315deg, rgba(0, 212, 170, 0.055), transparent 42%);
  opacity: 0.72;
}

.about-split .feature-card > .square-marker,
.about-split .feature-card--light > .square-marker,
.about-split .feature-card--panel > .square-marker {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #3dcfea;
  box-shadow: 0 0 22px rgba(61, 207, 234, 0.42);
  opacity: 0.86;
}

.about-split .feature-card__body {
  position: relative;
  z-index: 1;
  max-width: 58ch;
}

.about-split .feature-card__meta {
  width: max-content;
  margin-bottom: 0.9rem;
  padding: 0.25rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 207, 234, 0.18);
  background: rgba(61, 207, 234, 0.075);
  color: rgba(144, 229, 242, 0.86);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-split .feature-card__title {
  margin-bottom: 0.7rem;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: -0.015em;
}

.about-split .feature-card__body p {
  max-width: 58ch;
  line-height: 1.72;
}

.about-split .feature-card:hover,
.about-split .feature-card--light:hover,
.about-split .feature-card--panel:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 207, 234, 0.22);
  background:
    radial-gradient(circle at 95% 0%, rgba(61, 207, 234, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.092), rgba(255, 255, 255, 0.052));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 90px rgba(0, 0, 0, 0.26),
    0 0 60px rgba(61, 207, 234, 0.055);
}

/* A slightly stronger fade into the next light section because About is now deeper/darker. */
.tech-dark {
  padding-top: clamp(8rem, 11vw, 12rem);
  background:
    radial-gradient(circle at 18% 0%, rgba(61, 207, 234, 0.055), transparent 30%),
    linear-gradient(
      180deg,
      var(--nbq-paper) 0%,
      #f1efeb 34%,
      var(--nbq-paper-soft) 100%
    );
}

.tech-dark::before {
  height: 280px;
  background:
    linear-gradient(
      180deg,
      rgba(240, 239, 237, 1) 0%,
      rgba(240, 239, 237, 0.74) 48%,
      rgba(240, 239, 237, 0) 100%
    );
}

/* ============================================================
   FINAL PATCH — ABOUT SECTION TYPOGRAPHY / SPACING REFINEMENT
   Fixes cramped heading + paragraph spacing shown in screenshot
   ============================================================ */

.about-split__inner {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(460px, 1fr);
  align-items: start;
  gap: clamp(3rem, 6vw, 6.5rem);
}

.about-split__left {
  max-width: 680px;
}

.about-split__headline {
  max-width: 620px;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
  margin: 0;
}

.about-split__right {
  padding-top: clamp(1.4rem, 3vw, 2.8rem);
}

.about-split__intro {
  max-width: 760px;
  margin: 0 0 clamp(1.8rem, 3vw, 2.6rem);
  font-size: clamp(1.02rem, 1.15vw, 1.18rem);
  line-height: 1.85;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.68);
}

/* Mobile/tablet safety overrides kept here as well, so this file works
   even if responsive.css has older About overrides. */
@media (max-width: 960px) {
  .about-split__inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 3.5rem);
  }

  .about-split__left {
    max-width: none;
  }

  .about-split__headline {
    max-width: 760px;
    font-size: clamp(2.7rem, 8vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .about-split__right {
    padding-top: 0;
  }

  .about-split__intro {
    max-width: 760px;
    margin-top: 0.4rem;
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.8;
  }
}

@media (max-width: 640px) {
  .about-split {
    padding-top: 5.5rem;
  }

  .about-split .label {
    margin-bottom: 1.65rem;
  }

  .about-split__headline {
    max-width: 11.5ch;
    font-size: clamp(2.55rem, 11vw, 3.65rem);
    line-height: 1.07;
    letter-spacing: -0.045em;
  }

  .about-split__intro {
    max-width: 34rem;
    margin-top: 1.65rem;
    font-size: 1rem;
    line-height: 1.85;
  }
}

@media (max-width: 420px) {
  .about-split__headline {
    max-width: 10.8ch;
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .about-split__intro {
    font-size: 0.96rem;
    line-height: 1.8;
  }
}


/* ============================================================
   ABOUT SECTION — RIGHT CONTENT VERTICAL ALIGNMENT FIX
   ============================================================ */

.about-split__right {
  padding-top: clamp(1.4rem, 3vw, 2.8rem);
}

.about-split__intro {
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

.feature-card--light + .feature-card--light {
  margin-top: 1rem;
}

/* ============================================================
   DIGITAL SECTION DIVIDER — hero → about transition
   Matches the .hero-v2__rule aesthetic but spans full viewport width.
   ============================================================ */
/* about-split clips absolutely positioned children by default —
   override so the divider can straddle the top boundary */
.about-split {
  overflow: visible;
}

/* The grid-bg and pseudo-elements self-clip, so making the parent
   overflow: visible does not cause any visual bleed from them */
.about-split__grid-bg {
  overflow: hidden;
}

/* ============================================================
   DIGITAL SECTION DIVIDER — hero → about transition
   Sits in normal document flow between the two sections.
   height: 0 + overflow: visible means it takes no layout space
   but its children are fully visible and never clipped.
   z-index: 50 paints it above both section stacking contexts.
   ============================================================ */
.digital-section-divider {
  position: relative;
  z-index: 50;
  width: 100%;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

/* Full-width glowing line — draws left to right at the exact boundary */
.digital-section-divider__line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 212, 170, 0.12) 6%,
    #00d4aa 28%,
    rgba(61, 207, 234, 0.95) 50%,
    #00d4aa 72%,
    rgba(0, 212, 170, 0.12) 94%,
    transparent 100%
  );
  box-shadow:
    0 0 18px rgba(0, 212, 170, 0.55),
    0 0 5px rgba(61, 207, 234, 0.9);
  clip-path: inset(0 100% 0 0);
  animation: dividerLineGrow 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes dividerLineGrow {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* Light sweep that travels across after the line fully draws */
.digital-section-divider__sweep {
  position: absolute;
  top: -20px;
  left: -12%;
  width: 100px;
  height: 40px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 170, 0.10),
    rgba(61, 207, 234, 0.30),
    rgba(0, 212, 170, 0.10),
    transparent
  );
  animation: dividerSweep 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.65s forwards;
  pointer-events: none;
}

@keyframes dividerSweep {
  from { left: -12%; }
  to   { left: 112%; }
}

/* Node dots that pop in as the line passes through them */
.digital-section-divider__nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 7%;
  pointer-events: none;
}

.digital-section-divider__nodes span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3dcfea;
  box-shadow:
    0 0 10px rgba(61, 207, 234, 0.75),
    0 0 3px rgba(61, 207, 234, 1);
  opacity: 0;
  transform: scale(0);
  animation: dividerNodePop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.digital-section-divider__nodes span:nth-child(1) { animation-delay: 0.6s; }
.digital-section-divider__nodes span:nth-child(2) { animation-delay: 0.82s; }
.digital-section-divider__nodes span:nth-child(3) { animation-delay: 1.05s; }
.digital-section-divider__nodes span:nth-child(4) { animation-delay: 1.28s; }
.digital-section-divider__nodes span:nth-child(5) { animation-delay: 1.5s; }

@keyframes dividerNodePop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .digital-section-divider__line {
    clip-path: inset(0 0% 0 0);
    animation: none;
  }

  .digital-section-divider__sweep {
    display: none;
  }

  .digital-section-divider__nodes span {
    opacity: 1;
    transform: scale(1);
    animation: none;
  }
}

/* ============================================================
   DIGITAL SECTION DIVIDER — VIEW-TRIGGERED SLOW SWEEP FIX
   Makes the hero → about line animate only when visible.
   Slower left-to-right pass with stronger controlled brightness.
   ============================================================ */

.digital-section-divider__line {
  clip-path: inset(0 100% 0 0);
  animation: none;
  opacity: 0.92;
}

.digital-section-divider.is-visible .digital-section-divider__line {
  animation: dividerLineGrowSlow 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes dividerLineGrowSlow {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0.45;
    filter: brightness(0.75);
  }

  45% {
    opacity: 0.92;
    filter: brightness(1.15);
  }

  100% {
    clip-path: inset(0 0% 0 0);
    opacity: 0.78;
    filter: brightness(0.95);
  }
}

/* Slower visible pass from left to right */
.digital-section-divider__sweep {
  left: -18%;
  width: clamp(120px, 15vw, 240px);
  height: 54px;
  top: -27px;
  opacity: 0;
  animation: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 212, 170, 0.04) 18%,
    rgba(0, 212, 170, 0.18) 34%,
    rgba(61, 207, 234, 0.58) 50%,
    rgba(144, 229, 242, 0.36) 62%,
    rgba(0, 212, 170, 0.12) 78%,
    transparent 100%
  );
  filter: blur(1px);
  mix-blend-mode: screen;
}

.digital-section-divider.is-visible .digital-section-divider__sweep {
  animation:
    dividerSweepSlow 4.8s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards,
    dividerSweepSecondPass 7.2s cubic-bezier(0.22, 1, 0.36, 1) 7.4s forwards;
}

@keyframes dividerSweepSlow {
  0% {
    left: -18%;
    opacity: 0;
    filter: blur(1.5px) brightness(0.65);
  }

  12% {
    opacity: 0.42;
    filter: blur(1.2px) brightness(0.9);
  }

  42% {
    opacity: 0.86;
    filter: blur(0.8px) brightness(1.28);
  }

  58% {
    opacity: 1;
    filter: blur(0.6px) brightness(1.45);
  }

  78% {
    opacity: 0.55;
    filter: blur(1px) brightness(1.05);
  }

  100% {
    left: 118%;
    opacity: 0;
    filter: blur(1.6px) brightness(0.7);
  }

  
}

@keyframes dividerSweepSecondPass {
  0% {
    left: -22%;
    opacity: 0;
    filter: blur(1.8px) brightness(0.55);
  }

  14% {
    opacity: 0.28;
    filter: blur(1.5px) brightness(0.8);
  }

  42% {
    opacity: 0.58;
    filter: blur(1px) brightness(1.05);
  }

  56% {
    opacity: 0.72;
    filter: blur(0.9px) brightness(1.22);
  }

  78% {
    opacity: 0.36;
    filter: blur(1.3px) brightness(0.92);
  }

  100% {
    left: 122%;
    opacity: 0;
    filter: blur(1.9px) brightness(0.62);
  }
}

/* Nodes now appear in sync with the slower pass */
.digital-section-divider__nodes span {
  opacity: 0;
  transform: scale(0);
  animation: none;
}

.digital-section-divider.is-visible .digital-section-divider__nodes span {
  animation: dividerNodePopSlow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.digital-section-divider.is-visible .digital-section-divider__nodes span:nth-child(1) {
  animation-delay: 0.75s;
}

.digital-section-divider.is-visible .digital-section-divider__nodes span:nth-child(2) {
  animation-delay: 1.45s;
}

.digital-section-divider.is-visible .digital-section-divider__nodes span:nth-child(3) {
  animation-delay: 2.15s;
}

.digital-section-divider.is-visible .digital-section-divider__nodes span:nth-child(4) {
  animation-delay: 2.85s;
}

.digital-section-divider.is-visible .digital-section-divider__nodes span:nth-child(5) {
  animation-delay: 3.55s;
}

@keyframes dividerNodePopSlow {
  0% {
    opacity: 0;
    transform: scale(0);
    box-shadow:
      0 0 0 rgba(61, 207, 234, 0),
      0 0 0 rgba(0, 212, 170, 0);
  }

  65% {
    opacity: 1;
    transform: scale(1.35);
    box-shadow:
      0 0 18px rgba(61, 207, 234, 0.9),
      0 0 8px rgba(0, 212, 170, 0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(61, 207, 234, 0.65),
      0 0 4px rgba(0, 212, 170, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .digital-section-divider__line {
    clip-path: inset(0 0% 0 0);
    animation: none;
  }

  .digital-section-divider__sweep {
    display: none;
  }

  .digital-section-divider__nodes span {
    opacity: 1;
    transform: scale(1);
    animation: none;
  }
}