/* ==========================================================================
   AUXILIUM DATA ANALYTICS — style.css
   Palette: ink #00171d · navy #002e4f · blue #00739d · azure #009ee5 · white
   ========================================================================== */

:root {
  --ink: #00171d;
  --ink-2: #002028;
  --navy: #002e4f;
  --blue: #00739d;
  --azure: #009ee5;
  --azure-soft: #4dc3ff;
  --white: #ffffff;
  --cloud: #f4f9fc;
  --mist: #e6f1f7;
  --text-dark: #1b2b33;
  --text-muted: #5a707c;
  --text-light: rgba(255, 255, 255, 0.82);
  --text-light-muted: rgba(255, 255, 255, 0.6);
  --grad: linear-gradient(120deg, var(--azure) 0%, var(--blue) 100%);
  --grad-soft: linear-gradient(120deg, rgba(0, 158, 229, 0.14), rgba(0, 115, 157, 0.14));
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-lg: 0 30px 60px -20px rgba(0, 23, 29, 0.35);
  --shadow-md: 0 16px 40px -16px rgba(0, 46, 79, 0.25);
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --container: 1200px;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.grad-text {
  background: linear-gradient(100deg, var(--azure-soft), var(--azure) 55%, #35b5f5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

section { position: relative; }

/* ---------- Scroll progress + page fade ---------- */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 1200;
  transition: width 0.1s linear;
}

/* Content is revealed by the preloader curtain (see V2 layer). */

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1060; /* above .nav-overlay (1050) so the slide-in menu inside it is never dimmed */
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.21, 1);
}

.site-header.is-hidden { transform: translateY(-105%); }

.site-header.is-scrolled {
  background: rgba(0, 23, 29, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px -12px rgba(0, 23, 29, 0.6);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; transition: transform 0.3s ease; }
.brand:hover img { transform: scale(1.04); }

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

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active { color: var(--white); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.nav-link .caret {
  width: 10px; height: 10px;
  transition: transform 0.3s ease;
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 8px;
  min-width: 320px;
  background: rgba(0, 30, 40, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  box-shadow: var(--shadow-lg);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(180deg); }

.dropdown a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.25s ease;
}

.dropdown a:hover { background: rgba(0, 158, 229, 0.12); }

.dropdown .dd-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--azure);
}

.dropdown .dd-icon svg { width: 20px; height: 20px; }

.dropdown strong {
  display: block;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
}

.dropdown span {
  color: var(--text-light-muted);
  font-size: 13px;
  line-height: 1.45;
  display: block;
  margin-top: 2px;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; transition: transform 0.28s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(0, 158, 229, 0.55);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -10px rgba(0, 158, 229, 0.7); }
.btn-primary:hover::before { left: 120%; }

.btn-ghost {
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--azure);
  background: rgba(0, 158, 229, 0.12);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 26px -12px rgba(0, 23, 29, 0.5);
}

.btn-dark:hover { transform: translateY(-3px); background: var(--navy); }

.nav-cta { padding: 11px 22px; font-size: 14px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 10px;
  align-items: center;
  z-index: 1102;
}

.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 130px;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  animation: heroZoom 22s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(0, 23, 29, 0.96) 30%, rgba(0, 46, 79, 0.82) 60%, rgba(0, 23, 29, 0.55) 100%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(to top, var(--ink), transparent);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-lead {
  max-width: 560px;
  color: var(--text-light);
  font-size: clamp(16px, 1.35vw, 18.5px);
  margin-bottom: 38px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(24px, 4vw, 56px);
  justify-content: start;
}

.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat .stat-num em { font-style: normal; color: var(--azure); }

.stat .stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-light-muted);
  letter-spacing: 0.04em;
}

/* Floating dashboard cards */
.hero-visual { position: relative; min-height: 460px; }

.fl-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow-lg);
  animation: floatY 7s ease-in-out infinite;
}

.fl-card .fl-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fl-card .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--azure);
  box-shadow: 0 0 12px var(--azure);
  animation: pulse 2.4s ease-in-out infinite;
}

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

.fl-card .fl-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
}

.fl-card .fl-delta { font-size: 13px; color: #57e0a2; font-weight: 600; }

.fl-1 { top: 2%; right: 10%; width: 250px; animation-delay: 0s; z-index: 1; }
.fl-2 { top: 36%; right: 54%; width: 235px; animation-delay: -2.4s; z-index: 2; }
.fl-3 { bottom: 2%; right: 2%; width: 270px; animation-delay: -4.6s; z-index: 3; }

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

.spark { width: 100%; height: 56px; margin-top: 8px; overflow: visible; }

.spark .spark-line {
  fill: none;
  stroke: var(--azure);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: drawLine 2.6s 0.5s ease forwards;
  filter: drop-shadow(0 0 6px rgba(0, 158, 229, 0.65));
}

.spark .spark-fill { fill: url(#sparkGrad); opacity: 0; animation: fadeIn 1.2s 2.2s ease forwards; }

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.donut-wrap { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.donut { width: 84px; height: 84px; transform: rotate(-90deg); }
.donut .track { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 10; }
.donut .value {
  fill: none;
  stroke: url(#donutGrad);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: donutDraw 2s 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes donutDraw { to { stroke-dashoffset: 42; } }

.bar-row { display: flex; align-items: flex-end; gap: 7px; height: 62px; margin-top: 10px; }
.bar-row i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(to top, var(--blue), var(--azure));
  transform-origin: bottom;
  transform: scaleY(0);
  animation: barUp 1s cubic-bezier(0.3, 1.2, 0.4, 1) forwards;
  opacity: 0.9;
}

@keyframes barUp { to { transform: scaleY(1); } }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-light-muted);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-hint::after {
  content: "";
  width: 1.5px;
  height: 42px;
  background: linear-gradient(to bottom, var(--azure), transparent);
  animation: hintDrop 1.8s ease-in-out infinite;
}

@keyframes hintDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee ---------- */
.marquee-section {
  background: var(--ink);
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-section:hover .marquee { animation-play-state: paused; }

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

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.tech-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--azure);
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 9vw, 130px) 0; }
.section-dark { background: var(--ink); color: var(--text-light); }
.section-cloud { background: var(--cloud); }

.section-head { max-width: 720px; margin-bottom: clamp(44px, 5vw, 70px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  color: var(--ink);
  margin-bottom: 18px;
}

.section-dark .section-head h2 { color: var(--white); }

.section-head p { color: var(--text-muted); font-size: 17px; }
.section-dark .section-head p { color: var(--text-light-muted); }

/* ---------- Service cards (home) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.svc-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(0, 46, 79, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.svc-media { position: relative; height: 210px; overflow: hidden; }

.svc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-card:hover .svc-media img { transform: scale(1.08); }

.svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 23, 29, 0.55), transparent 55%);
}

.svc-icon {
  position: absolute;
  left: 24px; bottom: -26px;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 12px 26px -8px rgba(0, 158, 229, 0.6);
  z-index: 2;
  transition: transform 0.35s ease;
}

.svc-card:hover .svc-icon { transform: rotate(-6deg) scale(1.08); }
.svc-icon svg { width: 26px; height: 26px; }

.svc-body { padding: 44px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 21px; color: var(--ink); margin-bottom: 12px; }
.svc-body p { color: var(--text-muted); font-size: 15px; margin-bottom: 18px; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

.svc-tags span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--blue);
  background: var(--grad-soft);
  padding: 5px 12px;
  border-radius: 100px;
}

.svc-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--azure);
}

.svc-link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.svc-link:hover svg { transform: translateX(5px); }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.split.reverse .split-media { order: 2; }

.split-media { position: relative; }

.split-media .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.split-media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.split-media:hover .frame img { transform: scale(1.05); }

.split-media::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid rgba(0, 158, 229, 0.2);
  z-index: -1;
}

.split.reverse .split-media::before { inset: 26px 26px -26px -26px; }

.badge-chip {
  position: absolute;
  bottom: 22px; left: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 23, 29, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 3;
}

.badge-chip svg { width: 22px; height: 22px; color: var(--azure); }

.split-content h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--ink);
  margin-bottom: 20px;
}

.section-dark .split-content h2 { color: var(--white); }
.split-content > p { color: var(--text-muted); margin-bottom: 26px; font-size: 16.5px; }
.section-dark .split-content > p { color: var(--text-light-muted); }

/* Checklist */
.checklist { display: grid; gap: 14px; margin-bottom: 34px; }

.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--text-dark);
}

.section-dark .checklist li { color: var(--text-light); }

.checklist .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin-top: 1px;
  border-radius: 8px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: var(--white);
}

.checklist .check svg { width: 13px; height: 13px; }

/* ---------- Process / timeline ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 34px 26px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.process-step:hover {
  transform: translateY(-8px);
  background: rgba(0, 158, 229, 0.08);
  border-color: rgba(0, 158, 229, 0.35);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 158, 229, 0.4);
  transition: color 0.3s ease;
}

.process-step:hover::before { color: rgba(0, 158, 229, 0.25); }

.process-step .p-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(0, 158, 229, 0.3);
  display: grid;
  place-items: center;
  color: var(--azure);
  margin-bottom: 20px;
}

.process-step .p-icon svg { width: 24px; height: 24px; }
.process-step h3 { color: var(--white); font-size: 19px; margin-bottom: 10px; }
.process-step p { color: var(--text-light-muted); font-size: 14.5px; }

.section-cloud .process-step { background: var(--white); border-color: rgba(0, 46, 79, 0.08); box-shadow: var(--shadow-md); }
.section-cloud .process-step h3 { color: var(--ink); }
.section-cloud .process-step p { color: var(--text-muted); }
.section-cloud .process-step:hover { border-color: rgba(0, 158, 229, 0.4); }

/* ---------- Capability grid (subpages) ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cap-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(0, 46, 79, 0.09);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cap-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 158, 229, 0.4);
}

.cap-item .c-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
}

.cap-item .c-icon svg { width: 20px; height: 20px; }

.section-dark .cap-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.section-dark .cap-item .c-icon { background: rgba(0, 158, 229, 0.14); color: var(--azure); }

.cap-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Center a lone 7th card in the 3-column why-grid */
.why-grid > :last-child:nth-child(3n + 1) { grid-column: 2; }

/* Chip cloud */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(0, 46, 79, 0.12);
  transition: all 0.3s ease;
}

.chip:hover {
  background: var(--grad);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -8px rgba(0, 158, 229, 0.55);
}

.section-dark .chip { background: rgba(255, 255, 255, 0.06); color: var(--text-light); border-color: rgba(255, 255, 255, 0.14); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(70px, 9vw, 120px)) 0 clamp(70px, 8vw, 110px);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.page-hero .hero-bg { animation: none; opacity: 0.5; }

.page-hero .hero-overlay {
  background: linear-gradient(100deg, rgba(0, 23, 29, 0.97) 25%, rgba(0, 46, 79, 0.85) 65%, rgba(0, 35, 55, 0.6));
}

.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  color: var(--white);
  max-width: 800px;
  margin-bottom: 22px;
}

.page-hero .hero-lead { margin-bottom: 34px; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-light-muted);
  margin-bottom: 28px;
}

.breadcrumbs a { color: var(--text-light-muted); transition: color 0.25s ease; }
.breadcrumbs a:hover { color: var(--azure); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs .current { color: var(--azure); font-weight: 500; }

/* ---------- Feature list rows (services overview) ---------- */
.feature-block { display: grid; gap: clamp(70px, 8vw, 110px); }

.cols-list {
  columns: 2;
  gap: 40px;
  margin-bottom: 34px;
}

.cols-list li {
  break-inside: avoid;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--text-dark);
  font-size: 15.5px;
}

.section-dark .cols-list li { color: var(--text-light); }

.cols-list .tick {
  flex-shrink: 0;
  color: var(--azure);
  width: 20px; height: 20px;
  margin-top: 3px;
}

/* ---------- Why cards ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(0, 46, 79, 0.08);
  box-shadow: 0 8px 24px -14px rgba(0, 46, 79, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }

.why-card .w-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--grad);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 20px -8px rgba(0, 158, 229, 0.5);
}

.why-card .w-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 17.5px; color: var(--ink); margin-bottom: 8px; }
.why-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(80px, 9vw, 120px) 0;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cta-band .hero-bg { opacity: 0.35; animation: none; }

.cta-band .hero-overlay {
  background: radial-gradient(ellipse at center, rgba(0, 46, 79, 0.55) 0%, rgba(0, 23, 29, 0.96) 75%);
}

.cta-band h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 20px;
}

.cta-band p {
  color: var(--text-light-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 17px;
}

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-mark {
  width: 74px;
  margin: 0 auto 28px;
  opacity: 0.9;
  animation: floatY 6s ease-in-out infinite;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 46, 79, 0.1);
}

.info-card:last-child { border-bottom: none; }

.info-card .i-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.info-card .i-icon svg { width: 20px; height: 20px; }
.info-card strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 3px; }
.info-card span { color: var(--text-muted); font-size: 14.5px; }

.contact-form {
  background: var(--white);
  border: 1px solid rgba(0, 46, 79, 0.09);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow-lg);
}

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

.field { position: relative; margin-bottom: 20px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 46, 79, 0.15);
  background: var(--cloud);
  font: inherit;
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  appearance: none;
}

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

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--azure);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 158, 229, 0.14);
}

.field.select::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  pointer-events: none;
}

.form-note { font-size: 13px; color: var(--text-muted); margin-top: 16px; }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: rgba(28, 187, 120, 0.1);
  border: 1px solid rgba(28, 187, 120, 0.35);
  color: #0e7a4d;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 500;
}

.form-success.is-visible { display: flex; animation: fadeUp 0.5s ease; }
.form-success svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-light-muted);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 640px; height: 340px;
  background: radial-gradient(ellipse, rgba(0, 158, 229, 0.16), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand img { height: 84px; margin-bottom: 22px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; }

.site-footer h4 {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 11px; }

.footer-links a {
  font-size: 14.5px;
  color: var(--text-light-muted);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover { color: var(--azure); padding-left: 6px; }

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14.5px;
}

.footer-contact svg { flex-shrink: 0; width: 17px; height: 17px; color: var(--azure); margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.footer-bottom .made { color: rgba(255, 255, 255, 0.4); }

/* ---------- Back to top ---------- */
#toTop {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px -10px rgba(0, 158, 229, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.35s ease;
  z-index: 900;
}

#toTop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
#toTop:hover { transform: translateY(-4px); }
#toTop svg { width: 20px; height: 20px; }

/* ---------- Reveal animations (hidden state only when JS is running) ---------- */
.reveal {
  transition: opacity 0.8s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
  transition-delay: var(--d, 0s);
}

html.js .reveal:not(.is-inview) {
  opacity: 0;
  transform: translateY(36px);
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Mobile menu ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 13, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  z-index: 1050;
}

.nav-overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   RESPONSIVE / ADAPTIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .hero-grid { gap: 36px; }
  .fl-2 { right: 52%; }
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(380px, 88vw);
    background: #001b23;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: calc(var(--nav-h) + 24px) 28px 40px;
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.3, 0.9, 0.3, 1);
    z-index: 1100;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
  }

  .nav-menu.is-open { transform: translateX(0); }

  .nav-link { padding: 15px 14px; font-size: 17px; border-radius: 12px; justify-content: space-between; }
  .nav-link::after { display: none; }
  .nav-link:hover { background: rgba(0, 158, 229, 0.1); }

  .burger { display: flex; }

  .has-dropdown .dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    box-shadow: none;
    display: none;
    padding: 6px;
    margin: 2px 6px 8px;
  }

  .has-dropdown.is-expanded .dropdown { display: block; animation: fadeUp 0.35s ease; }
  .has-dropdown.is-expanded .caret { transform: rotate(180deg); }

  .nav-cta { margin-top: 18px; justify-content: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: auto; }

  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid .svc-card:last-child { grid-column: 1 / -1; }

  .cap-grid,
  .cap-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid > :last-child:nth-child(3n + 1) { grid-column: auto; }
  .why-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .split,
  .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media::before,
  .split.reverse .split-media::before { inset: 18px -14px -18px 14px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; }

  .cap-grid,
  .cap-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cols-list { columns: 1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid > :last-child:nth-child(odd) { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .cap-grid,
  .cap-grid.cols-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .brand img { height: 44px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .scroll-hint { display: none; }
  #toTop { right: 16px; bottom: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  #heroCanvas { display: none; }
}

/* ==========================================================================
   V2 — AWWWARDS LAYER: preloader, cursor, split text, parallax, tilt, decor
   ========================================================================== */

::selection { background: var(--azure); color: var(--white); }

:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; border-radius: 4px; }

/* Film-grain noise over everything (very subtle) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(0, 62, 96, 0.55), transparent 70%),
    var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.9s;
}

.preloader.is-done { transform: translateY(-100%); visibility: hidden; }

.pre-inner { text-align: center; }

.pre-inner img {
  width: 96px;
  margin: 0 auto 26px;
  animation: preFloat 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(0, 158, 229, 0.45));
}

@keyframes preFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.92; }
  50% { transform: translateY(-8px) scale(1.03); opacity: 1; }
}

.pre-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.34em;
  color: var(--text-light-muted);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.pre-count em { font-style: normal; color: var(--azure); }

.pre-bar {
  width: 180px;
  height: 2px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.pre-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 158, 229, 0.8);
}

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 2500;
  border-radius: 50%;
  transform: translate(-100px, -100px);
  display: none;
}

.cursor-dot {
  width: 7px; height: 7px;
  background: var(--azure);
  box-shadow: 0 0 10px rgba(0, 158, 229, 0.8);
}

.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(0, 158, 229, 0.55);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cursor-ring.is-hover {
  width: 62px; height: 62px;
  border-color: rgba(0, 158, 229, 0.9);
  background: rgba(0, 158, 229, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}

/* ---------- Split-text word reveal ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }

.wi {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.21, 1);
  transition-delay: calc(var(--wi, 0) * 0.05s);
  will-change: transform;
}

.split-inview .wi { transform: translateY(0); }

/* Gradient text shimmer */
.grad-text {
  background-size: 220% 100%;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

/* ---------- Bigger display typography ---------- */
.hero h1 { font-size: clamp(42px, 6vw, 82px); letter-spacing: -0.02em; }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.015em; }
.hero-visual { min-height: 500px; }

/* ---------- Parallax helpers ---------- */
.page-hero .hero-bg,
.cta-band .hero-bg {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.14);
  will-change: transform;
}

.split-media .frame,
.contact-info .frame {
  transform: translate3d(0, var(--py, 0px), 0);
}

/* ---------- Outline text strip ---------- */
.outline-strip {
  overflow: hidden;
  padding: clamp(30px, 4vw, 54px) 0;
  background: var(--white);
  border-block: 1px solid rgba(0, 46, 79, 0.07);
}

.outline-strip.on-cloud { background: var(--cloud); }

.outline-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.outline-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 8vw, 120px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 115, 157, 0.35);
  padding-right: 0.5em;
}

.outline-track span em {
  font-style: normal;
  -webkit-text-stroke: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Footer giant word ---------- */
.footer-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 10.5vw, 168px);
  line-height: 0.9;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  user-select: none;
  padding: 30px 0 10px;
  background: linear-gradient(to bottom, rgba(0, 158, 229, 0.22), rgba(0, 158, 229, 0));
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Card glare (tilt) ---------- */
.svc-card { transform-style: preserve-3d; }

.svc-card .glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(0, 158, 229, 0.14), transparent 65%);
}

.svc-card:hover .glare { opacity: 1; }

/* Cap items cursor glow */
.cap-item {
  position: relative;
  overflow: hidden;
}

.cap-item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(0, 158, 229, 0.12), transparent 60%);
  pointer-events: none;
}

.cap-item:hover::before { opacity: 1; }

/* ---------- Hero waves (SVG under canvas) ---------- */
.hero-waves {
  position: absolute;
  inset: auto 0 -2px 0;
  z-index: -1;
  width: 100%;
  height: 34vh;
  min-height: 220px;
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- Small refinements ---------- */
.scroll-hint { bottom: 20px; }

.svc-media { height: 230px; }

.section-head h2 { text-wrap: balance; }

.hero-lead { text-wrap: pretty; }

.site-header .container { position: relative; }

/* Reduced motion for V2 layer */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
  .wi { transform: none !important; transition: none !important; }
  .grad-text { animation: none; }
  .outline-track { animation: none; }
  .page-hero .hero-bg, .cta-band .hero-bg,
  .split-media .frame, .contact-info .frame { transform: none; }
}

@media (max-width: 640px) {
  .footer-word { letter-spacing: 0.04em; }
}

/* Native cursor replaced only when the custom cursor is actually running */
html.has-cursor,
html.has-cursor a,
html.has-cursor button,
html.has-cursor .btn,
html.has-cursor label,
html.has-cursor img { cursor: none; }

html.has-cursor input,
html.has-cursor textarea,
html.has-cursor select { cursor: auto; }

/* ---------- Contact form: honeypot, error state, sending state ---------- */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: rgba(224, 62, 62, 0.08);
  border: 1px solid rgba(224, 62, 62, 0.35);
  color: #b02a2a;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 500;
}

.form-error.is-visible { display: flex; animation: fadeUp 0.5s ease; }
.form-error svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; }
.form-error a { color: #b02a2a; text-decoration: underline; text-underline-offset: 3px; }
.form-error a:hover { color: var(--blue); }

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.btn.is-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  animation: btnSpin 0.7s linear infinite;
}

@keyframes btnSpin { to { transform: rotate(360deg); } }
