/* ── DESIGN TOKENS ── */
:root {
  /* Dark theme (default) */
  --bg: #0a0c12;
  --bg2: #10121a;
  --bg3: #181b26;
  --bg4: #1e2130;
  --border: #242840;
  --border-subtle: #1a1d2e;
  --muted: #353a5c;
  --text-dim: #5a618a;
  --text: #9ea5cc;
  --text-bright: #dde3f8;
  --accent: #4a7fd4;
  --accent2: #7aa8f0;
  --accent-dim: #152140;
  --accent-glow: rgba(74, 127, 212, 0.15);
  --navy: #0d1020;

  /* Light theme tokens */
  --light-bg: #f4f6fb;
  --light-bg2: #e8ecf6;
  --light-text: #0f1225;
  --light-muted: #5a618a;

  /* Spacing scale */
  --space-xs: clamp(8px, 1vw, 12px);
  --space-sm: clamp(12px, 1.5vw, 20px);
  --space-md: clamp(20px, 3vw, 40px);
  --space-lg: clamp(40px, 6vw, 80px);
  --space-xl: clamp(60px, 8vw, 120px);

  /* Typography */
  --font-display: 'IBM Plex Mono', monospace;
  --font-body: 'JetBrains Mono', monospace;
  --font-code: 'Fira Code', monospace;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ── LIGHT MODE ── */
body.light {
  --bg: #f4f6fb;
  --bg2: #edf0f9;
  --bg3: #e4e8f4;
  --bg4: #d8dff0;
  --border: #c8d0e8;
  --border-subtle: #d8dff0;
  --muted: #8a93b8;
  --text-dim: #6070a0;
  --text: #2a3060;
  --text-bright: #0f1225;
  --accent: #3a6cc0;
  --accent2: #4a7fd4;
  --accent-dim: #c8d8f0;
  --accent-glow: rgba(74, 127, 212, 0.1);
  --navy: #e8ecf8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ── CUSTOM CURSOR (desktop only) ── */
@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

.cursor {
  width: 8px; height: 8px;
  background: var(--accent2);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
}

.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(107, 159, 232, 0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              border-color 0.25s ease;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 clamp(20px, 4vw, 56px);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 12, 18, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

body.light nav {
  background: rgba(244, 246, 251, 0.85);
}

nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  color: var(--text-bright);
  text-decoration: none;
  display: flex; flex-direction: column; gap: 2px;
  line-height: 1; flex-shrink: 0;
}

.nav-logo .lockup { display: flex; align-items: center; }
.nav-logo .b { color: var(--accent2); font-weight: 300; font-size: 19px; }
.nav-logo .bang { color: var(--accent2); }
.nav-logo .d { color: var(--text); font-weight: 300; }

.nav-center {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  list-style: none;
}

.nav-center a {
  font-size: 10px; color: var(--text-dim);
  text-decoration: none; letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}

.nav-center a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--accent2);
  transform: scaleX(0); transition: transform 0.2s var(--ease-out);
}

.nav-center a:hover { color: var(--accent2); }
.nav-center a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex; align-items: center; gap: 12px;
}

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: var(--bg3); color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  cursor: none; font-size: 14px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  border-radius: 2px; flex-shrink: 0;
}

.theme-toggle:hover { border-color: var(--accent2); color: var(--accent2); }

.nav-cta {
  font-size: 10px; font-family: var(--font-body);
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 20px;
  background: var(--accent); color: #fff;
  border: none; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: none; padding: 8px; margin: -8px;
}

.nav-hamburger span {
  width: 22px; height: 1.5px;
  background: var(--text-bright);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  display: block;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed; top: 64px; left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: clamp(24px, 5vw, 40px);
  display: flex; flex-direction: column; gap: 8px;
  z-index: 190;
  transform: translateY(-4px); opacity: 0; pointer-events: none;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.nav-drawer.open { transform: translateY(0); opacity: 1; pointer-events: all; }

.nav-drawer a {
  font-size: 13px; color: var(--text);
  text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 0; border-bottom: 1px solid var(--border-subtle);
  transition: color 0.2s;
}

.nav-drawer a:hover { color: var(--accent2); }
.nav-drawer a.cta {
  background: var(--accent); color: #fff;
  text-align: center; padding: 14px;
  border: none; margin-top: 8px;
}

/* ── HERO ── */
#hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(100px, 15vh, 140px) clamp(20px, 4vw, 56px) clamp(60px, 8vw, 80px);
  position: relative; overflow: hidden;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74, 127, 212, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 127, 212, 0.035) 1px, transparent 1px);
  background-size: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 56px);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 100%);
}

.hero-orb {
  position: absolute; pointer-events: none;
  border-radius: 50%;
}

.hero-orb-1 {
  top: -10%; left: 60%;
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: radial-gradient(circle, rgba(74, 127, 212, 0.12) 0%, transparent 65%);
}

.hero-orb-2 {
  bottom: 0; left: -5%;
  width: clamp(200px, 25vw, 380px);
  height: clamp(200px, 25vw, 380px);
  background: radial-gradient(circle, rgba(107, 159, 232, 0.06) 0%, transparent 65%);
}

.hero-content {
  position: relative; max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.hero-main { grid-column: 1; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; color: var(--text-dim);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: clamp(16px, 2vw, 24px);
  opacity: 0; animation: fadeUp 0.6s var(--ease-out) 0.1s forwards;
}

.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent2);
  animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 7.5vw, 96px);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--text-bright);
  margin-bottom: clamp(16px, 2vw, 24px);
  opacity: 0; animation: fadeUp 0.75s var(--ease-out) 0.25s forwards;
}

.hero-headline .bracket { color: var(--accent2); font-weight: 300; }

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 300; font-style: italic;
  color: var(--text-dim);
  margin-bottom: clamp(20px, 3vw, 36px);
  opacity: 0; animation: fadeUp 0.75s var(--ease-out) 0.4s forwards;
}

.hero-sub strong { color: var(--accent2); font-style: normal; font-weight: 700; }

.hero-body {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--text); max-width: 500px; line-height: 1.9;
  margin-bottom: clamp(32px, 4vw, 52px);
  opacity: 0; animation: fadeUp 0.75s var(--ease-out) 0.55s forwards;
}

.hero-actions {
  display: flex; align-items: center;
  gap: clamp(16px, 2vw, 28px); flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.75s var(--ease-out) 0.7s forwards;
}

.btn-primary {
  padding: clamp(12px, 1.5vw, 16px) clamp(24px, 3vw, 40px);
  background: var(--accent); color: #fff;
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; border: none;
  cursor: none; display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74, 127, 212, 0.35);
}

.btn-ghost {
  font-size: 11px; color: var(--text-dim);
  text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid var(--muted); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover { color: var(--text-bright); border-color: var(--text-bright); }

/* Hero sidebar stats */
.hero-stats {
  display: flex; flex-direction: column; gap: clamp(16px, 2vw, 28px);
  opacity: 0; animation: fadeIn 0.8s ease 1s forwards;
}

.stat-block {
  text-align: right;
  padding-right: clamp(16px, 2vw, 24px);
  border-right: 2px solid var(--accent-dim);
}

.stat-num {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; color: var(--text-bright); line-height: 1;
}

.stat-label {
  font-size: 9px; color: var(--text-dim);
  letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: clamp(24px, 4vw, 40px); left: clamp(20px, 4vw, 56px);
  display: flex; align-items: center; gap: 12px;
  font-size: 9px; color: var(--muted);
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0; animation: fadeIn 1s ease 1.4s forwards;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.5s ease infinite;
}

@keyframes scrollPulse { 0%, 100% { opacity: 0.3 } 50% { opacity: 1 } }

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--accent);
  padding: 13px 0;
  overflow: hidden; white-space: nowrap;
  position: relative;
}

.marquee-inner {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0 clamp(20px, 3vw, 40px);
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
}

.marquee-item::after { content: '//'; color: rgba(255,255,255,0.35); }

@keyframes marquee {
  from { transform: translateX(0) }
  to { transform: translateX(-50%) }
}

/* ── SERVICES ── */
#services {
  background: var(--light-bg);
  padding: var(--space-xl) clamp(20px, 4vw, 56px);
  transition: background 0.3s;
}

body.light #services { background: var(--light-bg); }

.section-header {
  max-width: 1200px; margin: 0 auto var(--space-lg);
}

.section-eyebrow {
  font-size: 9px; color: var(--accent);
  letter-spacing: 0.35em; text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}

.section-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700; color: var(--light-text); line-height: 1.1;
}

.section-title .accent { color: var(--accent); }

.setup-note {
  max-width: 1200px; margin: 0 auto clamp(20px, 3vw, 32px);
  text-align: center;
}

.setup-note span {
  font-size: 11px; color: var(--light-muted);
  background: var(--light-bg2);
  padding: 10px 24px; display: inline-block;
  border: 1px solid rgba(74, 127, 212, 0.15);
}

.setup-note strong { color: var(--light-text); }

.pricing-grid {
  max-width: 820px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2px;
}

.pricing-card {
  background: #fff; padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px);
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

body.light .pricing-card { background: #fff; }

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(74, 127, 212, 0.12);
}

.pricing-card.featured {
  background: var(--bg); color: var(--text);
}

body.light .pricing-card.featured {
  background: var(--light-text); color: #fff;
}

.pricing-card.featured .pricing-desc { color: var(--text-dim); }

.pricing-card.featured .feature-item {
  color: var(--text); border-color: var(--border);
}

.featured-badge {
  position: absolute; top: -1px; left: clamp(20px, 3vw, 36px);
  background: var(--accent); color: #fff;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 12px;
}

.pricing-name {
  font-size: 16px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px; font-weight: 600;
}

.pricing-price {
  font-family: var(--font-display); font-size: clamp(40px, 5vw, 54px);
  font-weight: 700; color: var(--light-text); line-height: 1;
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-price { color: var(--text-bright); }
body.light .pricing-card.featured .pricing-price { color: #fff; }

.pricing-price sup { font-size: 20px; vertical-align: super; font-weight: 400; }
.pricing-price span { font-size: 14px; font-weight: 300; color: var(--light-muted); }
.pricing-card.featured .pricing-price span { color: var(--text-dim); }

.pricing-desc {
  font-size: 11px; color: var(--light-muted);
  margin-bottom: clamp(24px, 3vw, 36px); line-height: 1.7;
}

.feature-list { list-style: none; margin-bottom: clamp(28px, 3vw, 40px); }

.feature-item {
  font-size: 11px; color: var(--light-text);
  padding: 10px 0; border-bottom: 1px solid var(--light-bg2);
  display: flex; align-items: center; gap: 10px; line-height: 1.4;
}

.pricing-card.featured .feature-item { color: var(--text); border-color: var(--border); }

.feature-item::before { content: '→'; color: var(--accent); font-size: 10px; flex-shrink: 0; }

.pricing-btn {
  display: block; text-align: center; padding: 14px;
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--accent-dim); color: var(--accent);
  transition: all 0.2s; cursor: none;
}

.pricing-btn:hover,
.pricing-card.featured .pricing-btn {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

.pricing-card.featured .pricing-btn:hover { background: var(--accent2); border-color: var(--accent2); }

/* ── PORTFOLIO ── */
#work {
  background: var(--bg); padding: var(--space-xl) clamp(20px, 4vw, 56px);
  transition: background 0.3s;
}

#work .section-title { color: var(--text-bright); }
#work .section-eyebrow { color: var(--accent2); }
#work .section-eyebrow::before { background: var(--accent2); }

.portfolio-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.portfolio-card {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10; background: var(--bg2);
  cursor: none;
}

.portfolio-card.wide {
  grid-column: span 2; aspect-ratio: 16/6;
}

.portfolio-mockup {
  width: 100%; height: 100%; padding: clamp(16px, 2.5vw, 28px);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.4s var(--ease-out);
}

.portfolio-card:hover .portfolio-mockup { transform: scale(1.025); }

.mock-browser {
  background: var(--bg3); border-radius: 4px;
  overflow: hidden; flex: 1; display: flex; flex-direction: column;
}

.mock-bar {
  background: var(--border); padding: 7px 12px;
  display: flex; align-items: center; gap: 6px;
}

.mock-dot { width: 7px; height: 7px; border-radius: 50%; }

.mock-url {
  flex: 1; background: var(--bg2); border-radius: 2px;
  padding: 3px 10px; font-size: 8px; color: var(--text-dim); margin-left: 8px;
}

.mock-body {
  flex: 1; padding: clamp(10px, 2vw, 16px);
  display: flex; flex-direction: column; gap: 7px;
}

.mock-hero-img {
  width: 100%; height: clamp(50px, 8vw, 90px);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  font-size: clamp(9px, 1.3vw, 14px); color: rgba(255,255,255,0.6);
  font-style: italic;
}

.mock-h1 { height: 9px; border-radius: 2px; background: var(--border); }
.mock-h2 { height: 6px; border-radius: 2px; background: var(--muted); width: 60%; }
.mock-p { height: 4px; border-radius: 2px; background: var(--border); }
.mock-p.short { width: 70%; }
.mock-btn-sm { height: 20px; width: 72px; border-radius: 2px; background: var(--accent-dim); margin-top: 3px; }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,7,14,0.96) 0%, rgba(5,7,14,0.2) 60%, transparent 100%);
  padding: clamp(16px, 2.5vw, 28px);
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
  font-size: 9px; color: var(--accent2);
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px;
}

.portfolio-title {
  font-family: var(--font-display); font-size: clamp(14px, 2vw, 20px);
  font-weight: 600; color: var(--text-bright); margin-bottom: 4px;
}

.portfolio-desc { font-size: 11px; color: var(--text-dim); }

.theme-hvac { background: linear-gradient(135deg, #0d1f35, #1a3a5c); }
.theme-salon { background: linear-gradient(135deg, #1a1020, #3d1f4a); }
.theme-gym { background: linear-gradient(135deg, #1a0d0d, #4a1010); }
.theme-restaurant { background: linear-gradient(135deg, #2d1a0e, #5c3317); }
.theme-plumber { background: linear-gradient(135deg, #0d1a10, #1a3d20); }

/* ── ABOUT ── */
#about {
  background: var(--light-bg); padding: var(--space-xl) clamp(20px, 4vw, 56px);
  transition: background 0.3s;
}

.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(48px, 7vw, 96px); align-items: center;
}

.about-text .section-title { color: var(--light-text); }

.about-body {
  font-size: clamp(12px, 1.4vw, 14px); color: #4a5070;
  line-height: 1.95; margin: clamp(20px, 3vw, 32px) 0;
}

.about-body p + p { margin-top: 14px; }

.about-detail {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-top: 1px solid var(--light-bg2);
}

.about-detail:last-child { border-bottom: 1px solid var(--light-bg2); }

.detail-icon {
  font-family: var(--font-display); font-size: 12px;
  color: var(--accent); min-width: 28px; font-weight: 600;
}

.detail-text { font-size: 11px; color: var(--light-muted); line-height: 1.7; }

.about-visual { position: relative; }

.about-card-stack {
  position: relative;
  height: clamp(300px, 35vw, 420px);
}

.acard {
  position: absolute; background: var(--bg);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  width: min(360px, 90%);
  transition: transform 0.3s var(--ease-out);
}

.acard:hover { transform: translateY(-4px) !important; }

.acard:nth-child(1) { top: 0; left: 0; transform: rotate(-2.5deg); z-index: 1; }
.acard:nth-child(2) { top: clamp(80px, 12vw, 130px); left: clamp(20px, 3vw, 50px); transform: rotate(1.5deg); z-index: 2; }
.acard:nth-child(3) { top: clamp(160px, 23vw, 260px); left: clamp(10px, 2vw, 30px); transform: rotate(-1deg); z-index: 3; }

.acard-label {
  font-size: 8px; color: var(--accent2);
  letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 10px;
}

.acard-value {
  font-family: var(--font-display); font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700; color: var(--text-bright);
}

.acard-sub { font-size: 10px; color: var(--text-dim); margin-top: 4px; }

/* ── FAQ ── */
#faq {
  background: var(--bg2); padding: var(--space-xl) clamp(20px, 4vw, 56px);
  transition: background 0.3s;
}

#faq .section-title { color: var(--text-bright); }
#faq .section-eyebrow { color: var(--accent2); }
#faq .section-eyebrow::before { background: var(--accent2); }

.faq-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 2px;
}

.faq-item {
  background: var(--bg3); padding: clamp(24px, 3.5vw, 40px) clamp(20px, 3vw, 36px);
  cursor: none; transition: background 0.2s;
}

.faq-item:hover { background: #1c1f2c; }

.faq-q {
  font-size: clamp(11px, 1.3vw, 13px); font-weight: 600;
  color: var(--text-bright); margin-bottom: 12px;
  display: flex; align-items: flex-start; gap: 12px; line-height: 1.5;
}

.faq-q::before {
  content: 'Q.'; font-family: var(--font-display);
  color: var(--accent2); font-size: 11px;
  min-width: 20px; flex-shrink: 0; margin-top: 1px;
}

.faq-a {
  font-size: clamp(11px, 1.2vw, 12px); color: var(--text-dim);
  line-height: 1.85; padding-left: 32px;
}

/* ── CONTACT ── */
#contact {
  background: var(--navy); padding: var(--space-xl) clamp(20px, 4vw, 56px);
  position: relative; overflow: hidden;
  transition: background 0.3s;
}

.contact-glow {
  position: absolute; bottom: -80px; right: -80px;
  width: clamp(250px, 35vw, 500px); height: clamp(250px, 35vw, 500px);
  background: radial-gradient(circle, rgba(74, 127, 212, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.contact-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(48px, 7vw, 96px); position: relative;
}

#contact .section-title { color: var(--text-bright); }
#contact .section-eyebrow { color: var(--accent2); }
#contact .section-eyebrow::before { background: var(--accent2); }

.contact-body {
  font-size: clamp(11px, 1.3vw, 13px); color: var(--text-dim);
  line-height: 1.85; margin: clamp(16px, 2.5vw, 28px) 0 clamp(28px, 4vw, 44px);
}

.contact-detail {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border-top: 1px solid var(--border);
}

.contact-detail:last-child { border-bottom: 1px solid var(--border); }

.contact-detail-label {
  font-size: 9px; color: var(--muted);
  letter-spacing: 0.2em; text-transform: uppercase; min-width: 70px;
}

.contact-detail-val { font-size: 11px; color: var(--accent2); }

.contact-form { display: flex; flex-direction: column; gap: clamp(12px, 1.5vw, 18px); }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.5vw, 18px);
}

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-label {
  font-size: 9px; color: var(--text-dim);
  letter-spacing: 0.2em; text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body);
  font-size: clamp(11px, 1.3vw, 13px);
  padding: 13px 16px; outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: rgba(74, 127, 212, 0.04);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }

.form-select { color: var(--text-dim); appearance: none; cursor: none; }
.form-select option { background: var(--bg2); }
.form-textarea { resize: vertical; min-height: clamp(90px, 12vw, 130px); }

.form-submit {
  padding: 15px; background: var(--accent); color: #fff;
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: none; cursor: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 4px;
}

.form-submit:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(74, 127, 212, 0.3);
}

.form-submit:disabled { cursor: default; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: clamp(24px, 4vw, 36px); right: clamp(20px, 3vw, 36px);
  z-index: 150;
  width: 44px; height: 44px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--accent2); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; text-decoration: none;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out),
              background 0.2s, border-color 0.2s;
}

.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── FOOTER ── */
footer {
  background: var(--bg);
  padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: clamp(20px, 3vw, 32px);
  transition: background 0.3s;
}

.footer-logo {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--text-bright);
  display: flex; flex-direction: column; gap: 3px; line-height: 1;
}

.footer-logo .comment {
  font-family: var(--font-code); font-size: 9px; font-weight: 400; color: var(--muted);
}

.footer-logo .comment .tag { color: #3d4260; }
.footer-logo .comment .dash { color: #2e3355; }
.footer-logo .lockup { display: flex; align-items: center; }
.footer-logo .b { color: var(--accent2); font-weight: 300; font-size: 18px; }
.footer-logo .bang { color: var(--accent2); }
.footer-logo .d { color: var(--text); font-weight: 300; }

.footer-copy { font-size: 10px; color: var(--muted); }

.footer-links { display: flex; gap: clamp(16px, 2.5vw, 32px); list-style: none; }

.footer-links a {
  font-size: 10px; color: var(--text-dim); text-decoration: none;
  letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent2); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* ── RESPONSIVE BREAKPOINTS ── */

/* Large tablet / small laptop */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; gap: clamp(16px, 3vw, 32px); }
  .stat-block {
    text-align: left; border-right: none; padding-right: 0;
    border-left: 2px solid var(--accent-dim); padding-left: clamp(12px, 2vw, 20px);
  }
  .hero-scroll { display: none; }

  .about-card-stack { height: clamp(260px, 30vw, 380px); }
}

/* Tablet */
@media (max-width: 768px) {
  .nav-center, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card.wide { grid-column: span 1; aspect-ratio: 16/10; }

  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: none; }

  .faq-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  footer { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
}

/* Mobile */
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .hero-stats { flex-direction: column; gap: 12px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.1ms !important; }
  .marquee-inner { animation: none; }
}