/* ============================================================
   Axiom Labs — site.css
   Dark studio system: near-black canvas, Space Grotesk display,
   violet-to-cyan signature accent. No build step, no CDN.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #050608;
  --bg-raised: #0A0C10;
  --bg-card: #0D1016;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #F4F5F7;
  --text-dim: #A4AAB6;
  --text-faint: #6C7280;
  --violet: #8A70FF;
  --blue: #5E86FF;
  --cyan: #3FD4FF;
  --grad: linear-gradient(95deg, #A48BFF 0%, #6E85FF 48%, #3FD4FF 100%);
  --glow-violet: rgba(138, 112, 255, 0.16);
  --glow-cyan: rgba(63, 212, 255, 0.10);
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace;
  --container: 1160px;
  --radius: 16px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(138, 112, 255, 0.35); color: #fff; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* Fine grid texture over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 85%);
}
main, footer, header { position: relative; z-index: 1; }

/* ---------- Type helpers ---------- */
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  margin: 0 0 20px;
}
.section-head .lede { color: var(--text-dim); font-size: clamp(16px, 1.5vw, 18px); max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn-primary {
  background: #fff;
  color: #07080B;
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 8px 40px -8px var(--glow-violet), 0 4px 24px -4px rgba(63, 212, 255, 0.25);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.05); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.link-quiet {
  font-weight: 500;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-quiet:hover { color: var(--text); border-bottom-color: var(--text-dim); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 8, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
}
.nav-links a { position: relative; padding: 6px 0; transition: color 0.25s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 11px 22px; font-size: 14.5px; }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger span::before { position: absolute; top: -7px; }
.nav-burger span::after { position: absolute; top: 7px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 40px clamp(24px, 8vw, 64px);
  gap: 8px;
}
body.menu-open .mobile-menu { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 9vw, 44px);
  padding: 10px 0;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .mm-meta {
  margin-top: 28px;
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}
#fluid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero .veil {
  /* gentle vignette behind the headline so type stays legible over the fluid */
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 76% 62% at 38% 46%, rgba(5, 6, 8, 0.68), transparent 74%);
}
.hero.no-fluid #fluid { display: none; }
.hero.no-fluid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 500px at 68% 20%, var(--glow-violet), transparent 70%),
    radial-gradient(600px 420px at 24% 70%, var(--glow-cyan), transparent 70%);
  pointer-events: none;
}
.hero::after {
  /* soften canvas toward the bottom so the next section lands cleanly */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.hero h1 {
  font-size: clamp(42px, 7.2vw, 88px);
  letter-spacing: -0.03em;
  max-width: 820px;
}
.hero .lede {
  color: var(--text-dim);
  font-size: clamp(16.5px, 1.7vw, 19px);
  max-width: 560px;
}

/* ---------- Services ---------- */
.services-list { border-top: 1px solid var(--line); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 4vw, 44px) clamp(8px, 1.5vw, 20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
  overflow: hidden;
}
.service-row::before {
  /* cursor-tracking glow */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow-violet), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-row:hover::before { opacity: 1; }
.service-row:hover { background: rgba(255, 255, 255, 0.015); }
.service-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}
.service-icon {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text-dim);
  transition: color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}
.service-row:hover .service-icon {
  color: var(--cyan);
  border-color: rgba(63, 212, 255, 0.4);
  transform: translateY(-2px);
}
.service-desc { color: var(--text-dim); font-size: 15.5px; max-width: 480px; }

/* ---------- Industries ---------- */
.industries { overflow: hidden; }
.industries-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.industries .section-head { margin-bottom: 28px; }
.industries-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 440px;
  justify-self: center;
  width: 100%;
}
.orbit-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: spin 46s linear infinite;
}
.orbit-ring.r1 { inset: 12%; animation-duration: 38s; }
.orbit-ring.r2 { inset: 0; animation-direction: reverse; }
.orbit-dot {
  position: absolute;
  top: -5px; left: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(94, 134, 255, 0.7);
}
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-label {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 56px);
  text-align: center;
  line-height: 1.1;
}
.orbit-label small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-faint);
  margin-top: 10px;
}

.marquee-wrap {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  gap: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee { display: flex; overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex: 0 0 auto;
  animation: marquee 36s linear infinite;
}
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-raised);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dim);
  white-space: nowrap;
}
/* ---------- Impact / stats ---------- */
.impact { background: var(--bg-raised); border-block: 1px solid var(--line); }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(8px, 2vw, 20px) clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 5.6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}
.stat-label {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- Testimonials ---------- */
.quotes-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.quote-nav { display: flex; gap: 10px; }
.quote-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.quote-btn:hover { border-color: rgba(255, 255, 255, 0.4); color: var(--text); background: rgba(255, 255, 255, 0.04); }
.quotes-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  cursor: grab;
}
.quotes-track::-webkit-scrollbar { display: none; }
.quotes-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.quote-card {
  flex: 0 0 min(440px, 86vw);
  scroll-snap-align: start;
  position: relative;
  padding: 36px 32px 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--ease);
}
.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(138, 112, 255, 0.10), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.quote-card:hover::before { opacity: 1; }
.quote-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.quote-mark {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.6;
  color: var(--text-faint);
}
.quote-card blockquote {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-dim);
  flex: 1;
}
.quote-who { border-top: 1px solid var(--line); padding-top: 18px; }
.quote-name { font-weight: 600; font-size: 15.5px; }
.quote-role { color: var(--text-faint); font-size: 13.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  padding: clamp(20px, 3vw, 40px) 0;
}
.cta-inner h2 { font-size: clamp(36px, 5.4vw, 64px); max-width: 820px; }
.cta-inner .cta-row { justify-content: center; }
.cta-inner .lede { color: var(--text-dim); max-width: 560px; font-size: clamp(16px, 1.6vw, 18px); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  padding: clamp(56px, 7vw, 88px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 320px;
  margin-top: 16px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-faint);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: var(--text-dim); font-size: 15px; }
.footer-col a { transition: color 0.25s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  color: var(--text-faint);
  font-size: 13.5px;
}

/* ---------- Contact page ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(72px, 10vw, 130px)) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.page-hero .hero-inner { text-align: left; align-items: flex-start; gap: 24px; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 76px); max-width: 820px; }
.page-hero .lede { color: var(--text-dim); font-size: clamp(16.5px, 1.7vw, 19px); max-width: 620px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.contact-info { display: grid; gap: 18px; }
.info-card {
  position: relative;
  padding: 26px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.info-card:hover { border-color: var(--line-strong); }
.info-icon {
  width: 42px; height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--cyan);
}
.info-card h3 { font-size: 16px; margin-bottom: 4px; }
.info-card p, .info-card a.plain { color: var(--text-dim); font-size: 15px; }
.info-card a.accent {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid rgba(63, 212, 255, 0.4);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.info-card a.accent:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.form-card {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.form-grid { display: grid; gap: 20px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 9px;
}
.field input, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 15.5px;
  padding: 14px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(138, 112, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(138, 112, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-note { color: var(--text-faint); font-size: 13.5px; }
.form-status { font-size: 15px; font-weight: 500; display: none; }
.form-status.ok { display: block; color: #4ADE80; }
.form-status.err { display: block; color: #FBBF24; }

/* ---------- Legal pages ---------- */
.legal { max-width: 740px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 14px; }
.legal-updated { color: var(--text-faint); font-size: 14.5px; margin-bottom: 40px; }
.legal-prose h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}
.legal-prose p, .legal-prose li { color: var(--text-dim); font-size: 15.5px; }
.legal-prose p + p { margin-top: 10px; }
.legal-prose ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 7px; }
.legal-prose a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.legal-prose a:hover { border-bottom-color: var(--text-dim); }

/* ---------- Reveal animations (JS-gated: page is fully visible without JS) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--rd, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 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;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .marquee { flex-wrap: wrap; gap: 14px; overflow: visible; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .industries-grid { grid-template-columns: 1fr; }
  .industries-visual { max-width: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; row-gap: 10px; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat { padding-inline: 0 12px; border-left: 0; }
  .quotes-head { flex-direction: column; align-items: flex-start; }
}
