/* ==========================================================================
   cSolutions – Relaunch 2026
   Design system: Broadcast – ink / paper / signal red
   ========================================================================== */

/* --- 00 · Tokens --------------------------------------------------------- */
:root {
  --ink: #0b0b0c;
  --ink-2: #141417;
  --ink-3: #1d1d21;
  --paper: #f5f3ee;
  --paper-2: #ece8e0;
  --paper-3: #faf8f4;
  --red: #e80409;
  --red-bright: #fb2529;
  --red-deep: #c70308;
  --white: #ffffff;
  --t-mut-d: rgba(11, 11, 12, 0.64);
  --t-mut-l: rgba(255, 255, 255, 0.66);
  --t-faint-l: rgba(255, 255, 255, 0.42);
  --line-d: rgba(11, 11, 12, 0.14);
  --line-l: rgba(255, 255, 255, 0.12);
  --ff-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 4.5rem;
}

/* --- 01 · Reset & base --------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--red); color: #fff; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

/* --- 02 · Layout utilities ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section--ink { background: var(--ink); color: var(--white); }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  flex: none;
}
.eyebrow--dark { color: var(--red-bright); }

.sec-head { max-width: 47rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { font-size: clamp(1.9rem, 2.8vw + 1rem, 3.1rem); margin-top: 1.1rem; }
.sec-head .lead {
  margin-top: 1.1rem;
  font-size: clamp(1.02rem, 0.6vw + 0.9rem, 1.18rem);
  color: var(--t-mut-d);
  max-width: 42rem;
}
.section--ink .sec-head .lead { color: var(--t-mut-l); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); box-shadow: 0 12px 26px -14px rgba(232, 4, 9, 0.65); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.06); }

.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--paper-3); box-shadow: 0 12px 26px -16px rgba(11, 11, 12, 0.5); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.text-link {
  color: var(--red-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s var(--ease);
}
.text-link:hover { color: var(--ink); }

/* Reveal-on-scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- 03 · Header & navigation ------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled,
.page-inner .site-header {
  background: rgba(11, 11, 12, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line-l);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  flex: none;
}
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
}
.nav-links a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--t-mut-l);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-l);
  border-radius: 999px;
}
.lang-switch button {
  padding: 0.28rem 0.68rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--t-mut-l);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang-switch button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.lang-switch button:hover { color: #fff; }

.nav-cta { padding: 0.78rem 1.15rem; font-size: 0.88rem; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-l);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }

/* Mobile menu */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: #fff;
  padding: 1rem var(--pad) 2rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
body.menu-open .mnav { visibility: visible; opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

.mnav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--header-h) - 1rem);
}
.mnav__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-l);
  border-radius: var(--r-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.mnav__close:hover { border-color: rgba(255, 255, 255, 0.5); }

.mnav__list {
  margin-top: clamp(1.5rem, 6vh, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mnav__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.2s var(--ease);
}
.mnav__list a:hover { color: var(--red-bright); }
.mnav__list a i {
  font-style: normal;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--red-bright);
}
body.menu-open .mnav__list a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.06s * var(--i, 0) + 0.08s);
}

.mnav__foot {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--t-mut-l);
}
.mnav__foot a { color: #fff; text-decoration: none; }
.mnav__foot a:hover { color: var(--red-bright); }

/* --- 04 · Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(7rem, 13vh, 9rem) clamp(3.9rem, 7vh, 5.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(85% 75% at 60% 20%, #000 30%, transparent 100%);
  mask-image: radial-gradient(85% 75% at 60% 20%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60rem;
  height: 42rem;
  background: radial-gradient(closest-side, rgba(232, 4, 9, 0.17), transparent 72%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-l);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-mut-l);
}
.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px rgba(251, 37, 41, 0.9);
  animation: blink 1.8s ease-in-out infinite;
}

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.1rem, 2.6vw + 1rem, 3rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
}
.hero__title .hl { color: var(--red-bright); }

.hero__sub {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.02rem, 0.6vw + 0.9rem, 1.18rem);
  color: var(--t-mut-l);
}

.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__trust {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--t-mut-l);
}
.check {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--red);
  border-radius: 5px;
}
.check svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 2.4; fill: none; }

/* Broadcast console */
.console { position: relative; min-width: 0; }

.console__frame {
  position: relative;
  margin: 0;
  padding: 1rem 1rem 0.9rem;
  background: linear-gradient(160deg, #1a1a1e 0%, #0e0e10 62%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-lg);
  box-shadow:
    0 50px 90px -50px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.console__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--red-bright);
  border-style: solid;
  border-width: 0;
  opacity: 0.85;
}
.console__corner--tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: var(--r-lg); }
.console__corner--tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: var(--r-lg); }
.console__corner--bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: var(--r-lg); }
.console__corner--br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: var(--r-lg); }

.console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.console__bar--top {
  justify-content: flex-start;
  gap: 0.85rem;
}
.console__bar--bottom {
  padding-top: 0.85rem;
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.console__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.65rem;
  background: var(--red);
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.console__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.6s ease-in-out infinite;
}

.console__tc {
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--t-mut-l);
}
.console__tc b { color: #fff; font-weight: 500; }

.console__stage {
  position: relative;
  margin-top: 0.9rem;
  height: clamp(150px, 21vw, 230px);
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 40%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 1.1rem 1.2rem;
  overflow: hidden;
}

.console__eq { display: flex; align-items: flex-end; gap: 6px; height: 100%; width: 100%; justify-content: center; }
.console__eq span {
  flex: 1 1 0;
  max-width: 14px;
  height: 100%;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(to top, rgba(232, 4, 9, 0.85), rgba(255, 122, 126, 0.95));
  transform-origin: bottom;
  transform: scaleY(0.28);
  animation: eq 1.15s var(--ease) infinite alternate;
  animation-delay: var(--dl, 0s);
  animation-duration: var(--t, 1.15s);
}

.src {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.62rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--t-mut-l);
}
.src i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px rgba(251, 37, 41, 0.9);
  animation: blink 2.2s ease-in-out infinite;
}
.src--off i { background: rgba(255, 255, 255, 0.22); box-shadow: none; animation: none; }

.console__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 18px 38px -18px rgba(0, 0, 0, 0.7);
}
.console__chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.console__chip--tr { top: -2.95rem; right: -0.5rem; }
.console__chip--bl { bottom: -2.95rem; left: -0.5rem; }

@keyframes eq {
  from { transform: scaleY(0.16); }
  to { transform: scaleY(1); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* --- 05 · Ticker --------------------------------------------------------- */
.ticker {
  background: var(--ink);
  border-block: 1px solid var(--line-l);
  overflow: hidden;
}
.ticker__viewport { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker:hover .ticker__viewport { animation-play-state: paused; }
.ticker__group {
  display: flex;
  align-items: center;
  flex: none;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  padding-block: 1.05rem;
  font-family: var(--ff-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-mut-l);
  white-space: nowrap;
}
.ticker__item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
}
.ticker__group span { padding-right: 2.4rem; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- 06 · Services ------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.svc-card {
  position: relative;
  padding: 1.8rem 1.7rem 1.9rem;
  background: var(--white);
  border: 1px solid var(--line-d);
  border-radius: var(--r-md);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 11, 12, 0.32);
  box-shadow: 0 26px 50px -34px rgba(11, 11, 12, 0.45);
}

.svc-card__num {
  position: absolute;
  top: 1.5rem;
  right: 1.6rem;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(11, 11, 12, 0.35);
}

.svc-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border-radius: 12px;
  color: var(--red-bright);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.svc-card:hover .svc-card__icon { background: var(--red); color: #fff; }
.svc-card__icon svg { width: 22px; height: 22px; }

.svc-card h3 { margin-top: 1.4rem; font-size: 1.18rem; }
.svc-card p { margin-top: 0.7rem; font-size: 0.94rem; color: var(--t-mut-d); }

/* --- 07 · Steps ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
}
.step { border-left: 1px solid var(--line-l); padding-left: clamp(1.2rem, 2.4vw, 2rem); }
.step:first-child { border-left: 0; padding-left: 0; }

.step__num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 3.2vw, 3.2rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34);
  transition: -webkit-text-stroke-color 0.3s var(--ease);
}
.step:hover .step__num { -webkit-text-stroke-color: var(--red-bright); }
.step h3 { margin-top: 1.2rem; font-size: 1.12rem; color: #fff; }
.step p { margin-top: 0.6rem; font-size: 0.93rem; color: var(--t-mut-l); }

/* --- 08 · Why + pipeline ------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.checklist { margin-top: 2.2rem; display: grid; gap: 1.5rem; }
.checklist li { display: flex; gap: 0.95rem; }
.checklist h3 { font-size: 1.02rem; letter-spacing: -0.01em; }
.checklist p { margin-top: 0.25rem; font-size: 0.93rem; color: var(--t-mut-d); }

.pipeline-card {
  background: var(--white);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: 0 40px 70px -60px rgba(11, 11, 12, 0.5);
}
.pipeline-card__cap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line-d);
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-mut-d);
}
.pipeline-card__cap i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

.pipeline { display: flex; flex-direction: column; }
.pipeline__node {
  display: flex;
  align-items: flex-start;
  gap: 1.05rem;
  width: 100%;
}
.pipeline__node-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--red-bright);
}
.pipeline__node-icon svg { width: 20px; height: 20px; }
.pipeline__node b { font-family: var(--ff-display); font-size: 0.98rem; letter-spacing: -0.01em; }
.pipeline__node small { display: block; margin-top: 0.15rem; font-size: 0.86rem; line-height: 1.5; color: var(--t-mut-d); }

.pipeline__link {
  position: relative;
  width: 44px;
  height: 34px;
  flex: none;
}
.pipeline__link::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 21px;
  width: 2px;
  background-image: repeating-linear-gradient(180deg, var(--red) 0 6px, transparent 6px 13px);
  background-size: 2px 13px;
  animation: flow 1.4s linear infinite;
}
.pipeline__link::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 17px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
  transform: rotate(135deg);
}

@keyframes flow {
  to { background-position: 0 13px; }
}

/* --- 09 · FAQ ------------------------------------------------------------ */
.faq-list { max-width: 49rem; }
.faq-item { border-bottom: 1px solid var(--line-d); }
.faq-item:first-child { border-top: 1px solid var(--line-d); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red-deep); }

.faq-mark {
  flex: none;
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-d);
  border-radius: 50%;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item[open] .faq-mark { background: var(--red); border-color: var(--red); }
.faq-item[open] .faq-mark::before,
.faq-item[open] .faq-mark::after { background: #fff; }
.faq-item[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-item .faq-body { animation: faq-in 0.35s var(--ease); }
.faq-item .faq-body p {
  padding-bottom: 1.5rem;
  max-width: 62ch;
  font-size: 0.95rem;
  color: var(--t-mut-d);
}

@keyframes faq-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* --- 10 · CTA band ------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(0, 0, 0, 0.055) 0 3px, transparent 3px 15px);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3.2rem, 7vw, 5.5rem);
}
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); max-width: 22ch; }
.cta p { margin-top: 0.8rem; color: rgba(255, 255, 255, 0.85); font-size: 0.98rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; flex: none; }

/* --- 11 · Contact -------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line-d);
  border-radius: var(--r-md);
}
.contact-card__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.contact-card__icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--red-bright);
}
.contact-card__icon svg { width: 19px; height: 19px; }
.contact-card__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t-mut-d);
}
.contact-card__value {
  margin-top: 1rem;
  font-family: var(--ff-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
}
.contact-card__value a {
  color: var(--red-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s var(--ease);
}
.contact-card__value a:hover { color: var(--ink); }
.contact-card address { font-style: normal; }

.contact-form {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--t-mut-d); }
.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper-3);
  border: 1px solid rgba(11, 11, 12, 0.18);
  border-radius: 10px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(11, 11, 12, 0.4); }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(232, 4, 9, 0.14);
}
.field textarea { min-height: 140px; resize: vertical; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
}
.form-note { font-size: 0.84rem; color: var(--t-mut-d); max-width: 24rem; }
.form-note.is-sent { color: var(--red-deep); font-weight: 600; }

/* --- 12 · Footer --------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 0.7fr;
  gap: 2.5rem;
}
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.92rem; color: var(--t-mut-l); max-width: 22rem; }
.footer-col h3 {
  font-family: var(--ff-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t-faint-l);
}
.footer-col ul { margin-top: 1.1rem; display: grid; gap: 0.6rem; }
.footer-col a,
.footer-col span { font-size: 0.92rem; color: var(--t-mut-l); text-decoration: none; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }

.footer-wordmark {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  user-select: none;
  pointer-events: none;
}

.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-l);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: 0.83rem;
  color: var(--t-mut-l);
}
.footer-bottom a {
  color: var(--t-mut-l);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom svg { width: 14px; height: 14px; }

/* --- 13 · Inner pages & 404 ---------------------------------------------- */
.page-head {
  background: var(--paper);
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2rem, 4vw, 3rem);
}
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--t-mut-d);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.backlink:hover { color: var(--red-deep); }
.backlink svg { width: 15px; height: 15px; }
.page-head h1 { margin-top: 1.4rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-head .lead { margin-top: 0.9rem; color: var(--t-mut-d); font-size: 1.05rem; }

.prose { max-width: 46rem; padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.prose h2 { font-size: 1.32rem; margin: 2.6rem 0 0.7rem; }
.prose h3 { font-size: 1.08rem; margin: 1.8rem 0 0.5rem; }
.prose p { margin: 0.65rem 0; color: rgba(11, 11, 12, 0.78); font-size: 0.97rem; }
.prose ul { margin: 0.7rem 0; padding-left: 1.15rem; list-style: disc; }
.prose li { margin: 0.35rem 0; color: rgba(11, 11, 12, 0.78); font-size: 0.97rem; }
.prose a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose address { font-style: normal; }

.note {
  margin: 1.2rem 0;
  padding: 1rem 1.25rem;
  background: var(--paper-2);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.92rem;
  color: rgba(11, 11, 12, 0.8);
}

.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  color: #fff;
  padding: 6rem 1.5rem 4rem;
}
.error-page__code {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(5rem, 20vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.22);
}
.error-page__code span { -webkit-text-stroke: 0; color: var(--red-bright); }
.error-page h1 { margin-top: 1.6rem; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.error-page p { margin-top: 1rem; color: var(--t-mut-l); }
.error-page .btn { margin-top: 2.2rem; }

/* --- 14 · Media queries -------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .console { max-width: 40rem; margin-inline: auto; width: 100%; }
}

@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-l); padding-top: 1.6rem; margin-top: 1.6rem; }
  .step:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .pipeline__node { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand p { max-width: none; }
}

@media (max-width: 560px) {
  .console__chip { display: none; }
  .console__bar--bottom .src--off { display: none; }
  .hero__actions .btn { width: 100%; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { width: 100%; }
  .form-actions .btn { width: 100%; }
}

/* --- 15 · Motion preferences --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .console__eq span { animation: none; transform: scaleY(0.55); }
  .ticker__viewport { animation: none; }
  .pipeline__link::before { animation: none; }
  .console__live i, .src i { animation: none; }
  .mnav__list a { opacity: 1; transform: none; transition: none; }
  .btn:hover, .svc-card:hover { transform: none; }
}
