/* =========================================================================
   Endor Digital — site styles
   Brand: three folded ribbon bands, slanted ~19°, electric blue → navy.
   ========================================================================= */

/* ---------------------------------------------------------------- fonts
   Self-hosted (latin subset). Archivo, Inter and JetBrains Mono are licensed
   under the SIL Open Font License 1.1. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
}

:root {
  --paper: #f4f6fb;
  --paper-2: #e9eef8;
  --white: #ffffff;
  --ink: #061a47;
  --ink-soft: #2c3a5c;
  --muted: #5d6987;
  --blue: #0066ff;
  --blue-2: #0047c8;
  --navy: #061a47;
  --night: #030b22;
  --night-2: #071436;
  --on-dark: #e8eeff;
  --on-dark-muted: #9aa8cc;
  --line: rgba(6, 26, 71, 0.12);
  --line-dark: rgba(232, 238, 255, 0.12);

  --slant: 19deg;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.18, 1);

  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(80px, 10vw, 150px);
  --radius: 22px;
}

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

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

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

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

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

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

::selection {
  background: var(--blue);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}
.skip:focus {
  transform: none;
}

.shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

/* ---------------------------------------------------------------- type */

.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.display em,
.h2 em,
.cta__title em,
.manifesto__text em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
  letter-spacing: -0.03em;
}
.display .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.08em 0.1em 0;
  margin-bottom: -0.1em;
}
.display .line > span {
  display: inline-block;
}

.display--hero {
  font-size: clamp(3rem, 6.3vw, 6.6rem);
}
.display--page {
  font-size: clamp(3rem, 9vw, 9rem);
}

.h2 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38ch;
}
.body {
  color: var(--muted);
  max-width: 46ch;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.label span {
  color: var(--muted);
}
.label::before {
  content: "";
  width: 22px;
  height: 10px;
  background: currentColor;
  transform: skewX(calc(var(--slant) * -1));
}
.label--dark span {
  color: var(--on-dark-muted);
}
.label--dark {
  color: #5c9dff;
}

/* split words (added by JS) */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  padding-right: 0.04em;
}
.w > span {
  display: inline-block;
}

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

.btn {
  --bg: var(--ink);
  --fg: var(--white);
  --fill: var(--blue);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 18px 28px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px -20%;
  z-index: -1;
  background: var(--fill);
  transform: translateX(-102%) skewX(calc(var(--slant) * -1));
  transition: transform 0.6s var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(0) skewX(calc(var(--slant) * -1));
}
.btn__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.btn__icon .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn__icon .icon {
  animation: arrow-loop 0.6s var(--ease);
}
@keyframes arrow-loop {
  0% { transform: translateX(0); }
  45% { transform: translateX(140%); }
  46% { transform: translateX(-140%); }
  100% { transform: translateX(0); }
}

.btn--blue {
  --bg: var(--blue);
  --fill: var(--ink);
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  --fill: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost .btn__icon {
  background: var(--ink);
  color: var(--white);
}
.btn--ghost:hover {
  --fg: var(--white);
}
.btn--ghost:hover .btn__icon {
  background: var(--blue);
}
.btn--sm {
  padding: 10px 10px 10px 20px;
  font-size: 14px;
}
.btn--sm .btn__icon {
  width: 26px;
  height: 26px;
}
.btn--block {
  width: 100%;
  justify-content: space-between;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow .icon {
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover {
  color: var(--blue);
}
.link-arrow:hover .icon {
  transform: translateX(6px);
}

/* ---------------------------------------------------------------- page transition */

.pt {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  pointer-events: none;
  overflow: hidden;
}
.pt span {
  display: block;
  margin-bottom: -2px;
  width: 150%;
  margin-left: -25%;
  transform: translateX(-110%) skewX(calc(var(--slant) * -1));
  transition: transform 0.75s var(--ease-in-out);
}
.pt span:nth-child(1) { background: var(--blue); }
.pt span:nth-child(2) { background: var(--blue-2); transition-delay: 0.06s; }
.pt span:nth-child(3) { background: var(--navy); transition-delay: 0.12s; }

.pt.is-covering span,
.pt-cover .pt span {
  transform: translateX(0) skewX(calc(var(--slant) * -1));
}
.pt-cover .pt span {
  transition: none;
}
.pt.is-leaving span {
  transform: translateX(110%) skewX(calc(var(--slant) * -1));
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform 0.6s var(--ease), background-color 0.4s, box-shadow 0.4s, color 0.4s;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}
.site-header.is-scrolled {
  background: rgba(244, 246, 251, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-dark {
  color: var(--on-dark);
}
.site-header.is-dark.is-scrolled {
  background: rgba(3, 11, 34, 0.72);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-hidden {
  transform: translateY(-100%);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}
.brand__logo {
  display: block;
  height: 46px;
  width: auto;
  transition: opacity 0.4s, transform 0.6s var(--ease);
}
.brand__logo--white {
  position: absolute;
  left: 0;
  top: 50%;
  opacity: 0;
  transform: translateY(-50%);
}
.brand:hover .brand__logo--navy {
  transform: translateY(-1px);
}
.site-header.is-dark .brand__logo--navy,
.menu-open .site-header .brand__logo--navy {
  opacity: 0;
}
.site-header.is-dark .brand__logo--white,
.menu-open .site-header .brand__logo--white {
  opacity: 1;
}

.nav {
  display: flex;
  gap: 6px;
}
.nav__link {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  border-radius: 999px;
}
.nav__clip {
  display: block;
  height: 1.5em;
  line-height: 1.5;
  overflow: hidden;
}
.nav__link .nav__clip > span {
  position: relative;
  display: inline-block;
  transition: transform 0.5s var(--ease);
}
.nav__link .nav__clip > span::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
  color: var(--blue);
}
.site-header.is-dark .nav__link .nav__clip > span::after {
  color: #5c9dff;
}
.nav__link:hover .nav__clip > span {
  transform: translateY(-100%);
}
.nav__link.is-active::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 14px;
  height: 4px;
  margin-left: -7px;
  background: var(--blue);
  transform: skewX(calc(var(--slant) * -1));
}

.site-header.is-dark .btn--sm {
  --bg: var(--white);
  --fg: var(--ink);
}
.site-header.is-dark .btn--sm:hover {
  --fg: var(--white);
}
.site-header.is-dark .btn--sm .btn__icon {
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--white);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.menu-open .menu-toggle,
.site-header.is-dark .menu-toggle {
  background: var(--blue);
}

/* full-screen mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  color: var(--on-dark);
  pointer-events: none;
}
.menu__bands {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  overflow: hidden;
}
.menu__bands span {
  margin-bottom: -2px;
  width: 150%;
  margin-left: -25%;
  transform: translateX(110%) skewX(calc(var(--slant) * -1));
  transition: transform 0.7s var(--ease-in-out);
}
.menu__bands span:nth-child(1) { background: var(--blue); }
.menu__bands span:nth-child(2) { background: var(--blue-2); transition-delay: 0.05s; }
.menu__bands span:nth-child(3) { background: var(--navy); transition-delay: 0.1s; }
.menu__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 120px;
  padding-bottom: 32px;
}
.menu__list li {
  overflow: hidden;
}
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 4px 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.8rem, 13vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease);
}
.menu__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
.menu__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.5s;
}
.menu-open .menu {
  visibility: visible;
  pointer-events: auto;
}
.menu-open .menu__bands span {
  transform: translateX(0) skewX(calc(var(--slant) * -1));
}
.menu-open .menu__link {
  transform: none;
  transition-delay: calc(0.25s + var(--i, 0) * 0.06s);
}
.menu-open .menu__foot {
  opacity: 1;
  transition-delay: 0.5s;
}
.menu-open .site-header {
  color: var(--on-dark);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.menu__list li:nth-child(2) .menu__link { --i: 1; }
.menu__list li:nth-child(3) .menu__link { --i: 2; }
.menu__list li:nth-child(4) .menu__link { --i: 3; }

/* ---------------------------------------------------------------- cursor */

.cursor,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  pointer-events: none;
  border-radius: 50%;
}
.cursor {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--blue);
}
.cursor-ring {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 1.5px solid rgba(0, 102, 255, 0.45);
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease),
    background-color 0.35s, border-color 0.35s, opacity 0.3s;
}
.cursor-ring__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.cursor-ring.is-hover {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-color: var(--blue);
}
.cursor-ring.has-label {
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  background: var(--blue);
  border-color: var(--blue);
}
.cursor-ring.has-label .cursor-ring__label {
  opacity: 1;
}
.cursor.is-hidden,
.cursor-ring.is-hidden {
  opacity: 0;
}
.has-cursor .cursor.is-hover-label {
  opacity: 0;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 104px 0 32px;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid,
.page-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 10%, transparent 75%);
  opacity: 0.7;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8vw;
  top: 0;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0) 65%);
  filter: blur(20px);
}
.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero__copy {
  position: relative;
  z-index: 1;
  padding: clamp(16px, 3vh, 40px) 0;
}
.hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 420px;
  margin-right: calc(var(--gutter) * -0.5);
}
.hero__visual canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.hero__fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(80%, 420px);
  height: auto;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}
.hero__visual.is-3d .hero__fallback {
  display: none;
}

.display--hero .line:nth-child(2) {
  padding-left: 0.9em;
}
.hero__intro {
  max-width: 40ch;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3vw, 40px);
}

/* portfolio logo strip along the bottom of the hero */
.hero__portfolio {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
}
.hero__portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line);
}
.hero__portfolio-label {
  flex: none;
  max-width: 9ch;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__logos {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 18px;
}
.hero__logos a,
.hero__logo-static {
  position: relative;
  display: block;
  border-radius: 12px;
}
.hero__logos img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px var(--line), 0 10px 20px -12px rgba(6, 26, 71, 0.5);
  transition: box-shadow 0.4s, transform 0.5s var(--ease);
}
.hero__logos li:hover img,
.hero__logos a:focus-visible img {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(0, 102, 255, 0.4), 0 16px 24px -12px rgba(0, 71, 200, 0.55);
}
.hero__logos img + span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  z-index: 2;
}
.hero__logos li:hover img + span,
.hero__logos a:focus-visible img + span {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* load-in states (only when JS animations run) */
.js:not(.no-motion) [data-hero-line] > span {
  transform: translateY(110%);
}
.js:not(.no-motion) [data-hero-fade] {
  opacity: 0;
  transform: translateY(24px);
}

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

.page-hero {
  position: relative;
  padding: clamp(160px, 22vw, 260px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__grid {
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 85% 30%, #000 10%, transparent 75%);
}
.page-hero__inner {
  position: relative;
}
.page-hero__intro {
  max-width: 44ch;
  margin-top: clamp(28px, 4vw, 48px);
  margin-left: auto;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.mark.page-hero__mark {
  position: absolute;
  z-index: -1;
  right: clamp(-80px, -4vw, 0px);
  top: clamp(90px, 9vw, 120px);
  width: clamp(200px, 25vw, 380px);
  opacity: 0.95;
}

/* CSS logo mark: three slanted bands with folds */
.mark {
  --h: 22%;
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.mark__band {
  position: absolute;
  left: 8%;
  width: 78%;
  height: var(--h);
  border-radius: 44% 6% 6% 6% / 80% 10% 10% 10%;
  transform: skewX(calc(var(--slant) * -1));
  transform-origin: 0 100%;
  box-shadow: 0 30px 60px -30px rgba(6, 26, 71, 0.5);
}
.mark__band--1 { top: 0; background: linear-gradient(100deg, #1a75ff, var(--blue)); }
.mark__band--2 { top: 38%; width: 62%; background: linear-gradient(100deg, #0a55dd, var(--blue-2)); }
.mark__band--3 { top: 76%; background: linear-gradient(100deg, #0c2560, var(--navy)); }
.mark__fold {
  position: absolute;
  left: 2%;
  width: 18%;
  height: 16%;
  background: linear-gradient(160deg, #021a6b, #0b46c7);
  border-radius: 0 0 0 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.mark__fold--1 { top: 22%; }
.mark__fold--2 { top: 60%; }
.mark--light .mark__band--3 {
  background: linear-gradient(100deg, #ffffff, #dbe6ff);
}

.js:not(.no-motion) .page-hero__mark .mark__band,
.js:not(.no-motion) .page-hero__mark .mark__fold {
  opacity: 0;
}
.mark.is-in .mark__band,
.mark.is-in .mark__fold {
  animation: band-in 1.4s var(--ease) both;
}
.mark.is-in .mark__band--2 { animation-delay: 0.1s; }
.mark.is-in .mark__band--3 { animation-delay: 0.2s; }
.mark.is-in .mark__fold { animation-name: fold-in; animation-delay: 0.6s; animation-duration: 0.8s; }
@keyframes band-in {
  from { opacity: 0; transform: translateX(40%) skewX(calc(var(--slant) * -1)); }
  to { opacity: 1; transform: translateX(0) skewX(calc(var(--slant) * -1)); }
}
@keyframes fold-in {
  from { opacity: 0; transform: scaleY(0); transform-origin: top; }
  to { opacity: 1; transform: scaleY(1); transform-origin: top; }
}
.mark.is-in .mark__band--1 { --float: 0s; }
.page-hero__mark.is-in {
  animation: mark-float 7s ease-in-out 1.6s infinite;
}
@keyframes mark-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(-1.5deg); }
}

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

.section {
  position: relative;
  padding: var(--section) 0;
}
.section--dark {
  background: var(--night);
  color: var(--on-dark);
}
.section--dark .h2 em {
  color: #5c9dff;
}
.section-head {
  margin-bottom: clamp(48px, 7vw, 96px);
  max-width: 900px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* reveal (only when JS animations run) */
.js:not(.no-motion) [data-reveal] {
  opacity: 0;
  transform: translateY(48px);
}

/* ---------------------------------------------------------------- manifesto */

.manifesto__text {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(2.1rem, 5.8vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 17ch;
}
.manifesto__text .sw {
  display: inline;
}
.manifesto__cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(48px, 7vw, 96px);
  padding-left: clamp(0px, 30vw, 520px);
}

/* ---------------------------------------------------------------- horizontal ventures */

.hs {
  padding-top: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(64px, 8vw, 120px);
  overflow: hidden;
}
.is-pinned-ready.hs {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 32px;
}
.is-pinned-ready .hs__head {
  margin-bottom: clamp(24px, 3vh, 40px);
}
.is-pinned-ready .hs__head .h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
}
.is-pinned-ready .hs__head .label {
  margin-bottom: 16px;
}
.hs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.hs__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 360px;
  color: var(--muted);
}
.hs__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 12px 0 28px;
}
.hs__viewport::-webkit-scrollbar {
  display: none;
}
.hs__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
  padding: 0 var(--gutter);
}
.hs__track .vcard {
  width: clamp(290px, 28vw, 420px);
  scroll-snap-align: center;
}
.hs__progress {
  height: 3px;
  margin-top: 24px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.hs__progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}
.is-pinned-ready .hs__viewport {
  overflow: visible;
  scroll-snap-type: none;
}

/* ---------------------------------------------------------------- venture card */

.vcard {
  display: block;
  perspective: 1000px;
}
.vcard__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 470px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(6, 26, 71, 0.04);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.vcard__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--navy));
  transform: scaleX(0) skewX(calc(var(--slant) * -1));
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
a.vcard:hover .vcard__inner {
  box-shadow: inset 0 0 0 1px rgba(0, 102, 255, 0.35), 0 40px 80px -40px rgba(0, 71, 200, 0.45);
}
a.vcard:hover .vcard__inner::before {
  transform: scaleX(1) skewX(calc(var(--slant) * -1));
}
.vcard__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.vcard__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.vcard__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.vcard__arrow .icon {
  width: 16px;
  height: 16px;
}
div.vcard .vcard__arrow {
  visibility: hidden;
}
a.vcard:hover .vcard__arrow {
  background: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}
.vcard__logo {
  width: 68px;
  height: 68px;
  margin-bottom: 28px;
  padding: 2px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 18px 30px -18px rgba(6, 26, 71, 0.45);
  overflow: hidden;
  transform: translateZ(40px);
  transition: transform 0.6s var(--ease);
}
.vcard__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
a.vcard:hover .vcard__logo {
  transform: translateZ(40px) rotate(-6deg) scale(1.06);
}
.vcard__cat {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.vcard__name {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(1.7rem, 2.2vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.vcard__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 22px;
}
.vcard__feats {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}
.vcard__feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}
.vcard__feats li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 6px;
  background: var(--blue);
  transform: skewX(calc(var(--slant) * -1));
}
.vcard__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.vcard__domain {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.vcard__visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.vcard__visit .icon {
  width: 14px;
  height: 14px;
}
.vcard__visit--muted {
  font-weight: 500;
  color: var(--muted);
}
a.vcard:hover .vcard__visit {
  color: var(--blue);
}

.vcard--cta .vcard__inner {
  justify-content: space-between;
  background: var(--blue);
  color: var(--white);
  box-shadow: none;
}
.vcard--cta .mark {
  width: 46%;
  margin: 8px 0 0 4px;
}
.vcard--cta .mark__band--1 { background: rgba(255, 255, 255, 0.95); }
.vcard--cta .mark__band--2 { background: rgba(255, 255, 255, 0.7); }
.vcard--cta .mark__band--3 { background: var(--navy); }
.vcard--cta .mark__fold { background: rgba(6, 26, 71, 0.5); }
.vcard__cta-title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.vcard--cta .vcard__visit {
  color: var(--white);
}
.vcard--cta:hover .vcard__inner {
  background: var(--blue-2);
}
.vcard--cta:hover .vcard__visit .icon {
  transform: translateX(6px);
}
.vcard--cta .vcard__visit .icon {
  transition: transform 0.4s var(--ease);
}

/* ---------------------------------------------------------------- layers (stacking bands) */

.layers__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.layers__intro {
  position: sticky;
  top: 140px;
}
.layers__intro .h2 {
  margin-bottom: 32px;
}
.layers__intro .lead {
  margin-bottom: 20px;
}
.layers__stack {
  display: grid;
  gap: 28px;
  padding-bottom: 40px;
}
.layer {
  --c: var(--blue);
  --lh: clamp(280px, 28vw, 380px);
  position: sticky;
  top: calc(130px + var(--n, 0) * 34px);
  height: var(--lh);
  margin: 0 calc(var(--lh) * 0.3) 0 calc(var(--lh) * 0.18);
  color: var(--white);
  isolation: isolate;
  transform-origin: 50% 0;
}
.layer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: clamp(80px, 12vw, 180px) 18px 18px 18px / clamp(80px, 14vw, 200px) 18px 18px 18px;
  background: var(--c);
  transform: skewX(calc(var(--slant) * -1));
  transform-origin: 50% 50%;
  box-shadow: 0 50px 80px -40px rgba(6, 26, 71, 0.6);
}
.layer::after {
  /* the fold under each band, like the logo */
  content: "";
  position: absolute;
  z-index: -2;
  left: calc(var(--lh) * -0.172);
  bottom: -28px;
  width: clamp(60px, 9vw, 120px);
  height: 34px;
  background: linear-gradient(170deg, rgba(2, 26, 107, 0.9), rgba(11, 70, 199, 0.6));
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  border-bottom-left-radius: 100%;
}
.layer--3::after {
  display: none;
}
.layer--1 { --n: 0; --c: linear-gradient(110deg, #1a75ff, var(--blue)); }
.layer--2 { --n: 1; --c: linear-gradient(110deg, #0a55dd, var(--blue-2)); }
.layer--3 { --n: 2; --c: linear-gradient(110deg, #0d2a66, var(--navy)); }
.layer__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: inherit;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 56px) clamp(24px, 3vw, 40px) clamp(40px, 6vw, 96px);
}
.layer__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  opacity: 0.7;
  align-self: flex-end;
}
.layer__title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.layer__title span {
  color: rgba(255, 255, 255, 0.45);
}
.layer__text {
  max-width: 32ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.5;
  opacity: 0.88;
}

/* ---------------------------------------------------------------- capabilities */

.caps {
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
  margin-top: calc(var(--section) * -0.2);
}
.caps__list {
  border-bottom: 1px solid var(--line-dark);
}
.cap {
  position: relative;
  display: grid;
  grid-template-columns: 60px 64px minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px) 16px;
  border-top: 1px solid var(--line-dark);
  isolation: isolate;
  overflow: hidden;
}
.cap::before {
  content: "";
  position: absolute;
  inset: 0 -12%;
  z-index: -1;
  background: linear-gradient(100deg, var(--blue), var(--blue-2));
  transform: translateX(-105%) skewX(calc(var(--slant) * -1));
  transition: transform 0.7s var(--ease);
}
.cap:hover::before {
  transform: translateX(0) skewX(calc(var(--slant) * -1));
}
.cap__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--on-dark-muted);
  transition: color 0.4s;
}
.cap__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(92, 157, 255, 0.12);
  color: #7fb2ff;
  transition: transform 0.6s var(--ease), background-color 0.4s, color 0.4s;
}
.cap__icon .icon {
  width: 26px;
  height: 26px;
}
.cap__title {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: transform 0.6s var(--ease);
}
.cap__desc {
  color: var(--on-dark-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  transition: color 0.4s;
}
.cap:hover .cap__icon {
  background: var(--white);
  color: var(--blue);
  transform: rotate(-10deg) scale(1.08);
}
.cap:hover .cap__title {
  transform: translateX(12px);
}
.cap:hover .cap__desc,
.cap:hover .cap__num {
  color: var(--white);
}

/* ---------------------------------------------------------------- stats */

.stats {
  padding-top: 0;
}
.caps {
  padding-bottom: clamp(64px, 8vw, 120px);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  padding: clamp(32px, 4vw, 56px) clamp(20px, 2.4vw, 36px);
  background: var(--night);
  transition: background-color 0.5s;
}
.stat:hover {
  background: var(--night-2);
}
.stat__value {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.8rem, 5.2vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  white-space: nowrap;
  background: linear-gradient(120deg, #ffffff 20%, #5c9dff 70%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

/* ---------------------------------------------------------------- services teaser + services page */

.services-teaser__grid,
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.services-teaser .h2,
.services__intro .h2 {
  margin-bottom: 28px;
}
.services-teaser .lead {
  margin-bottom: 36px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.pill__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue);
  transition: color 0.4s;
}
.pill:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-4px) rotate(-2deg);
}
.pill:hover .pill__num {
  color: #7fb2ff;
}

.services__intro {
  position: sticky;
  top: 140px;
}
.srows {
  border-bottom: 1px solid var(--line);
}
.srow {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: clamp(18px, 2.4vw, 28px) 4px;
  border-top: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}
.srow::before {
  content: "";
  position: absolute;
  inset: 0 -12%;
  z-index: -1;
  background: var(--ink);
  transform: translateX(-105%) skewX(calc(var(--slant) * -1));
  transition: transform 0.6s var(--ease);
}
.srow:hover::before {
  transform: translateX(0) skewX(calc(var(--slant) * -1));
}
.srow__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
  padding-left: 8px;
}
.srow__title {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2.3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  transition: color 0.4s, transform 0.6s var(--ease);
}
.srow__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease), background-color 0.4s, color 0.4s;
}
.srow__icon .icon {
  width: 16px;
  height: 16px;
}
.srow:hover .srow__title {
  color: var(--white);
  transform: translateX(10px);
}
.srow:hover .srow__icon {
  background: var(--blue);
  color: var(--white);
  transform: translateX(4px);
  box-shadow: none;
}
.srow__body {
  display: grid;
  gap: 6px;
}
.srow__summary {
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.45;
  transition: color 0.4s, transform 0.6s var(--ease);
}
.srow:hover .srow__summary {
  color: rgba(255, 255, 255, 0.75);
  transform: translateX(10px);
}
.srow:focus-visible {
  outline-offset: -2px;
}

/* ---------------------------------------------------------------- individual service pages */

.display--service {
  font-size: clamp(2.4rem, 7vw, 7rem);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a {
  color: var(--blue);
}
.crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.incl {
  padding-top: 0;
}
.incl__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.incl__item {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.incl__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--navy));
  transform: scaleX(0) skewX(calc(var(--slant) * -1));
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.incl__item:hover::before {
  transform: scaleX(1) skewX(calc(var(--slant) * -1));
}
.incl__num {
  display: block;
  margin-bottom: clamp(28px, 4vw, 48px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.incl__title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.incl__text {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.incl__item--cta {
  background: var(--blue);
  color: var(--white);
  box-shadow: none;
  transition: background-color 0.4s;
}
.incl__item--cta:hover {
  background: var(--blue-2);
}
.incl__item--cta::before {
  display: none;
}
.incl__cta {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.incl__cta::after {
  content: "";
  position: absolute;
  inset: 0;
}
.incl__item--cta .incl__text {
  color: rgba(255, 255, 255, 0.85);
}
.incl__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  font-weight: 600;
}
.incl__link .icon {
  transition: transform 0.4s var(--ease);
}
.incl__item--cta:hover .incl__link .icon {
  transform: translateX(6px);
}

.steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
}
.step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 44px;
  height: 5px;
  background: #5c9dff;
  transform: skewX(calc(var(--slant) * -1));
  transform-origin: left;
}
.step__num {
  display: block;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(120deg, #ffffff 20%, #5c9dff 70%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step__title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  letter-spacing: -0.03em;
}
.step__text {
  color: var(--on-dark-muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.fit__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.fit__list {
  border-bottom: 1px solid var(--line);
}
.fit__list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.4;
}
.fit__list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 10px;
  margin-top: 0.45em;
  background: var(--blue);
  transform: skewX(calc(var(--slant) * -1));
}
.related {
  margin-top: clamp(56px, 7vw, 96px);
}
.related__title {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.rcard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.4s, transform 0.5s var(--ease);
}
.rcard img {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  box-shadow: 0 0 0 1px var(--line);
}
.rcard__body {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.rcard__name {
  font-weight: 600;
}
.rcard__cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.rcard .icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 0.5s var(--ease), color 0.3s;
}
.rcard--static {
  pointer-events: none;
}
a.rcard:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(0, 102, 255, 0.35), 0 20px 40px -24px rgba(0, 71, 200, 0.45);
}
a.rcard:hover .icon {
  color: var(--blue);
  transform: rotate(45deg);
}
.more {
  padding-top: 0;
}
.more__title {
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

/* ---------------------------------------------------------------- CTA */

.cta {
  position: relative;
  padding: clamp(120px, 16vw, 220px) 0;
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.cta__bands {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cta__bands span {
  position: absolute;
  right: -10%;
  width: 70%;
  height: 26%;
  border-radius: 260px 24px 24px 24px / 200px 24px 24px 24px;
  transform: skewX(calc(var(--slant) * -1));
}
.cta__bands span:nth-child(1) {
  top: 6%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
}
.cta__bands span:nth-child(2) {
  top: 40%;
  right: 0;
  width: 52%;
  background: linear-gradient(100deg, rgba(0, 71, 200, 0.9), rgba(0, 71, 200, 0.3));
}
.cta__bands span:nth-child(3) {
  top: 74%;
  background: linear-gradient(100deg, rgba(6, 26, 71, 0.85), rgba(6, 26, 71, 0.4));
}
.cta__title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(3rem, 9.5vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 11ch;
}
.cta__title em {
  color: var(--white);
}
.cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(40px, 6vw, 80px);
}
.cta__text {
  max-width: 36ch;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.orb {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(170px, 18vw, 230px);
  aspect-ratio: 1;
  padding: 24px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.2;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 40px 80px -30px rgba(6, 26, 71, 0.7);
}
.orb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--navy);
  transform: scale(0);
  transition: transform 0.6s var(--ease);
}
.orb:hover {
  color: var(--white);
}
.orb:hover::before {
  transform: scale(1.02);
}
.orb__label {
  max-width: 9ch;
  transition: color 0.4s;
}
.orb__icon {
  position: absolute;
  bottom: 22%;
  width: 22px;
  height: 22px;
  transition: transform 0.5s var(--ease);
}
.orb:hover .orb__icon {
  transform: rotate(45deg);
}

/* ---------------------------------------------------------------- ventures grid page */

.vgrid {
  padding-top: 0;
}
.vgrid__head {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  margin-bottom: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.vgrid__head strong {
  color: var(--blue);
}
.vgrid__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.vgrid__grid .vcard__inner {
  min-height: 600px;
}

/* ---------------------------------------------------------------- contact */

.contact {
  padding-top: 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__aside {
  position: sticky;
  top: 140px;
}
.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  letter-spacing: -0.03em;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 6px;
  transition: color 0.3s;
}
.contact__mail .icon {
  width: 0.9em;
  height: 0.9em;
  color: var(--blue);
}
.contact__mail:hover {
  color: var(--blue);
}
.contact__mark {
  width: 46%;
  margin-top: 56px;
  opacity: 0.9;
}
.form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -60px rgba(6, 26, 71, 0.35);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field {
  position: relative;
}
.field input,
.field textarea {
  width: 100%;
  padding: 26px 18px 10px;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  resize: vertical;
  transition: box-shadow 0.3s, background-color 0.3s;
}
.field input:focus,
.field textarea:focus {
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.field label {
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--muted);
  font-size: 16px;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.35s var(--ease), color 0.3s;
}
.field label small {
  font-size: 0.85em;
  opacity: 0.8;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(0.72);
  color: var(--blue);
}
.field.is-invalid input,
.field.is-invalid textarea {
  box-shadow: inset 0 0 0 2px #e5484d;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.chips legend {
  width: 100%;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chip span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.chip:hover span {
  box-shadow: inset 0 0 0 1px var(--blue);
}
.chip input:checked + span {
  background: var(--blue);
  color: var(--white);
  box-shadow: none;
}
.chip input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.form__error {
  color: #d1343a;
  font-size: 14px;
  font-weight: 500;
}
.form__note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

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

.footer {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 28px;
  background: var(--night);
  color: var(--on-dark);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.6fr);
  gap: clamp(40px, 5vw, 80px);
}
.footer__logo {
  height: 64px;
  width: auto;
  margin-bottom: 28px;
}
.footer__intro p {
  max-width: 38ch;
  color: var(--on-dark-muted);
  margin-bottom: 28px;
}
.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
}
.footer__mail .icon {
  color: #5c9dff;
  transition: transform 0.5s var(--ease);
}
.footer__mail:hover .icon {
  transform: rotate(45deg);
}
.footer__title {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c9dff;
}
.footer__col ul {
  display: grid;
  gap: 10px;
}
.footer__ventures {
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}
.footer__col a,
.footer__col span {
  color: var(--on-dark-muted);
  transition: color 0.3s;
}
.footer__col a:hover {
  color: var(--white);
}
.footer__bottom {
  margin-top: clamp(56px, 7vw, 96px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: var(--on-dark-muted);
}
.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark);
}
.footer__top-link .icon {
  transition: transform 0.4s var(--ease);
}
.footer__top-link:hover .icon {
  transform: translateY(-4px);
}

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

@media (max-width: 1100px) {
  .vgrid__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .incl__grid,
  .steps__list,
  .related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cap {
    grid-template-columns: 44px 56px minmax(0, 1fr);
  }
  .cap__desc {
    grid-column: 3;
  }
  .footer__top {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.7fr);
  }
  .footer__intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }
  .nav,
  .site-header__cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .site-header__inner {
    height: 72px;
  }
  .hero {
    min-height: 0;
    padding-top: 84px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero__visual {
    order: -1;
    height: 40vh;
    min-height: 280px;
    max-height: 380px;
    margin: 0;
  }
  .hero__copy {
    padding-top: 0;
  }
  .hero__portfolio {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px;
  }
  .hero__portfolio-label {
    max-width: none;
  }
  .hero__logos {
    justify-content: flex-start;
  }
  .brand__logo {
    height: 40px;
  }
  .display--hero .line:nth-child(2) {
    padding-left: 0.5em;
  }
  .layers__grid,
  .services-teaser__grid,
  .services__grid,
  .contact__grid,
  .fit__grid {
    grid-template-columns: 1fr;
  }
  .layers__intro,
  .services__intro,
  .contact__aside {
    position: static;
  }
  .layer {
    --lh: 300px;
    top: calc(96px + var(--n, 0) * 24px);
    margin: 0 24px;
  }
  .layer::before {
    transform: skewX(-8deg);
  }
  .layer::after {
    left: -18px;
  }
  .manifesto__cols {
    padding-left: 0;
  }
  .stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mark.page-hero__mark {
    width: 34vw;
    top: 84px;
    right: -4vw;
    opacity: 0.22;
  }
  .contact__mark {
    display: none;
  }
}

@media (max-width: 640px) {
  .vgrid__grid,
  .incl__grid,
  .steps__list,
  .related__grid {
    grid-template-columns: 1fr;
  }
  .hero__logos {
    gap: 12px 14px;
  }
  .hero__logos img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .vgrid__grid .vcard__inner,
  .vcard__inner {
    min-height: 0;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .cap {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px 18px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .cap__num {
    display: none;
  }
  .cap__icon {
    width: 48px;
    height: 48px;
  }
  .cap__desc {
    grid-column: 2;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .hero__ctas .btn {
    flex: 1 1 auto;
    justify-content: space-between;
  }
  .srow {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 12px;
  }
  .vgrid__head {
    font-size: 15px;
  }
}

/* ---------------------------------------------------------------- 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;
  }
  .pt {
    display: none;
  }
}
