:root {
  --void: #050810;
  --abyss: #070c18;
  --footer: #070c18;
  --paper: #e6eaf2;
  --mist: #aeb9cc;
  --slate: #5c6b82;
  --blue: #1b4fd8;
  --blue-deep: #1640b6;
  --blue-sky: #6e92ff;
  --line: #1a2742;
  --glass-a: #14223c8c;
  --glass-b: #0a122459;
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--void); color: var(--paper); }
body {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 640px) { .wrap { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .wrap { padding-left: 2.5rem; padding-right: 2.5rem; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--blue-sky);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blue-sky);
  opacity: 0.85;
}

.btn {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 5px;
  border: 1px solid transparent;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.2s ease;
  background: transparent;
  color: inherit;
  font-family: inherit;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 40px -12px #1b4fd8b3;
}
.btn-primary:hover { background: #1648c7; }
.btn-ghost {
  border-color: var(--line);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--blue-sky); color: #fff; }

.glass {
  background: linear-gradient(180deg, var(--glass-a), var(--glass-b));
  border: 1px solid var(--line);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(5, 8, 16, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  height: 40px;
}
.logo svg { height: 40px; width: auto; display: block; }
.nav-desktop { display: none; align-items: center; gap: 2.25rem; }
.nav-desktop a {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mist);
  transition: color 0.15s;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: #fff; }
.nav-desktop .btn { padding: 0.625rem 1.25rem; font-size: 13px; }
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform 0.2s, opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 16, 0.95);
  backdrop-filter: blur(18px);
}
.nav-mobile.open { display: block; }
.nav-mobile .wrap { display: flex; flex-direction: column; padding-top: 0.75rem; padding-bottom: 1.25rem; }
.nav-mobile a {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mist);
}
.nav-mobile .btn { margin-top: 1rem; justify-content: center; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--void);
  padding: 8.5rem 0 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,16,0.88) 0%, rgba(5,8,16,0.62) 48%, rgba(5,8,16,0.35) 100%),
    linear-gradient(0deg, #050810 6%, transparent 45%);
}
.hero-loc {
  position: relative;
  z-index: 1;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--slate);
  margin-bottom: 1.5rem;
}
.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.6rem, 9vw, 6.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: #fff;
  max-width: 16ch;
  margin-bottom: 1.75rem;
}
.hero h1 .dot { color: var(--blue-sky); }
.hero-lead, .hero-actions { position: relative; z-index: 1; }
.hero-lead {
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--mist);
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.marquee-wrap {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--abyss);
  padding: 1.1rem 0;
  position: relative;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: #6f7d94;
  padding: 0 2rem;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
}
.marquee span::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--blue);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
}

/* Sections */
.section { padding: 6rem 0; }
@media (min-width: 640px) { .section { padding: 7.5rem 0; } }
.bg-abyss { background: var(--abyss); }
.bg-void { background: var(--void); }
.border-y { border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 3.25rem; }
.section-head h2 {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  color: #fff;
}
.section-head h2 .mute { color: var(--mist); }
.section-head .lede { margin-top: 1.25rem; color: var(--mist); font-size: 1.05rem; line-height: 1.7; max-width: 38rem; }

.trust {
  display: grid;
  gap: 2.5rem 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust-item { position: relative; padding-left: 1.4rem; }
.trust-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2rem;
  width: 1px; height: 3rem;
  background: linear-gradient(to bottom, var(--blue), transparent);
}
.trust-n {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 0.6rem;
}
.trust-item p { color: var(--paper); font-size: 1.05rem; line-height: 1.55; font-weight: 500; }

/* Category grid */
.cat-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  display: block;
  padding: 1.6rem 1.6rem 1.5rem;
  border-radius: 16px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110,146,255,0.4);
  box-shadow: 0 18px 50px -20px rgba(27,79,216,0.55);
}
.cat-card.featured {
  grid-column: 1 / -1;
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(27,79,216,0.16), var(--glass-b)),
    linear-gradient(180deg, var(--glass-a), var(--glass-b));
}
@media (min-width: 800px) {
  .cat-card.featured { grid-template-columns: 1.2fr 0.8fr; align-items: center; padding: 2.4rem 2.5rem; }
}
.cat-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 0.55rem;
}
.cat-card h3 { font-size: 1.55rem; font-weight: 500; color: #fff; margin-bottom: 0.55rem; }
.cat-card.featured h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cat-card p { color: var(--mist); font-size: 0.98rem; line-height: 1.6; }
.cat-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-sky);
  font-weight: 600;
  font-size: 0.92rem;
}
.cat-card:hover .cat-link { color: #8eabff; gap: 0.7rem; }

.photo-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.photo-panel img, .photo-panel .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,8,16,0.72), rgba(5,8,16,0.15) 50%);
}
.photo-panel .caption {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  text-align: center;
  width: 100%;
}
.photo-panel h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 500; color: #fff; }
.photo-panel p {
  margin-top: 0.9rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(230,234,242,0.9);
}

/* Brand logos */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
@media (min-width: 800px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 1.6rem 1.25rem 1.4rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.brand-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(110,146,255,0.4);
  box-shadow: 0 18px 50px -20px rgba(27,79,216,0.55);
}
.brand-tile img { height: 56px; width: auto; max-width: 180px; object-fit: contain; }
.brand-tile img.invert { filter: brightness(0) invert(1); }
.brand-tile span {
  margin-top: 1rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Steps / operations */
.steps { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step-n {
  width: 3.5rem; height: 3.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: var(--void);
  border-radius: 12px;
  color: var(--blue-sky);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600;
  margin-bottom: 1.35rem;
  box-shadow: 0 0 24px -8px rgba(110,146,255,0.35);
}
.step h3 { font-size: 1.25rem; color: #fff; margin-bottom: 0.6rem; }
.step p { color: var(--mist); font-size: 0.98rem; line-height: 1.65; max-width: 20rem; }

/* Page hero (interior pages) */
.page-hero { padding: 9.5rem 0 3.5rem; }
.page-hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 500;
  color: #fff;
  max-width: 18ch;
}
.page-hero .lede { margin-top: 1.4rem; max-width: 38rem; color: var(--mist); font-size: 1.08rem; line-height: 1.7; }

.prose { max-width: 42rem; color: var(--mist); font-size: 1.05rem; line-height: 1.75; }
.prose p + p { margin-top: 1.1rem; }
.prose h2 { color: #fff; font-size: 1.5rem; font-weight: 500; margin: 2.4rem 0 0.8rem; }
.prose ul { margin: 0.8rem 0 0 1.2rem; }
.prose li { margin: 0.35rem 0; }
.prose a { color: var(--blue-sky); text-decoration: underline; text-underline-offset: 3px; }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.split img, .split .frame { width: 100%; border-radius: 16px; border: 1px solid var(--line); object-fit: cover; }
.founder { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .founder { grid-template-columns: 280px 1fr; gap: 3rem; } }
.founder img { width: 100%; border-radius: 16px; border: 1px solid var(--line); object-fit: cover; aspect-ratio: 2/3; }
.founder h2 { color: #fff; font-size: 1.8rem; margin-bottom: 0.3rem; }
.founder .role {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 1rem;
}
.founder p { color: var(--mist); line-height: 1.7; }

.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery { grid-template-columns: 1.2fr 1fr; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); min-height: 260px; max-height: 520px; }

/* Form / contact */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }
.contact-meta { border-top: 1px solid var(--line); margin-top: 2rem; }
.contact-row {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
}
.contact-row a:hover { color: var(--blue-sky); }
.contact-row .k {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.3rem;
}
.contact-row .v { font-size: 1.05rem; white-space: pre-line; }
form.glass { padding: 2rem 1.6rem; border-radius: 16px; }
@media (min-width: 640px) { form.glass { padding: 2.25rem; } }
label {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.5rem;
}
.field { margin-bottom: 1.15rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--void);
  color: var(--paper);
  padding: 0.85rem 1rem;
  font-size: 15px;
  font-family: inherit;
}
input::placeholder, textarea::placeholder { color: rgba(92,107,130,0.7); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,216,0.25);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--mist); font-size: 0.92rem; line-height: 1.45; }
.check input { margin-top: 0.25rem; accent-color: var(--blue); }
.form-note {
  margin-top: 1rem;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #070c18;
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-blurb { max-width: 22rem; color: var(--slate); line-height: 1.65; margin-top: 1.2rem; }
.footer-col h3 {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.footer-col a, .footer-col p { display: block; color: var(--mist); margin-bottom: 0.7rem; }
.footer-col a:hover { color: var(--blue-sky); }
.footer-bottom {
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
@media (min-width: 700px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.legal-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 0.4rem; }
.legal-links a { color: var(--slate); }
.legal-links a:hover { color: var(--blue-sky); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.thanks { min-height: 70svh; display: flex; align-items: center; padding: 9rem 0 5rem; }
.thanks h1 { margin: 1rem 0 1rem; font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; }
.thanks p { color: var(--mist); max-width: 32rem; line-height: 1.7; margin-bottom: 1.8rem; }

/* ===== Motion (recreated from the live Vite site) ===== */
.hero { position: relative; }
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-bg { z-index: 0; }
.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(800px 520px at 52% 42%, rgba(27,79,216,0.22), transparent 60%);
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero-copy { position: relative; z-index: 2; width: 100%; }
.hero-line { display: block; overflow: hidden; }
.hero-word {
  display: block;
  transform: translateY(110%);
  animation: wordUp 0.8s cubic-bezier(.16,.7,.3,1) forwards;
}
.hero-line:nth-child(1) .hero-word { animation-delay: 0.08s; }
.hero-line:nth-child(2) .hero-word { animation-delay: 0.18s; }
.hero-line:nth-child(3) .hero-word { animation-delay: 0.28s; }
@keyframes wordUp { to { transform: translateY(0); } }
.hero-loc, .hero-copy .eyebrow, .hero-lead, .hero-actions {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(.16,.7,.3,1) forwards;
}
.hero-loc { animation-delay: 0.12s; }
.hero-copy .eyebrow { animation-delay: 0.22s; }
.hero-lead { animation-delay: 0.55s; }
.hero-actions { animation-delay: 0.7s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  pointer-events: none;
}
.scroll-cue span.label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #8a9bb3;
}
.cue-bar {
  display: block;
  width: 1px;
  height: 2.75rem;
  transform-origin: top;
  background: linear-gradient(#6E92FF, transparent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, to { transform: scaleY(0.5); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

.site-header { animation: navIn 0.7s cubic-bezier(.16,.7,.3,1) both; }
@keyframes navIn {
  from { transform: translateY(-80px); opacity: 0; }
}

@keyframes pulseGlow {
  0%, to { opacity: 0.55; }
  50% { opacity: 0.9; }
}

@keyframes grain {
  0%, to { transform: translate(0); }
  10% { transform: translate(-5%, -5%); }
  30% { transform: translate(3%, -8%); }
  50% { transform: translate(-4%, 6%); }
  70% { transform: translate(6%, 3%); }
  90% { transform: translate(-3%, 5%); }
}
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
  will-change: transform;
  animation: grain 8s steps(6) infinite;
}

/* Marquee: match old 32s timing, pause on hover, edge fades */
.marquee-wrap { position: relative; }
.marquee { animation-duration: 32s; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0; bottom: 0;
  width: 6rem;
  z-index: 1;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--abyss), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--abyss), transparent); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16,.7,.3,1), transform 0.7s cubic-bezier(.16,.7,.3,1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* Animated counters */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 1.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { position: relative; padding-left: 1.5rem; }
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0.25rem;
  width: 1px; height: 3rem;
  background: linear-gradient(to bottom, var(--blue), transparent);
}
.stat-n {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-l {
  margin-top: 0.85rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

/* Facility background video */
.facility-video {
  position: relative;
  overflow: hidden;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
}
.facility-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.facility-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 8, 16, 0.28);
}
.facility-video .caption {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 0;
  width: 100%;
}
.facility-video h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 500; color: #fff; }
.facility-video p {
  margin-top: 0.9rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(230,234,242,0.9);
}

/* Card mouse spotlight */
.spot { position: relative; overflow: hidden; }
.spot-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(110,146,255,0.16), transparent 60%);
  z-index: 0;
}
.spot:hover .spot-glow { opacity: 1; }
.spot > *:not(.spot-glow) { position: relative; z-index: 1; }
.cat-card, .brand-tile { transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.cat-card:hover, .brand-tile:hover { transform: translateY(-4px); }

/* Operations connecting line */
.steps { position: relative; }
.steps-line {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 1.75rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(110,146,255,0.5), rgba(110,146,255,0.15));
  transition: transform 1.1s cubic-bezier(.16,.7,.3,1);
  transition-delay: var(--d, 0s);
}
.steps-line.in { transform: scaleX(1); }
@media (min-width: 800px) { .steps-line { display: block; } }
.step { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow,
  .hero-word,
  .hero-loc,
  .hero-copy .eyebrow,
  .hero-lead,
  .hero-actions,
  .cue-bar,
  .grain,
  .marquee,
  .site-header {
    animation: none !important;
  }
  .hero-word { transform: none; }
  .hero-loc, .hero-copy .eyebrow, .hero-lead, .hero-actions { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .steps-line { transform: none; transition: none; }
  .marquee-wrap:hover .marquee { animation-play-state: running; }
}

/* Category card product photo */
.cat-card .cat-media {
  margin: -0.15rem -0.15rem 1.1rem;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a1224;
  border: 1px solid var(--line);
}
.cat-card .cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-card.featured .cat-media {
  margin: 0;
  aspect-ratio: 16 / 10;
}
@media (min-width: 800px) {
  .cat-card.featured .cat-media { margin: 0; }
}

/* Specialty Pet Products grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.product-card {
  background: rgba(8, 14, 28, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-media {
  aspect-ratio: 1 / 1;
  background: #f3eee6;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-copy {
  padding: 0.95rem 1.05rem 1.15rem;
}
.product-kind {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 0.35rem;
}
.product-card h3 {
  font-size: 1.02rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}
