/* ============================================
   Creatures Digital — Interactive Business Site
   Custom effects. No frameworks. No AI template.
   ============================================ */

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

:root {
  --bg: #080a0f;
  --bg-elevated: #0d1018;
  --bg-card: #111420;
  --bg-terminal: #0c0e14;
  --border: #1a2030;
  --border-light: #2a3050;
  --text: #a8b0c0;
  --text-dim: #5a6070;
  --text-bright: #e4e8f0;
  --accent: #c9a45c;
  --accent-glow: rgba(201, 164, 92, 0.12);
  --accent-bright: #e4c97a;
  --accent-dim: #8a7340;
  --green: #5fb38a;
  --green-dim: #3a7a5a;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
  --radius: 8px;
  --radius-sm: 4px;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--accent-bright);
}

/* --- Cursor Glow --- */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
body:hover .cursor-glow {
  opacity: 1;
}
@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* --- Noise Overlay (disabled) --- */
.noise-overlay {
  display: none;
}

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 101;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 10px var(--accent-glow);
  transition: width 0.05s linear;
}

/* --- Text Scramble --- */
.scramble-hover {
  font-family: var(--font-mono);
}
.scramble-hover:hover {
  color: var(--accent);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 15, 0.75);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-bright);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-link:hover {
  color: var(--text-bright);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: var(--bg) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-bright);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 8px 0;
}
.mobile-nav a {
  padding: 14px 24px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav[hidden] {
  display: none;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 0 60px;
}

#network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, var(--bg) 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.hero-logo img {
  width: 470px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(201, 164, 92, 0.25));
  transition: transform 0.3s ease;
}
.hero-logo:hover img {
  transform: scale(1.05);
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  min-height: 3.8rem;
}

.typing-text {
  display: inline;
}

.typing-cursor {
  display: inline;
  color: var(--accent);
  font-weight: 400;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: var(--bg);
  position: relative;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim), var(--accent));
  background-size: 200% 200%;
  border-radius: calc(var(--radius) + 2px);
  z-index: -1;
  opacity: 0.6;
  animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.3; filter: blur(8px); }
  50% { opacity: 0.7; filter: blur(12px); }
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}
.btn-primary:active::after {
  width: 200px;
  height: 200px;
}

.btn-secondary {
  background: transparent;
  color: var(--text-bright);
  border: 1.5px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-full {
  width: 100%;
}

.hero-trust {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.trust-item:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: fadePulse 2s ease-in-out infinite;
}
@keyframes fadePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}
.scroll-indicator span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}
.mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
}
.wheel {
  width: 3px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* --- Stats Bar --- */
.stats-bar {
  padding: 48px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Sections --- */
section {
  padding: 100px 0;
}

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

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --- Services --- */
.services {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s ease, transform 0.1s ease;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.service-card:hover {
  border-color: var(--border-light);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.service-card:hover .card-glow {
  opacity: 1;
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.service-card p {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* --- Work --- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-item {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.work-item:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.work-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.work-visual::after {
  content: '';
  position: absolute;
  top: var(--spotlight-y, 50%);
  left: var(--spotlight-x, 50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.work-item:hover .work-visual::after {
  opacity: 1;
}

.work-visual-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.work-icon {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}

.work-icon-detail {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.15);
}

.work-content {
  padding: 28px;
}

.work-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.work-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.work-item > .work-content > p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 16px;
}

.work-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}
.work-meta li {
  font-size: 0.72rem;
  color: var(--text-dim);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.site-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 12px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.site-link:hover {
  color: var(--accent-bright);
  gap: 8px;
}

/* Live Sites section variant */
.live-sites {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.work-link {
  display: block;
}
.work-link:hover .work-visual {
  filter: brightness(1.1);
}
.work-link:hover .work-icon-detail {
  color: var(--accent);
}

/* --- Industries --- */
.industries {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.industries-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.industry-pill {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 100px;
  transition: all 0.25s ease;
  cursor: default;
}
.industry-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-1px);
}

/* --- Process (Terminal) --- */
.process-section {
  background: var(--bg);
}

.terminal-window {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}
.terminal-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.terminal-buttons span:nth-child(1) { background: #ff5f56; }
.terminal-buttons span:nth-child(2) { background: #ffbd2e; }
.terminal-buttons span:nth-child(3) { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-left: auto;
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.terminal-prompt {
  color: var(--green);
  font-weight: 600;
}

.terminal-command {
  color: var(--text-bright);
}

.terminal-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

.terminal-output {
  padding: 16px 0 8px 24px;
  border-left: 2px solid var(--border);
  margin-left: 4px;
  margin-bottom: 16px;
}

.step-line {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.step-line.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-check {
  display: inline-block;
  color: var(--green);
  font-size: 0.75rem;
  margin-right: 10px;
  font-weight: 600;
}

.step-title {
  color: var(--text-bright);
  font-weight: 600;
  font-size: 0.88rem;
}

.step-desc {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 4px;
  margin-left: 0;
  line-height: 1.6;
  font-family: var(--font);
}

.success-line {
  margin-top: 8px;
}
.success-line .terminal-command {
  color: var(--accent);
}

/* --- Contact --- */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Contact Terminal */
.contact-terminal {
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.ct-header {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.ct-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ct-header span:nth-child(1) { background: #ff5f56; }
.ct-header span:nth-child(2) { background: #ffbd2e; }
.ct-header span:nth-child(3) { background: #27c93f; }

.ct-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.8;
}

.ct-line {
  margin-bottom: 2px;
}

.ct-prompt {
  color: var(--green);
  font-weight: 600;
}

.ct-cmd {
  color: var(--text-bright);
}

.ct-output {
  padding: 8px 0 8px 16px;
  border-left: 2px solid var(--border);
  margin: 8px 0 12px 4px;
}

.ct-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 4px;
}

.ct-key {
  color: var(--accent-dim);
  min-width: 70px;
  font-weight: 500;
}

.ct-row a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.ct-row a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.ct-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.label-hint {
  font-weight: 400;
  color: var(--text-dim);
  font-size: 0.72rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text-bright);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6070' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo-mark {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.footer-brand .logo-text {
  font-weight: 700;
  color: var(--text-bright);
  font-size: 0.95rem;
}
.header-logo {
  width: 200px;
  height: auto;
  display: block;
}

.footer-logo {
  width: 120px;
  height: auto;
  display: block;
}

.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}
.footer-nav a:hover {
  color: var(--text-bright);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* --- Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-nav {
    display: flex;
  }
  .hero {
    padding: 60px 0 40px;
    min-height: auto;
  }
  .hero h1 {
    min-height: auto;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .contact-form {
    padding: 24px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-brand {
    flex-direction: column;
    gap: 4px;
  }
  .footer-brand p {
    margin-left: 0;
  }
  section {
    padding: 60px 0;
  }
  .scroll-indicator {
    display: none;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .typing-cursor,
  .terminal-cursor,
  .ct-cursor {
    animation: none;
    opacity: 1;
  }
  .scroll-indicator {
    animation: none;
  }
  .mouse .wheel {
    animation: none;
    top: 12px;
  }
  .service-card,
  .work-item,
  .btn-primary,
  .industry-pill {
    transition: none;
  }
  .cursor-glow {
    display: none;
  }
}
