/* n32b — stylesheet
   Design tokens + layout for the single-page site rendered by dc-runtime
   (support.js). Loaded as a real <link> in <head> so colors/fonts are
   ready before the runtime boots and renders the template. */

:root {
  --bg: #0B0D10;
  --bg-alt: #0D0F12;
  --surface: #101317;
  --border: #1C1F23;
  --border-alt: #262B31;
  --border-soft: #2A2F35;
  --dot-idle: #3A3F45;
  --text: #E7EAEC;
  --text-strong: #F4F6F7;
  --text-muted: #9BA3AA;
  --text-dim: #5C646B;
  --text-soft: #C7CCD1;
  --text-info: #8FA3AC;
  --accent: #39FF6A;
  --keyword: #C792EA;
  --func: #82AAFF;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

/* --- reset / base --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
ul, ol { list-style: none; }
section[id] { scroll-margin-top: 88px; }
::selection { background: var(--accent); color: var(--bg); }

.page {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- text color tokens (terminal syntax highlighting, muted labels) --- */
.c-dim { color: var(--text-dim); }
.c-keyword { color: var(--keyword); }
.c-func { color: var(--func); }
.c-accent { color: var(--accent); }
.c-text { color: var(--text); }
.c-muted { color: var(--text-muted); }
.c-info { color: var(--text-info); }
.c-result { color: var(--text-soft); }

/* --- animations --- */
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes gridDrift { from { background-position: 0 0, 0 0; } to { background-position: 48px 48px, 48px 48px; } }
@keyframes softPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.blink-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1s infinite;
}
.blink-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  animation: blink 1s infinite;
}

/* --- header / nav --- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: clamp(16px,3vw,28px) clamp(16px,5vw,64px);
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,13,16,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-dot { width: 12px; height: 12px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.brand-name { font-family: var(--font-mono); font-weight: 600; font-size: 19px; letter-spacing: 0.5px; color: var(--text-strong); }

.nav {
  display: flex; align-items: center; gap: clamp(16px,3vw,40px);
  font-family: var(--font-mono); font-size: 14px; color: var(--text-muted);
}
.nav-links { display: flex; align-items: center; gap: clamp(16px,3vw,40px); }
.nav-links a { color: var(--text-muted); text-decoration: none; transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* --- buttons --- */
.btn { transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 30px -12px rgba(57,255,106,.55); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  cursor: pointer; text-decoration: none;
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(57,255,106,0.08) !important; border-color: var(--accent) !important; color: var(--accent) !important; }

.btn-primary {
  background: var(--accent); color: var(--bg);
  font-weight: 700; border-radius: 4px;
}

.btn-contact {
  padding: 10px 20px; background: transparent;
  border: 1px solid var(--accent); color: var(--accent);
  border-radius: 2px; font-weight: 500; white-space: nowrap;
}

.btn-outline {
  padding: 18px 40px; border: 1px solid var(--border-soft);
  color: var(--text); font-weight: 600; font-size: 16.5px;
  border-radius: 4px; font-family: var(--font-mono);
  text-decoration: none; display: inline-block;
}

/* --- hero --- */
.hero {
  position: relative;
  padding: clamp(56px,10vw,120px) clamp(20px,5vw,64px) clamp(48px,8vw,100px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px,5vw,48px); align-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 0.35; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border: 1px solid var(--border-soft); border-radius: 20px;
  font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(38px,6.5vw,68px); font-weight: 800; line-height: 1.05;
  letter-spacing: -2px; color: var(--text-strong); margin-bottom: 28px;
}
.hero-lede {
  font-size: clamp(16px,2.2vw,19px); line-height: 1.6; color: var(--text-muted);
  max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-actions .btn-primary { padding: 16px 32px; font-size: 16px; }
.hero-hint { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }

/* --- terminal mockup --- */
.terminal {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--border-alt); border-radius: 10px;
  overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
  min-width: 0;
}
.terminal__titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; background: var(--bg-alt); border-bottom: 1px solid var(--border-alt);
}
.terminal__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--dot-idle); }
.terminal__title { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); margin-left: 12px; }
.terminal__body {
  padding: clamp(16px,3vw,24px);
  font-family: var(--font-mono); font-size: clamp(11.5px,2vw,13.5px);
  overflow-x: auto;
}
.terminal__body--code { line-height: 1.85; color: var(--text-info); }
.terminal__body--chat { line-height: 1.8; }
.terminal__spacer { height: 14px; }
.terminal__cursor-line { display: flex; align-items: center; gap: 4px; }

/* --- metrics strip --- */
.metrics { border-bottom: 1px solid var(--border); }
.metrics__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.metrics__item {
  padding: clamp(24px,4vw,36px) clamp(20px,4vw,40px);
  border-right: 1px solid var(--border); text-align: left;
}
.metrics__value { font-family: var(--font-mono); font-size: clamp(26px,4vw,34px); font-weight: 600; color: var(--accent); }
.metrics__label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* --- shared section chrome --- */
.section-eyebrow { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.section-eyebrow__num { font-family: var(--font-mono); color: var(--accent); font-size: 15px; }
.section-eyebrow__label { font-family: var(--font-mono); color: var(--text-dim); font-size: 15px; text-transform: uppercase; letter-spacing: 2px; }
.section-title {
  font-size: clamp(28px,5vw,42px); font-weight: 800; color: var(--text-strong);
  letter-spacing: -1px; margin-bottom: clamp(36px,6vw,64px); max-width: 640px;
}
.section-title--compact { margin-bottom: 24px; }
.section-title--narrow { max-width: 520px; }

.accent-list { display: flex; flex-direction: column; gap: 18px; }
.accent-list__item { display: flex; gap: 14px; align-items: flex-start; }
.accent-list__bullet { color: var(--accent); font-family: var(--font-mono); font-size: 15px; margin-top: 1px; }
.accent-list__text { font-size: 15.5px; color: var(--text-soft); line-height: 1.6; }

/* --- showcase --- */
.showcase {
  padding: clamp(56px,10vw,120px) clamp(20px,5vw,64px);
  border-bottom: 1px solid var(--border);
}
.showcase__lede {
  font-size: 16.5px; line-height: 1.7; color: var(--text-muted);
  max-width: 560px; margin-bottom: clamp(36px,6vw,56px);
}
.showcase__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px,3vw,28px);
}
.showcase-card {
  background: var(--surface); border: 1px solid var(--border-alt); border-radius: 10px;
  overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease;
}
.showcase-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.75); }
.showcase-card__img { display: block; width: 100%; aspect-ratio: 1408 / 768; object-fit: cover; }
.showcase-card__caption {
  padding: 14px 18px; font-family: var(--font-mono); font-size: 13px;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.5px;
  border-top: 1px solid var(--border-alt);
}

/* --- services --- */
.services {
  padding: clamp(56px,10vw,120px) clamp(20px,5vw,64px);
  border-bottom: 1px solid var(--border);
}
.services__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.service-card {
  background: var(--bg); padding: clamp(28px,4vw,44px);
  position: relative;
  transition: opacity .55s ease, transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px rgba(0,0,0,.8), inset 0 0 0 1px var(--border-alt); z-index: 1; }
.service-card__icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border-alt);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.service-card__dot { width: 14px; height: 14px; border-radius: 3px; }
.service-card__title { font-size: 21px; font-weight: 700; color: var(--text-strong); margin-bottom: 12px; }
.service-card__desc { font-size: 15.5px; line-height: 1.65; color: var(--text-muted); max-width: 420px; }

.service-card:nth-child(1) .service-card__dot { background: #39FF6A; }
.service-card:nth-child(2) .service-card__dot { background: #4C8DFF; }
.service-card:nth-child(3) .service-card__dot { background: #F5C142; }
.service-card:nth-child(4) .service-card__dot { background: #C792EA; }
.service-card:nth-child(5) .service-card__dot { background: #FF6B6B; }
.service-card:nth-child(6) .service-card__dot { background: #2DD4BF; }
.service-card:nth-child(7) .service-card__dot { background: #FF9F5A; }

/* --- stack --- */
.stack {
  padding: clamp(56px,10vw,120px) clamp(20px,5vw,64px);
  border-bottom: 1px solid var(--border); background: var(--bg-alt);
}
.stack__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px,5vw,64px); align-items: start; }
.stack__lede { font-size: 16.5px; line-height: 1.7; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; }

.compare {
  background: var(--surface); border: 1px solid var(--border-alt); border-radius: 10px;
  padding: clamp(24px,4vw,36px); min-width: 0;
}
.compare__caption {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-dim);
  margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1.5px;
}
.compare-row { margin-bottom: 22px; }
.compare-row:last-child { margin-bottom: 0; }
.compare-row__head { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.compare-row__time { font-family: var(--font-mono); color: var(--text-strong); }
.compare-row__track { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.compare-row__fill { height: 100%; border-radius: 4px; background: var(--text-dim); }
.compare-row--highlight .compare-row__fill { background: var(--accent); }
.compare-row:nth-of-type(1) .compare-row__fill { width: 92%; }
.compare-row:nth-of-type(2) .compare-row__fill { width: 65%; }
.compare-row:nth-of-type(3) .compare-row__fill { width: 12%; }

/* --- ai layer --- */
.ai {
  padding: clamp(56px,10vw,120px) clamp(20px,5vw,64px);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.ai__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(57,255,106,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.ai__inner { position: relative; z-index: 1; }
.ai__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px,5vw,64px); align-items: center; }
.ai__lede { font-size: 16.5px; line-height: 1.7; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; }
.ai__you { color: var(--text-dim); margin-bottom: 6px; }
.ai__question { color: var(--text); margin-bottom: 18px; }
.ai__agent { color: var(--accent); margin-bottom: 6px; }
.ai__status { color: var(--text-info); margin-bottom: 10px; }
.ai__result { color: var(--text-soft); margin-bottom: 4px; }
.ai__result:last-of-type { margin-bottom: 14px; }

/* --- ai terminal carousel --- */
.terminal-carousel { position: relative; min-width: 0; }
.terminal-carousel__viewport { overflow: hidden; }
.terminal-carousel__track { display: flex; align-items: flex-start; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.terminal-carousel__slide { flex: 0 0 100%; min-width: 0; }
.terminal-carousel__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.terminal-carousel__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 6px;
  background: transparent; border: 1px solid var(--border-alt); color: var(--text-dim);
  font-size: 15px; line-height: 1; cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.terminal-carousel__arrow:hover { color: var(--accent); border-color: var(--accent); }
.terminal-carousel__dots { display: flex; align-items: center; gap: 8px; }
.terminal-carousel__dot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; border: none;
  background: var(--border-alt); cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.terminal-carousel__dot.is-active { background: var(--accent); transform: scale(1.35); }

/* chart response */
.ai-chart { margin-bottom: 14px; }
.ai-chart__row { margin-bottom: 12px; }
.ai-chart__row:last-child { margin-bottom: 0; }
.ai-chart__head { display: flex; justify-content: space-between; gap: 12px; color: var(--text-soft); margin-bottom: 6px; }
.ai-chart__value { color: var(--text-strong); }
.ai-chart__track { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.ai-chart__fill { height: 100%; border-radius: 4px; background: var(--accent); }

/* table response */
.ai-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.ai-table th, .ai-table td { text-align: left; padding: 6px 14px 6px 0; white-space: nowrap; }
.ai-table th { color: var(--text-dim); font-weight: 400; border-bottom: 1px solid var(--border-alt); }
.ai-table td { color: var(--text-soft); border-bottom: 1px solid var(--border); }
.ai-table tr:last-child td { border-bottom: none; }

/* sql response */
.ai-code {
  margin: 0 0 14px; padding: 12px 14px; background: var(--bg-alt);
  border: 1px solid var(--border-alt); border-radius: 6px;
  color: var(--text-info); white-space: pre-wrap; word-break: break-word;
}

/* schedule response */
.ai-schedule__check { color: var(--accent); }

/* --- process --- */
.process {
  padding: clamp(56px,10vw,120px) clamp(20px,5vw,64px);
  border-bottom: 1px solid var(--border);
}
.process__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.process-step__num {
  font-family: var(--font-mono); font-size: 44px; font-weight: 600; color: var(--border);
  -webkit-text-stroke: 1px var(--accent); margin-bottom: 20px;
}
.process-step__title { font-size: 18px; font-weight: 700; color: var(--text-strong); margin-bottom: 10px; }
.process-step__desc { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

/* --- CTA --- */
.cta {
  padding: clamp(64px,12vw,140px) clamp(20px,5vw,64px);
  text-align: center; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(57,255,106,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; }
.cta__eyebrow {
  font-family: var(--font-mono); color: var(--accent); font-size: 15px;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px;
}
.cta__title {
  font-size: clamp(30px,6vw,56px); font-weight: 800; color: var(--text-strong);
  letter-spacing: -1.5px; line-height: 1.1; max-width: 760px; margin: 0 auto 32px;
}
.cta__lede { font-size: clamp(15px,2vw,17px); color: var(--text-muted); max-width: 520px; margin: 0 auto 44px; }
.cta__actions { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.cta__actions .btn-primary { padding: 18px 40px; font-size: 16.5px; }

/* --- footer --- */
.site-footer {
  padding: 24px clamp(20px,5vw,64px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; color: var(--text-dim);
}
.site-footer__brand { display: flex; align-items: center; gap: 10px; }
.site-footer__dot { width: 9px; height: 9px; background: var(--accent); border-radius: 2px; }
.site-footer__links { display: flex; align-items: center; gap: 24px; }
.site-footer__links a { color: var(--text-muted); text-decoration: none; }

/* --- contact modal --- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(5,6,7,0.75); backdrop-filter: blur(4px);
  z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: var(--surface); border: 1px solid var(--border-alt); border-radius: 12px;
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 60px 120px -20px rgba(0,0,0,0.7);
}
.modal__header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px clamp(16px,4vw,32px); border-bottom: 1px solid var(--border);
}
.modal__eyebrow { font-family: var(--font-mono); color: var(--accent); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.modal__title { font-size: 22px; font-weight: 800; color: var(--text-strong); }
.modal__close {
  width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--border-alt);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--text-muted); font-size: 16px; flex-shrink: 0;
}

.modal-success { padding: 48px 32px; text-align: center; }
.modal-success__icon { font-family: var(--font-mono); color: var(--accent); font-size: 40px; margin-bottom: 16px; }
.modal-success__title { font-size: 20px; font-weight: 700; color: var(--text-strong); margin-bottom: 10px; }
.modal-success__text { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.modal-success__close {
  margin-top: 28px; display: inline-block; padding: 14px 28px;
  border-radius: 4px; text-align: center;
}

.modal-form { padding: 20px clamp(16px,4vw,32px) 28px; display: flex; flex-direction: column; gap: 22px; }
.modal-form__field-label { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.modal-form__pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.modal-form__pills--timeline { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.modal-form__divider { height: 1px; background: var(--border); }
.modal-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }

.field-textarea, .field-input {
  width: 100%; background: var(--bg); border: 1px solid var(--border-alt); border-radius: 6px;
  padding: 12px 14px; color: var(--text); font-family: var(--font-sans); font-size: 14px;
}
.field-textarea { min-height: 70px; resize: vertical; }

.pill {
  padding: 12px 14px; border-radius: 6px; border: 1px solid var(--border-alt);
  background: var(--bg); color: var(--text-soft); font-size: 14px;
  cursor: pointer; text-align: center;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pill--active { border-color: var(--accent); background: rgba(57,255,106,0.1); color: var(--accent); }

.modal-submit {
  margin-top: 6px; padding: 16px; border-radius: 6px; font-size: 15.5px; text-align: center;
}

/* --- scroll reveal / stagger / ambient motion --- */
@media (prefers-reduced-motion: no-preference) {
  main > section, .site-footer {
    opacity: 0; transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  }
  main > section.is-visible, .site-footer.is-visible { opacity: 1; transform: none; }

  .service-card, .process__list li {
    opacity: 0; transform: translateY(20px);
    transition: opacity .55s ease, transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease;
  }
  .services.is-visible .service-card, .process.is-visible .process__list li { opacity: 1; transform: none; }
  .services.is-visible .service-card:nth-child(2) { transition-delay: .06s; }
  .services.is-visible .service-card:nth-child(3) { transition-delay: .12s; }
  .services.is-visible .service-card:nth-child(4) { transition-delay: .18s; }
  .services.is-visible .service-card:nth-child(5) { transition-delay: .24s; }
  .services.is-visible .service-card:nth-child(6) { transition-delay: .30s; }
  .services.is-visible .service-card:nth-child(7) { transition-delay: .36s; }
  .process.is-visible .process__list li:nth-child(2) { transition-delay: .09s; }
  .process.is-visible .process__list li:nth-child(3) { transition-delay: .18s; }
  .process.is-visible .process__list li:nth-child(4) { transition-delay: .27s; }
  .process.is-visible .process__list li:nth-child(5) { transition-delay: .36s; }

  .hero-grid { animation: gridDrift 24s linear infinite; }
  .cta-glow { animation: softPulse 6s ease-in-out infinite; }
}

/* .services.is-visible .service-card (3 classes) outweighs a bare
   .service-card:hover (class + pseudo-class) once a section has been
   revealed, so hover needs the same ancestor scope to win here. */
.services.is-visible .service-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px rgba(0,0,0,.8), inset 0 0 0 1px var(--border-alt); z-index: 1; }
