/* home.css — sections that only exist on the home page. */
/* hero */
.hero{padding-top:clamp(120px,17vh,190px);text-align:center}
.hero h1{font-weight:500;font-size:clamp(40px,7.4vw,118px);line-height:.98;letter-spacing:-.035em;margin-inline:auto}
.hero h1 .ln{display:block;overflow:hidden;white-space:nowrap}
.hero h1 .brand{font-family:var(--mark);font-weight:800;font-size:1.15em;letter-spacing:-.02em;line-height:1.02;text-transform:uppercase}
.hero h1 .ln>span{display:inline-block}
/* the phrase shows what it says: black set in black on white, white set in white on black */
.bw{display:inline-block;line-height:1;padding:.05em .16em .1em;border-radius:.1em}
.bw.k{background:var(--white);color:var(--ink);box-shadow:inset 0 0 0 .035em var(--ink)}
.bw.w{background:var(--ink);color:#fff;box-shadow:inset 0 0 0 .035em var(--ink)}
.an{color:var(--acc)}
.hero h1 .bwl{margin-top:.08em;padding-bottom:.02em}
.hero p{max-width:46ch;margin:28px auto 0;color:var(--grey-1);font-size:clamp(16px,1.35vw,20px)}
.hero .cta{margin-top:30px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.reel{margin-top:clamp(40px,7vh,84px);position:relative;border-radius:var(--r);overflow:hidden;background:var(--ink);aspect-ratio:16/9;transform-origin:50% 0}
.reel video{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05);transition:filter .8s}

/* intro */
.intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:24px;padding-block:clamp(90px,16vh,190px) clamp(50px,8vh,100px)}
.intro p{font-size:clamp(24px,3.1vw,48px);line-height:1.14;letter-spacing:-.02em;max-width:24ch;font-weight:500}
.fill span{color:var(--grey-3);transition:color .25s linear}
.fill span.on{color:var(--ink)}

/* pillars */
.pillars{position:relative;padding-bottom:clamp(40px,8vh,100px)}
.pillar{position:relative;border-radius:var(--r);padding:clamp(24px,3.4vw,56px);min-height:calc(100vh - 24px);display:grid;grid-template-rows:auto 1fr;gap:clamp(24px,5vh,56px);transform-origin:50% 0}
.pillar+.pillar{margin-top:24px}
.pillar.k{background:var(--ink);color:#fff}
.pillar.w{background:var(--paper);color:var(--ink)}
.p-head{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:end}
.p-head h2{font-weight:500;font-size:clamp(38px,6.6vw,108px);line-height:.95;letter-spacing:-.035em}
.p-head .n{font-size:13px;letter-spacing:.08em;text-transform:uppercase;opacity:.6;margin-bottom:16px;display:block}
.p-head p{font-size:clamp(16px,1.3vw,19px);opacity:.72;max-width:40ch;justify-self:end}
.svc{list-style:none;padding:0;align-self:end;border-top:1px solid color-mix(in srgb,currentColor 22%,transparent)}
.svc li{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);position:relative;isolation:isolate}
.svc li a{display:grid;grid-template-columns:54px minmax(0,1.1fr) minmax(0,1.6fr) 24px;gap:18px;align-items:baseline;padding:17px 10px;transition:color .3s,padding .35s cubic-bezier(.2,.7,.2,1)}
.svc li::before{content:"";position:absolute;inset:0;z-index:-1;background:currentColor;transform:scaleY(0);transform-origin:bottom;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.svc li .i{font-size:13px;opacity:.55;font-variant-numeric:tabular-nums}
.svc li b{font-weight:500;font-size:clamp(19px,1.9vw,28px);letter-spacing:-.015em}
.svc li span.d{opacity:.7;font-size:15.5px}
.svc li .a{justify-self:end;transition:transform .35s}
@media (hover:hover){
  .svc li:hover a{padding-inline:22px}
  .svc li:hover::before{transform:scaleY(1)}
  .k .svc li:hover a{color:var(--ink)} .w .svc li:hover a{color:#fff}
  .svc li:hover .a{transform:translateX(4px) rotate(-45deg)}
}
/* channel marks: one row on the dark pillar, sized by eye so a square mark
   and a wide wordmark read as the same weight. Optical, not mathematical. */
.marks{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:14px clamp(22px,2.6vw,40px)}
.marks a{display:flex;align-items:center;gap:6px;opacity:.82;transition:opacity .25s;color:inherit}
.marks a b{font-weight:600;font-size:19px;line-height:1;letter-spacing:-.02em}
.marks a:hover{opacity:1}
.marks img{display:block;height:22px;width:auto}
.marks .sq img{height:30px}
.marks .box img{height:28px}
/* the partner badge sits at the end of the row, full size and full colour */
.marks .badge{margin-left:auto}
.marks .badge a{opacity:1}
.marks .badge img{height:64px}
@media (max-width:860px){.marks{gap:12px 22px}.marks img{height:18px}.marks .sq img{height:26px}.marks .box img{height:24px}.marks a b{font-size:16px}.marks .badge{margin-left:0;flex-basis:100%;margin-top:6px}.marks .badge img{height:56px}}

/* pin the service cards only when a whole card fits on screen, otherwise its last rows could never be seen */
@media (min-width:861px) and (min-height:900px){.pillar{position:sticky;top:12px}}

/* clarity */
.clarity{height:320vh;position:relative}
.clarity .stage{position:sticky;top:0;height:100vh;height:100svh;overflow:clip;display:grid;place-items:center;background:var(--white)}
.noise{position:absolute;inset:0}
.noise span{position:absolute;white-space:nowrap;color:var(--grey-2);font-size:clamp(13px,1.25vw,19px);font-variant-numeric:tabular-nums;will-change:transform,opacity,filter}
.noise span.big{font-size:clamp(20px,2.6vw,40px);color:var(--grey-1)}
.clear{position:relative;text-align:center;padding-inline:var(--gut)}
.clear .label{display:block;margin-bottom:22px}
.clear h2{font-weight:500;font-size:clamp(34px,6vw,96px);line-height:1.08;letter-spacing:-.04em}
.clear h2 .hl{display:inline-block;line-height:1;padding:.03em .12em}
.clear h2 em{font-style:normal}
.rep{margin:clamp(22px,4vh,44px) auto 0;max-width:660px;background:var(--paper);border-radius:22px;padding:clamp(18px,2.4vw,30px);text-align:left}
.rep-h{display:flex;justify-content:space-between;gap:12px;font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-1);padding-bottom:12px;border-bottom:1px solid var(--grey-3)}
.rep p{font-size:clamp(18px,1.9vw,26px);letter-spacing:-.015em;line-height:1.3;padding:12px 0;border-bottom:1px solid var(--grey-3)}
.rep p:last-child{border-bottom:0;padding-bottom:0}
.rep b{font-weight:600}
.lead-in span{background:var(--white);padding:.12em .4em;border-radius:.3em;box-shadow:0 0 0 14px var(--white)}
.lead-in{position:absolute;top:calc(50% - .6em);left:0;right:0;text-align:center;font-weight:500;font-size:clamp(26px,4vw,64px);letter-spacing:-.03em;padding-inline:var(--gut)}

/* platforms */
.plat{padding-block:clamp(60px,10vh,120px);overflow-x:clip}
.plat .label{display:block;text-align:center;margin-bottom:34px}
.row{display:flex;gap:clamp(28px,4vw,70px);white-space:nowrap;font-weight:500;font-size:clamp(34px,6vw,96px);letter-spacing:-.035em;line-height:1.08;will-change:transform}
.row span:nth-child(even){color:transparent;-webkit-text-stroke:1.2px var(--ink)}

/* work */
.work{background:var(--ink);color:#fff;border-radius:var(--r);margin-inline:12px;padding-block:clamp(60px,10vh,130px)}
.work-head{display:flex;justify-content:space-between;align-items:end;gap:24px;flex-wrap:wrap;margin-bottom:clamp(36px,6vh,70px)}
.work-head h2,.results h2,.method h2{font-weight:500;font-size:clamp(38px,5.6vw,88px);line-height:.98;letter-spacing:-.035em}
.work-head p{max-width:36ch;color:var(--grey-2)}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2.4vw,36px) clamp(18px,2.4vw,36px)}
.card{display:grid;gap:14px;align-content:start}
.card:nth-child(even){margin-top:clamp(0px,9vh,120px)}
.card .m{border-radius:22px;overflow:hidden;background:var(--ink-2);aspect-ratio:4/3;position:relative}
.card.tall .m{aspect-ratio:1/1}
.card .m img,.card .m video{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transform:scale(1.04);transition:filter .7s,transform 1.1s cubic-bezier(.2,.7,.2,1)}
.card .m.on img,.card .m.on video{filter:none}
@media (hover:hover){.card:hover .m img,.card:hover .m video{filter:none;transform:scale(1)}}
.card.port .m{aspect-ratio:4/5}
.card h3{font-weight:500;font-size:clamp(20px,1.8vw,26px);letter-spacing:-.015em}
.card p{color:var(--grey-2);font-size:15.5px;max-width:44ch}
.card .t{display:flex;gap:8px;flex-wrap:wrap}
.card .t span{font-size:12.5px;border:1px solid #3a3f43;border-radius:999px;padding:5px 11px;color:#cfd2d5}

/* results */
.results{padding-block:clamp(80px,14vh,170px)}
.results .top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:end;margin-bottom:clamp(30px,5vh,56px)}
.results .top p{color:var(--grey-1);max-width:40ch;justify-self:end}
.bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.tile{border-radius:22px;background:var(--paper);padding:26px;min-height:230px;display:grid;align-content:space-between;gap:20px}
.tile.k{background:var(--ink);color:#fff}
/* a big saturated fill behind a number reads like red ink, so the warm tile is a tint and the figure stays black */
.tile.l{background:var(--acc-soft)}
.tile.l small{opacity:.75}
.tile b{font-weight:500;font-size:clamp(44px,5.4vw,92px);letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums}
.tile span{font-size:15.5px;opacity:.75;max-width:30ch}
.tile small{font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;opacity:.6}
.s3{grid-column:span 3}.s2{grid-column:span 2}

/* method */
.method{padding-bottom:clamp(60px,10vh,120px)}
.method h2{margin-bottom:clamp(30px,5vh,56px)}
.steps{display:grid;gap:14px}
.step{position:sticky;border-radius:22px;border:1px solid var(--line);background:var(--white);padding:clamp(22px,2.6vw,40px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:20px;min-height:230px}
.step:nth-child(1){top:90px}.step:nth-child(2){top:112px}.step:nth-child(3){top:134px}
.step h3{font-weight:500;font-size:clamp(30px,3.6vw,56px);letter-spacing:-.03em;line-height:1}
.step h3 small{display:block;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-1);margin-bottom:14px;font-weight:400}
.step p{color:var(--grey-1);font-size:clamp(16px,1.35vw,20px);max-width:46ch;align-self:end}
.step:nth-child(3){background:var(--ink);color:#fff;border-color:var(--ink)}
.step:nth-child(3) p,.step:nth-child(3) h3 small{color:var(--grey-2)}

/* hero entrance runs in CSS so the headline never waits on a script */
@media (prefers-reduced-motion:no-preference){
  .hero h1 .ln>span{animation:rise 1s cubic-bezier(.16,.84,.24,1) both}
  .hero h1 .ln:nth-child(2)>span{animation-delay:.09s}.hero h1 .ln:nth-child(3)>span{animation-delay:.18s}
  .hero p,.hero .cta{animation:fadeup .8s ease-out .35s both}
}
@keyframes rise{from{transform:translateY(105%)}}
@media (max-width:860px){
  .intro,.p-head,.results .top,.step{grid-template-columns:minmax(0,1fr)}
  .p-head p,.results .top p{justify-self:start}
  .pillar{position:relative;top:auto;min-height:0}
  .svc li a{grid-template-columns:34px minmax(0,1fr) 20px}.svc li span.d{display:none}
  .grid{grid-template-columns:minmax(0,1fr)}.card:nth-child(even){margin-top:0}
  .bento{grid-template-columns:minmax(0,1fr)}.s3,.s2{grid-column:auto}
  .clarity{height:240vh}
}
@media (prefers-reduced-motion:reduce){
  .clarity{height:auto}.clarity .stage{position:relative;height:auto;padding-block:90px}.noise,.lead-in{display:none}
  /* :nth-child keeps the specificity above the per-card sticky offsets, which
     otherwise keep their top:90/112/134px and shove each card down onto
     whatever follows it (a Windows 'show animations off' report, Sep 2026) */
  .pillar,.step:nth-child(n){position:relative;top:auto}
  .reel video,.card .m img,.card .m video{filter:none}
}
/* short screens (a phone held sideways): a pinned full-screen section would clip its content, so let it flow */
@media (max-height:560px){.clarity{height:auto}.clarity .stage{position:relative;height:auto;padding-block:72px}.noise,.lead-in{display:none}}
/* leadership: the page's rounded cards, photo placeholders in halftone grey */
.team{padding-bottom:clamp(70px,12vh,150px)}
.team .top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:end;margin-bottom:clamp(26px,4vh,48px)}
.team h2{font-weight:500;font-size:clamp(38px,5.6vw,88px);line-height:.98;letter-spacing:-.035em}
.team .top p{color:var(--grey-1);max-width:40ch;justify-self:end}
button.tm{font:inherit;color:inherit;background:none;border:0;padding:0;text-align:left;cursor:pointer}
button.tm:focus-visible{outline:2px solid var(--peri);outline-offset:4px;border-radius:8px}
.tm .more{margin-top:8px;font-size:13px;color:var(--grey-1);display:inline-flex;gap:6px;align-items:center}
.tm .more i{font-style:normal;font-size:15px;line-height:1;transition:transform .3s}
.tm[aria-expanded="true"] .more i{transform:rotate(45deg)}
.tm[aria-expanded="true"] .ph{outline:2px solid var(--ink);outline-offset:3px}
/* the bio arrives word by word, the same reveal the belief line uses */
.bios{margin-top:16px}
.bio[hidden]{display:none}
.bio{background:var(--paper);border-radius:22px;padding:clamp(20px,2.6vw,34px)}
.bio p{max-width:80ch;font-size:clamp(16px,1.35vw,19px);line-height:1.55}
.bio .w{display:inline-block}
.tgrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.tm{display:grid;gap:4px;align-content:start}
.tm .ph{aspect-ratio:4/5;border-radius:22px;margin-bottom:10px;display:grid;place-items:center;font-size:clamp(26px,2.8vw,42px);font-weight:500;letter-spacing:-.03em;color:var(--grey-1);background-color:var(--paper);background-image:radial-gradient(circle,rgba(0,0,0,.13) 1.2px,transparent 1.4px);background-size:9px 9px}
.ph{position:relative;overflow:hidden}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 18%;filter:grayscale(1) contrast(1.03);transition:filter .5s}
@media (hover:hover){.tm:hover .ph img{filter:none}}
.tm b{font-weight:500;font-size:17px;letter-spacing:-.01em}
.tm span{font-size:13.5px;color:var(--grey-1)}
.tm p{font-size:14px;color:var(--grey-1);margin-top:6px}
@media (max-width:860px){.bio{border-radius:18px}}
@media (max-width:1100px){.tgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 14px}}
@media (max-width:860px){.team .top{grid-template-columns:minmax(0,1fr)}.team .top p{justify-self:start}
  /* phones: one swipeable row, so six people never take more than one screen */
  .tgrid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gut);gap:12px;margin-inline:calc(var(--gut)*-1);padding-inline:var(--gut);scrollbar-width:none}.tgrid::-webkit-scrollbar{display:none}
  .tm{flex:0 0 58vw;scroll-snap-align:start}.tm .ph{aspect-ratio:1/1}}
