/* ---------- Practical AI: the page's own styles ----------
   Gonzalo's proposal (9 Nov 2026) as he laid it out, on the site's foundation (components/base/base.css: the tokens, the type
   scale, the rhythm between blocks), with the home's modules where he drew on them: Selected work for the programmes
   (work.css) and Who we are for the people (about.css). Every colour is a token; no shadow, no transparency on a brand
   colour. The page's one Sea Mist dose per view: the hero's pill, the turned carrier, the lit step. */

/* PP Neue Montreal from homepage/fonts/ (git-ignored; the web licence is unconfirmed). These come after base.css's, whose
   paths are relative to the homepage page itself, so they're the ones used here, as on the page for funds. */
@font-face{font-family:"PP Neue Montreal";src:url(../fonts/PPNeueMontreal-Book.otf) format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"PP Neue Montreal";src:url(../fonts/PPNeueMontreal-Medium.otf) format("opentype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"PP Neue Montreal";src:url(../fonts/PPNeueMontreal-Bold.otf) format("opentype");font-weight:700;font-style:normal;font-display:swap}

/* ---------- 1. Vision: centred on Sea Foam, the Sea Foam moving (silk-light.js) ---------- */
.pai-hero{position:relative;overflow:hidden;background:var(--foam);color:var(--fathom);display:grid;align-items:center;
  min-height:clamp(560px,86vh,940px);padding-top:var(--nav)}
.pai-hero .silk{position:absolute;inset:0;width:100%;height:100%;display:block}
.pai-hero-in{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px;
  padding-block:clamp(56px,6vw,120px)}
.pai-hero .detail{color:var(--deep)}
.pai-hero h1{max-width:16ch;font-size:clamp(40px,4.2vw,80px)}
.pai-hero .lead{max-width:40ch;color:var(--fathom)}
.pai-hero .ctas{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 32px;margin-top:16px}
.pai-quiet{font-size:var(--t-btn)}

/* ---------- 2. Where Practical AI fits: his intro, the three carriers, his selector ---------- */
.pai-levels{background:var(--fathom);color:var(--white);overflow:hidden}
.lv-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);align-items:start}   /* levels.js sets the intro and the selector level with the stack's middle */
.lv-intro{grid-column:1/span 3;display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.lv-intro .lead{color:var(--grey);font-size:clamp(16px,1.15vw,22px)}
.lv-stack{grid-column:4/span 5;margin:0;display:flex;flex-direction:column;align-items:center}
.lv-svg{display:block;width:100%;max-width:520px;height:auto;overflow:visible;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.lv-num{fill:var(--grey);font-family:var(--font);font-size:13px;font-weight:500;letter-spacing:.08em}
.lv-num.on{fill:var(--white)}
.lv-cap{display:flex;justify-content:center;margin-top:12px;font-size:clamp(13px,.9vw,16px)}   /* Reset view, while a level is kept */
.lv-reset{padding:0;border:0;background:none;font:inherit;color:var(--white);cursor:pointer}
.lv-reset:disabled{visibility:hidden}
.lv-options{grid-column:9/span 4}
.lv-opt{border-top:1px solid var(--grey)}
.lv-opt:last-child{border-bottom:1px solid var(--grey)}
.lv-sel{display:grid;grid-template-columns:44px 1fr;column-gap:8px;width:100%;padding:20px 0 18px;margin:0;border:0;background:none;font:inherit;
  text-align:left;color:var(--grey);cursor:pointer;transition:color .3s ease}
.lv-sel .n{grid-row:1/span 2;padding-top:.9em;font-size:13px;font-weight:500;letter-spacing:.08em}
.lv-name{font-size:clamp(24px,2.1vw,40px);line-height:1.15;letter-spacing:-.02em}
.lv-svc{margin-top:8px;color:var(--grey)}
.lv-opt:hover .lv-sel,.lv-opt.hint .lv-sel,.lv-sel:focus-visible{color:var(--foam)}
.lv-opt.show .lv-sel{color:var(--white)}
.lv-opt.show .lv-svc{color:var(--white)}
/* an outcome opens under its level, its height eased (no step that opens "right away", Xavi 6 Oct) */
.lv-copy{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s cubic-bezier(.22,.61,.36,1)}
.lv-opt.show .lv-copy{grid-template-rows:1fr}
.lv-measure .lv-copy{transition:none}
.lv-copy-in{overflow:hidden;min-height:0;padding-left:52px}
.lv-copy-in > :first-child{margin-top:0}
.lv-copy-in > :last-child{margin-bottom:22px}
.lv-out{font-weight:500;color:var(--foam);font-size:clamp(15px,1.04vw,20px)}
.lv-copy-in p:not(.lv-out){margin-top:8px;color:var(--grey);font-size:clamp(15px,1.04vw,20px);line-height:1.45;max-width:34ch}
.lv-copy-in .link{display:inline-block;margin-top:14px;color:var(--white);font-size:clamp(15px,1.04vw,18px)}
.lv-copy-in .link::after{content:" →"}
.lv-group{margin-top:32px;padding-left:20px;border-left:1px solid var(--grey)}
.lv-group-label{padding-bottom:12px;color:var(--foam)}
.lv-group .lv-opt:first-of-type{border-top:1px solid var(--grey)}
@media (max-width:980px){
  .lv-grid{align-items:stretch}
  .lv-intro,.lv-stack,.lv-options{grid-column:1/-1}
  .lv-stack{margin-top:var(--head)}
  .lv-svg{max-width:420px}
  .lv-options{margin-top:var(--head)}
  /* on a phone every outcome stays in view (Gonzalo's proposal): the levels are a list, the chosen one marked */
  .lv-copy{grid-template-rows:1fr}
}

/* ---------- 3. How we work: his title and paragraph, his grid, his circle on the section's Sea Foam ---------- */
.pai-how{background:var(--foam)}
.how-head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);align-items:end;margin-bottom:var(--head)}
.how-head > div{grid-column:1/span 6;display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.how-head .lead{grid-column:8/span 5;color:var(--fathom)}
.how-body{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);align-items:center}
.how-shares{grid-column:1/span 5}
.how-shares > .detail{margin-bottom:20px}
.shares{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--grey)}
.shares li{display:flex;flex-direction:column;gap:12px;padding:clamp(20px,2vw,32px) clamp(16px,1.7vw,28px) clamp(24px,2.3vw,40px);
  border-bottom:1px solid var(--grey);transition:background-color .35s ease}
.shares li:nth-child(odd){border-right:1px solid var(--grey)}
.shares li:hover{background:var(--white)}
.shares .n{color:var(--deep);transition:color .35s ease}
.shares li:hover .n{color:var(--fathom)}
.shares strong{font-weight:400;font-size:clamp(24px,2.2vw,40px);line-height:1.08;letter-spacing:-.02em;color:var(--fathom);max-width:9ch}
.shares li > span:last-child{font-size:clamp(15px,1.11vw,20px);line-height:1.45;color:var(--deep);max-width:22ch}
.cycle{grid-column:7/span 6;margin:0}
/* ?cycle=card: the circle in a white card, as it stood until 10 Nov 2026 (Gonzalo then: "me resuena un poco… ¿o directamente
   sin fondo con color?"; cycle.js sets the section's data-cycle) */
.pai-how[data-cycle="card"] .cycle{background:var(--white);border-radius:var(--r);padding:clamp(20px,2.2vw,40px)}
/* on the Sea Foam the two columns stand from the top, so their two labels read on one line */
.pai-how:not([data-cycle="card"]) .how-body{align-items:start}
.cycle > .detail{color:var(--deep)}
.cy-stage{position:relative;aspect-ratio:1/1;width:100%;max-width:620px;margin:8px auto clamp(56px,5.4vw,96px)}
.cy-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.cy-ring{fill:none;stroke:var(--grey);stroke-width:1.25}
.cy-heads path{fill:none;stroke:var(--slate);stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.cy-arc{fill:none;stroke:var(--deep);stroke-width:2.5;stroke-linecap:round}
.cy-dot{fill:var(--fathom)}
.cy-ripple{fill:none;stroke:var(--deep);visibility:hidden}
.cy-centre{position:absolute;inset:0;display:grid;place-items:center;margin:0;pointer-events:none;
  font-size:clamp(26px,2.5vw,48px);line-height:1.05;letter-spacing:-.02em;color:var(--fathom);text-align:center;padding-inline:32%}
.cy-steps{position:absolute;inset:0}
.cy-step{position:absolute;left:var(--x);top:var(--y);width:0;height:0}
.cy-node{position:absolute;left:0;top:0;margin:0;padding:0;font-family:inherit;width:clamp(34px,3vw,46px);aspect-ratio:1/1;border-radius:50%;
  border:1.25px solid var(--grey);background:var(--white);color:var(--deep);font-size:clamp(12px,.9vw,15px);font-weight:500;
  display:grid;place-items:center;cursor:pointer;transform:translate(-50%,-50%) scale(1);
  transition:transform .45s cubic-bezier(.34,1.56,.64,1),background-color .3s ease,border-color .3s ease,color .3s ease}
.cy-node:hover{border-color:var(--fathom);color:var(--fathom)}
.cy-step.on .cy-node{background:var(--mist);border-color:var(--fathom);color:var(--fathom);transform:translate(-50%,-50%) scale(1.16)}
.cy-lab{position:absolute;left:0;top:calc(clamp(34px,3vw,46px)/2 + 14px);width:clamp(118px,12vw,190px);transform:translateX(-50%);
  text-align:center;cursor:pointer}
.cy-lab b{display:block;font-weight:400;font-size:clamp(17px,1.5vw,26px);line-height:1.15;letter-spacing:-.01em;color:var(--deep);transition:color .3s ease}
.cy-lab > span{display:block;margin-top:6px;font-size:clamp(13px,.97vw,16px);line-height:1.35;color:var(--deep)}
.cy-step.on .cy-lab b{color:var(--fathom)}
@media (max-width:980px){
  .how-head > div,.how-head .lead,.how-shares,.cycle{grid-column:1/-1}
  .how-head .lead{margin-top:20px}
  .cycle{margin-top:var(--head)}
}
@media (max-width:600px){
  .shares{grid-template-columns:1fr}
  .shares li:nth-child(odd){border-right:0}
  .shares strong{max-width:none}
  /* on a phone the steps keep their words and the centre gives them the room (Gonzalo's proposal) */
  .cy-centre{display:none}
  .cy-lab{width:104px}
  .cy-lab > span{font-size:12.5px}
  .pai-how[data-cycle="card"] .cycle{padding:16px 12px}
  .cy-stage{width:84%;margin-bottom:84px}
}

/* ---------- 4. the programmes: the home's Selected work (work.css), four panels where it has five. Each panel's name stands
   where a case's figure does, in the title's size, and the open one adds a format line over its link. Each photograph's
   people stay in a narrow panel (--wkp-px) and the open panel leans on them (--wkp-fx, --wkp-fy) ---------- */
.pai-work.wk-panels .wkp-panel:nth-child(1){--wkp-px:52%;--wkp-py:40%;--wkp-fx:.52;--wkp-fy:.38}   /* the lecture hall: the speaker */
.pai-work.wk-panels .wkp-panel:nth-child(2){--wkp-px:42%;--wkp-py:35%;--wkp-fx:.42;--wkp-fy:.32}   /* one to one: the two at the table */
.pai-work.wk-panels .wkp-panel:nth-child(3){--wkp-px:55%;--wkp-py:35%;--wkp-fx:.55;--wkp-fy:.3}    /* the team: the one at the wall */
.pai-work.wk-panels .wkp-panel:nth-child(4){--wkp-px:48%;--wkp-py:35%;--wkp-fx:.5;--wkp-fy:.32}    /* the AI lead at the glass */
.pai-work .wkp-sector{text-wrap:balance}
.pai-work .wkp-name{font-size:var(--wkp-title);font-weight:500;line-height:1.15;letter-spacing:-.01em;text-wrap:balance}
.pai-work .wkp-title{font-size:var(--wkp-small);font-weight:500;line-height:1.35;letter-spacing:0;color:var(--deep)}
.pai-work .wkp-format{max-width:56ch;margin-top:12px;font-size:var(--wkp-small);line-height:1.4}
.pai-work .wkp-format .detail{display:block;margin-bottom:4px;font-size:var(--wkp-detail);color:var(--deep)}
@container wk-panels (min-width:1184px){
  .pai-work.wkp-on .wkp-list{--wkp-n:calc((100cqw - 3*var(--wkp-g))/5.6);--wkp-o:calc(100cqw - 3*var(--wkp-g) - 3*var(--wkp-n))}   /* four panels: three narrow, and the open one 2.6 of a narrow */
  .pai-work.wkp-on .wkp-sector{min-height:calc(2*1.3em)}   /* an audience on one line or two: the names start level */
  .pai-work.wkp-on .wkp-name{min-height:2.3em}             /* the narrow panels' promises start on one line, whether a name takes one line or two */
  .pai-work.wkp-on .wkp-format{margin-top:0;margin-bottom:var(--wkp-s2)}
}
@container wk-panels (max-width:519.9px){
  .pai-work.wk-panels .wkp-index button b{font-size:15px}
  .pai-work .wkp-format{margin-top:16px}
}

/* ---------- 5. AI Firsthand: his compact banner on white, set off from the programmes by a hairline ---------- */
.pai-news{padding-bottom:var(--sec)}
.pai-news-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 48px;
  padding-top:clamp(32px,3.3vw,56px);border-top:1px solid var(--grey)}
.pai-news-copy{max-width:720px}
.pai-news .sub{margin-top:10px}
.pai-news .lead{margin-top:10px;color:var(--deep)}

/* ---------- 6. the people: the home's Who we are (about.css), its Warm Sand and its warm portraits; the name and the role
   only, so each person is three rows where a founder is five ---------- */
.pai-people .people{grid-template-rows:auto auto auto}
.pai-people .person{grid-row:span 3}

/* ---------- 7. Let's talk: the home's closing, on the silk (data-silk). One row, the email (private-equity.css). Its pill
   opens the window (components/form/), as the home's does ---------- */
.closing{position:relative;overflow:hidden}
.closing .wrap{position:relative;z-index:1;padding-block:calc(var(--sec) + var(--head))}
.closing .copy{grid-column:1/span 6;display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.closing .display{max-width:14ch}
.closing .lead{color:var(--grey);max-width:40ch}
.closing .btn{margin-top:8px}
.contact-rows{align-self:stretch;margin-top:24px;max-width:520px}
.contact-rows div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding-block:16px;border-top:1px solid var(--grey)}
.contact-rows dd{font-size:17px}
.contact-rows a{text-decoration:none}
.contact-rows a:hover{text-decoration:underline;text-underline-offset:6px}
@media (max-width:900px){.closing .copy{grid-column:1/-1}}
@media (max-width:760px){.contact-rows a{display:inline-block;padding-block:12px;margin-block:-12px}}

/* the window's one field the home's hasn't: the programme, a choice. It always has a value, so its label stands above it, as
   a filled field's does; a chevron in the ink says it opens */
.cf-select .cf-label{transform:none;font-size:13px;letter-spacing:.02em}
.cf-select select.cf-input{padding-right:44px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230C273C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px}
/* the window's picture, this page's own: the notebook and the hands that draw the cycle stay in a half-screen frame */
.pai-sheet-art img{object-position:58% 50%}

/* ---------- footer: the home's, as the page for funds repeats it ---------- */
.footer{padding-block:var(--head);font-size:15px}
.footer .grid{row-gap:40px}
.footer .brand{grid-column:1/span 4;display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.footer .brand img{height:32px;width:auto}
.footer .col{grid-column:span 2;display:flex;flex-direction:column;gap:12px}
.footer .col.first{grid-column:9/span 2}
.footer .col ul{display:flex;flex-direction:column;gap:8px}
.footer a{text-decoration:none}
.footer a:hover{text-decoration:underline;text-underline-offset:6px}
.footer .legal{grid-column:1/-1;border-top:1px solid var(--edge);padding-top:20px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--deep)}
@media (max-width:900px){.footer .brand{grid-column:1/-1}.footer .col,.footer .col.first{grid-column:span 6}}
@media (max-width:760px){.footer .col{gap:4px}.footer .col ul{gap:0}.footer .col li,.footer .col li a{display:flex;align-items:center;min-height:40px}}
@media (prefers-reduced-motion:reduce){
  .lv-copy,.cy-node,.shares li{transition:none}
}
