/* tevola by athreix · about.css
   Two sections share this file. #statement (right after the hero): the two-line headline and the people chart.
   #about (after the statement): the eleven stage cards. Default styles are the plain page (no JS, reduced motion):
   everything shown and finished. html.fx adds the motion (about.js): #statement slides over the hero and draws its
   chart; #about is a sticky stage whose cards cascade and part into the build. */

/* ---------- plain page ---------- */
.about{position:relative;z-index:20;background:var(--paper)}
.statement{position:relative;z-index:20;background:var(--paper)}
.about__fx{display:none}

/* the stages: a grid without motion */
.falls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 16px;padding:clamp(96px,14vh,160px) var(--pad) 0}
.falls__lane,.falls__col{display:contents}
.falls__mid{grid-column:1/-1;order:-1;margin-bottom:clamp(8px,2vh,24px)}
.falls__cap{font:600 clamp(34px,8.4vw,56px)/.98 var(--serif);letter-spacing:-.015em;color:var(--ink)}
.fcard{position:relative;margin:0;min-width:0}
.fcard__im{display:block;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:var(--paper-3);box-shadow:0 0 0 1px rgba(48,51,43,.08),0 26px 44px -34px rgba(48,51,43,.55)}
.fcard__im img{width:100%;height:100%;object-fit:cover}
.fcard figcaption{display:block;padding:12px 2px 0}
.fcard__t{display:flex;align-items:baseline;gap:8px;font:500 12px/1.3 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.fcard__t b{flex:none;font-weight:600;color:var(--olive);font-variant-numeric:tabular-nums;letter-spacing:.06em}






@media (min-width:768px){
  .falls{grid-template-columns:repeat(4,minmax(0,1fr));gap:48px 24px}
}
@media (min-width:1024px){
  .falls{grid-template-columns:repeat(6,minmax(0,1fr))}
}

/* ---------- motion: a sticky stage that slides over the hero ---------- */
/* the cards only need a short hold to part; the build comes straight after */
.fx .about{background:transparent;height:calc(100vh + 40vh)}
/* the cards now follow the statement (paper), not the hero: their stage comes in solid, with no soft top edge */
.fx #about .about__wash{-webkit-mask-image:none;mask-image:none}
/* over the hero film the statement is a clean paper sheet with rounded top corners, not a soft wash */
.fx #statement .about__wash{-webkit-mask-image:none;mask-image:none;border-radius:clamp(20px,2.4vw,36px) clamp(20px,2.4vw,36px) 0 0;box-shadow:0 -24px 60px -20px rgba(0,0,0,.45)}
.fx .about__fx{display:block;position:absolute;inset:0;pointer-events:none}
/* the soft paper edge the stage slides in with (it starts at the section's top, so nothing covers the hero at rest) */
.about__wash{position:absolute;left:0;right:0;top:0;bottom:0;background:var(--paper);-webkit-mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.5) 14vh,#000 34vh);mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.5) 14vh,#000 34vh)}
.fx .about__stage{position:sticky;top:0;z-index:40;height:100vh;height:100svh;overflow:hidden}

/* the stage waterfall the section opens with: the stages drift past the centre caption, then part */
.fx .falls{display:block;position:absolute;inset:0;z-index:3;padding:0;--fg:16px;--fv:28px;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 16vh,#000 calc(100% - 8vh),transparent);mask-image:linear-gradient(to bottom,transparent 0,#000 16vh,#000 calc(100% - 8vh),transparent)}
.fx .falls__lane{position:absolute;top:0;display:flex;flex-direction:column;gap:var(--fv);will-change:transform}
.fx .falls__col{display:flex;flex:none;flex-direction:column;gap:var(--fv);min-width:0;will-change:transform}
.fx .falls__lane--a{left:var(--pad);width:calc(50% - var(--pad) - var(--fg)/2)}
.fx .falls__lane--b{right:var(--pad);width:calc(50% - var(--pad) - var(--fg)/2)}
.fx .falls__mid{position:absolute;z-index:2;left:0;right:0;top:0;margin:0;padding:calc(var(--hh) + 6px) var(--pad) 72px;text-align:center;background:linear-gradient(180deg,var(--paper) 62%,rgba(238,233,218,0))}
.fx .falls__cap{font-size:clamp(30px,8.4vw,48px)}
@media (min-width:768px){
  .fx .falls{--fg:24px;--fv:36px}
  .fx .falls__lane--a{left:7%;width:calc(43% - var(--fg)/2)}
  .fx .falls__lane--b{right:7%;width:calc(43% - var(--fg)/2)}
}
@media (min-width:1024px),(orientation:landscape) and (max-height:500px) and (max-width:1023px){
  .fx .falls{--fg:28px;--fv:44px}
  .fx .falls__lane{flex-direction:row;gap:var(--fg);width:calc(33% - var(--pad))}
  .fx .falls__lane .falls__col{flex:1 1 0}
  .fx .falls__lane--a{left:var(--pad)}
  .fx .falls__lane--b{right:var(--pad)}
  .fx .falls__mid{left:33%;right:33%;top:0;bottom:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 clamp(12px,2vw,40px);background:none}
  .fx .falls__cap{font-size:clamp(30px,3.3vw,68px)}
}
@media (min-width:1900px){.fcard__t{font-size:13px}}

/* phones: a shorter run */
@media (max-width:767px){
  .fx .about{height:calc(100vh + 30vh)}
  .fx .fcard__t{letter-spacing:.06em}
  .fx .fcard__t b{letter-spacing:.02em}
}
/* phones held sideways get the desktop stage, condensed */
@media (orientation:landscape) and (max-height:500px) and (max-width:1023px){
  .fx .fcard figcaption{padding-top:6px}
}


/* ---------- #statement: the headline ----------
   A bold centred two-line headline in the logo face (Poppins, heavy); the people chart under it is styled below. */
/* the mission line: one sentence in the logo's face (600) with the logo's tight tracking; "AI-native."
   inverted. A tiny "Scroll" cue with a down arrow sits at each end of the row and bobs gently */
/* the row fills exactly the strip that peeks up under the film, so the line sits centred in it at any size */
.st__m{position:absolute;z-index:3;left:var(--pad);right:var(--pad);top:0;height:var(--peek);height:var(--peek-s);display:flex;align-items:center;justify-content:space-between;gap:16px}
.st__mission{flex:1;min-width:0;margin:0;text-align:center;text-wrap:balance;font:600 clamp(25px,calc(2.9vw + 2px),50px)/1.25 var(--sans);letter-spacing:-.045em;color:#1f201b}
/* "AI-native." on a hand-drawn ink marker stroke: slightly slanted, uneven ends, white type on top */
.st__ai{position:relative;z-index:0;display:inline-block;margin-left:.06em;padding:0 .2em .04em;color:#fff;white-space:nowrap}
.st__ai::before{content:"";position:absolute;z-index:-1;left:-.04em;right:-.06em;top:.04em;bottom:-.02em;background:#1f201b;border-radius:.1em .22em .14em .26em;
  clip-path:polygon(1.5% 12%,22% 4%,60% 7%,99% 0,100% 44%,98.5% 92%,70% 97%,30% 94%,0 100%,.6% 55%);transform:rotate(-1.6deg) skewX(-4deg)}
.st__cue{flex:none;display:inline-flex;align-items:center;gap:7px;font:600 11px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:rgba(31,32,27,.78);animation:stCue 2.4s ease-in-out infinite}
.st__cue .arw{width:12px;height:12px;stroke-width:1.6}
.st__cue b{font-weight:600}
@keyframes stCue{0%,100%{transform:translateY(0)}50%{transform:translateY(3px)}}
@media (max-width:767px){.st__cue b{display:none}.st__m{gap:8px}}
@media (max-width:400px){.st__mission{font-size:clamp(18px,5.9vw,25px)}}
@media (prefers-reduced-motion:reduce){.st__cue{animation:none}}
.jr{position:relative;z-index:2;container-type:inline-size;max-width:var(--max,1760px);margin:0 auto;padding:calc(clamp(96px,16vh,170px) + clamp(12px,2vh,28px)) var(--pad) clamp(80px,12vh,140px)}
/* exactly two lines: each line never wraps, and the size is capped so the longer line ("construction management
   solution", about 17em wide in Poppins 600) always fits the column */
.jr__t{margin:0 auto;text-align:center;font:600 min(2.9rem,5.7cqw)/1.08 var(--sans);letter-spacing:-.035em;color:var(--ink)}
.jr__l{display:block;white-space:nowrap}
/* ---------- who uses tevola: the org-chart tree ----------
   Six cards (photo, number, who, what they are to the project). Desktop: one row of
   six, every other card set lower; a straight trunk from under the headline meets a bus over the row and a straight
   drop falls onto each card. Phones and tablets: two columns, a straight spine down the gutter with a right-angled
   branch onto each card. about.js draws the lines (measured from the layout); without motion the cards simply sit. */
.fl{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 16px;margin-top:clamp(64px,9vh,104px);padding-bottom:clamp(40px,6vh,72px)}
.fl__svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.fl__track{fill:none;stroke:rgba(48,51,43,.1);stroke-width:1.5}
.fl__path{fill:none;stroke:var(--olive);stroke-width:1.75;stroke-linecap:square;stroke-linejoin:miter}
.fl__c{position:relative;min-width:0}
.fl__c:nth-child(odd){margin-top:56px}   /* (the svg is the first child, so these are cards 2, 4, 6) */
/* an invisible anchor at the middle of each card's top edge: the lines end here */
.fl__node{position:absolute;left:50%;top:0;width:0;height:0}
.fl__im{margin:0;aspect-ratio:3/4;border-radius:16px;overflow:hidden;background:var(--paper-3);box-shadow:0 1px 2px rgba(48,51,43,.08),0 28px 48px -30px rgba(48,51,43,.55)}
.fl__im img{width:100%;height:100%;object-fit:cover;display:block;opacity:.95}
.fl__n{margin-top:14px;font:600 12.5px/1 var(--sans);letter-spacing:.08em;color:var(--olive);font-variant-numeric:tabular-nums}
.fl__t{margin:6px 0 0;font:600 17px/1.2 var(--sans);letter-spacing:-.01em;color:var(--ink)}
.fl__d{margin-top:4px;font-size:14px;line-height:1.4;color:var(--muted)}
@media (min-width:768px){
  .jr__t{font-size:min(3.8rem,5.7cqw)}
  .fl{gap:44px 24px}
  .fl__c:nth-child(odd){margin-top:72px}
  .fl__t{font-size:20px}
  .fl__d{font-size:15px}
}
@media (min-width:1024px){
  /* smaller cards: the row is capped narrower than the page and the photos are a little shorter */
  .fl{grid-template-columns:repeat(6,minmax(0,1fr));gap:0 clamp(16px,1.6vw,30px);width:min(100%,1240px);margin:clamp(72px,11vh,130px) auto 0}
  .fl__im{aspect-ratio:4/5}
  .fl__c:nth-child(odd){margin-top:clamp(40px,5.5vh,64px)}
  /* pinned (about.js, when it fits): one screen under the header, the headline and chart centred in it */
  .jr.is-pinned{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding-top:calc(var(--hh) + 16px);padding-bottom:28px}
  .jr.is-pinned .fl{padding-bottom:0}
  .fl__t{font-size:clamp(16px,1.25vw,20px)}
  .fl__d{font-size:clamp(13px,.95vw,15px)}
}
/* the section slides over the hero: paper from just below its top edge (the wash), the content in normal flow */
.fx .statement{background:transparent}
.jr__w{display:inline-block;overflow:clip;vertical-align:top;padding:.06em 0 .14em;margin:-.06em 0 -.14em}
.jr__w>span{display:inline-block;will-change:transform}
