/* ====================================================================
   RDY SITE - the public pages of rdy.vc
   Loads after rdy-noir.css (colours, the font, pills, reveals). This file
   is the site's own design: how a page is built out of layers.

   HOW A PAGE IS BUILT - a pyramid
   Every main page (/, /apply-now/, /fellowship/, /invest/) opens with the
   same full-screen HERO over the film, then a stack of LAYERS, each one
   deeper than the last. Stop scrolling anywhere and you already have the
   whole picture at that depth:
     hero    one line: what this page is, and the action to take
     layer   a title that makes a claim + one line under it (the top of
             the pyramid), then the detail under that, then a call to act
   Titles and the line under them never end in a full stop.
   RDY is always written in capitals: nothing on the site is lowercased by
   CSS any more (rdy-noir lowercases headings and pills for the apps; this
   file switches that off), so the words are shown exactly as written.
   There are no divider lines: layers are separated by air.

   Every visible word carries data-w="page.key" so it can be changed in
   the Universe admin (admin -> site words). See assets/js/site.js.

   Sections: case, shell + header, hero, layers, figures, columns, track,
   portfolio, mosaic, team, doors, quotes, qualify, faq, facts, gate,
   team page, legal, footer.
   ==================================================================== */
html{overflow-x:hidden}
[hidden]{display:none!important}
:root{
  --layer:clamp(112px,13vw,210px);     /* the air above every layer: the whole rhythm of a page */
  --head-gap:clamp(34px,4vw,64px);      /* between a layer's title block and what follows */
  --panel:rgba(255,255,255,.035);       /* the one soft surface: doors, tiles, cards */
  --panel-line:rgba(255,255,255,.085);
  --panel-hover:rgba(255,255,255,.06);
}

/* ---- case: written as it is meant to be read ---- */
h1,h2,h3,h1.big,h2.big,.pill,.hero-title,.meta,.hint,.tag,.chip{text-transform:none}

/* ---- shell: fixed bar on top, content column under it ---- */
.wrap{padding-bottom:clamp(40px,6vw,80px)}
body.hero-page .wrap{padding-top:0}
body.hero-page header.topbar:not(.scrolled){background:transparent;border-bottom-color:transparent;height:78px}
header.topbar{border-bottom-color:transparent}
header.topbar .actions{gap:10px;margin-left:auto}
.actions a.pill[aria-current="page"]{border-color:var(--accent);color:#fff}
header.topbar .login{flex-shrink:0;font-size:13.5px;font-weight:500;padding:8px 4px;opacity:.78;transition:opacity .25s var(--ease)}
header.topbar .login:hover{opacity:1;color:#fff}
header.topbar .login.in{opacity:1;color:#fff}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* phone: logo + log in on one row, the three doors under them */
@media(max-width:700px){
  :root{--bar-h:92px}
  header.topbar{flex-wrap:wrap;align-content:center;padding:0 16px;row-gap:10px}
  header.topbar.scrolled,body.hero-page header.topbar:not(.scrolled){height:var(--bar-h)}
  .brand{order:0}
  header.topbar .login{order:1;margin-left:auto}
  .actions{order:2;flex:1 0 100%;margin-left:0;gap:8px}
  .actions a.pill{padding:6px 12px;font-size:12.5px}
  .actions a.pill .circ{display:none}
  .wrap{padding-top:calc(var(--bar-h) + 22px)}
}

/* ---- the film behind the pages (drawn by assets/js/film.js) ---- */
/* The canvas's own background is a still version of the soft wash: if the script is
   missing, blocked, or there is no WebGL, this shows - never a black page. */
.hero-film{position:fixed;inset:0;z-index:-2;width:100%;height:100%;display:block;pointer-events:none;
  background:radial-gradient(60% 40% at 30% 38%,rgba(122,51,255,.28),transparent 70%),
  radial-gradient(50% 35% at 72% 30%,rgba(255,61,163,.14),transparent 70%),#000}
html:not(.js) .reveal{opacity:1;transform:none}

/* ---- editor mode (assets/js/siteedit.js, inside admin -> site editor): every text shows it can be typed in ---- */
html.w-edit [contenteditable="true"]{outline:1px dashed rgba(163,117,255,.55);outline-offset:3px;border-radius:3px;cursor:text;transition:outline-color .2s,background .2s}
html.w-edit [contenteditable="true"]:hover{outline-color:#a375ff;background:rgba(128,64,255,.10)}
html.w-edit [contenteditable="true"]:focus{outline:2px solid #a375ff;background:rgba(128,64,255,.16)}
html.w-edit .w-saving{outline-color:#ffb224!important}
html.w-edit .w-saved{outline:2px solid #50ff35!important}
html.w-edit .w-error{outline:2px solid #ff5a5a!important}
html.w-edit .w-fact{background:rgba(255,178,36,.20);outline:1px solid rgba(255,178,36,.6);border-radius:4px;padding:0 3px;cursor:pointer}
html.w-edit .w-elsewhere{outline:1px dashed rgba(255,178,36,.7);outline-offset:3px;border-radius:3px;cursor:pointer}   /* edited elsewhere (an application's first question) */
html.w-edit a,html.w-edit .pill{cursor:text}
html.w-edit [data-pf]::before{content:"the portfolio is edited in the Universe admin, under companies";display:block;margin:0 0 14px;padding:10px 14px;
  border-radius:12px;border:1px dashed rgba(163,117,255,.6);font-size:13px;color:#a375ff}

/* ---- THE INTRO (assets/js/intro.js), the landing page only, once per visit ----
   html.intro is set by the head script before anything paints (tools/build.py, INTRO_HEAD):
   the film, the top bar and the hero stay hidden until intro.js hands over to the film.
   Then html.intro-done lets the hero rise and the bar fade in. */
html.intro .hero-film{visibility:hidden}
html.intro header.topbar,html.intro .hero-in,html.intro .hero-scroll{opacity:0}
html.intro .hero-in{animation:none}
html.intro-done .hero-in{animation:rise .9s .3s var(--ease) both}
html.intro-done header.topbar,html.intro-done .hero-scroll{animation:intro-in .9s .5s backwards}
@keyframes intro-in{from{opacity:0}}
.intro{position:fixed;inset:0;z-index:300;background:#000;overflow:hidden;transition:opacity .55s ease;cursor:default}
.intro.out{opacity:0;pointer-events:none}
.intro canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.intro-title{position:absolute;left:50%;top:50%;width:min(92vw,1180px);margin:0;transform:translate(-50%,-50%);
  text-align:center;font-size:clamp(36px,5.6vw,92px);font-weight:500;letter-spacing:-.025em;line-height:1.04;color:#fff;
  text-wrap:balance;opacity:0;will-change:transform,opacity,filter;pointer-events:none}
.intro-title em{font-weight:800}
.intro-skip{position:absolute;right:clamp(22px,5vw,64px);bottom:clamp(22px,4vh,40px);opacity:0;transition:opacity .6s var(--ease)}
.intro.ready .intro-skip{opacity:.7}
.intro .intro-skip:hover{opacity:1}

/* ---- words from the admin: hold the page for a moment until they are in ---- */
html.w-wait main [data-w],html.w-wait header [data-w]{visibility:hidden}

/* ==================================================================
   THE HERO - the first screen of every main page
   <section class="hero-land">
     <div class="hero-in">
       <h1 class="hero-title" data-w="..">from ambition to <em>performance</em></h1>
       <p class="hero-sub" data-w="..">..</p>
       <div class="hero-cta"><a class="pill solid">..</a> <a class="pill">..</a></div>
     </div>
     <a class="hero-scroll" href="#..">scroll</a>
   </section>
   ================================================================== */
.hero-land{position:relative;width:100vw;margin-left:calc(-50vw + 50%);min-height:100svh;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:110px clamp(22px,5vw,64px) clamp(40px,6vh,72px)}       /* the original corner: low and to the left */
.hero-in{max-width:var(--w);margin:0 auto;width:100%;animation:rise .7s var(--ease) both}
.hero-title{font-size:clamp(34px,4.4vw,64px);font-weight:500;letter-spacing:-.02em;line-height:1.02;margin:0 0 24px;color:#fff}   /* small, in the bottom-left corner like the original site; one line */
.hero-title em{font-weight:800}
.hero-sub{font-size:clamp(16px,1.7vw,19px);line-height:1.7;margin:0;font-weight:400;color:var(--ink)}
@media(min-width:760px){.hero-title,.hero-sub{white-space:nowrap}}
.hero-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:clamp(22px,3vh,30px)}
.hero-cta .pill{padding:11px 20px;font-size:14px}
.pill.solid{background:var(--ink);border-color:var(--ink);color:#000}
.pill.solid:hover{background:#fff;border-color:#fff}
/* the scroll hint: bottom centre of the screen, under everything, at every width (Lars, 2026-11-24);
   on narrower screens, where the buttons reach the middle, the hero's text sits higher to make room */
.hero-scroll{position:absolute;left:50%;transform:translateX(-50%);bottom:14px;display:flex;flex-direction:column;align-items:center;gap:8px;
  font-size:12px;font-weight:500;letter-spacing:.08em;opacity:.75;transition:opacity .3s var(--ease)}
.hero-scroll:hover{opacity:1}
@media(max-width:1280px){.hero-land{padding-bottom:max(96px,6vh)}}
.hero-scroll::after{content:"";width:1px;height:30px;background:linear-gradient(to bottom,#fff,transparent);transform-origin:top;animation:drip 1.8s var(--ease) infinite}
@keyframes drip{0%{transform:scaleY(0);opacity:1}60%{transform:scaleY(1);opacity:1}100%{transform:scaleY(1);opacity:0}}
@media(max-width:700px){
  .hero-land{padding-top:calc(var(--bar-h) + 30px);padding-bottom:40px}
  .hero-scroll{display:none}
  .hero-cta .pill{padding:12px 18px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){.hero-scroll::after{animation:none}}

/* ==================================================================
   LAYERS - one depth of the pyramid
   <section class="layer" id="..">
     <div class="lhead reveal"><h2 class="ltitle" data-w>..</h2><p class="lsub" data-w>..</p></div>
     ...the detail...
     <p class="lnext reveal"><a class="tl" href="..">a call to act →</a></p>
   </section>
   ================================================================== */
.layer{position:relative;max-width:var(--w);margin:0 auto;padding-top:var(--layer)}
.hero-land+.layer{padding-top:clamp(84px,10vw,150px)}
.lhead{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px clamp(30px,5vw,90px);align-items:end;margin:0 0 var(--head-gap)}
.lhead.solo{grid-template-columns:minmax(0,1fr)}
/* inside a layer, every block after the first gets the same generous air above it */
.layer>:not(.lhead)+:not(.lnext):not(.track-note){margin-top:clamp(64px,7vw,112px)}
.ltitle{font-size:clamp(38px,5.1vw,82px);font-weight:500;letter-spacing:-.028em;line-height:1.02;margin:0;color:#fff;text-wrap:balance}
.ltitle em{font-weight:800}
.lsub{font-size:clamp(16.5px,1.4vw,19.5px);line-height:1.6;margin:0;max-width:44ch;font-weight:400}
.lhead.solo .lsub{max-width:60ch}
@media(max-width:860px){.lhead{grid-template-columns:1fr}}
.lead{font-size:clamp(20px,2.1vw,30px);line-height:1.38;font-weight:500;letter-spacing:-.012em;max-width:38ch;margin:0;color:var(--ink)}
.lead em{font-weight:800;color:#fff}
.lnext{margin:clamp(34px,4vw,56px) 0 0;display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center}
/* every link that asks you to go somewhere is a button, never an underlined word */
.tl{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;border-radius:999px;border:1px solid var(--line-strong);background:transparent;
  font-size:15px;font-weight:500;line-height:1;color:#fff;transition:background .3s var(--ease),border-color .3s var(--ease),color .3s var(--ease),transform .3s var(--ease)}
.tl::after{content:"\2192";transition:transform .3s var(--ease)}
.tl.ext::after{content:"\2197"}
.tl:hover{background:var(--ink);border-color:var(--ink);color:#000;transform:translateY(-2px)}
.tl:hover::after{transform:translateX(3px)}
.tl.ext:hover::after{transform:translate(2px,-2px)}
.body-text{font-size:clamp(16px,1.3vw,18px);line-height:1.75;max-width:62ch;margin:0 0 1em}

/* ---- figures: the big numbers, each on its own card ---- */
.figs{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:clamp(10px,1.1vw,16px);align-items:start}
.fig{display:flex;flex-direction:column;justify-content:flex-start;gap:clamp(18px,2.4vw,34px);
  padding:clamp(22px,2.2vw,32px);border-radius:24px;background:var(--panel);border:1px solid var(--panel-line)}
.fig .n{display:block;font-size:clamp(32px,3.3vw,56px);font-weight:500;letter-spacing:-.03em;line-height:1;color:#fff}
.fig .l{display:block;font-size:clamp(15px,1.15vw,16.5px);line-height:1.5;max-width:26ch}
.fig.date .n{font-size:clamp(24px,2.2vw,36px);line-height:1.1}
@media(max-width:900px){.figs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.fig{min-height:0;padding:18px 18px 20px;gap:16px;border-radius:20px}.fig .n{font-size:28px}.fig.date .n{font-size:20px}.fig .l{font-size:14px}}

/* ---- columns: three or four short blocks side by side ---- */
.cols{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:clamp(26px,3.2vw,52px)}
.col h3{font-size:clamp(20px,1.8vw,26px);font-weight:500;letter-spacing:-.01em;line-height:1.2;margin:0 0 12px;color:#fff}
.col h3 em{font-weight:800}
.col p{margin:0;font-size:16px;line-height:1.7;max-width:40ch}
.col .k{display:block;font-size:13px;font-weight:700;color:var(--accent-bright);margin-bottom:14px;letter-spacing:.04em}
@media(max-width:820px){.cols{grid-template-columns:1fr}}
/* a column on a soft card */
/* bordered boxes wrap their content (no stretching to the tallest in the row), and a button
   inside one keeps clear air above it */
.cols.cards{align-items:start}
.cols.cards .col{background:var(--panel);border:1px solid var(--panel-line);border-radius:22px;padding:clamp(22px,2.4vw,34px)}
.cols.cards .col .lnext,.fact .lnext{margin-top:clamp(20px,2vw,26px)}

/* ==================================================================
   THE TRACK - a process, step by step (the "how we select" line)
   <ol class="track reveal" style="--n:5"><li><span class="dot">1</span><h3>..</h3><p>..</p></li>...</ol>
   The line fills from the first dot to the last when it scrolls in.
   ================================================================== */
.track{--g:clamp(18px,2.2vw,34px);list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:var(--g);position:relative}
.track::before,.track::after{content:"";position:absolute;left:22px;top:21px;height:2px;border-radius:2px;
  right:calc((100% - (var(--n,4) - 1) * var(--g)) / var(--n,4) - 22px)}
.track::after{z-index:-1;background:rgba(255,255,255,.16)}
.track::before{background:#fff;transform-origin:left;transition:transform 1.6s var(--ease) .2s}
html.js .track::before{transform:scaleX(0)}
html.js .track.in::before{transform:scaleX(1)}
.track li{position:relative}
.track .dot{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;
  border:2px solid #fff;background:#000;font-size:15px;font-weight:700;color:#fff}
.track li.hot .dot{background:#fff;border-color:#fff;color:#000}
.track h3{margin:22px 0 10px;font-size:clamp(19px,1.8vw,25px);font-weight:500;line-height:1.18;color:#fff}
.track h3 em{font-weight:800}
.track p{margin:0;font-size:15.5px;line-height:1.65;max-width:30ch}
.track-note{margin:clamp(30px,3.4vw,48px) 0 0;font-size:clamp(16px,1.4vw,19px);font-weight:500;line-height:1.5;color:#fff}
.track-note em{font-weight:800;color:#fff}
@media(max-width:860px){
  .track{grid-template-columns:1fr;gap:0}
  .track li{padding:0 0 clamp(26px,5vw,34px) 64px;min-height:44px}
  .track li:last-child{padding-bottom:0}
  .track .dot{position:absolute;left:0;top:0}
  .track h3{margin:8px 0 6px}
  .track::before,.track::after{left:21px;right:auto;top:22px;bottom:22px;width:2px;height:auto}
  .track::before{transform-origin:top}
  html.js .track::before{transform:scaleY(0)}
  html.js .track.in::before{transform:scaleY(1)}
}
@media(prefers-reduced-motion:reduce){html.js .track::before,html.js .track.in::before{transform:none;transition:none}}

/* ==================================================================
   THE PORTFOLIO - built by tools/build.py from tools/portfolio.json
   (a copy of the Universe's companies: active and exited, never the
   wound-down ones). Every company shows; search and sector chips narrow it,
   tap a company for what it does. Without JS: a wall of links.
   ================================================================== */
/* the bar: search, the sector dropdown and the exits toggle on one line; the count at the end */
.pf-bar{position:relative;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:clamp(24px,2.6vw,36px)}
.pf-search{flex:1 1 320px;max-width:560px;display:flex;align-items:center;gap:12px;padding:0 18px;height:50px;border-radius:999px;
  background:var(--panel);border:1px solid var(--panel-line);transition:border-color .25s var(--ease),background .25s var(--ease)}
.pf-search:focus-within{border-color:var(--accent-bright);background:rgba(128,64,255,.08)}
.pf-search svg{flex:0 0 18px;width:18px;height:18px;opacity:.8}
.pf-search input{flex:1;min-width:0;background:none;border:0;outline:0;font-size:15.5px;color:#fff;padding:0}
.pf-search input::-webkit-search-cancel-button{filter:invert(1);opacity:.6}
.pf-count{margin:0 0 0 auto;font-size:14px;font-weight:500;white-space:nowrap}
.pf-count b{color:#fff}
.pf-filter{position:relative}
.pf-sel,.pf-exit{display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 18px 0 20px;border-radius:999px;background:var(--panel);
  border:1px solid var(--panel-line);font-size:15px;font-weight:500;color:#fff;white-space:nowrap;transition:border-color .2s var(--ease),background .2s var(--ease)}
.pf-sel:hover,.pf-exit:hover{border-color:rgba(255,255,255,.35)}
.pf-sel .pf-sel-k{opacity:.6;font-weight:400}
.pf-sel svg{width:12px;height:8px;transition:transform .25s var(--ease)}
.pf-sel[aria-expanded="true"]{border-color:var(--accent-bright);background:rgba(128,64,255,.1)}
.pf-sel[aria-expanded="true"] svg{transform:rotate(180deg)}
.pf-sel.on{border-color:var(--accent-bright)}
.pf-exit span{font-size:12.5px;opacity:.6;font-weight:400}
.pf-exit{border-color:rgba(163,117,255,.6)}
.pf-exit[aria-pressed="true"]{background:var(--accent);border-color:var(--accent)}
.pf-exit[aria-pressed="true"] span{opacity:.85}
/* the dropdown: every sector, two columns, the biggest first */
.pf-menu{position:absolute;top:calc(100% + 8px);left:0;width:min(480px,calc(100vw - 32px));max-height:min(420px,60vh);overflow:auto;
  display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:8px;border-radius:20px;background:rgba(12,10,18,.97);
  border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 70px rgba(0,0,0,.65);animation:rise .25s var(--ease) both}
.pf-menu[hidden]{display:none!important}
.tag{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 12px;border-radius:12px;border:0;background:transparent;
  font-size:14px;font-weight:500;color:var(--ink);text-align:left;cursor:pointer;transition:background .15s var(--ease),color .15s var(--ease)}
.tag::before,.tag::after{display:none}
.tag span{font-size:12px;opacity:.55;font-weight:400}
.tag:hover{background:rgba(255,255,255,.07);color:#fff}
.tag[aria-pressed="true"]{background:#fff;color:#000}
.tag[aria-pressed="true"] span{opacity:.7}
.tag:first-child{grid-column:1/-1}
@media(max-width:620px){.pf-count{margin-left:0;flex-basis:100%}.pf-menu{grid-template-columns:1fr}}
.pf-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-flow:row dense;gap:clamp(8px,.9vw,14px)}
.co a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;aspect-ratio:16/10;padding:9% 8%;border-radius:16px;
  background:var(--panel);border:1px solid var(--panel-line);transition:background .25s var(--ease),border-color .25s var(--ease),transform .35s var(--ease)}
.co a:hover,.co a:focus-visible{background:var(--panel-hover);border-color:rgba(255,255,255,.28);transform:translateY(-3px)}
/* the logo's frame: the logo is fitted inside it and may be zoomed and moved (logo_fit, set in
   admin -> company -> logo); whatever reaches past the frame is cropped */
.co .lg{position:relative;flex:1 1 auto;align-self:stretch;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.co img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform-origin:center;opacity:.88;transition:opacity .25s var(--ease)}
.co a:hover img{opacity:1}
.co .nm{font-size:clamp(13px,1vw,15px);font-weight:700;line-height:1.2;text-align:center;color:#fff}
.co .nm{font-size:clamp(14px,1.1vw,16px)}
/* AN EXIT IS A WIN, said quietly: the same tile as every other company, with a violet
   edge, a soft violet glow and a small EXIT label. No size change, no animation. */
.co.exit a{border-color:rgba(163,117,255,.85);background:linear-gradient(165deg,rgba(128,64,255,.16),rgba(255,255,255,.02) 60%);
  box-shadow:0 0 0 1px rgba(128,64,255,.25),0 0 26px rgba(128,64,255,.45),0 0 60px rgba(128,64,255,.18)}
.co.exit a:hover{border-color:#b58cff;box-shadow:0 0 0 1px rgba(128,64,255,.35),0 0 32px rgba(128,64,255,.6),0 0 70px rgba(128,64,255,.25)}
.co.exit .nm{font-size:clamp(14px,1.15vw,17px);font-weight:800;letter-spacing:.005em;color:#fff}
.co .xb{flex:0 0 auto;align-self:center;padding:3px 9px;border-radius:999px;background:var(--accent);color:#fff;
  font-size:9.5px;font-weight:800;letter-spacing:.16em;line-height:1.2;text-transform:uppercase}

.co[hidden]{display:none!important}
.pf-foot{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:clamp(22px,2.4vw,32px)}
.pf-empty{margin:0;font-size:16px}
@media(max-width:1180px){.pf-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:820px){.pf-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.pf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.co a{border-radius:12px}}
/* the company card */
.co-sheet{width:min(560px,calc(100vw - 32px));max-height:calc(100svh - 48px);padding:0;border:1px solid rgba(255,255,255,.14);border-radius:24px;
  background:#0b0b0e;color:var(--ink);box-shadow:0 30px 120px rgba(0,0,0,.7)}
.co-sheet::backdrop{background:rgba(0,0,0,.7);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.co-sheet[open]{animation:rise .35s var(--ease) both}
.cs-in{padding:clamp(24px,3.4vw,36px)}
.cs-top{display:flex;align-items:center;gap:18px;margin-bottom:22px}
.cs-logo{flex:0 0 120px;height:56px;display:flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:12px;background:var(--panel);border:1px solid var(--panel-line)}
.cs-logo img{max-width:100%;max-height:100%;object-fit:contain}
.cs-logo:empty{display:none}
.cs-name{margin:0;font-size:clamp(24px,2.6vw,32px);font-weight:500;letter-spacing:-.015em;line-height:1.1;color:#fff}
.cs-desc{margin:0 0 20px;font-size:16.5px;line-height:1.7}
.cs-meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;padding:0;list-style:none}
.cs-meta li{padding:6px 12px;border-radius:999px;border:1px solid var(--panel-line);font-size:13px}
.cs-meta li.x{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:11px}
.cs-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:50%;border:1px solid var(--panel-line);background:transparent;color:#fff;font-size:18px;line-height:1}
.cs-close:hover{background:#fff;color:#000}

/* ==================================================================
   CO-INVESTORS (/invest/) - the names admins picked, set big like a poster's credits, then "+N more"
   <ul class="cx-wall" data-cx><li style="--i:0">name</li> .. <li class="cx-rest"><span class="cx-n">+85</span>
     <span data-w>more</span></li></ul>   (stamped by build.py, refreshed by site.js)
   No logos, no links, no boxes. The names arrive one after the other; pointing at one dims the rest.
   ================================================================== */
.cx-wall{list-style:none;margin:0;padding:0;font-size:clamp(26px,3.8vw,58px);line-height:1.14;font-weight:500;
  letter-spacing:-.026em;text-wrap:balance}
.cx-wall li{display:inline-block;white-space:nowrap;color:#fff;transition:opacity .45s var(--ease)}
.cx-wall li:not(:last-child)::after{content:"/";margin:0 .04em 0 .3em;color:var(--accent-bright);font-weight:300;opacity:.7}
.cx-wall .cx-rest{color:rgba(255,255,255,.4);font-weight:400}
.cx-wall:has(li:hover) li:not(:hover){opacity:.28}
@keyframes cx-in{from{opacity:0;transform:translateY(.3em)}}
html.js .reveal.in .cx-wall li{animation:cx-in .8s var(--ease) backwards;animation-delay:calc(150ms + var(--i,0) * 55ms)}
@media (prefers-reduced-motion:reduce){html.js .reveal.in .cx-wall li{animation:none}}

/* ==================================================================
   GALLERY - photos from the events, scattered and drifting; no words
   <div class="drift"><figure class="g" style="--x:6;--y:2;--w:36;--d:1"><img ..></figure> ..</div>
   Desktop: a wide field (wider than the text column, --H units tall for
   every 100 wide, so it scales as one picture). Each photo is placed by hand:
   --x/--y its top-left corner and --w its width, in field units; --d how near
   it is (1 = near, lower = farther: it lags behind when you scroll and sits
   underneath). These are the page's own photos; assets/js/gallery.js swaps
   in the set chosen in the Universe (admin -> site photos), lays out any
   number of them (the field grows: --H is set on .drift), wraps each in
   .g-fly (the pop) > .g-float (the drift), pops them in as they come into
   view (--pd = each one's delay, a wave from top to bottom) and opens a
   photo large on a click (.lb). Without the script the photos simply sit there.
   Phones: two loose columns.
   ================================================================== */
.drift{--H:90;--gw:min(calc(100vw - 2 * clamp(16px,3vw,48px)),1720px);position:relative;width:var(--gw);margin-left:calc((100% - var(--gw)) / 2);aspect-ratio:100/var(--H)}
.g{position:absolute;left:calc(var(--x) * 1%);top:calc(var(--y) / var(--H) * 100%);width:calc(var(--w) * 1%);margin:0}
.g img{display:block;width:100%;height:auto;border-radius:clamp(12px,1.2vw,20px);background:var(--panel)}
.g-fly{display:block;transform-origin:50% 50%}
.g-float{position:relative;display:block;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:zoom-in;
  border-radius:clamp(12px,1.2vw,20px);overflow:hidden;animation:g-drift var(--fd,9s) ease-in-out var(--fdl,0s) infinite alternate}
.g-float img{border-radius:0;transition:transform .9s var(--ease)}
.g-float:hover img{transform:scale(1.035)}
.g-float:focus-visible{outline:2px solid var(--accent-bright);outline-offset:4px}
@keyframes g-drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--fx,4px),var(--fy,-9px),0)}}
/* the pop: a photo waits hidden until it comes into view (.in), then pops after its own --pd */
.drift.armed .g:not(.in) .g-fly{opacity:0}
.drift.armed .g.in .g-fly{animation:g-pop .62s cubic-bezier(.34,1.45,.64,1) var(--pd,0s) both}
@keyframes g-pop{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.g-float{animation:none}}
@media(max-width:760px){
  .drift{width:auto;margin-left:0;aspect-ratio:auto;columns:2;column-gap:12px}
  .g{position:relative;left:auto;top:auto;width:auto;margin:0 0 12px;break-inside:avoid;transform:none!important}
  .g-float{--fx:0px!important;--fy:-5px!important}
}
/* a photo, large: over everything, the photo whole, a click or Esc closes it */
.lb{position:fixed;inset:0;z-index:400;display:grid;place-items:center;padding:clamp(16px,4vw,56px);background:rgba(0,0,0,.9);
  opacity:0;transition:opacity .45s var(--ease);cursor:zoom-out}
.lb.on{opacity:1}
.lb-img{display:block;max-width:min(100%,1600px);max-height:calc(100vh - 2 * clamp(16px,4vw,56px));width:auto;height:auto;border-radius:20px;transform-origin:50% 50%}
.lb-x{position:absolute;top:clamp(14px,2.4vw,28px);right:clamp(14px,2.4vw,28px);width:44px;height:44px;border-radius:50%;border:1px solid var(--panel-line);
  background:rgba(0,0,0,.4);color:#fff;font-size:22px;line-height:1;cursor:pointer;transition:background .25s var(--ease),color .25s var(--ease)}
.lb-x:hover{background:#fff;color:#000}
html.lb-open{overflow:hidden}

/* ==================================================================
   TEAM - the strip, as it was: one card per person, scrolled sideways
   (snaps per card; arrows on desktop, a swipe on phones)
   ================================================================== */
.pscroll,.team-scroll{position:relative}
.team-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 0 8px;scrollbar-width:none;
  --gap:12px;--tmw:clamp(240px,26vw,320px);gap:var(--gap)}
.team-strip::-webkit-scrollbar{display:none}
.pscroll-arw{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:46px;height:46px;border-radius:50%;
  border:1px solid var(--line-strong);background:rgba(0,0,0,.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  color:var(--ink);font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;
  transition:background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease)}
.pscroll-arw:hover{background:var(--ink);color:#000;border-color:var(--ink)}
.pscroll-arw.prev{left:calc(-1 * min(var(--pad-x), 52px))}
.pscroll-arw.next{right:calc(-1 * min(var(--pad-x), 52px))}
@media(max-width:700px){.pscroll-arw{display:none}}
.team-strip .tm{flex:0 0 var(--tmw);scroll-snap-align:start;position:relative;overflow:hidden;border-radius:var(--radius);background:var(--line);display:block}
.tm img{width:100%;aspect-ratio:7/10;object-fit:cover;object-position:center 20%;display:block;filter:grayscale(24%);transition:filter .35s var(--ease),transform .6s var(--ease)}
.tm:hover img{filter:grayscale(0);transform:scale(1.03)}
.tm::after{content:"";position:absolute;inset:auto 0 0;height:58%;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.82) 0,rgba(0,0,0,.45) 38%,rgba(0,0,0,0) 100%)}
.tm-cap{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 clamp(14px,1.4vw,18px) clamp(14px,1.4vw,18px);display:flex;flex-direction:column;gap:5px}
.tm .tn{align-self:flex-start;border:1px solid rgba(255,255,255,.6);border-radius:var(--pill-radius);padding:5px 14px 6px;font-size:14.5px;font-weight:500;color:#fff;margin-bottom:3px}
.tm .tr,.tm .to{font-size:14px;color:#fff}

/* ==================================================================
   DOORS - the three ways in, at the end of a page
   ================================================================== */
.doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.4vw,20px);align-items:stretch}   /* the three doors are the same size (Vince, 2026-11-18) */
.door{position:relative;display:flex;flex-direction:column;padding:clamp(24px,2.6vw,38px);border-radius:26px;background:var(--panel);border:1px solid var(--panel-line);
  transition:border-color .3s var(--ease),background .3s var(--ease),transform .4s var(--ease)}
.door:hover{border-color:rgba(255,255,255,.22);transform:translateY(-4px)}
.door.main{background:linear-gradient(160deg,rgba(128,64,255,.26),rgba(255,45,120,.06) 70%);border-color:rgba(163,117,255,.5)}
.door .who{font-size:13px;font-weight:700;color:var(--accent-bright);letter-spacing:.04em;margin:0 0 18px}
.door h3{font-size:clamp(26px,2.6vw,40px);font-weight:500;letter-spacing:-.02em;line-height:1.08;margin:0 0 14px;color:#fff}
.door h3 em{font-weight:800}
.door p{margin:0;font-size:16px;line-height:1.65}
.door .when{margin-top:14px;font-size:14.5px;font-weight:500;color:#fff}
.door .btn-row{margin-top:auto;padding-top:clamp(24px,2.6vw,32px)}   /* buttons line up at the bottom */
@media(max-width:900px){.doors{grid-template-columns:1fr}}

/* ---- a pull quote ---- */
.quote{max-width:var(--w);margin:var(--layer) auto 0;padding:0}
.quote p{margin:0;max-width:22ch;font-size:clamp(32px,5vw,74px);font-weight:500;line-height:1.05;letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
.quote p::before{content:"\201C";display:block;color:var(--accent-bright);font-style:italic;font-weight:800;font-size:1.4em;line-height:.7;margin-bottom:.12em}
.quote p em{font-weight:800;color:#fff}

/* ==================================================================
   QUALIFY - three yes/no questions, an answer, an action (/apply-now/)
   ================================================================== */
.qualify{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(20px,3vw,48px);align-items:start}
.q-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.q{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 20px 20px 26px;border-radius:20px;background:var(--panel);border:1px solid var(--panel-line)}
.q p{margin:0;font-size:clamp(16px,1.35vw,18.5px);line-height:1.45;font-weight:500;color:#fff}
.q .yn{display:flex;gap:6px;flex-shrink:0}
.q .yn button{min-width:58px;padding:9px 14px;border-radius:999px;border:1px solid var(--line-strong);background:transparent;font-size:14px;font-weight:500;color:var(--ink);
  transition:background .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease)}
.q .yn button:hover{border-color:#fff;color:#fff}
.q .yn button[aria-pressed="true"]{background:#fff;border-color:#fff;color:#000}

.q-out{align-self:start;padding:clamp(26px,3vw,40px);border-radius:24px;border:1px solid var(--panel-line);background:var(--panel);display:flex;flex-direction:column;justify-content:center;gap:22px}
.q-out .say{margin:0;font-size:clamp(19px,1.8vw,25px);line-height:1.35;font-weight:500;color:#fff}
.q-out.yes{background:linear-gradient(160deg,rgba(128,64,255,.3),rgba(255,45,120,.08) 70%);border-color:rgba(163,117,255,.55)}
.q-out .btn-row[hidden]{display:none}
.q-out .btn-row{margin-top:6px}
html:not(.js) .qualify{display:none}
@media(max-width:900px){.qualify{grid-template-columns:1fr}.q{flex-direction:column;align-items:flex-start}}

/* ---- FAQ: questions on soft rows, tap for the answer ---- */
.faq{display:flex;flex-direction:column;gap:10px;max-width:980px}
.faq details{border-radius:20px;background:var(--panel);border:1px solid var(--panel-line);transition:border-color .25s var(--ease),background .25s var(--ease)}
.faq details[open]{background:var(--panel-hover);border-color:rgba(255,255,255,.16)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px 20px 26px;cursor:pointer;list-style:none;
  font-size:clamp(17px,1.5vw,20px);font-weight:500;line-height:1.35;color:#fff}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:0 0 32px;height:32px;border-radius:50%;border:1px solid var(--line-strong);display:flex;align-items:center;justify-content:center;
  font-size:19px;font-weight:400;transition:transform .35s var(--ease),background .25s var(--ease)}
.faq details[open] summary::after{transform:rotate(45deg);background:#fff;color:#000;border-color:#fff}
.faq .a{padding:0 26px 22px;margin:0;font-size:16.5px;line-height:1.7;max-width:70ch}

/* ---- facts: the details, as cards ---- */
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.2vw,16px);align-items:start}
.fact{padding:clamp(20px,2.2vw,30px);border-radius:22px;background:var(--panel);border:1px solid var(--panel-line)}
.fact .k{display:block;font-size:13px;font-weight:700;color:var(--accent-bright);letter-spacing:.04em;margin-bottom:12px}
.fact .v{display:block;font-size:clamp(20px,1.9vw,27px);font-weight:500;line-height:1.22;letter-spacing:-.01em;color:#fff}
.fact p{margin:12px 0 0;font-size:15.5px;line-height:1.65}
@media(max-width:1000px){.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.facts{grid-template-columns:1fr}}

/* ---- the Early Stage Deal Room as a portal: its title in its own colours, free on the page,
   and a button under it. No screenshot, no card, no scene: the deal room changes its look every
   edition, its title and its sweep (esd.css --sweep) stay.
   <a class="esd-portal" href="https://early-stage-dealroom.vc/"><span class="esd-t1">the early stage</span>
     <span class="esd-t2">deal room</span><span class="esd-sub">..</span><span class="pill solid">enter</span></a> */
.esd-portal{display:flex;flex-direction:column;align-items:center;text-align:center;padding:clamp(10px,2vw,30px) 0}
.esd-t1,.esd-t2{display:block;text-transform:uppercase;line-height:.92;letter-spacing:-.025em;transition:transform .5s var(--ease)}
.esd-t1{font-size:clamp(26px,3.2vw,52px);font-weight:700;color:#e8e8ee}
.esd-t2{font-size:clamp(46px,6vw,100px);font-style:italic;font-weight:800;padding:0 .08em .06em;
  background:linear-gradient(96deg,#5b3df5 0%,#8b4bd0 38%,#ff6a1a 78%,#ff9552 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.esd-sub{display:block;max-width:34ch;margin:clamp(14px,1.6vw,22px) 0 clamp(20px,2.2vw,28px);font-size:clamp(15.5px,1.3vw,18px);line-height:1.5;color:#fff}
.esd-portal .pill{pointer-events:none}
.esd-portal:hover .esd-t2{transform:scale(1.03)}
.esd-portal:hover .pill{background:#fff;border-color:#fff;transform:translateY(-2px) scale(1.03)}
.esd-portal:hover .pill .circ{transform:rotate(45deg)}

/* ---- a feature: a screenshot or a photo beside its text ---- */
.feature{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);gap:clamp(24px,4vw,70px);align-items:center}
.feature figure{margin:0}
.feature img{display:block;width:100%;height:auto;border-radius:20px;border:1px solid var(--panel-line)}
.feature .ftext h3{font-size:clamp(26px,2.8vw,44px);font-weight:500;letter-spacing:-.02em;line-height:1.08;margin:0 0 16px;color:#fff}
.feature .ftext h3 em{font-weight:800}
.feature .ftext p{margin:0 0 1em;font-size:clamp(16px,1.3vw,18px);line-height:1.7;max-width:50ch}
@media(max-width:900px){.feature{grid-template-columns:1fr}}

/* ---- people to talk to (/invest/) ---- */
.talk{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.4vw,20px);max-width:1000px;align-items:start}
.person-card{display:grid;grid-template-columns:110px 1fr;gap:20px;align-items:center;padding:18px;border-radius:24px;background:var(--panel);border:1px solid var(--panel-line)}
.person-card img{width:110px;height:130px;object-fit:cover;object-position:center 20%;border-radius:16px}
.person-card h3{margin:0;font-size:22px;font-weight:500;color:#fff}
.person-card p{margin:4px 0 18px;font-size:14.5px}
@media(max-width:760px){.talk{grid-template-columns:1fr}}

/* ---- the gate: the closing call of a page (holds the application card on two pages) ---- */
.gate{position:relative;max-width:var(--w);margin:0 auto;padding-top:var(--layer)}
.gate .ltitle{font-size:clamp(44px,6.4vw,104px)}
.gate-lines{margin:clamp(18px,2vw,26px) 0 clamp(26px,3vw,40px);max-width:60ch;display:flex;flex-direction:column;gap:8px}
.gate-lines p{margin:0;font-size:clamp(16px,1.4vw,19px);line-height:1.6}
.gate-lines p b{color:#fff}
.gate-lines .btn-row{margin-top:16px}

/* ==================================================================
   OTHER PAGES: a person, the legal texts, the 404
   ================================================================== */
.rdy-page{max-width:var(--w);margin:0 auto;padding:clamp(10px,2vw,26px) 0 0}
.rdy-page p,.legal p,.legal li{font-weight:400}
.btn-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.person{display:grid;grid-template-columns:minmax(240px,440px) 1fr;gap:clamp(28px,5vw,84px);align-items:center;padding-top:clamp(10px,2vw,26px)}
.person-photo{border-radius:var(--radius);overflow:hidden;background:var(--line)}
.person-photo img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 20%}
.person-meta h1{font-size:var(--t-h2);line-height:1.05;margin:0 0 18px}
.person-role{font-size:clamp(18px,2vw,24px);font-weight:500;margin:0}
.person-org{font-size:clamp(15px,1.4vw,17.5px);margin:6px 0 0;font-weight:400}
.person-meta .btn-row{margin-top:clamp(24px,3vw,36px)}
@media(max-width:760px){.person{grid-template-columns:1fr}.person-photo{max-width:380px}}

.legal-page{max-width:880px;margin:0 auto;padding:clamp(10px,2vw,26px) 0 0}
.legal-page h1{font-size:var(--t-h2);margin:0 0 clamp(24px,3vw,40px)}
.legal h2{font-size:clamp(20px,2.2vw,26px);font-weight:500;margin:2em 0 .6em;letter-spacing:0}
.legal h3{font-size:18px;font-weight:500;margin:1.6em 0 .4em}
.legal p,.legal li{font-size:16px;line-height:1.75;max-width:75ch}
.legal ul{padding-left:1.2em}
.legal hr{border:0;margin:1.6em 0}
.legal a{text-decoration:underline;text-underline-offset:3px}
.legal img{max-width:100%;height:auto;border-radius:var(--radius);margin:1em 0}
.legal details{padding:12px 0}
.legal summary{cursor:pointer;list-style:none}
.legal summary h3,.legal summary p{display:inline-block;margin:0 14px 0 0}
.legal .cookies-per-purpose{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px 18px;margin:12px 0;font-size:14px}
.legal .cookies-per-purpose h5{margin:10px 0 0;font-size:12px;font-weight:500}
.legal .cookies-per-purpose .purpose,.legal .cookies-per-purpose .function{grid-column:1/-1}
.legal .cookies-per-purpose .name-header,.legal .cookies-per-purpose .retention-header,.legal .cookies-per-purpose .function-header{display:none}
@media(max-width:560px){.legal .cookies-per-purpose{grid-template-columns:1fr}}
.nf{min-height:60svh;display:flex;flex-direction:column;justify-content:center;gap:20px}

/* ---- footer: one slim row at the end of the page ---- */
.site-footer{position:relative;border:0;text-transform:none;margin:clamp(70px,9vw,140px) var(--pad-x) 0;padding:20px 0 28px;font-size:13.5px;display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap}
.site-footer>span:first-child{font-weight:700}
.foot-links{display:flex;gap:10px 24px;flex-wrap:wrap}
.site-footer::before{display:none}
@media(max-width:560px){.site-footer{flex-direction:column;align-items:flex-start}}
