/* ============ Design tokens ============ */
:root {
  --bg: #05070f;
  --bg-elevated: #0a0f1c;
  --bg-elevated-2: #0e1526;
  --teal-dark: #123c46;
  --teal: #195866;
  --cyan: #3ec8d2;
  --cyan-bright: #56d8e0;
  --violet: #6d5ee0;
  --violet-bright: #a78bfa;
  --gold: #d9af6a;
  --gold-light: #f0cf95;
  --white: #ffffff;
  --text-muted: #93aab5;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.1);

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-w: 1200px;
  --radius: 18px;
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  --glow-cyan: 0 0 32px rgba(62, 200, 210, 0.28);
  --glow-violet: 0 0 32px rgba(109, 94, 224, 0.28);

  --grid-lines:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 48px);
}

/* ============ Reset ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--grid-lines), var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: var(--bg);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, var(--glow-cyan);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 16px 40px rgba(109, 94, 224, 0.4);
}
.btn-ghost {
  background: var(--glass);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-color: var(--glass-border);
}
.btn-ghost:hover { border-color: var(--violet-bright); color: var(--violet-bright); transform: translateY(-2px); box-shadow: 0 0 24px rgba(109, 94, 224, 0.22); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 7, 15, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 200, 210, 0.55), rgba(109, 94, 224, 0.55), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.site-header.scrolled {
  background: rgba(5, 7, 15, 0.92);
  border-bottom-color: var(--border);
}
.site-header.scrolled::after { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo { height: 42px; width: auto; object-fit: contain; }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.main-nav a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.header-phone i { color: var(--cyan); }
.header-phone:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
  --mx: 50%;
  --my: 30%;
}
.hero-glow {
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 760px;
  background:
    radial-gradient(circle at 20% 30%, rgba(62, 200, 210, 0.3), transparent 55%),
    radial-gradient(circle at 78% 12%, rgba(109, 94, 224, 0.26), transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(217, 175, 106, 0.16), transparent 55%);
  filter: blur(6px);
  animation: auroraDrift 20s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(109, 94, 224, 0.14), transparent 60%);
  pointer-events: none;
  transition: background 140ms ease;
}
@keyframes auroraDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -3%, 0) scale(1.05); }
}
.hero-scene {
  position: absolute;
  top: 0;
  right: -9%;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-scene canvas { display: block; width: 100% !important; height: 100% !important; }

.hero-inner { position: relative; z-index: 2; max-width: 820px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-bright);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet-bright));
  box-shadow: 0 0 10px rgba(109, 94, 224, 0.7);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  margin-bottom: 24px;
  background: linear-gradient(120deg, var(--white) 25%, var(--cyan-bright) 58%, var(--violet-bright) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 36px;
}

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

.hero-tags-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.hero-tags-track:hover .hero-tags { animation-play-state: paused; }
.hero-tags {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 12px;
  animation: marquee 22s linear infinite;
}
.hero-tags li {
  white-space: nowrap;
  padding: 8px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--glass);
  backdrop-filter: blur(6px);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Section shared ============ */
section { padding: 100px 0; position: relative; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.section-lead { color: var(--text-muted); font-size: 1.05rem; }
.section-head .eyebrow { display: inline-flex; }

/* ============ Services ============ */
.services {
  background:
    radial-gradient(circle at 12% 15%, rgba(109, 94, 224, 0.12), transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(62, 200, 210, 0.12), transparent 45%),
    var(--grid-lines),
    var(--bg-elevated);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 94, 224, 0.5);
  background: var(--glass-strong);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 30px rgba(62, 200, 210, 0.14), 0 0 30px rgba(109, 94, 224, 0.14);
}

/* Floating "demo" decor: a real sample photo drifts in the card background
   (corner-anchored, masked so it fades into the card), with two small brand
   orbs flying behind the content. */
.service-icon, .service-card h3, .service-card p { position: relative; z-index: 1; }

.service-photo {
  position: absolute;
  top: -16px;
  right: -14px;
  width: 54%;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  -webkit-mask-image: linear-gradient(205deg, #000 50%, transparent 88%);
  mask-image: linear-gradient(205deg, #000 50%, transparent 88%);
  animation: floatPhoto 8s ease-in-out infinite;
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card:hover .service-photo { opacity: 0.78; }

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}
.service-card::before {
  width: 56px;
  height: 56px;
  top: 24%;
  right: 18%;
  background: radial-gradient(circle, rgba(62, 200, 210, 0.3), transparent 70%);
  animation: floatOrbA 7s ease-in-out infinite;
}
.service-card::after {
  width: 40px;
  height: 40px;
  bottom: 14%;
  left: 12%;
  background: radial-gradient(circle, rgba(109, 94, 224, 0.28), transparent 70%);
  animation: floatOrbB 9s ease-in-out infinite;
}

/* Stagger so the grid doesn't pulse in unison. */
.service-card:nth-child(3n) .service-photo { animation-delay: -2.5s; }
.service-card:nth-child(3n+1) .service-photo { animation-delay: -5s; }
.service-card:nth-child(2n)::before { animation-delay: -3s; }
.service-card:nth-child(2n)::after { animation-delay: -4.5s; }

@keyframes floatPhoto {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(-2.5deg); }
}
@keyframes floatOrbA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -14px); }
}
@keyframes floatOrbB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -9px); }
}
@media (prefers-reduced-motion: reduce) {
  .service-photo,
  .service-card::before,
  .service-card::after { animation: none; }
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--bg);
  font-size: 1.3rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(109, 94, 224, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(109, 94, 224, 0.55), 0 0 14px rgba(62, 200, 210, 0.4);
}

.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ Work / Gallery ============ */
.work {
  background:
    radial-gradient(circle at 15% 20%, rgba(62, 200, 210, 0.1), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(109, 94, 224, 0.1), transparent 45%),
    var(--grid-lines),
    var(--bg);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 94, 224, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(62, 200, 210, 0.14), 0 0 30px rgba(109, 94, 224, 0.14);
}

.work-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .work-thumb img { transform: scale(1.06); }

/* Capability tile: gradient + icon (no photo). Colors set inline via --tile-a/b. */
.work-thumb-cat {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--tile-a, var(--teal)), var(--tile-b, var(--violet)));
}
.work-thumb-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.18), transparent 60%);
}
.work-thumb-cat i {
  position: relative;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.92);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .work-thumb-cat i { transform: scale(1.12); }

.work-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(to top, rgba(5, 7, 15, 0.94), rgba(5, 7, 15, 0.45) 55%, transparent);
}
.work-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  background: rgba(62, 200, 210, 0.12);
  border: 1px solid rgba(62, 200, 210, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}
.work-overlay h3 { font-size: 1.05rem; }

/* ============ About ============ */
.about {
  background:
    radial-gradient(circle at 85% 10%, rgba(217, 175, 106, 0.1), transparent 45%),
    var(--grid-lines),
    var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-copy p { color: var(--text-muted); margin-bottom: 28px; }
.about-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 20px; }

.about-points { margin-bottom: 32px; }
.about-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--white);
  font-weight: 500;
}
.about-points li:last-child { border-bottom: none; }
.about-points i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(109, 94, 224, 0.18);
  color: var(--violet-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 40px;
  overflow: hidden;
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 0deg,
    transparent, rgba(62, 200, 210, 0.4), transparent 30%,
    rgba(109, 94, 224, 0.4), transparent 60%,
    rgba(217, 175, 106, 0.32), transparent 92%);
  animation: spin 18s linear infinite;
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  background: var(--bg-elevated-2);
}
.about-mark { position: relative; z-index: 1; width: 220px; opacity: 0.95; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Contact ============ */
.contact {
  background:
    radial-gradient(circle at 82% 8%, rgba(217, 175, 106, 0.1), transparent 45%),
    radial-gradient(circle at 8% 92%, rgba(62, 200, 210, 0.1), transparent 45%),
    var(--grid-lines),
    var(--bg-elevated);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.info-list { margin-bottom: 28px; }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.info-list li i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(109, 94, 224, 0.16);
  color: var(--violet-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-list li strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.info-list li a:hover { color: var(--cyan-bright); }

.social-row { display: flex; gap: 12px; margin-bottom: 28px; }
.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.social-row a:hover { border-color: var(--violet-bright); color: var(--violet-bright); transform: translateY(-3px); box-shadow: 0 0 18px rgba(109, 94, 224, 0.3); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 260px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

.contact-form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { margin-bottom: 20px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(5, 7, 15, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--violet-bright);
  box-shadow: 0 0 0 3px rgba(109, 94, 224, 0.18), 0 0 20px rgba(62, 200, 210, 0.14);
}
.form-row textarea { resize: vertical; min-height: 100px; }

.cf-turnstile { margin-bottom: 20px; min-height: 65px; }

.form-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--cyan-bright);
  min-height: 1.2em;
}

/* ============ Footer ============ */
.site-footer {
  position: relative;
  background: var(--bg-elevated-2);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 200, 210, 0.4), rgba(109, 94, 224, 0.4), transparent);
}

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

.footer-logo { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }

.footer-col h4 { font-size: 1rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; color: var(--text-muted); font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--cyan-bright); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============ Floating call button ============ */
.fab-call {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 10px 30px rgba(109, 94, 224, 0.4);
  z-index: 90;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(109, 94, 224, 0.5), 0 10px 30px rgba(109, 94, 224, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(109, 94, 224, 0), 0 10px 30px rgba(109, 94, 224, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(109, 94, 224, 0), 0 10px 30px rgba(109, 94, 224, 0.4); }
}

/* ============ Scroll reveal ============ */
/* Scoped to html.js (set by an inline head script) so content stays visible
   by default if JS fails to load — no permanently-hidden content. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
html.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-glow, .about-visual::before, .fab-call { animation: none; }
  .hero::after { background: none; }
  .hero-tags-track { overflow: visible; mask-image: none; -webkit-mask-image: none; }
  .hero-tags { animation: none; flex-wrap: wrap; width: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  /* Network fills the hero behind the text at reduced opacity so copy stays readable. */
  .hero-scene { right: 0; width: 100%; opacity: 0.5; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; padding: 24px; }
  .about-mark { width: 160px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 840px) {
  .main-nav { position: fixed; top: 84px; left: 0; right: 0; background: var(--bg-elevated); border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height var(--transition); }
  .main-nav.open { max-height: 320px; }
  .main-nav ul { flex-direction: column; padding: 12px 24px; gap: 4px; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary.btn-sm { display: none; }
  section { padding: 72px 0; }
  .hero { padding: 150px 0 80px; }
}

@media (max-width: 560px) {
  .form-row-split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
