/* ==========================================================================
   bhatz.site — design tokens
   ========================================================================== */

:root {
  /* color */
  --void:        #070a12;
  --surface:     #0e1420;
  --surface-2:   #131b2b;
  --line:        rgba(148, 163, 196, 0.14);
  --line-strong: rgba(148, 163, 196, 0.28);

  --text-1: #f2f4fa;
  --text-2: #aab2c8;
  --text-3: #6b7690;

  --cyan:   #4fd8e8;
  --blue:   #4f7cff;
  --violet: #8a6ff5;

  --grad-brand: linear-gradient(120deg, var(--cyan), var(--blue) 55%, var(--violet));

  /* type */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* layout */
  --max-w: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; color: var(--text-2); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   ambient background
   ========================================================================== */

.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 10%, transparent 70%);
  opacity: 0.5;
}

.bg-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  animation: drift 26s ease-in-out infinite;
}
.bg-glow--cyan  { background: var(--cyan); top: -12%; left: -10%; }
.bg-glow--violet{ background: var(--violet); bottom: -18%; right: -8%; animation-delay: -9s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, 6%) scale(1.08); }
}

#particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ==========================================================================
   layout helpers
   ========================================================================== */

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
  position: relative;
  z-index: 1;
}

.hide-mobile { display: inline; }

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow--center { text-align: center; margin-left: auto; margin-right: auto; }

.section-heading {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  color: var(--text-1);
}
.section-heading--left { text-align: left; margin: 0 0 20px; max-width: none; }

.section-note {
  text-align: center;
  max-width: 560px;
  margin: -36px auto 48px;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-brand);
  color: #06090f;
  box-shadow: 0 8px 30px -10px rgba(79, 216, 232, 0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(79, 216, 232, 0.65); }

.btn--ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--line-strong);
  color: var(--text-1);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--cyan); background: rgba(79, 216, 232, 0.08); }

.btn--small { padding: 9px 18px; font-size: 0.82rem; }
.btn--large { padding: 17px 36px; font-size: 1rem; }
.btn--full { width: 100%; padding: 15px 26px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ==========================================================================
   nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 18, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 10, 18, 0.82); }

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.nav__brand-mark {
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--grad-brand);
  box-shadow: 0 0 14px rgba(79, 216, 232, 0.7);
}
.nav__brand-dim { color: var(--text-3); font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  font-size: 0.92rem;
  color: var(--text-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text-1); }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(60px, 10vw, 110px) var(--gutter) clamp(40px, 8vw, 70px);
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: rgba(79, 216, 232, 0.08);
  border: 1px solid rgba(79, 216, 232, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.badge__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero__headline {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 22px;
}

.hero__sub {
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text-2);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.status-pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ee89a;
  box-shadow: 0 0 10px #4ee89a;
}

.scroll-cue {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-cue span {
  width: 3px; height: 8px; border-radius: 2px;
  background: var(--cyan);
  animation: scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue { 0% { opacity: 1; transform: translateY(0); } 70%, 100% { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   pipeline (signature element)
   ========================================================================== */

.pipeline {
  display: flex;
  position: relative;
  z-index: 1;
}
.pipeline--vertical {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(180deg, rgba(19,27,43,0.7), rgba(14,20,32,0.5));
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px;
  backdrop-filter: blur(10px);
}
.pipeline--horizontal {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-top: 64px;
  padding: 30px clamp(16px, 3vw, 34px);
  background: linear-gradient(120deg, rgba(19,27,43,0.7), rgba(14,20,32,0.5));
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow-x: auto;
}

.pipeline__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex-shrink: 0;
}
.pipeline--vertical .pipeline__node { flex-direction: row; text-align: left; padding: 6px 0; }

.pipeline__node-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-size: 1.1rem;
  color: var(--cyan);
  flex-shrink: 0;
  animation: node-glow 3.6s ease-in-out infinite;
}
.pipeline__node[data-node="1"] .pipeline__node-icon,
.pipeline--vertical .pipeline__node[data-node="1"] .pipeline__node-icon { animation-delay: 0.9s; color: var(--blue); }
.pipeline__node[data-node="2"] .pipeline__node-icon { animation-delay: 1.8s; color: var(--violet); }
.pipeline__node[data-node="3"] .pipeline__node-icon { animation-delay: 2.7s; color: var(--blue); }
.pipeline__node[data-node="4"] .pipeline__node-icon { animation-delay: 3.6s; color: var(--violet); }
.pipeline__node[data-node="5"] .pipeline__node-icon,
.pipeline__node--final .pipeline__node-icon { animation-delay: 4.5s; color: var(--cyan); }

@keyframes node-glow {
  0%, 82%, 100% { box-shadow: 0 0 0 rgba(79,216,232,0); border-color: var(--line-strong); }
  90% { box-shadow: 0 0 22px rgba(79,216,232,0.55); border-color: var(--cyan); }
}

.pipeline__node-label {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-2);
  white-space: nowrap;
}

.pipeline__edge {
  position: relative;
  background: var(--line-strong);
  overflow: hidden;
  flex-shrink: 0;
}
.pipeline--vertical .pipeline__edge { width: 1px; height: 30px; margin-left: 23px; }
.pipeline--horizontal .pipeline__edge { height: 1px; width: clamp(24px, 5vw, 56px); }

.pipeline__pulse {
  position: absolute;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  border-radius: 2px;
}
.pipeline--vertical .pipeline__pulse { width: 3px; height: 10px; left: -1px; top: -10px; animation: pulse-y 3.6s linear infinite; }
.pipeline--horizontal .pipeline__pulse { height: 3px; width: 14px; top: -1px; left: -14px; animation: pulse-x 3.6s linear infinite; }

.pipeline--vertical .pipeline__edge:nth-of-type(1) .pipeline__pulse,
.pipeline--horizontal .pipeline__edge:nth-of-type(1) .pipeline__pulse { animation-delay: 0s; }

@keyframes pulse-y { 0% { top: -10px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes pulse-x { 0% { left: -14px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* stagger each edge's pulse by delaying its animation start */
.pipeline > .pipeline__edge:nth-of-type(2) .pipeline__pulse { animation-delay: 0.6s; }
.pipeline > .pipeline__edge:nth-of-type(4) .pipeline__pulse { animation-delay: 1.2s; }
.pipeline > .pipeline__edge:nth-of-type(6) .pipeline__pulse { animation-delay: 1.8s; }
.pipeline > .pipeline__edge:nth-of-type(8) .pipeline__pulse { animation-delay: 2.4s; }
.pipeline > .pipeline__edge:nth-of-type(10) .pipeline__pulse { animation-delay: 3s; }

/* ==========================================================================
   value section
   ========================================================================== */

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(79,216,232,0.35); background: rgba(79,216,232,0.03); }
.value-card__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-3);
  margin-bottom: 14px;
}
.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; }

/* ==========================================================================
   about
   ========================================================================== */

.about__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
}
.portrait-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.portrait-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(79,216,232,0.16), transparent 60%);
}
.portrait-frame__placeholder {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.portrait-caption { margin-top: 14px; font-size: 0.8rem; color: var(--text-3); text-align: center; }

.about__lede { font-size: 1.1rem; color: var(--text-1); margin-bottom: 18px; }
.about__content > p { margin-bottom: 10px; }

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-top: 22px;
}
.checklist li {
  font-size: 0.92rem;
  color: var(--text-2);
  padding-left: 22px;
  position: relative;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--grad-brand);
}

/* ==========================================================================
   services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(138,111,245,0.4); }
.service-card__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--violet);
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.service-card h3 { font-size: 1rem; margin-bottom: 8px; }
.service-card p { font-size: 0.87rem; }

/* ==========================================================================
   tech
   ========================================================================== */

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text-2);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tech-chip:hover { border-color: var(--cyan); color: var(--text-1); transform: translateY(-2px); }

/* ==========================================================================
   process
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  border-left: 1px solid var(--line-strong);
  padding-left: 20px;
}
.process-step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 10px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; }

/* ==========================================================================
   projects
   ========================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(79,216,232,0.3); }
.project-card h3 { font-size: 1.08rem; margin-bottom: 12px; color: var(--text-1); }
.project-card__flow { font-size: 0.87rem; line-height: 1.7; margin-bottom: 18px; }
.project-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-card__tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-3);
}

/* ==========================================================================
   why
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.why-grid li {
  font-size: 0.92rem;
  color: var(--text-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 16px 18px;
  background: rgba(255,255,255,0.015);
}

/* ==========================================================================
   cta
   ========================================================================== */

.cta {
  position: relative;
  margin: 40px var(--gutter) 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(79,216,232,0.12), rgba(138,111,245,0.14));
  border: 1px solid rgba(79,216,232,0.25);
  max-width: calc(var(--max-w) + 2 * var(--gutter) - 2 * var(--gutter));
}
.cta__inner {
  text-align: center;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  max-width: 680px;
}
.cta__inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin-bottom: 16px; }
.cta__inner p { margin-bottom: 30px; font-size: 1.02rem; }

/* ==========================================================================
   contact
   ========================================================================== */

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact__intro p { margin-bottom: 30px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-details li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  font-size: 0.92rem;
}
.contact-details li span { color: var(--text-3); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-details li a:hover { color: var(--cyan); }

.contact-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 36px);
  backdrop-filter: blur(8px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; color: var(--text-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(79,216,232,0.15);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7690' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 22px;
  cursor: pointer;
}
.checkbox-field input { margin-top: 3px; accent-color: var(--cyan); }

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  min-height: 1.2em;
  text-align: center;
}
.form-status.is-success { color: #4ee89a; }
.form-status.is-error { color: #ff8a8a; }

/* ==========================================================================
   footer
   ========================================================================== */

.footer { border-top: 1px solid var(--line); position: relative; z-index: 1; margin-top: 40px; }
.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: clamp(48px, 7vw, 72px);
  padding-bottom: 32px;
}
.footer__brand p { margin-top: 12px; font-size: 0.88rem; }
.footer__tagline { color: var(--text-3); font-size: 0.85rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.footer__links a { font-size: 0.88rem; color: var(--text-2); }
.footer__links a:hover { color: var(--cyan); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 20px var(--gutter);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(7,10,18,0.97);
    border-bottom: 1px solid var(--line);
    padding: 20px var(--gutter) 26px;
    gap: 18px;
  }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }

  .value-grid, .services-grid, .process-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid, .projects-grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 280px; margin: 0 auto; }

  .hide-mobile { display: none; }
}

@media (max-width: 620px) {
  .value-grid, .services-grid, .process-grid, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .pipeline--horizontal { flex-wrap: nowrap; }
}
