:root {
  --accentA: #39d98a;
  --accentB: #38bdf8;
  --accentC: #f59e0b;
  --bg: #031019;
  --bg-2: #081723;
  --bg-3: #0e2334;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f2fbff;
  --muted: #b5c9d8;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.22);
  --radius: 28px;
  --gradient: linear-gradient(135deg, var(--accentA), var(--accentB));
  --gradient-warm: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(57, 217, 138, 0.9));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(57, 217, 138, 0.16), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, #04131d 100%);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3,
.brand-text strong,
.site-nav a,
.eyebrow,
.project-status,
.project-link,
.modal-story h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 95%);
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-bg::before {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -140px;
  box-shadow: 0 0 0 42px rgba(57, 217, 138, 0.03), 0 0 0 86px rgba(56, 189, 248, 0.02);
  animation: spin 36s linear infinite;
}

.site-bg::after {
  width: 360px;
  height: 360px;
  left: -110px;
  bottom: 14%;
  box-shadow: 0 0 0 34px rgba(245, 158, 11, 0.03), 0 0 0 70px rgba(56, 189, 248, 0.02);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(3, 16, 25, 0.96), rgba(3, 16, 25, 0.62));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.brand-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.brand-title-accent {
  color: #48e0ba;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(72, 224, 186, 0.16);
}

.brand-title-main {
  color: var(--text);
  text-transform: uppercase;
}

.brand-subline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
  width: 100%;
}

.brand-subline-rule {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, rgba(72, 224, 186, 0.88), rgba(255, 255, 255, 0.2));
}

.brand-subline-rule:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(72, 224, 186, 0.88));
}

.brand-subline-text {
  color: var(--muted);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.nav-cta {
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 999px;
}

.hero {
  position: relative;
  padding: 88px 0 50px;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  pointer-events: none;
}

.hero-decor-grid {
  top: 40px;
  right: clamp(20px, 6vw, 100px);
  width: 420px;
  height: 420px;
  border-radius: 32px;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 1), transparent 75%);
}

.hero-decor-orbit {
  width: 520px;
  height: 520px;
  left: -140px;
  top: -160px;
  border-radius: 50%;
  border: 1px solid rgba(57, 217, 138, 0.12);
  box-shadow:
    0 0 0 36px rgba(57, 217, 138, 0.05),
    0 0 0 86px rgba(56, 189, 248, 0.04);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0f7ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-copy h1,
.section-head h2,
.systems-copy h2,
.shiftops-panel h2,
.cta-copy h2,
.modal-dialog h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  max-width: 760px;
}

.hero-copy h1 span {
  display: block;
  background: linear-gradient(135deg, #5df0a8, #63d9ff 60%, #ffc76a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead,
.section-head p,
.systems-copy p,
.shiftops-panel p,
.cta-copy p,
.service-card p,
.process-card p,
.value-card p,
.system-block p,
.stack-box p,
.flow-card p,
.project-card p,
.modal-story p,
.modal-lead,
.metric-pill span {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  max-width: 680px;
  font-size: 1.08rem;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #38d996, #38bdf8 70%, #67d6ff);
  color: white;
  box-shadow: 0 20px 34px rgba(56, 189, 248, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e1f5ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.dashboard-card {
  position: relative;
  border-radius: 30px;
  padding: 20px;
  overflow: hidden;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -20% 10%;
  height: 220px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
}

.dashboard-card::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(160deg, rgba(0, 0, 0, 0.6), transparent 80%);
  pointer-events: none;
}

.window-dots,
.dashboard-top,
.hero-slider,
.signal-rail,
.system-badge {
  position: relative;
  z-index: 1;
}

.window-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.dashboard-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.stat-box {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.stat-box small,
.system-block small,
.stack-box small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-box strong,
.system-block strong,
.stack-box strong,
.metric-pill strong {
  font-size: 1.06rem;
}

.hero-slider {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-slider-label small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-slider-label strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.hero-slider-controls {
  display: flex;
  gap: 10px;
}

.hero-slider-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hero-slider-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(72, 224, 186, 0.38);
  background: rgba(72, 224, 186, 0.08);
}

.hero-slider-viewport {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.hero-slider-track {
  display: flex;
  width: 100%;
  transform: translateX(calc(var(--hero-slide-index, 0) * -100%));
  transition: transform 0.5s ease;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  display: grid;
  gap: 18px;
  min-height: 290px;
  padding: 22px;
}

.hero-slide-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-slide-num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--gradient);
  color: white;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.16);
}

.hero-slide-tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e5f7ff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-slide-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-slide-copy p {
  margin: 0;
  max-width: 48ch;
}

.hero-slide-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-slide-list span {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(57, 217, 138, 0.1), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4f9ff;
  line-height: 1.6;
}

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

.hero-slider-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hero-slider-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #daf6ff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-slider-tab strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-slider-tab:hover,
.hero-slider-tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(72, 224, 186, 0.3);
  background: linear-gradient(135deg, rgba(72, 224, 186, 0.1), rgba(56, 189, 248, 0.08));
  color: var(--text);
}

.hero-slider-tab.is-active span {
  background: var(--gradient);
  color: white;
}

.signal-rail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(57, 217, 138, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-node {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.03);
}

.signal-node-live {
  background: var(--accentA);
  box-shadow: 0 0 0 8px rgba(57, 217, 138, 0.12), 0 0 26px rgba(57, 217, 138, 0.35);
  animation: pulse 2.6s ease-in-out infinite;
}

.signal-link {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(57, 217, 138, 0.7), rgba(56, 189, 248, 0.7));
}

.system-badge {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(57, 217, 138, 0.12), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.system-badge strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.system-badge p {
  margin: 0;
}

.value-strip {
  padding: 12px 0 26px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  padding: 24px;
  border-radius: 24px;
}

.value-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.value-card p {
  margin: 0;
}

.section {
  position: relative;
  padding: 64px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-photo {
  overflow: hidden;
}

.section-photo::before,
.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
}

.section-photo::before {
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transform: scale(1.04);
}

.section-photo::after {
  z-index: 0;
  background: linear-gradient(125deg, rgba(3, 16, 25, 0.94), rgba(3, 16, 25, 0.76) 50%, rgba(5, 20, 30, 0.94));
}

.section-work::before {
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80");
}

.section-upgrade::before {
  background-image: url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1600&q=80");
  opacity: 0.2;
}

.section-photo .container,
.projects-section .container {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head h2,
.systems-copy h2,
.shiftops-panel h2,
.cta-copy h2,
.modal-dialog h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.process-card {
  padding: 28px;
  border-radius: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover,
.process-card:hover,
.value-card:hover,
.system-block:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: white;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}

.service-card h3,
.process-card h3,
.project-card h3,
.project-title {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0 0 14px;
}

.service-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.systems-grid,
.shiftops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.work-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.metric-pill {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-pill strong {
  display: block;
  margin-bottom: 8px;
}

.systems-visual {
  position: relative;
}

.systems-blueprint {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05)),
    linear-gradient(145deg, rgba(56, 189, 248, 0.05), rgba(57, 217, 138, 0.04));
}

.systems-blueprint::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.blueprint-orbit {
  position: absolute;
  inset: auto -70px -84px auto;
  width: 260px;
  height: 260px;
  pointer-events: none;
}

.blueprint-orbit span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blueprint-orbit span:nth-child(2) {
  inset: 28px;
}

.blueprint-orbit span:nth-child(3) {
  inset: 58px;
  border-color: rgba(57, 217, 138, 0.22);
  box-shadow: 0 0 28px rgba(57, 217, 138, 0.14);
}

.system-block {
  position: relative;
  padding: 22px;
  border-radius: 24px;
}

.system-line {
  position: relative;
  z-index: 1;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(57, 217, 138, 0.6), rgba(56, 189, 248, 0.6));
  border-radius: 999px;
}

.projects-section {
  overflow: hidden;
}

.projects-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 220px;
  top: 40px;
  right: -120px;
  transform: rotate(-16deg);
  background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.14), rgba(57, 217, 138, 0));
  filter: blur(16px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 320px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-soft);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

button.project-card {
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.project-card-featured {
  overflow: hidden;
}

.project-card-featured::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 32%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
}

.project-card-featured::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 110px;
  height: 110px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  transform: rotate(14deg);
}

.project-status,
.project-link {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.project-status {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-link {
  margin-top: auto;
  color: #dff7ff;
}

.orbus-logo,
.project-card h3,
.project-card p,
.project-title,
.project-summary {
  position: relative;
  z-index: 1;
}

.orbus-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.orbus-logo-image {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
}

.orbus-wordmark strong,
.orbus-wordmark span {
  display: block;
}

.orbus-wordmark strong {
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.orbus-wordmark span {
  color: rgba(242, 251, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}

.project-card-empty {
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(56, 189, 248, 0.03));
  border-style: dashed;
}

.project-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #e8f9ff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
}

.project-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
}

.project-summary {
  color: var(--muted);
  line-height: 1.75;
}

.shiftops-panel {
  padding: 30px;
  border-radius: 30px;
}

.upgrade-points {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.upgrade-points div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.upgrade-points strong {
  display: block;
  margin-bottom: 6px;
}

.upgrade-points span {
  color: var(--muted);
  line-height: 1.65;
}

.shiftops-stack {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 16px;
}

.shiftops-stack::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 26px rgba(56, 189, 248, 0.04);
}

.stack-box {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 24px;
  border-radius: 26px;
}

.stack-box-accent {
  width: min(100%, 390px);
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, #39d98a, #38bdf8 68%, #7ee5ff);
  color: white;
  box-shadow: 0 22px 50px rgba(56, 189, 248, 0.22);
}

.stack-box-accent small,
.stack-box-accent p {
  color: rgba(255, 255, 255, 0.9);
}

.stack-transfer {
  position: relative;
  z-index: 1;
  font-size: 2.3rem;
  font-weight: 800;
  color: #def8ff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mission-panel {
  max-width: 940px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 30px;
  text-align: center;
}

.mission-panel p {
  margin: 0;
  color: #e2f3fb;
  font-size: 1.08rem;
  line-height: 1.95;
}

.process-num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--gradient);
  color: white;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(57, 217, 138, 0.12), rgba(56, 189, 248, 0.14)),
    rgba(255, 255, 255, 0.04);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

.site-footer {
  padding: 24px 0 36px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-wrap p {
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 16, 0.76);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05)),
    linear-gradient(145deg, rgba(56, 189, 248, 0.08), rgba(57, 217, 138, 0.05));
  transform: translateY(24px) scale(0.98);
  transition: transform 0.22s ease;
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.modal-lead {
  margin: 16px 0 0;
  font-size: 1.06rem;
  max-width: 62ch;
}

.modal-story {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.orbus-story-visual {
  display: grid;
  grid-template-columns: 0.86fr 1.45fr 1.1fr;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(10, 21, 35, 0.96), rgba(8, 18, 31, 0.94)),
    linear-gradient(145deg, rgba(56, 189, 248, 0.08), rgba(57, 217, 138, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.orbus-visual-rail,
.orbus-visual-monitor,
.orbus-visual-forge {
  min-height: 188px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.orbus-visual-brand,
.orbus-visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.orbus-visual-brand {
  justify-content: flex-start;
}

.orbus-visual-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
}

.orbus-story-visual small {
  display: block;
  color: rgba(196, 216, 230, 0.78);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.orbus-story-visual strong {
  color: var(--text);
}

.orbus-visual-brand strong,
.orbus-visual-monitor h3,
.orbus-visual-script strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.orbus-visual-brand strong {
  display: block;
  font-size: 1.1rem;
}

.orbus-visual-menu {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.orbus-visual-menu span,
.orbus-visual-capsules span {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dceef8;
  font-size: 0.78rem;
}

.orbus-visual-menu .is-active {
  background: linear-gradient(135deg, rgba(80, 120, 255, 0.2), rgba(255, 118, 166, 0.18));
}

.orbus-visual-stats {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.orbus-visual-stats div,
.orbus-visual-meta div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.orbus-visual-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 1.2rem;
}

.orbus-visual-head span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e4f7ff;
  font-size: 0.74rem;
}

.orbus-visual-monitor h3 {
  margin: 12px 0 14px;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.orbus-visual-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.orbus-visual-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 0.96rem;
}

.orbus-visual-transcript {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.orbus-line {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.orbus-line-caller {
  border-left: 3px solid #ff769c;
}

.orbus-line-agent {
  border-left: 3px solid #4a7dff;
}

.orbus-line p,
.orbus-visual-script p {
  margin: 8px 0 0;
  color: #d3e6f3;
  line-height: 1.55;
}

.orbus-visual-script {
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(77, 108, 213, 0.18), rgba(198, 114, 148, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbus-visual-script strong {
  display: block;
  margin-top: 8px;
  font-size: 1.06rem;
  line-height: 1.2;
}

.orbus-visual-capsules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.orbus-listening-card {
  max-width: 460px;
  margin: 14px auto 0;
  padding: 12px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(9, 19, 31, 0.97), rgba(6, 14, 25, 0.95)),
    linear-gradient(145deg, rgba(56, 189, 248, 0.08), rgba(57, 217, 138, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbus-listening-inner {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.orbus-listening-rings {
  position: relative;
  width: 202px;
  height: 202px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.orbus-listening-rings::before,
.orbus-listening-rings::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(58, 104, 255, 0.3);
}

.orbus-listening-rings::after {
  inset: 0;
  border-color: rgba(255, 255, 255, 0.08);
}

.orbus-listening-core {
  position: relative;
  z-index: 1;
  width: 106px;
  height: 106px;
  padding: 18px 14px;
  border-radius: 28px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(51, 70, 120, 0.36), rgba(113, 61, 92, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 22px rgba(42, 64, 158, 0.08),
    0 0 0 46px rgba(255, 255, 255, 0.03);
}

.orbus-listening-core strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.orbus-listening-core span {
  margin-top: 8px;
  color: #b8cbda;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.orbus-listening-bars {
  height: 58px;
  margin: 8px auto 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.orbus-listening-bars span {
  width: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.95), rgba(72, 125, 255, 0.92) 62%, rgba(255, 118, 166, 0.92));
}

.orbus-listening-bars span:nth-child(1) { height: 32px; }
.orbus-listening-bars span:nth-child(2) { height: 16px; }
.orbus-listening-bars span:nth-child(3) { height: 42px; }
.orbus-listening-bars span:nth-child(4) { height: 56px; }
.orbus-listening-bars span:nth-child(5) { height: 30px; }
.orbus-listening-bars span:nth-child(6) { height: 34px; }
.orbus-listening-bars span:nth-child(7) { height: 46px; }
.orbus-listening-bars span:nth-child(8) { height: 52px; }
.orbus-listening-bars span:nth-child(9) { height: 28px; }
.orbus-listening-bars span:nth-child(10) { height: 50px; }
.orbus-listening-bars span:nth-child(11) { height: 38px; }

.orbus-listening-tags,
.orbus-listening-actions,
.orbus-listening-tabs {
  display: grid;
  gap: 10px;
}

.orbus-listening-tags {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}

.orbus-listening-actions {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.orbus-listening-tabs {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
}

.orbus-listening-tags span,
.orbus-listening-actions span,
.orbus-listening-tabs span {
  padding: 12px 14px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #e0eef7;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.orbus-listening-actions .is-primary,
.orbus-listening-tabs .is-active {
  background: linear-gradient(135deg, rgba(60, 91, 172, 0.72), rgba(116, 68, 106, 0.46));
}

.modal-story-block {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-story h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
}

.modal-story p {
  margin: 0;
}

.modal-feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.modal-feature-list span {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(57, 217, 138, 0.1), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4f8ff;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .systems-grid,
  .shiftops-grid,
  .cards-grid,
  .process-grid,
  .value-grid,
  .cta-panel,
  .projects-grid,
  .modal-feature-list,
  .work-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-decor-grid {
    width: 260px;
    height: 260px;
    top: 80px;
  }

  .hero-slide-list {
    grid-template-columns: 1fr;
  }

  .orbus-story-visual {
    grid-template-columns: 1fr;
  }

  .orbus-visual-meta,
  .orbus-visual-capsules,
  .orbus-listening-tags,
  .orbus-listening-tabs {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(4, 16, 27, 0.97);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .shiftops-stack::before {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .hero-slider-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-slider-tabs {
    grid-template-columns: 1fr;
  }

  .brand-title {
    font-size: 1.45rem;
    gap: 6px;
  }

  .brand-subline {
    gap: 8px;
  }

  .brand-subline-rule {
    width: 22px;
  }

  .brand-subline-text {
    font-size: 0.62rem;
    letter-spacing: 0.24em;
  }

  .hero-copy h1 {
    line-height: 1;
  }

  .dashboard-top {
    grid-template-columns: 1fr;
  }

  .flow-card {
    grid-template-columns: 1fr;
  }

  .flow-card span {
    width: 44px;
    height: 44px;
  }

  .orbus-logo {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-card,
  .service-card,
  .process-card,
  .mission-panel,
  .value-card,
  .stack-box,
  .stack-box-accent,
  .shiftops-panel,
  .modal-dialog,
  .cta-panel {
    padding: 22px;
  }

  .footer-wrap {
    flex-direction: column;
  }

  .modal {
    padding: 16px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
  }
}
