:root {
  --canvas: #000000;
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --border-soft: rgba(255, 255, 255, 0.08);
  --glass-fill: rgba(255, 255, 255, 0.075);
  --glass-edge: rgba(255, 255, 255, 0.16);
  --glass-highlight: rgba(255, 255, 255, 0.26);
  --blue: rgba(121, 160, 255, 0.9);
  --orange: rgba(248, 128, 78, 0.92);
  --font-inter: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

.discovery-bubble {
  will-change: transform, opacity;
}

.burger-btn:focus { outline: none; }
.burger-btn:focus-visible { outline: 1px solid rgba(255,255,255,0.3); outline-offset: 2px; }

html, body {
  width: 100%;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-inter);
}

body {
  position: relative;
  cursor: default;
}

/* ── Global Neural Canvas ── */
#globalNeural {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
  will-change: transform;
}

.global-grain {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

/* ── Section transitions ── */
.section-transition {
  position: relative;
  height: 10vh;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

.section-transition[data-transition]::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86,194,255,0.2), transparent);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.4s ease;
  will-change: opacity;
}

.page-loader.loaded {
  opacity: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 28px;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
}

.header-icon img {
  height: 32px;
  width: 32px;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.header-wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  text-decoration: none;
}

.header-wordmark img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  justify-self: end;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  outline: none;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 300ms var(--ease-smooth), opacity 200ms ease, width 300ms ease;
}

.burger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--ease-smooth);
  will-change: opacity;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Prism accent strip in menu */
.menu-overlay::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,121,196,0.4) 20%, rgba(86,194,255,0.35) 50%, rgba(89,212,153,0.3) 80%, transparent);
  opacity: 0;
  transition: opacity 600ms ease 300ms;
  pointer-events: none;
  margin-top: 180px;
}

.menu-overlay.open::before {
  opacity: 1;
}

/* Subtle radial emission glow behind menu */
.menu-overlay::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(198,121,196,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.menu-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 500ms var(--ease-smooth), opacity 500ms var(--ease-smooth), color 200ms ease, text-shadow 200ms ease;
}

.menu-overlay.open .menu-link {
  transform: translateY(0);
  opacity: 1;
}

.menu-overlay.open .menu-link:nth-child(1) { transition-delay: 80ms; }
.menu-overlay.open .menu-link:nth-child(2) { transition-delay: 140ms; }
.menu-overlay.open .menu-link:nth-child(3) { transition-delay: 200ms; }
.menu-overlay.open .menu-link:nth-child(4) { transition-delay: 260ms; }

.menu-link:hover {
  color: #fff;
  text-shadow: 0 0 20px rgba(198,121,196,0.5), 0 0 40px rgba(198,121,196,0.2);
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background: transparent;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent 0%, #000000 100%);
  z-index: 10;
  pointer-events: none;
}

.neural-surface,
.vignette,
.grain-overlay,
.bubble-layer {
  position: absolute;
  inset: 0;
}

.neural-surface {
  z-index: 2;
  width: 100%;
  height: 100%;
}

.vignette {
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 44% at 50% 48%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.18) 58%, rgba(0,0,0,0.66) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0.5) 100%);
}

.grain-overlay {
  z-index: 4;
  pointer-events: none;
  opacity: 0.085;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.bubble-layer {
  z-index: 6;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 7;
  width: min(92vw, 980px);
  text-align: center;
  pointer-events: none;
}

.line-static {
  font-size: clamp(76px, 13.2vw, 164px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-shadow:
    0 0 28px rgba(255,255,255,0.08),
    0 0 80px rgba(116,147,227,0.08);
}

.line-typing {
  margin-top: 14px;
  min-height: 1.5em;
  font-size: clamp(24px, 4.4vw, 48px);
  line-height: 1.24;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--text-soft);
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 4px;
  vertical-align: text-bottom;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(143,184,255,0.9) 100%);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.discovery-bubble {
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px 17px;
  border-radius: 999px;
  color: rgba(255,255,255,0.97);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.26),
    0 0 20px rgba(var(--tr),var(--tg),var(--tb),0.24),
    0 12px 32px rgba(0,0,0,0.28);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  background: linear-gradient(135deg,
    rgba(var(--tr),var(--tg),var(--tb),0.38) 0%,
    rgba(var(--tr),var(--tg),var(--tb),0.22) 100%
  );
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

.discovery-bubble::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.02) 65%);
  pointer-events: none;
}

.discovery-bubble::after {
  content: "";
  position: absolute;
  width: 32%; height: 34%;
  top: 9%; left: 12%;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%,
    rgba(255,255,255,0.52) 0%,
    rgba(255,255,255,0.12) 44%,
    rgba(255,255,255,0) 100%
  );
  filter: blur(0.8px);
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 8;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
}

.scroll-arrow {
  font-size: 22px;
  line-height: 1;
  animation: floatArrow 2.2s ease-in-out infinite;
}

@keyframes floatArrow {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(5px); opacity: 0.9; }
}
/* ═══════════════════════════════════════════════════════════════════════════
   INNOVATION ENGINEERING — sui.io scroll timeline (rebuilt)
   ═══════════════════════════════════════════════════════════════════════════ */

.ie2-section {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding-bottom: 60px;
  background: #000000;
}

/* Grain texture overlay */
.ie2-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Neural background canvas */
.ie2-neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

/* ── Header block ──────────────────────────────────────────────────────── */
.ie2-header {
  position: relative;
  z-index: 2;
  padding: 100px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Prism accent strip — 2px line below heading */
.ie2-prism-strip {
  width: 120px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, #C679C4, #FA3D1D, #FFB005, #E1E1FE, #0358F7);
  opacity: 0.4;
  margin-bottom: 24px;
}

.ie2-heading {
  font-size: clamp(52px, 9vw, 128px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 28px;
  text-align: center;
}

.ie2-sub {
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
  max-width: 520px;
}

.ie2-pip {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #56C2FF;
  flex-shrink: 0;
}

/* ── Timeline body ─────────────────────────────────────────────────────── */
.ie2-body {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

/* Vertical dotted spine */
.ie2-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 1px;
  pointer-events: none;
  z-index: 1;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.28) 0px,
    rgba(255, 255, 255, 0.28) 4px,
    transparent 4px,
    transparent 12px
  );
}

/* Circle tracker — white emission */
.ie2-tracker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0px);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  will-change: transform;
  box-shadow: 0 0 12px rgba(255,255,255,0.8), 0 0 24px rgba(255,255,255,0.4), 0 0 40px rgba(255,255,255,0.2);
  transition: box-shadow 300ms ease;
}

/* ── Timeline rows ─────────────────────────────────────────────────────── */
.ie2-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 44px 0;
}

/* Odd cards on LEFT — even cards on RIGHT */
.ie2-row--left {
  justify-content: flex-start;
  padding-left: calc(50% + 52px);
}

.ie2-row--right {
  justify-content: flex-end;
  padding-right: calc(50% + 52px);
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
.ie2-card {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 500ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 500ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.ie2-row--left  .ie2-card { transform: translateX(-28px); }
.ie2-row--right .ie2-card { transform: translateX(28px); }

.ie2-card.ie2-card--visible {
  opacity: 1;
  transform: translateX(0);
}

.ie2-card:hover {
  border-color: rgba(198, 121, 196, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 40px rgba(198, 121, 196, 0.08),
    0 4px 40px rgba(0, 0, 0, 0.5);
}

/* Card header row */
.ie2-card-head {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 50px;
}

.ie2-card-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  font-family: 'SF Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.ie2-card-title {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-family: 'SF Mono', 'Fira Code', ui-monospace, monospace;
  font-size: clamp(9px, 0.95vw, 11px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.3;
}

/* Canvas area */
.ie2-card-canvas {
  display: block;
  width: 100%;
  height: 220px;
  background: #0a0c10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

/* Card footer row */
.ie2-card-foot {
  display: flex;
  align-items: stretch;
  min-height: 52px;
}

.ie2-card-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  color: rgba(86, 194, 255, 0.60);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.ie2-card-tags {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-family: 'SF Mono', 'Fira Code', ui-monospace, monospace;
  font-size: clamp(9px, 0.9vw, 11px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ie2-row { min-height: 440px; }
}

@media (max-width: 900px) {
  .ie2-header { padding: 72px 24px 56px; }
  .ie2-body   { padding: 0 24px 60px; }
  .ie2-row--right { padding-right: calc(50% + 32px); }
  .ie2-row--left  { padding-left:  calc(50% + 32px); }
  .ie2-card { max-width: 360px; }
  .ie2-row { min-height: 400px; }
}

@media (max-width: 640px) {
  .ie2-spine { left: 28px; transform: none; }
  .ie2-tracker { left: 0; transform: translate(-50%, 0); }
  .ie2-row--left,
  .ie2-row--right {
    justify-content: flex-start;
    padding-left: 56px;
    padding-right: 12px;
  }
  .ie2-row--left  .ie2-card { transform: translateY(14px); }
  .ie2-row--right .ie2-card { transform: translateY(14px); }
  .ie2-card.ie2-card--visible { transform: translateY(0); }
  .ie2-card { max-width: 100%; }
  .ie2-row { min-height: auto; padding: 24px 0; }
  .ie2-heading { font-size: clamp(40px, 12vw, 80px); }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 06 — BUILT TO STAY OPERATIONAL
   Raycast-style asymmetric engineering grid
   ═══════════════════════════════════════════════════════════════════════════ */

.so-section {
  position: relative;
  z-index: 2;
  background: #000000;
  padding: clamp(40px, 5vh, 60px) clamp(24px, 5vw, 80px) clamp(60px, 8vh, 80px);
}

.so-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 320px 240px 240px;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Title panel — top-left */
.so-panel--title       { grid-column: 1; grid-row: 1; }
/* Security — top-center, 1 cell */
.so-panel--security    { grid-column: 2; grid-row: 1; }
/* Scalability — top-right */
.so-panel--scalability { grid-column: 3; grid-row: 1; }
/* Reliability — mid-left */
.so-panel--reliability { grid-column: 1; grid-row: 2; }
/* Uptime — mid-center */
.so-panel--uptime      { grid-column: 2; grid-row: 2; }
/* Observability — mid-right */
.so-panel--observability { grid-column: 3; grid-row: 2; }
/* Failover — bottom, spans full width */
.so-panel--failover    { grid-column: 1 / 4; grid-row: 3; }

.so-panel {
  position: relative;
  background: #080a0e;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 300ms ease;
}

.so-panel:hover {
  background: #0c0f15;
}

/* Blueprint grid overlay on every panel */
.so-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(86,194,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86,194,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.so-panel-label {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 2;
  font-family: 'SF Mono', 'Fira Code', monospace;
  display: flex;
  align-items: center;
  gap: 10px;
}

.so-stat {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.5;
  color: #ffffff;
}

/* Per-panel label color hint — text-shadow glow */
.so-panel--security  .so-panel-label { text-shadow: 0 0 18px rgba(160,80,255,0.55); }
.so-panel--reliability .so-panel-label { text-shadow: 0 0 18px rgba(198,121,196,0.55); }
.so-panel--uptime    .so-panel-label { text-shadow: 0 0 18px rgba(255,180,0,0.55); }
.so-panel--failover  .so-panel-label { text-shadow: 0 0 18px rgba(255,100,80,0.55); }
.so-panel--observability .so-panel-label { text-shadow: 0 0 18px rgba(0,220,255,0.55); }
.so-panel--scalability .so-panel-label { text-shadow: 0 0 18px rgba(120,220,120,0.55); }

.so-canvas {
  position: absolute;
  top: 40px; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: calc(100% - 40px);
  z-index: 1;
}

/* Title panel content */
.so-panel--title {
  padding: 48px 32px 32px;
  justify-content: flex-end;
}

.so-heading {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 14px;
  position: relative;
  z-index: 2;
}

.so-desc {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
  max-width: 220px;
}

@media (max-width: 900px) {
  .so-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .so-panel--title       { grid-column: 1 / 3; grid-row: 1; height: 240px; }
  .so-panel--security    { grid-column: 1; grid-row: 2; height: 200px; }
  .so-panel--scalability { grid-column: 2; grid-row: 2; height: 200px; }
  .so-panel--reliability { grid-column: 1; grid-row: 3; height: 200px; }
  .so-panel--uptime      { grid-column: 2; grid-row: 3; height: 200px; }
  .so-panel--observability { grid-column: 1; grid-row: 4; height: 200px; }
  .so-panel--failover    { grid-column: 1 / 3; grid-row: 5; height: 200px; }
}



/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: #000;
}

/* Ambient neural canvas behind footer */
.footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* Top prism separator */
.footer-prism-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(198,121,196,0.55) 12%,
    rgba(250,61,29,0.50) 28%,
    rgba(255,176,5,0.50) 50%,
    rgba(225,225,254,0.40) 68%,
    rgba(3,88,247,0.50) 85%,
    transparent 100%);
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 64px 52px;
}

/* ── Brand wordmark ── */
.footer-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.footer-wordmark-logo {
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0.85;
  transition: opacity 300ms ease;
}
.footer-wordmark-logo:hover { opacity: 1; }

/* ── Center section: logo + statement ── */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-wordmark-top {
  height: 32px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0.90;
  transition: opacity 300ms ease;
}
.footer-wordmark-top:hover { opacity: 1; }

.footer-statement {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.32);
  letter-spacing: -0.01em;
  line-height: 1.65;
  max-width: 340px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.footer-cta svg { width:13px; height:13px; flex-shrink:0; }
.footer-cta:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
  color: #fff;
}

/* ── Bottom: nav left + copy right ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 150ms ease;
}
.footer-link:hover { color: #fff; }

.footer-nav-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.18);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Remove old footer classes */
.footer-brand-row, .footer-brand-left, .footer-icon,
.footer-col, .footer-col-label, .footer-nav,
.footer-bottom-left { display: contents; }

@media (max-width: 768px) {
  .footer-inner { padding: 60px 28px 40px; }
  .footer-headline { font-size: clamp(32px,8vw,56px); margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-nav-row { gap: 18px; }
}




.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-wordmark {
  height: 16px;
  width: auto;
  opacity: 0.35;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.01em;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social {
  color: rgba(255, 255, 255, 0.24);
  text-decoration: none;
  transition: color 160ms ease;
  display: flex;
  align-items: center;
}
.footer-social:hover { color: rgba(255, 255, 255, 0.80); }

@media (max-width: 1024px) {
  .footer-inner { padding: 64px 48px 40px; }
  .footer-brand-row { grid-template-columns: 260px 1fr; gap: 56px; }
}

@media (max-width: 840px) {
  .footer-brand-row { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
}

@media (max-width: 600px) {
  .footer-inner { padding: 56px 24px 36px; gap: 48px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR (sui.io inspired)
   ═══════════════════════════════════════════════════════════════════════════ */

.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 48px 9px 20px;
  background: rgba(3, 88, 247, 0.18);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid rgba(3, 88, 247, 0.3);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.01em;
  transition: transform 300ms cubic-bezier(0.22,1,0.36,1), opacity 300ms ease;
  height: 40px;
}

.announce-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.announce-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #56C2FF;
  box-shadow: 0 0 8px rgba(86,194,255,0.8);
  flex-shrink: 0;
  animation: announcePulse 2s ease-in-out infinite;
}

@keyframes announcePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(86,194,255,0.8); }
  50% { opacity: 0.6; box-shadow: 0 0 16px rgba(86,194,255,0.4); }
}

.announce-text { flex: 1; text-align: center; }

.announce-link {
  color: #56C2FF;
  text-decoration: none;
  font-weight: 600;
  transition: color 150ms ease;
}
.announce-link:hover { color: #fff; }

.announce-close {
  position: absolute;
  right: 14px;
  top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  padding: 4px;
  line-height: 1;
  transition: color 150ms ease;
}
.announce-close:hover { color: rgba(255,255,255,0.9); }

/* Push header down when announce bar is showing */
.site-header { transition: top 300ms cubic-bezier(0.22,1,0.36,1), opacity 400ms ease, transform 400ms cubic-bezier(0.22,1,0.36,1); will-change: transform, opacity; }
body.announce-visible .site-header { top: 40px; }

/* Hide header after hero */
.site-header.header--hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* Hide announce bar after hero */
.announce-bar.announce--hero-only {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
/* ═══════════════════════════════════════════════════════════════════════════
   CAPABILITY WALL — Raycast-style for Folner (v2 — aesthetic upgrade)
   ═══════════════════════════════════════════════════════════════════════════ */

.rcw-section {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vh, 140px) 0 clamp(80px, 10vh, 120px);
  background: #000;
  overflow: hidden;
}

/* ::after removed — globalNeural shader fades to black at scroll end */

/* ── Section-scoped atmospheric canvas ── */
.rcw-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.rcw-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1000ms cubic-bezier(0.16,1,0.3,1),
              transform 1000ms cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}

.rcw-inner--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Two-column body ── */
.rcw-body {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 0;
  align-items: stretch;
}

/* ── LEFT ── */
.rcw-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 clamp(32px, 5vw, 80px) 0 clamp(32px, 6vw, 96px);
}

/* Push badge + desc to bottom of left column */
.rcw-badge-row {
  margin-top: auto;
}

/* ── Eyebrow accent ── */
.rcw-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rcw-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(86,194,255,0.8);
  box-shadow: 0 0 8px rgba(86,194,255,0.6);
  flex-shrink: 0;
}
.rcw-eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(86,194,255,0.4) 0%, rgba(86,194,255,0) 100%);
  max-width: 80px;
}

/* ── Heading ── */
.rcw-heading {
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.048em;
  color: rgba(255,255,255,0.95);
  margin: 0;
  line-height: 1.05;
  word-spacing: 0.05em;
}

/* ── Brick wall ── */
.rcw-para {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 0;
  row-gap: 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.rcw-brick {
  position: relative;
  padding: 22px 28px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  border-right: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  transition: background 280ms ease;
  overflow: hidden;
  height: 76px;
  display: flex;
  align-items: center;
  border-radius: 0;
}

/* last brick in each row has no right border */
.rcw-brick:nth-child(2),
.rcw-brick:nth-child(4),
.rcw-brick:nth-child(6),
.rcw-brick:nth-child(8),
.rcw-brick:nth-child(9) {
  border-right: none;
}

.rcw-brick-text {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.30);
  transition: color 300ms ease;
  position: relative;
  z-index: 1;
  white-space: normal;
  overflow: visible;
  line-height: 1.3;
}

.rcw-brick:hover .rcw-brick-text {
  color: rgba(255,255,255,0.60);
}

/* active state */
.rcw-brick--active {
  background: rgba(255,255,255,0.04);
}

.rcw-brick--active .rcw-brick-text {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  text-shadow: 0 0 18px var(--rcw-glow, rgba(86,194,255,0.7));
}

/* active left accent bar */
.rcw-brick--active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--rcw-glow, rgba(86,194,255,0.9));
  box-shadow: 0 0 8px var(--rcw-glow, rgba(86,194,255,0.6));
}


/* ── Badge row ── */
.rcw-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.rcw-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(86,194,255,0.12);
  border: 1px solid rgba(86,194,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(86,194,255,0.45);
}

.rcw-badge-name {
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.01em;
  transition: opacity 280ms ease;
}

.rcw-badge-desc {
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.005em;
  line-height: 1.6;
  margin: 0;
  transition: opacity 280ms ease;
  max-width: 440px;
}

/* ── RIGHT: sticky glass panel ── */
.rcw-right {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}

.rcw-panel {
  position: relative;
  width: 100%;
  height: 80vh;
  max-height: 700px;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  border-right: none;
  background: rgba(4,6,14,0.55);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 0 0 1px rgba(0,0,0,0.3),
    0 4px 24px rgba(0,0,0,0.5),
    0 24px 80px rgba(0,0,0,0.6),
    0 0 120px rgba(3,88,247,0.06);
}

/* Subtle top-edge shine */
.rcw-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 2;
}

.rcw-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  transition: opacity 380ms cubic-bezier(0.22,1,0.36,1);
}

.rcw-canvas--fade { opacity: 0; }

/* ── Mobile ── */
@media (max-width: 820px) {
  .rcw-body {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .rcw-right { position: relative; top: 0; }
  .rcw-para { font-size: clamp(20px, 5.5vw, 32px); }
  .rcw-heading { font-size: clamp(22px, 6vw, 34px); }
}



/* ═══════════════════════════════════════════════════════════════
   Section 07 — AI Platform
   ═══════════════════════════════════════════════════════════════ */
.aip-section {
  position: relative;
  background: #000;
  overflow: hidden;
  z-index: 2;
}

/* ── Icon grid ── */
.aip-grid-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(60px,9vw,120px) 24px clamp(40px,6vw,80px);
  background: radial-gradient(ellipse 55% 55% at 50% 52%, #150808 0%, #000 68%);
}

.aip-grid {
  display: grid;
  grid-template-columns: repeat(7, 68px);
  grid-template-rows: repeat(3, 68px);
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.aip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: transform .25s ease, filter .25s ease, opacity .25s ease;
}
.aip-icon-inner {
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aip-icon--dim  { opacity: .32; filter: brightness(.65) saturate(.5); }
.aip-icon--mid  { opacity: .55; filter: brightness(.8)  saturate(.7); }

/* Hero center icon */
.aip-icon--hero {
  opacity: 1;
  z-index: 3;
  filter:
    drop-shadow(0 0 18px rgba(255,55,15,.95))
    drop-shadow(0 0 40px rgba(255,60,0,.6))
    drop-shadow(0 0 80px rgba(200,20,0,.35));
  transform: scale(1.15);
}
.aip-hero-inner {
  background: #1a0000;
  padding: 10px;
  border-radius: 20px;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aip-hero-inner img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* Red-glow secondary */
.aip-icon--glow-red {
  opacity: .65;
  filter: drop-shadow(0 0 10px rgba(255,40,0,.5));
}

/* Hover on surrounding icons */
.aip-icon--dim:hover, .aip-icon--mid:hover { opacity: .8; filter: none; transform: scale(1.06); }

/* ── Marquee ── */
.aip-marquee-wrap {
  background: #050505;
  border-top: 1px solid #161616;
  border-bottom: 1px solid #161616;
  padding: 24px 0 20px;
  overflow: hidden;
}
.aip-marquee-label {
  text-align: center;
  font-size: 10px;
  letter-spacing: .22em;
  color: #3a3a3a;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.aip-marquee { overflow: hidden; width: 100%; }
.aip-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  width: max-content;
  animation: aipScroll 28s linear infinite;
}
@keyframes aipScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.aip-logo {
  display: inline-flex;
  align-items: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 700;
  color: #2e2e2e;
  letter-spacing: -.01em;
  user-select: none;
}
.aip-logo-sub   { font-size: .6em; font-weight: 400; color: #484848; margin-left: 2px; }
.aip-mlogo-m    { font-size: 1.1em; }
.aip-mlogo-rest { font-size: .85em; letter-spacing: .02em; }
.aip-logo--xai  { font-family: serif; font-size: clamp(18px,2.5vw,26px); }

/* Mobile */
@media (max-width: 600px) {
  .aip-grid {
    grid-template-columns: repeat(7, 46px);
    grid-template-rows: repeat(3, 46px);
    gap: 12px;
  }
  .aip-hero-inner { width: 60px; height: 60px; padding: 8px; }
  .aip-hero-inner img { width: 40px; height: 40px; }
  .aip-icon--hero { transform: scale(1.1); }
}


/* ============================================================
   SECTION 07 — One experience. Everywhere.
   OLED Emission Design System — Raycast-style cinematic marquee
   ============================================================ */

/* ── Section container ── */
.oe-section {
  position: relative;
  width: 100%;
  padding: 120px 0 0;
  background: #000000;
}

/* ── Headline ── */
.oe-headline-wrap {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.oe-headline {
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.0;
  text-shadow:
    0 0 16px rgba(160, 80, 255, 0.40),
    0 0 40px rgba(160, 80, 255, 0.20),
    0 0 70px rgba(3, 88, 247, 0.12);
  animation: oe-neural-pulse 4s ease-in-out infinite;
}

@keyframes oe-neural-pulse {
  0%, 100% {
    text-shadow:
      0 0 16px rgba(160, 80, 255, 0.35),
      0 0 40px rgba(160, 80, 255, 0.18),
      0 0 70px rgba(3, 88, 247, 0.10);
  }
  50% {
    text-shadow:
      0 0 20px rgba(160, 80, 255, 0.55),
      0 0 50px rgba(160, 80, 255, 0.28),
      0 0 80px rgba(3, 88, 247, 0.16);
  }
}

/* ── Marquee stage ── */
.oe-stage {
  position: relative;
  margin-top: 64px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Brand light — purple bloom + signal blue edges behind logo */
.oe-brand-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(ellipse 55% 70% at 50% 50%,
      rgba(160, 80, 255, 0.22) 0%,
      rgba(160, 80, 255, 0.08) 40%,
      transparent 70%),
    radial-gradient(ellipse 30% 45% at 50% 50%,
      rgba(3, 88, 247, 0.12) 0%,
      transparent 65%);
  animation: oe-bloom-pulse 4s ease-in-out infinite;
}

@keyframes oe-bloom-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.04); }
}

/* Vignette — fades rows at edges */
.oe-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  background:
    linear-gradient(to right, #000 0%, transparent 18%, transparent 82%, #000 100%),
    linear-gradient(to bottom, #000 0%, transparent 15%, transparent 85%, #000 100%);
}

/* ── Marquee rows ── */
.oe-marquee-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 5;
  flex-shrink: 0;
}

/* Three depth layers: opacity + speed differentiation */
.oe-row-0 { opacity: 0.22; height: 72px; }
.oe-row-1 { opacity: 0.30; height: 72px; }
.oe-row-2 { opacity: 0.38; height: 72px; }

/* GPU-only marquee tracks */
.oe-track {
  display: flex;
  align-items: center;
  will-change: transform;
  white-space: nowrap;
}

.oe-track--ltr {
  animation: oe-scroll-ltr var(--dur, 28s) linear infinite;
}
.oe-track--rtl {
  animation: oe-scroll-rtl var(--dur, 32s) linear infinite;
}

@keyframes oe-scroll-ltr {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes oe-scroll-rtl {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

/* ── Logo text items — no containers, badges, or chips ── */
.oe-logo {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 0 32px;
  position: relative;
  user-select: none;
}

.oe-logo::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
}

/* ── Folner wordmark — center overlay, static, dominant ── */
.oe-logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oe-logo-center img {
  display: block;
  width: clamp(72px, 9vw, 120px);
  height: auto;
  will-change: filter;
  filter:
    drop-shadow(0 0 1px rgba(3, 88, 247, 0.40))
    drop-shadow(0 0 20px rgba(160, 80, 255, 0.30))
    drop-shadow(0 0 40px rgba(160, 80, 255, 0.12));
  animation: oe-logo-pulse 5s ease-in-out infinite;
}

/* ── Icon-based logo items in marquee rows ── */
.oe-logo-img {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  position: relative;
  user-select: none;
}

.oe-logo-img::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
}

.oe-logo-img svg,
.oe-logo-img img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

.oe-logo-img span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

/* AI provider logos — slightly calmer */
.oe-ai-logo-img {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 36px;
  position: relative;
  user-select: none;
  color: rgba(255, 255, 255, 0.45);
}

.oe-ai-logo-img::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.oe-ai-logo-img svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.55;
  filter: brightness(0) invert(1);
}

.oe-ai-logo-img span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

@keyframes oe-logo-pulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 1px rgba(3, 88, 247, 0.35))
      drop-shadow(0 0 18px rgba(160, 80, 255, 0.25))
      drop-shadow(0 0 40px rgba(160, 80, 255, 0.10));
  }
  50% {
    filter:
      drop-shadow(0 0 2px rgba(3, 88, 247, 0.50))
      drop-shadow(0 0 28px rgba(160, 80, 255, 0.42))
      drop-shadow(0 0 56px rgba(160, 80, 255, 0.18));
  }
}

/* ── AI section — separate, below stage, calmer ── */
.oe-ai-section {
  margin-top: 72px;
  padding-bottom: 120px;
  position: relative;
  z-index: 5;
}

.oe-ai-label {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a5b5c;
  margin-bottom: 28px;
}

/* Prism divider strip */
.oe-prism-strip {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(198, 121, 196, 0.30) 15%,
    rgba(250, 61, 29, 0.25) 30%,
    rgba(255, 176, 5, 0.25) 50%,
    rgba(225, 225, 254, 0.20) 70%,
    rgba(3, 88, 247, 0.25) 85%,
    transparent 100%);
  margin-bottom: 40px;
}

.oe-ai-marquee {
  position: relative;
  overflow: hidden;
}

.oe-ai-marquee::before,
.oe-ai-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.oe-ai-marquee::before { left: 0;  background: linear-gradient(to right, #000, transparent); }
.oe-ai-marquee::after  { right: 0; background: linear-gradient(to left, #000, transparent); }

/* AI row: slower (52s), lower opacity, calmer feel */
.oe-ai-track {
  display: flex;
  align-items: center;
  will-change: transform;
  white-space: nowrap;
  animation: oe-scroll-ltr 52s linear infinite;
  min-width: 200%;
}

.oe-ai-logo {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 40px;
  position: relative;
  user-select: none;
}

.oe-ai-logo::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

/* ── Grain overlay ── */
.oe-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .oe-section { padding: 80px 0 0; }
  .oe-stage { height: 260px; margin-top: 48px; }
  .oe-row-0, .oe-row-1, .oe-row-2 { height: 60px; }
  .oe-logo { font-size: 11px; padding: 0 24px; }
  .oe-ai-logo { font-size: 10px; padding: 0 28px; }
  .oe-ai-section { margin-top: 52px; padding-bottom: 80px; }
}

@media (max-width: 480px) {
  .oe-stage { height: 220px; }
  .oe-row-0, .oe-row-1, .oe-row-2 { height: 50px; }
}

/* ─── Performance: CSS Containment ──────────────────────────────────────── */
/* Limit repaint scope for major isolated sections */
.ie2-section { contain: layout style; }
.so-section  { contain: layout style; }
.rcw-section { contain: layout style; }
.site-footer { contain: layout style; isolation: isolate; }

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