/* ============================================================
   AiLeap — "Ascent" homepage
   3D scroll experience · GSAP + ScrollTrigger + Lenis + Three.js
   Brand palette from the AiLeap mark:
   charcoal #0C0C10 · pink #F0329C · violet #A855F7 · blue #3EB8F0 · orange #F5813C
   ============================================================ */

:root {
  --bg: #0c0c10;
  --bg-2: #131318;
  --paper: #ececef;
  --white: #fafafc;
  --tx-dark: #b9b6c6;      /* body on dark */
  --tx-light: #4a4656;     /* body on light */
  --pink: #f0329c;
  --violet: #a855f7;
  --blue: #3eb8f0;
  --orange: #f5813c;
  --grad: linear-gradient(100deg, #3eb8f0 0%, #a855f7 48%, #f0329c 100%);
  --line-d: rgba(255,255,255,.12);
  --line-l: rgba(12,12,16,.16);
  --font-sans: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--tx-dark);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--pink); color: var(--white); }

img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul { list-style: none; }

.wrap { width: min(1360px, calc(100% - 80px)); margin-inline: auto; }
@media (max-width: 720px) { .wrap { width: calc(100% - 40px); } }

/* headline voice: light grotesk, sentence case */
.h-display {
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--white);
}
.on-light .h-display, .sec-light .h-display { color: #141218; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* mono micro-labels + underline arrow links */
.m-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  position: relative;
  transition: color .3s ease;
}
.link-arrow .ar { transition: transform .4s var(--ease); }
.link-arrow:hover .ar { transform: translateX(6px); }
.link-arrow:hover { color: var(--pink); }

/* line-mask split scaffolding */
.split-line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.split-line > .inner { display: block; transform: translateY(110%); will-change: transform; }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0;
  z-index: 4000;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity .8s ease, visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.loader .mark { width: 148px; height: 148px; animation: loader-turn 2.4s linear infinite; filter: drop-shadow(0 0 30px rgba(240,50,156,.4)); }
.loader .mark img { width: 100%; }
@keyframes loader-turn { to { transform: rotate(360deg); } }
.loader-txt {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .28em;
  text-indent: .28em;
  color: #8d88a0;
}


/* ---------- header ---------- */
.hd {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 3.2vw, 44px);
  transition: transform .55s var(--ease);
}
.hd.hide { transform: translateY(-120%); }
.hd .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .18em;
  color: var(--white);
}
.hd .brand img { width: 68px; height: 68px; }
.on-light .hd .brand, .hd.on-light .brand { color: #141218; }
.hd .pills { display: flex; gap: 10px; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 11px 22px;
  border-radius: 999px;
  transition: transform .35s var(--ease), background .3s ease, color .3s ease;
}
.pill:hover { transform: scale(1.05); }
.pill.solid { background: var(--white); color: #141218; }
.pill.solid:hover { background: var(--pink); color: var(--white); }
.pill.line { border: 1px solid var(--line-d); color: var(--white); backdrop-filter: blur(6px); }
.hd.on-light .pill.line { border-color: var(--line-l); color: #141218; }
.hd.on-light .pill.solid { background: #141218; color: var(--white); }
.pill .bars { display: inline-flex; flex-direction: column; gap: 4px; }
.pill .bars i { width: 16px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease); }
.menu-open .pill .bars i:nth-child(1) { transform: translateY(2.8px) rotate(45deg); }
.menu-open .pill .bars i:nth-child(2) { transform: translateY(-2.8px) rotate(-45deg); }

/* fullscreen menu */
.menu {
  position: fixed; inset: 0;
  z-index: 900;
  background: rgba(12,12,16,.97);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.menu nav a {
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 300;
  letter-spacing: -.03em;
  color: var(--tx-dark);
  line-height: 1.25;
  transition: color .3s ease, letter-spacing .4s var(--ease);
}
.menu nav a:hover { color: var(--white); letter-spacing: .01em; }
.menu .m-label { position: absolute; bottom: 44px; color: #6d6880; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#hero3d { position: absolute; inset: 0; z-index: 1; }
#hero3d canvas { width: 100%; height: 100%; }
.hero .content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 3.2vw, 44px);
  margin-top: clamp(60px, 14vh, 160px); /* below centre, toward the mountain base */
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero .tagline {
  position: absolute;
  left: clamp(20px, 3.2vw, 44px);
  top: clamp(145px, 20vh, 235px);
  z-index: 2;
  pointer-events: none;
}
.hero .tagline .tg {
  font-size: clamp(52px, 7.5vw, 116px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--white);
  text-align: left;
}
@media (max-width: 860px) {
  .hero .tagline { position: static; margin: 34px clamp(20px, 3.2vw, 44px) 0; }
}
.hero h1.brand-big {
  font-size: clamp(40px, 5.6vw, 84px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}
.hero .hud-top { color: #8d88a0; margin-bottom: clamp(16px, 3vh, 30px); }
.hero .sub-line {
  margin-top: clamp(16px, 3vh, 28px);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 300;
  color: var(--tx-dark);
}
.hero .meta-card {
  position: absolute;
  right: clamp(20px, 3.2vw, 44px);
  bottom: 130px;
  z-index: 2;
  max-width: 250px;
  pointer-events: none;
}
.hero .meta-card .box {
  display: flex;
  border: 1px solid var(--line-d);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}
.hero .meta-card .box > div {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tx-dark);
}
.hero .meta-card .box > div:first-child { border-right: 1px solid var(--line-d); white-space: nowrap; }
.hero .meta-card p { font-size: 14.5px; color: var(--tx-dark); line-height: 1.6; }
.hero .hints {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8d88a0;
  line-height: 2;
  pointer-events: none;
}
.hero .hints b { color: var(--white); font-weight: 500; }
@media (max-width: 860px) {
  .hero .meta-card { position: static; margin: 40px clamp(20px,3.2vw,44px) 0; max-width: 320px; }
  .hero { justify-content: flex-start; padding-bottom: 120px; }
}

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  padding: clamp(60px, 10vh, 120px) 0 0;
  overflow: clip;
  background: var(--bg);
}
.marquee .track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
  width: max-content;
  will-change: transform;
  padding-bottom: 26px;
}
.marquee .word {
  font-size: clamp(72px, 12vw, 170px);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--white);
  white-space: nowrap;
  line-height: 1;
}
.marquee .plus { font-size: clamp(28px, 3.4vw, 48px); color: #8d88a0; font-weight: 300; }
.marquee hr { border: 0; border-top: 1.5px solid rgba(255,255,255,.55); }
.marquee .tail {
  text-align: center;
  padding: 26px 0 60px;
  color: #8d88a0;
}
.marquee .tail::before { content: "✦ "; color: var(--pink); }

/* ---------- about ---------- */
.about {
  position: relative;
  padding: clamp(80px, 14vh, 170px) 0;
  background: var(--bg);
  overflow: clip;
}
.about .lbl { position: absolute; top: clamp(84px, 14vh, 174px); left: clamp(20px, 3.2vw, 44px); color: #8d88a0; }
.about .statement {
  font-size: clamp(30px, 4.6vw, 64px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.18;
  color: var(--white);
  max-width: 21ch;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 100px);
}
.about .statement .w { opacity: .14; display: inline-block; }
.about .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 120px);
  max-width: 1100px;
  margin: clamp(60px, 9vh, 110px) auto 0;
  padding: clamp(40px, 6vh, 70px) clamp(20px, 3.2vw, 44px) 0;
  border-top: 1px solid var(--line-d);
}
.about .cols .m-label { color: #8d88a0; display: block; margin-bottom: 16px; line-height: 1.9; }
.about .cols p { font-size: 16.5px; color: var(--tx-dark); max-width: 42ch; }
.about .cols .cta { margin-top: 26px; }
@media (max-width: 760px) { .about .cols { grid-template-columns: 1fr; } }

/* floating debris images behind about (parallax shards) */
.shard {
  position: absolute;
  border-radius: 6px;
  opacity: .5;
  pointer-events: none;
  will-change: transform;
  filter: saturate(.85);
}

/* ---------- work (light) ---------- */
.work {
  position: relative;
  background: linear-gradient(0deg, #ffffff 0%, #d6d5da 100%);
  color: var(--tx-light);
  padding: clamp(80px, 12vh, 150px) 0 clamp(60px, 9vh, 120px);
}
.work .head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(50px, 8vh, 90px);
}
.work h2 { font-size: clamp(40px, 6vw, 88px); }
.work .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}
.work .col-r { margin-top: clamp(60px, 12vh, 160px); }
.project { display: block; margin-bottom: clamp(50px, 9vh, 110px); }
.project .media {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 10.6;
  background: #c9c8cf;
}
.project .media img, .project .media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.project:hover .media img, .project:hover .media video { transform: scale(1.05); }
.project .t {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.project h3 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.02em; color: #141218; }
.project p { font-size: 14.5px; max-width: 34ch; margin-top: 6px; }
.project .link-arrow { flex: 0 0 auto; font-size: 12px; }
@media (max-width: 760px) {
  .work .grid { grid-template-columns: 1fr; }
  .work .col-r { margin-top: 0; }
}

/* interstitial band */
.work .band {
  margin-top: clamp(20px, 4vh, 50px);
  background: var(--bg);
  border-radius: 14px;
  padding: clamp(50px, 9vh, 100px) clamp(24px, 5vw, 80px);
  text-align: center;
  color: var(--tx-dark);
}
.work .band h3 {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: 26ch;
  margin: 0 auto 30px;
}

/* ---------- key facts (light) ---------- */
.facts {
  background: linear-gradient(0deg, #c9c8cf 0%, #ffffff 55%);
  padding: clamp(70px, 11vh, 140px) 0;
  color: var(--tx-light);
}
.facts .head { text-align: center; margin-bottom: clamp(50px, 8vh, 90px); }
.facts h2 { font-size: clamp(44px, 6.4vw, 96px); }
.facts .sub { margin-top: 14px; font-size: 15px; }
.facts .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  max-width: 1180px;
  margin: 0 auto;
}
.fact {
  border-radius: 16px;
  padding: 30px 30px 26px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.fact.dark { background: #17161d; color: var(--tx-dark); }
.fact.lite { background: #efeef2; }
.fact .m-label { display: block; text-align: center; color: inherit; opacity: .8; }
.fact .media { flex: 1; display: grid; place-items: center; padding: 26px 0; }
.fact .media img { border-radius: 10px; max-height: 230px; object-fit: cover; }
.fact .big {
  font-size: clamp(54px, 5vw, 76px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--white);
}
.fact.lite .big { color: #141218; }
.fact .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; font-size: 13.5px; }
.fact .ring {
  width: 190px; height: 190px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px rgba(20,18,24,.14);
}
@media (max-width: 900px) { .facts .cards { grid-template-columns: 1fr; } .fact { min-height: 340px; } }

/* ---------- reel banner ---------- */
.reel {
  background: var(--bg);
  padding: clamp(70px, 11vh, 150px) 0;
  overflow: clip;
}
.reel .frame {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  transform: scale(.8);
  will-change: transform;
  position: relative;
}
.reel video { width: 100%; aspect-ratio: 16/8.2; object-fit: cover; }
.reel .cap {
  position: absolute;
  left: 30px; bottom: 24px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}

/* ---------- services (pinned rock) ---------- */
.services { position: relative; background: var(--bg); }
.services .stage {
  position: relative;
  height: 100svh;
  overflow: clip;
  display: flex;
  align-items: center;
  justify-content: center;
}
#rock3d { position: absolute; inset: 0; z-index: 1; }
.services .lbl {
  position: absolute;
  top: 100px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #8d88a0;
}
.svc-stack {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}
.svc-stack .word {
  font-size: clamp(36px, min(8.6vw, 10vh), 128px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: .98;
  color: var(--white);
  display: block;
  will-change: transform, opacity;
}
.svc-beat {
  position: absolute;
  z-index: 3;
  max-width: 300px;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}
.svc-beat h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.02em; color: var(--white); margin-bottom: 14px; }
.svc-beat p { font-size: 14.5px; color: var(--tx-dark); }
.svc-beat.-l { left: clamp(24px, 7vw, 120px); }
.svc-beat.-r { right: clamp(24px, 7vw, 120px); text-align: left; }
.svc-beat.-t { top: 24%; }
.svc-beat.-b { bottom: 20%; }
.services .view {
  position: absolute;
  right: clamp(24px, 4vw, 60px);
  bottom: 44px;
  z-index: 3;
  color: var(--white);
}
.services .tail-note {
  position: absolute;
  bottom: 44px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #8d88a0;
}
.services .tail-note::before { content: "✦ "; color: var(--orange); }
@media (max-width: 860px) {
  .svc-beat { max-width: 230px; }
  .svc-beat.-l { left: 20px; } .svc-beat.-r { right: 20px; }
}

/* ---------- motion (arc carousel, light) ---------- */
.motion {
  position: relative;
  background: linear-gradient(0deg, #c3c3c8 0%, #ffffff 40%);
  color: var(--tx-light);
  padding: clamp(80px, 12vh, 150px) 0 0;
  overflow: clip;
  min-height: 130svh;
}
.motion h2 {
  font-size: clamp(52px, 8.4vw, 130px);
  text-align: center;
  line-height: 1;
}
.motion h2 .l1 { display: block; transform: translateX(-6%); }
.motion h2 .l2 { display: block; transform: translateX(10%); margin-top: .12em; }
.motion .mid {
  text-align: center;
  margin: 18px 0 0;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.motion .arc {
  position: relative;
  height: 70svh;
  margin-top: clamp(30px, 5vh, 70px);
}
.arc .disc {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2600px; height: 2600px;
  transform: translateX(-50%);
  will-change: transform;
}
.arc .card {
  position: absolute;
  top: 0; left: 50%;
  width: clamp(200px, 22vw, 320px);
  aspect-ratio: 16/10.4;
  border-radius: 10px;
  overflow: hidden;
  transform-origin: center 1300px; /* half disc — cards orbit the disc centre */
  box-shadow: 0 24px 60px rgba(20,18,24,.25);
}
.arc .card img { width: 100%; height: 100%; object-fit: cover; }
.motion .foot {
  position: absolute;
  bottom: 34px; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(20px, 3.2vw, 44px);
}
.motion .foot p { font-size: 14px; max-width: 34ch; }

/* ---------- footer ---------- */
.ft {
  position: relative;
  background: var(--bg);
  padding: clamp(80px, 12vh, 140px) 0 0;
  overflow: clip;
}
.ft .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 clamp(20px, 3.2vw, 44px);
}
.ft .m-label { color: #8d88a0; }
.ft h2 {
  font-size: clamp(44px, 6.6vw, 100px);
  margin-top: 18px;
  max-width: 12ch;
}
.ft .right { text-align: left; margin-top: 8px; }
.ft .clock { font-family: var(--font-mono); font-size: 13px; letter-spacing: .18em; color: #8d88a0; }
.ft .collab { margin-top: 60px; color: var(--white); }
.ft .cols {
  display: flex;
  gap: clamp(40px, 7vw, 120px);
  padding: clamp(50px, 8vh, 80px) clamp(20px, 3.2vw, 44px) 0;
}
.ft .cols h5 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #8d88a0; margin-bottom: 14px; }
.ft .cols a { display: block; padding: 4px 0; font-size: 15.5px; color: var(--tx-dark); transition: color .3s; }
.ft .cols a:hover { color: var(--white); }
#wordmark { width: 100%; height: clamp(200px, 30vw, 430px); display: block; margin-top: clamp(30px, 6vh, 60px); cursor: crosshair; }
.ft .bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 3.2vw, 44px) 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6d6880;
  border-top: 1px solid var(--line-d);
}
@media (max-width: 760px) {
  .ft .top { flex-direction: column; }
  .ft .cols { flex-wrap: wrap; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .loader .mark { animation: none; }
  .split-line > .inner { transform: none !important; }
  .about .statement .w { opacity: 1 !important; }
}

/* light-section headline colour fix */
.work .h-display, .facts .h-display, .motion .h-display { color: #141218; }
.work .link-arrow:not(.band .link-arrow), .facts .link-arrow, .motion .link-arrow { color: #33303e; }
.work .link-arrow:hover, .motion .link-arrow:hover { color: var(--pink); }

/* ---------- blade CTA (GSAP-animated hover) ---------- */
.btn-blade {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 17px 34px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  isolation: isolate;
  cursor: pointer;
  will-change: transform;
}
.btn-blade .fill {
  position: absolute; inset: 1.6px;
  background: var(--bg);
  clip-path: polygon(17px 0, 100% 0, 100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%, 0 17px);
  z-index: -1;
  transform-origin: right center;
}
.btn-blade .dmd {
  width: 10px; height: 10px;
  background: currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.btn-blade .lbl { position: relative; }
.hero .cta-row { margin-top: clamp(24px, 4vh, 40px); pointer-events: auto; }

/* hint icons (lucide) */
.hints .ic { display: inline-block; vertical-align: -2px; }
.hints .hint-ic { width: 13px; height: 13px; display: inline-block; }
.hints .ic.-amber { color: var(--orange); }
.hints .ic.-pink { color: var(--pink); }

/* ---------- the ascent (climb) section ---------- */
.climb {
  position: relative;
  overflow: clip;
  padding: clamp(100px, 14vh, 180px) 0;
  color: var(--tx-light);
  background: #e9e6f0;
}
.climb-bg {
  position: absolute;
  left: 0; top: -12%;
  width: 100%; height: 124%;
  object-fit: cover;
  opacity: .92;
  will-change: transform;
}
.climb::before, .climb::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
}
.climb::before { top: 0; background: linear-gradient(to bottom, #0c0c10, transparent); }
.climb::after { bottom: 0; background: linear-gradient(to top, #0c0c10, transparent); }
.climb-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.climb-copy h2 { font-size: clamp(52px, 7.5vw, 116px); color: #141218; margin: 16px 0 30px; }
.climb-copy h2 em { font-style: normal; }
.climb-copy .m-label { color: #6e6884; }
.climb-copy p { max-width: 44ch; margin-bottom: 16px; font-size: 16.5px; }
.climb-copy .link-arrow { margin-top: 12px; color: #33303e; }
.climb-media { position: relative; }
.climb-media { position: relative; }
.climb-media video {
  width: 118%;
  max-width: none;
  margin: -16% -16% -4% -2%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 90%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, black 26%, black 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 90%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, black 26%, black 84%, transparent 100%);
  mask-composite: intersect;
}
.anno {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 12px;
  color: #fafafc;
  text-shadow: 0 1px 8px rgba(10,8,14,.65);
  pointer-events: none;
}
.anno i {
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(250,250,252,.9), rgba(250,250,252,.35));
  position: relative;
}
.anno i::after {
  content: "";
  position: absolute;
  right: -4px; top: -3.5px;
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}
.anno .-num { font-weight: 600; }
.anno.-a { top: 21%; left: 7%; width: 50%; }
.anno.-b { top: 58%; left: 16%; width: 38%; }
@media (max-width: 860px) {
  .climb-inner { grid-template-columns: 1fr; }
  .anno.-a { width: 44%; }
}

/* clouds draped over the climb video edges */
.climb-media .cloud {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .42;
}
.climb-media .cloud.-top {
  top: -22%;
  left: 26%;
  width: 78%;
  max-width: none;
  -webkit-mask-image: radial-gradient(72% 58% at 50% 46%, black 22%, transparent 62%);
  mask-image: radial-gradient(72% 58% at 50% 46%, black 22%, transparent 62%);
  animation: cloud-drift 26s ease-in-out infinite alternate;
}
.climb-media .cloud.-right {
  top: 58%;
  right: -18%;
  width: 44%;
  max-width: none;
  -webkit-mask-image: radial-gradient(62% 68% at 50% 50%, black 24%, transparent 60%);
  mask-image: radial-gradient(62% 68% at 50% 50%, black 24%, transparent 60%);
  animation: cloud-drift 32s ease-in-out infinite alternate-reverse;
}
@keyframes cloud-drift {
  from { transform: translateX(-2.5%); }
  to { transform: translateX(2.5%); }
}
@media (prefers-reduced-motion: reduce) { .climb-media .cloud { animation: none; } }

/* dark mountain mass anchoring the right edge (Pixila-style) */
.climb .rock-edge {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  height: 100%;
  width: clamp(130px, 21vw, 360px);
  z-index: 2;
  pointer-events: none;
}

/* climb milestones — appear as he ascends */
.mile {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #1d1a26;
  text-shadow: 0 1px 6px rgba(255,255,255,.7), 0 0 16px rgba(255,255,255,.45);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.mile::before {
  content: "◆ ";
  color: var(--pink);
}
.mile b { font-weight: 700; }
.mile.-m1 { left: 8%; bottom: 22%; }
.mile.-m2 { left: 5%; top: 46%; }
.mile.-m3 { left: 12%; top: 26%; }
.mile.-m4 { left: 30%; top: 9%; font-size: 14px; }

/* ---------- full-bleed ascent rework ---------- */
.climb { height: 100svh; min-height: 640px; padding: 0; background: #0c0c10; }
.climb > #climbVid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: left center;
  margin: 0;
  -webkit-mask-image: linear-gradient(to right, black 90%, transparent 99.5%);
  mask-image: linear-gradient(to right, black 90%, transparent 99.5%);
}
.climb::before, .climb::after { height: 90px; }
.climb-overlay { position: absolute; inset: 0; z-index: 3; }
.climb-copy {
  position: absolute;
  right: clamp(20px, 3.2vw, 44px);
  top: clamp(100px, 15vh, 170px);
  max-width: min(470px, 36vw);
  text-align: left;
}
.climb-copy .m-label {
  color: var(--pink);
  font-weight: 700;
  font-size: 13px;
  text-shadow: 0 1px 3px rgba(255,255,255,.45);
}
.climb-copy h2 { font-size: clamp(38px, 5vw, 76px); color: var(--white); }
.climb-copy p {
  color: #eae6f0;
  font-weight: 500;
  font-size: 17px;
  text-shadow: 0 1px 8px rgba(10, 8, 14, .55);
}
.climb-copy .link-arrow {
  color: var(--pink);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255,255,255,.4);
}
.climb-copy .link-arrow:hover { color: #c2187a; }
.climb-overlay .anno.-a { top: 15%; left: calc(min(100vw, 100svh * 1.7778) * 0.62); width: 17%; }
.climb-overlay .anno.-b { top: 21%; left: calc(min(100vw, 100svh * 1.7778) * 0.62); width: 15%; }
.climb-overlay .mile.-m1 { left: 5%; bottom: 14%; }
.climb-overlay .mile.-m4 { left: 34%; top: 9%; }
@media (max-width: 860px) {
  .climb > #climbVid { object-position: 70% center; }
  .climb-copy { max-width: 82vw; }
  .climb-overlay .anno.-a { left: 8%; width: 40%; }
  .climb-overlay .anno.-b { display: none; }
}

/* big screens: video keeps its natural size, brown rock backdrop fills the rest */
@media (min-width: 1700px) {
  .climb-copy .m-label { color: #b9b2c6; text-shadow: none; }
  .climb-copy h2 { color: var(--white); }
  .climb-copy p { color: #d8d3e0; text-shadow: none; }
  .climb-copy .link-arrow { text-shadow: none; }
  .climb-overlay .mile, .climb-overlay .anno { color: #efeaf4; text-shadow: 0 1px 8px rgba(10,8,14,.6); }
}

/* jagged mountain ridge overlapping the video bottom (pixila-style) */
.climb-ridge {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: clamp(50px, 7vw, 100px);
  z-index: 4;
  pointer-events: none;
}
.climb-ridge.-top {
  bottom: auto;
  top: -1px;
  transform: scale(-1, -1); /* mirrored + tilted the other way */
}

/* ---------- summit: scroll-hijacked case gallery (dark) ---------- */
.summit { position: relative; background: var(--bg); }
.summit-stage {
  height: 100svh;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  padding-inline: clamp(20px, 3.2vw, 44px);
  overflow: clip;
}
.case-scroller {
  height: 100svh;
  overflow: hidden;
  padding: 16vh 6px 26vh;
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 5vh, 56px);
}
.scase { will-change: transform; position: relative; }
.scase .media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9.4;
  background: var(--bg-2);
}
.scase .media img, .scase .media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.scase:hover .media img, .scase:hover .media video { transform: scale(1.045); }
.scase .lbl { padding: 14px 4px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.scase .lbl h3 {
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--pink);
}
.scase .lbl p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8d88a0;
}
.summit-copy { max-width: 540px; }
.summit-copy h2 { font-size: clamp(40px, 4.9vw, 76px); margin: 16px 0 26px; }
.summit-copy h2 .sl { display: block; }
.summit-copy p { color: var(--tx-dark); margin-bottom: 16px; max-width: 46ch; }
.summit-copy .m-label { color: #8d88a0; }
.summit-copy .cta-row { margin-top: 30px; }
@media (max-width: 860px) {
  .summit { height: auto !important; }
  .summit-stage { position: static !important; grid-template-columns: 1fr; height: auto; padding-block: 70px; }
  .case-scroller { height: auto; overflow: visible; padding: 0; }
  .summit-copy { margin-top: 50px; }
}

/* ---------- promo: accent statement (pixila-style intro) ---------- */
.promo {
  background: linear-gradient(120deg, #e12b93 0%, var(--pink) 45%, #b81f9e 100%);
  text-align: center;
  padding: clamp(100px, 16vh, 190px) 0;
  position: relative;
  overflow: clip;
}
.promo h2 {
  font-size: clamp(46px, 8vw, 118px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .98;
  color: #2a0620;
}
.promo h2 .white { color: var(--white); }
.promo .sub {
  max-width: 620px;
  margin: 30px auto 36px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(15px, 1.5vw, 19px);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.6;
  color: rgba(42, 6, 32, .82);
}
.promo .link-arrow { color: #2a0620; }
.promo .link-arrow:hover { color: var(--white); }

/* ---------- questions (faq) ---------- */
.faq {
  background: linear-gradient(0deg, #c9c8cf 0%, #ffffff 55%);
  color: var(--tx-light);
  padding: clamp(90px, 13vh, 160px) 0;
}
.faq .head { text-align: center; margin-bottom: clamp(40px, 7vh, 70px); }
.faq .head .m-label { color: #6e6884; }
.faq h2 { font-size: clamp(40px, 5.6vw, 88px); margin-top: 10px; color: #141218; }
.faq .items { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(12,12,16,.16); }
.faq details:first-of-type { border-top: 1px solid rgba(12,12,16,.16); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 500;
  color: #141218;
  transition: color .3s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--pink); }
.faq summary .x { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.faq summary .x::before, .faq summary .x::after {
  content: "";
  position: absolute;
  background: var(--pink);
  transition: transform .4s var(--ease);
}
.faq summary .x::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq summary .x::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq details[open] summary .x::after { transform: scaleY(0); }
.faq details p { padding: 0 4px 26px; max-width: 90%; font-size: 15.5px; }
.faq-cta { text-align: center; margin-top: 48px; }
.btn-blade.-ink { background: #141218; color: #141218; }
.btn-blade.-ink .fill { background: #ececef; }
.btn-blade.-ink:hover { color: #ececef; }

/* header logo hidden on the last page (footer) */
.hd.no-brand .brand { opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.hd .brand { transition: opacity .4s ease; }

/* footer credits */
.ft .bar .credits a { color: #9c97ad; text-decoration: none; transition: color .3s; }
.ft .bar .credits a:hover { color: var(--pink); }

.ft .bar .credits { display: inline-flex; align-items: center; gap: 8px; }
.cr-logo { height: 22px; width: auto; display: inline-block; vertical-align: middle; opacity: .85; transition: opacity .3s; }
.credits a:hover .cr-logo { opacity: 1; }

/* ---------- wire: the impossible (text left, video right) ---------- */
.wire {
  position: relative;
  height: 100svh;
  min-height: 620px;
  background: #0c0c10;
  overflow: clip;
}
.wire > #wireVid {
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: right center;
  clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 6% 100%, 2% 92%, 7% 83%, 2% 74%, 6% 65%, 1% 56%, 6% 47%, 2% 38%, 7% 29%, 2% 20%, 6% 11%);
}
.wire-copy {
  position: absolute;
  left: clamp(20px, 3.2vw, 44px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: min(470px, 38vw);
}
.wire-copy .m-label { color: var(--pink); font-weight: 700; }
.wire-copy h2 { font-size: clamp(38px, 5vw, 78px); margin: 14px 0 22px; color: var(--white); }
.wire-copy p { color: #d8d3e0; margin-bottom: 20px; max-width: 42ch; text-shadow: 0 1px 8px rgba(10,8,14,.5); }
.wire-copy .link-arrow { color: var(--pink); }
@media (max-width: 860px) {
  .wire { height: auto; padding: 70px 0; }
  .wire > #wireVid { position: relative; width: 100%; height: auto; }
  .wire-copy { position: static; transform: none; max-width: 88vw; margin: 30px clamp(20px,3.2vw,44px) 0; }
}

/* wire: dark blend bands top & bottom like the ascent */
.wire::before, .wire::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}
.wire::before { top: 0; background: linear-gradient(to bottom, #0c0c10, transparent); }
.wire::after { bottom: 0; background: linear-gradient(to top, #0c0c10, transparent); }

/* ================= subpages (trionn system) ================= */
.sub-hero {
  min-height: 58svh;
  display: flex;
  align-items: flex-end;
  padding: 160px clamp(20px, 3.2vw, 44px) 70px;
  position: relative;
  background: radial-gradient(70% 55% at 72% 12%, rgba(240,50,156,.14), transparent 62%), var(--bg);
  overflow: clip;
}
.sub-hero .inner-wrap { max-width: 1360px; margin: 0 auto; width: 100%; }
.sub-hero .m-label { color: var(--pink); font-weight: 700; }
.sub-hero h1 { font-size: clamp(46px, 7vw, 106px); margin-top: 14px; }
.sub-hero p.lead { max-width: 58ch; color: var(--tx-dark); margin-top: 24px; font-size: 17px; }
.sub-sec { padding: clamp(70px, 10vh, 130px) 0; position: relative; }
.sub-sec.-light { background: linear-gradient(0deg, #c9c8cf 0%, #ffffff 60%); color: var(--tx-light); }
.sub-sec.-light .h-display { color: #141218; }
.sub-sec .shead { max-width: 760px; margin-bottom: 50px; }
.sub-sec .shead h2 { font-size: clamp(34px, 4.6vw, 66px); margin-top: 12px; }
.sub-sec .shead .m-label { color: var(--pink); font-weight: 700; }
.cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.xcard {
  position: relative;
  border: 1px solid var(--line-d);
  border-radius: 14px;
  padding: 32px 30px;
  background: #121118;
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s ease;
}
.xcard:hover { transform: translateY(-6px); border-color: rgba(240,50,156,.55); }
.xcard::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(240,50,156,.16), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.xcard:hover::before { opacity: 1; }
.xcard .n { font-family: var(--font-mono); color: var(--pink); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; }
.xcard h3 { font-size: 20px; font-weight: 600; color: var(--white); margin: 12px 0 10px; letter-spacing: -.01em; }
.xcard p { font-size: 14.5px; color: var(--tx-dark); }
.xcard ul { margin-top: 14px; }
.xcard li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8d88a0;
  padding: 7px 0 7px 18px;
  border-top: 1px solid var(--line-d);
  position: relative;
}
.xcard li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; transform: rotate(45deg); background: var(--pink); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.stepx { border: 1px solid rgba(12,12,16,.14); border-radius: 14px; padding: 28px 26px; background: #fff; transition: transform .4s var(--ease), box-shadow .4s ease; }
.stepx:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(20,18,24,.12); }
.stepx .sn { font-weight: 300; font-size: 46px; color: var(--pink); line-height: 1; }
.stepx h4 { margin: 12px 0 8px; font-weight: 600; color: #141218; }
.stepx p { font-size: 14px; }
.checkrows .row { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-d); font-size: 15.5px; color: var(--tx-dark); }
.checkrows .row::before { content: "◆"; color: var(--pink); font-size: 12px; line-height: 1.8; flex: 0 0 auto; }
.twocol { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .twocol { grid-template-columns: 1fr; } }
.cta-band {
  background: linear-gradient(120deg, #e12b93 0%, var(--pink) 45%, #b81f9e 100%);
  border-radius: 18px;
  padding: clamp(40px, 7vh, 70px) clamp(24px, 5vw, 70px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h3 { font-size: clamp(24px, 3vw, 40px); font-weight: 600; color: #fff; max-width: 24ch; letter-spacing: -.01em; }
.cta-band .link-arrow { color: #fff; }
.cta-band .link-arrow:hover { color: #2a0620; }
/* contact form */
.cform label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #8d88a0; margin: 24px 0 10px; }
.cform input, .cform select, .cform textarea {
  width: 100%;
  background: #121118;
  border: 1px solid var(--line-d);
  border-radius: 10px;
  color: var(--white);
  font: 15.5px var(--font-sans);
  padding: 15px 16px;
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.cform input:focus, .cform select:focus, .cform textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px var(--pink), 0 0 26px rgba(240,50,156,.16);
}
.cform option { background: #16141d; }
.cform .cta-row { margin-top: 30px; }
.cform .ok { display: none; margin-top: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--pink); }
/* simple subpage footer */
.sub-foot { border-top: 1px solid var(--line-d); background: var(--bg); }
.sub-foot .bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
  padding: 22px clamp(20px, 3.2vw, 44px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6d6880;
}
.sub-foot a:hover { color: var(--pink); }
.sub-foot .credits { display: inline-flex; align-items: center; gap: 8px; }

button.btn-blade { cursor: pointer; font: inherit; }

/* subpage hero with character image */
.sub-hero.-withimg .inner-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.sub-hero.-withimg .sh-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  border: 1px solid var(--line-d);
}
.sub-hero.-withimg .sh-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.sub-hero.-withimg:hover .sh-media img { transform: scale(1.04); }
.sub-hero.-withimg .sh-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 55%, rgba(240,50,156,.14)); pointer-events: none; }
@media (max-width: 860px) {
  .sub-hero.-withimg .inner-wrap { grid-template-columns: 1fr; }
  .sub-hero.-withimg .sh-media { max-height: 46vh; }
}

/* FAQ accent word in solid brand pink */
.faq h2 .grad-text {
  background: none;
  -webkit-text-fill-color: var(--pink);
  color: var(--pink);
}

/* ---- contact form success animation ---- */
.cform { position: relative; }
.cform.sent > label, .cform.sent > input, .cform.sent > select, .cform.sent > .sel,
.cform.sent > textarea, .cform.sent > .cta-row, .cform.sent > .ok {
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.form-success {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
}
.form-success.show { opacity: 1; visibility: visible; transform: translateY(0); }
.form-success h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; color: var(--white); letter-spacing: -.01em; }
.form-success p { color: var(--tx-dark); max-width: 34ch; }
.form-success .link-arrow { color: var(--pink); background: none; border: 0; cursor: pointer; font: 600 14px var(--font-sans); padding: 8px 0 0; }
.form-success .tick { width: 64px; height: 64px; margin-bottom: 6px; }
.form-success .tick circle { stroke: var(--pink); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; }
.form-success .tick path { stroke: var(--pink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; }
.form-success.show .tick circle { animation: tick-circle .5s ease forwards; }
.form-success.show .tick path { animation: tick-check .35s .45s ease forwards; }
@keyframes tick-circle { to { stroke-dashoffset: 0; } }
@keyframes tick-check { to { stroke-dashoffset: 0; } }

/* ---- subpage hero: professional vertical alignment + clean mobile order ---- */
.sub-hero.-withimg { align-items: center; }
.sub-hero.-withimg .sh-text { align-self: center; }
@media (max-width: 860px) {
  .sub-hero.-withimg .inner-wrap { gap: 30px; }
  .sub-hero.-withimg .sh-media { order: -1; aspect-ratio: 16/10; max-height: 40vh; }  /* image sits neatly above heading on mobile */
}

/* matrix rain behind the thank-you card */
.form-success .matrix-rain {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; z-index: 0;
  border-radius: 12px;
  transition: opacity .6s ease;
  -webkit-mask-image: radial-gradient(120% 100% at 20% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 100% at 20% 40%, #000 30%, transparent 85%);
}
.form-success.show .matrix-rain { opacity: .8; }
.form-success > * { position: relative; z-index: 1; }

/* ---- subpage scroll-scrubbed video band (robot + geek) ---- */
.sub-reel { position: relative; height: 100svh; min-height: 620px; background: #0c0c10; overflow: clip; }
.sub-reel > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.sub-reel .sr-copy {
  position: absolute; left: clamp(20px, 3.2vw, 60px); bottom: clamp(50px, 10vh, 110px);
  z-index: 4; max-width: min(560px, 60vw);
}
.sub-reel .sr-copy .m-label { color: var(--pink); font-weight: 700; }
.sub-reel .sr-copy h2 { font-size: clamp(32px, 4.4vw, 68px); margin-top: 12px; color: var(--white); text-shadow: 0 2px 20px rgba(10,8,14,.5); }
.sub-reel .sr-copy p { color: #e7e2ee; margin-top: 14px; max-width: 44ch; text-shadow: 0 1px 10px rgba(10,8,14,.6); }
.sub-reel::before, .sub-reel::after {
  content: ""; position: absolute; left: 0; right: 0; height: 90px; z-index: 3; pointer-events: none;
}
.sub-reel::before { top: 0; background: linear-gradient(to bottom, #0c0c10, transparent); }
.sub-reel::after { bottom: 0; background: linear-gradient(to top, #0c0c10, transparent); }
/* About reel — deliberate full-bleed composition:
   cover fill (consistent with Services/Kickstart), crop anchored so the robots sit
   with clearance below the header and their feet near the base; standard ridges + bottom scrim. */
.sub-reel.-safehead { overflow: clip; }
.sub-reel.-safehead > video { object-fit: cover; object-position: center 26%; }


/* styled select dropdown (custom caret + pink accent) */
.cform select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--pink) 50%),
    linear-gradient(135deg, var(--pink) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
  cursor: pointer;
}
.cform select:focus {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--white) 50%),
    linear-gradient(135deg, var(--white) 50%, transparent 50%);
}
.cform option {
  background: #16141d;
  color: var(--white);
  padding: 12px;
}
.cform option:checked { color: var(--pink); font-weight: 600; }

/* ---- plain subpage hero: centered, balanced when no image ---- */
.sub-hero:not(.-withimg) { text-align: center; align-items: center; padding-top: 180px; }
.sub-hero:not(.-withimg) .inner-wrap { max-width: 900px; }
.sub-hero:not(.-withimg) .lead { margin-left: auto; margin-right: auto; }
.sub-hero:not(.-withimg) .m-label { display: inline-block; }

/* ---- professional footer with organized link columns ---- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line-d); padding: clamp(56px, 8vh, 90px) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 54px;
}
.footer-brand .fb-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .fb-logo img { width: 40px; height: 40px; }
.footer-brand .fb-logo span { font-weight: 700; letter-spacing: .04em; font-size: 20px; }
.footer-brand p { color: var(--tx-dark); font-size: 14px; max-width: 30ch; }
.footer-brand .fpill { display: inline-flex; margin-top: 20px; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: #7d7890; margin-bottom: 18px;
}
.footer-col a, .footer-col span.fi {
  display: block; color: var(--tx-dark); font-size: 14.5px;
  padding: 7px 0; transition: color .25s ease, transform .25s ease;
}
.footer-col a:hover { color: var(--pink); transform: translateX(3px); }
.footer-bar {
  border-top: 1px solid var(--line-d);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px 24px; padding: 22px 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6d6880;
}
.footer-bar .credits { display: inline-flex; align-items: center; gap: 8px; }
.footer-bar a:hover { color: var(--pink); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .sub-hero:not(.-withimg) { padding-top: 130px; }
}

/* mobile: give the fixed header a soft backdrop so content doesn't collide visually */
@media (max-width: 860px) {
  .hd {
    background: linear-gradient(to bottom, rgba(12,12,16,.88) 55%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hd.on-light {
    background: linear-gradient(to bottom, rgba(250,250,252,.9) 55%, transparent);
  }
}

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

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.bcard {
  position: relative; border: 1px solid var(--line-d); border-radius: 14px;
  padding: 30px 28px; background: #121118; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  transition: transform .45s var(--ease), border-color .45s ease;
}
.bcard:hover { transform: translateY(-6px); border-color: rgba(240,50,156,.55); }
.bcard .m-label { color: var(--pink); }
.bcard h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--white); line-height: 1.25; }
.bcard p { font-size: 14.5px; color: var(--tx-dark); flex: 1; }
.bcard .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7d7890; }
.post-hero { padding-top: 150px; padding-bottom: 30px; }
.post-hero h1 { font-size: clamp(34px, 4.6vw, 64px); }
.post-hero .meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #7d7890; margin-top: 20px; }
.post-body { max-width: 760px; margin: 0 auto; padding: 30px 0 70px; }
.post-body h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; color: var(--white); margin: 42px 0 16px; line-height: 1.2; }
.post-body h3 { font-size: 19px; font-weight: 600; color: var(--white); margin: 30px 0 12px; }
.post-body p { margin-bottom: 18px; font-size: 16.5px; line-height: 1.75; }
.post-body ul { margin: 0 0 20px 2px; }
.post-body li { position: relative; padding: 6px 0 6px 22px; font-size: 15.5px; line-height: 1.65; }
.post-body li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--pink); }
.post-body a { color: var(--pink); border-bottom: 1px solid rgba(240,50,156,.35); transition: border-color .3s; }
.post-body a:hover { border-color: var(--pink); }
.post-body strong { color: var(--white); font-weight: 600; }
.post-body blockquote {
  margin: 28px 0; padding: 20px 26px; border-left: 3px solid var(--pink);
  background: #131119; border-radius: 0 12px 12px 0; font-size: 17px; color: var(--white); font-weight: 400;
}
.post-body .link-block {
  margin: 34px 0; padding: 24px 26px; border: 1px solid var(--line-d); border-radius: 14px; background: #121118;
}
.post-body .link-block .m-label { color: var(--pink); display: block; margin-bottom: 12px; }
.post-body .link-block ul { margin: 0; }
.post-body .link-block li { padding: 5px 0 5px 22px; }
.post-body .link-block a { border-bottom: none; color: var(--tx-dark); }
.post-body .link-block a:hover { color: var(--pink); }
.post-cta {
  margin-top: 40px; padding: 30px; border-radius: 16px; text-align: center;
  background: linear-gradient(120deg, rgba(240,50,156,.12), rgba(168,85,247,.1));
  border: 1px solid rgba(240,50,156,.25);
}
.post-cta h3 { font-size: 22px; color: var(--white); font-weight: 600; margin-bottom: 8px; }
.post-cta p { color: var(--tx-dark); margin-bottom: 18px; }

/* ---------- Let's Talk slide-in modal ---------- */
html.talk-lock, html.talk-lock body { overflow: hidden; }
.talk-modal { position: fixed; inset: 0; z-index: 3000; visibility: hidden; }
.talk-modal.open { visibility: visible; }
.talk-backdrop { position: absolute; inset: 0; background: rgba(8,8,12,.62); opacity: 0; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.talk-panel {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: min(480px, 92vw);
  background: #131118; border-right: 1px solid var(--line-d);
  padding: 78px clamp(24px, 4vw, 44px) 44px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  box-shadow: 40px 0 90px rgba(0,0,0,.55);
}
.talk-close {
  position: absolute; top: 20px; right: 20px; width: 42px; height: 42px;
  border-radius: 999px; border: 1px solid var(--line-d); background: #1a1822;
  color: var(--white); font-size: 15px; display: grid; place-items: center;
  transition: background .3s, transform .3s;
}
.talk-close:hover { background: var(--pink); transform: rotate(90deg); }
.talk-title { font-size: clamp(28px, 5vw, 40px); font-weight: 300; letter-spacing: -.02em; color: var(--white); margin: 12px 0 10px; line-height: 1.05; }
.talk-sub { color: var(--tx-dark); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.talk-panel .cform label:first-of-type { margin-top: 4px; }
.talk-panel .cform .ok { color: var(--pink); }

/* ---------- mobile: homepage footer credit bar stacks cleanly ---------- */
@media (max-width: 760px) {
  .ft .bar { flex-direction: column; align-items: flex-start; gap: 12px; line-height: 1.6; }
  .ft .bar .credits { flex-wrap: wrap; gap: 6px 8px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sub-foot .bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- mobile: the Ascent stacks — video on top, text below ---------- */
@media (max-width: 860px) {
  .climb { height: auto; min-height: 0; display: block; padding: 0 0 44px; background: #0c0c10; }
  .climb > #climbVid {
    position: relative; inset: auto;
    width: 100%; height: auto; aspect-ratio: 16 / 10;
    object-fit: cover; object-position: 60% center; transform: none;
  }
  .climb-overlay { position: relative; inset: auto; z-index: 3; }
  .climb-copy {
    position: static; transform: none; max-width: 100%;
    padding: 26px clamp(20px, 5vw, 30px) 0; text-align: left;
  }
  .climb-copy .m-label { color: var(--pink); font-weight: 700; text-shadow: none; }
  .climb-copy h2 { color: var(--white); font-size: clamp(34px, 9vw, 54px); margin: 12px 0 16px; }
  .climb-copy p { color: var(--tx-dark); text-shadow: none; }
  .climb-copy .link-arrow { color: var(--pink); text-shadow: none; }
  .climb-overlay .anno, .climb-overlay .mile { display: none; }
  .climb .climb-ridge { display: block; height: clamp(22px, 5.5vw, 40px); z-index: 4; }
  .climb .climb-ridge.-top { top: -1px; }
  .climb .climb-ridge:not(.-top) { top: auto; bottom: auto; top: calc(62.5vw - clamp(22px, 5.5vw, 40px)); }
}

/* ---------- custom styled dropdown (replaces native select option list) ---------- */
.sel { position: relative; }
.sel > select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sel-btn {
  width: 100%; background: #121118; border: 1px solid var(--line-d); border-radius: 10px;
  color: var(--white); font: 15.5px var(--font-sans); padding: 15px 44px 15px 16px;
  text-align: left; cursor: pointer; position: relative; transition: border-color .3s, box-shadow .3s;
}
.sel-btn.placeholder { color: #8d88a0; }
.sel-btn::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.sel.open .sel-btn::after { transform: translateY(-30%) rotate(225deg); }
.sel.open .sel-btn, .sel-btn:focus { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 0 26px rgba(240,50,156,.16); outline: none; }
.sel-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  background: #16141d; border: 1px solid var(--line-d); border-radius: 10px; padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  box-shadow: 0 22px 55px rgba(0,0,0,.55); max-height: 260px; overflow: auto;
}
.sel.open .sel-list { opacity: 1; visibility: visible; transform: translateY(0); }
.sel-opt {
  padding: 11px 14px; border-radius: 7px; color: var(--tx-dark); font-size: 15px;
  cursor: pointer; transition: background .2s, color .2s;
}
.sel-opt:hover, .sel-opt.active { background: rgba(240,50,156,.14); color: var(--white); }

/* branded scrollbar for the Let's Talk popup */
.talk-panel { scrollbar-width: thin; scrollbar-color: var(--pink) #1a1822; }
.talk-panel::-webkit-scrollbar { width: 10px; }
.talk-panel::-webkit-scrollbar-track { background: #1a1822; border-radius: 10px; }
.talk-panel::-webkit-scrollbar-thumb { background: linear-gradient(var(--pink), var(--violet)); border-radius: 10px; border: 2px solid #1a1822; }
.talk-panel::-webkit-scrollbar-thumb:hover { background: var(--pink); }
.sel-list::-webkit-scrollbar { width: 8px; }
.sel-list::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 8px; }
.sel-list { scrollbar-width: thin; scrollbar-color: var(--pink) #16141d; }

/* mobile: keep "Make the leap to AI." on one line */
@media (max-width: 860px) {
  .hero .tagline .tg { font-size: clamp(24px, 7.6vw, 52px); white-space: nowrap; line-height: 1.12; }
}

/* ---------- mobile: subpage video reels stack — video on top, text below ---------- */
@media (max-width: 860px) {
  .sub-reel, .sub-reel.-safehead, .sub-reel.-space {
    height: auto; min-height: 0; display: block; padding: 0 0 40px; overflow: visible;
  }
  .sub-reel > video, .sub-reel.-safehead > video, .sub-reel.-space > video {
    position: relative; inset: auto; width: 100%; height: auto;
    aspect-ratio: 16 / 10; object-fit: cover; object-position: center; transform: none;
  }
  .sub-reel .sr-copy {
    position: static; transform: none; max-width: 100%; bottom: auto; left: auto;
    padding: 26px clamp(20px, 5vw, 30px) 0;
  }
  .sub-reel .sr-copy h2 { font-size: clamp(30px, 8vw, 48px); }
  .sub-reel .sr-copy p { color: var(--tx-dark); text-shadow: none; }
  .sub-reel .sr-copy .m-label { text-shadow: none; }
  .sub-reel .climb-ridge { display: block; height: clamp(22px, 5.5vw, 40px); z-index: 4; }
  .sub-reel .climb-ridge.-top { top: -1px; }
  .sub-reel .climb-ridge:not(.-top) { top: calc(62.5vw - clamp(22px, 5.5vw, 40px)); bottom: auto; }
  .sub-reel::before { display: block; top: 0; height: 40px; }
  .sub-reel::after { display: none; }
}

/* ===== mobile audit fixes ===== */
/* #1 home services section: stop tail-note & "view services" colliding */
@media (max-width: 620px) {
  .services .tail-note { bottom: 74px; width: 88%; text-align: center; font-size: 10px; letter-spacing: .12em; }
  .services .view { right: 50%; transform: translateX(50%); bottom: 32px; }
}
/* #4 services 3D-panel beat text legibility over dark rock */
.svc-beat h3 { text-shadow: 0 2px 26px rgba(0,0,0,.75); }
.svc-beat p { color: #cfccd8; text-shadow: 0 2px 22px rgba(0,0,0,.75); }
/* #3 blog post hero: kill the dead space above the fold on mobile */
@media (max-width: 860px) {
  .post-hero { padding-top: 92px; padding-bottom: 18px; }
}
/* #5 contact: tighten the empty gap between intro and form on mobile */
@media (max-width: 860px) {
  .sub-hero.-withimg { padding-bottom: 16px; }
  .sub-hero.-withimg .sh-media { max-height: 36vh; }
}
/* #2 home footer wordmark: keep it inside the viewport on small screens */
@media (max-width: 620px) {
  #wordmark { height: clamp(120px, 26vw, 200px); }
}
