/* ==========================================================
   Black Developers — landing page
   ========================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --surface: #131313;
  --surface-2: #191919;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f2f2ee;
  --muted: #a1a19a;
  --faint: #6b6b66;
  --accent: #d4ff3a;
  --accent-ink: #0a0a0a;
  --accent-soft: rgba(212, 255, 58, 0.12);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", "Times New Roman", serif;

  --radius: 20px;
  --radius-sm: 12px;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
svg { flex-shrink: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 16px/1 var(--font); letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { box-shadow: 0 0 0 6px var(--accent-soft), 0 10px 40px -10px rgba(212,255,58,.5); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-block { width: 100%; }

/* ---------- Live dot ---------- */
.live-dot {
  position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.025em; }
.brand .mark { width: 26px; height: 26px; color: var(--text); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { margin-left: 8px; }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-2); cursor: pointer; position: relative;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px var(--pad) 24px;
  background: rgba(10,10,10,.96); border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(128px, 18vh, 180px) 0 clamp(72px, 10vh, 112px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
  opacity: .7;
}
.glow {
  position: absolute; width: 900px; height: 600px; right: -200px; top: -120px;
  background: radial-gradient(closest-side, rgba(212,255,58,.13), transparent 70%);
  filter: blur(20px);
}
.hero .container { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.08fr;
  gap: clamp(40px, 6vw, 88px); align-items: start; margin-top: clamp(40px, 5vw, 64px);
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta li { display: grid; gap: 2px; }
.hero-meta b { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.hero-meta span { font-size: 14px; color: var(--faint); }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  font-size: 14px; color: var(--muted); margin-bottom: 28px;
  transition: border-color .2s, color .2s;
}
.pill:hover { border-color: rgba(212,255,58,.5); color: var(--text); }
.pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 {
  font-size: clamp(44px, 8.4vw, 124px);
  line-height: .96; letter-spacing: -0.05em; font-weight: 600;
}
.hero h1 em { color: var(--accent); padding-right: .04em; position: relative; white-space: nowrap; }
.cursor {
  display: inline-block; width: .32em; height: .32em; margin-left: .08em;
  background: var(--accent); vertical-align: .02em;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.lede { margin-top: 0; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.6; }
.lede strong { color: var(--text); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* terminal */
.terminal {
  position: relative;
  background: linear-gradient(180deg, #151515, #0e0e0e);
  border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.terminal::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgba(212,255,58,.35), transparent 35%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
.term-bar {
  display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px;
  border-bottom: 1px solid var(--line); font: 500 12.5px var(--mono); color: var(--faint);
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }
.term-title { flex: 1; text-align: center; }
.term-status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.term-status .live-dot { width: 6px; height: 6px; }
.term-body {
  padding: 22px 22px 26px; font: 400 14px/1.9 var(--mono); color: var(--text);
  overflow-x: auto;
}
.tl { white-space: pre; min-height: 1.9em; }
.tl.gap { min-height: 0; height: 14px; }
.pr { color: var(--accent); }
.ok { color: var(--accent); }
.tag {
  display: inline-block; padding: 0 7px; margin: 0 6px 0 2px; border-radius: 5px;
  background: var(--accent-soft); color: var(--accent); font-size: 11.5px; letter-spacing: .06em; line-height: 20px;
}
.dim { color: var(--faint); }
.acc { color: var(--accent); }
.blk {
  display: inline-block; width: 9px; height: 17px; margin-left: 6px; vertical-align: -3px;
  background: var(--accent); animation: blink 1.1s steps(1) infinite;
}
.js .term-body:not(.done) .tl:not(.shown) { visibility: hidden; }

/* ---------- MARQUEE ---------- */
.marquee {
  border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.03em; color: var(--muted);
  white-space: nowrap;
}
.marquee li::after { content: ""; width: 8px; height: 8px; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(88px, 12vw, 160px) 0 0; }
.section-head { max-width: 920px; margin-bottom: clamp(44px, 6vw, 72px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
}
.eyebrow span { color: var(--accent); }
.section h2 { font-size: clamp(38px, 5.6vw, 76px); letter-spacing: -0.045em; line-height: 1; }
.section h2 em { color: var(--text); }
.section-sub { margin-top: 20px; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 36em; }

/* spotlight hover */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212,255,58,.07), transparent 60%);
  transition: opacity .3s;
}
.spot:hover::before { opacity: 1; }

/* ---------- WORK ---------- */
.work-list { display: grid; gap: 24px; }
.work-card {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(16px, 2vw, 24px); padding-right: clamp(20px, 4vw, 56px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px;
  transition: border-color .3s;
}
.work-card:hover { border-color: var(--line-2); }
.work-card.flip { grid-template-columns: 1fr 1.35fr; padding-right: clamp(16px, 2vw, 24px); padding-left: clamp(20px, 4vw, 56px); }
.work-card.flip .work-shot { order: 2; }
.work-shot { display: block; border-radius: 18px; overflow: hidden; }
.browser {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #1a1a1a;
  transform-origin: center; transition: transform .6s var(--ease);
}
.work-shot:hover .browser { transform: scale(1.015); }
.browser-bar {
  display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px;
  background: #161616; border-bottom: 1px solid var(--line);
}
.browser-bar .dots i { width: 8px; height: 8px; }
.url {
  flex: 1; max-width: 260px; margin: 0 auto; padding: 3px 10px; border-radius: 6px;
  background: #0d0d0d; color: var(--muted); font: 500 11.5px var(--mono); text-align: center;
  transform: translateX(-20px);
}
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work-info { padding: 12px 0; }
.work-meta { display: flex; align-items: center; gap: 10px; font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.work-meta .live-dot { width: 7px; height: 7px; }
.work-info h3 { margin-top: 18px; font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -0.04em; }
.work-tagline { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); color: var(--accent); }
.work-info > p:not(.work-meta):not(.work-tagline) { margin-top: 18px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13.5px; color: var(--text); background: rgba(255,255,255,.02);
}
.work-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; }
.work-links a {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500;
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .2s, color .2s;
}
.work-links a:hover { color: var(--accent); border-color: var(--accent); }
.work-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- SERVICES / BENTO ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "apps apps ai ai"
    "web be ds care";
}
.cell {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px); overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.cell:hover { border-color: var(--line-2); }
.cell h3 { font-size: clamp(22px, 2vw, 27px); letter-spacing: -0.03em; margin-top: 22px; }
.cell p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2);
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cell-apps { grid-area: apps; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; min-height: 380px; }
.cell-ai { grid-area: ai; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 380px;
  background:
    radial-gradient(500px 260px at 100% 100%, rgba(212,255,58,.10), transparent 70%),
    var(--bg-2);
}
.cell-ai .icon { background: var(--accent); border-color: var(--accent); }
.cell-ai .icon svg { stroke: var(--accent-ink); }
.cell-web { grid-area: web; }
.bento > .cell:nth-child(4) { grid-area: be; }
.bento > .cell:nth-child(5) { grid-area: ds; }
.bento > .cell:nth-child(6) { grid-area: care; }
.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.ticks li::before { content: ""; width: 6px; height: 6px; background: var(--accent); }

/* phone mock */
.phone {
  width: 168px; height: 300px; margin-bottom: -60px; border-radius: 30px; padding: 30px 12px 12px;
  border: 1px solid var(--line-2); background: linear-gradient(180deg, #1b1b1b, #111);
  display: flex; flex-direction: column; gap: 9px; position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  transform: rotate(-4deg) translateY(0); transition: transform .6s var(--ease);
}
.cell-apps:hover .phone { transform: rotate(0deg) translateY(-12px); }
.phone-notch { position: absolute; top: 10px; left: 50%; width: 50px; height: 12px; border-radius: 99px; background: #050505; transform: translateX(-50%); }
.ph-card { border-radius: 12px; height: 74px; padding: 12px; background: var(--accent); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.ph-card span { display: block; height: 7px; border-radius: 4px; background: rgba(0,0,0,.75); width: 70%; }
.ph-card span + span { width: 40%; background: rgba(0,0,0,.35); }
.ph-row { display: flex; align-items: center; gap: 8px; padding: 9px; border-radius: 10px; background: rgba(255,255,255,.04); }
.ph-row i { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.12); }
.ph-row span { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); }
.ph-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 8px 4px 4px; border-top: 1px solid var(--line); }
.ph-tab i { width: 14px; height: 14px; border-radius: 4px; background: rgba(255,255,255,.14); }
.ph-tab i.on { background: var(--accent); }

/* AI flow */
.flow { display: flex; align-items: center; gap: 0; }
.node {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(10,10,10,.7); font: 500 13px var(--mono); color: var(--muted);
}
.node-ai { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 600; }
.mini-mark { width: 16px; height: 16px; color: var(--accent-ink); }
.node-ai .mini-mark { --accent: var(--accent-ink); }
.wire { flex: 1; min-width: 20px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.wire span {
  position: absolute; top: -1px; left: -30%; width: 30%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent));
  animation: flow 2.2s var(--ease) infinite;
}
.wire + .node + .wire span { animation-delay: 1.1s; }
@keyframes flow { to { left: 100%; } }

/* ---------- PROCESS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; counter-reset: step; }
.step {
  padding: 28px 26px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2);
  position: relative; transition: border-color .3s;
}
.step:hover { border-color: var(--line-2); }
.step-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); font: 500 14px var(--mono); color: var(--accent);
}
.step h3 { margin-top: 48px; font-size: 26px; letter-spacing: -0.03em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 49px; right: -17px; width: 18px; height: 1px; background: var(--line-2);
}

/* ---------- WHY ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-lead { position: sticky; top: 120px; }
.why-list { display: grid; }
.why-list li { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 20px 1fr; column-gap: 20px; }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list li::before { content: ""; width: 10px; height: 10px; background: var(--accent); margin-top: 11px; grid-row: span 2; }
.why-list h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; }
.why-list p { margin-top: 8px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 12px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(255,255,255,.06); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 56px 28px 0; color: var(--muted); }

/* ---------- CONTACT ---------- */
.contact { padding-bottom: clamp(88px, 12vw, 140px); }
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px); border-radius: 32px; border: 1px solid var(--line-2);
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(212,255,58,.10), transparent 65%),
    linear-gradient(180deg, #131313, #0d0d0d);
  position: relative; overflow: hidden;
}
.contact h2 em { color: var(--accent); }
.email-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.email-link {
  font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.03em;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.email-link:hover { color: var(--accent); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 500 13px var(--font); cursor: pointer;
  transition: color .2s, border-color .2s;
}
.copy-btn:hover { color: var(--text); border-color: rgba(255,255,255,.35); }
.copy-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn.done { color: var(--accent); border-color: var(--accent); }
.reach { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.reach-item {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px;
  border: 1px solid var(--line-2); background: rgba(0,0,0,.25); transition: border-color .2s, background .2s;
}
.reach-item:hover { border-color: rgba(212,255,58,.5); background: rgba(212,255,58,.04); }
.reach-item > span:last-child { display: grid; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.reach-item small { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.reach-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.05); }
.reach-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }

.contact-form { display: grid; gap: 16px; align-content: start; }
.need { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.need legend { width: 100%; margin-bottom: 10px; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.need label { position: relative; cursor: pointer; }
.need input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.need span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14.5px; color: var(--muted); background: rgba(0,0,0,.25); transition: all .2s;
}
.need label:hover span { color: var(--text); border-color: rgba(255,255,255,.35); }
.need input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 500; }
.need input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(0,0,0,.35); color: var(--text); font: 400 16px/1.5 var(--font); resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid input, .field.invalid textarea { border-color: #ff6b6b; }
.form-note { font-size: 13.5px; color: var(--faint); text-align: center; }
.form-note.err { color: #ff8a8a; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; color: var(--muted); max-width: 26em; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { width: fit-content; color: var(--text); transition: color .2s; }
.footer-contact a:hover { color: var(--accent); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 6px; }
.footer-col a { color: var(--muted); transition: color .2s; width: fit-content; }
.footer-col a:hover { color: var(--text); }
.footer .container { container-type: inline-size; }
.footer-word {
  margin-top: 72px; font-size: 10.6vw; font-size: 13.2cqi; font-weight: 600; letter-spacing: -0.06em; line-height: .8;
  white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, #2a2a2a 0%, #141414 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 28px 0 36px; margin-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--faint);
}
.footer-bottom > span { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom > span:first-child { display: inline; }
.footer-bottom .live-dot { width: 6px; height: 6px; }

/* ---------- REVEAL ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .terminal { max-width: 640px; }
  .hero-meta { margin-top: 36px; }
  .work-card, .work-card.flip { grid-template-columns: 1fr; padding: 16px 16px 28px; }
  .work-card.flip .work-shot { order: 0; }
  .work-info { padding: 8px 12px 0; }
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "apps apps" "ai ai" "web be" "ds care";
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .why-grid, .faq-grid { grid-template-columns: 1fr; }
  .why-lead { position: static; }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav-inner { height: 64px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 64px); }
  .cta-row .btn { flex: 1 1 auto; }
  .hero-meta { gap: 20px 28px; }
  .term-body { font-size: 12px; padding: 18px 16px 20px; min-height: 0; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "apps" "ai" "web" "be" "ds" "care"; }
  .cell-apps { grid-template-columns: 1fr; min-height: 0; }
  .phone { margin: 0 auto -80px; }
  .cell-ai { min-height: 0; }
  .flow { flex-direction: column; align-items: stretch; }
  .flow .node { justify-content: center; }
  .wire { width: 1px; height: 22px; min-width: 0; margin: 0 auto; flex: none; }
  .wire span { width: 3px; height: 30%; left: -1px; top: -30%; background: linear-gradient(180deg, transparent, var(--accent)); animation-name: flowv; }
  @keyframes flowv { to { top: 100%; } }
  .steps { grid-template-columns: 1fr; }
  .step h3 { margin-top: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .form-actions { grid-template-columns: 1fr; }
  .email-link { font-size: 19px; word-break: break-all; }
  .faq details p { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .url { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
