/* ============================================================
   DP Design — styles.css
   High-craft dark theme · lime accent · motion + depth
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --bg: #080808;
  --bg-elev: #101010;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.05);

  --text: #F4F4F4;
  --text-muted: #9EA09C;
  --text-dim: #5E605C;

  --accent: #C9FF3D;
  --accent-bright: #DCFF77;
  --accent-2: #34D399;
  --accent-dim: rgba(201, 255, 61, 0.12);
  --accent-glow: rgba(201, 255, 61, 0.30);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --radius: 16px;
  --radius-sm: 9px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

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

button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

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

ol, ul { list-style: none; }

::selection { background: var(--accent); color: var(--bg); }

/* hide native cursor when custom cursor active */
body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor .magnetic { cursor: none; }

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.section {
  padding: clamp(5rem, 11vw, 9.5rem) 0;
  position: relative;
  z-index: 1;
}

/* ============================================================
   ANIMATED BACKGROUND
   ============================================================ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora { position: absolute; inset: 0; }

.topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.blob-1 {
  width: 46vw; height: 46vw;
  top: -12vw; left: -8vw;
  background: radial-gradient(circle, rgba(201, 255, 61, 0.45), transparent 68%);
  animation: drift1 22s ease-in-out infinite;
}
.blob-2 {
  width: 40vw; height: 40vw;
  top: 30vh; right: -10vw;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.30), transparent 70%);
  animation: drift2 28s ease-in-out infinite;
}
.blob-3 {
  width: 38vw; height: 38vw;
  bottom: -14vw; left: 28vw;
  background: radial-gradient(circle, rgba(201, 255, 61, 0.22), transparent 70%);
  animation: drift3 25s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 6vh) scale(1.12); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7vw, -4vh) scale(1.08); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5vw, 5vh) scale(1.15); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 85%);
}

.grain {
  position: absolute;
  inset: -50%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
  mix-blend-mode: overlay;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 4%); }
  80% { transform: translate(5%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ============================================================
   EDITORIAL EDGE FRAME (fixed mono corner labels)
   ============================================================ */
.edge-frame {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}
.edge-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.edge-br { bottom: 1.4rem; right: var(--gutter); }
.edge-side {
  top: 50%;
  left: 1.1rem;
  transform-origin: 0 0;
  transform: rotate(-90deg) translateX(-50%);
  letter-spacing: 0.3em;
  color: var(--text-dim);
  opacity: 0.7;
}
@media (max-width: 980px) {
  .edge-side { display: none; }
  .edge-label { font-size: 0.56rem; letter-spacing: 0.18em; }
}
@media (max-width: 600px) {
  .edge-br { display: none; }
}

/* ============================================================
   SECTION WATERMARKS (giant outlined display type, parallax)
   ============================================================ */
.section-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + var(--py, 0px)));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 26vw, 24rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  user-select: none;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
.watermark-right { left: auto; right: -4vw; transform: translateY(calc(-50% + var(--py, 0px))); }
.watermark-center { left: 50%; transform: translate(-50%, calc(-50% + var(--py, 0px))); }
.section-capabilities .section-watermark { left: -3vw; transform: translateY(calc(-50% + var(--py, 0px))); top: 38%; }
.watermark-faint { -webkit-text-stroke-color: rgba(201, 255, 61, 0.07); }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 100;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 120;
  opacity: 0;
  will-change: transform;
}
.cursor {
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--accent);
}
.cursor-ring {
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid rgba(201, 255, 61, 0.5);
  border-radius: 50%;
  transition: width 0.28s var(--ease), height 0.28s var(--ease),
              margin 0.28s var(--ease), background 0.28s var(--ease),
              border-color 0.28s var(--ease);
}
body.cursor-active .cursor,
body.cursor-active .cursor-ring { opacity: 1; }

body.cursor-hover .cursor-ring {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(201, 255, 61, 0.08);
  border-color: var(--accent);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p { color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  background: rgba(201, 255, 61, 0.05);
  backdrop-filter: blur(8px);
}

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.section-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}
.num-bracket { color: var(--accent); font-weight: 500; }

.section-head { max-width: 800px; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.section-head h2 { margin-bottom: 1.15rem; }

.section-lede {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.55;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }

.btn-primary { background: var(--accent); color: #080808; }
.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 14px 40px -10px var(--accent-glow);
}
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost { background: rgba(255,255,255,0.02); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-big { font-size: 1.05rem; padding: 1.15rem 2.1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: transform 0.4s var(--ease);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--accent);
  color: #080808;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 0 0 0 var(--accent-glow);
  transition: box-shadow 0.4s var(--ease);
}
.brand:hover .brand-mark { box-shadow: 0 8px 24px -6px var(--accent-glow); }
.brand-mark.small { width: 28px; height: 28px; font-size: 0.7rem; }

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}
.brand:hover .brand-logo { filter: drop-shadow(0 6px 18px var(--accent-glow)); }

.brand-name { font-size: 1.08rem; }

.site-nav { display: flex; align-items: center; gap: 0.5rem; }

.nav-link {
  position: relative;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.55rem 0.95rem;
  transition: color 0.3s var(--ease);
  overflow: hidden;
}
.nav-link span { position: relative; display: inline-block; }
.nav-link span::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover span::after { transform: scaleX(1); transform-origin: 0 50%; }

.nav-cta {
  margin-left: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #080808;
  background: var(--accent);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s var(--ease);
}
.nav-cta:hover { background: var(--accent-bright); box-shadow: 0 10px 28px -8px var(--accent-glow); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 5rem;
  z-index: 1;
}

.hero-inner { position: relative; max-width: 1040px; }

.hero .eyebrow { margin-bottom: 1.75rem; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 8.5vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 1.85rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}
.hero-title .word-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.08em;
}
body.hero-in .hero-title .word { transform: translateY(0); }
/* staggered delays */
body.hero-in .line:nth-child(1) .word:nth-child(1) { transition-delay: 0.05s; }
body.hero-in .line:nth-child(1) .word:nth-child(2) { transition-delay: 0.12s; }
body.hero-in .line:nth-child(2) .word:nth-child(1) { transition-delay: 0.19s; }
body.hero-in .line:nth-child(2) .word:nth-child(2) { transition-delay: 0.26s; }
body.hero-in .line:nth-child(2) .word:nth-child(3) { transition-delay: 0.33s; }
body.hero-in .line:nth-child(2) .word:nth-child(4) { transition-delay: 0.40s; }
body.hero-in .line:nth-child(3) .word:nth-child(1) { transition-delay: 0.47s; }
body.hero-in .line:nth-child(3) .word:nth-child(2) { transition-delay: 0.54s; }
body.hero-in .line:nth-child(3) .word:nth-child(3) { transition-delay: 0.61s; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 2.4rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.9rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 0.55rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

.scroll-cue {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--accent);
  animation: scrollDown 1.8s var(--ease) infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.marquee-track .sep { color: var(--accent); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   CAPABILITIES
   ============================================================ */
.section-capabilities { border-top: 0; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.cap-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem 2rem;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.5s var(--ease);
  transform-style: preserve-3d;
}
.cap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 255, 61, 0.10), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.cap-card:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }
.cap-card:hover::before { opacity: 1; }

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(201, 255, 61, 0.18);
  color: var(--accent);
  margin-bottom: 1.4rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.cap-icon svg { width: 24px; height: 24px; }
.cap-card:hover .cap-icon { transform: translateZ(30px) scale(1.05); box-shadow: 0 12px 30px -10px var(--accent-glow); }

.cap-card h3 { margin-bottom: 0.6rem; transform: translateZ(18px); }
.cap-card p { font-size: 0.94rem; line-height: 1.55; transform: translateZ(10px); }

/* ============================================================
   APPROACH STATEMENT
   ============================================================ */
.section-approach {
  text-align: center;
  padding: clamp(6rem, 13vw, 11rem) 0;
}
.approach-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.approach-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.6vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 1000px;
  margin: 0 auto;
}
.reveal-word {
  display: inline-block;
  opacity: 0.16;
  transition: opacity 0.5s var(--ease), color 0.5s var(--ease);
  margin-right: 0.22em;
}
.reveal-word.lit { opacity: 1; }
.reveal-word.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.reveal-word.accent.lit { opacity: 1; }

/* ============================================================
   PROCESS
   ============================================================ */
.section-process { border-top: 1px solid var(--border); }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem 1.55rem 1.65rem;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.5s var(--ease);
  transform-style: preserve-3d;
}
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 255, 61, 0.08), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.step:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }
.step:hover::before { opacity: 1; }

.step-ghost {
  position: absolute;
  top: -0.5rem; right: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.04em;
  pointer-events: none;
  transition: color 0.5s var(--ease);
}
.step:hover .step-ghost { color: rgba(201, 255, 61, 0.06); }

.step-num {
  align-self: flex-start;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  padding: 0.32rem 0.62rem;
  background: var(--accent-dim);
  border-radius: 7px;
}
.step h3 { margin-bottom: 0.55rem; font-size: 1.12rem; position: relative; }
.step p { font-size: 0.9rem; line-height: 1.55; position: relative; }

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: clamp(6rem, 13vw, 11rem) 0;
}
.contact-inner { max-width: 860px; margin: 0 auto; }
.section-contact .section-num { color: var(--accent); }

.contact-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0.85rem 0 1.5rem;
}
.contact-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-contact .section-lede { margin: 0 auto 2.5rem; }

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2.5rem;
  padding-bottom: 0.35rem;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.5s var(--ease), color 0.4s var(--ease);
}
.contact-email:hover { color: var(--accent); background-size: 100% 2px; }

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
  overflow: hidden;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 3rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--accent); }

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 19vw, 16rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.01));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1rem 0 2rem;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.footer-tag { font-size: 0.9rem; color: var(--text-muted); }
.footer-meta { font-size: 0.8rem; color: var(--text-dim); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out), filter 0.85s var(--ease-out);
}
[data-reveal].in-view {
  opacity: 1;
  transform: none;
  filter: none;
}
/* stagger children inside grids */
.cap-grid [data-reveal].in-view,
.steps [data-reveal].in-view { transition-delay: calc(var(--i, 0) * 60ms); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-link { display: none; }
  .brand-name { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1; }
  .scroll-cue { display: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .step { padding: 1.6rem 1.4rem 1.45rem; }
  .cap-card { padding: 1.8rem 1.55rem 1.7rem; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-title .word { transform: none !important; }
  .reveal-word { opacity: 1 !important; }
  .cursor, .cursor-ring { display: none !important; }
  .blob, .grain { animation: none !important; }
  .particles { display: none !important; }
}
