/* ============================================================
   PULSE DIVISION — styles.css
   Archetype: Mouse-Reactive Dark / Technical Premium
   ============================================================ */

/* ─── Custom Properties ─── */
:root {
  --bg:         #0A0A0A;
  --bg-2:       #111111;
  --bg-3:       #181818;
  --bg-card:    #0F0F0F;
  --ink:        #F0F0F0;
  --ink-soft:   rgba(240,240,240,0.72);
  --ink-mute:   rgba(240,240,240,0.38);
  --accent:     #00C8FF;
  --accent-dim: rgba(0,200,255,0.12);
  --accent-glow:rgba(0,200,255,0.35);
  --line:       rgba(240,240,240,0.07);
  --line-med:   rgba(240,240,240,0.14);
  --nav-h:      72px;
  --ease-out:   cubic-bezier(0.22,1,0.36,1);
  --ease-in:    cubic-bezier(0.64,0,0.78,0);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Typography base ─── */
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.mono {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  width: 100%;
}

/* ─── Container ─── */
.container {
  width: min(100%, 1320px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 3px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,200,255,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-med);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ─── Section Header ─── */
.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.5rem;
  align-items: start;
}
.section-num {
  color: var(--accent);
  padding-top: 0.15em;
  opacity: 0.7;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  grid-column: 2;
  grid-row: 1;
}
.section-sub {
  grid-column: 2;
  grid-row: 2;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  margin-top: 0.75rem;
  max-width: 52ch;
}

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Defensive: elements that are BOTH reveal and data-split must stay visible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  SPLASH                                                           */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: splashSafety 0.01s 4.5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-in);
}
.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.splash-pd {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.splash-bar {
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  animation: splashBarGrow 1.2s var(--ease-out) 0.3s forwards;
}
@keyframes splashBarGrow {
  from { width: 0; opacity: 0.4; }
  to   { width: 80px; opacity: 1; }
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  CURSOR (desktop only)                                            */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }

  .cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
  }
  .cursor.is-ready { opacity: 1; }

  .cursor-dot {
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    position: absolute;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0,200,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s;
  }
  .cursor.is-link .cursor-ring {
    width: 48px; height: 48px;
    border-color: var(--accent);
  }
  .cursor.is-btn .cursor-ring {
    width: 56px; height: 56px;
    border-color: rgba(255,255,255,0.6);
  }
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  NAV                                                              */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,10,10,0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  height: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: auto;
  transition: opacity 0.2s;
}
.nav-brand:hover { opacity: 0.7; }
.nav-brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.nav-brand-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}
.nav-links a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--accent-dim);
}

.nav-cta { font-size: 0.82rem; padding: 0.6rem 1.25rem; }

.nav-toggle { display: none; }

/* Mobile nav */
.nav-mobile {
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}
.nav-mobile.is-open {
  transform: none;
  opacity: 1;
  pointer-events: all;
}
.nav-mobile ul { display: flex; flex-direction: column; gap: 0.5rem; }
.nav-mobile a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.6rem 0;
  display: block;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--ink); }
.nav-mobile .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  HERO                                                             */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Mouse-reactive gradient layer */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle 700px at var(--mx, 50%) var(--my, 50%),
      rgba(0,200,255,0.1) 0%, transparent 70%),
    radial-gradient(circle 500px at calc(100% - var(--mx, 50%)) calc(100% - var(--my, 50%)),
      rgba(0,60,200,0.06) 0%, transparent 70%);
  transition: background 0.15s linear;
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* Vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(10,10,10,0.7) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.5) 0%, transparent 25%, transparent 75%, rgba(10,10,10,0.8) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  padding-block: 5rem 8rem;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.8s forwards;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.eyebrow-sep { color: var(--line-med); }

/* H1 */
.hero-title {
  font-size: clamp(2.6rem, 7vw, 7.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  max-width: 14ch;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--ease-out) 1s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

/* Body */
.hero-body {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--ease-out) 1.15s forwards;
}

/* Tech label */
.hero-tech-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--ease-out) 1.3s forwards;
}
.hero-tech-label .label { color: var(--ink-mute); }
.hero-tech-label .tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid rgba(0,200,255,0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}
.hero-tech-label .sep { color: var(--line-med); font-size: 0.8rem; }

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--ease-out) 1.45s forwards;
}

/* Status indicator */
.hero-status {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.25rem, 5vw, 3rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-mute);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 1.8s forwards;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00e676;
  animation: statusPulse 2.5s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,230,118,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0,230,118,0); }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  left: clamp(1.25rem, 5vw, 3rem);
  bottom: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 2s forwards;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLineDrop 2s ease-in-out infinite;
}
@keyframes scrollLineDrop {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}
.scroll-label {
  color: var(--ink-mute);
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  TICKER                                                           */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 0.85rem;
  background: var(--bg-2);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: tickerScroll 35s linear infinite;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ti {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  white-space: nowrap;
  text-transform: uppercase;
}
.ts {
  color: var(--accent);
  font-size: 0.6rem;
  opacity: 0.5;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  SERVICES                                                         */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.services {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}
.service-card:hover { background: #0d0d0d; }

/* Service art (visual CSS artwork) */
.service-art {
  position: relative;
  height: 220px;
  overflow: hidden;
}

/* ── Art: Immersive Worlds (LED grid) ── */
.service-art-immersive {
  background-color: #010810;
  background-image:
    radial-gradient(circle 220px at 65% 42%, rgba(0,200,255,0.32) 0%, rgba(0,80,200,0.1) 50%, transparent 75%),
    radial-gradient(circle 130px at 28% 68%, rgba(0,60,180,0.18) 0%, transparent 60%),
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
}
.service-art-immersive .sa-glow-1 {
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(circle at 65% 40%, rgba(0,200,255,0.2) 0%, transparent 60%);
  animation: glowPulse 4s ease-in-out infinite;
}
.service-art-immersive .sa-glow-2 {
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(circle at 28% 65%, rgba(0,80,200,0.12) 0%, transparent 55%);
  animation: glowPulse 6s ease-in-out 1s infinite;
}
.service-art-immersive .sa-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 3px,
    rgba(0,200,255,0.025) 3px, rgba(0,200,255,0.025) 4px
  );
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ── Art: Visual Performance (waveform / monitor) ── */
.service-art-performance {
  background-color: #010a05;
  background-image:
    radial-gradient(circle 190px at 50% 46%, rgba(0,255,160,0.22) 0%, transparent 65%),
    repeating-linear-gradient(
      0deg,
      transparent 0px, transparent 3px,
      rgba(0,200,120,0.04) 3px, rgba(0,200,120,0.04) 4px
    );
}
.service-art-performance .sa-glow-green {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 50% 50%, rgba(0,255,160,0.15) 0%, transparent 55%);
  animation: glowPulse 5s ease-in-out infinite;
}
.service-art-performance .sa-hlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(0,255,140,0.06) 0px, rgba(0,255,140,0.06) 1px,
    transparent 1px, transparent 8px
  );
}
.service-art-performance .sa-waveform {
  position: absolute;
  bottom: 30%;
  left: 10%; right: 10%;
  height: 60px;
  background:
    radial-gradient(ellipse 30% 80% at 20% 50%, rgba(0,255,140,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 25% 60% at 40% 50%, rgba(0,255,140,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 35% 90% at 60% 50%, rgba(0,255,140,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 20% 50% at 80% 50%, rgba(0,255,140,0.3) 0%, transparent 70%);
  filter: blur(3px);
}

/* ── Art: Product CG (studio render) ── */
.service-art-cg {
  background-color: #020408;
  background-image:
    radial-gradient(circle 170px at 54% 44%, rgba(220,235,255,0.22) 0%, rgba(140,175,255,0.06) 45%, transparent 75%),
    radial-gradient(ellipse 85% 65% at 50% 55%, rgba(5,12,35,0.85) 0%, transparent 70%);
}
.service-art-cg .sa-glow-cold {
  position: absolute;
  inset: -50% -20%;
  background: radial-gradient(circle at 55% 44%, rgba(150,200,255,0.12) 0%, transparent 55%);
  animation: glowPulse 7s ease-in-out 0.5s infinite;
}
.service-art-cg .sa-product-light {
  position: absolute;
  top: 20%; left: 30%; right: 30%; bottom: 20%;
  background: radial-gradient(circle at 50% 40%, rgba(240,248,255,0.3) 0%, rgba(180,210,255,0.08) 35%, transparent 65%);
  border-radius: 50%;
  filter: blur(8px);
}
.service-art-cg .sa-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(0,20,60,0.3));
}

/* ── Art: Brand Motion (flowing gradients) ── */
.service-art-motion {
  background-color: #060308;
  overflow: hidden;
}
.service-art-motion .sa-flow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  filter: blur(40px);
}
.sa-flow-1 {
  background: radial-gradient(circle at 25% 55%, rgba(160,0,255,0.25) 0%, transparent 55%);
  animation: flowDrift 10s ease-in-out infinite alternate;
}
.sa-flow-2 {
  background: radial-gradient(circle at 75% 35%, rgba(0,200,255,0.2) 0%, transparent 55%);
  animation: flowDrift 14s ease-in-out 2s infinite alternate-reverse;
}
.sa-flow-3 {
  background: radial-gradient(circle at 55% 80%, rgba(255,30,130,0.12) 0%, transparent 55%);
  animation: flowDrift 8s ease-in-out 1s infinite alternate;
}
@keyframes flowDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(5%, -8%) scale(1.15); }
}

/* Service content */
.service-content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.service-num {
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 0.75rem;
}
.service-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--ink);
}
.service-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.2rem;
}

/* Specs list */
.service-specs {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s;
}
.service-card:hover .service-specs {
  max-height: 200px;
  opacity: 1;
}
.service-specs li {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
  padding-left: 0.75rem;
  position: relative;
}
.service-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  SELECTED WORK                                                    */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.work {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}

.work-grid { display: flex; flex-direction: column; gap: 1px; }

/* Featured card (Iberdrola) */
.work-card-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--line);
  gap: 1px;
}
.work-card-featured .work-visual { height: 420px; }

/* Row of two cards */
.work-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.work-row .work-visual { height: 280px; }

/* Work card common */
.work-card {
  background: var(--bg-card);
}

/* Work visual base */
.work-visual {
  position: relative;
  overflow: hidden;
}

/* ── Visual: Iberdrola (LED wall) ── */
.wv-iberdrola {
  background-color: #010810;
}
.wv-iberdrola .wv-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 35%, rgba(0,100,255,0.4) 0%, rgba(0,40,140,0.12) 55%, transparent 80%),
    linear-gradient(rgba(0,200,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.03) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
}
.wv-iberdrola .wv-glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse at 50% 30%, rgba(0,180,255,0.25) 0%, transparent 60%);
  animation: glowPulse 5s ease-in-out infinite;
}
.wv-iberdrola .wv-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 5px,
    rgba(0,200,255,0.04) 5px, rgba(0,200,255,0.04) 6px
  );
}
.wv-iberdrola .wv-bezel {
  position: absolute;
  inset: 10% 5%;
  border: 1px solid rgba(0,200,255,0.12);
}

/* ── Visual: Dyson (product CG) ── */
.wv-dyson {
  background-color: #020408;
}
.wv-dyson .wv-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,15,45,0.9) 0%, transparent 70%);
}
.wv-dyson .wv-spotlight {
  position: absolute;
  top: 10%; left: 25%; right: 25%; bottom: 25%;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.22) 0%, rgba(200,215,255,0.06) 40%, transparent 75%);
  border-radius: 50%;
  filter: blur(6px);
  animation: glowPulse 8s ease-in-out infinite;
}
.wv-dyson .wv-rim {
  position: absolute;
  top: 25%; left: 35%; right: 35%;
  height: 45%;
  background: radial-gradient(ellipse at 80% 30%, rgba(180,210,255,0.3) 0%, transparent 40%);
  filter: blur(8px);
}

/* ── Visual: Festival (multi-screen) ── */
.wv-festival {
  background-color: #050505;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.wv-panel {
  position: relative;
  overflow: hidden;
}
.wv-panel-1 {
  background: radial-gradient(circle at 50% 50%, rgba(255,110,20,0.35) 0%, rgba(180,60,0,0.1) 50%, transparent 75%);
}
.wv-panel-2 {
  background: radial-gradient(circle at 50% 45%, rgba(0,200,255,0.3) 0%, rgba(0,80,200,0.08) 55%, transparent 80%);
}
.wv-panel-3 {
  background: radial-gradient(circle at 50% 50%, rgba(130,0,255,0.28) 0%, rgba(80,0,180,0.08) 55%, transparent 80%);
}
.wv-panel-dividers {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      transparent calc(33.3% - 0.5px),
      rgba(255,255,255,0.12) calc(33.3% - 0.5px),
      rgba(255,255,255,0.12) calc(33.3% + 0.5px),
      transparent calc(33.3% + 0.5px),
      transparent calc(66.6% - 0.5px),
      rgba(255,255,255,0.12) calc(66.6% - 0.5px),
      rgba(255,255,255,0.12) calc(66.6% + 0.5px),
      transparent calc(66.6% + 0.5px)
    );
  pointer-events: none;
  grid-column: 1 / -1;
  grid-row: 1;
}

/* Work info */
.work-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-card);
}
.work-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.work-client {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.work-dash { color: var(--ink-mute); }
.work-type {
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.work-specs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  opacity: 0.8;
}
.ws-sep { color: var(--line-med); }
.work-desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  PROCESS                                                          */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.process {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-step {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--line);
  padding-right: 2.5rem;
}
.process-step:last-child { border-right: none; padding-right: 0; }
.process-step + .process-step { padding-left: 2rem; }

.step-num {
  display: block;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
}
.step-line {
  width: 24px; height: 2px;
  background: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0.6;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.step-desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  TECH STACK                                                       */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.tech {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.tech-group {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--line);
  padding-right: 2.5rem;
}
.tech-group:last-child { border-right: none; padding-right: 0; }
.tech-group + .tech-group { padding-left: 2rem; }

.tech-group-title {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
  font-weight: 500;
  opacity: 0.8;
}

.tech-list { display: flex; flex-direction: column; gap: 0.6rem; }
.tech-item {
  font-size: 0.875rem;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.2s;
  cursor: default;
}
.tech-item:last-child { border-bottom: none; }
.tech-item:hover {
  color: var(--ink);
  padding-left: 0.35rem;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  CLIENTS                                                          */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.clients {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.clients-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.clients-label {
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.clients-names {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.clients-names span {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.clients-names span:hover { color: var(--ink); }
.client-sep { color: var(--line-med); }
.clients-statement {
  font-size: 0.9rem;
  color: var(--ink-mute);
  max-width: 50ch;
  line-height: 1.65;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  CONTACT                                                          */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.contact {
  padding-block: clamp(5rem, 10vw, 9rem);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle 600px at 10% 50%, rgba(0,200,255,0.05) 0%, transparent 70%),
    radial-gradient(circle 400px at 90% 30%, rgba(0,60,200,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  position: relative;
}

.contact-left .section-num { display: block; margin-bottom: 1.25rem; }
.contact-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.contact-body {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 2.5rem;
}
.contact-detail { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-email {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.contact-email:hover { opacity: 0.7; }
.contact-response { color: var(--ink-mute); font-size: 0.72rem; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.req { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--line-med);
  border-radius: 3px;
  padding: 0.8rem 1rem;
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-mute); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.1);
}
.form-group select { -webkit-appearance: none; appearance: none; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.btn-submit { width: 100%; justify-content: center; position: relative; overflow: hidden; }
.btn-state-loading,
.btn-state-done { display: none; }
.btn-submit.is-loading .btn-state-default { display: none; }
.btn-submit.is-loading .btn-state-loading { display: flex; }
.btn-submit.is-done .btn-state-default,
.btn-submit.is-done .btn-state-loading { display: none; }
.btn-submit.is-done .btn-state-done { display: flex; }
.btn-submit.is-done { background: #00e676; color: #000; }
.form-note {
  color: var(--ink-mute);
  font-size: 0.68rem;
  line-height: 1.5;
}
.form-note a { color: var(--accent); transition: opacity 0.2s; }
.form-note a:hover { opacity: 0.7; }

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  FOOTER                                                           */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 3px; }
.footer-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.footer-tag {
  color: var(--accent);
  opacity: 0.6;
  font-size: 0.62rem;
}
.footer-center {
  color: var(--ink-mute);
  font-size: 0.72rem;
}
.footer-email {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--ink-mute);
  transition: color 0.2s;
}
.footer-email:hover { color: var(--accent); }

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/*  RESPONSIVE                                                       */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

/* Tablet — ≤1023px */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    padding: 4px;
  }
  .nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
  }
  .nav-toggle.is-open span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-toggle.is-open span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .services-grid { grid-template-columns: 1fr; }
  .work-card-featured { grid-template-columns: 1fr; }
  .work-card-featured .work-visual { height: 280px; }
  .work-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .process-step {
    padding: 2rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .process-step:last-child { border-bottom: none; }
  .process-step + .process-step { padding-left: 1.5rem; }
  .process-step:nth-child(odd) { border-right: 1px solid var(--line); }

  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-group {
    padding: 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .tech-group:nth-child(odd) { border-right: 1px solid var(--line); }
  .tech-group:last-child,
  .tech-group:nth-last-child(2) { border-bottom: none; }
  .tech-group + .tech-group { padding-left: 1.5rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-center { display: none; }
}

/* Mobile — ≤599px */
@media (max-width: 599px) {
  :root { --nav-h: 60px; }

  .hero-ctas { flex-direction: column; }
  .hero-scroll,
  .hero-status { display: none; }

  .section-header {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .section-num { display: none; }
  .section-title { grid-column: 1; grid-row: auto; }
  .section-sub { grid-column: 1; grid-row: auto; }

  .service-art { height: 160px; }

  .work-card-featured { display: flex; flex-direction: column; }
  .work-card-featured .work-visual { height: 240px; }
  .work-row .work-visual { height: 200px; }

  .process-grid { grid-template-columns: 1fr; }
  .process-step { padding: 1.5rem 0; border-right: none !important; }
  .process-step + .process-step { padding-left: 0; }

  .tech-grid { grid-template-columns: 1fr; }
  .tech-group { padding: 1.5rem 0; border-right: none !important; }
  .tech-group + .tech-group { padding-left: 0; }

  .clients-names { gap: 0.5rem; }
  .clients-names span { font-size: 1rem; }

  .footer-inner { flex-direction: column; gap: 0.75rem; align-items: flex-start; }

  .wv-festival { display: grid; grid-template-columns: 1fr 1fr 1fr; }
}

/* Hide cursor on touch devices */
@media (hover: none) {
  .cursor { display: none !important; }
}
