/* stx-story.css: the scroll story, industry pages and the clientele effects, PREVIEW only (2026-10-31).
   Felix: after the laptop opens, each service comes into focus one by one, with its own intro.
   Without the script (or with reduced motion) every block below is a plain readable page:
   chapters stack, flip cards show both faces, the coverflow is the normal grid. */

/* ---------- 1. the story ---------- */
.stx .stx-story{position:relative;background:var(--bg);border-bottom:1px solid var(--line)}
.stx .stx-story__head{padding-top:var(--sec);padding-bottom:clamp(24px,4vw,56px);max-width:var(--maxw)}
.stx .stx-story__head h2{font-size:var(--fs-h2);max-width:18ch;margin:16px 0 18px}
.stx .stx-story__head p{color:var(--ink-2);font-size:var(--fs-body);max-width:56ch}
.stx .stx-kicker{font-family:var(--ff-mono);font-size:14px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-2)}

.stx .stx-story__pin{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
.stx .stx-story__rail{display:none}
.stx .stx-ch{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(28px,5vw,88px);align-items:center;
  padding:clamp(40px,6vw,88px) 0;border-top:1px solid var(--line-2)}
.stx .stx-ch__copy{max-width:46ch}
.stx .stx-ch__num{display:block;font-family:var(--ff-mono);font-size:14px;letter-spacing:.16em;text-transform:uppercase;color:var(--faint)}
.stx .stx-ch__num b{color:var(--accent-2);font-weight:500;margin-right:10px}
.stx .stx-ch h3{font-size:clamp(1.9rem,3.6vw,3.3rem);line-height:1.04;letter-spacing:-.03em;margin:18px 0 18px;color:var(--ink)}
.stx .stx-ch p{color:var(--ink-2);font-size:clamp(1rem,1.25vw,1.15rem);line-height:1.6;margin:0}
.stx .stx-ch ul{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.stx .stx-ch li{font-size:14px;color:var(--ink);padding:7px 14px;border-radius:999px;border:1px solid var(--line-3);background:rgba(255,238,222,.03)}

.stx .stx-ch__frame{position:relative;border-radius:var(--r-lg);border:1px solid var(--line-3);background:var(--surface);
  box-shadow:0 70px 140px -60px rgba(0,0,0,.95),0 0 0 8px rgba(255,238,222,.02),0 40px 120px -70px rgba(255,106,0,.5)}
.stx .stx-ch__shot{border-radius:inherit;overflow:hidden}
.stx .stx-ch__bar{display:flex;align-items:center;gap:7px;height:34px;padding:0 14px;background:#0F0D0B;border-bottom:1px solid var(--line);
  font-family:var(--ff-mono);font-size:14px;color:var(--faint);letter-spacing:.04em}
.stx .stx-ch__bar i{width:9px;height:9px;border-radius:50%;background:#393129}
.stx .stx-ch__bar i:first-child{background:var(--accent)}
.stx .stx-ch__bar span{margin-left:10px}
.stx .stx-ch__shot img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top}
.stx .stx-ch--photo .stx-ch__shot img{aspect-ratio:3/2;object-position:center}

/* the moment on screen: small glass notes that land on the window */
.stx .stx-ch__chip{position:absolute;z-index:2;display:flex;align-items:center;gap:10px;max-width:min(78%,340px);
  padding:11px 16px;border-radius:14px;font-size:14px;line-height:1.35;color:var(--ink);
  background:rgba(21,18,15,.82);-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);
  border:1px solid rgba(255,238,222,.14);box-shadow:0 24px 50px -20px rgba(0,0,0,.85)}
.stx .stx-ch__chip::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px var(--accent)}
.stx .stx-ch__chip--ok::before{background:#37B87C;box-shadow:0 0 12px #37B87C}
.stx .stx-ch__chip--cool::before{background:var(--cool);box-shadow:0 0 12px var(--cool)}
.stx .stx-ch__chip:nth-of-type(1){left:-5%;bottom:16%}
.stx .stx-ch__chip:nth-of-type(2){right:-4%;top:20%}
.stx .stx-ch__chip:nth-of-type(3){right:6%;bottom:-5%}
/* chapter one is a conversation, so its notes are chat bubbles */
.stx .stx-ch__chip--in,.stx .stx-ch__chip--out{border-radius:18px;padding:12px 16px}
.stx .stx-ch__chip--in::before,.stx .stx-ch__chip--out::before{display:none}
.stx .stx-ch__chip.stx-ch__chip--in{left:-5%;right:auto;top:12%;bottom:auto;border-bottom-left-radius:4px}
.stx .stx-ch__chip.stx-ch__chip--out{right:-4%;left:auto;top:38%;bottom:auto;border-bottom-right-radius:4px;background:rgba(255,106,0,.9);border-color:rgba(255,160,100,.6);color:#160A03}

.stx .stx-story__end{padding:clamp(56px,8vw,120px) var(--pad) var(--sec);text-align:center;max-width:var(--maxw);margin-inline:auto}
.stx .stx-story__end h2{font-size:var(--fs-h2);margin:14px auto 20px;max-width:20ch}
.stx .stx-story__end p{color:var(--ink-2);font-size:var(--fs-body);max-width:60ch;margin:0 auto}
.stx .stx-story__end .future-actions{justify-content:center;margin-top:34px}

/* pinned: one chapter at a time, the script drives every value */
.stx .stx-story-on .stx-story__run{height:calc(var(--n,6) * 95vh + 70vh)}
.stx .stx-story-on .stx-story__pin{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;max-width:none;padding:0}
.stx .stx-story-on .stx-ch{position:absolute;inset:0;margin-inline:auto;max-width:var(--maxw);border:0;
  padding:calc(var(--nav-h) + 24px) var(--pad) 96px;perspective:1600px}
.stx .stx-story-on .stx-ch:not(.is-on){pointer-events:none}
.stx .stx-story-on .stx-ch__frame{transform-origin:50% 70%;will-change:transform,opacity,filter}
.stx .stx-story-on .stx-ch__copy>*,.stx .stx-story-on .stx-ch__chip{will-change:transform,opacity}
.stx .stx-story-on .stx-story__rail{display:flex;position:absolute;z-index:3;left:50%;bottom:28px;translate:-50% 0;margin:0;padding:0;list-style:none;
  gap:clamp(14px,2.4vw,34px);font-family:var(--ff-mono);font-size:14px;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
.stx .stx-story__rail li{color:var(--faint);transition:color .4s}
.stx .stx-story__rail li.on{color:var(--ink)}
.stx .stx-story__track{position:absolute;left:0;right:0;bottom:-12px;height:1px;background:var(--line-3)}
.stx .stx-story__fill{display:block;height:100%;background:linear-gradient(90deg,var(--accent),var(--accent-2));transform-origin:0 50%;transform:scaleX(0);box-shadow:0 0 10px var(--accent)}
.stx .stx-story__glow{position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(50% 60% at 72% 50%,rgba(255,106,0,.10),transparent 70%),radial-gradient(40% 50% at 15% 80%,rgba(61,123,255,.07),transparent 70%)}
.stx .stx-story:not(.stx-story-on) .stx-story__glow{display:none}

@media (max-width:860px){
  .stx .stx-ch{grid-template-columns:1fr;gap:28px}
  .stx .stx-ch__chip{font-size:14px;padding:9px 12px}
  .stx .stx-ch__chip:nth-of-type(1){left:-2%}.stx .stx-ch__chip:nth-of-type(2){right:-2%}
  .stx .stx-ch__chip.stx-ch__chip--in{left:-2%;top:8%}.stx .stx-ch__chip.stx-ch__chip--out{right:-2%;top:36%}
  .stx .stx-story-on .stx-ch{align-content:start;gap:22px;padding:calc(var(--nav-h) + 14px) var(--pad) 70px}
  .stx .stx-story-on .stx-ch h3{font-size:clamp(1.6rem,7.4vw,2.2rem);margin:10px 0 10px}
  .stx .stx-story-on .stx-ch p{font-size:var(--fs-body);line-height:1.5}
  .stx .stx-story-on .stx-ch ul{display:none}
  .stx .stx-story-on .stx-story__rail{bottom:22px;gap:12px;font-size:0}
  /* Keep decorative dot labels hidden despite the shared body-list type scale. */
  .stx .stx-story-on .stx-story__rail li{flex:none;width:7px;height:7px;font-size:0!important;overflow:hidden;border-radius:50%;background:var(--line-3)}
  .stx .stx-story-on .stx-story__rail li.on{background:var(--accent)}
}
@media (max-width:860px) and (max-height:700px){.stx .stx-story-on .stx-ch p{display:none}}

/* ---------- 2. photographs (illustrative scenes; never captioned as us or a client) ---------- */
.stx .stx-photo{position:relative;overflow:hidden;border-radius:var(--r-xl);border:1px solid var(--line);background:#0F0D0B;aspect-ratio:4/3}
.stx .stx-photo img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.92) contrast(1.04)}
.stx .stx-photo::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(200deg,transparent 55%,rgba(255,106,0,.14))}
.stx .duo-card__shot.stx-photo{aspect-ratio:16/10;border:0;border-radius:var(--r-xl) var(--r-xl) 0 0;-webkit-mask-image:none;mask-image:none}
.stx .duo-card__shot.stx-photo + .duo-card__body{margin-top:0}
.stx .duo-card:hover .stx-photo img{transform:scale(1.04)}
.stx .build-band__photo.stx-photo{border-radius:0;border:0;aspect-ratio:auto}
.stx .build-band__photo.stx-photo img{height:118%;translate:0 var(--px,-8%)}
.stx .team-story__photo.stx-team{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;aspect-ratio:auto;border:0;border-radius:0;overflow:visible}
.stx .team-story__photo.stx-team::after{display:none}
.stx .stx-team figure{margin:0;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);background:var(--surface)}
.stx .stx-team figure:nth-child(even){translate:0 28px}
.stx .stx-team img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;filter:saturate(.9)}
/* 2026-11-09 team portraits are cut-outs on the logo orange (--accent #FF6A00 = the orange of logo-nav.png); no filter so the orange stays the exact hex */
.stx .stx-team img,.stx .mem__photo{background:var(--accent)}
.stx .stx-team img{filter:none}
/* Card 2: frame the approved full-length source as an upper-body portrait. */
.stx .team-card2-crop{aspect-ratio:4/5;overflow:hidden;background:var(--accent)}
.stx .stx-team .team-card2-crop img,.stx .team--photo .team-card2-crop img{display:block;width:100%;height:100%;object-fit:cover;border:0;translate:none;transform:scale(2.15);transform-origin:55% 17%}
.stx .stx-team figcaption{padding:10px 12px;font-size:14px;color:var(--ink-2)}
.stx .stx-team figcaption b{display:block;color:var(--ink);font-weight:600;font-size:14px}
@media (max-width:560px){.stx .team-story__photo.stx-team{grid-template-columns:repeat(2,1fr)}}

/* ---------- 3. industries: photo cards ---------- */
.stx .stx-inds-sec{background:var(--bg);border-top:1px solid var(--line)}
.stx .stx-inds{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(12px,1.6vw,22px);perspective:1600px}
/* 2026-11-13: photo sits whole on top (3:2, uncropped) and the copy below, so the card is shorter and the picture is seen */
.stx .stx-ind{--pad:clamp(20px,2vw,28px);position:relative;display:flex;flex-direction:column;justify-content:flex-start;padding:0 var(--pad) var(--pad);
  border-radius:var(--r-xl);overflow:hidden;border:1px solid var(--line);color:var(--ink);isolation:isolate;background:linear-gradient(180deg,var(--surface),var(--bg-2));transition:border-color .4s,box-shadow .5s var(--ease)}
.stx .stx-ind img{display:block;position:relative;width:calc(100% + 2*var(--pad));max-width:none;height:auto;aspect-ratio:3/2;margin:0 calc(-1*var(--pad)) clamp(16px,1.6vw,22px);object-fit:cover;object-position:50% 35%;transition:filter .6s var(--ease)}
.stx .stx-ind:hover{border-color:rgba(255,106,0,.45);box-shadow:0 40px 80px -40px rgba(255,106,0,.4)}
.stx .stx-ind:hover img{filter:brightness(1.06) saturate(1.05)}
.stx .stx-ind h3{font-size:var(--fs-point);margin:8px 0 8px;color:var(--ink)}
.stx .section.stx-inds-sec .stx-ind h3{color:var(--accent-2)}
.stx .stx-ind p{color:var(--ink-2);font-size:var(--fs-body);line-height:1.5;margin:0}
.stx .stx-ind span.go{margin-top:auto;padding-top:16px;font-weight:600;font-size:15px;color:var(--accent-2)}
@media (max-width:1000px){.stx .stx-inds{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.stx .stx-inds{grid-template-columns:1fr}}

/* industry page head: a full-bleed photograph that drifts slowly */
.stx .stx-ind-head{position:relative;isolation:isolate;overflow:hidden;min-height:min(92svh,860px);display:flex;align-items:flex-start;
  /* top-anchored: when the web font lands and the headline re-wraps, only the lines under it move */
  padding:calc(var(--nav-h) + clamp(40px,9vh,120px)) 0 clamp(48px,7vw,104px);border-bottom:1px solid var(--line);background:var(--bg)}
.stx .stx-ind-head__img{position:absolute;inset:0;z-index:-2;overflow:hidden}
.stx .stx-ind-head__img img{width:100%;height:100%;object-fit:cover;object-position:var(--focus,60% 40%)}
/* Keep the supplied photos clear of the desktop copy; leave the overlay unchanged. */
@media (min-width:1001px){
  .stx .stx-ind-head__img{left:var(--desktop-left,38%);right:var(--desktop-right,-14%);mask-image:linear-gradient(90deg,transparent,#000 24%)}
  .stx .stx-ind-head__img img{object-position:var(--desktop-focus,20% 40%)}
}
@media (max-width:760px){.stx .stx-ind-head__img img{object-position:var(--mobile-focus,var(--focus,60% 40%))}}
.stx-anim .stx-ind-head__img img{animation:stx-kenburns 26s ease-in-out infinite alternate;transform-origin:var(--focus,60% 40%)}
@keyframes stx-kenburns{from{transform:scale(1.04)}to{transform:scale(1.16) translate(-1.5%,-1%)}}
.motion-paused .stx-ind-head__img img{animation-play-state:paused}
.stx .stx-ind-head::before{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(10,9,8,.94) 0%,rgba(10,9,8,.7) 42%,rgba(10,9,8,.15) 80%),linear-gradient(0deg,var(--bg) 2%,transparent 40%)}
.stx .stx-ind-head h1{font-size:clamp(2.2rem,4.8vw,4.4rem);line-height:1.04;letter-spacing:-.025em;max-width:17ch;margin:18px 0 22px}
.stx .stx-ind-head .lead{max-width:52ch;color:var(--ink-2)}
.stx .stx-ind-head .crumbs{margin-bottom:6px}
.stx-anim .stx-ind-head .wrap>*{opacity:0;transform:translateY(18px);transition:opacity .8s var(--ease),transform 1s var(--ease);
  animation:stx-ind-failsafe 0s 2.5s forwards}
.stx-anim .stx-ind-head.is-in .wrap>*{opacity:1;transform:none;animation:none}
.stx-anim .stx-ind-head.is-in .wrap>:nth-child(2){transition-delay:.08s}
.stx-anim .stx-ind-head.is-in .wrap>:nth-child(3){transition-delay:.16s}
.stx-anim .stx-ind-head.is-in .wrap>:nth-child(4){transition-delay:.3s}
.stx-anim .stx-ind-head.is-in .wrap>:nth-child(n+5){transition-delay:.42s}
@keyframes stx-ind-failsafe{to{opacity:1;transform:none}}
@media (max-width:760px){.stx .stx-ind-head::before{background:linear-gradient(0deg,rgba(10,9,8,.97) 30%,rgba(10,9,8,.5) 70%,rgba(10,9,8,.2))}}

.stx .stx-pains{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(12px,1.6vw,22px);margin-top:clamp(32px,4vw,56px)}
.stx .stx-pain{padding:clamp(22px,2.4vw,34px);border-radius:var(--r-lg);border:1px solid var(--line);background:linear-gradient(180deg,var(--surface),var(--bg-2))}
.stx .stx-pain b{display:block;font-family:var(--ff-mono);font-size:14px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--accent-2);margin-bottom:16px}
.stx .stx-pain h3{font-size:clamp(1.2rem,1.6vw,1.45rem);color:var(--ink);margin:0 0 10px}
.stx .stx-pain p{color:var(--ink-2);margin:0}
.stx .stx-mods{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:clamp(32px,4vw,56px);border-top:1px solid var(--line);counter-reset:m}
.stx .stx-mod{padding:clamp(22px,2.4vw,32px) clamp(16px,2vw,28px) clamp(22px,2.4vw,32px) 0;border-bottom:1px solid var(--line);counter-increment:m}
.stx .stx-mod h3{font-size:clamp(1.1rem,1.4vw,1.3rem);color:var(--ink);margin:0 0 8px}
.stx .stx-mod h3::before{content:counter(m,decimal-leading-zero);display:block;font-family:var(--ff-mono);font-size:14px;color:var(--accent-2);margin-bottom:12px;letter-spacing:.1em}
.stx .stx-mod p{color:var(--ink-2);margin:0;font-size:var(--fs-body)}
.stx .stx-aihelp{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,80px);align-items:center}
.stx .stx-aihelp ol{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:18px}
.stx .stx-aihelp li{padding-left:18px;border-left:2px solid var(--accent);color:var(--ink-2)}
.stx .stx-aihelp li b{display:block;color:var(--ink);font-size:var(--fs-point);margin-bottom:4px}
.stx .stx-shot{margin:0;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line-3);box-shadow:0 60px 120px -50px rgba(0,0,0,.9)}
.stx .stx-shot img{display:block;width:100%;height:auto}
.stx .stx-shot figcaption{padding:12px 16px;font-size:14px;color:var(--faint);background:var(--surface)}
@media (max-width:860px){.stx .stx-pains,.stx .stx-mods{grid-template-columns:1fr}.stx .stx-aihelp{grid-template-columns:1fr}}
/* Stephy 2026-11-14: bigger numbered module titles on mobile (industry pages) */
@media (max-width:860px){.stx .stx-mod h3{line-height:1.25;margin-bottom:10px}.stx .stx-mod h3::before{font-size:15px;margin-bottom:10px}}

/* a day with the system: the line fills as you read down */
.stx .stx-day{position:relative;margin-top:clamp(32px,4vw,56px);padding-left:clamp(36px,5vw,64px);display:grid;gap:clamp(28px,4vw,48px)}
.stx .stx-day__line{position:absolute;left:clamp(10px,1.4vw,18px);top:6px;bottom:6px;width:2px;background:var(--line-3)}
.stx .stx-day__fill{position:absolute;inset:0;background:linear-gradient(180deg,var(--accent-2),var(--accent));transform-origin:50% 0;transform:scaleY(1);box-shadow:0 0 12px var(--accent)}
.stx-anim .stx-day__fill{transform:scaleY(0)}
.stx .stx-day__step{position:relative;display:grid;grid-template-columns:110px minmax(0,1fr);gap:clamp(16px,3vw,40px);max-width:860px}
.stx .stx-day__step::before{content:"";position:absolute;left:calc(-1 * clamp(36px,5vw,64px) + clamp(10px,1.4vw,18px) - 6px);top:6px;width:14px;height:14px;border-radius:50%;
  background:var(--bg);border:2px solid var(--line-3);transition:border-color .4s,background .4s,box-shadow .4s}
.stx .stx-day__step.is-lit::before,.stx:not(.stx-anim) .stx-day__step::before{border-color:var(--accent);background:var(--accent);box-shadow:0 0 14px var(--accent)}
.stx .stx-day__step time{font-family:var(--ff-mono);font-size:14px;color:var(--accent-2);padding-top:4px}
.stx .stx-day__step h3{font-size:clamp(1.15rem,1.6vw,1.4rem);color:var(--ink);margin:0 0 6px}
.stx .stx-day__step p{color:var(--ink-2);margin:0}
.stx-anim .stx-day__step>div{opacity:.45;transition:opacity .5s}
.stx-anim .stx-day__step.is-lit>div{opacity:1}
@media (max-width:560px){.stx .stx-day__step{grid-template-columns:1fr;gap:4px}}

.stx .stx-band{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,80px);align-items:center}
@media (max-width:860px){.stx .stx-band{grid-template-columns:1fr}}
.stx .stx-more{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.stx .stx-more a{padding:10px 18px;border-radius:999px;border:1px solid var(--line-3);background:var(--surface-3);color:var(--ink);font-size:15px;transition:border-color .3s,background-color .3s,color .3s}
.stx .stx-more a:hover,.stx .stx-more a:focus-visible{background:var(--accent);border-color:var(--accent);color:var(--bg)}
.stx .stx-more a:focus-visible{outline:2px solid var(--accent-2);outline-offset:4px}

/* ---------- 4. clientele: systems we have built, as cards that turn over ---------- */
.stx .stx-fcs{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(12px,1.6vw,20px);margin-top:clamp(32px,4vw,56px)}
.stx .stx-fc{position:relative;cursor:pointer;border-radius:var(--r-lg);outline-offset:4px}
.stx .stx-fc__face{border-radius:var(--r-lg);border:1px solid var(--line);overflow:hidden;background:linear-gradient(180deg,var(--surface),var(--bg-2));color:var(--ink-2)}
.stx .stx-fc__front img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:top}
.stx .stx-fc__front div{padding:18px 20px 20px}
.stx .stx-fc__tag{display:block;font-family:var(--ff-mono);font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-2);margin-bottom:8px}
.stx .stx-fc h3{font-size:var(--fs-point);color:var(--ink);margin:0 0 6px}
.stx .stx-fc__hint{font-size:14px;color:var(--faint)}
.stx .stx-fc__back{padding:22px 22px 24px}
.stx .stx-fc__back p{margin:10px 0 0;font-size:var(--fs-body);line-height:1.55}
.stx .stx-fc__back ul{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:6px;font-size:var(--fs-body)}
.stx .stx-fc__back li::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:10px;translate:0 -2px}
/* without the script both faces simply stack */
.stx .stx-fc:not(.stx-fc-on) .stx-fc__back{margin-top:8px}
.stx .stx-fc-on{perspective:1400px}
.stx .stx-fc-on .stx-fc__in{display:grid;transform-style:preserve-3d;transition:transform .9s var(--ease)}
.stx .stx-fc-on .stx-fc__face{grid-area:1/1;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.stx .stx-fc-on .stx-fc__back{transform:rotateY(180deg);border-color:rgba(255,106,0,.35);background:radial-gradient(80% 60% at 100% 0%,rgba(255,106,0,.16),transparent 60%),linear-gradient(180deg,var(--surface-2),var(--bg-2))}
.stx .stx-fc-on.is-flipped .stx-fc__in{transform:rotateY(180deg)}
@media (hover:hover){.stx .stx-fc-on:not(.is-flipped):hover .stx-fc__in{transform:rotateY(-10deg) rotateX(4deg)}}
@media (max-width:1000px){.stx .stx-fcs{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.stx .stx-fcs{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.stx .stx-fc-on .stx-fc__in{transition:none}}

/* client websites: a pinned coverflow; the plain grid until the script takes over */
.stx .stx-cf-on{height:var(--cf-run,300vh);padding:0}
.stx .stx-cf-on .stx-cf__pin{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:flex;flex-direction:column;justify-content:center;
  padding-top:var(--nav-h)}
.stx .stx-cf-on .stx-cf__pin>.wrap .lead{max-width:62ch}
.stx .stx-cf-on .stx-cf__view{position:relative;margin-top:clamp(20px,3vh,40px)}
.stx .stx-cf-on .stx-cf__track{--cfw:min(62vw,440px);position:relative;display:flex;gap:clamp(18px,2.4vw,36px);width:max-content;margin:0;
  padding-inline:calc(50vw - var(--cfw) / 2);transform-style:preserve-3d;will-change:transform}
.stx .stx-cf-on .stx-cf__track>.work{flex:none;width:var(--cfw);transition:border-color .3s;will-change:transform,opacity}
.stx .stx-cf-on .stx-cf__track>.work:hover{transform:none}
@media (max-width:860px){.stx .stx-cf-on .stx-cf__track{--cfw:min(78vw,340px)}.stx .stx-cf-on .stx-cf__pin>.wrap .lead{display:none}}
@media (max-height:760px){.stx .stx-cf-on .stx-cf__pin>.wrap .lead{display:none}}

/* sections that hinge in like a flip-board: the script sets transform per frame */
.stx-anim [data-flipboard]{will-change:transform,opacity;backface-visibility:hidden}


/* the dive (Felix 2026-10-31): the laptop zoom runs straight into the story. The script pulls the
   story up over the hero's last screen; it stays see-through until the hero lets go, then its pin
   (same dark ground as the hero) takes over and the intro grows out of the zoom. */
.stx .stx-story-on .stx-story__head{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;padding:var(--nav-h) var(--pad) 40px;margin:0 auto;max-width:none;transform-origin:50% 50%;will-change:transform,opacity,filter}
.stx .stx-story-on .stx-story__head h2{margin-inline:auto}
.stx .stx-story-on .stx-story__head p{margin-inline:auto}
.stx .stx-story-on .stx-story__head>*{will-change:transform,opacity}
.stx .stx-story-on .stx-story__rail{opacity:0}
.stx .stx-story-dive{z-index:2;background:none}
.stx .stx-story-dive .stx-story__pin{background:var(--bg)}
.stx .stx-story-dive:not(.is-stuck) .stx-story__pin{visibility:hidden}
.stx .stx-story-dive .stx-story__end{background:var(--bg)}
/* stelix-cms: a link inside editable text keeps the accent colour by class (the sanitiser drops style) */
.stx a.stx-link-accent{color:var(--accent-2)}
/* 2026-11-14 (Stephy: Home "One team handles your" band too tall): less padding, a smaller heading and tighter steps; the photo keeps its cover crop */
.stx .build-band__copy{padding-block:clamp(44px,4.6vw,72px)}
.stx .build-band h2{font-size:clamp(2rem,3.5vw,3.3rem);margin:12px 0 14px}
.stx .build-steps{margin:24px 0}
.stx .build-steps li{padding:16px 18px 16px 0}
.stx .build-band__photo.stx-photo img{object-position:15% 50%}
@media (max-width:860px){.stx .build-band__photo{height:50vw}.stx .build-band__copy{padding-block:44px}.stx .build-band__photo.stx-photo img{object-position:50% 0}}

/* ONE TYPE SCALE (Stephy 2026-11-14 17:20-17:25): hero excluded, every other page uses these three tokens.
   --fs-section  every section headline (h2, the home story chapter titles, the products loop title)
   --fs-point    every point / feature / card title and FAQ question
   --fs-body     every content paragraph, description, list item, table cell and FAQ answer (design system body 17px)
   Sizes only: family, weight, letter-spacing and the orange highlights are untouched and inherit.
   Not part of it: hero blocks, labels (eyebrows, mono tags, chips, dates, categories, image captions, contact details),
   and the long-form prose subheadings of blog articles and legal pages.
   Do not set a font-size on a section heading, point title or body paragraph anywhere else; change a token. */
.stx{--fs-section:var(--fs-h2);--fs-point:24px;--fs-body:17px}
@media (max-width:860px){.stx{--fs-point:22px}}
/* Mobile hierarchy: hero > section > point > body. Desktop keeps its scale. */
@media (max-width:768px){
  .stx{--fs-section:2.5rem;--fs-hero-min:3rem}
  /* Article templates carry an inline h1 size; the mobile hierarchy wins it. */
  .stx main h1{font-size:max(clamp(2.2rem,9.4vw,3.4rem),var(--fs-hero-min))!important;overflow-wrap:anywhere}
  .stx main h1 .nowrap{white-space:normal}
  /* Let grid content shrink and long action labels wrap inside phone cards. */
  .stx .loop>div{min-width:0}
}
.stx main h2:not(:is(.page-head,.phead,.stx-ind-head,.future-hero,.hero,.post-card,.article-body,.prose) h2),
.stx main :is(.stx-ch__copy h3,.loop h3){font-size:var(--fs-section)}
.stx main :is(.stx-mod h3,.stx-pain h3,.stx-day__step h3,.stx-aihelp li b,.svc h3,.proc__step h4,.card h3,h3.h-sm,.duo-card h3,
  .stx-ind h3,.product-copy h3,.selected-project h3,.work h3,.stx-fc h3,.post-card h2,.post-card h3,.faq__q,.faq__item h3,.ag__h,.build-kinds li>b,.build-steps li>b,.mem h3){font-size:var(--fs-point)}
.stx main :is(p,li,td,th,dd,blockquote,.faq__a>div,.build-kinds li>span):not(:is(.page-head,.phead,.stx-ind-head,.future-hero,.hero,form) *,
  .eyebrow,.kicker,.stx-kicker,.pill,.post-card__meta,.post-card__cat,.addr-mono,.small-note,.article-cta,.stx-ch li,figcaption *,.future-contact>.wrap>p,.nav *){font-size:var(--fs-body)}

/* Stephy 2026-11-14: every action button, including hero, nav, submit and chat.
   20px retains the largest existing action label (product tabs). FAQ questions
   and clickable content cards retain the approved point/body scale above. */
.stx{--fs-button:20px}
.stx :is(.btn,.stx-more a,.motion-toggle,.scene-tabs button,.product-tabs button,.wa-float,.wa-float__lbl){
  font-family:var(--ff-display);font-size:var(--fs-button);font-weight:600;line-height:1.45;
}
.stx :is(.btn,.stx-more a,.motion-toggle,.scene-tabs button,.wa-float__lbl){white-space:nowrap}
.stx .btn .arr{font-size:inherit}
@media(max-width:720px){
  .stx .btn{padding-inline:20px;max-width:100%}
  /* The long Work -> Industries label needs the full phone content width. */
  .stx .btn[href="/industries/"]{padding-inline:8px}
  .stx .hero__sub{flex-wrap:wrap}
}
@media(max-width:768px){.stx main .btn{white-space:normal}}
/* Header CTA follows the 15px navigation scale; main actions retain 20px. */
.stx .nav__cta .btn--sm{font-size:15px;line-height:1.45;padding:8px 14px}
/* Balanced desktop label inset; retain the existing phone header and drawer. */
@media(min-width:769px){.stx .nav__cta .btn--sm{padding:7px 18px}}

/* Services hero: a small mobile label reduction. The hidden original-size
   label reserves the existing button width and height at every phone width. */
@media(max-width:768px){
  .stx [data-services-hero] .hero__sub .btn{display:inline-grid}
  .stx [data-services-hero] .hero__sub .btn::after{
    content:attr(data-label);visibility:hidden;position:static;inset:auto;width:auto;height:auto;
    grid-area:1/1;font-size:20px;line-height:1.45;transform:none;
  }
  .stx [data-services-hero] .service-hero-label{grid-area:1/1;font-size:18px;line-height:29px}
}
