:root {
  color-scheme: dark;
  --bg: #030711;
  --bg-2: #070c19;
  --panel: rgba(10, 17, 34, 0.84);
  --panel-strong: rgba(14, 22, 43, 0.96);
  --line: rgba(146, 170, 210, 0.18);
  --line-strong: rgba(128, 167, 255, 0.35);
  --text: #f7fbff;
  --muted: #a9b4c8;
  --soft: #d8e2f2;
  --blue: #24b9ff;
  --blue-strong: #3d82ff;
  --violet: #9b5cff;
  --violet-soft: #c9a7ff;
  --success: #5ce1b8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --radius: 8px;
  --max: 1500px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 104px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(3, 7, 17, 0.98), rgba(3, 7, 17, 0.96)),
    repeating-linear-gradient(90deg, transparent 0, transparent 118px, rgba(36, 185, 255, 0.035) 120px);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(120deg, rgba(36, 185, 255, 0.08), transparent 35%),
    linear-gradient(300deg, rgba(155, 92, 255, 0.12), transparent 38%),
    #030711;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(127, 220, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 220, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: 0 28px 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 82px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(146, 170, 210, 0.08);
  background: rgba(3, 7, 17, 0.78);
  backdrop-filter: blur(18px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(36, 185, 255, 0.42), rgba(155, 92, 255, 0.35), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #030711;
  font-size: 29px;
  font-weight: 950;
  line-height: 1;
  clip-path: polygon(50% 0, 100% 100%, 67% 100%, 51% 64%, 31% 100%, 0 100%);
  background: linear-gradient(135deg, #ffffff, #7fdcff 70%, #9b5cff);
}

.brand-copy {
  display: grid;
  gap: 1px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-copy strong {
  font-size: 21px;
  letter-spacing: 0.1em;
}

.brand-copy span {
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.1vw, 34px);
  color: var(--soft);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  color: color-mix(in srgb, var(--soft) 82%, white);
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.language-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(146, 170, 210, 0.2);
  border-radius: var(--radius);
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  background: rgba(10, 17, 34, 0.62);
}

.ghost-action,
.secondary-action,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--text);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.primary-action {
  border-color: transparent;
  background: linear-gradient(135deg, #246bff, #8b49ff 82%);
  box-shadow: 0 18px 42px rgba(42, 105, 255, 0.26);
}

.secondary-action,
.ghost-action {
  background: rgba(10, 17, 34, 0.72);
}

.primary-action:hover,
.secondary-action:hover,
.ghost-action:hover,
.mode-card:hover,
.node:hover {
  transform: translateY(-2px);
}

.primary-action.full {
  width: 100%;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(10, 17, 34, 0.78);
}

.icon-button svg,
a svg,
button svg {
  width: 17px;
  height: 17px;
}

.nav-toggle {
  display: none;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(500px, 1.38fr) minmax(300px, 0.74fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  min-height: clamp(680px, calc(100vh - 86px), 820px);
  padding: 22px 0 24px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--violet-soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  max-width: 710px;
  font-size: clamp(46px, 4.3vw, 72px);
  line-height: 0.98;
  font-weight: 780;
  text-shadow: 0 18px 70px rgba(36, 185, 255, 0.14);
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #f7fbff 0%, #7fdcff 28%, #c9a7ff 72%, #ffffff 100%);
  background-clip: text;
}

.hero-lede {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: clamp(17px, 1.1vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 50px;
  color: rgba(216, 226, 242, 0.62);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-strip span {
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.trust-strip span:last-child {
  border-right: 0;
}

.hero-intel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  max-width: 540px;
}

.hero-intel-grid div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  border: 1px solid rgba(146, 170, 210, 0.16);
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(36, 185, 255, 0.08), transparent 54%),
    rgba(10, 17, 34, 0.58);
  box-shadow: var(--inner-glow);
}

.hero-intel-grid svg {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.hero-intel-grid strong {
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-intel-grid span {
  color: var(--muted);
  font-size: 12px;
}

.ecosystem-stage {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: center;
  justify-items: center;
  isolation: isolate;
}

.ecosystem-stage::marker {
  content: "";
}

#pulse-core {
  width: min(100%, 760px);
  height: min(66vw, 680px);
  min-height: 500px;
  border-radius: 50%;
  opacity: 0.96;
}

.ecosystem-stage::before,
.ecosystem-stage::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(111, 150, 255, 0.22);
  border-radius: 999px;
}

.ecosystem-stage::before {
  width: min(90%, 620px);
  aspect-ratio: 1;
  box-shadow:
    0 0 60px rgba(36, 185, 255, 0.08),
    inset 0 0 90px rgba(155, 92, 255, 0.08);
}

.ecosystem-stage::after {
  width: min(72%, 480px);
  aspect-ratio: 1;
  box-shadow: inset 0 0 70px rgba(36, 185, 255, 0.08);
}

.node {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  gap: 10px;
  border: 1px solid rgba(128, 167, 255, 0.22);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(135deg, rgba(127, 220, 255, 0.08), transparent 55%),
    rgba(7, 12, 25, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.node::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 32%, rgba(255, 255, 255, 0.16) 42%, transparent 52%);
  transform: translateX(-110%);
  transition: transform 420ms ease;
}

.node:hover::after {
  transform: translateX(110%);
}

.node.is-active {
  border-color: color-mix(in srgb, var(--blue) 48%, var(--violet));
  background: rgba(17, 29, 59, 0.92);
}

.node strong,
.node small {
  display: block;
}

.node strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.node small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.node-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(36, 185, 255, 0.28);
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(36, 185, 255, 0.08);
}

.node-fleet {
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
}

.node-bellovore {
  top: 184px;
  left: 4%;
}

.node-sabina {
  right: 3%;
  top: 190px;
}

.node-digital {
  right: 1%;
  bottom: 164px;
}

.node-nefreya {
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
}

.node-future {
  bottom: 164px;
  left: 1%;
}

.system-brief {
  position: absolute;
  right: 50%;
  bottom: 104px;
  z-index: 4;
  width: min(88%, 300px);
  transform: translateX(50%);
  border: 1px solid rgba(155, 92, 255, 0.32);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(36, 185, 255, 0.12), transparent 50%),
    rgba(5, 10, 22, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.system-brief h2 {
  font-size: 23px;
}

.system-brief p:not(.eyebrow) {
  margin: 10px 0 14px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.6;
}

.system-brief a,
.build-intro a,
.mode-output a,
.project-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.nefreya-panel {
  align-self: center;
  border: 1px solid rgba(155, 92, 255, 0.33);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(155, 92, 255, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 28%),
    var(--panel);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.nefreya-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(rgba(127, 220, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 92, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
}

.panel-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nefreya-identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nefreya-identity small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nefreya-core {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(155, 92, 255, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0 8%, #c9a7ff 9% 22%, rgba(155, 92, 255, 0.16) 23% 62%, transparent 63%),
    rgba(155, 92, 255, 0.08);
}

.nefreya-core::after {
  position: absolute;
  inset: -7px;
  content: "";
  border: 1px solid rgba(36, 185, 255, 0.18);
  border-radius: inherit;
}

.panel-topline h2 {
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-topline span {
  width: 62px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.assistant-text {
  position: relative;
  z-index: 1;
  margin: 22px 0 16px;
  color: var(--soft);
  line-height: 1.6;
}

.quick-prompts {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.quick-prompts button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(128, 167, 255, 0.16);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--soft);
  text-align: left;
  background:
    linear-gradient(90deg, rgba(155, 92, 255, 0.12), transparent 54%),
    rgba(15, 22, 45, 0.72);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.quick-prompts button:hover {
  transform: translateX(3px);
  border-color: rgba(36, 185, 255, 0.34);
  background:
    linear-gradient(90deg, rgba(36, 185, 255, 0.14), transparent 54%),
    rgba(15, 22, 45, 0.86);
}

.quick-prompts svg {
  flex: 0 0 auto;
  color: var(--violet-soft);
}

.mini-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(146, 170, 210, 0.22);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: rgba(3, 7, 17, 0.7);
  outline: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 185, 255, 0.18);
  outline: none;
}

textarea {
  resize: vertical;
}

.mini-response,
.form-note {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--success);
  font-size: 12px;
  line-height: 1.5;
}

.stats-band,
.tech-strip {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 52%),
    rgba(7, 12, 25, 0.82);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.stats-band {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 4px;
}

.stats-band div {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  display: block;
  grid-column: 2;
  font-size: 25px;
}

.stats-band span {
  display: block;
  grid-column: 2;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.stats-band svg {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  color: var(--violet-soft);
  filter: drop-shadow(0 0 20px rgba(155, 92, 255, 0.36));
}

.section-block,
.split-section,
.adaptive-section,
.case-section,
.contact-section {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%),
    rgba(7, 12, 25, 0.72);
  box-shadow: var(--inner-glow);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) 1fr;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section-heading h2,
.build-intro h2,
.contact-copy h2 {
  font-size: clamp(30px, 3vw, 54px);
  line-height: 1.04;
}

.section-heading p:not(.eyebrow),
.build-intro p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-card,
.capability-grid article,
.case-grid article,
.mode-card,
.mode-output,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 34, 0.74);
}

.project-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  min-height: 100%;
  box-shadow: var(--inner-glow);
  overflow: hidden;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 185, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(36, 185, 255, 0.08), transparent 58%),
    rgba(10, 17, 34, 0.86);
}

.project-card.is-highlighted {
  border-color: rgba(36, 185, 255, 0.5);
  background: rgba(14, 29, 58, 0.86);
}

.project-visual {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #07111f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -60px 80px rgba(0, 0, 0, 0.26);
}

.project-visual::before,
.project-visual::after,
.project-visual span {
  position: absolute;
  content: "";
}

.visual-fleet {
  background:
    linear-gradient(150deg, rgba(36, 185, 255, 0.18), transparent 42%),
    linear-gradient(30deg, #07111f, #142139);
}

.visual-fleet::before {
  right: 18px;
  bottom: 38px;
  width: 46%;
  height: 35%;
  border: 1px solid rgba(36, 185, 255, 0.42);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(36, 185, 255, 0.2), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12px);
}

.visual-fleet::after {
  left: 26px;
  bottom: 42px;
  width: 43%;
  height: 34px;
  border-radius: 5px 13px 5px 5px;
  background: linear-gradient(90deg, #101b2c, #254569);
  box-shadow:
    24px 31px 0 -13px #030711,
    82px 31px 0 -13px #030711,
    24px 31px 0 -8px #24b9ff,
    82px 31px 0 -8px #24b9ff;
}

.visual-fleet span:nth-child(1) {
  inset: auto 18px 16px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36, 185, 255, 0.7), transparent);
}

.visual-fleet span:nth-child(2) {
  top: 26px;
  left: 22px;
  width: 46%;
  height: 54%;
  border: 1px solid rgba(36, 185, 255, 0.24);
  border-radius: 50%;
  background:
    linear-gradient(rgba(36, 185, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 185, 255, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  transform: perspective(240px) rotateX(58deg) rotateZ(-18deg);
}

.visual-fleet span:nth-child(3) {
  top: 38px;
  right: 38px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ce1b8;
  box-shadow:
    -34px 28px 0 #24b9ff,
    -72px 54px 0 #9b5cff,
    -16px 86px 0 #ffffff;
}

.visual-bellovore {
  background:
    linear-gradient(180deg, rgba(255, 203, 125, 0.12), transparent 62%),
    linear-gradient(135deg, #111017, #2d2b42 50%, #080b14);
}

.visual-bellovore::before {
  left: 18px;
  right: 18px;
  bottom: 24px;
  height: 58px;
  clip-path: polygon(0 100%, 16% 28%, 28% 62%, 43% 18%, 62% 68%, 76% 32%, 100% 100%);
  background: linear-gradient(180deg, #727b93, #191a25);
}

.visual-bellovore::after {
  top: 38px;
  left: 36px;
  width: 52%;
  height: 1px;
  background: rgba(255, 230, 177, 0.75);
  box-shadow: 0 18px 0 rgba(255, 230, 177, 0.26);
}

.visual-bellovore span:nth-child(1) {
  top: 28px;
  right: 34px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 177, 0.92), rgba(255, 230, 177, 0.06) 62%, transparent 63%);
}

.visual-bellovore span:nth-child(2) {
  right: 0;
  bottom: 0;
  left: 0;
  height: 54%;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.48)),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(255, 255, 255, 0.06) 37px 38px);
}

.visual-title {
  position: absolute;
  left: 24px;
  top: 52px;
  color: rgba(255, 244, 215, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing: 0.08em;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
}

.visual-sabina {
  background:
    linear-gradient(160deg, rgba(36, 185, 255, 0.16), transparent 45%),
    linear-gradient(20deg, #111722, #263344);
}

.visual-sabina::before {
  left: 28px;
  bottom: 42px;
  width: 70%;
  height: 48px;
  border-radius: 8px 20px 8px 8px;
  background: linear-gradient(90deg, #d8e2f2, #8ea2be);
  box-shadow:
    32px 40px 0 -14px #030711,
    122px 40px 0 -14px #030711,
    32px 40px 0 -8px #24b9ff,
    122px 40px 0 -8px #24b9ff;
}

.visual-sabina::after {
  right: 22px;
  bottom: 86px;
  width: 34%;
  height: 40%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 28px);
}

.visual-sabina span:nth-child(1) {
  inset: auto 0 0;
  height: 58px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px);
}

.visual-route {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: rotate(-10deg);
  box-shadow:
    -28px -34px 0 -1px #24b9ff,
    -76px -6px 0 -1px #5ce1b8,
    -118px -42px 0 -1px #c9a7ff;
}

.visual-digital {
  background:
    linear-gradient(135deg, rgba(155, 92, 255, 0.16), transparent 45%),
    linear-gradient(25deg, #061220, #101b35);
}

.visual-digital::before {
  inset: 22px;
  border: 1px solid rgba(36, 185, 255, 0.24);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(36, 185, 255, 0.14), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 255, 255, 0.08) 18px 19px);
}

.visual-digital::after {
  right: 42px;
  bottom: 42px;
  width: 42%;
  height: 2px;
  background: var(--blue);
  box-shadow:
    -18px -22px 0 var(--violet),
    -44px 18px 0 #5ce1b8,
    30px -46px 0 rgba(36, 185, 255, 0.72);
}

.visual-dashboard {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 42%;
  height: 48%;
  border: 1px solid rgba(127, 220, 255, 0.25);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(3, 7, 17, 0.58);
  backdrop-filter: blur(8px);
}

.visual-dashboard b {
  position: absolute;
  right: 12px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.visual-dashboard b:nth-child(1) {
  top: 18px;
  width: 68%;
}

.visual-dashboard b:nth-child(2) {
  top: 42px;
  width: 86%;
  background: linear-gradient(90deg, var(--violet), transparent);
}

.visual-dashboard b:nth-child(3) {
  top: 66px;
  width: 54%;
  background: linear-gradient(90deg, var(--success), transparent);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-meta h3 {
  font-size: 21px;
}

.card-meta span {
  border: 1px solid rgba(155, 92, 255, 0.4);
  border-radius: 5px;
  padding: 4px 6px;
  color: var(--violet-soft);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) 1fr;
  gap: 24px;
}

.build-intro {
  align-self: center;
}

.build-intro p {
  margin: 18px 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.capability-grid article,
.case-grid article {
  padding: 22px;
}

.capability-grid svg {
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: var(--blue);
}

.capability-grid h3,
.case-grid h3 {
  font-size: 18px;
}

.capability-grid p,
.case-grid p,
.mode-card span,
.mode-output p {
  color: var(--muted);
  line-height: 1.6;
}

.mode-layout {
  display: grid;
  grid-template-columns: 1fr minmax(290px, 0.38fr);
  gap: 18px;
  margin-top: 24px;
}

.mode-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mode-card {
  display: grid;
  gap: 10px;
  min-height: 174px;
  padding: 18px;
  color: var(--text);
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.mode-card.is-active {
  border-color: rgba(36, 185, 255, 0.54);
  background: rgba(14, 29, 58, 0.88);
}

.mode-card svg {
  width: 30px;
  height: 30px;
  color: var(--violet-soft);
}

.mode-card strong {
  font-size: 17px;
}

.mode-output {
  align-self: stretch;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(36, 185, 255, 0.12), transparent 42%),
    rgba(10, 17, 34, 0.92);
}

.mode-output h3 {
  font-size: 28px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.case-grid p {
  margin: 12px 0 0;
}

.case-grid strong {
  color: var(--soft);
}

.tech-strip {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  overflow: hidden;
}

.tech-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 72px;
  border-right: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
  font-weight: 820;
  text-align: center;
}

.tech-strip svg {
  width: 19px;
  height: 19px;
  color: var(--blue);
  filter: drop-shadow(0 0 16px rgba(36, 185, 255, 0.35));
}

.tech-strip span:last-child {
  border-right: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.52fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, rgba(36, 185, 255, 0.1), transparent 45%),
    linear-gradient(300deg, rgba(155, 92, 255, 0.16), transparent 36%),
    rgba(7, 12, 25, 0.78);
}

.contact-copy p {
  max-width: 680px;
  margin-top: 16px;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--soft);
  background: rgba(3, 7, 17, 0.38);
}

.contact-points svg {
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 760;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 28px;
  align-items: end;
  padding: 30px 0 10px;
  color: var(--muted);
}

.footer-brand p {
  max-width: 320px;
  margin: 14px 0 0;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-contact a {
  color: var(--soft);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1240px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    right: 28px;
    left: 28px;
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    background: rgba(3, 7, 17, 0.96);
  }

  .main-nav.is-open {
    display: grid;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ecosystem-stage {
    min-height: 650px;
    order: 2;
  }

  .nefreya-panel {
    order: 3;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-band {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
  }

  .split-section,
  .mode-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .tech-strip {
    grid-template-columns: repeat(6, minmax(110px, 1fr));
  }
}

@media (max-width: 820px) {
  .site-shell {
    padding: 0 16px 20px;
  }

  .site-header {
    min-height: 72px;
  }

  .ghost-action {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 15vw, 58px);
  }

  .ecosystem-stage {
    min-height: 820px;
    align-items: start;
    padding-top: 20px;
  }

  #pulse-core {
    height: 430px;
    min-height: 430px;
    margin-top: 90px;
  }

  .ecosystem-stage::before {
    width: 360px;
    top: 130px;
  }

  .ecosystem-stage::after {
    width: 260px;
    top: 180px;
  }

  .node {
    right: auto;
    left: 0;
    width: calc(50% - 8px);
    max-width: none;
    transform: none;
  }

  .node-fleet {
    top: 0;
  }

  .node-bellovore {
    top: 0;
    left: calc(50% + 8px);
  }

  .node-sabina {
    top: 90px;
  }

  .node-digital {
    top: 90px;
    left: calc(50% + 8px);
    bottom: auto;
  }

  .node-nefreya {
    top: 610px;
    left: 0;
    bottom: auto;
  }

  .node-future {
    top: 610px;
    left: calc(50% + 8px);
    bottom: auto;
  }

  .system-brief {
    right: 0;
    bottom: 88px;
    width: 100%;
    transform: none;
  }

  .project-grid,
  .capability-grid,
  .mode-options,
  .case-grid,
  .section-heading,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .tech-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-strip span:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .node {
    width: 100%;
  }

  .node-bellovore,
  .node-digital,
  .node-future {
    left: 0;
  }

  .node-bellovore {
    top: 76px;
  }

  .node-sabina {
    top: 152px;
  }

  .node-digital {
    top: 228px;
  }

  .node-nefreya {
    top: 654px;
  }

  .node-future {
    top: 730px;
  }

  .ecosystem-stage {
    min-height: 960px;
  }

  #pulse-core {
    margin-top: 250px;
  }

  .system-brief {
    bottom: 112px;
  }

  .card-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}
