/* =========================================================
   Aqeel — AI Websites & Agents
   ========================================================= */

:root {
  --bg: #070809;
  --bg-soft: #0b0d0f;
  --surface: #0e1114;
  --surface-2: #12161a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f3ef;
  --muted: #9aa1a6;
  --muted-2: #6d757b;
  --accent: #c9ff4d;
  --accent-dim: #a8e02f;
  --mint: #6ef2c0;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --shell: 1200px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #08090a; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #08090a;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- atmosphere ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -1;
}
.orb-a {
  width: 620px; height: 620px;
  top: -260px; right: -200px;
  background: radial-gradient(circle, rgba(201, 255, 77, 0.16), transparent 65%);
}
.orb-b {
  width: 700px; height: 700px;
  top: 720px; left: -380px;
  background: radial-gradient(circle, rgba(110, 242, 192, 0.10), transparent 65%);
}

/* ---------- layout ---------- */

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section { padding: 120px 0; position: relative; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 8, 9, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 19px;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), var(--mint));
  color: #080a06;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  padding-top: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 24px -10px rgba(201,255,77,0.55);
}
.brand-dot { color: var(--accent); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-menu > a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s var(--ease);
}
.nav-menu > a:not(.btn):hover { color: var(--text); }
.nav-menu > a:not(.btn):hover::after { right: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: #0a0c06;
  box-shadow: 0 10px 34px -14px rgba(201, 255, 77, 0.65);
}
.btn-primary:hover {
  background: #d7ff74;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -14px rgba(201, 255, 77, 0.75);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-small { padding: 10px 18px; font-size: 13.5px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid rgba(201,255,77,0.3);
  padding-bottom: 3px;
  transition: gap 0.25s var(--ease), border-color 0.25s;
}
.text-link:hover { gap: 14px; border-color: var(--accent); }

/* ---------- hero ---------- */

.hero {
  padding-top: 168px;
  padding-bottom: 96px;
  position: relative;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(201,255,77,0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201,255,77,0.45); }
  70% { box-shadow: 0 0 0 9px rgba(201,255,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,255,77,0); }
}

.hero-badge {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201,255,77,0.25);
  background: rgba(201,255,77,0.06);
  padding: 7px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-title {
  font-size: clamp(62px, 11.5vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 700;
  margin: 0 0 44px;
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--accent) 10%, var(--mint) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.hero-lede {
  max-width: 620px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  font-weight: 400;
}
.hero-lede strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 38px 0 0;
  margin: 0;
}
.stats > div { display: flex; flex-direction: column-reverse; gap: 7px; }
.stats dt {
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.01em;
  font-weight: 500;
}
.stats dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  font-weight: 500;
}
.stats dd small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  margin-top: 6px;
  font-weight: 400;
}

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(255,255,255,0.012);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 54px;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 54px; }
.marquee-track span::after { content: "✳"; color: rgba(201,255,77,0.45); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */

.section-head { margin-bottom: 64px; max-width: 860px; }
.section-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 24px;
}
.section-head h2,
.about h2,
.contact h2 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 26px;
}
.section-head h2 em,
.about h2 em,
.contact h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.015em;
}
.section-lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0;
}

/* ---------- service cards ---------- */

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

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), rgba(14,17,20,0.55));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,255,77,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, var(--surface-2), rgba(14,17,20,0.6));
}
.card:hover::before { opacity: 1; }

.card-num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
.card h3 {
  font-size: 23px;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 12px;
}
.card > p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 22px;
}
.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
}
.card li {
  position: relative;
  padding-left: 18px;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(201,255,77,0.55);
}
.card-out {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: 0.02em;
  color: var(--accent) !important;
  margin-bottom: 0 !important;
}

.card-featured {
  background: linear-gradient(165deg, rgba(201,255,77,0.09), var(--surface) 55%);
  border-color: rgba(201,255,77,0.22);
}
.card-featured .card-num { color: var(--accent); }

/* ---------- work ---------- */

#work { padding-top: 40px; }

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

.work-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.35s, transform 0.4s var(--ease);
}
.work-item:hover { border-color: var(--line-strong); transform: translateY(-4px); }

.work-visual {
  height: 210px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(201,255,77,0.08), transparent 55%),
    radial-gradient(120% 120% at 90% 100%, rgba(110,242,192,0.07), transparent 55%),
    #0a0c0e;
}

.work-copy { padding: 26px 26px 30px; }
.work-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 12px;
}
.work-copy h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.work-copy > p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 18px;
}
.work-result {
  font-size: 13.5px !important;
  color: var(--text) !important;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-bottom: 0 !important;
}
.work-result span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

/* mock visuals */

.vis-news .v-window {
  position: absolute;
  inset: 26px 26px -10px;
  background: #0d1114;
  border: 1px solid var(--line-strong);
  border-radius: 10px 10px 0 0;
  padding: 14px;
  box-shadow: 0 -20px 60px -30px rgba(201,255,77,0.3);
}
.v-bar { display: flex; gap: 5px; margin-bottom: 16px; }
.v-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.v-line { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); margin-bottom: 9px; }
.v-line.w90 { width: 90%; } .v-line.w80 { width: 80%; } .v-line.w70 { width: 70%; }
.v-line.w60 { width: 60%; } .v-line.w50 { width: 50%; } .v-line.w40 { width: 40%; }
.v-tags { display: flex; gap: 6px; margin: 14px 0 12px; }
.v-tags span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(201,255,77,0.3);
  border-radius: 3px;
  padding: 2px 5px;
}

.vis-home .v-ring {
  position: absolute;
  width: 230px; height: 230px;
  border: 1px solid rgba(110,242,192,0.18);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 34px rgba(110,242,192,0.03), 0 0 0 68px rgba(110,242,192,0.02);
}
.v-device {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  background: rgba(12,16,19,0.9);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(8px);
}
.v-dot {
  display: block;
  width: 8px; height: 8px;
  background: var(--mint);
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 0 12px rgba(110,242,192,0.8);
}
.v-pill {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.vis-chat .v-chat {
  position: absolute;
  inset: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
}
.v-bubble {
  font-size: 11.5px;
  padding: 9px 13px;
  border-radius: 12px;
  max-width: 82%;
  line-height: 1.4;
}
.v-bubble.in {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  border-bottom-left-radius: 4px;
}
.v-bubble.out {
  align-self: flex-end;
  background: rgba(201,255,77,0.12);
  border: 1px solid rgba(201,255,77,0.24);
  color: #dfffb0;
  border-bottom-right-radius: 4px;
}
.v-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  background: rgba(255,255,255,0.03);
}
.v-typing i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1.4s infinite;
}
.v-typing i:nth-child(2) { animation-delay: 0.2s; }
.v-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

/* ---------- process ---------- */

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.process li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.4s var(--ease);
}
.process li:hover { background: rgba(255,255,255,0.015); padding-left: 12px; }
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  padding-top: 5px;
}
.process h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.process p {
  color: var(--muted);
  font-size: 15px;
  max-width: 620px;
  margin: 0 0 10px;
}
.step-time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 72px;
  align-items: start;
}
.about-body { max-width: 560px; }
.about-body p {
  color: var(--muted);
  font-size: 16.5px;
  margin: 0 0 18px;
}
.about-body p:first-child { color: #cfd4d2; }

.about-card {
  background: linear-gradient(165deg, var(--surface-2), rgba(10,12,14,0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.about-card::after {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(201,255,77,0.13), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.about-mark {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent), var(--mint));
  color: #080a06;
  font-family: var(--serif);
  font-size: 32px;
  padding-top: 3px;
  margin-bottom: 26px;
}
.about-quote {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 28px;
}
.about-facts { list-style: none; margin: 0; padding: 0; }
.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.about-facts span { color: var(--muted-2); }
.about-facts strong { font-weight: 600; text-align: right; }

/* ---------- faq ---------- */

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 720px;
  margin: 0;
  padding: 0 0 24px;
  line-height: 1.7;
}

/* ---------- contact ---------- */

.contact { padding-bottom: 130px; }
.contact-panel {
  position: relative;
  border: 1px solid rgba(201,255,77,0.18);
  border-radius: 26px;
  padding: clamp(32px, 6vw, 72px);
  background:
    radial-gradient(100% 140% at 100% 0%, rgba(201,255,77,0.09), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(110,242,192,0.06), transparent 55%),
    var(--bg-soft);
  overflow: hidden;
}
.contact h2 { max-width: 760px; }
.contact-lede {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 560px;
  margin: 0 0 44px;
}

.contact-form { max-width: 700px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label { display: block; margin-bottom: 14px; }
.contact-form label > span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #5d656a; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(201,255,77,0.45);
  background: rgba(255,255,255,0.045);
  box-shadow: 0 0 0 3px rgba(201,255,77,0.08);
}
.form-foot {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-note {
  font-size: 13px;
  color: var(--muted-2);
  margin: 0;
}
.form-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover { color: var(--accent); }

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--accent);
}
.form-status.error { color: #ff8f8f; }

.contact-links {
  display: flex;
  gap: 26px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.contact-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-links a:hover { color: var(--accent); }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 34px;
}
.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-main p {
  color: var(--muted-2);
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}
.footer nav { display: flex; gap: 22px; font-size: 14px; }
.footer nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .cards, .work-grid { grid-template-columns: 1fr; }
  .card-num { margin-bottom: 26px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
}

@media (max-width: 820px) {
  .section { padding: 88px 0; }
  .hero { padding-top: 140px; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(9, 11, 12, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease);
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-menu > a:not(.btn)::after { display: none; }
  .nav-menu .btn { margin-top: 18px; }
  .hero-badge { display: none; }
  .footer nav { flex-wrap: wrap; gap: 14px 20px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 36px); }
  .hero-title { font-size: clamp(52px, 15vw, 78px); }
  .stats dd { font-size: 25px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .process li { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .step-num { padding-top: 0; }
  .work-visual { height: 180px; }
  .contact-panel { padding: 28px 22px; }
  .footer-main { flex-direction: column; gap: 26px; }
}

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