/* KernelVentra — modern tech, cool slate, teal accent */
:root {
  --ink: #07111f;
  --ink-2: #122033;
  --forest: #083344;
  --forest-2: #0e4a5c;
  --copper: #00d4c8;
  --copper-2: #2ee6d6;
  --copper-deep: #0e9488;
  --paper: #f3f6fb;
  --paper-2: #e7eef7;
  --cream: #f8fafc;
  --white: #ffffff;
  --stone: #5b6b7c;
  --stone-2: #7b8b9c;
  --line: rgba(7, 17, 31, 0.08);
  --line-strong: rgba(7, 17, 31, 0.14);
  --glow: rgba(0, 212, 200, 0.32);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(7, 17, 31, 0.12);
  --shadow-sm: 0 10px 28px rgba(7, 17, 31, 0.08);
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  display: none;
}

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.12;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.35rem);
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
  color: var(--stone);
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 42rem;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-deep);
  font-weight: 700;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 212, 200, 0.12);
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(0, 212, 200, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, filter 0.25s;
}

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

.btn-primary {
  background: linear-gradient(135deg, #00d4c8, #3b82f6);
  color: var(--white);
  box-shadow: 0 12px 32px var(--glow);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

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

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--paper);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.brand-mark {
  height: 49px;
  width: auto;
  display: block;
  background: transparent;
  margin-right: -4px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(1.02rem + 1px);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-name-sub {
  font-weight: 800;
  letter-spacing: -0.035em;
  color: inherit;
}

.brand-tagline {
  font-size: calc(0.7rem + 1px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.015em;
  color: var(--copper-deep);
  white-space: nowrap;
}

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

.nav > a,
.nav-drop > button {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-2);
  background: none;
  border: 0;
  cursor: pointer;
}

.nav > a:hover,
.nav-drop > button:hover,
.nav > a.active {
  background: var(--white);
}

.nav-drop {
  position: relative;
}

.nav-drop > button {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-drop > button svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.nav-drop.open > button svg,
.nav-drop:hover > button svg {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-40%) translateY(8px);
  width: min(640px, 86vw);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.nav-drop:hover .mega,
.nav-drop.open .mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-40%) translateY(0);
}

.mega h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}

.mega a {
  display: block;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
}

.mega a:hover {
  color: var(--copper);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

@media (min-width: 1101px) {
  .nav-home,
  .nav-contact {
    display: none;
  }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--cream);
}

/* Hero */
.hero {
  position: relative;
  padding: 92px 0 108px;
  overflow: hidden;
  color: #f8fafc;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(0, 212, 200, 0.28), transparent 42%),
    radial-gradient(ellipse at 5% 90%, rgba(59, 130, 246, 0.28), transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(124, 58, 237, 0.12), transparent 55%),
    #07111f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    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: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero .kicker {
  background: rgba(0, 212, 200, 0.14);
  color: #5eead4;
}

.hero .lead {
  color: #b7c5d6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(90deg, #5eead4, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-1 {
  width: 280px;
  height: 280px;
  right: 10%;
  top: 8%;
  background: radial-gradient(circle at 30% 30%, #99f6e4, #06b6d4 45%, #1d4ed8);
  opacity: 0.95;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 160px;
  height: 160px;
  left: 6%;
  bottom: 12%;
  background: radial-gradient(circle at 40% 30%, #c4b5fd, #6366f1);
  animation: float 10s ease-in-out infinite reverse;
}

.hero-panel {
  position: absolute;
  inset: 24px 4px 8px 28px;
  background: rgba(7, 17, 31, 0.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  color: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-panel .mono {
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5eead4;
  font-weight: 700;
}

.hero-panel strong {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  margin: 10px 0 8px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.metric {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 10px;
}

.metric b {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
}

.metric span {
  font-size: 0.75rem;
  color: #9db0c4;
}

.node-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* Partner strip */
.partner-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
  padding: 22px 0;
}

.partner-strip .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 650;
  font-size: 0.86rem;
}

a.badge:hover {
  border-color: var(--copper);
}

.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  display: inline-block;
}

.partner-strip p {
  margin: 0;
  flex: 1;
  min-width: 240px;
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head p {
  margin: 0;
  max-width: 28rem;
}

.section-dark {
  background:
    radial-gradient(circle at 85% 0%, rgba(0, 212, 200, 0.16), transparent 38%),
    var(--ink);
  color: var(--paper);
}

.section-dark p,
.section-dark .lead {
  color: #9db0c4;
}

.section-dark h2,
.section-dark h3 {
  color: var(--cream);
}

.section-alt {
  background: var(--white);
}

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

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--copper) 45%, var(--line));
}

.card-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--copper);
  margin-bottom: 18px;
}

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ccfbf1, #e0e7ff);
  margin-bottom: 16px;
  color: #0f766e;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

.card a.more {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--copper-deep);
}

.why-card {
  text-align: left;
  background: color-mix(in srgb, var(--white) 6%, transparent);
  border: 1px solid rgba(255, 252, 248, 0.1);
  border-radius: var(--radius);
  padding: 24px;
}

.why-card svg {
  margin-bottom: 16px;
}

/* Featured services */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.feature {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  height: 100%;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--cream);
  background: var(--forest);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.grid-2 .feature {
  grid-row: auto;
  grid-column: auto;
}

.feature-grid .feature:nth-child(1),
.feature-grid .feature:nth-child(4) {
  grid-row: auto;
  grid-column: auto;
  min-height: 280px;
}

.feature:nth-child(1) {
  background:
    radial-gradient(circle at 80% 10%, #22d3ee, transparent 42%),
    linear-gradient(160deg, #0f766e, #07111f);
}

.feature:nth-child(2) {
  background: linear-gradient(160deg, #1d4ed8, #07111f);
}

.feature:nth-child(3) {
  background: linear-gradient(160deg, #7c3aed, #1e1b4b);
}

.feature:nth-child(4) {
  background: linear-gradient(120deg, #083344, #1e3a8a);
}

.feature .kicker {
  align-self: flex-start;
  color: #5eead4;
  margin-bottom: 16px;
  background: rgba(94, 234, 212, 0.14);
}

.feature h3 {
  color: var(--cream);
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.feature p {
  color: #b7c5d6;
  margin: 0;
}

.feature .more {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 650;
  font-size: 0.9rem;
  color: #5eead4;
}

/* Industries marquee */
.marquee-wrap {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  padding: 18px 0;
}

.marquee {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.marquee span {
  display: flex;
  align-items: center;
  gap: 48px;
}

.marquee span::after {
  content: "·";
  color: var(--copper);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Industries — equal five-slice board */
.industries-section {
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 212, 200, 0.16), transparent 28%),
    #07111f;
  color: #f8fafc;
}

.industries-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.industries-intro h2 {
  color: #f8fafc;
  max-width: 14ch;
}

.industries-intro p {
  margin: 0;
  color: #9db0c4;
  max-width: 28rem;
}

.industries-intro .kicker {
  background: rgba(94, 234, 212, 0.12);
  color: #5eead4;
}

.industries-intro .btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  align-self: end;
}

.industries-intro .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.industry-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.industry-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  height: 100%;
  padding: 26px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  transition: background 0.3s var(--ease);
}

.industry-card:last-child {
  border-right: 0;
}

.industry-card:hover {
  background: rgba(94, 234, 212, 0.08);
}

.industry-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #5eead4;
  margin-bottom: 18px;
}

.industry-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #5eead4;
  background: rgba(94, 234, 212, 0.1);
}

.industry-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  color: #f8fafc;
  line-height: 1.25;
  min-height: calc(1.25em * 3);
}

.industry-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #9db0c4;
}

.industry-card .more {
  margin-top: auto;
  padding-top: 22px;
  font-weight: 650;
  font-size: 0.88rem;
  color: #5eead4;
}

/* Quote / social */
.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.logo-ph {
  height: 64px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--stone-2);
  font-size: 0.78rem;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cream);
}

.quote {
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 212, 200, 0.22), transparent 36%),
    var(--ink);
  color: var(--cream);
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote p {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 16px;
}

.quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: #9db0c4;
}

/* CTA band */
.cta-band {
  margin: 0 20px 40px;
  border-radius: 28px;
  padding: 56px 40px;
  background:
    radial-gradient(circle at 90% 20%, rgba(0, 212, 200, 0.4), transparent 36%),
    radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.35), transparent 40%),
    linear-gradient(135deg, #07111f, #123056);
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band h2 {
  color: var(--cream);
  margin-bottom: 8px;
}

.cta-band p {
  color: #b7c5d6;
  margin: 0;
  max-width: 36rem;
}

/* Page hero */
.page-hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 212, 200, 0.16), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(59, 130, 246, 0.1), transparent 36%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.crumbs {
  font-size: 0.82rem;
  color: var(--stone);
  margin-bottom: 18px;
}

.crumbs a:hover {
  color: var(--copper);
}

/* Lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--ink-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}

/* Leaders */
.leader {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: start;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(160deg, #1d4ed8, #00d4c8);
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.5rem;
}

/* Forms */
form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(196, 98, 45, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-success {
  display: none;
  padding: 18px;
  border-radius: 14px;
  background: #e8f3ee;
  color: var(--forest);
  font-weight: 600;
}

.form-success.show {
  display: block;
}

.contact-aside {
  background: var(--ink);
  color: var(--cream);
  border-radius: 24px;
  padding: 32px;
}

.contact-aside p,
.contact-aside a {
  color: #9db0c4;
}

.contact-aside h3 {
  color: var(--cream);
}

.contact-aside dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5eead4;
  margin-top: 18px;
}

.contact-aside dd {
  margin: 4px 0 0;
}

/* Jobs */
.job {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.75rem;
  font-weight: 650;
}

/* Resources */
.article-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 252, 248, 0.1);
}

.site-footer .brand {
  display: flex;
  align-items: center;
  color: var(--cream);
}

.site-footer .brand-mark {
  height: 53px;
  background: transparent;
  filter:
    drop-shadow(0.6px 0 0 rgba(255, 255, 255, 0.35))
    drop-shadow(-0.6px 0 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 0.6px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 -0.6px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 8px 16px rgba(0, 212, 200, 0.28));
}

.site-footer .brand-tagline {
  color: #7ee7d8;
}

.site-footer p {
  color: #9db0c4;
}

.site-footer h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5eead4;
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  padding: 4px 0;
  color: #9db0c4;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--cream);
}

.site-footer a.badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--ink);
}

.site-footer a.badge:hover {
  color: var(--ink);
  border-color: var(--copper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  color: #8e877c;
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  gap: 16px;
}

.legal-links a {
  display: inline;
}

/* Misc */
.table-like {
  display: grid;
  gap: 0;
}

.table-like article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.table-like h3 {
  margin: 0;
  font-size: 1.15rem;
}

.map-ph {
  height: 220px;
  border-radius: 18px;
  margin-top: 22px;
  background:
    linear-gradient(180deg, transparent, rgba(11, 18, 16, 0.35)),
    radial-gradient(circle at 40% 50%, #22d3ee 0 2px, transparent 3px),
    radial-gradient(circle at 55% 40%, #6366f1 0 1.5px, transparent 2px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(255, 255, 255, 0.05) 25px),
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(255, 255, 255, 0.05) 25px),
    #07111f;
  position: relative;
}

.map-ph span {
  position: absolute;
  left: 38%;
  top: 42%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 10px rgba(196, 98, 45, 0.25);
}

.notice {
  font-size: 0.85rem;
  color: var(--stone);
  border-left: 3px solid var(--copper);
  padding-left: 14px;
  margin-top: 20px;
}

.legal-copy h2 {
  font-size: 1.35rem;
  margin-top: 1.8em;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy h3 {
  font-size: 1.05rem;
  margin: 1.25em 0 0.35em;
}

.legal-copy ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: var(--stone);
}

.legal-copy li {
  margin: 0.35em 0;
}

.legal-copy a {
  color: var(--copper-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.8s var(--ease) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .grid-2,
  .split,
  .footer-grid,
  .cta-band,
  .section-head,
  .form-row,
  .table-like article {
    grid-template-columns: 1fr;
    display: grid;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .industries-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .industries-intro h2 {
    max-width: none;
  }

  .industry-board {
    grid-template-columns: repeat(5, minmax(232px, 260px));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .industry-card {
    min-height: 300px;
    height: 300px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .industry-card:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .feature:nth-child(1),
  .feature:nth-child(4),
  .feature-grid .feature:nth-child(1),
  .feature-grid .feature:nth-child(4) {
    grid-row: auto;
    grid-column: auto;
    min-height: 260px;
  }

  .cta-band {
    display: block;
    padding: 36px 24px;
  }

  .cta-band .btn {
    margin-top: 20px;
  }
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: flex;
  }

  .nav,
  .nav-cta .btn-ghost {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 24px;
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
    gap: 4px;
  }

  .mega {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    margin-top: 8px;
  }

  .nav-drop.open .mega {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 340px;
  }

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

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    height: 41px;
  }

  .brand-name {
    font-size: calc(0.86rem + 1px);
  }

  .brand-tagline {
    font-size: calc(0.62rem + 1px);
  }

  h1 {
    font-size: 2.15rem;
  }

  .container,
  .narrow {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    padding: 40px 0 56px;
  }

  .section {
    padding: 64px 0;
  }

  .form-row,
  .leader,
  .job {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-cta .btn-primary {
    display: none;
  }
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.badge i {
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 200, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(0, 212, 200, 0);
  }
}

body.home .site-header {
  background: transparent;
}

body.home .hero {
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 72px);
}

body.home .site-header.scrolled {
  background: rgba(7, 17, 31, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.home .brand,
body.home .nav > a,
body.home .nav-drop > button {
  color: #f8fafc;
}

body.home .nav > a:hover,
body.home .nav-drop > button:hover,
body.home .nav > a.active {
  background: rgba(255, 255, 255, 0.1);
}

body.home .btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #f8fafc;
}

body.home .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.home .brand-mark {
  background: transparent;
  filter:
    drop-shadow(0.7px 0 0 rgba(255, 255, 255, 0.42))
    drop-shadow(-0.7px 0 0 rgba(255, 255, 255, 0.42))
    drop-shadow(0 0.7px 0 rgba(255, 255, 255, 0.42))
    drop-shadow(0 -0.7px 0 rgba(255, 255, 255, 0.42))
    drop-shadow(0 8px 16px rgba(0, 212, 200, 0.3));
}

body.home .brand-tagline {
  color: #7ee7d8;
}

body.home .menu-toggle {
  background: #00d4c8;
}

body.home .menu-toggle span {
  background: #07111f;
}

body.home .mega,
body.home .mega a,
body.home .mega h4 {
  color: var(--ink-2);
}

body.home .mega h4 {
  color: var(--copper-deep);
}

@media (max-width: 1100px) {
  body.home.nav-open .nav > a,
  body.home.nav-open .nav-drop > button {
    color: var(--ink);
  }

  body.home.nav-open .nav > a:hover,
  body.home.nav-open .nav > a.active,
  body.home.nav-open .nav-drop > button:hover {
    background: var(--white);
  }
}

/* Contact — unique stage + map */
.contact-stage {
  padding: 36px 0 72px;
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 212, 200, 0.22), transparent 30%),
    radial-gradient(circle at 8% 90%, rgba(29, 78, 216, 0.35), transparent 38%),
    #07111f;
  color: #f8fafc;
}

.contact-stage .crumbs,
.contact-stage .crumbs a,
.contact-stage .lead {
  color: #9db0c4;
}

.contact-stage .kicker {
  background: rgba(94, 234, 212, 0.12);
  color: #5eead4;
}

.contact-stage h1 {
  color: #f8fafc;
  max-width: 16ch;
}

.contact-stage-head {
  margin-bottom: 40px;
}

.contact-board {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 14px;
}

.contact-point {
  display: grid;
  gap: 6px;
  padding: 22px 22px 22px 72px;
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
}

a.contact-point:hover {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.06);
}

.contact-ico {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(94, 234, 212, 0.12);
  color: #5eead4;
}

.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5eead4;
  font-weight: 700;
}

.contact-point strong {
  font-size: 1.08rem;
  color: #f8fafc;
}

.contact-hint {
  color: #9db0c4;
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-form-card {
  background: #fff;
  color: var(--ink);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.contact-form-card h2 {
  margin-bottom: 18px;
}

/* Careers — unique two-path layout */
.careers-hero {
  padding: 48px 0 72px;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.12), transparent 34%),
    radial-gradient(circle at 0% 80%, rgba(0, 212, 200, 0.12), transparent 32%),
    var(--paper);
}

.careers-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.careers-hero h1 em {
  color: var(--copper-deep);
  font-style: italic;
}

.careers-paths {
  display: grid;
  gap: 14px;
}

.careers-path {
  padding: 26px;
  border-radius: 22px;
  background: var(--ink);
  color: #f8fafc;
}

.careers-path:nth-child(2) {
  background: linear-gradient(160deg, #0f766e, #07111f);
}

.careers-path-num {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5eead4;
  font-weight: 700;
  margin-bottom: 10px;
}

.careers-path h3 {
  color: #f8fafc;
  margin-bottom: 8px;
}

.careers-path p {
  margin: 0;
  color: #b7c5d6;
}

.careers-steps {
  padding: 28px 0;
  background: var(--ink);
  color: #f8fafc;
}

.careers-steps .kicker {
  background: rgba(94, 234, 212, 0.12);
  color: #5eead4;
  margin-bottom: 22px;
}

.careers-step-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.careers-step-row b {
  display: block;
  color: #5eead4;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.careers-step-row h3 {
  color: #f8fafc;
  margin-bottom: 8px;
}

.careers-step-row p {
  margin: 0;
  color: #9db0c4;
}

#roles,
#apply {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.careers-tickets {
  display: grid;
  gap: 14px;
}

.careers-ticket {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  border-radius: 22px;
  border: 1px dashed var(--line-strong);
  background:
    linear-gradient(90deg, rgba(0, 212, 200, 0.06), transparent 28%),
    var(--white);
}

.careers-ticket h3 {
  margin-bottom: 4px;
}

.careers-ticket p {
  margin: 0;
}

.careers-ticket-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.careers-apply {
  padding: 80px 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 212, 200, 0.16), transparent 28%),
    #07111f;
  color: #f8fafc;
}

.careers-apply-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.careers-apply .kicker {
  background: rgba(94, 234, 212, 0.12);
  color: #5eead4;
}

.careers-apply h2,
.careers-apply p {
  color: #f8fafc;
}

.careers-apply p {
  color: #9db0c4;
}

.careers-form-card {
  background: #fff;
  color: var(--ink);
  border-radius: 28px;
  padding: 32px;
}

@media (max-width: 980px) {
  .contact-board,
  .careers-hero-grid,
  .careers-apply-grid,
  .careers-step-row {
    grid-template-columns: 1fr;
  }

  .careers-ticket {
    flex-direction: column;
    align-items: flex-start;
  }
}
