/* =====================================================================
   BIZVIN — B2B Marketing Consortium
   Art-directed editorial homepage. Standalone, PHP-convertible.
   ===================================================================== */

/* -------------------- Design tokens -------------------- */
:root {
  --red: #b51b23;
  --red-hover: #98141b;
  --red-active: #7c1016;
  --red-wash: #fdf2f2;

  --ink: #0d0f12;
  --ink-soft: #15181e;
  --ink-line: #242933;

  --paper: #fbfbfa;
  --paper-pure: #ffffff;
  --paper-warm: #f3f2ee;

  --line: #e6e5e1;
  --line-strong: #d6d5d0;

  --text: #14171d;
  --text-2: #5b616e;
  --text-3: #8a8f9a;
  --text-light: #f5f4f1;
  --text-light-2: #a2a6b0;

  --font-display: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "General Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "General Sans", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

/* -------------------- Reset / base -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
::selection {
  background: var(--red);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  transition: top 0.25s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* -------------------- Shared type -------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.accent-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: -0.01em;
}
.accent-serif--light {
  color: #fff;
}
.index-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.index-tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--red);
}
.index-tag--light {
  color: var(--text-light-2);
  border-color: var(--ink-line);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 16ch;
}
.section-title--light {
  color: var(--text-light);
}

/* -------------------- Buttons -------------------- */
.btn {
  --pad-y: 14px;
  --pad-x: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  border-radius: 2px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn__arrow {
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}
.btn--sm {
  --pad-y: 10px;
  --pad-x: 18px;
  font-size: 14px;
}
.btn--lg {
  --pad-y: 17px;
  --pad-x: 30px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
  justify-content: center;
}
.btn--primary {
  background: var(--red);
  color: #fff;
}
.btn--primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}
.btn--primary:active {
  background: var(--red-active);
  transform: translateY(0);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn--light-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.btn--light-ghost:hover {
  border-color: var(--text-light);
}
.text-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease);
}
.text-link:hover {
  gap: 14px;
}

/* -------------------- Header -------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease),
    height 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 64px;
  background: rgba(251, 251, 250, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand__mark {
  height: 40px;
  width: auto;
  transition: height 0.4s var(--ease);
}
.is-scrolled .brand__mark {
  height: 34px;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  margin-left: auto;
  margin-right: 8px;
}
.nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover {
  color: var(--red);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* nav toggle (mobile) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
body.menu-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}
body.menu-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* -------------------- Mobile menu -------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu {
  transform: translateY(0);
  visibility: visible;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: var(--ink);
}
.mobile-menu__link .idx {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  font-weight: 500;
}

/* -------------------- HERO -------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(30px, 6vw, 70px));
  padding-bottom: 0;
  overflow: hidden;
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100% 100%;
  opacity: 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.eyebrow--hero {
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--red);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  80%,
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.reveal-line > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1s var(--ease);
}
.reveal-line .accent-serif {
  font-weight: 400;
  letter-spacing: -0.02em;
}
body.is-ready .hero .reveal-line > span {
  transform: translateY(0);
}
body.is-ready .hero .reveal-line:nth-child(1) > span {
  transition-delay: 0.15s;
}
body.is-ready .hero .reveal-line:nth-child(2) > span {
  transition-delay: 0.32s;
}
.hero__lede {
  margin-top: 30px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  color: var(--text-2);
  line-height: 1.62;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease) 0.6s, transform 0.9s var(--ease) 0.6s;
}
.hero__cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease) 0.72s, transform 0.9s var(--ease) 0.72s;
}
.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease) 0.84s, transform 0.9s var(--ease) 0.84s;
}
.hero__trust .dot {
  color: var(--red);
}
body.is-ready .hero__lede,
body.is-ready .hero__cta,
body.is-ready .hero__trust {
  opacity: 1;
  transform: none;
}

/* hero visual — infinity network */
.hero__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__visual-inner {
  position: relative;
  aspect-ratio: 520 / 340;
  will-change: transform;
}
.infinity {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.inf-main {
  fill: none;
  stroke: var(--red);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}
body.is-ready .inf-main {
  animation: draw 2.6s var(--ease) 0.5s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.inf-echo {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  opacity: 0.08;
}
.inf-echo--1 {
  transform: scale(1.14);
  transform-origin: center;
}
.inf-echo--2 {
  transform: scale(1.3);
  transform-origin: center;
}
.inf-node {
  fill: var(--ink);
}
.inf-node--center {
  fill: var(--red);
}
.hero__visual-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hv-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--paper);
  padding: 3px 8px;
  border: 1px solid var(--line);
  opacity: 0;
  animation: fadeIn 0.6s var(--ease) forwards;
}
body.is-ready .hv-label--a {
  animation-delay: 2.4s;
}
body.is-ready .hv-label--b {
  animation-delay: 2.7s;
}
body.is-ready .hv-label--c {
  animation-delay: 3s;
}
.hv-label--a {
  top: 8%;
  left: 6%;
}
.hv-label--b {
  bottom: 12%;
  right: 4%;
}
.hv-label--c {
  top: 46%;
  left: 40%;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.hero__visual-caption {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  max-width: 34ch;
  border-left: 2px solid var(--red);
  padding-left: 12px;
}

/* -------------------- Marquee -------------------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--paper-pure);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text);
}
.marquee__track i {
  color: var(--red);
  font-style: normal;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* -------------------- Section shell -------------------- */
.section {
  padding-block: clamp(72px, 11vw, 150px);
  position: relative;
}
.section-head {
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head--split {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* -------------------- What we do -------------------- */
.what__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.what__statement {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--ink);
}
.what__body p {
  color: var(--text-2);
  font-size: 1.08rem;
  margin-bottom: 24px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--paper);
  padding: clamp(28px, 3vw, 42px);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.pillar:hover {
  background: var(--paper-pure);
}
.pillar__no {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  margin: 20px 0 12px;
  color: var(--ink);
}
.pillar p {
  color: var(--text-2);
  font-size: 0.98rem;
}

/* -------------------- Solutions -------------------- */
.solutions {
  background: var(--paper-pure);
  border-top: 1px solid var(--line);
}

/* generic tier meta */
.tier__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.tier__no {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.tier__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 100px;
}
.tier h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.02;
}
.tier__desc {
  color: var(--text-2);
  font-size: 1.06rem;
  max-width: 52ch;
  margin-top: 14px;
}

/* Tier 01 — Corporate: editorial split with image */
.tier--corporate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "meta figure"
    "head figure"
    "caps figure";
  gap: clamp(18px, 2.2vw, 30px) clamp(30px, 5vw, 70px);
  align-items: start;
  padding-block: clamp(30px, 4vw, 48px);
}
.tier--corporate .tier__meta {
  grid-area: meta;
  margin-bottom: 0;
}
.tier--corporate .tier__headline {
  grid-area: head;
}
.tier--corporate .caps--grid {
  grid-area: caps;
}
.tier--corporate .tier__figure {
  grid-area: figure;
}
.caps--grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.caps--grid li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.caps--grid li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.caps--grid li:hover {
  color: var(--red);
  padding-left: 10px;
}
.tier__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-left: 2px solid var(--red);
}
.tier__figure img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}
.tier__figure:hover img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.04);
}
.tier__figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 16px;
}

/* Tier 02 — SME band, typographic assembly line */
.tier-band {
  background: var(--paper);
  border-block: 1px solid var(--line);
  margin-top: clamp(40px, 5vw, 60px);
}
.tier--sme {
  padding-block: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.tier--sme .tier__headline {
  max-width: 60ch;
}
.tier__line {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.tier__line li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 24px clamp(14px, 1.6vw, 22px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.tier__line li:hover {
  color: var(--red);
  background: var(--paper-pure);
}
.tier__line-fill {
  pointer-events: none;
}
.tier__line-no {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0;
}

/* Tier 03 — Knowledge, dark inset */
.tier--knowledge {
  margin-top: clamp(50px, 6vw, 80px);
  background: var(--ink);
  color: var(--text-light);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-radius: 3px;
  overflow: hidden;
}
.tier--knowledge__text {
  padding: clamp(34px, 4vw, 60px);
}
.tier--knowledge h3 {
  color: #fff;
  margin-top: 4px;
}
.tier--knowledge .tier__desc {
  color: var(--text-light-2);
}
.tier--knowledge .tier__tag {
  color: var(--text-light-2);
  border-color: var(--ink-line);
}
.tier__stack {
  list-style: none;
  margin-top: 30px;
  border-top: 1px solid var(--ink-line);
}
.tier__stack li {
  padding: 16px 0 16px 26px;
  border-bottom: 1px solid var(--ink-line);
  color: var(--text-light);
  font-size: 1.02rem;
  position: relative;
  transition: padding-left 0.3s var(--ease), color 0.3s var(--ease);
}
.tier__stack li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.tier__stack li:hover {
  padding-left: 34px;
}
.tier--knowledge__figure {
  margin: 0;
  position: relative;
  min-height: 340px;
}
.tier--knowledge__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.62) contrast(1.1);
}
.tier--knowledge__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 15, 18, 0.7), rgba(181, 27, 35, 0.18));
  mix-blend-mode: multiply;
}

/* -------------------- Network (dark) -------------------- */
.network {
  background: var(--ink);
  color: var(--text-light);
  overflow: hidden;
}
.network__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 40%, transparent 100%);
}
.network__inner {
  position: relative;
}
.network__head {
  max-width: 60ch;
}
.network__lede {
  margin-top: 26px;
  color: var(--text-light-2);
  font-size: 1.1rem;
  line-height: 1.65;
}
.network__sectors {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.network__sectors span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  letter-spacing: -0.01em;
  color: var(--text-light);
  border: 1px solid var(--ink-line);
  padding: 12px 22px;
  border-radius: 100px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.network__sectors span:hover {
  border-color: var(--red);
  color: #fff;
  background: rgba(181, 27, 35, 0.14);
  transform: translateY(-3px);
}

/* -------------------- Credibility -------------------- */
.credibility {
  background: var(--paper);
}
.cred__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-right: none;
}
.cred__item {
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2vw, 34px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background-color 0.4s var(--ease);
}
.cred__item:hover {
  background: var(--paper-pure);
}
.cred__k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.cred__v {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--red);
  line-height: 1;
}
.cred__l {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-top: 8px;
}

/* -------------------- Case studies -------------------- */
.cases {
  background: var(--paper-pure);
  border-top: 1px solid var(--line);
}
.cases__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 60ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.cases__lede {
  color: var(--text-2);
  font-size: 1.08rem;
}
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 34px);
}
.case {
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.case:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px rgba(13, 15, 18, 0.35);
}
.case__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.case__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.8s var(--ease), transform 1.1s var(--ease);
}
.case:hover .case__figure img {
  filter: grayscale(0);
  transform: scale(1.05);
}
.case__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 5px 11px;
}
.case__body {
  padding: clamp(22px, 2.4vw, 30px);
}
.case__sector {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.case__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
  color: var(--ink);
}
.case__body p {
  color: var(--text-2);
  font-size: 0.97rem;
}

/* -------------------- Team / faces -------------------- */
.team {
  background: var(--paper);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-right: none;
}
.face {
  aspect-ratio: 1 / 1.15;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s var(--ease);
}
.face::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.face:hover {
  background: var(--paper-pure);
}
.face:hover::after {
  transform: scaleX(1);
}
.face__initial {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--ink);
  line-height: 1;
  transition: color 0.4s var(--ease);
}
.face:hover .face__initial {
  color: var(--red);
}
.face__name {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* -------------------- Final CTA -------------------- */
.final-cta {
  background: var(--ink);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  text-align: left;
}
.final-cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 82% 120%,
      rgba(181, 27, 35, 0.4),
      transparent 55%
    ),
    radial-gradient(circle at 10% -20%, rgba(181, 27, 35, 0.12), transparent 45%);
}
.final-cta__inner {
  position: relative;
}
.final-cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 24px 0;
}
.final-cta__lede {
  color: var(--text-light-2);
  font-size: 1.14rem;
  max-width: 52ch;
  line-height: 1.6;
}
.final-cta__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* -------------------- Footer -------------------- */
.footer {
  background: var(--ink-soft);
  color: var(--text-light);
  padding-top: clamp(56px, 7vw, 90px);
  border-top: 1px solid var(--ink-line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--ink-line);
}
.footer__logo {
  height: 46px;
  width: auto;
  margin-bottom: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer__manifesto {
  color: var(--text-light-2);
  max-width: 34ch;
  font-size: 0.98rem;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
  font-weight: 500;
}
.footer__col a,
.footer__col span {
  color: var(--text-light-2);
  font-size: 0.97rem;
  transition: color 0.3s var(--ease);
  width: fit-content;
}
.footer__col a:hover {
  color: #fff;
}
.footer__col--contact .btn {
  margin-top: 8px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

/* -------------------- Connect drawer -------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
}
.drawer.is-open {
  visibility: visible;
}
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 18, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.drawer.is-open .drawer__scrim {
  opacity: 1;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(460px, 100%);
  background: var(--paper);
  padding: clamp(26px, 3vw, 42px);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  border-left: 3px solid var(--red);
}
.drawer.is-open .drawer__panel {
  transform: translateX(0);
}
.drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}
.drawer__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 12px;
  color: var(--ink);
}
.drawer__close {
  font-size: 32px;
  line-height: 1;
  color: var(--text-2);
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
  flex-shrink: 0;
}
.drawer__close:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}
.drawer__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-pure);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 13px 14px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(181, 27, 35, 0.12);
}
.field input.invalid,
.field textarea.invalid {
  border-color: var(--red);
}
.field__error {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--red);
  min-height: 0;
}
.drawer__note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
}

/* -------------------- Toast -------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 140%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 15px 22px;
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s var(--ease);
  max-width: calc(100vw - 40px);
}
.toast::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.toast.is-visible {
  transform: translate(-50%, 0);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header__actions .btn--primary {
    display: none;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    display: none;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .what__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .tier--corporate {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "head"
      "figure"
      "caps";
  }
  .tier--knowledge {
    grid-template-columns: 1fr;
  }
  .tier--knowledge__figure {
    min-height: 260px;
    order: -1;
  }
  .tier__line {
    grid-template-columns: repeat(2, 1fr);
  }
  .cred__grid {
    grid-template-columns: 1fr 1fr;
    border-right: 1px solid var(--line);
    border-bottom: none;
  }
  .cred__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .cases__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
    border-right: 1px solid var(--line);
  }
  .face:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    justify-content: center;
  }
  .caps--grid {
    grid-template-columns: 1fr;
  }
  .tier__line {
    grid-template-columns: 1fr;
  }
  .tier__line-fill {
    display: none;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .face:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }
  .final-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .hero__lede,
  .hero__cta,
  .hero__trust,
  .reveal-line > span {
    opacity: 1 !important;
    transform: none !important;
  }
  .inf-main {
    stroke-dashoffset: 0 !important;
  }
  .marquee__track {
    animation: none !important;
  }
}
