/* ============================================================
   Venteras · Tender Monitoring and Growth Reporting
   Black room, one hot orange signal. Archivo (wdth/wght axes)
   + Zodiak italic accent. OKLCH throughout.
   ============================================================ */

:root {
  /* color */
  --bg: oklch(0.15 0 0);
  --bg-deep: oklch(0.11 0 0);
  --surface: oklch(0.185 0.003 60);
  --ink: oklch(0.945 0.004 75);
  --ink-soft: oklch(0.82 0.005 75);
  --muted: oklch(0.70 0.006 75);
  --orange: oklch(0.68 0.205 42);
  --orange-deep: oklch(0.60 0.19 40);
  --on-orange: oklch(0.17 0.01 40);
  --line: oklch(1 0 0 / 0.10);
  --line-strong: oklch(1 0 0 / 0.18);
  /* form-control borders need 3:1 (WCAG 1.4.11); --line-strong only reaches ~1.9:1 */
  --line-control: oklch(1 0 0 / 0.42);

  /* type */
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Zodiak", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* motion */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* z scale */
  --z-nav: 100;
  --z-menu: 200;

  /* layout */
  --container: 76rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

/* ---------- reset / base ---------- */

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

/* no CSS smooth-scroll: it fights Lenis; JS handles anchor easing */

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.012em;
  font-kerning: normal;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--orange); color: var(--on-orange); }

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

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

ul, ol { list-style: none; }

h1, h2, h3 { text-wrap: balance; font-weight: 700; }

p { text-wrap: pretty; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: calc(var(--z-menu) + 1);
  padding: 0.6rem 1rem;
  background: var(--orange);
  color: var(--on-orange);
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-300%);
}
.skip-link:focus-visible { transform: none; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background-color 0.25s var(--ease-out-quart),
    border-color 0.25s var(--ease-out-quart),
    color 0.25s var(--ease-out-quart),
    transform 0.25s var(--ease-out-quart);
}
.btn:active { transform: scale(0.97); }

.btn-arrow { transition: transform 0.3s var(--ease-out-quart); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary { background: var(--orange); color: var(--on-orange); }
.btn-primary:hover { background: oklch(0.73 0.19 45); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn-dark { background: oklch(0.14 0.01 40); color: oklch(0.97 0.005 75); }
.btn-dark:hover { background: oklch(0.20 0.015 40); }

.btn-sm { padding: 0.7rem 1.25rem; font-size: 0.9375rem; }

/* ---------- nav ---------- */

.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: var(--z-nav);
  /* the hero shader has bright folds; without this the links wash out on some
     frames. Fades out once .scrolled paints a real background. */
  background-image: linear-gradient(
    to bottom,
    oklch(0.08 0 0 / 0.72) 0%,
    oklch(0.08 0 0 / 0.42) 55%,
    transparent 100%);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    transform 0.45s var(--ease-out-quart);
  border-bottom: 1px solid transparent;
}
.site-nav.hidden { transform: translateY(-101%); }
.site-nav.scrolled {
  background-image: none;
  background: oklch(0.13 0 0 / 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s var(--ease-out-quart);
}
.nav-links a:hover { color: var(--orange); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: center;
}
.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--orange);
  flex: 0 0 auto;
}
.brand-word {
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.12em;
}

.nav-cta { justify-self: end; }

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle-bar {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out-quart);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--bg-deep);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out-quart), visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; gap: 2rem; text-align: center; }
.mobile-menu a {
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--orange); }
/* with the menu open, the whole bar rides above the overlay (logo + close stay visible) */
body:has(.mobile-menu.open) .site-nav {
  z-index: calc(var(--z-menu) + 1);
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
  background: var(--bg-deep);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* fallback curtain if WebGL is unavailable */
.hero.no-webgl .hero-canvas { display: none; }
.hero.no-webgl::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 105%, oklch(0 0 0 / 0.75), transparent 60%),
    radial-gradient(90% 70% at 50% 30%, oklch(0.32 0.01 60 / 0.5), transparent 70%),
    repeating-linear-gradient(90deg,
      oklch(0.10 0 0) 0px, oklch(0.22 0.005 60) 26px,
      oklch(0.30 0.008 60) 34px, oklch(0.16 0.003 60) 46px,
      oklch(0.10 0 0) 60px);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, oklch(0.11 0 0 / 0.55), transparent 22%, transparent 72%, oklch(0.11 0 0) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 7rem var(--gutter) 5rem;
  max-width: 62rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: oklch(0.13 0 0 / 0.35);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: badge-pulse 2.6s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(0.68 0.205 42 / 0.45); }
  55% { box-shadow: 0 0 0 7px oklch(0.68 0.205 42 / 0); }
}

.hero-title {
  margin-top: 1.9rem;
  font-size: clamp(2.7rem, 6.2vw + 0.8rem, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  font-weight: 640;
  font-variation-settings: "wdth" 108;
}
.hero-title .line {
  display: block;
  overflow: clip;
  padding-block: 0.06em; /* keep descenders unclipped during mask reveal */
  margin-block: -0.06em;
}
.hero-title .line-inner { display: block; }

.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -0.01em;
}

.hero-sub {
  margin: 1.75rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.hero-price {
  margin-top: 1.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-scrollhint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.scrollhint-track {
  width: 1px;
  height: 44px;
  background: var(--line);
  overflow: clip;
  display: block;
}
.scrollhint-thumb {
  display: block;
  width: 100%;
  height: 16px;
  background: var(--orange);
  animation: scrollhint 2.2s var(--ease-out-quart) infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(-18px); }
  70%, 100% { transform: translateY(46px); }
}

/* ---------- stack band ---------- */

.brand-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.stack-band {
  border-block: 1px solid var(--line);
  padding: clamp(2.4rem, 4vw, 3.2rem) 0 clamp(2.6rem, 4.2vw, 3.4rem);
  background: var(--bg);
}
.stack-label {
  text-align: center;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  margin: 0 var(--gutter) clamp(1.8rem, 3vw, 2.4rem);
}
.marquee {
  overflow: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 11%, black 89%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 11%, black 89%, transparent);
}
/* the mask fades the outer 11% to zero alpha; drop it when more contrast is asked for */
@media (prefers-contrast: more) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
.marquee-track {
  display: flex;
  width: max-content;
  /* group is ~1849px at the 2rem gap, ~2050px at 2.9rem, so this holds ~42-47px/s.
     Adding or removing an item: duration_s = groupWidth_px / 45. */
  animation: marquee 38s linear infinite;
}
/* hovering a target moving at ~45px/s is a coin flip; let people stop it */
@media (hover: hover) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .tool:hover { color: oklch(0.97 0.004 75); transition-duration: 0.14s; }
}
.marquee-group {
  display: flex;
  align-items: center;
  padding-right: clamp(2rem, 3.4vw, 2.9rem);
  gap: clamp(2rem, 3.4vw, 2.9rem);
  white-space: nowrap;
}

.tool {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  flex: none;
  font-size: 1.0625rem;
  font-weight: 600;
  font-variation-settings: "wdth" 108;
  letter-spacing: 0.004em;
  /* one ink tone for mark and name, so each pair reads as a single object.
     alpha stays above 0.475 (3:1, WCAG 1.4.11) */
  color: oklch(0.79 0.004 75 / 0.88);
  transition: color 0.28s var(--ease-out-quart);
}


@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- sections shared ---------- */

.section-title {
  font-size: clamp(2.1rem, 3.6vw + 0.6rem, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  font-variation-settings: "wdth" 110;
}

/* ---------- services ---------- */

.services {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(6rem, 11vw, 10rem) var(--gutter) clamp(5rem, 9vw, 8rem);
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
/* single centred heading, no supporting column */
.section-head-center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.section-intro {
  color: var(--muted);
  max-width: 44ch;
  justify-self: end;
}

/* Two primary cards, then a wider short one beneath. Deliberately not three
   equal boxes: the third is a different kind of offer and should not look like
   a peer of the other two. */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg-deep);
  transition:
    background-color 0.3s var(--ease-out-quart),
    border-color 0.3s var(--ease-out-quart),
    color 0.3s var(--ease-out-quart);
}
.service-card h3 {
  font-size: clamp(1.25rem, 1.2vw + 0.85rem, 1.6rem);
  letter-spacing: -0.015em;
  font-variation-settings: "wdth" 108;
}
.service-card p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9875rem;
  max-width: 46ch;
  transition: color 0.3s var(--ease-out-quart);
}
.card-lead {
  color: var(--ink-soft) !important;
  font-weight: 550;
}
.card-points {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.6rem;
}
.card-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  transition: color 0.3s var(--ease-out-quart);
}
/* marker rather than a list-style so it inherits the hover colour */
.card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.45rem;
  height: 1px;
  background: var(--orange);
  transition: background-color 0.3s var(--ease-out-quart);
}

/* deliberately not a third card: it is a different kind of offer, so it gets a
   different shape rather than sitting as a peer of the two above */
.service-other {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.service-other-q {
  font-size: clamp(1.15rem, 1vw + 0.85rem, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  font-variation-settings: "wdth" 108;
  white-space: nowrap;
}
.service-other-a {
  color: var(--muted);
  font-size: 0.9875rem;
  max-width: 58ch;
}
.service-other .btn { white-space: nowrap; }

@media (hover: hover) {
  .service-card:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--on-orange);
  }
  .service-card:hover p,
  .service-card:hover .card-lead,
  .service-card:hover .card-points li { color: var(--on-orange); }
  .service-card:hover .card-points li::before { background: var(--on-orange); }
}

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

.process {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.process-grid {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(6rem, 11vw, 10rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.process-side { position: sticky; top: clamp(6rem, 14vh, 9rem); }
.process-side-sub { margin-top: 1rem; color: var(--muted); max-width: 30ch; }

.process-counter {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1.6rem;
  justify-items: start;
}
.process-digits {
  display: block;
  overflow: clip;
  height: clamp(6.5rem, 11vw, 10rem);
}
.process-digit-roll {
  display: grid;
  transition: transform 0.7s var(--ease-out-expo);
}
.process-digit-roll span {
  height: clamp(6.5rem, 11vw, 10rem);
  font-size: clamp(6.5rem, 11vw, 10rem);
  line-height: 1;
  font-weight: 780;
  font-variation-settings: "wdth" 122;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px oklch(1 0 0 / 0.28);
}
.process-digit-roll span.active { color: var(--orange); -webkit-text-stroke: 0px transparent; }

.process-track {
  display: block;
  width: clamp(8rem, 14vw, 13rem);
  height: 2px;
  background: var(--line);
  overflow: clip;
}
.process-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

.process-steps { display: grid; }
.process-step {
  padding-block: clamp(2.6rem, 5vw, 4.2rem);
  border-bottom: 1px solid var(--line);
}
.process-step:first-child { padding-top: 0.5rem; }
.process-step:last-child { border-bottom: 0; }
.step-index {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
}
.process-step h3 {
  margin-top: 0.7rem;
  font-size: clamp(1.6rem, 2vw + 0.8rem, 2.2rem);
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 110;
}
.process-capacity {
  grid-column: 1 / -1;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.process-step p {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 52ch;
}

/* ---------- proof ---------- */

.proof {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(6rem, 11vw, 10rem) var(--gutter);
}
.proof-head,
/* project entries, deliberately unlike the cards above: a meta rail on the
   left and the story on the right, so this reads as work rather than pitch */
.projects {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 0;
}
.project {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 3.2vw, 2.75rem) 0;
  border-top: 1px solid var(--line-strong);
}
.project:last-child { border-bottom: 1px solid var(--line-strong); }
.project-side { display: flex; flex-direction: column; gap: 0.35rem; }
.project-kind {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.project-where { color: var(--muted); font-size: 0.875rem; }
.project-body h3 {
  font-size: clamp(1.3rem, 1.4vw + 0.85rem, 1.75rem);
  letter-spacing: -0.015em;
  font-variation-settings: "wdth" 106;
}
.project-body p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9875rem;
  max-width: 56ch;
}
.project-facts {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.project-facts li {
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.014em;
}
.project .proof-link { display: inline-block; margin-top: 1.25rem; }

.proof-link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.proof-link:hover { color: oklch(0.76 0.17 46); }

/* the number carries the weight; the qualifier sits under it rather than
   trailing the same line, so four steps stop looking identical */
.step-price {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}
.price-amount {
  color: var(--orange);
  font-weight: 750;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 106;
}
/* the qualifier is a commercial term, not a footnote: a pill gives it enough
   presence to be read without competing with the amount above it */
/* the plain variant carries a sentence; the -tag variant is a single status
   word and gets a filled chip so it reads as a label, not a caption */
.price-note {
  margin-top: 0;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.014em;
  line-height: 1.2;
  white-space: nowrap;
}
/* free is not a price, so it does not get the signal colour */
.step-price-free .price-amount {
  color: var(--ink-soft);
  font-size: 1.1875rem;
  font-weight: 650;
}
.process-step .step-price + p { margin-top: 1rem; }

/* ---------- cta ---------- */

/* was the full orange drench; now a compact dark closer, so orange stays a
   signal on the button rather than a whole screen of it */
.cta {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  padding-bottom: 0;
}
.cta-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(4rem, 7vw, 6rem) var(--gutter) clamp(3rem, 5vw, 4rem);
  text-align: center;
}
.cta-title {
  font-size: clamp(1.9rem, 2.8vw + 0.9rem, 3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 740;
  font-variation-settings: "wdth" 112;
}
.cta-sub {
  margin: 1.1rem auto 0;
  max-width: 48ch;
  font-size: 1.0313rem;
  color: var(--muted);
}
.cta .btn { margin-top: 1.9rem; }

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

.site-footer {
  background: var(--bg-deep);
  padding-inline: var(--gutter);
  overflow: clip;
}
.footer-top {
  max-width: var(--container);
  margin-inline: auto;
  border-top: 1px solid var(--line);
  padding: clamp(2.25rem, 3.5vw, 3rem) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.footer-note { color: var(--muted); font-size: 0.9375rem; }
.footer-mail {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 0.15rem;
  transition: color 0.25s var(--ease-out-quart), border-color 0.25s var(--ease-out-quart);
}
.footer-mail:hover { color: var(--orange); border-color: var(--orange); }

.footer-nav { display: flex; gap: 1.75rem; }
.footer-nav a {
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--orange); }

.footer-legal {
  max-width: var(--container);
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.8125rem;
  padding: clamp(2rem, 3vw, 2.75rem) 0 clamp(1.75rem, 2.5vw, 2.25rem);
}

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

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-inner { grid-template-columns: auto 1fr; }
  .brand { justify-self: start; }

  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-intro { justify-self: start; }

  .service-cards { grid-template-columns: 1fr; }
  .service-other { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
  .service-other-q { white-space: normal; }
  /* grid items stretch by default, which made the button full width with its
     label still left-aligned inside it */
  .service-other .btn { justify-self: start; }

  .projects .project { grid-template-columns: 1fr; gap: 1rem; }

  .process-grid { grid-template-columns: 1fr; }
  .process-side { position: static; }
  .process-counter { display: none; }
}

@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-scrollhint { display: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  /* the second group only exists to make the loop seamless: without the
     animation it would list every tool twice */
  .marquee-group + .marquee-group { display: none; }
  .marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1.4rem;
    padding-right: 0;
    padding-inline: var(--gutter);
  }
  .badge-dot { animation: none; }
  .scrollhint-thumb { animation: none; transform: translateY(14px); }
  .process-digit-roll { transition: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ---------- standalone documents (legal, privacy, 404) ---------- */

.doc-page {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(7rem, 12vw, 10rem) var(--gutter) clamp(4rem, 7vw, 6rem);
}
.doc-page h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 110;
}
.doc-updated {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.doc-page h2 {
  margin-top: clamp(2.5rem, 4vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.doc-page h3 {
  margin-top: 1.75rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.doc-page p,
.doc-page li {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9875rem;
  line-height: 1.7;
}
.doc-page ul { margin-top: 0.5rem; }
.doc-page li {
  position: relative;
  padding-left: 1.15rem;
}
.doc-page li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.45rem;
  height: 1px;
  background: var(--orange);
}
.doc-page a { color: var(--orange); text-underline-offset: 3px; text-decoration: underline; }
.doc-dl {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.5rem 1.5rem;
  font-size: 0.9375rem;
}
.doc-dl dt { color: var(--ink-soft); font-weight: 600; }
.doc-dl dd { color: var(--muted); }
.doc-back {
  display: inline-block;
  margin-top: clamp(3rem, 5vw, 4rem);
  color: var(--ink-soft) !important;
  font-weight: 600;
  text-decoration: none !important;
}
.doc-back:hover { color: var(--orange) !important; }

@media (max-width: 520px) {
  .doc-dl { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .doc-dl dd { margin-bottom: 0.6rem; }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--gutter);
}
.notfound-code {
  color: var(--orange);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 820;
  line-height: 1;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.03em;
}
.notfound h1 {
  margin-top: 1rem;
  font-size: clamp(1.5rem, 2.5vw + 0.8rem, 2.25rem);
  letter-spacing: -0.02em;
}
.notfound p { margin-top: 1rem; color: var(--muted); max-width: 42ch; margin-inline: auto; }
.notfound .btn { margin-top: 2rem; }
