/* ═══════════════════════════════════════════════════
   Tokens
   ═══════════════════════════════════════════════════ */
:root {
  --bg:      #08090C;
  --bg-2:    #0B0D12;
  --surf:    #12161E;
  --surf-2:  #0C0F15;
  --line:    rgba(255,255,255,.075);
  --line-2:  rgba(255,255,255,.14);

  --brand:   #3B72FF;
  --brand-2: #8B5CF6;
  --brand-3: #22D3EE;
  /* rgb triplets so the same hues work inside rgba() */
  --brand-rgb:   59,114,255;
  --brand-2-rgb: 139,92,246;
  --brand-3-rgb: 34,211,238;
  /* lighter tints for text on dark */
  --brand-lt:    #7FA0FF;
  --brand-2-lt:  #B197FC;
  --brand-lt-2:  #A9C0FF;

  --live:    #34D399;
  --amber:   #FFB020;

  --white:   #F3F5F9;
  --soft:    #A2A9B8;
  --dim:     #6B7385;

  --paper:   #ECEEF3;
  --ink:     #0A0C11;
  --ink-2:   #545B6C;
  --ink-3:   #2B57D6;

  --g-brand: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  --g-soft:  linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
  --g-rule:  linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);

  --display: 'Bricolage Grotesque', 'Helvetica Neue', sans-serif;
  --body:    'Inter Tight', system-ui, -apple-system, sans-serif;

  --wrap: 1280px;
  --pad:  clamp(20px, 5vw, 56px);
  --sec:  clamp(96px, 11vw, 168px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --out:  cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.6;
  letter-spacing: -0.006em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(var(--brand-rgb),.35); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sec { padding-block: var(--sec); position: relative; }

/* The nav floats over the page, so anchored sections need clearance. */
.sec, .band, .reel, #top { scroll-margin-top: 92px; }

/* ─── Type ───────────────────────────────────────── */
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  margin: 14px 0 0;
  text-wrap: balance;
}

.lede {
  color: var(--soft);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  max-width: 56ch;
  margin: 18px auto 0;
  text-wrap: pretty;
}
.lede--left { margin-inline: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--brand-lt);
}
.eyebrow i {
  width: 26px; height: 1px;
  background: var(--g-brand);
  display: block;
}
.eyebrow--dark { color: var(--ink-3); }
.eyebrow--dark i { background: linear-gradient(90deg, var(--ink-3), transparent); }

.head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(46px, 6vw, 78px);
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform .4s var(--out), box-shadow .4s var(--ease),
              background .3s, border-color .3s, color .3s;
}
.btn svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--brand {
  background: var(--g-brand);
  color: #fff;
  box-shadow: 0 14px 38px -16px rgba(var(--brand-rgb),.85);
}
.btn--brand:hover { transform: translateY(-2px); box-shadow: 0 22px 52px -16px rgba(var(--brand-rgb),.95); }
.btn--line {
  border-color: var(--line-2);
  background: rgba(255,255,255,.03);
  color: var(--white);
}
.btn--line:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.btn--wide { width: 100%; margin-top: 8px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ═══ Progress hairline ═════════════════════════ */
.prog {
  position: fixed; inset: 0 0 auto 0;
  height: 2px; z-index: 900;
  background: rgba(255,255,255,.05);
}
.prog i { display: block; height: 100%; width: 0; background: var(--g-brand); }

/* ═══ Nav ═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), var(--wrap));
  z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 9px 9px 9px 22px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(10,12,17,.62);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  transition: transform .45s var(--ease), background .35s, border-color .35s;
}
.nav.up { transform: translate(-50%, -170%); }

.nav__mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  font-size: 1.06rem; letter-spacing: -0.035em;
}
.nav__dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dim);
  flex: none;
}
.nav__dot--live { background: var(--live); box-shadow: 0 0 10px rgba(52,211,153,.7); }
.nav__dot--live::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--live);
  animation: radar 3.2s cubic-bezier(.2,.55,.3,1) infinite;
}
.nav__dot--soft { background: var(--amber); box-shadow: 0 0 9px rgba(255,176,32,.55); }
.nav__dot--busy, .nav__dot--off { background: var(--dim); }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  padding: 9px 16px;
  border-radius: 100px;
  color: var(--soft);
  font-size: .92rem;
  transition: color .25s, background .25s;
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav__links a.on { color: var(--white); background: rgba(255,255,255,.06); }

.nav__cta {
  padding: 11px 22px;
  border-radius: 100px;
  background: var(--g-brand);
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 28px -14px rgba(var(--brand-rgb),.9);
  transition: transform .35s var(--out), box-shadow .35s;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -14px rgba(var(--brand-rgb),1); }

.burger {
  display: none;
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  position: relative;
}
.burger span {
  position: absolute; left: 12px;
  width: 18px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform .4s var(--out), width .3s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 23px; width: 12px; }
.burger.on span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.burger.on span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); width: 18px; }

/* ═══ Drawer ════════════════════════════════════ */
.drawer {
  position: fixed; inset: 0; z-index: 850;
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  display: flex;
}
.drawer__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 460px at 88% 6%, rgba(var(--brand-rgb),.26), transparent 70%),
    radial-gradient(520px 420px at 4% 98%, rgba(var(--brand-2-rgb),.20), transparent 72%);
}
.drawer__inner {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  width: 100%;
  padding: 100px var(--pad) calc(36px + env(safe-area-inset-bottom));
}
.drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.drawer__nav a {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.5rem, 13vw, 4.2rem);
  letter-spacing: -0.05em; line-height: 1.08;
  padding: 10px 0;
  opacity: 0; transform: translateY(30px);
}
.drawer__nav a:active { color: var(--brand-lt); }
.drawer__foot {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--dim); font-size: .95rem;
  opacity: 0; transform: translateY(18px);
}
.no-motion .drawer__nav a,
.no-motion .drawer__foot { opacity: 1; transform: none; }

/* ═══ Hero ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 150px 130px;
  overflow: hidden;
  text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: saturate(.55) contrast(1.05);
}
.hero__scrim {
  position: absolute; inset: 0;
  background: radial-gradient(115% 85% at 50% 8%, rgba(8,9,12,.24), rgba(8,9,12,.9) 66%);
}
.hero__aurora {
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 34% at 50% 26%, rgba(var(--brand-rgb),.20), transparent 70%),
    radial-gradient(34% 30% at 82% 62%, rgba(var(--brand-2-rgb),.16), transparent 72%),
    radial-gradient(30% 26% at 14% 70%, rgba(var(--brand-3-rgb),.10), transparent 72%);
  filter: blur(6px);
}
.hero__beam {
  position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--g-rule);
  opacity: .5;
}
.hero__fade {
  position: absolute; inset: auto 0 0 0; height: 220px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--soft);
  font-size: .85rem;
  margin: 0 0 clamp(26px, 3.4vw, 40px);
}
.pill__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dim);
  flex: none;
}
.pill__dot i {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  pointer-events: none;
}
.pill__dot--live {
  background: var(--live);
  color: var(--live);
  box-shadow: 0 0 12px rgba(52,211,153,.75);
}
.pill__dot--live i { animation: radar 3.2s cubic-bezier(.2,.55,.3,1) infinite; }
.pill__dot--live i:nth-child(2) { animation-delay: 1.6s; }

.pill__dot--soft {
  background: var(--amber);
  color: var(--amber);
  box-shadow: 0 0 11px rgba(255,176,32,.6);
  animation: breathe 3.4s ease-in-out infinite;
}
.pill__dot--busy { background: var(--dim); box-shadow: none; }
.pill__dot--busy i { display: none; }

@keyframes radar {
  0%   { transform: scale(1);   opacity: .9; }
  65%  { opacity: 0; }
  100% { transform: scale(4.4); opacity: 0; }
}
@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.8); }
}
.pill__sep { width: 1px; height: 12px; background: var(--line-2); }

.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.9rem, 7.6vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.048em;
  margin: 0 0 clamp(22px, 2.8vw, 32px);
  text-wrap: balance;
}
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span { display: block; }
.ln--grad > span {
  background: linear-gradient(100deg, var(--brand-lt) 0%, var(--brand-2-lt) 55%, var(--brand-lt) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede { max-width: 54ch; margin: 0 auto clamp(30px, 4vw, 44px); color: var(--soft); font-size: clamp(1.02rem, 1.3vw, 1.18rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero__cv { margin: 22px 0 0; }
.hero__cv a {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--soft); font-size: .92rem;
  padding: 6px 4px;
  transition: color .28s;
}
.hero__cv svg {
  width: 15px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .35s var(--out);
}
.hero__cv a:hover { color: var(--white); }
.hero__cv a:hover svg { transform: translateY(2px); }
.hero__cv-meta {
  font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  color: var(--dim);
  border: 1px solid var(--line-2);
  border-radius: 5px; padding: 1px 6px;
}

/* ═══ Work grid ═════════════════════════════════ */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}
.card--wide { grid-column: span 2; }

.card__link {
  display: flex; flex-direction: column;
  width: 100%; text-align: left;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--surf) 0%, var(--surf-2) 100%);
  transition: transform .55s var(--out), border-color .4s, box-shadow .55s var(--ease);
}
.card__link:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--brand-rgb),.34);
  box-shadow:
    0 34px 70px -34px rgba(0,0,0,.95),
    0 22px 80px -50px rgba(var(--brand-rgb),.9);
}

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #0A0D12;
  isolation: isolate;
}
.card--wide .card__media { aspect-ratio: 2 / 1; }

.card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9) brightness(.94);
  transition: transform 1s var(--out), filter .55s;
}
.card__img--none { background: linear-gradient(135deg, #11151D, #0A0D12); }
.card__prev {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s var(--ease);
}
.card__media.live .card__prev { opacity: 1; }
.card__wash {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,9,12,.6), transparent 52%);
}
.card__link:hover .card__img { transform: scale(1.05); filter: saturate(1) brightness(1); }

.card__chips {
  position: absolute; top: 13px; left: 13px;
  display: flex; gap: 7px; flex-wrap: wrap;
}
.card__chip {
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  background: rgba(10,12,17,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .02em; color: var(--white);
  white-space: nowrap;
}
.card__chip--lead {
  background: var(--g-brand);
  border-color: transparent;
  color: #fff;
}

.pl {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 6.4vw, 84px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(12,15,22,.5);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--out), background .35s, border-color .35s;
}
.pl__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.pl__ring circle {
  fill: none; stroke: var(--brand-lt); stroke-width: 2;
  stroke-dasharray: 295; stroke-dashoffset: 295;
  transition: stroke-dashoffset .8s var(--out);
}
.pl__ico { width: 32%; fill: #fff; margin-left: 9%; }
.card__link:hover .pl { transform: translate(-50%, -50%) scale(1.08); background: rgba(var(--brand-rgb),.34); border-color: rgba(127,160,255,.55); }
.card__link:hover .pl__ring circle { stroke-dashoffset: 0; }

.card__body {
  display: flex; flex-direction: column;
  padding: 22px 15px 13px;
}
.card__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  line-height: 1.16; letter-spacing: -0.032em;
  transition: color .3s;
}

/* Hierarchy. A wide card is already bigger; the lead card also reads bigger,
   so the eye is told where to start rather than left to scan evenly. */
.card--wide .card__body { padding: 26px 19px 15px; }
.card--wide .card__title { font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.card--wide .card__text { font-size: 1.02rem; max-width: 62ch; margin-top: 11px; }
.card--lead .card__link { border-color: rgba(var(--brand-rgb), .22); }
.card--lead .card__link:hover { border-color: rgba(var(--brand-rgb), .45); }
.card__link:hover .card__title { color: var(--brand-lt-2); }
.card__text {
  margin-top: 9px;
  color: var(--soft);
  font-size: .96rem; line-height: 1.55;
  max-width: 54ch;
}
.card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.card__stack { color: var(--dim); font-size: .82rem; letter-spacing: .01em; }
.card__go {
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: background .35s, border-color .35s, transform .45s var(--out);
}
.card__go svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__link:hover .card__go { background: var(--g-brand); border-color: transparent; transform: rotate(45deg); }

.blank {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--surf), var(--surf-2));
  padding: clamp(44px, 8vw, 88px);
  text-align: center;
}
.blank h3 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; margin: 0 0 10px; }
.blank p { color: var(--soft); margin: 0 auto; max-width: 44ch; }

/* ═══ Capabilities band ═════════════════════════ */
.band {
  position: relative;
  background: var(--paper);
  color: var(--ink);
}
.band__top { height: clamp(90px, 12vw, 160px); background: linear-gradient(to bottom, var(--bg), var(--paper)); }
.band__bot { height: clamp(90px, 12vw, 160px); background: linear-gradient(to bottom, var(--paper), var(--bg)); }
.band > .wrap { padding-block: clamp(54px, 6.5vw, 92px); }
.band .lede { color: var(--ink-2); }

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(10,12,17,.10);
  padding-block: 18px;
}
.ticker__track { display: flex; width: max-content; }
.ticker__set { display: flex; align-items: center; }
.ticker__item {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 2.05rem);
  letter-spacing: -0.04em;
  padding-inline: 22px;
  white-space: nowrap;
}
.ticker__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); flex: none; }

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(26px, 3.4vw, 50px);
}
.col__head {
  font-size: .76rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(10,12,17,.15);
  margin: 0 0 8px;
}
.col__list { list-style: none; margin: 0; padding: 0; }
.col__list li { padding: 13px 0; border-bottom: 1px solid rgba(10,12,17,.07); }
.col__label {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: 1.12rem; letter-spacing: -0.028em;
}
.col__note { display: block; color: var(--ink-2); font-size: .89rem; margin-top: 2px; line-height: 1.45; }

/* ═══ Process reel ══════════════════════════════ */
.reel { position: relative; }
.reel__stick {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex; align-items: flex-end;
  background: var(--bg);
}
.reel__run { height: 220vh; }
.reel__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
}
.reel__none {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(var(--brand-rgb),.16), transparent 70%),
    linear-gradient(160deg, #0B0E14, #08090C);
}
.reel__grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(8,9,12,.1) 26%, rgba(8,9,12,.2) 52%, rgba(8,9,12,.9) 90%, var(--bg) 100%),
    radial-gradient(70% 55% at 50% 55%, rgba(var(--brand-rgb),.12), transparent 72%);
}
.reel__over {
  position: relative; z-index: 2;
  text-align: center;
  padding-bottom: clamp(80px, 13vh, 140px);
}
.reel__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  line-height: 1; letter-spacing: -0.048em;
  margin: 16px auto 0;
  max-width: 17ch;
  text-wrap: balance;
}
.reel__caps { position: relative; height: 4.4em; margin-top: 24px; }
.reel__cap {
  position: absolute; inset-inline: 0; top: 0;
  max-width: 48ch; margin: 0 auto;
  color: var(--soft);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reel__cap.is-on { opacity: 1; transform: none; color: var(--white); }

/* ═══ Contact ═══════════════════════════════════ */
.sec--contact::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: var(--g-rule);
}
.contact {
  display: grid;
  grid-template-columns: 1fr minmax(0, 540px);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.links { margin-top: 40px; border-top: 1px solid var(--line); }
.link {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center; gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.link__k { color: var(--dim); font-size: .88rem; }
.link__v { color: var(--white); font-size: 1.02rem; }
.link svg {
  width: 16px; fill: none; stroke: var(--dim); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .3s, transform .4s var(--out);
}
a.link:hover { padding-left: 8px; }
a.link:hover svg { stroke: var(--brand-lt); transform: translate(3px, -3px); }
.link--static { cursor: default; }

.form {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, var(--surf) 0%, var(--surf-2) 100%);
  padding: clamp(28px, 3.4vw, 44px);
}
.form::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb),.55), transparent);
  border-radius: 26px 26px 0 0;
}

/* Underline fields: no boxes, generous rhythm, a gradient rule that
   draws in from the left on focus. */
.fld {
  position: relative;
  padding-top: 20px;
  margin-bottom: 26px;
}
.fld input, .fld textarea {
  width: 100%;
  padding: 8px 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--white);
  font-family: var(--body);
  font-size: 1.06rem;
  line-height: 1.5;
  letter-spacing: -0.012em;
  resize: none;
  transition: border-color .3s;
}
.fld textarea { min-height: 92px; }
.fld input:focus, .fld textarea:focus { outline: none; }
.fld input:-webkit-autofill {
  -webkit-text-fill-color: var(--white);
  -webkit-box-shadow: 0 0 0 40px var(--surf) inset;
}

.fld label {
  position: absolute; left: 0; top: 28px;
  color: var(--dim);
  font-size: 1.06rem;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .32s var(--out), color .3s, font-size .32s var(--out), letter-spacing .32s;
}
.fld input:focus + label,
.fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label,
.fld textarea:not(:placeholder-shown) + label {
  transform: translateY(-28px);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-lt);
}

.fld::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--g-brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--out);
}
.fld:focus-within::after { transform: scaleX(1); }

.fld.bad input, .fld.bad textarea { border-bottom-color: rgba(248,113,113,.8); }
.fld.bad::after { background: #F87171; transform: scaleX(1); }
.fld__err { display: none; margin-top: 9px; color: #F87171; font-size: .82rem; }
.fld.bad .fld__err { display: block; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cap { margin: 4px 0 16px; }
.form__msg { margin: 16px 0 0; min-height: 1.3em; font-size: .92rem; color: var(--soft); }
.form__msg.ok  { color: #6EE7B7; }
.form__msg.bad { color: #F87171; }
.form__fine { margin: 12px 0 0; color: var(--dim); font-size: .78rem; }
.form__fine a { color: var(--soft); text-decoration: underline; }

/* ═══ Footer ════════════════════════════════════ */
.foot { border-top: 1px solid var(--line); padding-block: 36px; }
.foot__in {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  justify-content: space-between; align-items: center;
  color: var(--dim); font-size: .9rem;
}
.foot__up { transition: color .25s; }
.foot__up:hover { color: var(--white); }

/* ═══ Lightbox ══════════════════════════════════ */
.lb { position: fixed; inset: 0; z-index: 1000; display: flex; }
.lb__veil {
  position: absolute; inset: 0;
  background: rgba(4,5,8,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
}
.lb__box {
  position: relative; margin: auto;
  width: min(1240px, calc(100% - 28px));
  /* A definite height is what lets the stage flex and the media letterbox
     to fit — without it the stage collapses and tall media overflows. */
  height: min(calc(100svh - 28px), 940px);
  display: flex; flex-direction: column;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: linear-gradient(180deg, #11151D 0%, #0A0D12 100%);
  overflow: hidden;
  opacity: 0; transform: translateY(22px) scale(.99);
}
.lb__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 22px; padding: 18px 22px 16px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.lb__cat {
  display: inline-block;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-lt); margin-bottom: 6px;
}
.lb__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  letter-spacing: -0.035em; line-height: 1.1; margin: 0;
}
.lb__x {
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line-2); border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s, border-color .3s, transform .4s var(--out);
}
.lb__x svg { width: 16px; fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linecap: round; }
.lb__x:hover { background: rgba(248,113,113,.9); border-color: transparent; transform: rotate(90deg); }

/* The stage takes whatever height is left over. The track is absolutely
   positioned inside it, so every slide inherits a definite height and any
   aspect ratio letterboxes instead of overflowing. */
.lb__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #05060A;
}
.lb__track {
  position: absolute; inset: 0;
  display: flex;
  transition: transform .65s cubic-bezier(.65,0,.35,1);
  will-change: transform;
}
.lb__slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  min-width: 0;
  min-height: 0;
}
/* A flex or grid item will not shrink below its intrinsic size unless the
   automatic minimum is switched off. That default is why a 1280x720 clip
   pushes past a shorter stage no matter what max-height says. */
.lb__slide img, .lb__slide video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  border-radius: 8px;
}
.lb__empty { color: var(--dim); font-size: .95rem; text-align: center; }

.lb__arw {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10,12,17,.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid; place-items: center;
  transition: background .3s, border-color .3s, opacity .3s;
}
.lb__arw svg { width: 17px; fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lb__arw:hover { background: var(--brand); border-color: transparent; }
.lb__arw--l { left: 16px; }
.lb__arw--r { right: 16px; }

.lb__bot { border-top: 1px solid var(--line); padding: 14px 22px 18px; display: grid; gap: 14px; flex: none; }
.lb__film { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 3px; }
.lb__th {
  position: relative; flex: none;
  width: 96px; aspect-ratio: 16/10;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line);
  opacity: .45;
  transition: opacity .3s, border-color .3s, transform .35s var(--out);
}
.lb__th img, .lb__th video { width: 100%; height: 100%; object-fit: cover; }
.lb__th:hover { opacity: .8; transform: translateY(-2px); }
.lb__th.on { opacity: 1; border-color: rgba(var(--brand-rgb),.75); }
.lb__th i {
  position: absolute; inset: auto 6px 6px auto;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(10,12,17,.7);
  display: grid; place-items: center;
}
.lb__th i::after {
  content: ''; border-left: 5px solid #fff;
  border-block: 3.5px solid transparent;
  margin-left: 2px;
}
.lb__line { display: flex; align-items: center; justify-content: space-between; gap: 22px; }

/* The case-study text. Scrolls on its own so the media above never moves. */
.lb__read {
  max-height: 22svh;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  scrollbar-width: thin;
}
.lb__read[hidden] { display: none; }
.lb__body {
  color: var(--soft);
  font-size: .95rem;
  line-height: 1.68;
  max-width: 78ch;
}
.lb__body:empty { display: none; }
.lb__stack {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: .8rem;
  letter-spacing: .04em;
}
.lb__cap { margin: 0; color: var(--soft); font-size: .93rem; }
.lb__end { display: flex; align-items: center; gap: 20px; flex: none; }
.lb__n { color: var(--dim); font-size: .85rem; }
.lb__live { color: var(--brand-lt); font-size: .9rem; }
.lb__live:hover { text-decoration: underline; }

/* ═══ Reveal ════════════════════════════════════ */
[data-rise] { opacity: 0; transform: translateY(24px); }
.no-motion [data-rise] { opacity: 1; transform: none; }

/* ═══ Responsive ════════════════════════════════ */
@media (max-width: 1080px) {
  .contact { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav { padding: 9px 9px 9px 18px; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .card--wide .card__media { aspect-ratio: 16/10; }
  .reel__run { height: 180vh; }
  .lb__box { width: 100%; height: 100svh; max-height: 100svh; border-radius: 0; border: 0; }
  .lb__arw { width: 40px; height: 40px; }
  .lb__slide { padding: 8px; }
  .lb__arw--l { left: 10px; }
  .lb__arw--r { right: 10px; }
  .lb__line { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lb__read { max-height: 20svh; }
  .link { grid-template-columns: 92px 1fr auto; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) {
  .pl__ring circle { stroke-dashoffset: 0; }
  .btn:hover, .card__link:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pill__dot i, .nav__dot--live::after { display: none; }
  .pill__dot--soft { animation: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-rise] { opacity: 1 !important; transform: none !important; }
  .hero__video, .card__prev { display: none; }
}


/* ═══ Statement ═════════════════════════════════ */
.stmt__in { max-width: 900px; text-align: center; }
.stmt__text {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.038em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.stmt__cite {
  margin: 26px 0 0;
  color: var(--dim);
  font-size: .92rem;
}

/* ═══ Short viewports ═══════════════════════════ */
@media (max-height: 640px) {
  .lb__film, .lb__read { display: none; }
  .lb__top { padding: 14px 18px 12px; }
  .lb__bot { padding: 12px 18px 14px; }
}
