/* ------------------------------------------------------------------ */
/* Tokens & base                                                       */
/* ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #03030a;
  --mor-1: #6366f1;
  --mor-2: #8b5cf6;
  --mor-3: #a78bfa;
  --magenta: #e879f9;
  --cyan: #22d3ee;
  --ink: rgba(255, 255, 255, 0.92);
  --ink-soft: rgba(255, 255, 255, 0.55);
  --hud: rgba(255, 255, 255, 0.45);
  --hud-dim: rgba(255, 255, 255, 0.3);
  --hud-bright: rgba(255, 255, 255, 0.85);
  --line: rgba(255, 255, 255, 0.1);
  --panel: rgba(255, 255, 255, 0.04);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

/* ------------------------------------------------------------------ */
/* Top nav                                                             */
/* ------------------------------------------------------------------ */
#topnav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
#topnav.scrolled {
  background: rgba(3, 3, 10, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mor-1), var(--magenta));
  color: #fff;
  font-size: 12px;
}
.brand-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--hud-bright);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
}
/* Every nav item is a pill, same geometry as the CTA. The CTA keeps the cyan
   so it still reads as the primary action. */
.nav-links a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--hud);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.07);
  color: var(--cyan);
}
.nav-links a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
#topnav .nav-cta {
  padding: 8px 14px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-decoration: none;
  transition: all 0.15s ease;
}
#topnav .nav-cta:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.14);
  color: #b9f3fc;
}

/* Language switch: a plain link pair, no JS, crawlable. */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
}
.lang-switch > * {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
}
.lang-active {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
}
.lang-switch a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.lang-switch a:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.07);
  color: var(--cyan);
}
.lang-switch a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
/* The copy inside the drawer only exists for the mobile layout. */
.nav-links .lang-switch {
  display: none;
}

#nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
}
#nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--hud-bright);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
#nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
#nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
#nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Static backdrop — visible immediately; also the no-WebGL fallback. */
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 88%, rgba(99, 102, 241, 0.28), transparent 60%),
    radial-gradient(ellipse 55% 35% at 50% 96%, rgba(232, 121, 249, 0.14), transparent 65%),
    radial-gradient(ellipse 40% 30% at 78% 20%, rgba(34, 211, 238, 0.05), transparent 70%),
    var(--bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-video.on {
  opacity: 1;
}

/* Requested 40% darkening. Sits under the canvas so the glowing wireframe
   valley keeps its full brightness. */
.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

canvas#valley {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
}
canvas#valley.on {
  opacity: 1;
}

.vignette,
.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.vignette {
  background: radial-gradient(ellipse at center, transparent 45%, rgba(2, 2, 10, 0.85) 100%);
}
.scanlines {
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6) 0px,
    rgba(255, 255, 255, 0.6) 1px,
    transparent 1px,
    transparent 3px
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 40px 160px;
  text-align: center;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--hud);
}
.eyebrow .dot {
  color: var(--cyan);
}
.eyebrow .sep {
  color: rgba(255, 255, 255, 0.25);
}

h1 {
  margin-top: 20px;
  font-size: clamp(2.6rem, 7.5vw, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
h1 .accent {
  background: linear-gradient(90deg, var(--mor-3), var(--magenta) 55%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 20px auto 0;
  max-width: 34rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  text-shadow: 0 2px 16px rgba(3, 3, 10, 0.9);
}

.meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 10px rgba(3, 3, 10, 0.95);
}
.meta div {
  display: flex;
  gap: 8px;
}
.meta dt {
  color: var(--hud-dim);
}
.meta dd {
  color: rgba(255, 255, 255, 0.7);
}

.cta-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 24px;
  transition: all 0.15s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--mor-1), var(--mor-2));
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(90deg, #818cf8, var(--mor-3));
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.5);
}
.btn-ghost {
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.05);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--hud-dim);
}
.scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */
.section {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 130px 40px 30px;
  scroll-margin-top: 40px;
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.35), transparent);
}

.section-head {
  max-width: 40rem;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--cyan);
}
.section-eyebrow .sep {
  color: rgba(255, 255, 255, 0.25);
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-lede {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Services */
.services {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 26px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.08);
}
.card-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--hud-dim);
}
.card h3 {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Works */
.works {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.work {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 30px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.work:hover {
  border-color: rgba(139, 92, 246, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(139, 92, 246, 0.1);
}
.work.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 90% at 85% 10%, rgba(99, 102, 241, 0.12), transparent 60%),
    var(--panel);
}

.work-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.02);
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.work:hover .work-media img {
  transform: scale(1.03);
}
.work > .work-media {
  margin-bottom: 20px;
}
.work-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.work-type {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--cyan);
}
.work-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--hud-dim);
}
.work h3 {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 640;
  letter-spacing: -0.015em;
}
.work.featured h3 {
  font-size: 28px;
}
.work p {
  margin-top: 10px;
  max-width: 44rem;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.work-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.work-tags li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 9999px;
  padding: 4px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

/* Stretched link: the whole card is clickable, but only one focusable anchor. */
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, gap 0.2s ease;
}
.work-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.work:hover .work-link {
  gap: 12px;
  color: #b9f3fc;
  border-bottom-color: var(--cyan);
}
.work-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* Unreleased work: same slot as the link, but plainly not clickable. */
.work-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(252, 211, 77, 0.85);
}
.work-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fcd34d;
  box-shadow: 0 0 9px rgba(252, 211, 77, 0.7);
}

/* A shipped-but-ongoing project keeps its link and carries the badge beside it. */
.work-foot {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.work-foot > .work-link,
.work-foot > .work-status {
  margin-top: 0;
}

/* Steps */
.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  counter-reset: none;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.step-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  background: linear-gradient(90deg, var(--mor-3), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  font-size: 15px;
  font-weight: 600;
}
.step p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Contact */
.section-last {
  padding-bottom: 120px;
}
.contact {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
  align-items: start;
}
.contact-info {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 28px 24px;
}
.contact-info dl {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--hud-dim);
}
.contact-info dd {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink);
}
.contact-info dd a {
  color: var(--cyan);
  text-decoration: none;
}
.contact-info dd a:hover {
  text-decoration: underline;
}
.contact-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.65;
  color: var(--hud);
}

.contact-form {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.field-row {
  display: flex;
  gap: 16px;
}
.field label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--hud);
}
.field label .opt {
  color: var(--hud-dim);
}
.field input,
.field textarea {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}
.contact-form .btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}
.contact-form .btn:disabled {
  opacity: 0.55;
  cursor: progress;
}
/* Honeypot: off-screen for bots, never announced to assistive tech. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--cyan);
}
.form-note.error {
  color: #fda4af;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 26px 20px 34px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--hud-dim);
}
.site-footer .sep {
  color: rgba(255, 255, 255, 0.18);
}
.site-footer a {
  color: var(--hud);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--cyan);
}

/* Reveal animation — hidden state only applies when JS is running. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ */
/* Breakpoints                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 1023px) {
  .hero-content {
    padding: 110px 32px 130px;
  }
  /* Keep the HUD meta inside the dark valley channel on portrait screens. */
  .meta {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
  .section {
    padding: 100px 32px 24px;
  }
  .section::before {
    left: 32px;
    right: 32px;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  #topnav {
    padding: 14px 16px;
  }
  .nav-right {
    gap: 10px;
  }
  #nav-toggle {
    display: flex;
  }
  /* Mobile menu: dropdown panel sliding from under the bar. */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 78px 20px 14px;
    background: rgba(3, 3, 10, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-102%);
    transition: transform 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  /* In the drawer the pills go back to plain rows separated by hairlines. */
  .nav-links a {
    padding: 15px 2px;
    font-size: 12px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
    background: none;
  }
  .nav-links a:hover {
    background: none;
  }
  /* Top bar is tight on phones: the switch moves into the drawer. */
  .nav-right > .lang-switch {
    display: none;
  }
  .nav-links .lang-switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  /* The drawer strips borders off nav rows; the language pills keep theirs. */
  .nav-links .lang-switch a {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 11px;
  }
  .nav-links .lang-switch .lang-active {
    padding: 8px 14px;
    font-size: 11px;
  }
  .hero-content {
    padding: 100px 20px 120px;
  }
  .lede {
    font-size: 14px;
  }
  .section {
    padding: 84px 20px 20px;
  }
  .section::before {
    left: 20px;
    right: 20px;
  }
  .services,
  .works,
  .steps {
    grid-template-columns: 1fr;
  }
  .work.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .work.featured .work-media {
    order: -1;
  }
  .work.featured h3 {
    font-size: 24px;
  }
  .field-row {
    flex-direction: column;
    gap: 18px;
  }
  .contact-form .btn {
    align-self: stretch;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scroll-line {
    animation: none;
  }
  * {
    transition-duration: 0.001ms !important;
  }
}
