/* ============================================================================
   GEF Studio — design system
   Mood: Operational Atlas. Dark cinematic hero, calm editorial light sections.
   Sober premium, technical, Italian B2B. Two-tone (teal on ink / ink on cream).
   Motion: transform/opacity only, GPU-safe, mobile-safe, reduced-motion aware.
   Font: Space Grotesk (self-hosted, GDPR-safe) for display/UI; system for body.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-vf.woff2") format("woff2");
}

:root {
  /* dark surfaces */
  --ink: #0b2424;
  --ink-1: #0e2a2a;
  --ink-2: #112f2f;
  --ink-deep: #061818;
  --on-ink: #f4f7f6;
  --on-ink-soft: rgba(244, 247, 246, 0.66);
  --on-ink-dim: rgba(244, 247, 246, 0.44);
  --ink-line: rgba(255, 255, 255, 0.1);
  --ink-line-soft: rgba(255, 255, 255, 0.06);

  /* accent */
  --teal: #5dd0c7;
  --teal-bright: #7beadf;
  --teal-deep: #0d3d56;
  --sand: #b7d9d5;

  /* light surfaces */
  --cream: #fafaf7;
  --paper: #ffffff;
  --fog: #f2f3ef;
  --ink-on-light: #0c2626;
  --muted: #51635f;
  --muted-2: #6c7d79;
  --line: rgba(12, 38, 38, 0.12);
  --line-soft: rgba(12, 38, 38, 0.07);

  /* type + motion */
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: -apple-system, "SF Pro Text", BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --nav-h: 88px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-on-light);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

::selection {
  background: var(--teal);
  color: var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 4px;
}

/* fixed grain/noise overlay — physical paper depth (pointer-safe) ----------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================ NAV (floating pill) ========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 18px;
  padding-bottom: 6px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(12, 38, 38, 0.08);
  background: rgba(250, 250, 247, 0.72);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 14px 40px -22px rgba(12, 38, 38, 0.4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
}

.brand-mark img {
  width: 30px;
  height: 30px;
}

.brand-logo {
  gap: 0;
}

.brand-wordmark {
  display: block;
  width: 150px;
  height: auto;
}

.brand span:last-child {
  position: relative;
  top: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
}

.nav-links > a {
  padding: 8px 13px;
  border-radius: var(--r-pill);
  color: var(--muted);
  transition: color 0.4s var(--ease), background 0.4s var(--ease);
}

.nav-links > a:hover {
  color: var(--ink-on-light);
  background: rgba(12, 38, 38, 0.05);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  padding: 9px 9px 9px 20px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.55s var(--ease), background 0.45s var(--ease),
    border-color 0.45s var(--ease), color 0.45s var(--ease);
}

.nav-links > .nav-cta {
  background: var(--ink-on-light);
  color: #fff;
  padding: 10px 18px;
}

.nav-links > .nav-cta:hover {
  background: var(--ink);
  color: #fff;
}

/* button-in-button trailing icon */
.button-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  font-size: 15px;
  transition: transform 0.5s var(--spring), background 0.45s var(--ease);
}

.button.primary {
  background: var(--teal);
  color: var(--ink);
}

.button.primary .button-dot {
  background: rgba(11, 36, 36, 0.16);
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--on-ink);
  padding: 9px 22px;
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button.primary:active {
  transform: translateY(-2px) scale(0.985);
}

.button:hover .button-dot {
  transform: translate(3px, -1px) scale(1.06);
}

/* hamburger (mobile) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-on-light);
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}
.nav-toggle span:nth-child(2) {
  top: 25px;
}

body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
body.menu-open .nav-toggle span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* mobile overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 39;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 0 30px;
  background: rgba(11, 36, 36, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

body.menu-open .nav-overlay {
  opacity: 1;
  visibility: visible;
}

.nav-overlay a {
  font-family: var(--display);
  font-size: clamp(30px, 9vw, 46px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--on-ink);
  padding: 6px 0;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.3s;
}

.nav-overlay a:hover {
  color: var(--teal);
}

body.menu-open .nav-overlay a {
  transform: translateY(0);
  opacity: 1;
}

body.menu-open .nav-overlay a:nth-child(1) {
  transition-delay: 0.08s;
}
body.menu-open .nav-overlay a:nth-child(2) {
  transition-delay: 0.13s;
}
body.menu-open .nav-overlay a:nth-child(3) {
  transition-delay: 0.18s;
}
body.menu-open .nav-overlay a:nth-child(4) {
  transition-delay: 0.23s;
}
body.menu-open .nav-overlay a:nth-child(5) {
  transition-delay: 0.28s;
}
body.menu-open .nav-overlay a:nth-child(6) {
  transition-delay: 0.33s;
}
body.menu-open .nav-overlay a:nth-child(7) {
  transition-delay: 0.38s;
}

/* ================================ HERO =================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -94px;
  padding-top: 94px;
  min-height: 100svh;
  background: var(--ink);
  color: var(--on-ink);
}

/* coordinate grid + ambient glow (CSS only, GPU-safe) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 92% at 72% 30%, #000 38%, transparent 78%);
  mask-image: radial-gradient(120% 92% at 72% 30%, #000 38%, transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10%;
  right: -6%;
  width: 60vw;
  max-width: 760px;
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(93, 208, 199, 0.16),
    rgba(93, 208, 199, 0) 62%
  );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 64px;
  min-height: calc(100svh - 94px);
  padding-block: 56px 76px;
  grid-template-columns: 1fr 1.04fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(93, 208, 199, 0.16);
}

.hero .eyebrow {
  color: var(--on-ink-soft);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

/* line-mask word reveal */
.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.reveal-line > span {
  display: block;
  transform: translateY(105%);
}

.hero-copy {
  max-width: 52ch;
  margin-top: 28px;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.7;
  color: var(--on-ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 46px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
}

.scroll-hint i {
  width: 26px;
  height: 1px;
  background: var(--on-ink-dim);
  position: relative;
  overflow: hidden;
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateX(-100%);
  animation: scan 2.4s var(--ease-io) infinite;
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  60%,
  100% {
    transform: translateX(100%);
  }
}

/* ----------------------- the System Map (hero visual) -------------------- */
.bezel {
  border-radius: calc(var(--r-lg) + 6px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--ink-line);
  padding: 7px;
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.7);
}

.bezel-core {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--ink-1), var(--ink-2));
  border: 1px solid var(--ink-line-soft);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.sysmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ink-line-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
}

.dotline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dotline b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 10px var(--teal);
  animation: live 1.8s ease-in-out infinite;
}

@keyframes live {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

.chain {
  position: relative;
  padding: 12px 20px 18px;
}

/* the vertical rail that draws on load */
.chain::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 26px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(93, 208, 199, 0.1),
    var(--teal) 30%,
    var(--teal) 70%,
    rgba(93, 208, 199, 0.1)
  );
  transform: scaleY(0);
  transform-origin: top;
}

/* travelling signal pulse */
.chain::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 14px var(--teal-bright);
  opacity: 0;
}

.node {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  opacity: 0;
  transform: translateY(8px);
}

.node .idx {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--on-ink-dim);
  text-align: center;
}

.node .knot {
  position: absolute;
  left: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(11, 36, 36, 1), 0 0 0 5px rgba(93, 208, 199, 0.18);
  z-index: 1;
}

.node .meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 16px;
}

.node .meta strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--on-ink);
  letter-spacing: -0.01em;
}

.node .meta span {
  font-size: 12.5px;
  color: var(--on-ink-dim);
}

.node .stat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(93, 208, 199, 0.28);
  background: rgba(93, 208, 199, 0.08);
  padding: 4px 8px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

/* isolated client lanes */
.lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--ink-line-soft);
}

.lane {
  border: 1px solid var(--ink-line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.lane small {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
}

.lane strong {
  display: block;
  margin-top: 5px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--on-ink);
}

.lane .bar {
  margin-top: 11px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lane .bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal));
}

.lane.sep::before {
  content: "isolato";
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.7;
}

/* ============================ SECTIONS (light) =========================== */
.section {
  position: relative;
  padding-block: clamp(96px, 13vw, 168px);
  border-bottom: 1px solid var(--line-soft);
}

.section.fog {
  background: var(--fog);
}
.section.white {
  background: var(--paper);
}

.section-head {
  max-width: 760px;
}

.section-title {
  margin-top: 18px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.035em;
}

.section-copy {
  margin-top: 20px;
  max-width: 62ch;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.72;
  color: var(--muted);
}

/* positioning chain (horizontal controlled chain) */
.flowchain {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 64px;
  flex-wrap: wrap;
}

.flowchain .step {
  flex: 1 1 0;
  min-width: 150px;
  position: relative;
  padding: 22px 22px 22px 0;
}

.flowchain .step + .step {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.flowchain .knot2 {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(93, 208, 199, 0.12);
}

.flowchain h4 {
  margin-top: 16px;
  font-size: 18px;
}

.flowchain p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ----------------------------- bento services ---------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 60px;
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 230px;
  padding: 26px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.6s var(--ease);
}

.svc.wide {
  grid-column: span 3;
}
.svc.tall {
  grid-column: span 3;
}

.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 80% at 100% 0,
    rgba(93, 208, 199, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.svc:hover {
  transform: translateY(-5px);
  border-color: rgba(12, 38, 38, 0.22);
  box-shadow: 0 30px 60px -38px rgba(12, 38, 38, 0.5);
}

.svc:hover::after {
  opacity: 1;
}

.svc-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--teal-deep);
  transition: transform 0.6s var(--spring);
}

.svc:hover .svc-icon {
  transform: translateY(-2px) rotate(-4deg);
}

.svc-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc h3 {
  margin-top: auto;
  padding-top: 22px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.svc p {
  margin-top: 11px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

.svc .tagrow {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tagrow span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}

/* ------------------------------- method ---------------------------------- */
.method-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
}

.step-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), border-color 0.5s var(--ease);
}

.step-row:hover {
  transform: translateX(4px);
  border-color: rgba(12, 38, 38, 0.2);
}

.step-row .n {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--teal-deep);
  line-height: 1;
}

.step-row h4 {
  font-size: 19px;
}

.step-row p {
  margin-top: 9px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

/* ------------------------------- projects -------------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  margin-top: 60px;
}

.project {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: transform 0.6s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.6s var(--ease);
}

.project:hover,
.project:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(12, 38, 38, 0.2);
  box-shadow: 0 30px 60px -40px rgba(12, 38, 38, 0.5);
  outline: 0;
}

.project-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.project small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.project h3 {
  margin-top: 7px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.status {
  flex: none;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 6px 11px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.status.live {
  color: var(--teal-deep);
  border-color: rgba(93, 208, 199, 0.4);
  background: rgba(93, 208, 199, 0.1);
}

.project p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

.project .domain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.project .domain::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.project .domain span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.project-cta {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 9px;
  color: var(--ink-on-light);
  background: rgba(93, 208, 199, 0.1);
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.project:hover .project-cta,
.project:focus-visible .project-cta {
  color: var(--teal-deep);
  border-color: rgba(93, 208, 199, 0.45);
  background: rgba(93, 208, 199, 0.18);
}

/* ------------------------------ signature -------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.sig-stage {
  border-radius: var(--r-lg);
  background: var(--ink);
  border: 1px solid var(--ink-line);
  padding: 40px;
  color: var(--on-ink);
}

.sig-stage .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
}

.sig-badge {
  margin-top: 18px;
  height: 72px;
}

.signature-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  align-items: center;
  width: min(100%, 430px);
  margin-top: 18px;
  padding: 22px 24px 22px 26px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(9, 31, 31, 0.98), rgba(6, 20, 20, 0.98));
  border: 1px solid rgba(123, 234, 223, 0.28);
  color: #f4f7f6;
  text-decoration: none;
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.5s var(--ease), border-color 0.3s var(--ease), box-shadow 0.5s var(--ease);
}

.signature-card:hover,
.signature-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(123, 234, 223, 0.58);
  box-shadow: 0 30px 70px -36px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  outline: 0;
}

.signature-card__label {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 247, 246, 0.68);
}

.signature-card__logo {
  display: block;
  width: min(240px, 64vw);
  height: auto;
}

.signature-card__arrow {
  position: relative;
  display: block;
  width: 46px;
  height: 28px;
}

.signature-card__arrow::before,
.signature-card__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  background: #f4f7f6;
}

.signature-card__arrow::before {
  width: 44px;
  height: 3px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.signature-card__arrow::after {
  width: 16px;
  height: 16px;
  border-top: 3px solid #f4f7f6;
  border-right: 3px solid #f4f7f6;
  background: transparent;
  transform: translateY(-50%) rotate(45deg);
}

.codekit {
  margin-top: 26px;
  border-radius: var(--r-sm);
  border: 1px solid var(--ink-line);
  background: rgba(0, 0, 0, 0.25);
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--on-ink-soft);
  overflow-x: auto;
}

.codekit .t {
  color: var(--teal-bright);
}
.codekit .a {
  color: var(--sand);
}

.check-list {
  display: grid;
  gap: 12px;
}

.check {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--cream);
  border: 1px solid var(--line);
}

.check-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--teal-deep);
  font-family: var(--display);
  font-weight: 700;
}

.check p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.signature-demo {
  margin-top: 30px;
  padding: 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
}

.signature-demo small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.signature-demo p {
  margin-top: 11px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}

.signature-demo a,
.text-link {
  color: var(--ink-on-light);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.3s;
}

.text-link:hover {
  text-decoration-color: var(--teal-deep);
}

/* ------------------------------- contact --------------------------------- */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 0;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(90% 90% at 20% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(90% 90% at 20% 30%, #000 30%, transparent 75%);
}

.contact .section-copy {
  color: var(--on-ink-soft);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 40px;
  align-items: end;
}

.contact-meta {
  display: grid;
  gap: 7px;
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--on-ink-soft);
}

/* -------------------------------- footer --------------------------------- */
.footer {
  background: var(--ink-deep);
  color: var(--on-ink-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 36px;
  padding-block: 54px 30px;
}

.footer .brand {
  color: var(--on-ink);
  margin-bottom: 14px;
}

.footer p {
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-auto-rows: min-content;
  gap: 11px;
  font-family: var(--display);
  font-size: 14px;
}

.footer-links a {
  color: var(--on-ink-soft);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-legal {
  border-top: 1px solid var(--ink-line-soft);
  padding-block: 22px 40px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--on-ink-dim);
}

/* ------------------------------ legal pages ------------------------------ */
.legal-page {
  min-height: 62svh;
}

.legal-page h1 {
  margin-top: 14px;
  font-size: clamp(38px, 5vw, 56px);
}

.legal-list {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

.legal-list div {
  padding: 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  line-height: 1.7;
}

/* ============================ SCROLL REVEAL ============================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: transform, opacity;
}

[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ============================= RESPONSIVE =============================== */
@media (max-width: 1024px) {
  .hero-grid,
  .method-layout,
  .two-col,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .svc,
  .svc.wide,
  .svc.tall {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 60px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, 1240px);
  }

  .brand-wordmark {
    width: 120px;
  }

  body {
    font-size: 16px;
  }

  .bento {
    grid-template-columns: 1fr;
  }
  .svc,
  .svc.wide,
  .svc.tall {
    grid-column: span 1;
    min-height: 0;
  }

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

  .project {
    padding: 24px;
  }

  .project-head {
    display: grid;
  }

  .project .domain {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .signature-card {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 18px;
  }

  .signature-card__logo {
    width: min(210px, 62vw);
  }

  .signature-card__arrow {
    width: 48px;
    height: 24px;
  }

  .signature-card__arrow::before {
    width: 34px;
  }

  #firma .sig-stage {
    padding: 24px 18px;
  }

  #firma .section-title {
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: 0;
  }

  #firma .section-copy {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: break-word;
  }

  #firma .codekit {
    padding: 14px;
    font-size: 11px;
    overflow-x: hidden;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .lanes {
    grid-template-columns: 1fr;
  }

  .flowchain .step {
    flex: 1 1 100%;
    padding: 18px 0;
  }
  .flowchain .step + .step {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .section {
    padding-block: 84px;
  }
}

/* ====================== HERO LOAD CHOREOGRAPHY ========================= */
/* default (no-js / pre-play): show everything so content is never hidden */
.js .reveal-line > span {
  transform: translateY(105%);
  transition: transform 0.95s var(--ease);
  transition-delay: var(--d, 0s);
}
.js.ready .reveal-line > span {
  transform: translateY(0);
}

.js .hero-copy,
.js .hero .actions,
.js .scroll-hint,
.js .hero .bezel {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js.ready .hero-copy,
.js.ready .hero .actions,
.js.ready .scroll-hint,
.js.ready .hero .bezel {
  opacity: 1;
  transform: none;
}

.js .chain::before {
  transition: transform 1.3s var(--ease-io) 0.45s;
}
.js.ready .chain::before {
  transform: scaleY(1);
}

.js .node {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js.ready .node {
  opacity: 1;
  transform: none;
}
.js.ready .node:nth-child(1) {
  transition-delay: 0.55s;
}
.js.ready .node:nth-child(2) {
  transition-delay: 0.66s;
}
.js.ready .node:nth-child(3) {
  transition-delay: 0.77s;
}
.js.ready .node:nth-child(4) {
  transition-delay: 0.88s;
}
.js.ready .node:nth-child(5) {
  transition-delay: 0.99s;
}
.js.ready .node:nth-child(6) {
  transition-delay: 1.1s;
}
.js.ready .node:nth-child(7) {
  transition-delay: 1.21s;
}

.js.ready .chain::after {
  animation: signal 3.4s var(--ease-io) 1.5s infinite;
}

@keyframes signal {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    transform: translateY(var(--rail, 300px));
    opacity: 0;
  }
}

.js.ready .lane .bar i {
  transition: width 1.1s var(--ease) 1.3s;
}
.js.ready .lane.a .bar i {
  width: 82%;
}
.js.ready .lane.b .bar i {
  width: 34%;
}

/* ===================== HERO CINEMATIC WEBGL LAYER ======================= */
/* Full-bleed living "data lattice" behind the hero. The bezel instrument and
   all copy sit ABOVE it (z-index 1). If WebGL/JS is unavailable the canvas
   stays transparent and the CSS grid + glow + bezel remain — hero never blank. */
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.6s var(--ease) 0.15s;
  /* art-direct + protect legibility: faint behind the headline (left),
     full intensity on the right where the instrument panel lives */
  -webkit-mask-image: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.22),
    rgba(0, 0, 0, 0.8) 52%,
    #000 78%
  );
  mask-image: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.22),
    rgba(0, 0, 0, 0.8) 52%,
    #000 78%
  );
}
.js.ready .hero-fx {
  opacity: 1;
}
.hero-grid {
  position: relative;
  z-index: 1;
  will-change: transform;
}

/* ===================== KINETIC SPLIT TYPOGRAPHY ========================= */
/* Section titles are split into words that rise on enter (scroll-driven). */
.kin-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.kin-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.95s var(--ease);
  transition-delay: var(--kd, 0s);
  will-change: transform;
}
.section-title.in .kin-word > span {
  transform: none;
}
.qa-reveal .kin-word > span {
  transform: none !important;
}
.still-motion *,
.still-motion *::before,
.still-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

/* ============================ REDUCED MOTION ============================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-fx {
    transition: none;
  }
  .kin-word > span {
    transform: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .reveal-line > span {
    transform: none;
  }
  .node {
    opacity: 1;
    transform: none;
  }
  .chain::before {
    transform: scaleY(1);
  }
}

/* ============================================================================
   CINEMATIC v2 — FULL DARK IMMERSIVE
   The WebGL "data lattice" is a fixed full-viewport background; content floats
   above as dark-glass panels so the living 3D network shows through the entire
   scroll. Overrides the v1 light editorial sections. Two-tone preserved.
   ========================================================================== */
body {
  background: var(--ink-deep);
  color: var(--on-ink);
}

.hero-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.8s var(--ease) 0.2s;
  -webkit-mask-image: none;
  mask-image: none;
}
.js.ready .hero-fx {
  opacity: 1;
}

/* vignette so content stays legible over the moving network */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(125% 85% at 50% 8%, rgba(6, 18, 18, 0) 32%, rgba(6, 18, 18, 0.5) 100%),
    linear-gradient(180deg, rgba(6, 18, 18, 0.4), rgba(6, 18, 18, 0) 16%, rgba(6, 18, 18, 0) 84%, rgba(6, 18, 18, 0.55));
}

/* real content floats above canvas + scrim (nav keeps its own high z-index) */
main,
.footer {
  position: relative;
  z-index: 2;
}
/* footer rides over the living network too (no solid black block) */
.footer {
  background: transparent;
}
.footer-legal {
  text-shadow: 0 1px 14px rgba(6, 18, 18, 0.85);
}

/* hero + all sections transparent → network is visible through the page */
.hero,
.section,
.section.white,
.section.fog,
.contact {
  background: transparent;
}
.section {
  border-bottom: 1px solid var(--ink-line-soft);
}
.hero::before {
  opacity: 0.5;
}
.hero::after {
  opacity: 0.7;
}
.contact::before {
  opacity: 0.5;
}

/* headings/copy on dark, slight glow for legibility over motion */
.section-title {
  color: var(--on-ink);
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.6);
}
.section-copy {
  color: var(--on-ink-soft);
}
.eyebrow {
  color: var(--on-ink-soft);
}

/* cards → dark glass floating over the living network */
.svc,
.step-row,
.project,
.check {
  background: rgba(13, 38, 38, 0.5);
  -webkit-backdrop-filter: blur(11px) saturate(140%);
  backdrop-filter: blur(11px) saturate(140%);
  border-color: var(--ink-line);
  color: var(--on-ink);
}
.svc h3,
.svc.full h3,
.step-row h4,
.project h3,
.flowchain h4 {
  color: var(--on-ink);
}
.svc p,
.step-row p,
.project p,
.check p,
.flowchain p {
  color: var(--on-ink-soft);
}
.svc:hover,
.project:hover {
  border-color: rgba(123, 234, 223, 0.4);
  box-shadow: 0 44px 90px -50px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(123, 234, 223, 0.06);
}
.step-row:hover {
  border-color: rgba(123, 234, 223, 0.34);
}
.svc-icon {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--ink-line);
  color: var(--teal);
}
.svc::after {
  background: radial-gradient(120% 80% at 100% 0, rgba(123, 234, 223, 0.16), transparent 60%);
}
.tagrow span {
  color: var(--on-ink-soft);
  border-color: var(--ink-line);
}

/* positioning flowchain on dark */
.flowchain .step + .step {
  border-left-color: var(--ink-line);
}
.flowchain .knot2 {
  background: var(--ink-2);
}
@media (max-width: 620px) {
  .flowchain .step + .step {
    border-top-color: var(--ink-line);
  }
}

/* projects: status + domain on dark */
.status {
  color: var(--on-ink-soft);
  border-color: var(--ink-line);
  background: rgba(255, 255, 255, 0.03);
}
.status.live {
  color: var(--teal-bright);
  border-color: rgba(123, 234, 223, 0.4);
  background: rgba(123, 234, 223, 0.1);
}
.project .domain {
  color: var(--on-ink-soft);
  border-top-color: var(--ink-line);
}
.project-cta {
  color: var(--teal-bright);
  border-color: rgba(123, 234, 223, 0.3);
  background: rgba(123, 234, 223, 0.1);
}
.project:hover .project-cta,
.project:focus-visible .project-cta {
  color: var(--ink);
  border-color: rgba(123, 234, 223, 0.72);
  background: var(--teal-bright);
}

/* signature + checklist + links over glass */
.sig-stage {
  background: rgba(8, 26, 26, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.check-mark {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ink-line);
  color: var(--teal-bright);
}
.text-link {
  color: var(--on-ink);
  text-decoration-color: var(--teal);
}
.text-link:hover {
  text-decoration-color: var(--teal-bright);
}

/* nav pill → dark glass (keeps its high z-index from base rules) */
.nav-inner {
  background: rgba(9, 26, 26, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 50px -28px rgba(0, 0, 0, 0.8);
}
.brand {
  color: var(--on-ink);
}
.nav-links > a {
  color: var(--on-ink-soft);
}
.nav-links > a:hover {
  color: var(--on-ink);
  background: rgba(255, 255, 255, 0.06);
}
.nav-links > .nav-cta {
  background: var(--teal);
  color: var(--ink);
}
.nav-links > .nav-cta:hover {
  background: var(--teal-bright);
  color: var(--ink);
}
.nav-toggle span {
  background: var(--on-ink);
}

/* bezel instrument floats brighter over the network */
.bezel {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 60px 140px -50px rgba(0, 0, 0, 0.85);
}

/* GPU hints for the continuous scroll-kinetic `translate` */
.section-title,
.section-copy,
.eyebrow,
.hero h1,
.hero-copy,
.svc,
.project,
.step-row,
.bezel {
  will-change: transform, translate;
}

/* legal pages (no canvas) stay readable on dark */
.legal-page h1 {
  color: var(--on-ink);
}
.legal-list div {
  background: rgba(13, 38, 38, 0.5);
  border-color: var(--ink-line);
  color: var(--on-ink-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-fx {
    transition: none;
  }
}

/* ============================================================================
   v2.1 — richer scroll reveals + secondary colour to break the teal monotony
   ========================================================================== */
:root {
  --violet: #9485ff;
  --violet-bright: #b3a8ff;
}

/* nicer reveal: clip mask + lift + micro-scale as elements enter on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  filter: blur(8px);
  clip-path: inset(0 0 10% 0 round 5px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease),
    filter 1s var(--ease), clip-path 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: blur(0);
  clip-path: inset(0 0 0 0 round 5px);
}

/* sparing violet accents (alternate sections + every 3rd service icon) */
.section:nth-of-type(even) .eyebrow::before {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(148, 133, 255, 0.16);
}
.svc:nth-child(3n) .svc-icon {
  color: var(--violet-bright);
  border-color: rgba(148, 133, 255, 0.3);
}
.svc:nth-child(3n):hover {
  border-color: rgba(148, 133, 255, 0.42);
}
.scroll-hint i::after {
  background: var(--violet-bright);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    clip-path: none;
    transform: none;
    filter: none;
    opacity: 1;
  }
}

/* ============================================================================
   CRO additions — hero trust-strip · FAQ accordion · contact lead form
   ========================================================================== */

/* trust-strip under the hero CTAs — subtle, on-brand, non-invasive */
.trust-strip {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--on-ink-dim);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.ready .trust-strip {
  opacity: 1;
  transform: none;
}
.trust-strip li {
  position: relative;
  padding-left: 16px;
  white-space: nowrap;
}
.trust-strip li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(93, 208, 199, 0.14);
}
.trust-strip li:nth-child(2)::before {
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(148, 133, 255, 0.16);
}
@media (prefers-reduced-motion: reduce) {
  .trust-strip {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 480px) {
  .trust-strip {
    gap: 6px 12px;
    font-size: 11px;
  }
}

/* FAQ accordion — native <details>, zero JS, on the light .section.white */
.faq-list {
  max-width: 820px;
  margin: 38px auto 0;
  border-top: 1px solid var(--ink-line);
}
.faq-list details {
  border-bottom: 1px solid var(--ink-line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(17px, 2.2vw, 20px);
  letter-spacing: -0.02em;
  color: var(--on-ink);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  transition: color 0.25s var(--ease);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: var(--teal);
  transition: transform 0.3s var(--spring), color 0.25s var(--ease);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  color: var(--violet-bright);
}
.faq-list summary:hover {
  color: var(--teal-bright);
}
.faq-list details > p {
  margin: 0;
  padding: 0 4px 24px;
  max-width: 68ch;
  color: var(--on-ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* contact lead form — minimal, dark surface, mailto fallback */
.lead-form {
  display: grid;
  gap: 16px;
  width: min(420px, 100%);
}
.lead-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lead-form .field {
  display: grid;
  gap: 7px;
}
.lead-form label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  color: var(--on-ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.lead-form textarea {
  resize: vertical;
  min-height: 104px;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: var(--on-ink-dim);
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(93, 208, 199, 0.07);
}
.lead-form .button.primary {
  justify-self: start;
}
.lead-fallback {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--on-ink-soft);
}
@media (max-width: 1024px) {
  .lead-form {
    width: 100%;
  }
}
