/* ---------- Fonts ---------- */
@font-face { font-family:'PP Telegraf'; src:url('fonts/PPTelegraf-Ultralight.otf') format('opentype'); font-weight:200 300; font-style:normal; font-display:swap; }
@font-face { font-family:'PP Telegraf'; src:url('fonts/PPTelegraf-UltralightOblique.otf') format('opentype'); font-weight:200 300; font-style:italic; font-display:swap; }
@font-face { font-family:'PP Telegraf'; src:url('fonts/PPTelegraf-Regular.otf') format('opentype'); font-weight:400 500; font-style:normal; font-display:swap; }
@font-face { font-family:'PP Telegraf'; src:url('fonts/PPTelegraf-RegularOblique.otf') format('opentype'); font-weight:400 500; font-style:italic; font-display:swap; }
@font-face { font-family:'PP Telegraf'; src:url('fonts/PPTelegraf-Ultrabold.otf') format('opentype'); font-weight:600 900; font-style:normal; font-display:swap; }
@font-face { font-family:'PP Telegraf'; src:url('fonts/PPTelegraf-UltraboldOblique.otf') format('opentype'); font-weight:600 900; font-style:italic; font-display:swap; }

/* ---------- Tokens ---------- */
:root{
  --bg:#050505;
  --bg-soft:#080808;
  --bg-header:#0b0b0b;
  --paper:#f4f4f4;
  --fg:#f2f2f2;
  --fg-dim:#cfcfcf;
  --line:rgba(255,255,255,.22);
  --sans:'PP Telegraf',Helvetica,Arial,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,monospace;
  --ease:cubic-bezier(.16,1,.3,1);
  --wrap:1440px;
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg)}
body{color:var(--fg);font-family:var(--sans);font-size:16px;overflow-x:hidden;position:relative}
a{color:var(--fg);text-decoration:none}
a:hover{color:#fff}

/* Film-grain overlay — flat black otherwise banded/dead on large sections.
   Fixed + tiled, purely decorative. */
body::before{content:'';position:fixed;inset:0;z-index:5;pointer-events:none;
  opacity:.035;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

/* ---------- Custom scrollbar ---------- */
html{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}
::-webkit-scrollbar{width:9px;height:9px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);border-radius:5px;border:2px solid var(--bg);background-clip:padding-box}
::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35);background-clip:padding-box}

/* ---------- Custom cursor ---------- */
body.has-cursor{cursor:none}
body.has-cursor a,body.has-cursor button,body.has-cursor [role="button"]{cursor:none}
.cursor-dot,.cursor-ring{position:fixed;top:0;left:0;pointer-events:none;z-index:999;
  mix-blend-mode:difference;opacity:0;transition:opacity .3s var(--ease)}
body.has-cursor .cursor-dot,body.has-cursor .cursor-ring{opacity:1}
.cursor-dot{width:6px;height:6px;border-radius:50%;background:#fff}
.cursor-ring{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.7);
  transition:width .3s var(--ease),height .3s var(--ease),opacity .3s var(--ease),background .3s var(--ease)}
.cursor-ring.is-hover{width:64px;height:64px;background:rgba(255,255,255,.1)}
.cursor-ring{display:flex;align-items:center;justify-content:center}
.cursor-ring span{font-family:var(--mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#fff;white-space:nowrap;
  opacity:0;transition:opacity .25s var(--ease)}
.cursor-ring.is-cta{width:96px;height:96px;background:rgba(255,255,255,.12)}
.cursor-ring.is-cta span{opacity:1}

/* ---------- Smooth scroll (Lenis) ---------- */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}

.wrap{position:relative;z-index:3;max-width:var(--wrap);margin:0 auto;padding:0 clamp(0px, 750px - 39.06vw, 250px)}

/* ---------- Header (fijo arriba, flotante) ---------- */
:root{--header-h:clamp(56px, 38px + 1.41vw, 65px)}

.header{position:fixed;top:0;left:0;right:0;z-index:21;display:flex;align-items:center;justify-content:space-between;
  padding:clamp(10px, 2px + 0.63vw, 14px) clamp(28px, 4px + 1.88vw, 40px);background:none;pointer-events:none}
.header a,.header button{pointer-events:auto}
.logo{display:flex;align-items:center}
.logo-img{display:block;height:clamp(23px, 0.8px + 1.75vw, 34px);width:auto}
body{padding-top:var(--header-h)}

/* ---------- Menu toggle ---------- */
.burger{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:14px;margin:-14px;cursor:pointer;color:var(--fg);
  font-family:var(--mono);font-size:clamp(14px, 6px + 0.63vw, 18px);letter-spacing:.14em;text-transform:uppercase;
  transition:opacity .3s var(--ease)}
.burger:hover{opacity:.7}
.burger-icon{display:inline-block;transition:transform .55s var(--ease)}
body.menu-open .burger-icon{transform:rotate(45deg) scale(.85)}
.burger-label{display:inline-block;transition:opacity .3s var(--ease),transform .3s var(--ease)}

/* ---------- Menu panel ---------- */
.menu{position:fixed;inset:0;height:100vh;height:100dvh;z-index:20;background:rgba(6,6,6,.96);backdrop-filter:blur(14px);
  display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:10px;
  padding:96px 56px 48px;overflow-y:auto;
  opacity:0;transform:translateY(-100%);pointer-events:none;
  transition:opacity .7s var(--ease),transform .9s var(--ease);transition-delay:.35s}
body.menu-open .menu{opacity:1;transform:translateY(0);pointer-events:auto;transition-delay:0s}
.menu a{font-size:clamp(54px, 18px + 2.81vw, 72px);font-weight:300;letter-spacing:-.02em;text-align:right;padding:8px 0;
  opacity:0;filter:blur(14px);transform:translateY(26px);pointer-events:none;
  /* pointer-events rides the same per-link transition-delay as the other
     properties below (set via the :nth-child rules) — so a link only
     becomes clickable once it's actually finished revealing. Clicking fast
     right after opening used to be able to hit a still-blurred/offset link
     (opacity/filter/transform don't block hit-testing on their own), which
     interrupted its entrance transition mid-flight and looked broken. */
  transition:opacity .5s var(--ease),filter .5s var(--ease),transform .5s var(--ease),pointer-events 0s var(--ease)}
/* Closing: reverse order — the last link to arrive is the first to leave */
.menu a:nth-child(1){transition-delay:.15s}
.menu a:nth-child(2){transition-delay:.1s}
.menu a:nth-child(3){transition-delay:.05s}
.menu a:nth-child(4){transition-delay:0s}
body.menu-open .menu a{opacity:1;filter:blur(0);transform:translateY(0);pointer-events:auto}
body.menu-open .menu a:nth-child(1){transition-delay:.45s}
body.menu-open .menu a:nth-child(2){transition-delay:.52s}
body.menu-open .menu a:nth-child(3){transition-delay:.59s}
body.menu-open .menu a:nth-child(4){transition-delay:.66s}
body.menu-open .menu a:hover{opacity:.6}
.menu-letter{display:inline-block;transition:transform .35s var(--ease)}
.menu a:hover .menu-letter{transform:translateX(-8px)}

/* ---------- Hero: siempre ocupa el viewport completo ---------- */
.hero{
  position:relative;overflow:visible;
  min-height:100vh;min-height:100dvh;
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  padding:clamp(56px, 8px + 3.75vw, 80px) 0;
}
.hero-nodes{position:absolute;top:calc(32% - 250px);right:calc(50% - 50vw);width:1400px;height:1400px;max-width:80vw;max-height:92vh;
  transform:translateY(-50%) translateX(var(--loader-x, 0px));
  -webkit-mask-image:radial-gradient(circle,#000 55%,transparent 78%),linear-gradient(to right,transparent 0%,#000 55%);
  mask-image:radial-gradient(circle,#000 55%,transparent 78%),linear-gradient(to right,transparent 0%,#000 55%);
  mask-composite:intersect;-webkit-mask-composite:source-in;
  z-index:0;pointer-events:none;will-change:transform}

/* ---------- Page loader: hero-nodes canvas appears centered as a loading
   indicator, then slides right into its normal hero position once ready ---------- */
.page-loader{position:fixed;inset:0;z-index:999;background:var(--bg);opacity:0;pointer-events:none;
  display:flex;align-items:center;justify-content:center;
  transition:opacity .8s var(--ease)}
.page-loader-ui{position:absolute;z-index:1001;left:clamp(24px, 4vw, 64px);right:clamp(24px, 4vw, 64px);bottom:clamp(24px, 4vw, 56px);
  display:grid;grid-template-columns:1fr auto;align-items:end;row-gap:18px}
.page-loader-label{font-family:var(--mono);font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--fg-dim);
  transition:opacity .5s var(--ease),transform .6s var(--ease),filter .5s var(--ease)}
/* Odometer: each digit is a 0-9 strip translated inside a 1em mask. */
.page-loader-num{display:flex;font-family:var(--sans);font-weight:300;font-size:clamp(44px, 5vw, 88px);line-height:1;
  letter-spacing:-.04em;color:var(--fg);font-variant-numeric:tabular-nums}
.pl-digit{display:block;height:1em;overflow:hidden}
.pl-strip{display:flex;flex-direction:column;transform:translateY(calc(var(--d,0) * -1em));
  transition:transform .45s cubic-bezier(.22,1,.36,1)}
.pl-strip span{display:block;height:1em;text-align:center}
/* Narrow glyphs (the "1" of 100) hug the next digit instead of leaving
   the slack of a full-width cell between them. */
.pl-digit:first-child .pl-strip span{text-align:right}
.page-loader-num .pl-pct{font-size:.32em;margin:.12em 0 0 .08em;color:var(--fg-dim);letter-spacing:0}
.page-loader-bar{grid-column:1 / -1;position:relative;height:1px;background:rgba(255,255,255,.12);overflow:hidden}
.page-loader-bar i{position:absolute;inset:0;background:var(--fg);transform-origin:left;transform:scaleX(var(--p,0));
  transition:transform .3s linear}
body.is-loading .page-loader{opacity:1;pointer-events:auto}
body.is-loading .hero-nodes{opacity:1;z-index:1000;-webkit-mask:none;mask:none;transition:none}
body:not(.is-loading) .hero-nodes{transition:opacity 1.3s var(--ease),transform .9s var(--ease) .1s}
.eyebrow{position:relative;z-index:1;font-family:var(--mono);font-size:clamp(13px, -1px + 1.09vw, 20px);letter-spacing:.18em;text-transform:uppercase;color:#e6e6e6;margin:0 0 26px}
.hero h1{position:relative;z-index:1;margin:0;line-height:1.12;letter-spacing:-.03em}
.h1-bold{display:block;font-size:clamp(60px, -20px + 6.25vw, 100px);font-weight:800}
.h1-light{display:block;font-size:clamp(60px, -20px + 6.25vw, 100px);font-weight:300;color:#eaeaea}

.hero-sub{position:relative;z-index:1;max-width:740px;margin:28px 0 0;
  font-family:var(--mono);font-size:clamp(12px, 2px + 0.78vw, 17px);line-height:1.6;color:#fff}
.hero-sub strong{font-weight:400}

/* ---------- Hero: staggered load-in reveal (page load, not scroll) ---------- */
.hero-nodes{opacity:0;transition:opacity 1.3s var(--ease)}
.hero .eyebrow{opacity:0;filter:blur(14px);transform:translateY(18px);
  transition:opacity 1s var(--ease),filter 1s var(--ease),transform 1s var(--ease);transition-delay:.15s}
.hero .h1-bold{opacity:0;filter:blur(18px);transform:translateY(28px);
  transition:opacity 1.1s var(--ease),filter 1.1s var(--ease),transform 1.1s var(--ease);transition-delay:.32s}
.hero .h1-light{opacity:0;filter:blur(18px);transform:translateY(28px);
  transition:opacity 1.1s var(--ease),filter 1.1s var(--ease),transform 1.1s var(--ease);transition-delay:.46s}
.hero .hero-sub{opacity:0;filter:blur(12px);transform:translateY(18px);
  transition:opacity 1s var(--ease),filter 1s var(--ease),transform 1s var(--ease);transition-delay:.62s}
.hero .btn{opacity:0;filter:blur(10px);transform:translateY(14px);
  /* Delay lives inline per-entry (not via a shared transition-delay) so it
     only affects the load-in properties — the button's own hover
     transitions (width/gap/color/border-color, inherited from the base
     .btn rule below) must be re-listed here too, since this shorthand
     replaces that rule's entirely rather than merging with it, and stay
     un-delayed so hover still responds instantly. */
  transition:opacity .9s var(--ease) .76s,filter .9s var(--ease) .76s,transform .9s var(--ease) .76s,
    width .5s var(--ease),gap .5s var(--ease),background .5s var(--ease),color .5s var(--ease),border-color .5s var(--ease)}
body.hero-loaded .hero-nodes{opacity:1}
body.hero-loaded .hero .eyebrow,
body.hero-loaded .hero .h1-bold,
body.hero-loaded .hero .h1-light,
body.hero-loaded .hero .hero-sub,
body.hero-loaded .hero .btn{opacity:1;filter:blur(0);transform:translateY(0)}

@media (prefers-reduced-motion: reduce){
  body:not(.motion-on) .hero-nodes,body:not(.motion-on) .hero .eyebrow,body:not(.motion-on) .hero .h1-bold,body:not(.motion-on) .hero .h1-light,body:not(.motion-on) .hero .hero-sub,body:not(.motion-on) .hero .btn{
    opacity:1;filter:none;transform:none;transition:none}
}

/* ---------- Botón ---------- */
.btn{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;margin-top:clamp(32px, 12px + 1.56vw, 42px);
  width:clamp(260px, 140px + 9.38vw, 320px);height:clamp(44px, 36px + 0.63vw, 48px);max-width:100%;
  padding:0 clamp(18px, 6px + 0.94vw, 24px);gap:12px;border:1px solid rgba(255,255,255,.55);background:transparent;
  font-family:var(--mono);font-size:clamp(12px, 4px + 0.63vw, 16px);letter-spacing:.06em;
  transition:width .5s var(--ease),gap .5s var(--ease),background .5s var(--ease),color .5s var(--ease),border-color .5s var(--ease)}
.btn-arrow{display:inline-flex;align-items:center;height:10px}
.btn-arrow .line{display:block;width:14px;height:1px;background:var(--fg);transition:width .5s var(--ease),background .5s var(--ease)}
.btn-arrow .head{display:block;width:6px;height:6px;border-top:1px solid var(--fg);border-right:1px solid var(--fg);
  transform:rotate(45deg);margin-left:-4px;transition:border-color .5s var(--ease)}
.btn:hover{width:clamp(284px, 164px + 9.38vw, 344px);gap:20px;background:var(--fg);color:var(--bg);border-color:var(--fg)}
.btn:hover .line{width:34px;background:var(--bg)}
.btn:hover .head{border-top-color:var(--bg);border-right-color:var(--bg)}

/* ---------- About ---------- */
.about{position:relative;height:320vh}
.about-pin{
  position:sticky;top:0;
  height:100vh;height:100dvh;
  display:flex;align-items:center;justify-content:flex-end;
  overflow:hidden;padding:100px 0;
}
.about-copy{max-width:900px;text-align:right;font-family:var(--mono);font-size:clamp(15px, 5px + 0.78vw, 20px);line-height:2;color:var(--fg-dim)}
.about-copy p{margin:0}
.about-copy .lead{color:#fff;font-weight:700;margin-bottom:30px}
.about-copy strong{color:#fff;font-weight:700}
.about-copy .word{opacity:.25;filter:blur(6px)}

/* ---------- Portfolio ---------- */
.portfolio{position:relative;height:280vh}
.portfolio-pin{position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden;
  display:flex;flex-direction:column;justify-content:center;
  padding:clamp(96px, -32px + 10vw, 160px) 0 clamp(48px, -16px + 5vw, 80px)}
.section-title{display:flex;align-items:center;justify-content:center;margin-bottom:clamp(28px, -4px + 2.5vw, 44px)}
.section-title h2{margin:0;font-size:clamp(38px, 14px + 1.88vw, 50px);font-weight:400;letter-spacing:-.02em}
.portfolio .section-title h2,
.team .section-title h2,
.co-investors .section-title h2{font-family:var(--mono);font-size:clamp(13px, -1px + 1.09vw, 20px);font-weight:400;letter-spacing:.18em;text-transform:uppercase;color:#e6e6e6}
.portfolio .section-title h2,
.team .section-title h2,
.co-investors .section-title h2{opacity:0;filter:blur(10px);transform:translateY(24px);
  transition:opacity 1s var(--ease),filter 1s var(--ease),transform 1s var(--ease)}
.portfolio .section-title h2.is-visible,
.team .section-title h2.is-visible,
.co-investors .section-title h2.is-visible{opacity:1;filter:blur(0);transform:translateY(0)}

.carousel{position:relative;--gw:clamp(944px, -48px + 77.5vw, 1440px);--cols:3;--gap:22px}
.carousel::before,.carousel::after{content:"";position:absolute;top:0;bottom:0;z-index:3;pointer-events:none;
  width:clamp(60px, 12vw, 220px);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.carousel::before{left:0;background:linear-gradient(to right,var(--bg) 0%,rgba(5,5,5,.55) 45%,transparent 100%);
  -webkit-mask-image:linear-gradient(to right,#000 30%,transparent);mask-image:linear-gradient(to right,#000 30%,transparent)}
.carousel::after{right:0;background:linear-gradient(to left,var(--bg) 0%,rgba(5,5,5,.55) 45%,transparent 100%);
  -webkit-mask-image:linear-gradient(to left,#000 30%,transparent);mask-image:linear-gradient(to left,#000 30%,transparent)}
.grid{overflow:hidden;perspective:1600px;width:100%;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.grid-track{display:flex;gap:var(--gap);width:max-content;will-change:transform;
  padding:14px max(0px, calc((100% - var(--gw)) / 2))}
.grid img{-webkit-user-drag:none;user-drag:none;pointer-events:none}
.grid .card{flex:0 0 calc((var(--gw) - (var(--cols) - 1) * var(--gap)) / var(--cols))}
.card{position:relative;overflow:hidden;aspect-ratio:15/11;background:var(--bg-soft);
  display:flex;align-items:center;justify-content:center;padding:20px;
  --mx:50%;--my:50%;--rx:0deg;--ry:0deg;--bracket:var(--line);
  opacity:0;filter:blur(18px);transform:translateY(32px) scale(.93);
  will-change:opacity,filter,transform;
  transition:opacity 1.1s var(--ease),filter 1.1s var(--ease),transform .7s var(--ease)}
.card::before{content:'';position:absolute;left:0;top:0;width:220px;height:220px;
  transform:translate(calc(var(--mx) - 110px),calc(var(--my) - 110px));border-radius:50%;
  background:rgba(255,255,255,.05);filter:blur(45px);opacity:0;pointer-events:none;
  transition:opacity .4s var(--ease);will-change:transform}
.card::after{content:'';position:absolute;inset:0;pointer-events:none;
  background-repeat:no-repeat;
  background-position:top left,top left,top right,top right,bottom left,bottom left,bottom right,bottom right;
  background-image:
    linear-gradient(to right,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to bottom,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to left,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to bottom,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to right,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to top,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to left,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to top,var(--bracket) 0 10px,transparent 0);
  background-size:0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0;
  transition:background-size .6s var(--ease) .15s}
.card.is-visible::after{background-size:10px 1px,1px 10px,10px 1px,1px 10px,10px 1px,1px 10px,10px 1px,1px 10px}
.card:hover{--bracket:rgba(255,255,255,.6)}
.card:hover::before{opacity:1}

.card.is-visible{opacity:1;filter:blur(0);transform:translateY(0) scale(1)}
.card.is-visible:hover{transform:translateY(0) scale(1.02) rotateX(var(--rx)) rotateY(var(--ry))}
.grid:has(.card:hover) .card.is-visible:not(:hover){transform:translateY(0) scale(.97)}

@media (prefers-reduced-motion: reduce){
  body:not(.motion-on) .card,body:not(.motion-on) .card.is-visible:hover{opacity:1;filter:none;transform:none;transition:none}
  body:not(.motion-on) .card::before{display:none}
  body:not(.motion-on) .card::after{transition:none}
}
.num{position:absolute;z-index:2;top:13px;left:14px;font-family:var(--mono);font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#bdbdbd}
.cat{position:absolute;z-index:2;bottom:13px;right:16px;font-family:var(--mono);font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#bdbdbd}

.card-logo{position:relative;z-index:1;max-width:70%;max-height:50%;width:auto;height:auto;object-fit:contain;
  transform:scale(clamp(1.15, calc(3.4 - (75vw / 640px)), 1.9))}

/* ---------- Stats: 3 numbers build up left / middle / right, one at a time ---------- */
.stats{position:relative;height:320vh}
.stats-pin{position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden;padding:0 60px}
.stats-nodes{position:absolute;top:50%;left:50%;width:min(1440px,95%);height:min(720px,80%);
  transform:translate(-50%,-50%);z-index:0;pointer-events:none;opacity:.7;
  -webkit-mask-image:radial-gradient(circle,#000 50%,transparent 75%);
  mask-image:radial-gradient(circle,#000 50%,transparent 75%)}
.stats-title{position:absolute;top:120px;left:50%;transform:translateX(-50%);z-index:1;margin:0;opacity:0;will-change:opacity,filter,transform}
.stats-title h2{font-family:var(--mono);font-size:clamp(13px, -1px + 1.09vw, 20px);font-weight:400;letter-spacing:.18em;text-transform:uppercase;color:#e6e6e6;margin:0}
.stat{position:absolute;top:50%;z-index:1;width:min(28%,340px);
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;
  opacity:0;will-change:transform,opacity,filter}
.stat-left{left:16%}
.stat-mid{left:50%}
.stat-right{left:84%}
.stat-number{display:inline-flex;align-items:flex-start;
  font-family:var(--sans);font-weight:800;font-size:clamp(54px, 18px + 2.81vw, 72px);
  letter-spacing:-.02em;line-height:1;color:var(--fg)}
.stat-digit{display:inline-block;overflow:hidden;height:1em;line-height:1}
.stat-digit-strip{display:block}
.stat-digit-cell{display:block;height:1em;line-height:1}
.stat-desc{font-family:var(--mono);font-size:clamp(12px, 0.94vw, 18px);line-height:1.6;color:var(--fg-dim);margin:0}
.stat-desc strong{color:#fff;font-weight:700}

@media (max-width:700px){
  .stat{width:80%;top:auto}
  .stat-left{left:50%;top:20%}
  .stat-mid{left:50%;top:50%}
  .stat-right{left:50%;top:80%}
}

@media (prefers-reduced-motion: reduce){
  body:not(.motion-on) .stats{height:auto}
  body:not(.motion-on) .stats-pin{position:relative;height:auto;display:flex;flex-direction:column;gap:80px;padding:120px 24px}
  body:not(.motion-on) .stat{position:relative;top:auto;left:auto;width:auto;margin:0 auto;opacity:1;transform:none}
}

/* ---------- Mid-page lead line (between Portfolio and Team): pinned while
   the two lines fade/blur in staggered, hold, then fade/blur out together —
   same pin technique as Stats. ---------- */
.mid-lead{position:relative;height:640vh}
.mid-lead-pin{position:sticky;top:0;height:100vh;height:100dvh;
  display:flex;align-items:center;justify-content:center;overflow:visible}
/* Physically oversized (script.js keeps the resting ring sizes the same by
   dividing back out) so the zoom-out on exit has real room to grow into
   before it runs out of canvas — only the actual viewport edge should ever
   clip it, not this box. */
.mid-lead-pulse{position:absolute;top:50%;left:50%;width:min(4400px,360vw);height:min(4400px,360vw);
  transform:translate(-50%,-50%);z-index:0;pointer-events:none}
.mid-lead-text{position:relative;z-index:1;margin:0 auto;max-width:1320px;text-align:center}
/* Same size as "These aren't logos. / They're phone numbers." — weights
   reversed: light line first, bold line second. Each sentence is short
   enough at this size to stay on its own single line. */
.mid-lead-light,.mid-lead-bold{display:block;font-family:var(--sans);
  font-size:clamp(38px, 2px + 2.81vw, 56px);letter-spacing:-.02em;line-height:1.15;
  opacity:0;will-change:opacity,filter,transform}
.mid-lead-light{font-weight:300;color:#eaeaea}
.mid-lead-bold{font-weight:800;color:var(--fg);margin-top:10px}
/* Revealed in place as the statement above fades out — same pin, same
   center, no navigation. Same lettering as .mid-lead-bold. */
.mid-lead-outro{position:absolute;top:50%;left:50%;z-index:1;margin:0;
  transform:translate(-50%,-50%);
  font-family:var(--sans);font-weight:800;font-size:clamp(38px, 2px + 2.81vw, 56px);
  letter-spacing:-.02em;line-height:1.15;color:var(--fg);text-align:center;white-space:nowrap;
  opacity:0;pointer-events:none;will-change:opacity,filter}
/* Team preview, revealed in the same center spot as "We can do it" fades
   out — two cards settling in from opposite sides. */
/* Explicit full-size + centering transform (not just top/left:50% on a
   zero-size box) — the cards inside are absolutely positioned with an auto
   width, so without a real containing-block size their shrink-to-fit has
   zero available width to work with and collapses to min-content (text
   wrapping to single words). This gives them the whole pin to shrink-to-fit
   against, so they size naturally like the real .team-card does. */
.mid-lead-cards{position:absolute;top:50%;left:50%;width:100%;height:100%;
  transform:translate(-50%,-50%);z-index:1;pointer-events:none}
/* Reuses the real .team-card component as-is (same markup/classes) so this
   preview is visually identical to the real thing. Position and hover-tilt
   are split across two elements on purpose: the outer slot owns the
   scroll-scrubbed slide (a --slide-x custom property, updated every frame,
   no transition — it has to track the scroll immediately) while the inner
   .team-card owns the hover scale/tilt with its own normal transition. If
   one element tried to do both, either the slide would lag behind scroll
   (transition fighting the per-frame updates) or hovering would snap the
   card's position instantly (no transition at all). */
.mid-lead-card-slot{position:absolute;top:50%;left:50%;pointer-events:none;
  transform:translate(calc(-50% + var(--slide-x, 0px)), -50%);
  will-change:opacity,filter,transform}
.mid-lead-cards .mid-lead-card-slot .team-card{position:relative;opacity:1;
  pointer-events:auto;transform:none}
.mid-lead-cards .mid-lead-card-slot .team-card:hover{transform:scale(1.015) rotateX(var(--rx)) rotateY(var(--ry))}

@media (prefers-reduced-motion: reduce){
  body:not(.motion-on) .mid-lead{height:auto}
  body:not(.motion-on) .mid-lead-pin{position:relative;height:auto;padding:120px 24px}
  body:not(.motion-on) .mid-lead-light,body:not(.motion-on) .mid-lead-bold{opacity:1;filter:none;transform:none}
  body:not(.motion-on) .mid-lead-outro{opacity:0;display:none}
  body:not(.motion-on) .mid-lead-cards{opacity:0;display:none}
  body:not(.motion-on) .mid-lead-pulse{display:none}
}

/* ---------- Team ---------- */
.team{padding-top:clamp(60px, -20px + 6.25vw, 100px);padding-bottom:clamp(120px, -40px + 12.5vw, 200px)}
.team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(24px, 4px + 2vw, 44px);align-items:stretch;perspective:1600px}
.team-card{position:relative;overflow:hidden;display:flex;align-items:center;gap:28px;text-align:left;min-width:0;
  background:var(--bg-soft);padding:clamp(28px, 4px + 1.88vw, 40px);
  --mx:50%;--my:50%;--rx:0deg;--ry:0deg;--bracket:var(--line);
  transition:opacity 1s var(--ease),transform 1s var(--ease);
  opacity:0}
.team-card::before{content:'';position:absolute;left:0;top:0;width:260px;height:260px;
  transform:translate(calc(var(--mx) - 130px),calc(var(--my) - 130px));border-radius:50%;
  background:rgba(255,255,255,.05);filter:blur(50px);opacity:0;pointer-events:none;
  transition:opacity .4s var(--ease);will-change:transform}
.team-card::after{content:'';position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(to right,var(--bracket) 0 10px,transparent 0) top left/10px 1px no-repeat,
    linear-gradient(to bottom,var(--bracket) 0 10px,transparent 0) top left/1px 10px no-repeat,
    linear-gradient(to left,var(--bracket) 0 10px,transparent 0) top right/10px 1px no-repeat,
    linear-gradient(to bottom,var(--bracket) 0 10px,transparent 0) top right/1px 10px no-repeat,
    linear-gradient(to right,var(--bracket) 0 10px,transparent 0) bottom left/10px 1px no-repeat,
    linear-gradient(to top,var(--bracket) 0 10px,transparent 0) bottom left/1px 10px no-repeat,
    linear-gradient(to left,var(--bracket) 0 10px,transparent 0) bottom right/10px 1px no-repeat,
    linear-gradient(to top,var(--bracket) 0 10px,transparent 0) bottom right/1px 10px no-repeat}
.team-card:hover{--bracket:rgba(255,255,255,.7)}
.team-card:hover::before{opacity:1}
.team-card:nth-child(1){transform:translateX(-80px)}
.team-card:nth-child(2){transform:translateX(80px)}
.team-grid.is-visible .team-card{opacity:1;transform:translateX(0)}
.team-grid.is-visible .team-card:hover{transform:translateX(0) scale(1.015) rotateX(var(--rx)) rotateY(var(--ry))}

@media (prefers-reduced-motion: reduce){
  body:not(.motion-on) .team-card,body:not(.motion-on) .team-grid.is-visible .team-card:hover{opacity:1;transform:none;transition:none}
  body:not(.motion-on) .team-card::before{display:none}
}
.team-photo{position:relative;z-index:1;width:clamp(176px, -72px + 19.38vw, 300px);height:clamp(176px, -72px + 19.38vw, 300px);object-fit:cover;filter:grayscale(1);flex-shrink:0}
.team-info{position:relative;z-index:1;display:flex;flex-direction:column;align-self:stretch}
.team-name{font-family:var(--sans);font-size:clamp(21px, 7px + 1.09vw, 28px);font-weight:600;letter-spacing:-.01em;color:var(--fg)}
.team-role{font-family:var(--mono);font-size:clamp(12px, 4px + 0.63vw, 16px);letter-spacing:.14em;text-transform:uppercase;color:#9a9a9a;margin-top:8px}
.team-bio{font-family:var(--mono);font-size:clamp(12px, 4px + 0.63vw, 16px);line-height:1.7;color:var(--fg-dim);margin:16px 0 0;max-width:480px;text-wrap:balance}
/* Hover: rolls to a second copy of the label, pushed up from below — same
   odometer-style reveal as the stat numbers, just for text — and the
   trailing arrow stretches, same treatment as the .btn arrow. */
.team-profile-link{display:inline-flex;align-items:center;gap:10px;margin-top:auto;
  font-family:var(--mono);font-size:clamp(12px, 4px + 0.63vw, 14px);letter-spacing:.06em}
.team-profile-link-clip{display:block;overflow:hidden;height:1.4em}
.team-profile-link-inner{display:block;transition:transform .4s var(--ease)}
.team-profile-link:hover .team-profile-link-inner{transform:translateY(-1.4em)}
.team-profile-link-row{display:block;height:1.4em;line-height:1.4em;
  text-transform:uppercase;color:var(--fg)}
.team-profile-link:hover .btn-arrow .line{width:34px}

/* ---------- Co-Investors ---------- */
.co-investors{padding-top:clamp(96px, -32px + 10vw, 160px);padding-bottom:clamp(96px, -32px + 10vw, 160px)}
.co-investors-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;
  width:100%;margin:0 auto;
  opacity:0;filter:blur(14px);transform:translateY(24px);
  transition:opacity .9s var(--ease),filter .9s var(--ease),transform .9s var(--ease)}
.co-investors-grid.is-visible{opacity:1;filter:blur(0);transform:translateY(0)}
/* Same corner-bracket + cursor glow + tilt treatment as .card (portfolio) —
   the whole grid still fades in together (above), this is just the
   per-card hover/tilt on top, same --mx/--my/--rx/--ry driven by the same
   cursor-tilt script. */
.card .card-logo[src*="erebor"],
.card .card-logo[src*="valinor"],
.card .card-logo[src*="logo-cove"]{scale:.85} /* composes with each tier's transform */
.co-investor-card .card-logo[src*="logo-goldcrest"]{scale:.59} /* composes with each tier's transform */
.co-investor-card{position:relative;overflow:hidden;aspect-ratio:15/11;background:var(--bg-soft);
  display:flex;align-items:center;justify-content:center;padding:20px;
  --mx:50%;--my:50%;--rx:0deg;--ry:0deg;--bracket:var(--line);
  transition:transform .4s var(--ease)}
.co-investor-card::before{content:'';position:absolute;left:0;top:0;width:220px;height:220px;
  transform:translate(calc(var(--mx) - 110px),calc(var(--my) - 110px));border-radius:50%;
  background:rgba(255,255,255,.05);filter:blur(45px);opacity:0;pointer-events:none;
  transition:opacity .4s var(--ease);will-change:transform}
.co-investor-card::after{content:'';position:absolute;inset:0;pointer-events:none;
  background-repeat:no-repeat;
  background-position:top left,top left,top right,top right,bottom left,bottom left,bottom right,bottom right;
  background-image:
    linear-gradient(to right,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to bottom,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to left,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to bottom,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to right,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to top,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to left,var(--bracket) 0 10px,transparent 0),
    linear-gradient(to top,var(--bracket) 0 10px,transparent 0);
  background-size:0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0;
  transition:background-size .6s var(--ease) .15s}
.co-investors-grid.is-visible .co-investor-card::after{background-size:10px 1px,1px 10px,10px 1px,1px 10px,10px 1px,1px 10px,10px 1px,1px 10px}
.co-investor-card:hover{--bracket:rgba(255,255,255,.6);transform:scale(1.02) rotateX(var(--rx)) rotateY(var(--ry))}
.co-investor-card:hover::before{opacity:1}
.co-investors-grid:has(.co-investor-card:hover) .co-investor-card:not(:hover){transform:scale(.97)}
/* Sits in the grid's first cell in place of a logo — no card frame (no
   background, no corner brackets, no hover tilt), just running text doing
   double duty as the section's own heading. */
.co-investors-intro{display:flex;flex-direction:column;justify-content:center;
  align-items:center;text-align:center;padding:0;margin-bottom:clamp(28px, -4px + 2.5vw, 44px);
  opacity:0;filter:blur(14px);transform:translateY(24px);
  transition:opacity .9s var(--ease),filter .9s var(--ease),transform .9s var(--ease)}
.co-investors-outro{margin:clamp(28px, -4px + 2.5vw, 44px) 0 0}
.co-investors-intro.is-visible{opacity:1;filter:blur(0);transform:translateY(0)}
.co-investors-intro-eyebrow{font-family:var(--mono);font-size:clamp(13px, -1px + 1.09vw, 20px);
  font-weight:400;letter-spacing:.18em;text-transform:uppercase;color:#e6e6e6;
  margin:0 0 clamp(12px, 4px + 0.8vw, 18px)}
.co-investors-intro-lead{font-family:var(--sans);font-weight:800;font-size:clamp(38px, 2px + 2.81vw, 56px);
  line-height:1.15;letter-spacing:-.02em;color:var(--fg);margin:0}
.co-investors-intro-lead-light{font-weight:300;color:#eaeaea}
.co-investors-intro-copy{font-family:var(--mono);font-size:clamp(12px, 0.94vw, 18px);
  line-height:1.7;color:var(--fg-dim);margin:clamp(12px, 4px + 0.8vw, 18px) auto 0;max-width:none}
.co-investors-outro .co-investors-intro-copy{margin:clamp(12px, 4px + 0.8vw, 18px) 0 0}

@media (prefers-reduced-motion: reduce){
  body:not(.motion-on) .co-investors-grid,body:not(.motion-on) .co-investors-intro{opacity:1;filter:none;transform:none;transition:none}
  body:not(.motion-on) .co-investor-card::after{transition:none}
}

/* ---------- Network: pinned while the marquee columns lengthen ---------- */
.network{position:relative;height:280vh}
.network-pin{position:sticky;top:0;height:100vh;height:100dvh;display:flex;align-items:center;padding:0;overflow-x:hidden;overflow-y:auto}
.network-row{width:100%;display:flex;justify-content:space-between;align-items:center;gap:60px;flex-wrap:wrap}
.network-after{padding:80px 0;text-align:center}
.network-copy{max-width:580px;text-align:left;display:flex;flex-direction:column;gap:36px;
  opacity:0;filter:blur(14px);will-change:opacity,filter,transform}
.network-lead-after{font-family:var(--sans);font-weight:800;font-size:clamp(38px, 2px + 2.81vw, 56px);
  letter-spacing:-.02em;line-height:1.1;color:var(--fg);margin:36px 0 0;text-align:center;
  opacity:0;filter:blur(10px);transform:scale(.9);
  transition:opacity 1s var(--ease),filter 1s var(--ease),transform 1s var(--ease)}
.network-lead-after.is-visible{opacity:1;filter:blur(0);transform:scale(1)}
.network-lead-after .lead-light{font-weight:300;color:#eaeaea}
.network-subcopy{font-family:var(--mono);font-size:clamp(12px, 0.94vw, 18px);
  line-height:1.8;color:var(--fg-dim);margin:24px 0 0;text-align:center;
  opacity:0;transform:translateY(16px);
  transition:opacity .8s var(--ease) .2s,transform .8s var(--ease) .2s}
.network-subcopy.is-visible{opacity:1;transform:translateY(0)}
.network-copy .btn{align-self:flex-start;margin-top:0}
.network-copy-after{display:none}

.network-marquee{position:relative;display:flex;gap:12px;height:0;overflow:hidden;flex-shrink:0}
.network-marquee::before,.network-marquee::after{content:'';position:absolute;left:0;right:0;height:46%;z-index:2;
  pointer-events:none;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  background:linear-gradient(var(--fade-dir),var(--bg) 0%,rgba(5,5,5,.6) 25%,transparent 100%)}
.network-marquee::before{top:0;--fade-dir:to bottom;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,transparent 100%)}
.network-marquee::after{bottom:0;--fade-dir:to top;
  -webkit-mask-image:linear-gradient(to top,#000 0%,transparent 100%);
  mask-image:linear-gradient(to top,#000 0%,transparent 100%)}
.marquee-col{width:135px;flex-shrink:0;overflow:hidden}
.marquee-track{display:flex;flex-direction:column;gap:12px;will-change:transform}

.network-logo{position:relative;width:135px;height:135px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:16px;
  background:var(--bg-soft)}
.network-logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
/* Home marquee only (path excludes view-all/) — these two render larger
   than the rest of the row at the shared frame size, so they're scaled
   down 20% individually rather than changing the shared frame. */
.network-logo img[src*="home/amex.png"],
.network-logo img[src*="home/burger-king.png"]{transform:scale(.8)}
.network-logo img[src*="home/prime.png"]{transform:scale(.85)}
.network-logo img[src*="home/formula1.png"],
.network-logo img[src*="home/mikes-hot-honey.png"],
.network-logo img[src*="home/celsius.png"],
.network-logo img[src*="home/walmart.png"]{transform:scale(.85)}
.network-logo img[src*="home/salesforce.png"]{transform:scale(.9)}
.network-logo-text span{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;
  color:var(--fg-dim);text-align:center;line-height:1.4}
/* Same corner-bracket frame as the portfolio cards — purely visual, no
   hover behavior (no brightening, no glow, no scale). */
.network-logo::after{content:'';position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(to right,var(--line) 0 10px,transparent 0) top left/10px 1px no-repeat,
    linear-gradient(to bottom,var(--line) 0 10px,transparent 0) top left/1px 10px no-repeat,
    linear-gradient(to left,var(--line) 0 10px,transparent 0) top right/10px 1px no-repeat,
    linear-gradient(to bottom,var(--line) 0 10px,transparent 0) top right/1px 10px no-repeat,
    linear-gradient(to right,var(--line) 0 10px,transparent 0) bottom left/10px 1px no-repeat,
    linear-gradient(to top,var(--line) 0 10px,transparent 0) bottom left/1px 10px no-repeat,
    linear-gradient(to left,var(--line) 0 10px,transparent 0) bottom right/10px 1px no-repeat,
    linear-gradient(to top,var(--line) 0 10px,transparent 0) bottom right/1px 10px no-repeat}

.marquee-cta{position:fixed;top:0;left:0;z-index:1000;pointer-events:none;opacity:0;
  transition:opacity .3s var(--ease);display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:64px;height:64px;border-radius:50%;text-align:center;
  font-family:var(--mono);font-size:12px;line-height:1.3;letter-spacing:.04em;color:#fff;
  white-space:nowrap;will-change:transform,opacity}
.marquee-cta.is-visible{opacity:1}

/* ---------- Network, retina: stack copy above the marquee (instead of side by side) and widen the logo frames ---------- */
@media (min-width:901px) and (max-width:1919.98px){
  .network-pin{align-items:flex-start;padding-top:64px;padding-bottom:64px;overflow-y:hidden}
  .network-row{flex-direction:column;align-items:flex-start;gap:20px}
  .network-copy{width:100%;max-width:100%;text-align:center;order:1}
  .network-copy .eyebrow{text-align:center}
  .network-copy .btn{display:none}
  .network-marquee{width:100vw;position:relative;left:50%;transform:translateX(-50%);justify-content:center;order:2}
  .marquee-col{width:clamp(90px, 7.03vw, 135px)}
  .network-logo{width:clamp(90px, 7.03vw, 135px);height:clamp(90px, 7.03vw, 135px)}
  /* Same trick as UW: eyebrow and this closing block both reveal together
     before the pin engages, and the marquee growing between them (order:2)
     is what visually pushes them apart — no separate section needed. */
  .network-copy-after{display:flex;flex-direction:column;gap:20px;width:100%;align-items:center;order:3}
  .network-lead-inline{font-family:var(--sans);font-weight:800;font-size:clamp(32px, -16px + 3.75vw, 56px);
    line-height:1.15;letter-spacing:-.02em;color:var(--fg);margin:0;text-align:center}
  .network-lead-inline .lead-light{font-weight:300;color:#eaeaea}
  .network-subcopy-inline{font-family:var(--mono);font-size:clamp(12px, 0.94vw, 18px);line-height:1.7;
    color:var(--fg-dim);margin:0 auto;text-align:center;max-width:900px}
  .network-after{display:none}
  .mid-lead-pulse{width:min(2310px,189vw);height:min(2310px,189vw)}
  .mid-lead-light,.mid-lead-bold{font-size:clamp(32px, -16px + 3.75vw, 56px)}
  .mid-lead-outro{font-size:clamp(32px, -16px + 3.75vw, 56px)}
  .co-investors-intro-lead{font-size:clamp(32px, -16px + 3.75vw, 56px)}
  /* ~+25px taller than the 15/11 base ratio at this band's typical card
     width (~330px) — aspect-ratio can't add a flat px amount directly, so
     this is a fixed ratio approximating that at the band's midpoint. */
  .card{aspect-ratio:5/4}
  /* Portfolio logos, 25% smaller than the shared base scale — co-investors
     (below) and the two per-brand overrides are untouched/adjusted in step. */
  .card .card-logo{transform:scale(calc(0.75 * clamp(1.15, calc(3.4 - (75vw / 640px)), 1.9)))}
  .card-logo[src*="peregrine"],
  .card-logo[src*="spacex"],
  .card-logo[src*="hypercard"]{transform:scale(calc(0.85 * clamp(1.15, calc(3.4 - (75vw / 640px)), 1.9)))}
  /* These four render bigger than the rest at the -25% base — pushed down
     further, to -40% off the shared scale. */
  .card-logo[src*="erebor"],
  .card-logo[src*="logo-cove"],
  .card-logo[src*="valinor"],
  .card-logo[src*="logo-deep"]{transform:scale(calc(0.6 * clamp(1.15, calc(3.4 - (75vw / 640px)), 1.9)))}
  /* 20% smaller than the shared .card-logo scale (portfolio untouched) —
     same fluid formula, just multiplied down, frame/card size unchanged. */
  .co-investor-card .card-logo{transform:scale(calc(0.72 * clamp(1.15, calc(3.4 - (75vw / 640px)), 1.9)))}
  /* Shorter frames (wider aspect) so the eyebrow, grid, title and copy all
     fit in one screen instead of needing a scroll — max-height below is
     bumped up by the same ratio the frame shrunk, so the logos render at
     their original absolute size instead of shrinking along with the box
     (max-height:50% is relative to the card's own height). */
  .co-investor-card{aspect-ratio:1.8/1}
  .co-investor-card .card-logo{max-height:66%}
  /* Extra dead scroll so the "One thesis / Multiple partners" outro has
     fully scrolled past before the giant footer wordmark comes into view —
     otherwise both were visible in the same viewport at once. */
  .co-investors{padding-bottom:calc(clamp(96px, -32px + 10vw, 160px) + 340px)}
}

/* ---------- Footer: wordmark con blur-reveal (una sola vez, al fondo del viewport) ---------- */
.footer{position:relative;z-index:3;background:var(--paper)}
.footer-mark{background:var(--bg);width:100%;overflow:hidden;padding:6vw 0 0;display:flex}
.footer-logo{
  display:block;width:100%;height:auto;aspect-ratio:1920/357;
  filter:blur(30px);opacity:0;transform:translateY(44px);
  transition:filter 2.4s cubic-bezier(.19,1,.22,1),
             opacity 2.4s cubic-bezier(.19,1,.22,1),
             transform 2.4s cubic-bezier(.19,1,.22,1);
  will-change:filter,opacity,transform;
}
.footer-logo.is-revealed{filter:blur(0);opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion: reduce){
  body:not(.motion-on) .footer-logo{filter:none;opacity:1;transform:none;transition:none}
}

.footer-bottom{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;justify-content:space-between;
  padding:10px 24px;font-family:var(--mono);font-size:clamp(8px, 2px + 0.47vw, 11px);letter-spacing:.08em;color:#1a1a1a}
.footer-bottom a{color:#1a1a1a;text-decoration:underline;text-underline-offset:3px;text-transform:uppercase}
.footer-bottom a:hover{color:#000}

/* ---------- Legal page ---------- */
.legal{max-width:900px;margin:0 auto;padding:90px 24px 140px;font-family:var(--sans);color:var(--fg-dim)}
.back-link{display:inline-flex;gap:8px;font-family:var(--mono);font-size:clamp(13px, -1px + 1.09vw, 20px);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-dim);margin-bottom:60px;
  transition:color .3s var(--ease)}
.back-link:hover{color:#fff}
.back-link-text{display:inline-block;transition:transform .3s var(--ease)}
.back-link:hover .back-link-text{transform:translateX(6px)}
.legal h1{font-family:var(--sans);font-weight:800;font-size:clamp(34px,20px + 3vw,54px);color:var(--fg);letter-spacing:-.02em;margin:0 0 36px}
.legal h2{font-family:var(--sans);font-weight:800;font-size:clamp(26px,16px + 2vw,38px);color:var(--fg);letter-spacing:-.02em;
  margin:80px 0 28px;padding-top:40px;border-top:1px solid var(--line)}
.legal h3{font-family:var(--sans);font-weight:700;font-size:19px;color:var(--fg);letter-spacing:-.01em;margin:36px 0 10px}
.legal p{margin:0 0 16px;font-family:var(--mono);font-size:14px;line-height:1.8}
.legal ul,.legal ol{margin:0 0 16px;padding-left:22px}
.legal li{margin-bottom:6px;font-family:var(--mono);font-size:14px;line-height:1.7}
.legal .legal-caps{font-size:12px;letter-spacing:.02em}
.legal .legal-copyright{margin-top:60px;padding-top:24px;border-top:1px solid var(--line);
  font-family:var(--mono);font-size:12px;letter-spacing:.05em;color:#8a8a8a}

/* ---------- Partners page ---------- */
.partners{max-width:1240px;margin:0 auto;padding:90px 24px 160px}
.partners h1{font-family:var(--sans);font-weight:800;font-size:clamp(34px,20px + 3vw,54px);color:var(--fg);
  letter-spacing:-.02em;margin:0 0 clamp(28px, -4px + 2.5vw, 44px)}
.partners-count{font-family:var(--mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#8a8a8a;margin:0 0 36px}
.partners-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1px;
  background:var(--line);border:1px solid var(--line)}
.partners-grid a{display:flex;align-items:center;justify-content:center;text-align:center;padding:26px 16px;
  min-height:100px;background:var(--bg-soft);color:var(--fg-dim);font-family:var(--mono);font-size:13px;
  letter-spacing:.03em;text-decoration:none;transition:background .3s var(--ease),color .3s var(--ease)}
.partners-grid a:hover{background:var(--bg-header);color:#fff}
.logo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:24px}
/* Retina band only: fits 6 columns at this band's stabilized
   (max-width-capped) container width, ~18% smaller than the 200px-floor
   tiles used everywhere else. Must come after the base rule above (same
   specificity — source order decides). */
@media (min-width:901px) and (max-width:1919.98px){
  .logo-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))}
}
.logo-tile{position:relative;overflow:hidden;aspect-ratio:1;display:flex;align-items:center;justify-content:center;padding:40px;
  background:var(--bg-soft);transition:background .3s var(--ease)}
.logo-tile:hover{background:var(--bg-header)}
.logo-tile img{transition:transform .45s var(--ease);transform:scale(var(--tile-logo-scale,1))}
.logo-tile:hover img{transform:translateY(-12%) scale(calc(var(--tile-logo-scale,1) * .9))}
/* View All only — Discovery renders small at the shared tile size. */
.logo-tile img[src*="view-all/discovery.png"]{--tile-logo-scale:1.2}
.logo-tile img[src*="view-all/fisker.png"]{--tile-logo-scale:.85}
.logo-tile img[src*="view-all/formula1-white.png"]{--tile-logo-scale:.9}
.logo-tile img[src*="view-all/nike-white.png"]{--tile-logo-scale:.8}
.logo-tile img[src*="view-all/wme.png"]{--tile-logo-scale:.8}
.logo-tile img[src*="view-all/dc-shoes.png"]{--tile-logo-scale:.9}
.logo-tile img[src*="view-all/burger-king-white.png"]{--tile-logo-scale:.9}
/* Retina band only — these render small at the smaller 6-col retina tile
   size, so they get a further per-logo bump on top of the global scales
   above (must come after them — same specificity, source order decides). */
@media (min-width:901px) and (max-width:1919.98px){
  .logo-tile img[src*="view-all/houlihan-white.png"]{--tile-logo-scale:1.15}
  .logo-tile img[src*="view-all/gecko.png"]{--tile-logo-scale:1.1}
  .logo-tile img[src*="view-all/erebor.png"]{--tile-logo-scale:1.15}
  .logo-tile img[src*="view-all/discovery.png"]{--tile-logo-scale:1.2}
  .logo-tile img[src*="view-all/spacex-white.png"]{--tile-logo-scale:1.1}
  .logo-tile img[src*="view-all/science.png"]{--tile-logo-scale:1.1}
  .logo-tile img[src*="view-all/umg.png"]{--tile-logo-scale:1.1}
  .logo-tile img[src*="view-all/vincecamuto.png"]{--tile-logo-scale:1.15}
}
.logo-tile-label{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:10px 14px 14px;
  font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#fff;
  text-align:center;pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.6) 0%,transparent 100%);
  opacity:0;transform:translateY(65%);
  transition:opacity .35s var(--ease),transform .45s var(--ease)}
.logo-tile:hover .logo-tile-label{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion:reduce){
  .logo-tile img,.logo-tile-label{transition:none}
  .logo-tile:hover img{transform:none}
}
.logo-tile::after{content:"";position:absolute;inset:0;pointer-events:none;
  background-repeat:no-repeat;
  background-position:top left,top left,top right,top right,bottom left,bottom left,bottom right,bottom right;
  background-image:
    linear-gradient(to right,var(--line) 0 10px,transparent 0),
    linear-gradient(to bottom,var(--line) 0 10px,transparent 0),
    linear-gradient(to left,var(--line) 0 10px,transparent 0),
    linear-gradient(to bottom,var(--line) 0 10px,transparent 0),
    linear-gradient(to right,var(--line) 0 10px,transparent 0),
    linear-gradient(to top,var(--line) 0 10px,transparent 0),
    linear-gradient(to left,var(--line) 0 10px,transparent 0),
    linear-gradient(to top,var(--line) 0 10px,transparent 0);
  background-size:0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0;
  transition:background-size .6s var(--ease) .15s}
.logo-tile.is-in::after{background-size:10px 1px,1px 10px,10px 1px,1px 10px,10px 1px,1px 10px,10px 1px,1px 10px}
.logo-tile img{max-width:100%;max-height:100%;object-fit:contain}
.logo-tile-text span{font-family:var(--mono);font-size:13px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--fg-dim);text-align:center;line-height:1.5}

/* ---------- Normal desktop (1920x1080 y similares): restore the original card label size above the retina band ---------- */
@media (min-width:1920px){
  :root{--wrap:1600px}
  .network-pin{overflow-y:hidden}
  .network-logo{width:135px;height:135px}
  .marquee-col{width:135px}
  .num,.cat{font-size:14px}
  body{font-size:14px}
  .h1-bold,.h1-light{font-size:85px}
  .eyebrow,.co-investors-intro-eyebrow,.portfolio .section-title h2,.team .section-title h2,.co-investors .section-title h2,.stats-title h2,.back-link{font-size:17px}
  .mid-lead-light,.mid-lead-bold,.mid-lead-outro{font-size:48px}
  .co-investors-intro-lead{font-size:48px}
  .co-investors{padding-top:60px;padding-bottom:60px}
  .team-photo{width:331px;height:331px}
  .team-card{max-width:694px;padding:28px;gap:20px}
  .team-name{font-size:32px}
  .team-role,.team-bio{font-size:14px}
  .hero-nodes{width:1700px;max-width:88vw;top:calc(32% - 450px)}
  /* 3 columns of 500px cards + gaps need ~1544px — the base clamp ceiling
     (1440px) was clipping/overflowing the grid off-center. */
  .carousel{--gw:1580px}
  .card{width:500px;height:500px;flex:0 0 500px}
  .card-logo{transform:scale(1.2)}

  /* Shortens the stats pin's scroll runway (entry/hold/exit are fraction-based
     in JS, so this just compresses them proportionally), and adds breathing
     room above it now that stats immediately follows the network/logos
     section in the page order. */
  .stats{height:300vh;margin-top:380px}

  /* Pulls Portfolio's pin up a bit closer to the tail of Stats' exit fade,
     tightening the dead scroll between the two. */
  .portfolio{margin-top:-220px}

  /* Network: vertical stack — "Our Network" on top, the marquee (icon
     curtain-open/grow animation, unchanged) in the middle, headline +
     subcopy at the bottom — all revealed together within the same pin. */
  .network-row{flex-direction:column;justify-content:center;align-items:center;gap:32px;text-align:center}
  .network-copy{width:100%;max-width:100%;align-items:center;order:1;margin-top:20px}
  .network-copy .eyebrow{text-align:center}
  .network-copy .btn{display:none}
  .network-marquee{order:2}
  .network-copy-after{display:flex;flex-direction:column;gap:20px;
    max-width:900px;margin:-20px auto 0;align-items:center;order:3}
  .network-lead-inline{font-family:var(--sans);font-weight:800;
    font-size:48px;line-height:1.15;letter-spacing:-.02em;
    color:var(--fg);margin:0;text-align:center}
  .network-lead-inline .lead-light{font-weight:300;color:#eaeaea}
  .stat-desc,.co-investors-intro-copy{font-size:16px}
  /* View All: fixed 6 columns, widening the page (not shrinking the tiles)
     to fit them at ~the same size the 5-column auto-fill already rendered. */
  .partners{max-width:1480px}
  .logo-grid{grid-template-columns:repeat(6,1fr)}
  .hero-sub{font-size:16px}
  .about-copy{font-size:18px}
  .network-subcopy-inline{font-family:var(--mono);font-size:14px;line-height:1.7;
    color:var(--fg-dim);margin:0;text-align:center}
  .network-after{display:none}

  /* Drop the "View All" floating hover label off the logo marquee */
  .marquee-cta{display:none}

  /* Bottom mask so the grid's lower edge blends into the background
     instead of cutting off hard against the copy below it — kept modest
     so it doesn't read as a hard line across the grid (a taller, stronger
     box here made that edge much more visible once logos got bigger). */
  .network-marquee::after{height:38%;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
    background:linear-gradient(to top,var(--bg) 0%,rgba(5,5,5,.85) 55%,transparent 100%)}
}

/* ---------- UW (true ultrawide, 2560px+): inherits the Normal block above as
   its base; add overrides here only, don't touch the 1920 block. ---------- */
/* ---------- Normal only (1920-2559): not inherited by UW ---------- */
@media (min-width:1920px) and (max-width:2559.98px){
  /* Shorter co-investor cards so eyebrow + grid + title + copy fit in one
     viewport. max-height bumped by the ratio the content box shrank
     (~327px -> 260px) so the logos keep their previous absolute size. */
  .co-investor-card{aspect-ratio:auto;height:270px}
  .co-investor-card .card-logo{max-height:60%;transform:scale(1.08)} /* 10% under the 1.2 shared 1920+ scale */
  /* Portfolio cards: 500x300 instead of 500x500; max-height bumped
     (460px -> 260px content box) so logos keep their previous size. */
  .card{height:300px}
  .card .card-logo{max-height:88%;transform:scale(1.02)} /* 15% under the 1.2 shared 1920+ scale */
  /* Team: smaller photo drives a shorter card; type sizes untouched. */
  .team-photo{width:260px;height:260px}
  .menu a{font-size:50px}
  /* Dead space after the outro = viewport minus the footer's height (6vw
     top pad + full-width 1920/357 wordmark + ~40px bottom bar), so at full
     scroll only the footer wordmark is on screen, no co-investors. */
  .co-investors{padding-bottom:max(60px, calc(100vh - 6vw - 18.6vw - 40px))}
}

@media (min-width:2560px){
  .network-logo{width:150px;height:150px}
  .marquee-col{width:150px}
}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .wrap{padding:0 24px}
  .carousel{--cols:2;--gw:100vw}
  .team-grid{grid-template-columns:1fr;gap:60px}
  .menu{padding:88px 32px 40px}
  .menu a{font-size:44px}
}
@media (max-width:600px){
  .header{padding:14px 20px}
  .hero{padding:60px 0}
  .carousel{--cols:1;--gw:calc(100vw - 48px)}
  .about-pin{justify-content:flex-start}
  .about-copy{text-align:left;line-height:1.85}
  .network-pin{padding:0 24px}
  .menu{padding:76px 24px 32px}
  .menu a{font-size:36px}
  .team-grid{gap:24px}
  .team-card{flex-direction:column;text-align:center;padding:32px 24px}
  .co-investors-grid{grid-template-columns:repeat(2,1fr)}
}

/* ---------- Page transition (home -> all logos) ---------- */
/* Same slide-down-and-fade as .menu, instead of the old horizontal
   clip-path wipe, so the "View All" transition reads as the same effect. */
.pt-overlay{position:fixed;inset:0;z-index:2000;background:var(--bg);pointer-events:none;
  opacity:0;transform:translateY(-100%);transition:opacity .7s var(--ease),transform .9s var(--ease)}
.pt-overlay.is-on{opacity:1;transform:translateY(0)}
html.pt-enter body::after{content:"";position:fixed;inset:0;z-index:2000;background:var(--bg);pointer-events:none;
  opacity:1;transform:translateY(0);transition:opacity .7s var(--ease),transform .9s var(--ease) .1s}
html.pt-enter.pt-reveal body::after{opacity:0;transform:translateY(-100%)}
.logo-tile{opacity:0;transform:translateY(28px) scale(.94);filter:blur(10px);
  transition:opacity .9s var(--ease) var(--d,0s),transform 1.1s var(--ease) var(--d,0s),filter .9s var(--ease) var(--d,0s),background .3s var(--ease)}
.logo-tile.is-in{opacity:1;transform:none;filter:none}
@media (prefers-reduced-motion:reduce){.logo-tile{opacity:1;transform:none;filter:none;transition:none}.logo-tile::after{transition:none}}
.card-placeholder{position:relative;z-index:1;font-family:var(--mono);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#6f6f6f}

/* Carousel: native grab hand instead of the custom ring while over it */
body.has-cursor .grid{cursor:grab}
body.has-cursor .grid:active,body.has-cursor .grid.is-dragging{cursor:grabbing}
body.has-cursor:has(.grid:hover) .cursor-dot,body.has-cursor:has(.grid:hover) .cursor-ring{opacity:0}

.carousel-ind{position:relative;overflow:hidden;height:2px;margin:clamp(20px, 2vw, 32px) auto 0;
  width:min(var(--gw), calc(100% - 48px));background:rgba(255,255,255,.16)}
.carousel-ind i{position:absolute;top:0;bottom:0;left:calc(var(--f,0) * 100%);
  width:calc(var(--tw,25%) * .4);transform:translateX(calc(var(--f,0) * -100%));background:#fff;
  opacity:.5;transition:width .7s var(--ease),opacity .7s var(--ease)}
.carousel:hover .carousel-ind i{width:var(--tw,25%);opacity:1}

/* ---------- Portfolio, retina + Normal + UW: static grid, no pin/carousel — client wants
   all 12 companies visible at once, fixed 4x3, no scroll. ---------- */
@media (min-width:901px){
  .portfolio{height:auto}
  .portfolio-pin{position:relative;height:auto}
  .carousel{--gw:min(1600px, 94vw)}
  .carousel::before,.carousel::after{display:none}
  .carousel-ind{display:none}
  .grid{overflow:visible}
  .grid-track{display:grid;grid-template-columns:repeat(3,1fr);width:100%;padding:0}
  .grid .card{flex:none}
  body.has-cursor .grid{cursor:default}
}
