:root {
  --bg-0: #060607;
  --bg-1: #111113;
  --ink: #f5f5f6;
  --ink-dim: #9c9ca1;
  --accent: #ff1e3c;
  --accent-dim: #ff5a6c;
  --accent-2: #ffffff;
  --display: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

/* ---------- global gradient backdrop ----------
   background-attachment: fixed keeps this viewport-relative (not stretched to
   the full, ever-growing page height), so it stays seamless with the hero's
   own viewport-relative gradient no matter how much content is added below. */
body {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 30, 60, 0.16), transparent 40%),
    radial-gradient(circle at 82% 92%, rgba(255, 255, 255, 0.06), transparent 45%),
    linear-gradient(165deg, #141416 0%, #18080b 35%, #16090a 60%, #0a0a0b 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-0);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.loader-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}
/* Terminal-style status line: types out a rotating set of "getting things
   ready" messages, like a CLI/AI process log rather than a plain progress
   bar - fits the site's dark, technical aesthetic without new colours. */
.loader-console {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 1.3em;
  font-family: "SFMono-Regular", "Consolas", "Menlo", "Liberation Mono", monospace;
  font-size: 0.82rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.loader-console-prompt {
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 30, 60, 0.6);
}
.loader-console-text {
  white-space: nowrap;
}
.loader-console-cursor {
  display: inline-block;
  width: 7px;
  height: 1em;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 30, 60, 0.6);
  animation: loaderCursorBlink 0.9s step-end infinite;
}
@keyframes loaderCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.loader-pct {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(10, 10, 16, 0.55), transparent);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dim));
  color: #ffffff !important;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 30, 60, 0.35);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: none;
  cursor: pointer;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  background: rgba(6, 6, 7, 0.97);
  backdrop-filter: blur(10px);
  transition: max-height 0.35s ease;
}
.nav-mobile-menu.is-open {
  max-height: 300px;
}
.nav-mobile-menu a {
  padding: 16px 32px;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-mobile-menu a:hover { color: var(--ink); }

/* ---------- pinned scroll section ---------- */
.pin-wrapper {
  position: relative;
  width: 100%;
}
.pin-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--bg-0);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 15%, rgba(255, 30, 60, 0.18), transparent 42%),
    radial-gradient(circle at 78% 88%, rgba(255, 255, 255, 0.07), transparent 46%),
    linear-gradient(165deg, #141416 0%, #18080b 35%, #16090a 60%, #0a0a0b 100%);
}
#webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: screen;
}

.hero-overlay, .closing-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}
.eyebrow {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  text-shadow: 0 0 24px rgba(255, 30, 60, 0.5);
}
.hero-overlay h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
  line-height: 1.15;
  margin: 0;
  max-width: 16ch;
  text-shadow: 0 4px 40px rgba(0,0,0,0.55);
}
.hero-overlay h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
}
.hero-sub {
  margin: 22px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
}
.scroll-cue {
  position: absolute;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}
.scroll-cue-line i {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

.closing-overlay h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: var(--ink);
  text-shadow: 0 4px 40px rgba(0,0,0,0.55);
}

.progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
}
.progress-bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

/* ---------- services ---------- */
.services {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 140px 32px 100px;
  overflow-x: hidden;
}
.services::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: min(1100px, 140vw);
  height: 780px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.68;
  filter: blur(100px);
  background: conic-gradient(from 0deg, #a3121f, #000000 25%, #3a0a10 45%, #c9891a 60%, #000000 82%, #a3121f);
  animation: servicesDecorSpin 30s linear infinite;
}
.services::after {
  content: "";
  position: absolute;
  top: -140px;
  left: 0;
  right: 0;
  height: 240px;
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
  background: radial-gradient(ellipse 70% 100% at center, rgba(6, 6, 7, 0.9), transparent 75%);
}
@keyframes servicesDecorSpin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}
.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 20px;
}
.section-lede {
  color: var(--ink-dim);
  line-height: 1.75;
  margin: 0 auto 72px;
  font-size: 1.05rem;
}

.service-copy .card-index {
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.service-copy h3 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  margin: 16px 0 14px;
  font-weight: 500;
}
.service-copy p {
  margin: 0 0 20px;
  color: var(--ink-dim);
  line-height: 1.75;
  font-size: 0.98rem;
  max-width: 62ch;
}
.service-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 62ch;
}
.service-subcard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 16px 18px;
}
.service-subcard h4 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.service-subcard p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: none;
}

/* ---------- services nav carousel (boxes above the detail rows) ---------- */
.services-carousel {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  margin: 0 -32px 64px;
  padding: 4px 32px 20px;
  scrollbar-width: none;
}
.services-carousel::-webkit-scrollbar { display: none; }
.services-carousel.is-dragging { cursor: grabbing; }

.services-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.service-card {
  position: relative;
  flex: 0 0 auto;
  width: min(60vw, 300px);
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.service-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #17090c 0%, #0d0708 55%, #150a0c 100%);
}
.service-card-media--plain {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 30, 60, 0.22), transparent 55%),
    linear-gradient(160deg, #17090c 0%, #0d0708 55%, #150a0c 100%);
}
.service-card-media-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: mediaBreathe 24s ease-in-out infinite;
}
@keyframes mediaBreathe {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.06) translateY(-1.5%); }
}
.service-card-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(6, 6, 7, 0.25) 0%, rgba(6, 6, 7, 0.55) 45%, rgba(4, 4, 5, 0.92) 100%);
}
.service-card .service-copy {
  position: relative;
  z-index: 1;
}

/* ---------- service detail rows ---------- */
.service-row {
  padding: 56px 0;
  scroll-margin-top: 100px;
}
.service-row:last-child { padding-bottom: 0; }

.service-row--featured {
  position: relative;
  border-top: none;
  border-radius: 24px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  /* bottom padding lives on .service-copy instead of here: a flex
     container with overflow:hidden + align-items:flex-end does not
     reserve trailing padding in its scrollport, which was clipping
     the last row of sub-cards flush against the card's bottom edge. */
  padding: 56px 56px 0;
}

.service-seam {
  position: relative;
  height: 0;
  z-index: 2;
  pointer-events: none;
}
.service-seam::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 15%;
  right: 15%;
  height: 52px;
  filter: blur(22px);
  background: radial-gradient(ellipse 70% 100% at center, rgba(255, 110, 60, 0.4), transparent 75%);
}
.service-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.service-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: mediaBreathe 24s ease-in-out infinite;
}
.service-media-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(6, 6, 7, 0.25) 0%, rgba(6, 6, 7, 0.55) 45%, rgba(4, 4, 5, 0.92) 100%);
}
.service-row--featured .service-copy {
  position: relative;
  z-index: 1;
  max-width: 56ch;
  padding-bottom: 56px;
}
.service-row--featured .service-copy p {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.service-row--featured .service-copy h3 {
  transition: text-shadow 0.5s ease, color 0.5s ease;
}
.service-row--featured.is-in-view .service-copy h3 {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 60, 80, 0.85), 0 0 46px rgba(255, 60, 80, 0.45);
}

/* ---------- process ---------- */
.process {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 140px;
}
.process::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 0;
  right: 0;
  height: 240px;
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
  background: radial-gradient(ellipse 70% 100% at center, rgba(6, 6, 7, 0.9), transparent 75%);
}

.process-track {
  position: relative;
  max-width: 980px;
  margin: 40px auto 0;
}

.process-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 100%;
  overflow: visible;
}
.process-line-base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
}
.process-line-glow {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  filter: drop-shadow(0 0 4px var(--accent)) drop-shadow(0 0 12px rgba(255, 30, 60, 0.55));
}

.process-step {
  position: relative;
  display: flex;
  padding: 64px 0;
}
.process-step-inner {
  width: calc(50% - 56px);
}
.process-step--left .process-step-inner {
  margin-right: auto;
  text-align: right;
}
.process-step--right .process-step-inner {
  margin-left: auto;
  text-align: left;
}
.process-step--left .process-step-inner p { margin-left: auto; }
.process-step--right .process-step-inner p { margin-right: auto; }

.process-step-number {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.process-step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin: 10px 0 14px;
  color: var(--ink-dim);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.process-step p {
  color: var(--ink-dim);
  line-height: 1.7;
  margin: 0;
  max-width: 40ch;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* per-step glow colour (pink / orange / white / gold), used by the
   background bloom, the heading/paragraph glow, and the step number */
.process-step:nth-of-type(1) { --step-glow: 255, 90, 150; }
.process-step:nth-of-type(2) { --step-glow: 60, 220, 130; }
.process-step:nth-of-type(3) { --step-glow: 255, 255, 255; }
.process-step:nth-of-type(4) { --step-glow: 255, 190, 90; }
.process-step:nth-of-type(5) { --step-glow: 90, 150, 255; }
.process-step:nth-of-type(6) { --step-glow: 175, 90, 255; }

.process-step::before {
  content: "";
  position: absolute;
  inset: -60px -24px;
  z-index: -1;
  opacity: 0;
  filter: blur(60px);
  background: radial-gradient(circle, rgba(var(--step-glow), 0.32), transparent 70%);
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.process-step.is-active::before {
  opacity: 1;
}
.process-step.is-active h3 {
  color: var(--ink);
  text-shadow: 0 0 18px rgba(var(--step-glow), 0.75), 0 0 46px rgba(var(--step-glow), 0.35);
}
.process-step.is-active p {
  color: #dcdce0;
  text-shadow: 0 0 14px rgba(var(--step-glow), 0.25);
}
.process-step.is-active .process-step-number {
  color: rgb(var(--step-glow));
  text-shadow: 0 0 12px rgba(var(--step-glow), 0.65);
}

/* ---------- contact ---------- */
.contact {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 32px 160px;
}
.contact-intro {
  text-align: center;
  margin-bottom: 44px;
}
.contact-intro h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  margin: 0 0 20px;
}
.contact-intro p {
  color: var(--ink-dim);
  margin: 0;
  font-size: 1.02rem;
}

.contact-form {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 44px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.contact-form::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 30, 60, 0.08), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 30, 60, 0.05), transparent 50%),
    linear-gradient(160deg, #17090c 0%, #0d0708 55%, #150a0c 100%);
  background-size: 160% 160%, 160% 160%, 100% 100%;
  animation: contactGradientShift 14s ease-in-out infinite;
}
@keyframes contactGradientShift {
  0%, 100% { background-position: 0% 0%, 100% 100%, 0% 0%; }
  50% { background-position: 30% 20%, 70% 80%, 0% 0%; }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-width: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* grid/flex items default to min-width:auto, which floors their size at
     the <input>'s intrinsic content width - overrides the 1fr track and
     causes horizontal overflow on very narrow viewports without this. */
  min-width: 0;
}
.field label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}
.field input,
.field textarea {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.13);
}
.field textarea { resize: vertical; }

.contact-form .btn {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-fields[hidden] {
  display: none;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 24px 12px 8px;
  animation: formSuccessIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-success[hidden] {
  display: none;
}
.form-success-check {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
}
.form-success-check svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.form-success-check-circle {
  stroke: #7be08a;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  filter: drop-shadow(0 0 8px rgba(123, 224, 138, 0.55));
  animation: formSuccessCircle 0.6s ease-out forwards;
}
.form-success-check-mark {
  stroke: #7be08a;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: formSuccessMark 0.35s 0.55s ease-out forwards;
}
.form-success h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  margin: 0;
}
.form-success p {
  color: var(--ink-dim);
  line-height: 1.6;
  margin: 0 0 10px;
  max-width: 40ch;
}
.form-success-reset {
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
@keyframes formSuccessIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes formSuccessCircle {
  to { stroke-dashoffset: 0; }
}
@keyframes formSuccessMark {
  to { stroke-dashoffset: 0; }
}

.h-captcha {
  overflow: hidden;
}
.h-captcha iframe {
  transform-origin: 0 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
}

.form-status {
  margin: 0;
  font-size: 0.88rem;
  min-height: 1.2em;
}
.form-status--ok { color: #7be08a; }
.form-status--error { color: var(--accent-dim); }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dim));
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 30, 60, 0.35);
}

/* ---------- about ---------- */
.about {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 32px 140px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.team-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.12);
}
.team-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 4px;
  color: var(--ink);
}
.team-role {
  color: var(--ink-dim);
  font-size: 0.88rem;
  margin: 0 0 16px;
}
.team-bio {
  color: var(--ink-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 18px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.team-linkedin:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.trust-badge-wrap {
  position: relative;
  text-align: center;
  margin: 0 auto 56px;
  /* .trust-badge-img's reveal animation starts at scale(3) before easing
     down to scale(1); that inflated pre-animation box otherwise counts
     toward the page's horizontal scrollWidth on narrow viewports. */
  overflow: hidden;
}
.trust-badge-glow {
  position: absolute;
  /* centred on the badge image itself (its own height / 2), not the
     whole wrap, since the wrap also contains the caption and button
     below it */
  top: 110px;
  left: 50%;
  width: min(380px, 90vw);
  height: min(380px, 90vw);
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.45;
  filter: blur(70px);
  background: radial-gradient(circle, rgba(238, 52, 36, 0.55), transparent 70%);
  pointer-events: none;
}
.trust-badge-img {
  position: relative;
  display: inline-flex;
  width: 220px;
  height: 220px;
  opacity: 0;
  transform: scale(3) rotate(-20deg);
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
}
.trust-badge-img svg { width: 100%; height: 100%; }
.trust-badge-img.is-visible {
  animation: stampIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes stampIn {
  0% { opacity: 0; transform: scale(3) rotate(-20deg); }
  55% { opacity: 1; transform: scale(0.85) rotate(4deg); }
  75% { transform: scale(1.08) rotate(-2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.trust-badge-caption {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.clutch-link {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
}

/* ---------- footer ---------- */
.site-footer {
  background: #000000;
  width: 100%;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px 28px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
}
.footer-name {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
}
.footer-brand a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-brand a:hover { color: var(--accent); }
.footer-brand-sep {
  color: var(--ink-dim);
  margin: 0 6px;
  font-size: 0.9rem;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 18px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.footer-site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--ink-dim);
}
.footer-bottom p { margin: 0; }
.footer-bottom a {
  color: var(--ink-dim);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .service-row--featured {
    min-height: 460px;
    padding: 32px 32px 0;
  }
  .service-row--featured .service-copy { padding-bottom: 32px; }
  .service-subgrid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .trust-badge-img { width: 150px; height: 150px; }
  .trust-badge-glow { top: 75px; width: 280px; height: 280px; }
  .nav-links { gap: 10px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  .process-line { width: 32px; }
  .process-step-inner { width: calc(50% - 26px); }
  .process-step h3 { font-size: 1.1rem; }
  .process-step p { font-size: 0.86rem; }

  .services-carousel { justify-content: flex-start; }

  .scroll-cue {
    bottom: 20px;
    opacity: 0.55;
    transform: scale(0.8);
  }
}
