/* AYON-IT — design tokens + base */
:root {
  --bg: #05060f;
  --bg-1: #0a0c1c;
  --bg-2: #0f1226;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f8;
  --text-dim: #9aa0bd;
  --text-mute: #6b7290;
  --accent: #3a3ff5;
  --accent-2: #6c7dff;
  --accent-soft: rgba(58, 63, 245, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1240px;
  --font-display: "Hanken Grotesk", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 15, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  position: relative;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 0 10px rgba(108, 125, 255, 0.4)); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 20px;
}
.brand-tagline {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  margin-top: 4px;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text);
  opacity: 0.85;
  position: relative;
  padding: 6px 0;
  transition: opacity .2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent-2); transform: scaleX(0);
  transform-origin: left center; transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #fff;
  opacity: 1;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  box-shadow: 0 6px 18px -6px rgba(58, 63, 245, 0.7);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-cta::after { display: none; } /* no underline pseudo on the pill */
.nav-cta::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #fff;
  opacity: 0.9;
}
.nav-cta:hover {
  background: #4a4fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(58, 63, 245, 0.85);
}
.nav-cta.active {
  background: var(--accent-soft);
  color: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: none;
}
.nav-cta.active::before { background: var(--accent-2); opacity: 1; }

.nav-links a.active { opacity: 1; }
.nav-links a.active::after { transform: scaleX(1); }

.nav-burger { display: none; background: transparent; border: 0; color: var(--text); padding: 8px; }

/* DROPDOWN (Our Services) */
.nav-dropdown { position: relative; }
.nav-dd-trigger {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 14px;
  opacity: 0.85;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  position: relative;
  cursor: pointer;
  transition: opacity .2s ease;
}
.nav-dd-trigger:hover { opacity: 1; }
.nav-dd-trigger::after {
  content: ""; position: absolute; left: 0; right: 14px; bottom: -2px;
  height: 1px; background: var(--accent-2); transform: scaleX(0);
  transform-origin: left center; transition: transform .3s ease;
}
.nav-dropdown.open .nav-dd-trigger,
.nav-dropdown.active .nav-dd-trigger { opacity: 1; }
.nav-dropdown.active .nav-dd-trigger::after { transform: scaleX(1); }
.dd-caret {
  transition: transform .25s ease;
  opacity: 0.75;
}
.nav-dropdown.open .dd-caret { transform: rotate(180deg); }

.nav-dd-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 320px;
  background: rgba(15, 18, 38, 0.96);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(108, 125, 255, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}
.nav-dd-panel::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: rgba(15, 18, 38, 0.96);
  border-left: 1px solid var(--line-strong);
  border-top: 1px solid var(--line-strong);
}
.nav-dropdown.open .nav-dd-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
/* invisible hover bridge so cursor can travel from trigger to panel */
.nav-dd-panel::after {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0; height: 14px;
}
.dd-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 12px 10px;
}
.dd-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background .15s ease;
  position: relative;
}
.dd-item::after { display: none !important; } /* kill default link underline */
.dd-item:hover { background: rgba(108, 125, 255, 0.10); }
.dd-item.active { background: var(--accent-soft); }
.dd-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.dd-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.dd-item:hover .dd-hint { color: var(--text-dim); }

/* mobile-sheet sub-group */
.sheet-group { margin: 4px 0; }
.sheet-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 18px 0 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.mobile-sheet nav a.sheet-sub {
  font-size: 22px;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  position: relative;
}
.mobile-sheet nav a.sheet-sub::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 1px;
  background: var(--accent-2);
}

/* mobile sheet */
.mobile-sheet {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(5,6,15,0.96);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s ease;
}
.mobile-sheet.open { display: flex; opacity: 1; }
.mobile-sheet .sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-sheet nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-sheet nav a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(58, 63, 245, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(108, 125, 255, 0.12), transparent 60%),
    var(--bg);
}
#hero-canvas {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  opacity: 0.9;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 60%, var(--bg) 100%),
    linear-gradient(to right, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
  opacity: 0.7;
}

.hero-content {
  max-width: 820px;
}

/* CINEMATIC HERO (home) */
.hero-cinematic { align-items: stretch; text-align: center; }
.hero-cinematic #hero-canvas { display: none; } /* hide ambient waves; orb takes over */
.hero-cinematic #ai-core-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-cinematic .hero-vignette {
  z-index: 1;
  background:
    radial-gradient(ellipse 90% 70% at 50% 52%, transparent 55%, rgba(5,6,15,0.55) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 22%, transparent 74%, var(--bg) 100%);
  opacity: 1;
}
.hero-stack {
  position: relative; z-index: 2;
  min-height: min(86vh, 860px);
  display: flex; flex-direction: column;
  justify-content: space-between; align-items: center;
  padding: 150px 0 116px;
  gap: 40px;
  will-change: transform, opacity;
}
.hero-top { display: flex; flex-direction: column; align-items: center; }
.hero-cinematic h1 {
  max-width: 15ch;
  margin: 0 auto;
  font-size: clamp(44px, 6.4vw, 96px);
}
.hero-bottom { display: flex; flex-direction: column; align-items: center; }
.hero-cinematic .lede {
  margin: 0 auto 36px;
  max-width: 560px;
}
.hero-cinematic .hero-actions { justify-content: center; }

/* staggered reveal-on-load */
.reveal-seq .reveal-item {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition:
    opacity 1.05s cubic-bezier(.16,.8,.3,1),
    transform 1.05s cubic-bezier(.16,.8,.3,1),
    filter 1.05s ease;
  transition-delay: calc(var(--i, 0) * 150ms + 220ms);
}
.reveal-seq.in .reveal-item {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-seq .reveal-item { opacity: 1; transform: none; filter: none; transition: none; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero h1 .hl {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 0 40px;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #4a4fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent-2); background: var(--accent-soft); }
.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.hero-meta {
  position: absolute;
  bottom: 40px; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: end;
  padding: 0 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero-meta .scroll-cue {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-meta .scroll-line {
  width: 32px; height: 1px;
  background: var(--text-mute);
  position: relative; overflow: hidden;
}
.hero-meta .scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent-2);
  transform: translateX(-100%);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* PAGE HEADER (subpages) */
.page-header {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-header .hero-bg, .page-header #hero-canvas, .page-header .hero-vignette {
  position: absolute;
}
.page-header #hero-canvas { opacity: 0.6; }
.page-header-content { max-width: 820px; }
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.page-header h1 .hl {
  background: linear-gradient(135deg, #fff, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-header p.lede {
  color: var(--text-dim);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 600px;
  line-height: 1.55;
  margin: 0;
}
.crumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.crumb::before { content: ""; width: 22px; height: 1px; background: var(--accent-2); }

/* SECTION COMMON */
.section { padding: 120px 0; position: relative; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 64px;
  gap: 40px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.section-tag::before {
  content: ""; width: 22px; height: 1px; background: var(--accent-2);
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 720px;
  text-wrap: balance;
}
.section-sub {
  color: var(--text-dim);
  max-width: 380px;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* WHO WE ARE — 4 cell grid */
.who { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%); }
.value-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value {
  padding: 56px 48px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  min-height: 320px;
}
.value:nth-child(2n) { border-right: 0; }
.value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.value-icon {
  width: 56px; height: 56px;
  position: relative;
  margin-bottom: 6px;
}
.value-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 320px;
  text-wrap: balance;
}
.value h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}
.value p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
}
.value-num {
  position: absolute; top: 32px; right: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}

/* SERVICES */
.services { background: var(--bg); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 240px;
  transition: border-color .25s ease, transform .25s ease;
}
.service:hover {
  border-color: var(--accent-2);
  transform: translateY(-3px);
}
.service-visual {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  border-right: 1px solid var(--line);
}
.service-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(58, 63, 245, 0.35), transparent 65%);
}
.service-visual .v-content {
  position: relative; z-index: 1;
  text-align: center;
  padding: 24px;
}
.service-body {
  padding: 28px 28px 28px 28px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.service-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0;
}
.service p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
  transition: gap .2s ease;
}
.service:hover .service-link { gap: 12px; }

/* visual blocks for services */
.viz-logos {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  letter-spacing: -0.01em;
}
.viz-logos > span {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
}
.viz-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(255,255,255,0.95);
  line-height: 1.15;
}
.viz-code {
  font-family: var(--font-mono);
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.02em;
}
.viz-code .tag { color: var(--accent-2); }

/* PORTFOLIO */
.portfolio { background: var(--bg-1); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 360px;
  color: inherit;
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
}
.case:hover { border-color: var(--accent-2); transform: translateY(-3px); }
.case .service-link { margin-top: 14px; }
.case-img-filled::before { display: none; }
.case-img-filled img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
}
.case-img {
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
}
.case-img::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(58, 63, 245, 0.4), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(108, 125, 255, 0.25), transparent 65%);
}
.case-img .placeholder-label {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
}
.case-body { padding: 22px 24px; }
.case-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.case h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.case p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* CONTACT / FOOTER */
.contact {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 120px 0 60px;
  overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(58, 63, 245, 0.22), transparent 60%);
}
.contact-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact h2 {
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 500;
  font-family: var(--font-display);
  margin: 0 0 32px;
  text-wrap: balance;
}
.contact h2 .accent {
  background: linear-gradient(135deg, #fff, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-lede {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 460px;
  margin: 0 0 36px;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 24px;
}
.info h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.info a, .info span, .info p {
  display: block;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 4px;
  transition: color .2s ease;
}
.info a:hover { color: var(--accent-2); }

.footer-bar {
  position: relative; z-index: 1;
  margin-top: 100px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.footer-bar a { transition: color .2s ease; }
.footer-bar a:hover { color: var(--text); }

/* TWEAKS PANEL */
.tweaks-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  width: 280px;
  background: rgba(15, 18, 38, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 18px;
  font-size: 13px;
  display: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.tweaks-panel.open { display: block; }
.tweaks-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.tweaks-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tweaks-close {
  background: transparent; border: 0; color: var(--text-dim);
  font-size: 18px; line-height: 1; padding: 2px 6px; border-radius: 4px;
}
.tweaks-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.tweak {
  margin-bottom: 14px;
}
.tweak-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.tweak-row {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.tweak-chip {
  flex: 1;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font-size: 12px;
  text-align: center;
  transition: all .15s ease;
}
.tweak-chip.active {
  border-color: var(--accent-2);
  background: var(--accent-soft);
  color: var(--text);
}
.tweak-chip:hover { border-color: var(--line-strong); }
.tweak-swatches { display: flex; gap: 8px; }
.tweak-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  outline: 1px solid var(--line);
}
.tweak-swatch.active { border-color: white; }

/* RESPONSIVE */
@media (max-width: 880px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-head { flex-direction: column; align-items: start; margin-bottom: 40px; }
  .value-grid { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid var(--line); padding: 36px 24px; min-height: 0; }
  .value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .value:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; min-height: 0; }
  .service-visual { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 120px 0 100px; }
  .hero-meta { display: none; }
  .hero-stack { padding: 130px 0 90px; min-height: 80vh; gap: 28px; }
  .hero-cinematic .lede { font-size: 16px; }
}

/* LIGHT SECTIONS (used on Who We Are) */
.section-light {
  background: #ecebff;
  color: #0a0c1c;
}
.section-light .section-tag { color: #4044a8; }
.section-light .section-tag::before { background: var(--accent); }
.section-light h2 { color: #0a0c1c; }
.section-light .section-sub { color: #4a4d72; }

/* CORE VALUES */
.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10, 12, 28, 0.12);
}
.values-row .vcell {
  padding: 48px 28px;
  border-right: 1px solid rgba(10, 12, 28, 0.12);
  display: flex; flex-direction: column; gap: 14px;
}
.values-row .vcell:last-child { border-right: 0; }
.vcell-letter {
  position: relative;
  height: 80px;
  display: flex; align-items: flex-end;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  font-style: italic;
  letter-spacing: -0.04em;
}
.vcell-letter::before {
  content: attr(data-letter);
  position: absolute;
  top: 6px; left: 6px;
  color: rgba(10, 12, 28, 0.10);
  z-index: -1;
}
.vcell h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.01em;
  color: #0a0c1c;
}
.vcell p {
  font-size: 14px;
  line-height: 1.55;
  color: #4a4d72;
  margin: 0;
}

/* PARTNERS GRID */
.partners-head {
  text-align: center;
  margin-bottom: 56px;
}
.partners-head h2 {
  max-width: none;
  margin: 0 auto;
  text-align: center;
}
.partners-head .section-tag { justify-content: center; display: inline-flex; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(10, 12, 28, 0.10);
  border: 1px solid rgba(10, 12, 28, 0.10);
  border-radius: 14px;
  overflow: hidden;
}
.partner {
  background: #ecebff;
  aspect-ratio: 1.3 / 1;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  transition: background .2s ease;
  position: relative;
  min-width: 0;
}
.partner:hover { background: #f5f4ff; }
.partner-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.partner-mark {
  height: 28px;
  display: grid; place-items: center;
}
.partner-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: #2a2d4d;
  letter-spacing: -0.01em;
}
.partner.is-new::after {
  content: "NEW";
  position: absolute; top: 10px; right: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 3px 6px;
  background: var(--accent);
  color: white;
  border-radius: 4px;
}

.partners-note {
  text-align: center;
  margin-top: 32px;
  color: #4a4d72;
  font-size: 13px;
  font-style: italic;
}

/* ABOUT BAND (dark page header for Who We Are) */
.about-band {
  padding-top: 200px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.about-band .hero-bg, .about-band #hero-canvas, .about-band .hero-vignette {
  position: absolute; inset: 0; z-index: -1;
}
.about-band #hero-canvas { opacity: 0.7; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.about-band h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 8vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #fff 0%, #6c7dff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-brand { display: flex; flex-direction: column; align-items: flex-start; }
.about-logo {
  width: 140px; height: 140px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 12px 40px rgba(108, 125, 255, 0.45));
  animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.about-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}
.about-rule {
  width: 60px; height: 1px;
  background: var(--accent-2);
  margin: 24px 0 28px;
}
.about-prose {
  display: flex; flex-direction: column; gap: 24px;
  max-width: 720px;
}
.about-prose p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}
.about-prose p strong { color: var(--text); font-weight: 500; }

@media (max-width: 880px) {
  .values-row { grid-template-columns: 1fr 1fr; }
  .values-row .vcell:nth-child(2n) { border-right: 0; }
  .values-row .vcell { border-bottom: 1px solid rgba(10, 12, 28, 0.12); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-band { padding-top: 140px; padding-bottom: 80px; }
}

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

/* ===== SERVICE DETAIL PAGES ===== */
.service-page { padding-top: 100px; padding-bottom: 0; }

.service-banner {
  position: relative;
  margin: 36px auto 0;
  max-width: calc(var(--maxw) + 0px);
  padding: 0 28px;
}
.service-banner-inner {
  position: relative;
  height: clamp(280px, 38vw, 420px);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(108, 125, 255, 0.35), transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(58, 63, 245, 0.25), transparent 55%),
    linear-gradient(180deg, #0d1240 0%, #060932 50%, #04062a 100%);
  display: grid;
  place-items: center;
  isolation: isolate;
  border: 1px solid var(--line-strong);
}
.service-banner-inner::before {
  /* concentric circles */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 99px, rgba(255, 255, 255, 0.04) 100px, transparent 101px),
    radial-gradient(circle at 50% 50%, transparent 199px, rgba(255, 255, 255, 0.035) 200px, transparent 201px),
    radial-gradient(circle at 50% 50%, transparent 299px, rgba(255, 255, 255, 0.03) 300px, transparent 301px),
    radial-gradient(circle at 50% 50%, transparent 399px, rgba(255, 255, 255, 0.025) 400px, transparent 401px),
    radial-gradient(circle at 50% 50%, transparent 499px, rgba(255, 255, 255, 0.02) 500px, transparent 501px),
    radial-gradient(circle at 50% 50%, transparent 599px, rgba(255, 255, 255, 0.015) 600px, transparent 601px);
  z-index: 0;
  opacity: 0.9;
}
.service-banner-inner::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 0;
  pointer-events: none;
}
.service-banner-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 80px);
  flex-wrap: wrap;
  padding: 0 24px;
}
.service-banner-row .tool {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.service-banner-row .tool svg { flex-shrink: 0; }
.service-banner-row .sep {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.service-banner-row .tool-mono {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* wordmark variant — used on Project governance banner (asana | Jira) */
.service-banner-row .wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1;
}
.banner-asana-jira { gap: clamp(36px, 6vw, 70px); }
.banner-asana-jira .tool { gap: 18px; }
.service-banner-row .vbar {
  width: 1px;
  height: clamp(70px, 9vw, 110px);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* giant title sitting inside the banner (AI & IT innovations page) */
.banner-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9.5vw, 140px);
  letter-spacing: -0.02em;
  line-height: 1.0;
  text-align: center;
  margin: 0;
  color: #cfd7ff;
  text-shadow:
    0 2px 0 rgba(20, 30, 110, 0.6),
    0 8px 30px rgba(108, 125, 255, 0.25);
  padding: 0 24px;
}

.service-subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-align: center;
  color: var(--text);
}

/* AI / IT badge (used on AI innovations pillar cards) */
.ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(180deg, #5b8dff 0%, #2f5fff 100%);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(10, 30, 90, 0.5),
    0 6px 18px rgba(50, 100, 255, 0.45);
}
.ai-badge.ai-badge-it { background: linear-gradient(180deg, #4d7dff 0%, #1f3fcf 100%); }

/* Pillar card variant (AI innovations layout) */
.pillar-card-grid { gap: 28px; align-items: flex-start; }
.pillar-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: 0;
}
.pillar-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(108, 125, 255, 0.35), transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(58, 63, 245, 0.20), transparent 55%),
    linear-gradient(180deg, #0d1240 0%, #060932 55%, #04062a 100%);
  box-shadow: 0 24px 50px rgba(8, 12, 56, 0.55);
  isolation: isolate;
  display: grid;
  place-items: center;
}
.pillar-card-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 79px, rgba(255, 255, 255, 0.05) 80px, transparent 82px),
    radial-gradient(circle at 50% 50%, transparent 139px, rgba(255, 255, 255, 0.035) 140px, transparent 142px),
    radial-gradient(circle at 50% 50%, transparent 199px, rgba(255, 255, 255, 0.025) 200px, transparent 202px);
  opacity: 0.9;
}
.pillar-card-thumb-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
}
.pillar-card-tlabel {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: rgba(220, 226, 255, 0.92);
}
.pillar-card-body {
  padding: 24px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pillar-card-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.pillar-card-body p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  text-wrap: pretty;
}

.service-intro {
  padding: 100px 0 60px;
  text-align: center;
}
.service-intro h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin: 0 0 40px;
}
.service-intro .lede {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  text-wrap: pretty;
}
.service-intro .lede + .lede { margin-top: 22px; }
.service-intro .lede strong { color: var(--text); font-weight: 500; }

.service-pillars {
  padding: 40px 0 100px;
}
.pillars-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-align: center;
  margin: 0 auto 72px;
  max-width: 720px;
  text-wrap: balance;
  color: var(--text);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  max-width: 1080px;
  margin: 0 auto;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.pillar-orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 40% 35%, rgba(108, 125, 255, 0.45), rgba(58, 63, 245, 0.15) 60%, rgba(7, 9, 40, 1) 100%);
  box-shadow:
    inset 0 0 50px rgba(58, 63, 245, 0.25),
    0 20px 50px rgba(20, 24, 80, 0.4);
  isolation: isolate;
}
.pillar-orb::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 110%, rgba(108, 125, 255, 0.4), transparent 60%);
  z-index: -1;
}
.pillar-orb-inner {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 18px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pillar-orb-inner.is-mono { font-family: var(--font-mono); letter-spacing: -0.02em; font-size: 14px; }
.pillar-orb-inner .badge {
  background: linear-gradient(135deg, #4663ff, #5b6dff);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Icon-orb variant: solid blue circle holding a flat illustration */
.pillar-orb.pillar-icon-orb {
  width: 150px;
  height: 150px;
  background:
    radial-gradient(circle at 40% 35%, #4a5dff 0%, #2832c4 60%, #18207a 100%);
  box-shadow:
    inset 0 -8px 24px rgba(10, 14, 56, 0.6),
    inset 0 4px 14px rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(20, 24, 80, 0.45);
}
.pillar-orb.pillar-icon-orb::before { display: none; }
.pillar-orb.pillar-icon-orb svg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.pillar-orb-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 12px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.pillar p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 320px;
  text-wrap: pretty;
}

/* CONTACT FORM */
.contact-band {
  padding: 100px 0 60px;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.contact-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 60px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.contact-band .contact-sub {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 56px;
}
.contact-form {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  text-align: left;
  padding: 0 28px;
}
.contact-form .col-left { display: flex; flex-direction: column; gap: 22px; }
.contact-form .col-right { display: flex; flex-direction: column; gap: 22px; }
.contact-form label {
  display: flex; flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.contact-form label > span { font-size: 13px; }
.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-form textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.55;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-mute); }
.contact-form input:hover,
.contact-form textarea:hover { border-color: rgba(255, 255, 255, 0.28); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-2);
  background: rgba(108, 125, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(108, 125, 255, 0.14);
}
.contact-form .form-actions {
  grid-column: 1 / -1;
  display: flex; justify-content: flex-end; align-items: center; gap: 18px;
  margin-top: 8px;
}
.contact-form .form-thanks {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .35s ease, transform .35s ease, color .35s ease;
}
.contact-form .form-thanks.show {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-2);
}
.contact-form .submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  padding: 13px 26px 13px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 24px rgba(58, 63, 245, 0.30);
}
.contact-form .submit-btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 55%);
  z-index: -1;
  opacity: 0.9;
  transition: opacity .25s ease;
}
.contact-form .submit-btn .arrow {
  display: inline-flex;
  align-items: center;
  transition: transform .25s ease;
}
.contact-form .submit-btn:hover {
  background: #4a4fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(58, 63, 245, 0.42);
}
.contact-form .submit-btn:hover .arrow { transform: translateX(4px); }
.contact-form .submit-btn:active { transform: translateY(0); }
.contact-form .submit-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 125, 255, 0.45), 0 12px 32px rgba(58, 63, 245, 0.42);
}

@media (max-width: 880px) {
  .pillar-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-form { grid-template-columns: 1fr; }
  .service-intro { padding: 64px 0 32px; }
  .service-pillars { padding: 24px 0 64px; }
  .nav-dd-panel { position: static; transform: none; min-width: 0; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; display: none; }
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 48px;
  justify-content: center;
}
.pf-chip {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.pf-chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
}
.pf-chip.active {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(58, 63, 245, 0.30);
}

.portfolio-section {
  padding-bottom: 100px;
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.pf-case {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pf-case:hover {
  border-color: var(--accent-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(8, 12, 56, 0.4);
}
.pf-image {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
/* unique gradient per slot so the placeholders don't look identical */
.pf-image-1 {
  background:
    radial-gradient(circle at 30% 30%, rgba(58, 63, 245, 0.45), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(108, 125, 255, 0.35), transparent 65%),
    var(--bg-2);
}
.pf-image-2 {
  background:
    radial-gradient(circle at 70% 30%, rgba(58, 63, 245, 0.40), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(108, 125, 255, 0.28), transparent 60%),
    var(--bg-2);
}
.pf-image-3 {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(108, 125, 255, 0.40), transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(58, 63, 245, 0.30), transparent 55%),
    var(--bg-2);
}
.pf-image-4 {
  background:
    radial-gradient(circle at 25% 50%, rgba(58, 63, 245, 0.40), transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(108, 125, 255, 0.30), transparent 60%),
    var(--bg-2);
}
.pf-image-5 {
  background:
    radial-gradient(circle at 50% 50%, rgba(58, 63, 245, 0.32), transparent 60%),
    linear-gradient(135deg, var(--bg-2) 0%, #0a1040 100%);
}
.pf-image-6 {
  background:
    radial-gradient(circle at 65% 30%, rgba(108, 125, 255, 0.40), transparent 60%),
    radial-gradient(circle at 30% 80%, rgba(58, 63, 245, 0.30), transparent 60%),
    var(--bg-2);
}
.pf-image-7 {
  background:
    radial-gradient(circle at 50% 35%, rgba(108, 125, 255, 0.42), transparent 58%),
    radial-gradient(circle at 50% 90%, rgba(58, 63, 245, 0.32), transparent 60%),
    var(--bg-2);
}
.pf-image-8 {
  background:
    radial-gradient(circle at 35% 40%, rgba(58, 63, 245, 0.42), transparent 58%),
    radial-gradient(circle at 78% 75%, rgba(108, 125, 255, 0.34), transparent 60%),
    var(--bg-2);
}
.pf-image::before {
  /* subtle dot grid overlay */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
}
.pf-image-filled img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.pf-image-filled::before { display: none; }
.pf-placeholder {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  background: rgba(5, 6, 15, 0.4);
}
.pf-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(5, 6, 15, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
}
.pf-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.pf-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.pf-meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-mute);
}
.pf-case h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.pf-case p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
  flex: 1;
}
.pf-stats {
  display: flex;
  gap: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.pf-stat { display: flex; flex-direction: column; gap: 2px; }
.pf-stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--accent-2);
  line-height: 1;
}
.pf-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.pf-case-placeholder { opacity: 0.62; }
.pf-case-placeholder:hover { opacity: 1; }

/* Legal / policy prose */
.legal {
  max-width: 760px;
  padding-top: 32px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.legal-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 16px;
}
.legal-num {
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  margin-right: 6px;
}
.legal-block p a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(108, 125, 255, 0.4);
  transition: border-color .2s ease;
}
.legal-block p a:hover { border-color: var(--accent-2); }
.legal-block p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-list {
  list-style: none;
  margin: 8px 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-2);
}
.legal-list strong {
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 14.5px;
}

.pf-more {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 44px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 20%, rgba(58, 63, 245, 0.16), transparent 55%),
    var(--bg-1);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s ease, transform .25s ease;
}
.pf-more:hover { border-color: var(--accent-2); transform: translateY(-3px); }
.pf-more-text { max-width: 640px; }
.pf-more-text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--text);
}
.pf-more-text p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
.pf-more .btn { flex-shrink: 0; }

.pf-empty {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 40px;
}

.pf-cta {
  padding-bottom: 100px;
}
.pf-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(58, 63, 245, 0.22), transparent 60%),
    var(--bg-1);
  flex-wrap: wrap;
}
.pf-cta-inner h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.pf-cta-inner p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
  max-width: 520px;
}

@media (max-width: 880px) {
  .pf-grid { grid-template-columns: 1fr; gap: 24px; }
  .pf-more { padding: 28px 24px; }
  .pf-body { padding: 22px 22px 24px; }
  .pf-cta-inner { padding: 28px 24px; flex-direction: column; align-items: start; gap: 20px; }
  .pf-stats { gap: 22px; }
}

/* ===== CONTACT PAGE ===== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  padding-bottom: 80px;
  align-items: stretch;
}
.contact-card,
.contact-info-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  isolation: isolate;
}
.contact-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  z-index: -1;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(58, 63, 245, 0.14), transparent 55%);
  pointer-events: none;
}
.contact-info-card {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(58, 63, 245, 0.18), transparent 60%),
    var(--bg-1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.contact-card-tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-2);
}

/* form */
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-row { display: flex; flex-direction: column; gap: 8px; }
.ct-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ct-row > label { display: flex; flex-direction: column; gap: 8px; }
.ct-row > span,
.ct-row > label > span {
  font-size: 13px;
  color: var(--text-dim);
}
.ct-row input,
.ct-row textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.ct-row input::placeholder,
.ct-row textarea::placeholder { color: var(--text-mute); }
.ct-row input:hover,
.ct-row textarea:hover { border-color: rgba(255, 255, 255, 0.28); }
.ct-row input:focus,
.ct-row textarea:focus {
  border-color: var(--accent-2);
  background: rgba(108, 125, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(108, 125, 255, 0.14);
}
.ct-row textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
}
.ct-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}

/* info card */
.ct-info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: color .2s ease;
  cursor: pointer;
}
.ct-info-row.ct-info-static { cursor: default; }
.ct-info-row:last-of-type { border-bottom: 0; }
.ct-info-row:not(.ct-info-static):hover .ct-info-value { color: var(--accent-2); }
.ct-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(108, 125, 255, 0.10);
  border: 1px solid rgba(108, 125, 255, 0.22);
  color: var(--accent-2);
  flex-shrink: 0;
}
.ct-info-text { display: flex; flex-direction: column; gap: 2px; }
.ct-info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.ct-info-value {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.005em;
  transition: color .2s ease;
}
.ct-info-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
}
.ct-link { color: var(--accent-2); transition: opacity .2s ease; }
.ct-link:hover { opacity: 0.8; }

/* join the success strip */
.join-strip { padding-bottom: 100px; }
.join-strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 52px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(108, 125, 255, 0.22), transparent 65%),
    radial-gradient(ellipse at 100% 0%, rgba(58, 63, 245, 0.18), transparent 60%),
    var(--bg-1);
  overflow: hidden;
  isolation: isolate;
  flex-wrap: wrap;
}
.join-strip-inner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: -1;
  opacity: 0.5;
}
.join-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -0.02em;
  margin: 14px 0 8px;
  line-height: 1.05;
}
.join-accent {
  background: linear-gradient(135deg, #fff, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.join-strip-inner > div > p {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 480px;
  margin: 0;
  line-height: 1.55;
}
.join-cta { white-space: nowrap; }

@media (max-width: 880px) {
  .contact-page-grid { grid-template-columns: 1fr; padding-bottom: 56px; }
  .contact-card, .contact-info-card { padding: 28px 22px; }
  .ct-row.two { grid-template-columns: 1fr; }
  .join-strip-inner { padding: 32px 24px; flex-direction: column; align-items: start; gap: 22px; }
}
