/* manpowIT — hi-fi design tokens + base */
:root {
  --bg: #07080a;
  --bg-2: #0d0f13;
  --bg-3: #14171d;
  --ink: #f2f3f5;
  --ink-dim: #a5a9b3;
  --ink-muted: #6b6f78;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --accent: #00e0ff;
  --accent-2: #ffb347;
  --accent-glow: 0 0 40px rgba(0,224,255,0.35);
  --font-display: 'Roboto', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 14px;
  --max: 1440px;
  --pad-x: 40px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* noise + grid bg layer */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,224,255,0.08), transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(255,179,71,0.04), transparent 60%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.wrap { position: relative; z-index: 1; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* type */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 0.95; }
.display {
  font-size: 120px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.h2 {
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.italic { font-style: normal; font-family: var(--font-display); font-weight: 500; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, box-shadow .3s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #000;
  box-shadow: var(--accent-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(0,224,255,0.55); }
.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--ink-dim); }
.btn .arr {
  width: 14px; height: 14px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.btn:hover .arr { transform: translate(3px,-3px); }

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,8,10,0.72);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
  padding: 12px 40px;
}
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 8px;
}
.logo-mark {
  width: 26px; height: 26px;
  background: var(--accent);
  border-radius: 6px;
  box-shadow: var(--accent-glow);
  display: inline-flex; align-items: center; justify-content: center;
  color: #000;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -.03em;
}
.logo em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; color: var(--ink-dim);
  position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-dim);
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 40px 80px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 80px; }
.hero-title {
  display: block;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.12em;
}
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: .1s; }
.hero-title .line:nth-child(3) span { animation-delay: .2s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-title .accent { color: var(--accent); font-style: normal; font-family: var(--font-display); font-weight: 500; }
.hero-title em { font-style: normal; }

.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 40px;
  align-items: end;
  margin-top: 60px;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-dim);
  line-height: 1.5;
  max-width: 420px;
}
.hero-meta {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-muted);
}
.hero-meta .live {
  display: flex; align-items: center; gap: 8px;
  color: var(--accent);
}
.hero-meta .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.hero-ctas { display: flex; gap: 12px; }

/* floating corner coords */
.corner-label {
  position: absolute;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-muted); letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

/* scroll hint */
.scroll-hint {
  position: absolute; left: 50%; bottom: 30px;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-muted); letter-spacing: 0.3em;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(var(--accent), transparent);
  animation: drop 1.6s ease-in-out infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ─── SECTION HEADER ──────────────────────────────── */
.section {
  position: relative;
  padding: 140px 40px;
}
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
}
.section-head .left { max-width: 700px; }
.section-head h2 { margin-bottom: 12px; }
.section-num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-muted); letter-spacing: 0.3em;
  white-space: nowrap;
}
.section-sub { color: var(--ink-dim); font-size: 17px; line-height: 1.5; max-width: 520px; }

/* ─── SERVICES RAIL ───────────────────────────────── */
.services { padding: 140px 0; overflow-x: clip; overflow-y: visible; }
.services-rail { padding-top: 20px; padding-bottom: 20px; }
.services .section-head { padding: 0 40px; max-width: var(--max); margin: 0 auto 60px; }
.services-rail {
  display: flex;
  gap: 20px;
  padding: 20px 40px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.services-rail::-webkit-scrollbar { display: none; }
.svc-card {
  min-width: 380px; max-width: 380px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .4s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  min-height: 440px;
}
.svc-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .3s;
}
.svc-card:hover::before { opacity: 1; }
.svc-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.3em;
  margin-bottom: 24px;
}
.svc-title { font-size: 30px; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 12px; }
.svc-desc { color: var(--ink-dim); font-size: 15px; line-height: 1.5; margin-bottom: 24px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.svc-tag {
  font-family: var(--font-mono); font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--ink-dim);
}
.svc-icon {
  width: 100%; height: 120px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.rail-controls {
  display: flex; align-items: center; gap: 12px;
  padding: 0 40px;
  max-width: var(--max);
  margin: 30px auto 0;
}
.rail-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background .2s, border-color .2s;
}
.rail-btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.rail-progress {
  flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden;
}
.rail-progress .bar { height: 100%; background: var(--accent); width: 18%; transition: width .3s; }

/* ─── PROCESS ─────────────────────────────────────── */
.process { padding: 140px 0; }
.process .section-head { padding: 0 40px; max-width: var(--max); margin: 0 auto 80px; }
.process-list { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.process-step {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  opacity: .35;
  transition: opacity .6s, transform .6s;
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step.in-view { opacity: 1; }
.process-step .num {
  font-size: clamp(70px, 9vw, 140px);
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--ink-muted);
  line-height: 0.8;
  transition: color .5s;
  font-family: var(--font-display);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.process-step.in-view .num { color: var(--accent); }
.process-step .label {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.process-step .desc {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.5;
}

/* ─── STACK GRID ──────────────────────────────────── */
.stack { padding: 140px 0; }
.stack .section-head { padding: 0 40px; max-width: var(--max); margin: 0 auto 60px; }
.stack-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stack-cell {
  background: var(--bg-2);
  min-height: 140px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px;
  transition: background .3s, border-color .3s;
  position: relative;
  cursor: default;
}
.stack-cell:hover { background: var(--bg-3); }
.stack-cell.accent { background: var(--bg-2); }
.stack-cell.accent::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}
.stack-cell.accent .name { color: var(--accent); }
.stack-cell.accent:hover { background: var(--bg-3); }
.stack-cell .num {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.15em;
  opacity: 0.5;
}
.stack-cell .name {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stack-cell .cat {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stack-cell.accent .cat { color: var(--ink-muted); }
.stack-cell.accent .num { color: var(--accent); opacity: .9; }

/* ─── MARQUEE STATS ───────────────────────────────── */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.stats-head {
  max-width: var(--max); margin: 0 auto 40px; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
}
.stats-head h3 { font-size: 14px; font-weight: 500; color: var(--ink-dim); }
.marquee {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.stat-item {
  display: flex; align-items: baseline; gap: 14px;
  padding-right: 40px;
}
.stat-item .n {
  font-size: clamp(60px, 7vw, 110px);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.stat-item .n.accent { color: var(--accent); }
.stat-item .l {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-dim); letter-spacing: 0.15em;
  text-transform: uppercase;
  max-width: 160px;
  white-space: normal;
  line-height: 1.3;
}
.stat-item .sep {
  font-size: 60px;
  color: var(--ink-muted);
  opacity: 0.4;
  font-family: var(--font-display);
  font-weight: 300;
}

/* ─── CTA ─────────────────────────────────────────── */
.cta {
  padding: 160px 40px;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: var(--max); margin: 0 auto;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; inset: -100px;
  background: radial-gradient(ellipse 60% 80% at 80% 100%, rgba(0,224,255,0.22), transparent 60%);
  pointer-events: none;
}
.cta-inner::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 20% 0%, black, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 20px; max-width: 900px; }
.cta p { color: var(--ink-dim); font-size: 18px; max-width: 500px; margin: 0 0 36px; line-height: 1.5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-meta {
  display: flex; gap: 28px; margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.cta-meta .m {
  display: flex; flex-direction: column; gap: 4px;
}
.cta-meta .k { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: 0.2em; text-transform: uppercase; }
.cta-meta .v { font-size: 15px; color: var(--ink); }

/* ─── FOOTER ──────────────────────────────────────── */
.footer {
  padding: 40px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-muted);
  flex-wrap: wrap; gap: 20px;
}
.footer .links { display: flex; gap: 24px; }
.footer a:hover { color: var(--accent); }

/* reveal utility — bits fade + rise as they enter */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* tweaks panel */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: rgba(13,15,19,0.95);
  backdrop-filter: blur(16px);
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 16px 18px;
  min-width: 240px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  font-size: 13px;
  display: none;
}
.tweaks.open { display: block; }
.tweaks h4 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--ink-dim); font-family: var(--font-mono); letter-spacing: 0.15em; text-transform: uppercase; }
.tweaks .row { display: flex; align-items: center; justify-content: space-between; margin: 10px 0; gap: 12px; }
.tweaks label { color: var(--ink-dim); font-size: 12px; }
.tweaks .swatches { display: flex; gap: 6px; }
.tweaks .sw { width: 22px; height: 22px; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: transform .15s; }
.tweaks .sw:hover { transform: scale(1.15); }
.tweaks .sw.active { border-color: var(--ink); }
.tweaks select, .tweaks input[type=range] {
  background: var(--bg-3); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 8px;
  font-family: inherit; font-size: 12px;
}

/* WIDESCREEN — fill big monitors */
@media (min-width: 1600px) {
  :root { --max: 1640px; }
  .container, .services .section-head, .stack .section-head, .process .section-head, .process-list, .stack-grid, .stats-head, .cta-inner, .services-rail-wrap, .rail-controls { padding-left: 14px; padding-right: 14px; }
  .nav { padding: 22px 64px; }
  .nav.scrolled { padding: 14px 64px; }
  .hero { padding: 200px 64px 120px; }
  .display { font-size: 152px; }
  .section, .services, .process, .stack { padding: 180px 0; }
  .h2 { font-size: clamp(56px, 6vw, 88px); }
  .section-sub { font-size: 19px; max-width: 640px; }
  .stack-grid { grid-template-columns: repeat(6, 1fr); }
  .svc-card { min-width: 440px; max-width: 440px; min-height: 480px; padding: 36px; }
  .svc-title { font-size: 28px; }
  .footer { padding: 40px 64px; }
}

@media (min-width: 1920px) {
  :root { --max: 1840px; }
  .display { font-size: 176px; }
  .stack-grid { grid-template-columns: repeat(6, 1fr); }
  .nav { padding: 24px 80px; }
  .nav.scrolled { padding: 16px 80px; }
  .hero { padding: 240px 80px 140px; }
  .container, .services .section-head, .stack .section-head, .process .section-head, .process-list, .stack-grid, .stats-head, .cta-inner { padding-left: 80px; padding-right: 80px; }
  .footer { padding: 48px 80px; }
}

@media (min-width: 2400px) {
  :root { --max: 2200px; }
  .display { font-size: 200px; }
  .h2 { font-size: 100px; }
  .hero { padding: 280px 100px 160px; }
  .container, .services .section-head, .stack .section-head, .process .section-head, .process-list, .stack-grid, .stats-head, .cta-inner { padding-left: 2px; padding-right: 2px; }
  .nav { padding: 26px 100px; }
  .nav.scrolled { padding: 18px 100px; }
  .section, .services, .process, .stack { padding: 220px 0; }
}

/* responsive */
@media (max-width: 900px) {
  .container, .section, .services .section-head, .stack .section-head, .process .section-head { padding-left: 24px; padding-right: 24px; }
  .nav { padding: 14px 20px; gap: 12px; }
  .nav.scrolled { padding: 10px 20px; }
  .hero { padding: 120px 24px 60px; min-height: auto; }
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero-top { margin-bottom: 40px; }
  .nav-links { display: none; }
  .nav-cta > span { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .process-step { grid-template-columns: 80px 1fr; gap: 20px; }
  .process-step .desc { grid-column: 2; }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .services-rail { padding-left: 24px; padding-right: 24px; }
  .svc-card { min-width: 280px; max-width: 280px; padding: 22px; min-height: 380px; }
  .cta { padding: 80px 24px; }
  .cta-inner { padding: 48px 28px; }
}

/* MOBILE — phone */
@media (max-width: 640px) {
  :root { --section-pad: 80px; }
  html, body { overflow-x: hidden; }
  body { font-size: 15px; }

  /* typography shrinks */
  .display { font-size: clamp(44px, 12vw, 72px); letter-spacing: -0.035em; line-height: 1; }
  .h2 { font-size: clamp(32px, 8vw, 48px); }
  .h3 { font-size: 22px; }

  /* nav — keep logo + CTA only */
  .nav { padding: 12px 16px; gap: 8px; }
  .nav.scrolled { padding: 10px 16px; }
  .logo { font-size: 18px; gap: 6px; }
  .logo-mark { width: 24px; height: 24px; font-size: 12px; }
  .nav-cta { gap: 0; }
  .nav-cta .btn { padding: 9px 14px !important; font-size: 12px !important; gap: 6px; }

  /* hero */
  .hero { padding: 100px 20px 60px; }
  .corner-label { display: none; }
  .hero-top { margin-bottom: 32px; }
  .eyebrow { font-size: 10px; letter-spacing: .18em; }
  .hero-title .line { padding-bottom: 0.2em; margin-bottom: -0.14em; }
  .hero-bottom { gap: 24px; margin-top: 40px; }
  .hero-sub { font-size: 16px; max-width: none; }
  .hero-meta { font-size: 11px; gap: 8px; }
  .hero-ctas { flex-wrap: wrap; gap: 10px; }
  .hero-ctas .btn { font-size: 14px; padding: 12px 18px; }
  .scroll-hint { display: none; }

  /* sections */
  .section, .services, .process, .stack, .stats, .cta { padding: 70px 0; }
  .section-head { padding: 0 20px; gap: 16px; }
  .section-sub { font-size: 14px; }
  .section-num { font-size: 11px; }

  /* services rail */
  .services-rail { padding-left: 20px; padding-right: 20px; }
  .svc-card { min-width: 260px; max-width: 260px; padding: 20px; min-height: 340px; }
  .svc-title { font-size: 20px; }
  .svc-desc { font-size: 13px; }
  .rail-controls { padding: 0 20px; }

  /* process */
  .process-step { grid-template-columns: 56px 1fr; gap: 14px; padding: 20px 0; }
  .process-step .num { font-size: 44px; }
  .process-step .label { font-size: 18px; }
  .process-step .desc { font-size: 13px; }

  /* stack */
  .stack-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stack-cell { padding: 18px 14px; gap: 10px; }
  .stack-cell .num { font-size: 10px; }
  .stack-cell .name { font-size: 15px; }
  .stack-cell .cat { font-size: 10px; }

  /* stats marquee */
  .stats { padding: 50px 0; }
  .stat-item { gap: 10px; padding: 0 20px; }
  .stat-item .n { font-size: clamp(36px, 10vw, 56px); }
  .stat-item .l { font-size: 11px; }
  .stat-item .sep { font-size: 40px; }

  /* CTA */
  .cta { padding: 60px 16px; }
  .cta-inner { padding: 32px 20px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-row .btn { justify-content: center; }
  .cta-meta { grid-template-columns: 1fr; gap: 14px; }

  /* footer */
  .footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 30px 20px; font-size: 11px; }
  .footer .links { flex-wrap: wrap; gap: 14px; }

  /* tweaks panel — stays visible but smaller */
  #tweaks { right: 12px !important; bottom: 12px !important; left: 12px; width: auto !important; max-width: none !important; }
}
