/* ============================================================
   eStreet Monks — design tokens
   ============================================================ */
:root {
  --bg: #05060b;
  --bg-alt: #0a0c16;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.07);
  --text: #f5f5fb;
  --text-muted: #9aa0b8;
  --text-dim: #6b7189;

  --violet: #7c5cff;
  --cyan: #22d3ee;
  --pink: #ff3dad;
  --grad-full: linear-gradient(120deg, var(--violet) 0%, var(--cyan) 55%, var(--pink) 100%);
  --grad-two: linear-gradient(120deg, var(--violet), var(--cyan));

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

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

  --container: 1200px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote, ul, ol {
  margin: 0;
}
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

@media (min-width: 768px) {
  .container { padding-inline: 40px; }
}

/* ============================================================
   Utility
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--pink);
  color: #05060b;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 10000;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

.text-muted-grad {
  background: var(--grad-full);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.tag-index {
  color: var(--cyan);
  font-weight: 600;
}
.dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255, 61, 173, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 61, 173, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 61, 173, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 61, 173, 0); }
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.section-sub {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

/* Focus visibility (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Custom cursor (desktop only — hover-capable, fine pointer)
   ============================================================ */
.cursor-dot, .cursor-ring { display: none; }

@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--pink);
  }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
                border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
  }
  .cursor-ring.is-hover {
    width: 58px; height: 58px;
    border-color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
  }
  body { cursor: none; }
  a, button, input, textarea, select { cursor: none; }
}

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-mark {
  animation: preloaderSpin 1.1s var(--ease-soft) infinite alternate;
}
@keyframes preloaderSpin {
  0% { transform: scale(0.85) rotate(-4deg); opacity: 0.5; }
  100% { transform: scale(1.05) rotate(4deg); opacity: 1; }
}

/* ============================================================
   Grain overlay
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.035;
  mix-blend-mode: overlay;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out), padding 0.35s var(--ease-out), border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 6, 11, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom-color: var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-word {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.logo-word em {
  font-style: normal;
  font-weight: 700;
  background: var(--grad-full);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--grad-two);
  transition: width 0.3s var(--ease-out);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 34px; height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.nav-toggle span {
  width: 16px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: rgba(8, 9, 16, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid transparent;
  transition: max-height 0.4s var(--ease-out), border-color 0.4s;
  display: flex;
  flex-direction: column;
}
.mobile-nav.is-open {
  max-height: 400px;
  border-top-color: var(--border-soft);
}
.mobile-nav a {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 1.05rem;
  font-family: 'Space Grotesk', sans-serif;
}

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
  white-space: nowrap;
}
.btn span { position: relative; z-index: 1; }

.btn-primary {
  background: var(--grad-full);
  background-size: 200% 200%;
  color: #05060b;
  box-shadow: 0 8px 30px -8px rgba(124, 92, 255, 0.55);
}
.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 12px 40px -6px rgba(255, 61, 173, 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
}

.btn-ghost {
  display: none;
  color: var(--text);
  padding: 10px 20px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
@media (min-width: 900px) { .btn-ghost { display: inline-flex; } }

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(5, 6, 11, 0.25);
  border-top-color: #05060b;
  display: none;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 1200px;
  height: 1200px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22) 0%, rgba(34, 211, 238, 0.10) 35%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-gradient .word {
  background: var(--grad-full);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 40px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line { width: 1px; height: 46px; background: var(--border); position: relative; overflow: hidden; }
.scroll-line i {
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--grad-two);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
@media (max-width: 640px) { .scroll-cue { display: none; } }

/* Reveal-on-scroll base state (JS adds .is-visible) */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee-section {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 90s; }
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
}
.marquee-group span:not(.sep) {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dim);
}
.marquee-group .sep { color: var(--pink); font-size: 1rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Services
   ============================================================ */
.services { padding: 130px 0; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease-out), border-color 0.3s, background 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card:hover {
  border-color: rgba(124, 92, 255, 0.4);
  background: var(--surface-strong);
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid var(--border-soft);
  color: var(--cyan);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card p { color: var(--text-muted); font-size: 0.97rem; }

/* ============================================================
   Process
   ============================================================ */
.process { padding: 100px 0 130px; background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.process-list { display: flex; flex-direction: column; }
.process-step {
  display: flex;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--border-soft);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.process-step:last-child { border-bottom: 1px solid var(--border-soft); }
.process-step.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .process-step { opacity: 1; transform: none; } }

.process-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--text-dim);
  min-width: 44px;
  padding-top: 4px;
}
.process-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.process-body h3 em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-dim);
  font-size: 1rem;
}
.process-body p { color: var(--text-muted); max-width: 60ch; }

/* ============================================================
   Capability strip
   ============================================================ */
.capability { padding: 90px 0; }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
}
@media (min-width: 900px) { .capability-grid { grid-template-columns: repeat(4, 1fr); } }
.capability-item { text-align: left; }
.capability-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--grad-full);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.capability-item p { color: var(--text-muted); margin-top: 8px; font-size: 0.95rem; max-width: 22ch; }

/* ============================================================
   Work grid
   ============================================================ */
.work { padding: 60px 0 130px; }
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }

.work-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  transform-style: preserve-3d;
  transition: border-color 0.3s;
}
.work-card:hover { border-color: rgba(255, 255, 255, 0.25); }
.work-card-visual {
  height: 140px;
  background: var(--grad);
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  position: relative;
}
.work-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 60%);
}
.work-card-visual span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: rgba(5, 6, 11, 0.75);
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.work-card-body { padding: 26px 26px 30px; }
.work-card-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.work-card-body p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 40px 0 130px; }
.faq-list { border-top: 1px solid var(--border-soft); }
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px; height: 20px;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out);
}
.faq-icon::before { width: 14px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-answer p {
  padding: 0 4px 26px;
  max-width: 68ch;
  color: var(--text-muted);
}
@media (prefers-reduced-motion: reduce) {
  .faq-icon::before, .faq-icon::after { transition: none; }
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner { padding: 0 0 130px; }
.cta-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 80px 32px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.08), rgba(5, 6, 11, 0));
}
.cta-panel-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255, 61, 173, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-panel h2 {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-panel p {
  position: relative;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 34px;
  font-size: 1.05rem;
}
.cta-panel .btn { position: relative; }

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: 0 0 140px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
}

.contact-points { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.contact-points li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
}
.contact-points strong { color: var(--text); font-weight: 600; }
.contact-points span { color: var(--text-muted); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.form-field label em { color: var(--pink); font-style: normal; }
.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.98rem;
}
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa0b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.05);
  outline: none;
}
.form-field.has-error input,
.form-field.has-error textarea { border-color: #ff5c7a; }
.field-error {
  font-size: 0.8rem;
  color: #ff5c7a;
  min-height: 1em;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status {
  text-align: center;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.form-status.success { color: #4ade80; }
.form-status.error { color: #ff5c7a; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 70px;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-bottom: 50px;
}
@media (min-width: 800px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
.footer-brand p { margin-top: 16px; color: var(--text-muted); font-size: 0.92rem; max-width: 30ch; }
.footer-nav { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-nav h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-nav a { display: block; color: var(--text-muted); padding: 6px 0; font-size: 0.95rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
@media (min-width: 800px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; padding: 22px 40px; }
}

