/* ══════════════════════════════════════════════════════
   Sterck Systems — Static Site Styles
   Replicated from Next.js + Tailwind source
   ══════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --bg: #fafbfc;
  --bg-2: #f1f4f6;
  --ink: #142233;
  --ink-2: #3a4756;
  --ink-3: #6f7c8a;
  --line: #e1e6ea;
  --navy: #15171c;
  --accent: #e35d2a;
  --accent-soft: #fbe0d3;
  --page-padding: 1.25rem;
  --nav-h: 84px;
}

@media (min-width: 64em) {
  :root { --page-padding: 2.5rem; }
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Satoshi', 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  html, body { font-size: 18px; }
}

::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Layout ── */
.container-x {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

section { scroll-margin-top: var(--nav-h); }

/* ── Typography ── */
.font-display { font-family: 'Satoshi', 'Manrope', system-ui, sans-serif; }

.tag {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.nav-link {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 300ms ease-out;
}
.nav-link:hover { color: var(--accent); }

/* ── Grid System ── */
.grid { display: grid; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }

@media (max-width: 1023px) {
  .lg-grid-12, .lg-grid-3, .lg-grid-2 { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .lg-grid-12 { grid-template-columns: repeat(12, 1fr); }
  .lg-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .lg-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .md-grid-2, .md-grid-3 { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
  .md-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ── Flex helpers ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* ── Spacing ── */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mt-28 { margin-top: 7rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-12 { padding-top: 3rem; }
.pt-24 { padding-top: 6rem; }
.pt-28 { padding-top: 7rem; }
.pt-32 { padding-top: 8rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.px-3 { padding-inline: 0.75rem; }
.px-5 { padding-inline: 1.25rem; }
.px-7 { padding-inline: 1.75rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }

@media (min-width: 768px) {
  .md-p-8 { padding: 2rem; }
  .md-p-9 { padding: 2.25rem; }
  .md-p-10 { padding: 2.5rem; }
  .md-mt-12 { margin-top: 3rem; }
}

/* ── Sizing ── */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100svh; }

/* ── Position ── */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-70 { z-index: 70; }
.z-80 { z-index: 80; }

/* ── Text ── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* ── Overflow ── */
.overflow-hidden { overflow: hidden; }

/* ── Border ── */
.border-t { border-top: 1px solid var(--line); }
.border-b { border-bottom: 1px solid var(--line); }
.border-line { border-color: var(--line); }
.rounded-full { border-radius: 9999px; }

/* ── Pointer/display ── */
.pointer-events-none { pointer-events: none; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }
.cursor-pointer { cursor: pointer; }
.isolate { isolation: isolate; }

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  transition: all 500ms ease;
  padding: 1.25rem 0;
  background: transparent;
}
.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(250, 251, 252, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.navbar__logo { height: 36px; width: auto; }
.navbar__logo:hover { opacity: 0.8; }
.navbar__nav { display: none; align-items: center; gap: 2.25rem; }
@media (min-width: 1024px) { .navbar__nav { display: flex; } }
.navbar__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 9999px;
  background: #000;
  color: #fff;
  transition: background 300ms;
}
.navbar__cta:hover { background: var(--accent); }
@media (min-width: 640px) { .navbar__cta { display: inline-flex; } }
.navbar__hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 300ms;
  background: none;
}
.navbar__hamburger:hover { border-color: var(--ink); }
@media (min-width: 1024px) { .navbar__hamburger { display: none; } }
.navbar__hamburger-line {
  display: block;
  height: 1px;
  width: 20px;
  background: currentColor;
  transition: transform 400ms;
}
.navbar__hamburger-line + .navbar__hamburger-line { margin-top: 10px; }
.navbar__hamburger.open .navbar__hamburger-line:first-child {
  transform: translateY(5.5px) rotate(45deg);
}
.navbar__hamburger.open .navbar__hamburger-line:last-child {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--bg);
  display: none;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu__inner { padding-top: 7rem; padding-bottom: 3rem; }
.mobile-menu__item {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.mobile-menu__item:last-child { border-bottom: 1px solid var(--line); }
.mobile-menu__link {
  display: block;
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: color 300ms;
}
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__num {
  font-weight: 400;
  color: var(--ink-3);
  font-size: 1rem;
  margin-right: 1rem;
}

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #F8FAFC;
}
.hero__backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__backdrop svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--page-padding) 5rem;
}
.hero__card-outer {
  position: relative;
  width: 78%;
  max-width: 1320px;
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.hero__card-inner {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 50px 120px rgba(0,0,0,0.08), 0 20px 50px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
  border-radius: 40px;
  padding: clamp(40px, 5vw, 80px);
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero glass effects */
.hero__ambient-light {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.hero__refraction {
  position: absolute;
  pointer-events: none;
  width: 2px;
  height: 100%;
  top: 0;
  filter: blur(4px);
}
.hero__glass-reflection {
  position: absolute;
  pointer-events: none;
  filter: blur(10px);
  top: -25%;
  left: -10%;
  width: 55%;
  height: 150%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.38) 50%, transparent 100%);
  transform: rotate(20deg);
}
.hero__edge-glow-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.9) 50%, transparent 100%);
}
.hero__edge-glow-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(7,26,61,0.08) 50%, transparent 100%);
}
.hero__bottom-shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(7,26,61,0.05) 0%, transparent 100%);
  border-radius: 0 0 40px 40px;
}
.hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  border-radius: 40px;
}

.hero__headline {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-size: clamp(3rem, 7vw, 8rem);
  color: #071A3D;
  opacity: 0;
  transform: translateY(26px);
  animation: heroFadeIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
.hero__headline-blue {
  display: block;
  color: #6DAAFF;
}
.hero__body {
  margin-top: 2rem;
  max-width: 560px;
  line-height: 1.7;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}
.hero__stats {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 3rem;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn 0.8s ease 0.95s forwards;
}
@media (min-width: 768px) { .hero__stats { margin-top: 3rem; } }
.hero__stat-value {
  display: block;
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: #071A3D;
}
.hero__stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--ink-3);
}
@media (min-width: 768px) { .hero__stat-label { font-size: 11px; } }
.hero__ctas {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn 0.8s ease 1.1s forwards;
}
@media (min-width: 768px) { .hero__ctas { margin-top: 3rem; } }
.hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  font-size: 14px;
  font-weight: 700;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FF7B39 0%, #FF5B2B 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(255, 91, 43, 0.32);
  transition: transform 300ms;
}
.hero__cta-primary:hover { transform: scale(1.02); }
.hero__cta-primary-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  transition: transform 300ms;
}
.hero__cta-primary:hover .hero__cta-primary-arrow { transform: translateX(4px); }
.hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: #071A3D;
  transition: color 300ms;
}
.hero__cta-play {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(7,26,61,0.12);
  box-shadow: 0 8px 22px rgba(7,26,61,0.08);
  transition: transform 300ms;
}
.hero__cta-secondary:hover .hero__cta-play { transform: scale(1.1); }
.hero__scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #FF6B2C;
  opacity: 0;
  animation: heroFadeIn 1s ease 1.5s forwards;
}

/* ══════════════════════════════════════════════════════
   WHO WE ARE
   ══════════════════════════════════════════════════════ */
.who-we-are { position: relative; overflow: hidden; }
.who-we-are__blob {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(48px);
}
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.eyebrow-num {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-style: italic;
  font-size: 1.25rem;
}
.eyebrow-line {
  height: 1px;
  width: 4rem;
}
.section-heading {
  font-family: 'Satoshi', system-ui, sans-serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.accent-underline {
  display: block;
  height: 2px;
  width: 9rem;
}
.narrative-lead {
  font-family: 'Satoshi', system-ui, sans-serif;
  color: var(--ink-2);
  line-height: 1.35;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}
.narrative-p {
  color: var(--ink-2);
  line-height: 1.9;
  font-size: 1.12rem;
}
.narrative-space > * + * { margin-top: 2rem; }

/* Timeline */
.timeline { position: relative; }
.timeline__connector {
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--line);
}
.timeline__entries > * + * { margin-top: 3.5rem; }
.timeline__entry { position: relative; padding-left: 2.5rem; }
.timeline__dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.timeline__year {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.timeline__desc {
  color: var(--ink-2);
  line-height: 1.72;
  font-size: 1.02rem;
}
.timeline__sub-list { margin-top: 0.75rem; }
.timeline__sub-list > * + * { margin-top: 0.5rem; }
.timeline__sub-item {
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 0.98rem;
}
.tech-label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 12px;
  border-radius: 9999px;
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

/* Sterck Today */
.sterck-today__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2.5rem;
}
@media (min-width: 640px) {
  .sterck-today__grid { grid-template-columns: repeat(2, 1fr); }
}
.sterck-today__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.sterck-today__dot {
  margin-top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sterck-today__text {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════ */
.services-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fdfbf8 0%, #faf7f2 100%);
}
.services-backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.services-backdrop__blob {
  position: absolute;
  border-radius: 50%;
}

/* Compact Service Card */
.compact-card {
  position: relative;
  cursor: pointer;
  border-radius: 20px;
  padding: 1.75rem;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 1px 0 rgba(20,34,51,0.05), 0 16px 48px -24px rgba(20,34,51,0.14);
  transition: all 500ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .compact-card { padding: 2rem; } }
.compact-card:hover {
  transform: translateY(-6px);
}
.compact-card__glow {
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 500ms;
}
.compact-card:hover .compact-card__glow { opacity: 1; }
.compact-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
}
.compact-card__title {
  font-family: 'Satoshi', system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.compact-card__desc {
  color: var(--ink-3);
  font-size: 0.94rem;
  line-height: 1.6;
  flex: 1;
}
.compact-card__learn {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
}
.compact-card__arrow {
  transition: transform 300ms;
}
.compact-card:hover .compact-card__arrow { transform: translateX(4px); }

/* Service cards grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* Hub icon */
.hub-icon-wrap {
  display: none;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}
@media (min-width: 1024px) { .hub-icon-wrap { display: flex; } }
.hub-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbe2d6 0%, #ffe8d6 100%);
  border: 1px solid rgba(227,93,42,0.15);
}

/* Stats row (services header) */
.stats-row { display: flex; flex-wrap: wrap; gap: 2.5rem 2.5rem; }
.stat-badge { display: flex; align-items: center; gap: 0.75rem; }
.stat-badge__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.stat-badge__value { font-size: 13px; font-weight: 700; color: var(--ink); display: block; }
.stat-badge__label { font-size: 11px; color: var(--ink-3); display: block; }

/* E-Invoice featured card */
.einvoice-featured {
  position: relative;
  cursor: pointer;
  margin-top: 1.5rem;
  border-radius: 24px;
  padding: 2rem;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 1px 0 rgba(20,34,51,0.05), 0 24px 60px -30px rgba(20,34,51,0.18);
  transition: all 500ms;
}
@media (min-width: 768px) { .einvoice-featured { padding: 2.5rem; } }
.einvoice-featured:hover { transform: translateY(-4px); }
.einvoice-featured__glow {
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  opacity: 0;
  transition: opacity 500ms;
  box-shadow: 0 28px 60px -26px rgba(227,93,42,0.40), 0 0 0 1px rgba(227,93,42,0.20);
}
.einvoice-featured:hover .einvoice-featured__glow { opacity: 1; }
.einvoice-featured__layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) { .einvoice-featured__layout { flex-direction: row; align-items: center; } }
.einvoice-featured__stat-value {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1;
  font-size: clamp(2.8rem, 4vw, 4rem);
  color: var(--accent);
}
.einvoice-featured__stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

/* ══════════════════════════════════════════════════════
   NAADIOS
   ══════════════════════════════════════════════════════ */
.naadios-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #F8FAFC;
}
.naadios-backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.naadios-backdrop svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Feature badges */
.feature-badges { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.feature-badge { display: flex; align-items: center; gap: 0.75rem; }
.feature-badge__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.feature-badge__title { font-size: 13px; font-weight: 700; display: block; }
.feature-badge__sub { font-size: 11px; color: var(--ink-3); display: block; }

/* Vertical cards */
.verticals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .verticals-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.vertical-card {
  position: relative;
  border-radius: 24px;
  padding: 2rem;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 1px 0 rgba(20,34,51,0.05), 0 20px 50px -24px rgba(20,34,51,0.16);
  transition: all 500ms;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .vertical-card { padding: 2.25rem; } }
.vertical-card:hover { transform: translateY(-4px); }
.vertical-card__accent-bar {
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  border-radius: 0 0 9999px 9999px;
  opacity: 0;
  transition: opacity 500ms;
}
.vertical-card:hover .vertical-card__accent-bar { opacity: 1; }
.vertical-card__header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.vertical-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
.vertical-card__product-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.vertical-card__name {
  font-family: 'Satoshi', system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: var(--ink);
}
.vertical-card__subtitle {
  display: block;
  margin-top: 0.25rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.vertical-card__divider {
  display: block;
  margin-top: 1.25rem;
  margin-bottom: 1rem;
  height: 2px;
  width: 3rem;
}
.vertical-card__desc {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.vertical-card__features { flex: 1; }
.vertical-card__features > * + * { margin-top: 0.625rem; }
.vertical-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.vertical-card__feature-dot {
  margin-top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.vertical-card__feature-text { color: var(--ink-3); }

/* ══════════════════════════════════════════════════════
   E-INVOICING
   ══════════════════════════════════════════════════════ */
.einvoicing-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #f6f6f4;
}
.einvoicing-backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Why E-Invoicing cards */
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 640px) { .why-cards { grid-template-columns: 1fr; } }
@media (max-width: 1023px) and (min-width: 641px) { .why-cards { grid-template-columns: repeat(2, 1fr); } }
.why-card {
  border-radius: 24px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 1px 0 rgba(20,34,51,0.05), 0 16px 36px -22px rgba(20,34,51,0.22);
  padding: 2rem 2rem 2.25rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: all 500ms;
  position: relative;
}
.why-card:hover {
  box-shadow: 0 24px 44px -22px rgba(20,34,51,0.30);
  transform: translateY(-4px);
}
.why-card__header { display: flex; align-items: flex-start; gap: 1.125rem; margin-bottom: 1.25rem; }
.why-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
}
.why-card__num {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1;
  margin-top: 0.5rem;
}
.why-card__text {
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
}
.why-card__connector {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Mechanism cards */
.mechanism-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px) { .mechanism-cards { grid-template-columns: repeat(3, 1fr); } }
.mechanism-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 1px 0 rgba(20,34,51,0.04), 0 18px 44px -22px rgba(20,34,51,0.20);
  transition: all 500ms;
}
.mechanism-card:hover {
  box-shadow: 0 26px 54px -22px rgba(20,34,51,0.28);
  transform: translateY(-4px);
}
.mechanism-card__tint {
  position: absolute;
  inset: 0 0 auto 0;
  height: 8rem;
  pointer-events: none;
  opacity: 0.7;
}
.mechanism-card__body { position: relative; padding: 1.75rem; }
@media (min-width: 768px) { .mechanism-card__body { padding: 2rem; } }
.mechanism-card__header { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 0.75rem; }
.mechanism-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mechanism-card__num-title { display: flex; align-items: baseline; gap: 0.625rem; }
.mechanism-card__num {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
}
.mechanism-card__title {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
}
.mechanism-card__accent {
  display: block;
  height: 2px;
  width: 3rem;
  margin-left: 76px;
  margin-bottom: 1.75rem;
}
.mechanism-card__bullets > * + * { margin-top: 1rem; }
.mechanism-card__bullet {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.mechanism-card__bullet-dot {
  margin-top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mechanism-card__bullet-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ══════════════════════════════════════════════════════
   CLIENTS
   ══════════════════════════════════════════════════════ */
.clients-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #f6f6f4;
}
.clients-backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Marquee */
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 3rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
  animation: marquee 55s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track__item {
  flex-shrink: 0;
  width: 120px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) { .marquee-track__item { width: 150px; height: 64px; } }
.marquee-track__item img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 500ms;
}
.marquee-track__item--lg { width: 220px; height: 76px; }
@media (min-width: 768px) { .marquee-track__item--lg { width: 280px; height: 90px; } }
.marquee-track__item img:hover { transform: scale(1.1); }

/* ══════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════ */
.contact-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #f6f6f4;
}
.contact-backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.contact-info-card {
  position: relative;
  border-radius: 24px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 1px 0 rgba(20,34,51,0.04), 0 14px 30px -20px rgba(20,34,51,0.18);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 500ms;
}
.contact-info-card:hover {
  box-shadow: 0 22px 42px -20px rgba(20,34,51,0.26);
  transform: translateY(-2px);
}
.contact-info-card + .contact-info-card { margin-top: 1.25rem; }
.contact-info-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-info-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  display: block;
}
.contact-info-card__value {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 0.25rem;
  color: var(--ink);
  display: block;
}
.contact-form-wrap {
  position: relative;
  border-radius: 28px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 1px 0 rgba(20,34,51,0.04), 0 22px 52px -28px rgba(20,34,51,0.25);
  padding: 1.75rem;
}
@media (min-width: 768px) { .contact-form-wrap { padding: 2.5rem; } }
.contact-form__field {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
  margin-bottom: 1.25rem;
  transition: border-color 300ms;
}
.contact-form__field:focus-within { border-bottom-color: var(--ink); }
.contact-form__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-3);
  margin-bottom: 0.25rem;
}
.contact-form__input,
.contact-form__textarea {
  width: 100%;
  background: transparent;
  outline: none;
  border: none;
  padding: 0.5rem 0;
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--ink);
}
.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--ink-3);
  font-weight: 300;
}
.contact-form__textarea { resize: none; }
.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  transition: box-shadow 300ms;
}
.contact-form__submit:hover {
  box-shadow: 0 18px 36px -18px rgba(227,93,42,0.6);
}
.contact-form__submit-arrow {
  display: inline-block;
  transition: transform 300ms;
}
.contact-form__submit:hover .contact-form__submit-arrow { transform: translateX(4px); }

/* Sent state */
.contact-sent { text-align: center; padding: 2rem 0; }
.contact-sent__icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d7efec;
  color: #1f9e92;
  margin-bottom: 1.25rem;
}
.contact-sent__title {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.contact-sent__text { color: var(--ink-2); font-size: 1rem; }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  margin-top: 6rem;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer__upper {
  padding-top: 6rem;
  padding-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2.5rem;
}
@media (min-width: 1024px) {
  .footer__upper { grid-template-columns: 6fr 3fr 3fr; }
}
.footer__cta-heading {
  font-family: 'Satoshi', system-ui, sans-serif;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
}
.footer__cta-heading em {
  display: block;
  font-style: italic;
  color: var(--ink-3);
}
.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  background: var(--ink);
  color: var(--bg);
  padding: 1rem 1.75rem;
  font-size: 13px;
  border-radius: 9999px;
  transition: background 300ms;
}
.footer__cta-btn:hover { background: var(--accent); }
.footer__cta-btn-arrow {
  display: inline-block;
  transition: transform 300ms;
}
.footer__cta-btn:hover .footer__cta-btn-arrow { transform: translateX(4px); }
.footer__col-title {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.footer__col-list > * + * { margin-top: 0.75rem; }
.footer__col-link {
  color: var(--ink-2);
  font-size: 1.05rem;
  transition: color 300ms;
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  padding: 0;
}
.footer__col-link:hover { color: var(--ink); }
.footer__bottom {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 13px;
  color: var(--ink-3);
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
  font-family: 'Satoshi', system-ui, sans-serif;
  letter-spacing: -0.02em;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}
.wordmark__accent { color: var(--accent); }

/* ══════════════════════════════════════════════════════
   PAGE TRANSITIONS
   ══════════════════════════════════════════════════════ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   SCROLL ANIMATIONS (IntersectionObserver)
   ══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════════════════════
   PULSING NODES (SVG animations)
   ══════════════════════════════════════════════════════ */
@keyframes nodePulse {
  0%, 100% { opacity: 0.10; r: var(--pulse-r-min); }
  50% { opacity: 0.26; r: var(--pulse-r-max); }
}
.pulse-node {
  animation: nodePulse 4.5s ease-in-out infinite;
}

/* SVG group drifts */
@keyframes driftA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -6px); } }
@keyframes driftB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, 8px); } }
@keyframes driftC { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, 10px); } }
@keyframes driftD { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-4px, -8px); } }
@keyframes driftE { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(5px, -5px); } }
@keyframes driftCurves { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, 3px); } }
@keyframes driftCurves2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(5px, -3px); } }
@keyframes driftAtmo { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, 4px); } }
@keyframes driftBranch { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-3px, 4px); } }
@keyframes driftNodes { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }

.drift-a { animation: driftA 22s ease-in-out infinite; }
.drift-b { animation: driftB 26s ease-in-out infinite; }
.drift-c { animation: driftC 30s ease-in-out infinite; }
.drift-d { animation: driftD 24s ease-in-out infinite; }
.drift-e { animation: driftE 20s ease-in-out infinite; }
.drift-curves { animation: driftCurves 40s ease-in-out infinite; }
.drift-curves2 { animation: driftCurves2 50s ease-in-out infinite; }
.drift-atmo { animation: driftAtmo 60s ease-in-out infinite; }
.drift-branch { animation: driftBranch 55s ease-in-out infinite; }
.drift-nodes { animation: driftNodes 35s ease-in-out infinite; }

/* NaadiOS backdrop drifts */
@keyframes ndsDriftA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -5px); } }
@keyframes ndsDriftB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-5px, 7px); } }
@keyframes ndsDriftC { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, 5px); } }
@keyframes ndsDriftCurves { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-4px, 3px); } }
@keyframes ndsDriftSweep { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, 2px); } }
@keyframes ndsDriftNodes { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(2px, -2px); } }
.nds-drift-a { animation: ndsDriftA 20s ease-in-out infinite; }
.nds-drift-b { animation: ndsDriftB 24s ease-in-out infinite; }
.nds-drift-c { animation: ndsDriftC 28s ease-in-out infinite; }
.nds-drift-curves { animation: ndsDriftCurves 40s ease-in-out infinite; }
.nds-drift-sweep { animation: ndsDriftSweep 50s ease-in-out infinite; }
.nds-drift-nodes { animation: ndsDriftNodes 30s ease-in-out infinite; }

.nds-pulse-node { animation: nodePulse 5s ease-in-out infinite; }

/* Ambient floats for backdrop circles */
@keyframes ambientFloatA { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(22px, -16px, 0); } }
@keyframes ambientFloatB { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-18px, 16px, 0); } }
@keyframes ambientFloatC { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(14px, 20px, 0); } }
.ambient-float-a { animation: ambientFloatA 22s ease-in-out infinite; }
.ambient-float-b { animation: ambientFloatB 28s ease-in-out infinite; }
.ambient-float-c { animation: ambientFloatC 24s ease-in-out infinite; }

/* ══════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE LAYOUT HELPERS
   ══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .lg-col-span-1 { grid-column-end: span 1; }
  .lg-col-span-3 { grid-column-end: span 3; }
  .lg-col-span-4 { grid-column-end: span 4; }
  .lg-col-span-5 { grid-column-end: span 5; }
  .lg-col-span-6 { grid-column-end: span 6; }
  .lg-col-span-7 { grid-column-end: span 7; }
  .lg-col-span-8 { grid-column-end: span 8; }
  .lg-col-span-9 { grid-column-end: span 9; }
  .lg-col-start-4 { grid-column-start: 4; }
  .lg-col-start-7 { grid-column-start: 7; }
  .lg-col-start-8 { grid-column-start: 8; }
  .lg-hidden { display: none; }
  .lg-flex { display: flex; }
  .lg-block { display: block; }
  .lg-pt-3 { padding-top: 0.75rem; }
}
@media (max-width: 1023px) {
  .lg-only { display: none !important; }
}
@media (max-width: 767px) {
  .md-only { display: none !important; }
}
@media (min-width: 768px) {
  .md-flex-row { flex-direction: row; }
  .md-items-center { align-items: center; }
  .md-text-right { text-align: right; }
}
