﻿:root {
  --bg: #020403;
  --bg-soft: #060906;
  --panel: rgba(8, 11, 8, 0.82);
  --panel-strong: rgba(10, 14, 10, 0.94);
  --line: rgba(124, 255, 0, 0.18);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #e5e8df;
  --muted: #9b9f97;
  --dim: #5f665f;
  --accent: #7cff00;
  --accent-soft: rgba(124, 255, 0, 0.12);
  --max: 1290px;
  --display: "Bahnschrift Condensed", "Agency FB", "Arial Narrow", sans-serif;
  --body: "Bahnschrift", "Segoe UI", Arial, sans-serif;
  --hero-image: url("assets/images/hero-fullwidth.jpg?v=20260509");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, rgba(124, 255, 0, 0.08), transparent 26rem),
    radial-gradient(circle at 18% 42%, rgba(91, 158, 22, 0.09), transparent 32rem),
    linear-gradient(90deg, rgba(124,255,0,0.025), transparent 34%, rgba(124,255,0,0.035) 68%, transparent),
    linear-gradient(180deg, #020403 0%, #030503 48%, #010201 100%);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, #000 20%, transparent 80%);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(2, 4, 3, 0.96), rgba(2, 4, 3, 0.78));
  border-bottom: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
}

.nav-shell,
.section,
.footer-inner {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

.nav-shell {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: clamp(210px, 18vw, 260px);
}

.brand-logo {
  display: block;
  width: clamp(210px, 18vw, 260px);
  height: auto;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.08));
}

.site-footer .brand-logo {
  width: clamp(210px, 17vw, 260px);
  max-height: 70px;
}

.brand-mark {
  width: 42px;
  height: 50px;
  color: var(--accent);
  filter: drop-shadow(0 0 12px rgba(124, 255, 0, 0.25));
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 54px);
  margin-left: auto;
}

.nav-links a {
  position: relative;
  color: #c8cbc5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(124, 255, 0, 0.58);
  background: rgba(124, 255, 0, 0.035);
  color: var(--accent);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle span {
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 34px;
  border: 1px solid var(--accent);
  background: rgba(124, 255, 0, 0.02);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.btn:hover {
  background: var(--accent);
  color: #061006;
  transform: translateY(-1px);
}

.btn.fill {
  background: linear-gradient(90deg, #8bfd1e, #6bd100);
  color: #071006;
  border-color: transparent;
}

.btn.wide {
  width: 100%;
  justify-content: space-between;
}

.arrow {
  font-size: 19px;
  line-height: 0;
}

.section {
  position: relative;
  padding-block: 80px;
  scroll-margin-top: 108px;
}

.hero {
  width: 100vw;
  max-width: none;
  min-height: calc(100vh - 88px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(22px, calc((100vw - var(--max)) / 2));
  padding-right: max(22px, calc((100vw - var(--max)) / 2));
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  padding-top: 58px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(2,4,3,0.96) 0%, rgba(2,4,3,0.88) 31%, rgba(2,4,3,0.34) 57%, rgba(2,4,3,0.12) 100%),
    linear-gradient(180deg, rgba(2,4,3,0.82) 0%, transparent 22%, transparent 78%, #020403 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
  min-width: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.72;
}

.hero-particles canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1 {
  margin-top: 24px;
  font-size: clamp(42px, 2.8vw, 52px);
  line-height: 0.98;
  letter-spacing: 0.1em;
}

h2 {
  font-size: clamp(42px, 4.5vw, 70px);
  line-height: 0.98;
}

h3 {
  font-size: 27px;
  line-height: 1.1;
}

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

.lead {
  max-width: 440px;
  margin: 35px 0 0;
  color: #b8bcb4;
  font-size: 18px;
  line-height: 1.62;
}

.quote-line {
  margin: 28px 0 34px;
  padding-left: 25px;
  color: var(--accent);
  border-left: 1px solid var(--accent);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
}

.brand-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  color: var(--dim);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-block: 33px;
}

.brand-strip::before,
.brand-strip::after,
.rule-title::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.brand-strip span,
.rule-title span {
  color: var(--dim);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.tools-section {
  padding-block: 34px 58px;
}

.tool-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tool-logo {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 18px;
  border-left: 1px solid rgba(255,255,255,0.1);
  color: #d8ddd5;
  opacity: 0.68;
}

.tool-logo:first-child {
  border-left: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #d8ddd5;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  filter: grayscale(1);
}

.logo-mark.square {
  border-radius: 0;
}

.logo-mark.triangle {
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 88%, 0 88%);
}

.logo-mark.react {
  border-radius: 50%;
}

.logo-mark.figma {
  border-radius: 14px;
}

.tool-name {
  color: #8f948e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(48px, 9vw, 150px);
  align-items: start;
}

#philosophy .label {
  margin-bottom: 2px;
}

.body-copy {
  color: #b9bdb5;
  font-size: 17px;
  max-width: 760px;
}

.body-copy p {
  margin: 0 0 18px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 58px;
}

.card {
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(124,255,0,0.02));
  padding: 34px 30px;
  min-height: 170px;
}

.icon {
  width: 45px;
  height: 45px;
  color: var(--accent);
  margin-bottom: 26px;
}

.mini-title {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.card p,
.service p,
.step p,
.project-meta p {
  margin: 14px 0 0;
  color: #a8ada6;
  font-size: 14px;
  line-height: 1.65;
}

.rule-title {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 40px;
}

.service {
  min-height: 190px;
  padding: 0 42px;
  border-left: 1px solid rgba(255,255,255,0.12);
}

.service:first-child {
  border-left: 0;
  padding-left: 0;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 218px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #070907;
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,255,0,0.55);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 300ms ease, opacity 220ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(2,4,3,0.22) 42%, rgba(2,4,3,0.88) 100%),
    linear-gradient(90deg, rgba(2,4,3,0.34), transparent 70%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.project-card:hover::after,
.project-card:focus-visible::after {
  opacity: 1;
}

.category-card::after {
  opacity: 0.86;
}

.project-label {
  position: absolute;
  left: 22px;
  right: 74px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 7px;
}

.project-label strong {
  font-family: var(--display);
  color: var(--text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-label small {
  max-width: 30ch;
  color: #b9beb6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.project-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 32px;
  background: var(--accent);
  color: #081006;
  font-weight: 900;
}

.project-card.hidden {
  display: none;
}

.gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: end;
  padding-top: 96px;
}

.gallery-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.gallery-intro {
  color: #b8beb5;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  transition: transform 220ms ease, border-color 220ms ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(124,255,0,0.55);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 320ms ease, opacity 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2,4,3,0.86));
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 2, 1, 0.9);
  backdrop-filter: blur(16px);
}

.lightbox[hidden] {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-panel {
  position: relative;
  width: min(100%, 1180px);
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.16);
  background: #020403;
}

.lightbox-close {
  position: absolute;
  right: 0;
  top: -52px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(124,255,0,0.6);
  background: rgba(2,4,3,0.88);
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.work-more {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 15px;
  font-style: italic;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
}

.step {
  position: relative;
  min-height: 130px;
}

.process-reveal {
  gap: clamp(20px, 3vw, 44px);
}

.step-reveal {
  min-height: 280px;
  padding: 34px 28px 30px;
  border: 1px solid transparent;
  background: transparent;
  overflow: hidden;
  cursor: default;
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.step-reveal:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.step-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(124,255,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.step-reveal::after {
  content: none;
}

.step-reveal .icon {
  margin-bottom: 34px;
  transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease;
}

.step-copy {
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

.step-copy-short {
  opacity: 1;
  transform: translateY(0);
}

.step-copy-full {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 96px;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
}

.step-copy-full p {
  max-width: 30ch;
  color: #d5dbd0;
  font-size: 15px;
}

.step-reveal:hover,
.step-reveal:focus-visible,
.step-reveal:focus-within {
  transform: translateY(-4px);
  border-color: rgba(124,255,0,0.28);
  background: transparent;
  box-shadow: none;
}

.step-reveal:hover::before,
.step-reveal:focus-visible::before,
.step-reveal:focus-within::before {
  opacity: 1;
}

.step-reveal:hover .icon,
.step-reveal:focus-visible .icon,
.step-reveal:focus-within .icon {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-10px) scale(0.96);
}

.step-reveal:hover .step-copy-short,
.step-reveal:focus-visible .step-copy-short,
.step-reveal:focus-within .step-copy-short {
  opacity: 0;
  transform: translateY(-14px);
  filter: blur(4px);
}

.step-reveal:hover .step-copy-full,
.step-reveal:focus-visible .step-copy-full,
.step-reveal:focus-within .step-copy-full {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.step-number {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.testimonial {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 42px clamp(28px, 7vw, 190px);
  display: grid;
  grid-template-columns: 70px 1fr 220px;
  gap: 28px;
  align-items: center;
  background: rgba(5,8,5,0.58);
}

.quote-mark {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 0.9;
}

.testimonial blockquote {
  margin: 0;
  color: #c6cac2;
  font-size: 20px;
  font-style: italic;
  line-height: 1.55;
}

.person {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.person span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 34px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 34px 55px;
  background: linear-gradient(90deg, rgba(8,14,8,0.92), rgba(17,30,11,0.78), rgba(8,14,8,0.92));
}

.cta-band::before {
  left: -85px;
  bottom: -150px;
}

.cta-band h2 {
  font-size: clamp(28px, 3.1vw, 47px);
}

.site-footer {
  padding: 50px 0 70px;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.7fr 1fr;
  gap: 64px;
  color: var(--muted);
}

.footer-inner::after {
  display: none;
  right: 0;
  bottom: -40px;
  width: 160px;
  height: 220px;
}

.footer-heading {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  color: #a8ada6;
  font-size: 15px;
  line-height: 1.8;
}

.socials {
  display: flex;
  gap: 25px;
  margin-top: 22px;
  color: #d5d9d1;
  font-weight: 800;
  font-size: 21px;
}

.socials a {
  color: #d5d9d1;
  font-size: 21px;
  line-height: 1;
}

.copyright {
  margin-top: 42px;
  color: #70766e;
  font-size: 13px;
}

.contact-hero {
  display: grid;
  grid-template-columns: 340px minmax(480px, 1fr);
  gap: 36px;
  align-items: start;
  padding-top: 78px;
}

.contact-intro {
  grid-column: 1 / -1;
  max-width: 560px;
}

.contact-hero::after {
  right: 6%;
  top: 100px;
}

.contact-intro h1 {
  font-size: clamp(52px, 5vw, 78px);
}

.contact-intro .lead {
  max-width: 490px;
}

.contact-intro .green-note {
  color: var(--accent);
  font-size: 18px;
  line-height: 1.55;
}

.contact-sidebar {
  display: grid;
  gap: 38px;
}

.contact-card,
.form-panel,
.next-panel,
.hello-panel {
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--panel);
}

.contact-card {
  padding: 36px 32px;
}

.contact-list {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  gap: 26px;
}

.contact-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  color: #b5bab1;
}

.contact-item small {
  display: block;
  color: #8d938b;
}

.quote-box {
  margin-top: 36px;
  border: 1px solid var(--line);
  padding: 28px 24px;
  color: #cdd2c8;
}

.hello-panel {
  padding: 30px 32px;
}

.form-panel {
  padding: 42px;
}

.form-title {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
}

.form-title::after {
  content: "";
  height: 1px;
  background: rgba(255,255,255,0.14);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}

.field {
  display: grid;
  gap: 10px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #d6dbd0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

label span {
  color: var(--accent);
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin: 0 0 10px;
  padding: 0;
  color: #d6dbd0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(2,4,3,0.58);
  color: var(--text);
  padding: 0 21px;
  outline: none;
}

textarea {
  min-height: 175px;
  padding-top: 18px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(124,255,0,0.65);
  box-shadow: 0 0 0 3px rgba(124,255,0,0.08);
}

.checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.check {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 0 18px;
  color: #c7ccc3;
  font-size: 13px;
}

.check input {
  width: 14px;
  height: 14px;
  min-height: auto;
  accent-color: var(--accent);
}

.form-note {
  margin-top: 18px;
  text-align: center;
  color: #9ca39a;
  font-size: 13px;
}

.next-panel {
  margin-top: 40px;
  padding: 36px 34px;
}

.success-panel {
  min-height: calc(100vh - 210px);
  display: grid;
  align-content: center;
}

.success-panel .btn {
  width: max-content;
  margin-top: 34px;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
  margin-top: 34px;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(480px, 1.2fr);
  gap: 64px;
  align-items: center;
}

.project-hero h1 {
  font-size: clamp(56px, 6vw, 94px);
}

.project-hero-img {
  border: 1px solid rgba(255,255,255,0.12);
  background: #080a08;
  padding: 10px;
}

.project-hero-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.project-meta div,
.case-block {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px;
  background: rgba(255,255,255,0.025);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-block h2 {
  font-size: 34px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 22px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .split,
  .contact-hero,
  .project-hero {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .service-grid,
  .work-grid,
  .process,
  .next-grid,
  .case-grid,
  .project-meta,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-logo {
    min-height: 112px;
  }

  .step-reveal {
    min-height: 245px;
  }

  .service:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .cta-band,
  .testimonial {
    grid-template-columns: 1fr;
  }

  .checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 112px;
  }

  .nav-shell,
  .section,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    background: rgba(2, 4, 3, 0.94);
  }

  .nav-shell {
    min-height: 84px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 12px;
    align-items: center;
    padding: 14px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(62vw, 220px);
    max-height: 59px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-toggle[aria-expanded="true"] {
    background: var(--accent);
    color: #061006;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: initial;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border-top: 1px solid transparent;
    transition: max-height 240ms ease, opacity 180ms ease, padding 240ms ease, border-color 240ms ease;
  }

  .nav-shell.menu-open .nav-links {
    max-height: 310px;
    padding-top: 10px;
    opacity: 1;
    pointer-events: auto;
    border-top-color: rgba(255,255,255,0.08);
  }

  .nav-links a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #e5e8df;
    font-size: 11px;
    letter-spacing: 0.26em;
  }

  .nav-links a::after {
    position: static;
    width: 32px;
    height: 1px;
    transform: scaleX(0.45);
    transform-origin: right;
    opacity: 0.45;
  }

  .nav-links a.active::after {
    transform: scaleX(1);
    opacity: 1;
  }

  .site-header .btn {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .nav-shell.menu-open > .btn {
    display: inline-flex;
    min-height: 48px;
  }

  .section {
    padding-block: 44px;
    scroll-margin-top: 112px;
  }

  .hero {
    min-height: calc(100svh - 78px);
    padding-top: clamp(34px, 8svh, 58px);
    padding-bottom: 54px;
    background:
      linear-gradient(90deg, rgba(2,4,3,0.98) 0%, rgba(2,4,3,0.86) 58%, rgba(2,4,3,0.42) 100%),
      linear-gradient(180deg, rgba(2,4,3,0.86) 0%, transparent 28%, #020403 100%),
      var(--hero-image);
    background-size: cover;
    background-position: 66% center;
  }

  .hero-copy {
    max-width: 340px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(31px, 9.3vw, 39px);
    line-height: 1.02;
    letter-spacing: 0.07em;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(38px, 12vw, 50px);
    line-height: 0.98;
  }

  .hero .lead {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.55;
  }

  .lead,
  .quote-line,
  .body-copy,
  .green-note {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .quote-line {
    max-width: calc(100vw - 56px);
    padding-left: 16px;
    font-size: 15px;
    margin-top: 24px;
  }

  .hero .btn {
    width: min(100%, 272px);
    min-height: 52px;
    margin-top: 28px;
    padding-inline: 24px;
    justify-content: space-between;
  }

  .value-grid,
  .service-grid,
  .work-grid,
  .process,
  .next-grid,
  .case-grid,
  .project-meta,
  .footer-inner,
  .form-grid,
  .checks {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: auto;
    padding: 24px 0 26px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .split {
    gap: 26px;
  }

  .split .label {
    margin-bottom: 12px;
  }

  .body-copy {
    font-size: 16px;
    line-height: 1.7;
  }

  .value-grid {
    gap: 14px;
    margin-top: 34px;
  }

  .card {
    min-height: auto;
    padding: 26px 24px;
  }

  .card .icon,
  .service .icon {
    width: 38px;
    height: 38px;
    margin-bottom: 22px;
  }

  .tools-section {
    padding-block: 36px 46px;
  }

  .brand-strip {
    margin-bottom: 20px;
  }

  .tool-logos {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-bottom: 0;
  }

  .tool-logo {
    min-height: 96px;
    padding: 18px 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.018);
    opacity: 0.78;
  }

  .project-label {
    left: 18px;
    right: 66px;
    bottom: 16px;
  }

  .project-label strong {
    font-size: clamp(27px, 9vw, 36px);
  }

  .project-label small {
    display: none;
  }

  .gallery-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 54px;
  }

  .gallery-intro {
    font-size: 16px;
    line-height: 1.65;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-close {
    top: -50px;
  }

  .process-reveal {
    gap: 14px;
  }

  .step-reveal {
    min-height: 0;
    padding: 24px 22px;
  }

  .step-copy-full {
    left: 22px;
    right: 22px;
    top: 82px;
  }

  .step-copy-full p {
    max-width: none;
  }

  .step-number {
    font-size: 22px;
  }

  .testimonial {
    padding: 30px 28px;
    gap: 16px;
  }

  .testimonial blockquote {
    font-size: 18px;
    line-height: 1.58;
  }

  .form-panel,
  .cta-band {
    padding: 28px 20px;
  }

  .cta-band {
    gap: 18px;
  }

  .contact-intro {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .step-reveal:hover,
  .step-reveal:focus-visible,
  .step-reveal:focus-within {
    transform: none;
  }
}
